diff --git a/stage0/src/CMakeLists.txt b/stage0/src/CMakeLists.txt index 984889f496..f3a78769dc 100644 --- a/stage0/src/CMakeLists.txt +++ b/stage0/src/CMakeLists.txt @@ -192,10 +192,6 @@ if(LLVM) include_directories(${LLVM_INCLUDE_DIRS}) set(LEAN_EXTRA_CXX_FLAGS "${LEAN_EXTRA_CXX_FLAGS} -D LEAN_LLVM") set(LEANC_EXTRA_FLAGS "${LEANC_EXTRA_FLAGS} -D LEAN_LLVM") - - # Find the libraries that correspond to the LLVM components - # that we wish to use and define llvm_libs - llvm_map_components_to_libnames(llvm_libs nativecodegen) else() #message(WARNING "Disabling LLVM support. JIT compilation will not be available") endif() @@ -471,9 +467,6 @@ if(PREV_STAGE) endif() target_link_libraries(leancpp INTERFACE ${EXTRA_LIBS}) -if(LLVM) - target_link_libraries(leancpp INTERFACE ${llvm_libs}) -endif() configure_file("${LEAN_SOURCE_DIR}/bin/leanc.in" "${CMAKE_BINARY_DIR}/bin/leanc" @ONLY) install(FILES "${CMAKE_BINARY_DIR}/bin/leanc" diff --git a/stage0/src/Init/Data/Range.lean b/stage0/src/Init/Data/Range.lean index 0deb8514ec..93e609bff6 100644 --- a/stage0/src/Init/Data/Range.lean +++ b/stage0/src/Init/Data/Range.lean @@ -23,7 +23,7 @@ universes u v pure b else match i with | 0 => pure b - | i+1 => match ← f j b with + | i+1 => match (← f j b) with | ForInStep.done b => pure b | ForInStep.yield b => loop i (j + range.step) b loop range.stop range.start init diff --git a/stage0/src/Init/Notation.lean b/stage0/src/Init/Notation.lean index 205f8335b3..95c86899cc 100644 --- a/stage0/src/Init/Notation.lean +++ b/stage0/src/Init/Notation.lean @@ -201,6 +201,10 @@ macro_rules else `(%[ $elems,* | List.nil ]) +-- TODO: should be `infix:50 " matches " => fun e p => match e with | p => true | _ => false` +macro:50 e:term:51 " matches " p:term:51 : term => + `(match $e:term with | $p:term => true | _ => false) + namespace Parser.Tactic syntax (name := intro) "intro " notFollowedBy("|") (colGt term:max)* : tactic syntax (name := intros) "intros " (colGt (ident <|> "_"))* : tactic diff --git a/stage0/src/Lean/Data/Lsp/Ipc.lean b/stage0/src/Lean/Data/Lsp/Ipc.lean index 7ca9eff557..570918d48f 100644 --- a/stage0/src/Lean/Data/Lsp/Ipc.lean +++ b/stage0/src/Lean/Data/Lsp/Ipc.lean @@ -54,7 +54,7 @@ partial def collectDiagnostics (waitForDiagnosticsId : RequestID := 0) (target : : IpcM (List (Notification PublishDiagnosticsParams)) := do writeRequest ⟨waitForDiagnosticsId, "textDocument/waitForDiagnostics", WaitForDiagnosticsParams.mk target version⟩ let rec loop : IpcM (List (Notification PublishDiagnosticsParams)) := do - match ←readMessage with + match (←readMessage) with | Message.response id _ => if id == waitForDiagnosticsId then [] else loop diff --git a/stage0/src/Lean/Elab/Binders.lean b/stage0/src/Lean/Elab/Binders.lean index acd4379051..28dba32e2c 100644 --- a/stage0/src/Lean/Elab/Binders.lean +++ b/stage0/src/Lean/Elab/Binders.lean @@ -144,12 +144,8 @@ private def matchBinder (stx : Syntax) : TermElabM (Array BinderView) := do private def registerFailedToInferBinderTypeInfo (type : Expr) (ref : Syntax) : TermElabM Unit := registerCustomErrorIfMVar type ref "failed to infer binder type" -private def addLocalVarInfoCore (lctx : LocalContext) (stx : Syntax) (fvar : Expr) : TermElabM Unit := do - if (← getInfoState).enabled then - pushInfoTree <| InfoTree.node (children := {}) <| Info.ofTermInfo { lctx := lctx, expr := fvar, stx, expectedType? := none } - private def addLocalVarInfo (stx : Syntax) (fvar : Expr) : TermElabM Unit := do - addLocalVarInfoCore (← getLCtx) stx fvar + addTermInfo (lctx? := some (← getLCtx)) stx fvar private def ensureAtomicBinderName (binderView : BinderView) : TermElabM Unit := let n := binderView.id.getId.eraseMacroScopes @@ -341,7 +337,7 @@ private partial def elabFunBinderViews (binderViews : Array BinderView) (i : Nat We do not believe this is an useful feature, and it would complicate the logic here. -/ let lctx := s.lctx.mkLocalDecl fvarId binderView.id.getId type binderView.bi - addLocalVarInfoCore lctx binderView.id fvar + addTermInfo (lctx? := some lctx) binderView.id fvar let s ← withRef binderView.id <| propagateExpectedType fvar type s let s := { s with lctx := lctx } match (← isClass? type) with diff --git a/stage0/src/Lean/Elab/BuiltinNotation.lean b/stage0/src/Lean/Elab/BuiltinNotation.lean index d99373b123..a37188cad1 100644 --- a/stage0/src/Lean/Elab/BuiltinNotation.lean +++ b/stage0/src/Lean/Elab/BuiltinNotation.lean @@ -226,7 +226,7 @@ where @[builtinMacro Lean.Parser.Term.paren] def expandParen : Macro | `(()) => `(Unit.unit) | `(($e : $type)) => do - match ← expandCDot? e with + match (← expandCDot? e) with | some e => `(($e : $type)) | none => Macro.throwUnsupported | `(($e)) => return (← expandCDot? e).getD e diff --git a/stage0/src/Lean/Elab/Command.lean b/stage0/src/Lean/Elab/Command.lean index 6a67225a10..3a070a20be 100644 --- a/stage0/src/Lean/Elab/Command.lean +++ b/stage0/src/Lean/Elab/Command.lean @@ -207,11 +207,26 @@ private def addTraceAsMessages : CommandElabM Unit := do traceState.traces := {} } -private def elabCommandUsing (s : State) (stx : Syntax) : List CommandElab → CommandElabM Unit +private def mkInfoTree (elaborator : Name) (stx : Syntax) (trees : Std.PersistentArray InfoTree) : CommandElabM InfoTree := do + let ctx ← read + let s ← get + let scope := s.scopes.head! + let tree := InfoTree.node (Info.ofCommandInfo { elaborator, stx }) trees + let tree := InfoTree.context { + env := s.env, fileMap := ctx.fileMap, mctx := {}, currNamespace := scope.currNamespace, openDecls := scope.openDecls, options := scope.opts + } tree + if checkTraceOption (← getOptions) `Elab.info then + let fmt ← tree.format + trace[Elab.info] fmt + return tree + +private def elabCommandUsing (s : State) (stx : Syntax) : List (KeyedDeclsAttribute.AttributeEntry CommandElab) → CommandElabM Unit | [] => throwError "unexpected syntax{indentD stx}" | (elabFn::elabFns) => catchInternalId unsupportedSyntaxExceptionId - (do elabFn stx; addTraceAsMessages) + (do + withInfoTreeContext (mkInfoTree := mkInfoTree elabFn.decl stx) <| elabFn.value stx + addTraceAsMessages) (fun _ => do set s; addTraceAsMessages; elabCommandUsing s stx elabFns) /- Elaborate `x` with `stx` on the macro stack -/ @@ -248,19 +263,8 @@ register_builtin_option showPartialSyntaxErrors : Bool := { builtin_initialize registerTraceClass `Elab.command partial def elabCommand (stx : Syntax) : CommandElabM Unit := do - let mkInfoTree trees := do - let ctx ← read - let s ← get - let scope := s.scopes.head! - let tree := InfoTree.node (Info.ofCommandInfo { stx := stx }) trees - let tree := InfoTree.context { - env := s.env, fileMap := ctx.fileMap, mctx := {}, currNamespace := scope.currNamespace, openDecls := scope.openDecls, options := scope.opts - } tree - if checkTraceOption (← getOptions) `Elab.info then - logTrace `Elab.info m!"{← tree.format}" - return tree let initMsgs ← modifyGet fun st => (st.messages, { st with messages := {} }) - withLogging <| withRef stx <| withInfoTreeContext (mkInfoTree := mkInfoTree) <| withIncRecDepth <| withFreshMacroScope do + withLogging <| withRef stx <| withIncRecDepth <| withFreshMacroScope do runLinters stx match stx with | Syntax.node k args => @@ -271,13 +275,13 @@ partial def elabCommand (stx : Syntax) : CommandElabM Unit := do else do trace `Elab.command fun _ => stx; let s ← get - let stxNew? ← catchInternalId unsupportedSyntaxExceptionId - (do let newStx ← adaptMacro (getMacros s.env) stx; pure (some newStx)) - (fun ex => pure none) - match stxNew? with - | some stxNew => withMacroExpansion stx stxNew <| elabCommand stxNew + match (← liftMacroM <| expandMacroImpl? s.env stx) with + | some (decl, stxNew) => + withInfoTreeContext (mkInfoTree := mkInfoTree decl stx) do + withMacroExpansion stx stxNew do + elabCommand stxNew | _ => - match commandElabAttribute.getValues s.env k with + match commandElabAttribute.getEntries s.env k with | [] => throwError "elaboration function for '{k}' has not been implemented" | elabFns => elabCommandUsing s stx elabFns | _ => throwError "unexpected command" diff --git a/stage0/src/Lean/Elab/Do.lean b/stage0/src/Lean/Elab/Do.lean index 66961b5d78..e4c7a2a9f3 100644 --- a/stage0/src/Lean/Elab/Do.lean +++ b/stage0/src/Lean/Elab/Do.lean @@ -9,6 +9,9 @@ import Lean.Elab.Match import Lean.Elab.Quotation.Util import Lean.Parser.Do +-- HACK: avoid code explosion until heuristics are improved +set_option compiler.reuse false + namespace Lean.Elab.Term open Lean.Parser.Term open Meta diff --git a/stage0/src/Lean/Elab/Frontend.lean b/stage0/src/Lean/Elab/Frontend.lean index cd0a193f7c..53ff7919be 100644 --- a/stage0/src/Lean/Elab/Frontend.lean +++ b/stage0/src/Lean/Elab/Frontend.lean @@ -27,7 +27,7 @@ def setCommandState (commandState : Command.State) : FrontendM Unit := let ctx ← read let s ← get let cmdCtx : Command.Context := { cmdPos := s.cmdPos, fileName := ctx.inputCtx.fileName, fileMap := ctx.inputCtx.fileMap } - match ← liftM <| EIO.toIO' <| (x cmdCtx).run s.commandState with + match (← liftM <| EIO.toIO' <| (x cmdCtx).run s.commandState) with | Except.error e => throw <| IO.Error.userError s!"unexpected internal error: {← e.toMessageData.toString}" | Except.ok (a, sNew) => setCommandState sNew; return a diff --git a/stage0/src/Lean/Elab/InfoTree.lean b/stage0/src/Lean/Elab/InfoTree.lean index 5932334a09..a05af807a7 100644 --- a/stage0/src/Lean/Elab/InfoTree.lean +++ b/stage0/src/Lean/Elab/InfoTree.lean @@ -2,7 +2,7 @@ Copyright (c) 2020 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. -Authors: Wojciech Nawrocki, Leonardo de Moura +Authors: Wojciech Nawrocki, Leonardo de Moura, Sebastian Ullrich -/ import Lean.Data.Position import Lean.Expr @@ -27,15 +27,19 @@ structure ContextInfo where openDecls : List OpenDecl := [] deriving Inhabited -structure TermInfo where +/-- An elaboration step -/ +structure ElabInfo where + elaborator : Name + stx : Syntax + deriving Inhabited + +structure TermInfo extends ElabInfo where lctx : LocalContext -- The local context when the term was elaborated. expectedType? : Option Expr expr : Expr - stx : Syntax deriving Inhabited -structure CommandInfo where - stx : Syntax +structure CommandInfo extends ElabInfo where deriving Inhabited inductive CompletionInfo where @@ -65,18 +69,17 @@ structure FieldInfo where /- We store the list of goals before and after the execution of a tactic. We also store the metavariable context at each time since, we want to unassigned metavariables at tactic execution time to be displayed as `?m...`. -/ -structure TacticInfo where +structure TacticInfo extends ElabInfo where mctxBefore : MetavarContext goalsBefore : List MVarId - stx : Syntax mctxAfter : MetavarContext goalsAfter : List MVarId deriving Inhabited structure MacroExpansionInfo where lctx : LocalContext -- The local context when the macro was expanded. - before : Syntax - after : Syntax + stx : Syntax + output : Syntax deriving Inhabited inductive Info where @@ -152,15 +155,21 @@ where fmtPos pos info := | SourceInfo.original .. => pos | _ => f!"{pos}†" +private def formatElabInfo (ctx : ContextInfo) (info : ElabInfo) : Format := + if info.elaborator.isAnonymous then + formatStxRange ctx info.stx + else + f!"{formatStxRange ctx info.stx} @ {info.elaborator}" + def TermInfo.runMetaM (info : TermInfo) (ctx : ContextInfo) (x : MetaM α) : IO α := ctx.runMetaM info.lctx x def TermInfo.format (ctx : ContextInfo) (info : TermInfo) : IO Format := do info.runMetaM ctx do try - return f!"{← Meta.ppExpr info.expr} : {← Meta.ppExpr (← Meta.inferType info.expr)} @ {formatStxRange ctx info.stx}" + return f!"{← Meta.ppExpr info.expr} : {← Meta.ppExpr (← Meta.inferType info.expr)} @ {formatElabInfo ctx info.toElabInfo}" catch _ => - return f!"{← Meta.ppExpr info.expr} : @ {formatStxRange ctx info.stx}" + return f!"{← Meta.ppExpr info.expr} : @ {formatElabInfo ctx info.toElabInfo}" def CompletionInfo.format (ctx : ContextInfo) (info : CompletionInfo) : IO Format := match info with @@ -169,7 +178,7 @@ def CompletionInfo.format (ctx : ContextInfo) (info : CompletionInfo) : IO Forma | _ => return f!"[.] {info.stx} @ {formatStxRange ctx info.stx}" def CommandInfo.format (ctx : ContextInfo) (info : CommandInfo) : IO Format := do - return f!"command @ {formatStxRange ctx info.stx}" + return f!"command @ {formatElabInfo ctx info.toElabInfo}" def FieldInfo.format (ctx : ContextInfo) (info : FieldInfo) : IO Format := do ctx.runMetaM info.lctx do @@ -186,12 +195,12 @@ def TacticInfo.format (ctx : ContextInfo) (info : TacticInfo) : IO Format := do let ctxA := { ctx with mctx := info.mctxAfter } let goalsBefore ← ctxB.ppGoals info.goalsBefore let goalsAfter ← ctxA.ppGoals info.goalsAfter - return f!"Tactic @ {formatStxRange ctx info.stx}\n{info.stx}\nbefore {goalsBefore}\nafter {goalsAfter}" + return f!"Tactic @ {formatElabInfo ctx info.toElabInfo}\n{info.stx}\nbefore {goalsBefore}\nafter {goalsAfter}" def MacroExpansionInfo.format (ctx : ContextInfo) (info : MacroExpansionInfo) : IO Format := do - let before ← ctx.ppSyntax info.lctx info.before - let after ← ctx.ppSyntax info.lctx info.after - return f!"Macro expansion\n{before}\n===>\n{after}" + let stx ← ctx.ppSyntax info.lctx info.stx + let output ← ctx.ppSyntax info.lctx info.output + return f!"Macro expansion\n{stx}\n===>\n{output}" def Info.format (ctx : ContextInfo) : Info → IO Format | ofTacticInfo i => i.format ctx @@ -201,6 +210,14 @@ def Info.format (ctx : ContextInfo) : Info → IO Format | ofFieldInfo i => i.format ctx | ofCompletionInfo i => i.format ctx +def Info.toElabInfo? : Info → Option ElabInfo + | ofTacticInfo i => some i.toElabInfo + | ofTermInfo i => some i.toElabInfo + | ofCommandInfo i => some i.toElabInfo + | ofMacroExpansionInfo i => none + | ofFieldInfo i => none + | ofCompletionInfo i => none + /-- Helper function for propagating the tactic metavariable context to its children nodes. We need this function because we preserve `TacticInfo` nodes during backtracking *and* their @@ -259,14 +276,15 @@ def addCompletionInfo (info : CompletionInfo) : m Unit := do def resolveGlobalConstNoOverloadWithInfo [MonadResolveName m] [MonadEnv m] [MonadError m] (stx : Syntax) (id := stx.getId) (expectedType? : Option Expr := none) : m Name := do let n ← resolveGlobalConstNoOverload id if (← getInfoState).enabled then - pushInfoLeaf <| Info.ofTermInfo { lctx := LocalContext.empty, expr := (← mkConstWithLevelParams n), stx, expectedType? } + -- we do not store a specific elaborator since identifiers are special-cased by the server anyway + pushInfoLeaf <| Info.ofTermInfo { elaborator := Name.anonymous, lctx := LocalContext.empty, expr := (← mkConstWithLevelParams n), stx, expectedType? } return n def resolveGlobalConstWithInfos [MonadResolveName m] [MonadEnv m] [MonadError m] (stx : Syntax) (id := stx.getId) (expectedType? : Option Expr := none) : m (List Name) := do let ns ← resolveGlobalConst id if (← getInfoState).enabled then for n in ns do - pushInfoLeaf <| Info.ofTermInfo { lctx := LocalContext.empty, expr := (← mkConstWithLevelParams n), stx, expectedType? } + pushInfoLeaf <| Info.ofTermInfo { elaborator := Name.anonymous, lctx := LocalContext.empty, expr := (← mkConstWithLevelParams n), stx, expectedType? } return ns @[inline] def withInfoContext' [MonadFinally m] (x : m α) (mkInfo : α → m (Sum Info MVarId)) : m α := do @@ -305,12 +323,11 @@ def assignInfoHoleId (mvarId : MVarId) (infoTree : InfoTree) : m Unit := do modifyInfoState fun s => { s with assignment := s.assignment.insert mvarId infoTree } end -def withMacroExpansionInfo [MonadFinally m] [Monad m] [MonadInfoTree m] [MonadLCtx m] (before after : Syntax) (x : m α) : m α := +def withMacroExpansionInfo [MonadFinally m] [Monad m] [MonadInfoTree m] [MonadLCtx m] (stx output : Syntax) (x : m α) : m α := let mkInfo : m Info := do return Info.ofMacroExpansionInfo { lctx := (← getLCtx) - before := before - after := after + stx, output } withInfoContext x mkInfo diff --git a/stage0/src/Lean/Elab/Match.lean b/stage0/src/Lean/Elab/Match.lean index 81394db4c7..3692806d3d 100644 --- a/stage0/src/Lean/Elab/Match.lean +++ b/stage0/src/Lean/Elab/Match.lean @@ -741,7 +741,7 @@ private def elabPatterns (patternStxs : Array Syntax) (matchType : Expr) : Excep restoreState s match (← liftM <| commitIfNoErrors? <| withoutErrToSorry do elabTermAndSynthesize patternStx (← eraseIndices d)) with | some pattern => - match ← findDiscrRefinementPath pattern d |>.run with + match (← findDiscrRefinementPath pattern d |>.run) with | some path => trace[Meta.debug] "refinement path: {path}" restoreState s @@ -987,7 +987,7 @@ where : TermElabM (Array Expr × Expr × Array (AltLHS × Expr) × Bool) := do let s ← saveState let (discrs', matchType', altViews', refined) ← generalize discrs matchType altViews generalizing? - match ← altViews'.mapM (fun altView => elabMatchAltView altView matchType') |>.run with + match (← altViews'.mapM (fun altView => elabMatchAltView altView matchType') |>.run) with | Except.ok alts => return (discrs', matchType', alts, first?.isSome || refined) | Except.error { patternIdx := patternIdx, pathToIndex := pathToIndex, ex := ex } => trace[Meta.debug] "pathToIndex: {toString pathToIndex}" @@ -1332,7 +1332,7 @@ builtin_initialize @[builtinTermElab «nomatch»] def elabNoMatch : TermElab := fun stx expectedType? => do match stx with | `(nomatch $discrExpr) => - match ← isLocalIdent? discrExpr with + match (← isLocalIdent? discrExpr) with | some _ => let expectedType ← waitExpectedType expectedType? let discr := Syntax.node ``Lean.Parser.Term.matchDiscr #[mkNullNode, discrExpr] diff --git a/stage0/src/Lean/Elab/PreDefinition/MkInhabitant.lean b/stage0/src/Lean/Elab/PreDefinition/MkInhabitant.lean index ab536ddfbd..42f7e38014 100644 --- a/stage0/src/Lean/Elab/PreDefinition/MkInhabitant.lean +++ b/stage0/src/Lean/Elab/PreDefinition/MkInhabitant.lean @@ -22,7 +22,7 @@ private def mkFnInhabitant? (xs : Array Expr) (type : Expr) : MetaM (Option Expr | i+1, type => do let x := xs[i] let type ← mkForallFVars #[x] type; - match ← mkInhabitant? type with + match (← mkInhabitant? type) with | none => loop i type | some val => pure $ some (← mkLambdaFVars xs[0:i] val) loop xs.size type @@ -30,13 +30,13 @@ private def mkFnInhabitant? (xs : Array Expr) (type : Expr) : MetaM (Option Expr /- TODO: add a global IO.Ref to let users customize/extend this procedure -/ def mkInhabitantFor (declName : Name) (xs : Array Expr) (type : Expr) : MetaM Expr := do - match ← mkInhabitant? type with + match (← mkInhabitant? type) with | some val => mkLambdaFVars xs val | none => - match ← findAssumption? xs type with + match (← findAssumption? xs type) with | some x => mkLambdaFVars xs x | none => - match ← mkFnInhabitant? xs type with + match (← mkFnInhabitant? xs type) with | some val => pure val | none => throwError "failed to compile partial definition '{declName}', failed to show that type is inhabited" diff --git a/stage0/src/Lean/Elab/PreDefinition/Structural.lean b/stage0/src/Lean/Elab/PreDefinition/Structural.lean index a27be7d38c..2e8c4420a9 100644 --- a/stage0/src/Lean/Elab/PreDefinition/Structural.lean +++ b/stage0/src/Lean/Elab/PreDefinition/Structural.lean @@ -159,13 +159,13 @@ private partial def findRecArg {α} (numFixed : Nat) (xs : Array Expr) (k : RecA let numFixed := if indexMinPos < numFixed then indexMinPos else numFixed let fixedParams := xs.extract 0 numFixed let ys := xs.extract numFixed xs.size - match ← hasBadIndexDep? ys indIndices with + match (← hasBadIndexDep? ys indIndices) with | some (index, y) => orelse' (throwError "argument #{i+1} was not used because its type is an inductive family{indentExpr xType}\nand index{indentExpr index}\ndepends on the non index{indentExpr y}") (loop (i+1)) | none => - match ← hasBadParamDep? ys indParams with + match (← hasBadParamDep? ys indParams) with | some (indParam, y) => orelse' (throwError "argument #{i+1} was not used because its type is an inductive datatype{indentExpr xType}\nand parameter{indentExpr indParam}\ndepends on{indentExpr y}") @@ -390,7 +390,7 @@ private partial def replaceIndPredRecApps (recFnName : Name) (recArgInfo : RecAr throwError "could not solve using backwards chaining {MessageData.ofGoal main.mvarId!}" else return mkAppN (← loop f) (← args.mapM loop) - match ←matchMatcherApp? e with + match (←matchMatcherApp? e) with | some matcherApp => if !recArgHasLooseBVarsAt recFnName recArgInfo e then processApp e diff --git a/stage0/src/Lean/Elab/Quotation.lean b/stage0/src/Lean/Elab/Quotation.lean index 44a7414aba..bd21bab657 100644 --- a/stage0/src/Lean/Elab/Quotation.lean +++ b/stage0/src/Lean/Elab/Quotation.lean @@ -433,7 +433,7 @@ private def deduplicate (floatedLetDecls : Array Syntax) : Alt → TermElabM (Ar -- looks simple enough/created by this function, skip return (floatedLetDecls, (pats, rhs)) withFreshMacroScope do - match ← getPatternsVars pats.toArray with + match (← getPatternsVars pats.toArray) with | #[] => -- no antiquotations => introduce Unit parameter to preserve evaluation order let rhs' ← `(rhs Unit.unit) diff --git a/stage0/src/Lean/Elab/Quotation/Precheck.lean b/stage0/src/Lean/Elab/Quotation/Precheck.lean index 735252b431..24f59ebc6a 100644 --- a/stage0/src/Lean/Elab/Quotation/Precheck.lean +++ b/stage0/src/Lean/Elab/Quotation/Precheck.lean @@ -58,7 +58,7 @@ partial def precheck : Precheck := fun stx => do return if !hasQuotedIdent stx then return -- we only precheck identifiers, so there is nothing to check here - if let some stx' ← liftMacroM <| Macro.expandMacro? stx then + if let some stx' ← liftMacroM <| expandMacro? stx then precheck stx' return throwErrorAt stx "no macro or `[quotPrecheck]` instance for syntax kind '{stx.getKind}' found{indentD stx} diff --git a/stage0/src/Lean/Elab/Syntax.lean b/stage0/src/Lean/Elab/Syntax.lean index 5615583a9d..e491a6ec43 100644 --- a/stage0/src/Lean/Elab/Syntax.lean +++ b/stage0/src/Lean/Elab/Syntax.lean @@ -5,6 +5,7 @@ Authors: Leonardo de Moura -/ import Lean.Elab.Command import Lean.Parser.Syntax +import Lean.Elab.Util namespace Lean.Elab.Term /- @@ -279,8 +280,13 @@ private partial def isAtomLikeSyntax (stx : Syntax) : Bool := else kind == `Lean.Parser.Syntax.atom +def resolveSyntaxKind (k : Name) : CommandElabM Name := do + checkSyntaxNodeKindAtNamespaces k (← getCurrNamespace) + <|> + throwError "invalid syntax node kind '{k}'" + @[builtinCommandElab «syntax»] def elabSyntax : CommandElab := fun stx => do - let `($attrKind:attrKind syntax $[: $prec? ]? $[(name := $name?)]? $[(priority := $prio?)]? $[$ps:stx]* : $catStx) ← pure stx + let `($[$doc?:docComment]? $attrKind:attrKind syntax $[: $prec? ]? $[(name := $name?)]? $[(priority := $prio?)]? $[$ps:stx]* : $catStx) ← pure stx | throwUnsupportedSyntax let cat := catStx.getId.eraseMacroScopes unless (Parser.isParserCategory (← getEnv) cat) do @@ -301,10 +307,10 @@ private partial def isAtomLikeSyntax (stx : Syntax) : Bool := let declName := mkIdentFrom stx name let d ← if let some lhsPrec := lhsPrec? then - `(@[$attrKind:attrKind $catParserId:ident $(quote prio):numLit] def $declName : Lean.TrailingParserDescr := + `($[$doc?:docComment]? @[$attrKind:attrKind $catParserId:ident $(quote prio):numLit] def $declName : Lean.TrailingParserDescr := ParserDescr.trailingNode $(quote stxNodeKind) $(quote prec) $(quote lhsPrec) $val) else - `(@[$attrKind:attrKind $catParserId:ident $(quote prio):numLit] def $declName : Lean.ParserDescr := + `($[$doc?:docComment]? @[$attrKind:attrKind $catParserId:ident $(quote prio):numLit] def $declName : Lean.ParserDescr := ParserDescr.node $(quote stxNodeKind) $(quote prec) $val) trace `Elab fun _ => d withMacroExpansion stx d <| elabCommand d @@ -327,7 +333,7 @@ private def checkRuleKind (given expected : SyntaxNodeKind) : Bool := Remark: `k` is the user provided kind with the current namespace included. Recall that syntax node kinds contain the current namespace. -/ -def elabMacroRulesAux (attrKind : Syntax) (k : SyntaxNodeKind) (alts : Array Syntax) : CommandElabM Syntax := do +def elabMacroRulesAux (doc? : Option Syntax) (attrKind : Syntax) (k : SyntaxNodeKind) (alts : Array Syntax) : CommandElabM Syntax := do let alts ← alts.mapM fun alt => match alt with | `(matchAltExpr| | $pats,* => $rhs) => do let pat := pats.elemsAndSeps[0] @@ -347,7 +353,7 @@ def elabMacroRulesAux (attrKind : Syntax) (k : SyntaxNodeKind) (alts : Array Syn else throwErrorAt alt "invalid macro_rules alternative, unexpected syntax node kind '{k'}'" | _ => throwUnsupportedSyntax - `(@[$attrKind:attrKind macro $(Lean.mkIdent k)] def myMacro : Macro := + `($[$doc?:docComment]? @[$attrKind:attrKind macro $(Lean.mkIdent k)] def myMacro : Macro := fun $alts:matchAlt* | _ => throw Lean.Macro.Exception.unsupportedSyntax) def inferMacroRulesAltKind : Syntax → CommandElabM SyntaxNodeKind @@ -359,30 +365,33 @@ def inferMacroRulesAltKind : Syntax → CommandElabM SyntaxNodeKind pure quoted.getKind | _ => throwUnsupportedSyntax -def elabNoKindMacroRulesAux (attrKind : Syntax) (alts : Array Syntax) : CommandElabM Syntax := do +/-- +Infer syntax kind `k` from first pattern, put alternatives of same kind into new `macro/elab_rules (kind := k)` via `mkCmd (some k)`, +leave remaining alternatives (via `mkCmd none`) to be recursively expanded. -/ +private def expandNoKindMacroRulesAux (alts : Array Syntax) (cmdName : String) (mkCmd : Option Name → Array Syntax → CommandElabM Syntax) : CommandElabM Syntax := do let mut k ← inferMacroRulesAltKind alts[0] if k.isStr && k.getString! == "antiquot" then k := k.getPrefix if k == choiceKind then throwErrorAt alts[0] - "invalid macro_rules alternative, multiple interpretations for pattern (solution: specify node kind using `macro_rules [] ...`)" + "invalid {cmdName} alternative, multiple interpretations for pattern (solution: specify node kind using `{cmdName} (kind := ...) ...`)" else let altsK ← alts.filterM fun alt => return checkRuleKind (← inferMacroRulesAltKind alt) k let altsNotK ← alts.filterM fun alt => return !checkRuleKind (← inferMacroRulesAltKind alt) k - let defCmd ← elabMacroRulesAux attrKind k altsK if altsNotK.isEmpty then - pure defCmd + mkCmd k altsK else - `($defCmd:command $attrKind:attrKind macro_rules $altsNotK:matchAlt*) + mkNullNode #[← mkCmd k altsK, ← mkCmd none altsNotK] @[builtinCommandElab «macro_rules»] def elabMacroRules : CommandElab := adaptExpander fun stx => match stx with - | `($attrKind:attrKind macro_rules $alts:matchAlt*) => - elabNoKindMacroRulesAux attrKind alts - | `($attrKind:attrKind macro_rules (kind := $kind) | $x:ident => $rhs) => - `(@[$attrKind:attrKind macro $kind] def myMacro : Macro := fun $x:ident => $rhs) - | `($attrKind:attrKind macro_rules (kind := $kind) $alts:matchAlt*) => - do elabMacroRulesAux attrKind ((← getCurrNamespace) ++ kind.getId) alts + | `($[$doc?:docComment]? $attrKind:attrKind macro_rules $alts:matchAlt*) => + expandNoKindMacroRulesAux alts "macro_rules" fun kind? alts => + `($[$doc?:docComment]? $attrKind:attrKind macro_rules $[(kind := $(mkIdent <$> kind?))]? $alts:matchAlt*) + | `($[$doc?:docComment]? $attrKind:attrKind macro_rules (kind := $kind) | $x:ident => $rhs) => + `($[$doc?:docComment]? @[$attrKind:attrKind macro $kind] def myMacro : Macro := fun $x:ident => $rhs) + | `($[$doc?:docComment]? $attrKind:attrKind macro_rules (kind := $kind) $alts:matchAlt*) => + do elabMacroRulesAux doc? attrKind (← resolveSyntaxKind kind.getId) alts | _ => throwUnsupportedSyntax @[builtinMacro Lean.Parser.Command.mixfix] def expandMixfix : Macro := fun stx => @@ -535,42 +544,38 @@ def expandMacroArgIntoPattern (stx : Syntax) : MacroM Syntax := do where mkSplicePat kind id suffix := mkNullNode #[mkAntiquotSuffixSpliceNode kind (mkAntiquotNode id) suffix] - -/- «macro» := leading_parser suppressInsideQuot (Term.attrKind >> "macro " >> optPrecedence >> optNamedName >> optNamedPrio >> macroHead >> many macroArg >> macroTail) -/ -@[builtinMacro Lean.Parser.Command.macro] def expandMacro : Macro := fun stx => do - let attrKind := stx[0] - let prec := stx[2].getOptional? - let name? ← expandOptNamedName stx[3] - let prio ← expandOptNamedPrio stx[4] - let head := stx[5] - let args := stx[6].getArgs - let cat := stx[8] - -- build parser - let stxPart ← expandMacroArgIntoSyntaxItem head - let stxParts ← args.mapM expandMacroArgIntoSyntaxItem - let stxParts := #[stxPart] ++ stxParts - -- name - let name ← match name? with - | some name => pure name - | none => mkNameFromParserSyntax cat.getId (mkNullNode stxParts) - -- build macro rules - let patHead ← expandMacroArgIntoPattern head - let patArgs ← args.mapM expandMacroArgIntoPattern - /- The command `syntax [] ...` adds the current namespace to the syntax node kind. - So, we must include current namespace when we create a pattern for the following `macro_rules` commands. -/ - let pat := Syntax.node ((← Macro.getCurrNamespace) ++ name) (#[patHead] ++ patArgs) - if stx.getArgs.size == 11 then - -- `stx` is of the form `macro $head $args* : $cat => term` - let rhs := stx[10] - let stxCmd ← `(Parser.Command.syntax| $attrKind:attrKind syntax $(prec)? (name := $(mkIdentFrom stx name):ident) (priority := $(quote prio):numLit) $[$stxParts]* : $cat) - let macroRulesCmd ← `(macro_rules | `($pat) => $rhs) - return mkNullNode #[stxCmd, macroRulesCmd] - else - -- `stx` is of the form `macro $head $args* : $cat => `( $body )` - let rhsBody := stx[11] - let stxCmd ← `(Parser.Command.syntax| $attrKind:attrKind syntax $(prec)? (name := $(mkIdentFrom stx name):ident) (priority := $(quote prio):numLit) $[$stxParts]* : $cat) - let macroRulesCmd ← `(macro_rules | `($pat) => `($rhsBody)) +@[builtinMacro Lean.Parser.Command.macro] def expandMacro : Macro + | `($[$doc?:docComment]? $attrKind:attrKind + macro$[:$prec?]? $[(name := $name?)]? $[(priority := $prio?)]? $head:macroArg $args:macroArg* : + $cat => $rhs) => do + let prio ← evalOptPrio prio? + -- build parser + let stxPart ← expandMacroArgIntoSyntaxItem head + let stxParts ← args.mapM expandMacroArgIntoSyntaxItem + let stxParts := #[stxPart] ++ stxParts + -- name + let name ← match name? with + | some name => pure name.getId + | none => mkNameFromParserSyntax cat.getId (mkNullNode stxParts) + -- build macro rules + let patHead ← expandMacroArgIntoPattern head + let patArgs ← args.mapM expandMacroArgIntoPattern + /- The command `syntax [] ...` adds the current namespace to the syntax node kind. + So, we must include current namespace when we create a pattern for the following `macro_rules` commands. -/ + let pat := Syntax.node ((← Macro.getCurrNamespace) ++ name) (#[patHead] ++ patArgs) + let stxCmd ← `($[$doc?:docComment]? $attrKind:attrKind + syntax$[:$prec?]? (name := $(← mkIdentFromRef name)) (priority := $(quote prio)) $[$stxParts]* : $cat) + let macroRulesCmd ← + if rhs.getArgs.size == 1 then + -- `rhs` is a `term` + let rhs := rhs[0] + `($[$doc?:docComment]? macro_rules | `($pat) => $rhs) + else + -- `rhs` is of the form `` `( $body ) `` + let rhsBody := rhs[1] + `($[$doc?:docComment]? macro_rules | `($pat) => `($rhsBody)) return mkNullNode #[stxCmd, macroRulesCmd] + | _ => Macro.throwUnsupported builtin_initialize registerTraceClass `Elab.syntax @@ -581,69 +586,83 @@ builtin_initialize | throwError "expected type must be known" x expectedType -/- -def elabTail := try (" : " >> ident) >> darrow >> termParser -def «elab» := leading_parser suppressInsideQuot (Term.attrKind >> "elab " >> optPrecedence >> optNamedName >> optNamedPrio >> elabHead >> many elabArg >> elabTail) --/ -def expandElab (currNamespace : Name) (stx : Syntax) : CommandElabM Syntax := do - let ref := stx - let attrKind := stx[0] - let prec := stx[2].getOptional? - let name? ← liftMacroM <| expandOptNamedName stx[3] - let prio ← liftMacroM <| expandOptNamedPrio stx[4] - let head := stx[5] - let args := stx[6].getArgs - let cat := stx[8] - let expectedTypeSpec := stx[9] - let rhs := stx[11] - let catName := cat.getId - -- build parser - let stxPart ← liftMacroM <| expandMacroArgIntoSyntaxItem head - let stxParts ← liftMacroM <| args.mapM expandMacroArgIntoSyntaxItem - let stxParts := #[stxPart] ++ stxParts - -- name - let name ← match name? with - | some name => pure name - | none => liftMacroM <| mkNameFromParserSyntax cat.getId (mkNullNode stxParts) - -- build pattern for syntax `match` - let patHead ← liftMacroM <| expandMacroArgIntoPattern head - let patArgs ← liftMacroM <| args.mapM expandMacroArgIntoPattern - let pat := Syntax.node (currNamespace ++ name) (#[patHead] ++ patArgs) - let stxCmd ← `(Parser.Command.syntax| - $attrKind:attrKind syntax $(prec)? (name := $(mkIdentFrom stx name):ident) (priority := $(quote prio):numLit) $[$stxParts]* : $cat) - let elabCmd ← - if expectedTypeSpec.hasArgs then - if catName == `term then - let expId := expectedTypeSpec[1] - `(@[termElab $(mkIdentFrom stx name):ident] def elabFn : Lean.Elab.Term.TermElab := - fun stx expectedType? => match stx with - | `($pat) => Lean.Elab.Command.withExpectedType expectedType? fun $expId => $rhs - | _ => throwUnsupportedSyntax) +def elabElabRulesAux (doc? : Option Syntax) (attrKind : Syntax) (k : SyntaxNodeKind) (cat? expty? : Option Syntax) (alts : Array Syntax) : CommandElabM Syntax := do + let alts ← alts.mapM fun alt => match alt with + | `(matchAltExpr| | $pats,* => $rhs) => do + let pat := pats.elemsAndSeps[0] + if !pat.isQuot then + throwUnsupportedSyntax + let quoted := getQuotContent pat + let k' := quoted.getKind + if checkRuleKind k' k then + pure alt + else if k' == choiceKind then + match quoted.getArgs.find? fun quotAlt => checkRuleKind quotAlt.getKind k with + | none => throwErrorAt alt "invalid elab_rules alternative, expected syntax node kind '{k}'" + | some quoted => + let pat := pat.setArg 1 quoted + let pats := pats.elemsAndSeps.set! 0 pat + `(matchAltExpr| | $pats,* => $rhs) else - throwErrorAt expectedTypeSpec "syntax category '{catName}' does not support expected type specification" - else if catName == `term then - `(@[termElab $(mkIdentFrom stx name):ident] def elabFn : Lean.Elab.Term.TermElab := - fun stx _ => match stx with - | `($pat) => $rhs - | _ => throwUnsupportedSyntax) - else if catName == `command then - `(@[commandElab $(mkIdentFrom stx name):ident] def elabFn : Lean.Elab.Command.CommandElab := - fun - | `($pat) => $rhs - | _ => throwUnsupportedSyntax) - else if catName == `tactic then - `(@[tactic $(mkIdentFrom stx name):ident] def elabFn : Lean.Elab.Tactic.Tactic := - fun - | `(tactic|$pat) => $rhs - | _ => throwUnsupportedSyntax) + throwErrorAt alt "invalid elab_rules alternative, unexpected syntax node kind '{k'}'" + | _ => throwUnsupportedSyntax + let catName ← match cat?, expty? with + | some cat, _ => cat.getId + | _, some _ => `term + -- TODO: infer category from quotation kind, possibly even kind of quoted syntax? + | _, _ => throwError "invalid elab_rules command, specify category using `elab_rules : ...`" + if let some expId := expty? then + if catName == `term then + `($[$doc?:docComment]? @[termElab $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Term.TermElab := + fun stx expectedType? => Lean.Elab.Command.withExpectedType expectedType? fun $expId => match stx with + $alts:matchAlt* | _ => throwUnsupportedSyntax) else - -- We considered making the command extensible and support new user-defined categories. We think it is unnecessary. - -- If users want this feature, they add their own `elab` macro that uses this one as a fallback. - throwError "unsupported syntax category '{catName}'" - return mkNullNode #[stxCmd, elabCmd] + throwErrorAt expId "syntax category '{catName}' does not support expected type specification" + else if catName == `term then + `($[$doc?:docComment]? @[termElab $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Term.TermElab := + fun stx _ => match stx with + $alts:matchAlt* | _ => throwUnsupportedSyntax) + else if catName == `command then + `($[$doc?:docComment]? @[commandElab $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Command.CommandElab := + fun $alts:matchAlt* | _ => throwUnsupportedSyntax) + else if catName == `tactic then + `($[$doc?:docComment]? @[tactic $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Tactic.Tactic := + fun $alts:matchAlt* | _ => throwUnsupportedSyntax) + else + -- We considered making the command extensible and support new user-defined categories. We think it is unnecessary. + -- If users want this feature, they add their own `elab_rules` macro that uses this one as a fallback. + throwError "unsupported syntax category '{catName}'" -@[builtinCommandElab «elab»] def elabElab : CommandElab := - adaptExpander fun stx => do - expandElab (← getCurrNamespace) stx +@[builtinCommandElab «elab_rules»] def elabElabRules : CommandElab := + adaptExpander fun stx => match stx with + | `($[$doc?:docComment]? $attrKind:attrKind elab_rules $[: $cat?]? $[<= $expty?]? $alts:matchAlt*) => + expandNoKindMacroRulesAux alts "elab_rules" fun kind? alts => + `($[$doc?:docComment]? $attrKind:attrKind elab_rules $[(kind := $(mkIdent <$> kind?))]? $[: $cat?]? $[<= $expty?]? $alts:matchAlt*) + | `($[$doc?:docComment]? $attrKind:attrKind elab_rules (kind := $kind) $[: $cat?]? $[<= $expty?]? $alts:matchAlt*) => + do elabElabRulesAux doc? attrKind (← resolveSyntaxKind kind.getId) cat? expty? alts + | _ => throwUnsupportedSyntax + +@[builtinMacro Lean.Parser.Command.elab] +def expandElab : Macro + | `($[$doc?:docComment]? $attrKind:attrKind + elab$[:$prec?]? $[(name := $name?)]? $[(priority := $prio?)]? $head:macroArg $args:macroArg* : + $cat $[<= $expectedType?]? => $rhs) => do + let prio ← evalOptPrio prio? + let catName := cat.getId + -- build parser + let stxPart ← expandMacroArgIntoSyntaxItem head + let stxParts ← args.mapM expandMacroArgIntoSyntaxItem + let stxParts := #[stxPart] ++ stxParts + -- name + let name ← match name? with + | some name => pure name.getId + | none => mkNameFromParserSyntax cat.getId (mkNullNode stxParts) + -- build pattern for syntax `match` + let patHead ← expandMacroArgIntoPattern head + let patArgs ← args.mapM expandMacroArgIntoPattern + let pat := Syntax.node ((← Macro.getCurrNamespace) ++ name) (#[patHead] ++ patArgs) + `($[$doc?:docComment]? $attrKind:attrKind syntax$[:$prec?]? (name := $(← mkIdentFromRef name)) (priority := $(quote prio)) $[$stxParts]* : $cat + $[$doc?:docComment]? elab_rules : $cat $[<= $expectedType?]? | `($pat) => $rhs) + | _ => Macro.throwUnsupported end Lean.Elab.Command diff --git a/stage0/src/Lean/Elab/Tactic/Basic.lean b/stage0/src/Lean/Elab/Tactic/Basic.lean index 29d88dc984..967a0b0427 100644 --- a/stage0/src/Lean/Elab/Tactic/Basic.lean +++ b/stage0/src/Lean/Elab/Tactic/Basic.lean @@ -36,7 +36,9 @@ def Term.reportUnsolvedGoals (goals : List MVarId) : TermElabM Unit := namespace Tactic structure Context where - main : MVarId + main : MVarId + -- declaration name of the executing elaborator, used by `mkTacticInfo` to persist it in the info tree + elaborator : Name structure State where goals : List MVarId @@ -90,7 +92,7 @@ def run (mvarId : MVarId) (x : TacticM Unit) : TermElabM (List MVarId) := else throw ex try - aux.runCore' { main := mvarId } { goals := [mvarId] } + aux.runCore' { main := mvarId, elaborator := Name.anonymous } { goals := [mvarId] } finally modify fun s => { s with syntheticMVars := savedSyntheticMVars } @@ -109,33 +111,9 @@ unsafe def mkTacticAttribute : IO (KeyedDeclsAttribute Tactic) := @[builtinInit mkTacticAttribute] constant tacticElabAttribute : KeyedDeclsAttribute Tactic -/- -Important: we must define `evalTacticUsing` and `expandTacticMacroFns` before we define -the instance `MonadExcept` for `TacticM` since it backtracks the state including error messages, -and this is bad when rethrowing the exception at the `catch` block in these methods. -We marked these places with a `(*)` in these methods. --/ - -private def evalTacticUsing (s : SavedState) (stx : Syntax) (tactics : List Tactic) : TacticM Unit := do - let rec loop : List Tactic → TacticM Unit - | [] => throwErrorAt stx "unexpected syntax {indentD stx}" - | evalFn::evalFns => do - try - evalFn stx - catch - | ex@(Exception.error _ _) => - match evalFns with - | [] => throw ex -- (*) - | evalFns => s.restore; loop evalFns - | ex@(Exception.internal id _) => - if id == unsupportedSyntaxExceptionId then - s.restore; loop evalFns - else - throw ex - loop tactics - def mkTacticInfo (mctxBefore : MetavarContext) (goalsBefore : List MVarId) (stx : Syntax) : TacticM Info := return Info.ofTacticInfo { + elaborator := (← read).elaborator mctxBefore := mctxBefore goalsBefore := goalsBefore stx := stx @@ -151,23 +129,50 @@ def mkInitialTacticInfo (stx : Syntax) : TacticM (TacticM Info) := do @[inline] def withTacticInfoContext (stx : Syntax) (x : TacticM α) : TacticM α := do withInfoContext x (← mkInitialTacticInfo stx) +/- +Important: we must define `evalTacticUsing` and `expandTacticMacroFns` before we define +the instance `MonadExcept` for `TacticM` since it backtracks the state including error messages, +and this is bad when rethrowing the exception at the `catch` block in these methods. +We marked these places with a `(*)` in these methods. +-/ + +private def evalTacticUsing (s : SavedState) (stx : Syntax) (tactics : List (KeyedDeclsAttribute.AttributeEntry Tactic)) : TacticM Unit := do + let rec loop + | [] => throwErrorAt stx "unexpected syntax {indentD stx}" + | evalFn::evalFns => do + try + withReader ({ · with elaborator := evalFn.decl }) <| withTacticInfoContext stx <| evalFn.value stx + catch + | ex@(Exception.error _ _) => + match evalFns with + | [] => throw ex -- (*) + | evalFns => s.restore; loop evalFns + | ex@(Exception.internal id _) => + if id == unsupportedSyntaxExceptionId then + s.restore; loop evalFns + else + throw ex + loop tactics + mutual - partial def expandTacticMacroFns (stx : Syntax) (macros : List Macro) : TacticM Unit := - let rec loop : List Macro → TacticM Unit + partial def expandTacticMacroFns (stx : Syntax) (macros : List (KeyedDeclsAttribute.AttributeEntry Macro)) : TacticM Unit := + let rec loop | [] => throwErrorAt stx "tactic '{stx.getKind}' has not been implemented" | m::ms => do let scp ← getCurrMacroScope try - let stx' ← adaptMacro m stx - evalTactic stx' + withReader ({ · with elaborator := m.decl }) do + withTacticInfoContext stx do + let stx' ← adaptMacro m.value stx + evalTactic stx' catch ex => if ms.isEmpty then throw ex -- (*) loop ms loop macros partial def expandTacticMacro (stx : Syntax) : TacticM Unit := do - expandTacticMacroFns stx (macroAttribute.getValues (← getEnv) stx.getKind) + expandTacticMacroFns stx (macroAttribute.getEntries (← getEnv) stx.getKind) partial def evalTacticAux (stx : Syntax) : TacticM Unit := withRef stx $ withIncRecDepth $ withFreshMacroScope $ match stx with @@ -178,13 +183,13 @@ mutual else do trace[Elab.step] "{stx}" let s ← Tactic.saveState - match tacticElabAttribute.getValues (← getEnv) stx.getKind with + match tacticElabAttribute.getEntries (← getEnv) stx.getKind with | [] => expandTacticMacro stx | evalFns => evalTacticUsing s stx evalFns | _ => throwError m!"unexpected tactic{indentD stx}" partial def evalTactic (stx : Syntax) : TacticM Unit := - withTacticInfoContext stx (evalTacticAux stx) + evalTacticAux stx end diff --git a/stage0/src/Lean/Elab/Tactic/Injection.lean b/stage0/src/Lean/Elab/Tactic/Injection.lean index 0e79fedcd9..5482282064 100644 --- a/stage0/src/Lean/Elab/Tactic/Injection.lean +++ b/stage0/src/Lean/Elab/Tactic/Injection.lean @@ -23,7 +23,7 @@ private def checkUnusedIds (mvarId : MVarId) (unusedIds : List Name) : MetaM Uni let fvarId ← elabAsFVar stx[1] let ids := getInjectionNewIds stx[2] liftMetaTactic fun mvarId => do - match ← Meta.injection mvarId fvarId ids (!ids.isEmpty) with + match (← Meta.injection mvarId fvarId ids (!ids.isEmpty)) with | Meta.InjectionResult.solved => checkUnusedIds mvarId ids; pure [] | Meta.InjectionResult.subgoal mvarId' _ unusedIds => checkUnusedIds mvarId unusedIds; pure [mvarId'] diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index b42745306a..0d41b3974a 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -1,7 +1,7 @@ /- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. -Authors: Leonardo de Moura +Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.ResolveName import Lean.Util.Sorry @@ -390,10 +390,9 @@ open Level (LevelElabM) def liftLevelM (x : LevelElabM α) : TermElabM α := do let ctx ← read - let ref ← getRef let mctx ← getMCtx let ngen ← getNGen - let lvlCtx : Level.Context := { options := (← getOptions), ref := ref, autoBoundImplicit := ctx.autoBoundImplicit } + let lvlCtx : Level.Context := { options := (← getOptions), ref := (← getRef), autoBoundImplicit := ctx.autoBoundImplicit } match (x lvlCtx).run { ngen := ngen, mctx := mctx, levelNames := (← getLevelNames) } with | EStateM.Result.ok a newS => setMCtx newS.mctx; setNGen newS.ngen; setLevelNames newS.levelNames; pure a | EStateM.Result.error ex _ => throw ex @@ -933,51 +932,80 @@ private def postponeElabTerm (stx : Syntax) (expectedType? : Option Expr) : Term registerSyntheticMVar stx mvar.mvarId! (SyntheticMVarKind.postponed (← saveContext)) pure mvar +def getSyntheticMVarDecl? (mvarId : MVarId) : TermElabM (Option SyntheticMVarDecl) := + return (← get).syntheticMVars.find? fun d => d.mvarId == mvarId + +def mkTermInfo (elaborator : Name) (stx : Syntax) (e : Expr) (expectedType? : Option Expr := none) (lctx? : Option LocalContext := none) : TermElabM (Sum Info MVarId) := do + let isHole? : TermElabM (Option MVarId) := do + match e with + | Expr.mvar mvarId _ => + match (← getSyntheticMVarDecl? mvarId) with + | some { kind := SyntheticMVarKind.tactic .., .. } => return mvarId + | some { kind := SyntheticMVarKind.postponed .., .. } => return mvarId + | _ => return none + | _ => pure none + match (← isHole?) with + | none => return Sum.inl <| Info.ofTermInfo { elaborator, lctx := lctx?.getD (← getLCtx), expr := e, stx, expectedType? } + | some mvarId => return Sum.inr mvarId + +def addTermInfo (stx : Syntax) (e : Expr) (expectedType? : Option Expr := none) (lctx? : Option LocalContext := none) (elaborator := Name.anonymous) : TermElabM Unit := do + withInfoContext' (pure ()) (fun _ => mkTermInfo elaborator stx e expectedType? lctx?) |> discard + /- Helper function for `elabTerm` is tries the registered elaboration functions for `stxNode` kind until it finds one that supports the syntax or an error is found. -/ private def elabUsingElabFnsAux (s : SavedState) (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone : Bool) - : List TermElab → TermElabM Expr + : List (KeyedDeclsAttribute.AttributeEntry TermElab) → TermElabM Expr | [] => do throwError "unexpected syntax{indentD stx}" - | (elabFn::elabFns) => do + | (elabFn::elabFns) => try - elabFn stx expectedType? + -- record elaborator in info tree, but only when not backtracking to other elaborators (outer `try`) + withInfoContext' (mkInfo := mkTermInfo elabFn.decl (expectedType? := expectedType?) stx) + (try + elabFn.value stx expectedType? + catch ex => match ex with + | Exception.error ref msg => + if (← read).errToSorry then + exceptionToSorry ex expectedType? + else + throw ex + | Exception.internal id _ => + if (← read).errToSorry && id == abortTermExceptionId then + exceptionToSorry ex expectedType? + else if id == unsupportedSyntaxExceptionId then + throw ex -- to outer try + else if catchExPostpone && id == postponeExceptionId then + /- If `elab` threw `Exception.postpone`, we reset any state modifications. + For example, we want to make sure pending synthetic metavariables created by `elab` before + it threw `Exception.postpone` are discarded. + Note that we are also discarding the messages created by `elab`. + + For example, consider the expression. + `((f.x a1).x a2).x a3` + Now, suppose the elaboration of `f.x a1` produces an `Exception.postpone`. + Then, a new metavariable `?m` is created. Then, `?m.x a2` also throws `Exception.postpone` + because the type of `?m` is not yet known. Then another, metavariable `?n` is created, and + finally `?n.x a3` also throws `Exception.postpone`. If we did not restore the state, we would + keep "dead" metavariables `?m` and `?n` on the pending synthetic metavariable list. This is + wasteful because when we resume the elaboration of `((f.x a1).x a2).x a3`, we start it from scratch + and new metavariables are created for the nested functions. -/ + s.restore + postponeElabTerm stx expectedType? + else + throw ex) catch ex => match ex with - | Exception.error ref msg => - if (← read).errToSorry then - exceptionToSorry ex expectedType? + | Exception.internal id _ => + if id == unsupportedSyntaxExceptionId then + s.restore -- also removes the info tree created above + elabUsingElabFnsAux s stx expectedType? catchExPostpone elabFns else throw ex - | Exception.internal id _ => - if (← read).errToSorry && id == abortTermExceptionId then - exceptionToSorry ex expectedType? - else if id == unsupportedSyntaxExceptionId then - s.restore - elabUsingElabFnsAux s stx expectedType? catchExPostpone elabFns - else if catchExPostpone && id == postponeExceptionId then - /- If `elab` threw `Exception.postpone`, we reset any state modifications. - For example, we want to make sure pending synthetic metavariables created by `elab` before - it threw `Exception.postpone` are discarded. - Note that we are also discarding the messages created by `elab`. - - For example, consider the expression. - `((f.x a1).x a2).x a3` - Now, suppose the elaboration of `f.x a1` produces an `Exception.postpone`. - Then, a new metavariable `?m` is created. Then, `?m.x a2` also throws `Exception.postpone` - because the type of `?m` is not yet known. Then another, metavariable `?n` is created, and - finally `?n.x a3` also throws `Exception.postpone`. If we did not restore the state, we would - keep "dead" metavariables `?m` and `?n` on the pending synthetic metavariable list. This is - wasteful because when we resume the elaboration of `((f.x a1).x a2).x a3`, we start it from scratch - and new metavariables are created for the nested functions. -/ - s.restore - postponeElabTerm stx expectedType? - else - throw ex + | _ => throw ex private def elabUsingElabFns (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone : Bool) : TermElabM Expr := do let s ← saveState let k := stx.getKind - match termElabAttribute.getValues (← getEnv) k with + match termElabAttribute.getEntries (← getEnv) k with | [] => throwError "elaboration function for '{k}' has not been implemented{indentD stx}" | elabFns => elabUsingElabFnsAux s stx expectedType? catchExPostpone elabFns @@ -1107,40 +1135,21 @@ private partial def elabTermAux (expectedType? : Option Expr) (catchExPostpone : checkMaxHeartbeats "elaborator" withNestedTraces do let env ← getEnv - let stxNew? ← catchInternalId unsupportedSyntaxExceptionId - (do let newStx ← adaptMacro (getMacros env) stx; pure (some newStx)) - (fun _ => pure none) - match stxNew? with - | some stxNew => withMacroExpansion stx stxNew <| withRef stxNew <| elabTermAux expectedType? catchExPostpone implicitLambda stxNew + match (← liftMacroM (expandMacroImpl? env stx)) with + | some (decl, stxNew) => + withInfoContext' (mkInfo := mkTermInfo decl (expectedType? := expectedType?) stx) <| + withMacroExpansion stx stxNew <| + withRef stxNew <| + elabTermAux expectedType? catchExPostpone implicitLambda stxNew | _ => let implicit? ← if implicitLambda && (← read).implicitLambda then useImplicitLambda? stx expectedType? else pure none match implicit? with | some expectedType => elabImplicitLambda stx catchExPostpone expectedType | none => elabUsingElabFns stx expectedType? catchExPostpone -def addTermInfo (stx : Syntax) (e : Expr) (expectedType? : Option Expr := none) : TermElabM Unit := do - if (← getInfoState).enabled then - pushInfoLeaf <| Info.ofTermInfo { lctx := (← getLCtx), expr := e, stx, expectedType? } - -def getSyntheticMVarDecl? (mvarId : MVarId) : TermElabM (Option SyntheticMVarDecl) := - return (← get).syntheticMVars.find? fun d => d.mvarId == mvarId - -def mkTermInfo (stx : Syntax) (e : Expr) (expectedType? : Option Expr := none) : TermElabM (Sum Info MVarId) := do - let isHole? : TermElabM (Option MVarId) := do - match e with - | Expr.mvar mvarId _ => - match (← getSyntheticMVarDecl? mvarId) with - | some { kind := SyntheticMVarKind.tactic .., .. } => return mvarId - | some { kind := SyntheticMVarKind.postponed .., .. } => return mvarId - | _ => return none - | _ => pure none - match (← isHole?) with - | none => return Sum.inl <| Info.ofTermInfo { lctx := (← getLCtx), expr := e, stx, expectedType? } - | some mvarId => return Sum.inr mvarId - /-- Store in the `InfoTree` that `e` is a "dot"-completion target. -/ def addDotCompletionInfo (stx : Syntax) (e : Expr) (expectedType? : Option Expr) (field? : Option Syntax := none) : TermElabM Unit := do - addCompletionInfo <| CompletionInfo.dot { expr := e, stx, lctx := (← getLCtx), expectedType? } (field? := field?) (expectedType? := expectedType?) + addCompletionInfo <| CompletionInfo.dot { expr := e, stx, lctx := (← getLCtx), elaborator := Name.anonymous, expectedType? } (field? := field?) (expectedType? := expectedType?) /-- Main function for elaborating terms. @@ -1160,7 +1169,7 @@ def addDotCompletionInfo (stx : Syntax) (e : Expr) (expectedType? : Option Expr) We use this flag to implement, for example, the `@` modifier. If `Context.implicitLambda == false`, then this parameter has no effect. -/ def elabTerm (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone := true) (implicitLambda := true) : TermElabM Expr := - withInfoContext' (withRef stx <| elabTermAux expectedType? catchExPostpone implicitLambda stx) (mkTermInfo stx (expectedType? := expectedType?)) + withRef stx <| elabTermAux expectedType? catchExPostpone implicitLambda stx def elabTermEnsuringType (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone := true) (implicitLambda := true) (errorMsgHeader? : Option String := none) : TermElabM Expr := do let e ← elabTerm stx expectedType? catchExPostpone implicitLambda diff --git a/stage0/src/Lean/Elab/Util.lean b/stage0/src/Lean/Elab/Util.lean index f4ca458cd1..3f9d4f7136 100644 --- a/stage0/src/Lean/Elab/Util.lean +++ b/stage0/src/Lean/Elab/Util.lean @@ -34,13 +34,6 @@ def expandOptNamedPrio (stx : Syntax) : MacroM Nat := | `(Parser.Command.namedPrio| (priority := $prio)) => evalPrio prio | _ => Macro.throwUnsupported -def expandOptNamedName (stx : Syntax) : MacroM (Option Name) := do - if stx.isNone then - return none - else match stx[0] with - | `(Parser.Command.namedName| (name := $name)) => return name.getId - | _ => Macro.throwUnsupported - structure MacroStackElem where before : Syntax after : Syntax @@ -73,23 +66,22 @@ def addMacroStack {m} [Monad m] [MonadOptions m] (msgData : MessageData) (macroS msgData ++ Format.line ++ "while expanding" ++ indentD elem.before) msgData -def checkSyntaxNodeKind (k : Name) : AttrM Name := do +def checkSyntaxNodeKind [Monad m] [MonadEnv m] [MonadError m] (k : Name) : m Name := do if Parser.isValidSyntaxNodeKind (← getEnv) k then pure k else throwError "failed" -def checkSyntaxNodeKindAtNamespacesAux (k : Name) : Name → AttrM Name - | n@(Name.str p _ _) => checkSyntaxNodeKind (n ++ k) <|> checkSyntaxNodeKindAtNamespacesAux k p +def checkSyntaxNodeKindAtNamespaces [Monad m] [MonadEnv m] [MonadError m] (k : Name) : Name → m Name + | n@(Name.str p _ _) => checkSyntaxNodeKind (n ++ k) <|> checkSyntaxNodeKindAtNamespaces k p + | Name.anonymous => checkSyntaxNodeKind k | _ => throwError "failed" -def checkSyntaxNodeKindAtNamespaces (k : Name) : AttrM Name := do +def checkSyntaxNodeKindAtCurrentNamespaces (k : Name) : AttrM Name := do let ctx ← read - checkSyntaxNodeKindAtNamespacesAux k ctx.currNamespace + checkSyntaxNodeKindAtNamespaces k ctx.currNamespace def syntaxNodeKindOfAttrParam (defaultParserNamespace : Name) (stx : Syntax) : AttrM SyntaxNodeKind := do let k ← Attribute.Builtin.getId stx - checkSyntaxNodeKind k - <|> - checkSyntaxNodeKindAtNamespaces k + checkSyntaxNodeKindAtCurrentNamespaces k <|> checkSyntaxNodeKind (defaultParserNamespace ++ k) <|> @@ -119,17 +111,19 @@ constant mkMacroAttribute : IO (KeyedDeclsAttribute Macro) builtin_initialize macroAttribute : KeyedDeclsAttribute Macro ← mkMacroAttribute -private def expandMacroFns (stx : Syntax) : List Macro → MacroM Syntax - | [] => throw Macro.Exception.unsupportedSyntax - | m::ms => do +/-- +Try to expand macro at syntax tree root and return macro declaration name and new syntax if successful. +Return none if all macros threw `Macro.Exception.unsupportedSyntax`. +-/ +def expandMacroImpl? (env : Environment) : Syntax → MacroM (Option (Name × Syntax)) := fun stx => do + for e in macroAttribute.getEntries env stx.getKind do try - m stx + let stx' ← e.value stx + return (e.decl, stx') catch - | Macro.Exception.unsupportedSyntax => expandMacroFns stx ms + | Macro.Exception.unsupportedSyntax => pure () | ex => throw ex - -def getMacros (env : Environment) : Macro := fun stx => - expandMacroFns stx (macroAttribute.getValues env stx.getKind) + return none class MonadMacroAdapter (m : Type → Type) where getCurrMacroScope : m MacroScope @@ -142,20 +136,16 @@ instance (m n) [MonadLift m n] [MonadMacroAdapter m] : MonadMacroAdapter n := { setNextMacroScope := fun s => liftM (MonadMacroAdapter.setNextMacroScope s : m _) } -private def expandMacro? (env : Environment) (stx : Syntax) : MacroM (Option Syntax) := do - try - let newStx ← getMacros env stx - pure (some newStx) - catch - | Macro.Exception.unsupportedSyntax => pure none - | ex => throw ex - -@[inline] def liftMacroM {α} {m : Type → Type} [Monad m] [MonadMacroAdapter m] [MonadEnv m] [MonadRecDepth m] [MonadError m] [MonadResolveName m] [MonadTrace m] [MonadOptions m] [AddMessageContext m] (x : MacroM α) : m α := do +def liftMacroM {α} {m : Type → Type} [Monad m] [MonadMacroAdapter m] [MonadEnv m] [MonadRecDepth m] [MonadError m] [MonadResolveName m] [MonadTrace m] [MonadOptions m] [AddMessageContext m] (x : MacroM α) : m α := do let env ← getEnv let currNamespace ← getCurrNamespace let openDecls ← getOpenDecls let methods := Macro.mkMethods { - expandMacro? := expandMacro? env + -- TODO: record recursive expansions in info tree? + expandMacro? := fun stx => do + match (← expandMacroImpl? env stx) with + | some (_, stx) => some stx + | none => none hasDecl := fun declName => return env.contains declName getCurrNamespace := return currNamespace resolveNamespace? := fun n => return ResolveName.resolveNamespace? env currNamespace openDecls n diff --git a/stage0/src/Lean/Hygiene.lean b/stage0/src/Lean/Hygiene.lean index 97c2d835a4..d5534d5c17 100644 --- a/stage0/src/Lean/Hygiene.lean +++ b/stage0/src/Lean/Hygiene.lean @@ -29,15 +29,15 @@ structure Unhygienic.Context where corresponding to `withFreshMacroScope` calls. -/ abbrev Unhygienic := ReaderT Lean.Unhygienic.Context $ StateM MacroScope namespace Unhygienic -instance : MonadQuotation Unhygienic := { - getRef := do (← read).ref, - withRef := fun ref => withReader ({ · with ref := ref }), - getCurrMacroScope := do (← read).scope, - getMainModule := pure `UnhygienicMain, +instance : MonadQuotation Unhygienic where + getRef := do (← read).ref + withRef := fun ref => withReader ({ · with ref := ref }) + getCurrMacroScope := do (← read).scope + getMainModule := pure `UnhygienicMain withFreshMacroScope := fun x => do let fresh ← modifyGet fun n => (n, n + 1) withReader ({ · with scope := fresh}) x -} + protected def run {α : Type} (x : Unhygienic α) : α := (x ⟨Syntax.missing, firstFrontendMacroScope⟩).run' (firstFrontendMacroScope+1) end Unhygienic diff --git a/stage0/src/Lean/Meta/Tactic/Simp/Rewrite.lean b/stage0/src/Lean/Meta/Tactic/Simp/Rewrite.lean index 9aa7bd8d92..33774cc6f7 100644 --- a/stage0/src/Lean/Meta/Tactic/Simp/Rewrite.lean +++ b/stage0/src/Lean/Meta/Tactic/Simp/Rewrite.lean @@ -16,7 +16,7 @@ def synthesizeArgs (lemmaName : Name) (xs : Array Expr) (bis : Array BinderInfo) return false else if (← instantiateMVars x).isMVar then if (← isProp type) then - match ← discharge? type with + match (← discharge? type) with | some proof => unless (← isDefEq x proof) do trace[Meta.Tactic.simp.discharge] "{lemmaName}, failed to assign proof{indentExpr type}" @@ -30,7 +30,7 @@ def synthesizeArgs (lemmaName : Name) (xs : Array Expr) (bis : Array BinderInfo) return true where synthesizeInstance (x type : Expr) : SimpM Bool := do - match ← trySynthInstance type with + match (← trySynthInstance type) with | LOption.some val => if (← isDefEq x val) then return true diff --git a/stage0/src/Lean/Parser/Syntax.lean b/stage0/src/Lean/Parser/Syntax.lean index 381fe5d4d5..8fd0120373 100644 --- a/stage0/src/Lean/Parser/Syntax.lean +++ b/stage0/src/Lean/Parser/Syntax.lean @@ -68,25 +68,26 @@ def optKind : Parser := optional ("(" >> nonReservedSymbol "kind" >> ":=" >> ide def notationItem := ppSpace >> withAntiquot (mkAntiquot "notationItem" `Lean.Parser.Command.notationItem) (strLit <|> identPrec) @[builtinCommandParser] def «notation» := leading_parser Term.attrKind >> "notation" >> optPrecedence >> optNamedName >> optNamedPrio >> many notationItem >> darrow >> termParser -@[builtinCommandParser] def «macro_rules» := suppressInsideQuot (leading_parser Term.attrKind >> "macro_rules" >> optKind >> Term.matchAlts) -@[builtinCommandParser] def «syntax» := leading_parser Term.attrKind >> "syntax " >> optPrecedence >> optNamedName >> optNamedPrio >> many1 syntaxParser >> " : " >> ident +@[builtinCommandParser] def «macro_rules» := suppressInsideQuot (leading_parser optional docComment >> Term.attrKind >> "macro_rules" >> optKind >> Term.matchAlts) +@[builtinCommandParser] def «syntax» := leading_parser optional docComment >> Term.attrKind >> "syntax " >> optPrecedence >> optNamedName >> optNamedPrio >> many1 syntaxParser >> " : " >> ident @[builtinCommandParser] def syntaxAbbrev := leading_parser "syntax " >> ident >> " := " >> many1 syntaxParser @[builtinCommandParser] def syntaxCat := leading_parser "declare_syntax_cat " >> ident def macroArgSimple := leading_parser ident >> checkNoWsBefore "no space before ':'" >> ":" >> syntaxParser maxPrec def macroArgSymbol := leading_parser strLit >> optional (atomic <| checkNoWsBefore >> "%" >> checkNoWsBefore >> ident) -def macroArg := macroArgSymbol <|> atomic macroArgSimple +def macroArg := leading_parser macroArgSymbol <|> atomic macroArgSimple def macroHead := macroArg -def macroTailTactic : Parser := atomic (" : " >> identEq "tactic") >> darrow >> ("`(" >> incQuotDepth Tactic.seq1 >> ")" <|> termParser) -def macroTailCommand : Parser := atomic (" : " >> identEq "command") >> darrow >> ("`(" >> incQuotDepth (many1Unbox commandParser) >> ")" <|> termParser) -def macroTailDefault : Parser := atomic (" : " >> ident) >> darrow >> (("`(" >> incQuotDepth (categoryParserOfStack 2) >> ")") <|> termParser) -def macroTail := macroTailTactic <|> macroTailCommand <|> macroTailDefault -@[builtinCommandParser] def «macro» := leading_parser suppressInsideQuot (Term.attrKind >> "macro " >> optPrecedence >> optNamedName >> optNamedPrio >> macroHead >> many macroArg >> macroTail) +def macroRhs (quotP : Parser) : Parser := leading_parser "`(" >> incQuotDepth quotP >> ")" <|> termParser +def macroTailTactic : Parser := atomic (" : " >> identEq "tactic") >> darrow >> macroRhs Tactic.seq1 +def macroTailCommand : Parser := atomic (" : " >> identEq "command") >> darrow >> macroRhs (many1Unbox commandParser) +def macroTailDefault : Parser := atomic (" : " >> ident) >> darrow >> macroRhs (categoryParserOfStack 2) +def macroTail := leading_parser macroTailTactic <|> macroTailCommand <|> macroTailDefault +@[builtinCommandParser] def «macro» := leading_parser suppressInsideQuot (optional docComment >> Term.attrKind >> "macro " >> optPrecedence >> optNamedName >> optNamedPrio >> macroHead >> many macroArg >> macroTail) -@[builtinCommandParser] def «elab_rules» := leading_parser suppressInsideQuot ("elab_rules" >> optKind >> optional (" : " >> ident) >> Term.matchAlts) +@[builtinCommandParser] def «elab_rules» := leading_parser suppressInsideQuot (optional docComment >> Term.attrKind >> "elab_rules" >> optKind >> optional (" : " >> ident) >> optional (" <= " >> ident) >> Term.matchAlts) def elabHead := macroHead def elabArg := macroArg -def elabTail := atomic (" : " >> ident >> optional (" <= " >> ident)) >> darrow >> termParser -@[builtinCommandParser] def «elab» := leading_parser suppressInsideQuot (Term.attrKind >> "elab " >> optPrecedence >> optNamedName >> optNamedPrio >> elabHead >> many elabArg >> elabTail) +def elabTail := leading_parser atomic (" : " >> ident >> optional (" <= " >> ident)) >> darrow >> termParser +@[builtinCommandParser] def «elab» := leading_parser suppressInsideQuot (optional docComment >> Term.attrKind >> "elab " >> optPrecedence >> optNamedName >> optNamedPrio >> elabHead >> many elabArg >> elabTail) end Command diff --git a/stage0/src/Lean/ReducibilityAttrs.lean b/stage0/src/Lean/ReducibilityAttrs.lean index 6545f7c83e..84a05d74a9 100644 --- a/stage0/src/Lean/ReducibilityAttrs.lean +++ b/stage0/src/Lean/ReducibilityAttrs.lean @@ -39,7 +39,7 @@ def setReducibleAttribute {m} [Monad m] [MonadEnv m] (declName : Name) : m Unit setReducibilityStatus declName ReducibilityStatus.reducible def isReducible {m} [Monad m] [MonadEnv m] (declName : Name) : m Bool := do - match ← getReducibilityStatus declName with + match (← getReducibilityStatus declName) with | ReducibilityStatus.reducible => true | _ => false diff --git a/stage0/src/Lean/Server/FileWorker.lean b/stage0/src/Lean/Server/FileWorker.lean index dfbff63e09..d44845d5fa 100644 --- a/stage0/src/Lean/Server/FileWorker.lean +++ b/stage0/src/Lean/Server/FileWorker.lean @@ -146,7 +146,7 @@ section Initialization let opts := {} -- TODO let inputCtx := Parser.mkInputContext m.text.source "" let (headerStx, headerParserState, msgLog) ← Parser.parseHeader inputCtx - let leanpkgPath ← match ← IO.getEnv "LEAN_SYSROOT" with + let leanpkgPath ← match (← IO.getEnv "LEAN_SYSROOT") with | some path => pure <| System.FilePath.mk path / "bin" / "leanpkg" | _ => pure <| (← appDir) / "leanpkg" let leanpkgPath := leanpkgPath.withExtension System.FilePath.exeExtension diff --git a/stage0/src/Lean/Server/FileWorker/RequestHandling.lean b/stage0/src/Lean/Server/FileWorker/RequestHandling.lean index 026e7c80e0..69206d0a00 100644 --- a/stage0/src/Lean/Server/FileWorker/RequestHandling.lean +++ b/stage0/src/Lean/Server/FileWorker/RequestHandling.lean @@ -63,35 +63,45 @@ partial def handleDefinition (goToType? : Bool) (p : TextDocumentPositionParams) let doc ← readDoc let text := doc.meta.text let hoverPos := text.lspPosToUtf8Pos p.position + + let locationLinksFromDecl i n := do + let mod? ← findModuleOf? n + let modUri? ← match mod? with + | some modName => + let modFname? ← rc.srcSearchPath.findWithExt "lean" modName + pure <| modFname?.map toFileUri + | none => pure <| some doc.meta.uri + + let ranges? ← findDeclarationRanges? n + if let (some ranges, some modUri) := (ranges?, modUri?) then + let declRangeToLspRange (r : DeclarationRange) : Lsp.Range := + { start := ⟨r.pos.line - 1, r.charUtf16⟩ + «end» := ⟨r.endPos.line - 1, r.endCharUtf16⟩ } + let ll : LocationLink := { + originSelectionRange? := (·.toLspRange text) <$> i.range? + targetUri := modUri + targetRange := declRangeToLspRange ranges.range + targetSelectionRange := declRangeToLspRange ranges.selectionRange + } + return #[ll] + return #[] + withWaitFindSnap doc (fun s => s.endPos > hoverPos) (notFoundX := pure #[]) fun snap => do for t in snap.cmdState.infoState.trees do - if let some (ci, Info.ofTermInfo i) := t.hoverableInfoAt? hoverPos then - let mut expr := i.expr - if goToType? then - expr ← ci.runMetaM i.lctx do - Meta.instantiateMVars (← Meta.inferType expr) - if let some n := expr.constName? then - let mod? ← ci.runMetaM i.lctx <| findModuleOf? n - let modUri? ← match mod? with - | some modName => - let modFname? ← rc.srcSearchPath.findWithExt "lean" modName - pure <| modFname?.map toFileUri - | none => pure <| some doc.meta.uri - - let ranges? ← ci.runMetaM i.lctx <| findDeclarationRanges? n - if let (some ranges, some modUri) := (ranges?, modUri?) then - let declRangeToLspRange (r : DeclarationRange) : Lsp.Range := - { start := ⟨r.pos.line - 1, r.charUtf16⟩ - «end» := ⟨r.endPos.line - 1, r.endCharUtf16⟩ } - let ll : LocationLink := { - originSelectionRange? := some ⟨text.utf8PosToLspPos i.stx.getPos?.get!, - text.utf8PosToLspPos i.stx.getTailPos?.get!⟩ - targetUri := modUri - targetRange := declRangeToLspRange ranges.range - targetSelectionRange := declRangeToLspRange ranges.selectionRange - } - return #[ll] + if let some (ci, i) := t.hoverableInfoAt? hoverPos then + if let Info.ofTermInfo ti := i then + let mut expr := ti.expr + if goToType? then + expr ← ci.runMetaM i.lctx do + Meta.instantiateMVars (← Meta.inferType expr) + if let some n := expr.constName? then + return ← ci.runMetaM i.lctx <| locationLinksFromDecl i n + if let some ei := i.toElabInfo? then + if ci.env.contains ei.elaborator then + return ← ci.runMetaM i.lctx <| locationLinksFromDecl i ei.elaborator + if ci.env.contains ei.stx.getKind then + return ← ci.runMetaM i.lctx <| locationLinksFromDecl i ei.stx.getKind return #[] open Elab in @@ -121,13 +131,6 @@ partial def handlePlainGoal (p : PlainGoalParams) return none -def hasRange (stx : Syntax) : Bool := - stx.getPos?.isSome && stx.getTailPos?.isSome - -def rangeOfSyntax! (text : FileMap) (stx : Syntax) : Range := - ⟨text.utf8PosToLspPos <| stx.getPos?.get!, - text.utf8PosToLspPos <| stx.getTailPos?.get!⟩ - open Elab in partial def handlePlainTermGoal (p : PlainTermGoalParams) : RequestM (RequestTask (Option PlainTermGoal)) := do @@ -137,11 +140,11 @@ partial def handlePlainTermGoal (p : PlainTermGoalParams) withWaitFindSnap doc (fun s => s.endPos > hoverPos) (notFoundX := pure none) fun snap => do for t in snap.cmdState.infoState.trees do - if let some (ci, Info.ofTermInfo i) := t.termGoalAt? hoverPos then + if let some (ci, i@(Info.ofTermInfo ti)) := t.termGoalAt? hoverPos then let goal ← ci.runMetaM i.lctx <| open Meta in do - let ty ← instantiateMVars <| i.expectedType?.getD (← inferType i.expr) + let ty ← instantiateMVars <| ti.expectedType?.getD (← inferType ti.expr) withPPInaccessibleNames <| Meta.ppGoal (← mkFreshExprMVar ty).mvarId! - let range := if hasRange i.stx then rangeOfSyntax! text i.stx else ⟨p.position, p.position⟩ + let range := if let some r := i.range? then r.toLspRange text else ⟨p.position, p.position⟩ return some { goal := toString goal, range } return none @@ -151,12 +154,12 @@ partial def handleDocumentHighlight (p : DocumentHighlightParams) let text := doc.meta.text let pos := text.lspPosToUtf8Pos p.position let rec highlightReturn? (doRange? : Option Range) : Syntax → Option DocumentHighlight - | stx@`(doElem|return%$i $e) => - if stx.getPos?.get! <= pos && pos < stx.getTailPos?.get! then - some { range := doRange?.getD (rangeOfSyntax! text i), kind? := DocumentHighlightKind.text } - else - highlightReturn? doRange? e - | `(do%$i $elems) => highlightReturn? (rangeOfSyntax! text i) elems + | stx@`(doElem|return%$i $e) => do + if let some range := i.getRange? then + if range.contains pos then + return some { range := doRange?.getD (range.toLspRange text), kind? := DocumentHighlightKind.text } + highlightReturn? doRange? e + | `(do%$i $elems) => highlightReturn? (i.getRange?.get!.toLspRange text) elems | stx => stx.getArgs.findSome? (highlightReturn? doRange?) withWaitFindSnap doc (fun s => s.endPos > pos) @@ -191,26 +194,25 @@ partial def handleDocumentSymbol (p : DocumentSymbolParams) | `(namespace $id) => sectionLikeToDocumentSymbols text stx stxs (id.getId.toString) SymbolKind.namespace id | `(section $(id)?) => sectionLikeToDocumentSymbols text stx stxs ((·.getId.toString) <$> id |>.getD "
") SymbolKind.namespace (id.getD stx) | `(end $(id)?) => ([], stx::stxs) - | _ => + | _ => do let (syms, stxs') := toDocumentSymbols text stxs - if stx.isOfKind ``Lean.Parser.Command.declaration && hasRange stx then + unless stx.isOfKind ``Lean.Parser.Command.declaration do + return (syms, stxs') + if let some stxRange := stx.getRange? then let (name, selection) := match stx with | `($dm:declModifiers $ak:attrKind instance $[$np:namedPrio]? $[$id:ident$[.{$ls,*}]?]? $sig:declSig $val) => ((·.getId.toString) <$> id |>.getD s!"instance {sig.reprint.getD ""}", id.getD sig) | _ => match stx[1][1] with | `(declId|$id:ident$[.{$ls,*}]?) => (id.getId.toString, id) | _ => (stx[1][0].isIdOrAtom?.getD "", stx[1][0]) - if hasRange selection then - (DocumentSymbol.mk { + if let some selRange := selection.getRange? then + return (DocumentSymbol.mk { name := name kind := SymbolKind.method - range := rangeOfSyntax! text stx - selectionRange := rangeOfSyntax! text selection + range := stxRange.toLspRange text + selectionRange := selRange.toLspRange text } :: syms, stxs') - else - (syms, stxs') - else - (syms, stxs') + return (syms, stxs') sectionLikeToDocumentSymbols (text : FileMap) (stx : Syntax) (stxs : List Syntax) (name : String) (kind : SymbolKind) (selection : Syntax) := let (syms, stxs') := toDocumentSymbols text stxs -- discard `end` @@ -219,12 +221,12 @@ partial def handleDocumentSymbol (p : DocumentSymbolParams) | endStx::_ => endStx | [] => (stx::stxs').getLast! -- we can assume that commands always have at least one position (see `parseCommand`) - let range := rangeOfSyntax! text (mkNullNode #[stx, endStx]) + let range := (mkNullNode #[stx, endStx]).getRange?.get!.toLspRange text (DocumentSymbol.mk { name kind range - selectionRange := if hasRange selection then rangeOfSyntax! text selection else range + selectionRange := selection.getRange? |>.map (·.toLspRange text) |>.getD range children? := syms.toArray } :: syms', stxs'') end @@ -276,16 +278,16 @@ where else stx.getArgs.forM go highlightId (stx : Syntax) : ReaderT SemanticTokensContext (StateT SemanticTokensState RequestM) _ := do - if let (some pos, some tailPos) := (stx.getPos?, stx.getTailPos?) then + if let some range := stx.getRange? then for t in (← read).infoState.trees do for ti in t.deepestNodes (fun | _, i@(Elab.Info.ofTermInfo ti), _ => match i.pos? with - | some ipos => if pos <= ipos && ipos < tailPos then some ti else none + | some ipos => if range.contains ipos then some ti else none | _ => none | _, _, _ => none) do match ti.expr with | Expr.fvar .. => addToken ti.stx SemanticTokenType.variable - | _ => if ti.stx.getPos?.get! > pos then addToken ti.stx SemanticTokenType.property + | _ => if ti.stx.getPos?.get! > range.start then addToken ti.stx SemanticTokenType.property highlightKeyword stx := do if let Syntax.atom info val := stx then if val.bsize > 0 && val[0].isAlpha then @@ -347,4 +349,4 @@ builtin_initialize registerLspRequestHandler "$/lean/plainGoal" PlainGoalParams (Option PlainGoal) handlePlainGoal registerLspRequestHandler "$/lean/plainTermGoal" PlainTermGoalParams (Option PlainTermGoal) handlePlainTermGoal -end Lean.Server.FileWorker \ No newline at end of file +end Lean.Server.FileWorker diff --git a/stage0/src/Lean/Server/InfoUtils.lean b/stage0/src/Lean/Server/InfoUtils.lean index 632b74fb05..136e9f6167 100644 --- a/stage0/src/Lean/Server/InfoUtils.lean +++ b/stage0/src/Lean/Server/InfoUtils.lean @@ -8,6 +8,19 @@ import Lean.DocString import Lean.Elab.InfoTree import Lean.Util.Sorry +protected structure String.Range where + start : String.Pos + stop : String.Pos + deriving Inhabited, Repr + +def String.Range.contains (r : String.Range) (pos : String.Pos) : Bool := + r.start <= pos && pos < r.stop + +def Lean.Syntax.getRange? (stx : Syntax) (originalOnly := false) : Option String.Range := + match stx.getPos? originalOnly, stx.getTailPos? originalOnly with + | some start, some stop => some { start, stop } + | _, _ => none + namespace Lean.Elab /-- @@ -57,16 +70,27 @@ def Info.stx : Info → Syntax | ofTacticInfo i => i.stx | ofTermInfo i => i.stx | ofCommandInfo i => i.stx - | ofMacroExpansionInfo i => i.before + | ofMacroExpansionInfo i => i.stx | ofFieldInfo i => i.stx | ofCompletionInfo i => i.stx +def Info.lctx : Info → LocalContext + | Info.ofTermInfo i => i.lctx + | Info.ofFieldInfo i => i.lctx + | _ => LocalContext.empty + def Info.pos? (i : Info) : Option String.Pos := i.stx.getPos? (originalOnly := true) def Info.tailPos? (i : Info) : Option String.Pos := i.stx.getTailPos? (originalOnly := true) +def Info.range? (i : Info) : Option String.Range := + i.stx.getRange? (originalOnly := true) + +def Info.contains (i : Info) (pos : String.Pos) : Bool := + i.range?.any (·.contains pos) + def Info.size? (i : Info) : Option Nat := OptionM.run do let pos ← i.pos? let tailPos ← i.tailPos? @@ -95,57 +119,57 @@ def InfoTree.smallestInfo? (p : Info → Bool) (t : InfoTree) : Option (ContextI /-- Find an info node, if any, which should be shown on hover/cursor at position `hoverPos`. -/ partial def InfoTree.hoverableInfoAt? (t : InfoTree) (hoverPos : String.Pos) : Option (ContextInfo × Info) := - t.smallestInfo? fun i => - if let (some pos, some tailPos) := (i.pos?, i.tailPos?) then - if pos ≤ hoverPos ∧ hoverPos < tailPos then - match i with - | Info.ofTermInfo ti => - !ti.expr.isSyntheticSorry && - -- TODO: see if we can get rid of this - #[identKind, - strLitKind, - charLitKind, - numLitKind, - scientificLitKind, - nameLitKind, - fieldIdxKind, - interpolatedStrLitKind, - interpolatedStrKind - ].contains i.stx.getKind - | Info.ofFieldInfo _ => true - | _ => false - else false - else false + t.smallestInfo? fun i => do + if let Info.ofTermInfo ti := i then + if ti.expr.isSyntheticSorry then + return false + if i matches Info.ofFieldInfo _ || i.toElabInfo?.isSome then + return i.contains hoverPos + return false /-- Construct a hover popup, if any, from an info node in a context.-/ def Info.fmtHover? (ci : ContextInfo) (i : Info) : IO (Option Format) := do - let lctx ← match i with - | Info.ofTermInfo i => i.lctx - | Info.ofFieldInfo i => i.lctx - | _ => return none - - ci.runMetaM lctx do + ci.runMetaM i.lctx do + let mut fmts := #[] + if let some f ← fmtTerm? then + fmts := fmts.push f + if let some f ← fmtDoc? then + fmts := fmts.push f + if fmts.isEmpty then + none + else + f!"\n***\n".joinSep fmts.toList +where + fmtTerm? := do match i with | Info.ofTermInfo ti => let tp ← Meta.inferType ti.expr let eFmt ← Meta.ppExpr ti.expr let tpFmt ← Meta.ppExpr tp - let hoverFmt := f!"```lean -{eFmt} : {tpFmt} + -- try not to show too scary internals + let fmt := if isAtomicFormat eFmt then f!"{eFmt} : {tpFmt}" else tpFmt + return some f!"```lean +{fmt} ```" - if let some n := ti.expr.constName? then - if let some doc ← findDocString? n then - return f!"{hoverFmt}\n***\n{doc}" - return hoverFmt - | Info.ofFieldInfo fi => let tp ← Meta.inferType fi.val let tpFmt ← Meta.ppExpr tp - return f!"```lean + return some f!"```lean {fi.name} : {tpFmt} ```" - | _ => return none + fmtDoc? := do + if let Info.ofTermInfo ti := i then + if let some n := ti.expr.constName? then + return ← findDocString? n + if let some ei := i.toElabInfo? then + return ← findDocString? ei.elaborator <||> findDocString? ei.stx.getKind + return none + isAtomicFormat : Format → Bool + | Std.Format.text _ => true + | Std.Format.group f _ => isAtomicFormat f + | Std.Format.nest _ f => isAtomicFormat f + | _ => false structure GoalsAtResult where ctxInfo : ContextInfo @@ -208,10 +232,9 @@ partial def InfoTree.termGoalAt? (t : InfoTree) (hoverPos : String.Pos) : Option else headFns t.smallestInfo? fun i => do - if let (some pos, some tailPos) := (i.pos?, i.tailPos?) then - if pos ≤ hoverPos ∧ hoverPos < tailPos then - if let Info.ofTermInfo ti := i then - return !ti.stx.isIdent || !headFns.contains pos + if i.contains hoverPos then + if let Info.ofTermInfo ti := i then + return !ti.stx.isIdent || !headFns.contains i.pos?.get! false where /- Returns the position of the head function symbol, if it is an identifier. -/ diff --git a/stage0/src/Lean/Server/Requests.lean b/stage0/src/Lean/Server/Requests.lean index ceb13dbdbd..daba501099 100644 --- a/stage0/src/Lean/Server/Requests.lean +++ b/stage0/src/Lean/Server/Requests.lean @@ -75,7 +75,7 @@ def mapTask (t : Task α) (f : α → RequestM β) : RequestM (RequestTask β) : def bindTask (t : Task α) (f : α → RequestM (RequestTask β)) : RequestM (RequestTask β) := fun rc => do let t ← IO.bindTask t fun a => do - match ← f a rc with + match (← f a rc) with | Except.error e => return Task.pure <| Except.ok <| Except.error e | Except.ok t => return t.map Except.ok return t.map fun diff --git a/stage0/src/Lean/Server/Utils.lean b/stage0/src/Lean/Server/Utils.lean index 1b6b5392eb..6146ff5306 100644 --- a/stage0/src/Lean/Server/Utils.lean +++ b/stage0/src/Lean/Server/Utils.lean @@ -6,6 +6,7 @@ Authors: Wojciech Nawrocki, Marc Huisinga -/ import Lean.Data.Position import Lean.Data.Lsp +import Lean.Server.InfoUtils import Init.System.FilePath namespace IO @@ -163,3 +164,6 @@ def takeWhile (p : α → Bool) : List α → List α | hd :: tl => if p hd then hd :: takeWhile p tl else [] end List + +def String.Range.toLspRange (text : Lean.FileMap) (r : String.Range) : Lean.Lsp.Range := + ⟨text.utf8PosToLspPos r.start, text.utf8PosToLspPos r.stop⟩ diff --git a/stage0/src/Lean/Syntax.lean b/stage0/src/Lean/Syntax.lean index e62405c353..0963bb4c44 100644 --- a/stage0/src/Lean/Syntax.lean +++ b/stage0/src/Lean/Syntax.lean @@ -185,7 +185,7 @@ def topDown (stx : Syntax) (firstChoiceOnly := false) : TopDown := ⟨firstChoic partial instance : ForIn m TopDown Syntax where forIn := fun ⟨firstChoiceOnly, stx⟩ init f => do let rec @[specialize] loop stx b [Inhabited (typeOf% b)] := do - match ← f stx b with + match (← f stx b) with | ForInStep.yield b' => let mut b := b' if let Syntax.node k args := stx then @@ -193,12 +193,12 @@ partial instance : ForIn m TopDown Syntax where return ← loop args[0] b else for arg in args do - match ← loop arg b with + match (← loop arg b) with | ForInStep.yield b' => b := b' | ForInStep.done b' => return ForInStep.done b' return ForInStep.yield b | ForInStep.done b => return ForInStep.done b - match ← @loop stx init ⟨init⟩ with + match (← @loop stx init ⟨init⟩) with | ForInStep.yield b => return b | ForInStep.done b => return b diff --git a/stage0/src/Std/Data/RBMap.lean b/stage0/src/Std/Data/RBMap.lean index ebeeca1c4c..d6b854d88b 100644 --- a/stage0/src/Std/Data/RBMap.lean +++ b/stage0/src/Std/Data/RBMap.lean @@ -53,7 +53,7 @@ protected def max : RBNode α β → Option (Sigma (fun k => β k)) match (← f k v b) with | r@(ForInStep.done _) => return r | ForInStep.yield b => visit r b - match ← visit as init with + match (← visit as init) with | ForInStep.done b => pure b | ForInStep.yield b => pure b diff --git a/stage0/src/shell/CMakeLists.txt b/stage0/src/shell/CMakeLists.txt index 8ea856772d..4f9e428dfd 100644 --- a/stage0/src/shell/CMakeLists.txt +++ b/stage0/src/shell/CMakeLists.txt @@ -1,8 +1,32 @@ add_library(shell OBJECT lean.cpp) +if(LLVM) + if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") + set(LLVM_SYSTEM_LIBS "-lz -ltinfo") + elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin") + # macOS doesn't have -Bstatic, so let cmake search for the libraries + find_library(LIBZ NAMES z REQUIRED) + find_library(NCURSES NAMES ncurses REQUIRED) + set(LLVM_SYSTEM_LIBS "${LIBZ} ${NCURSES}") + else() + set(LLVM_SYSTEM_LIBS "-lz") + endif() + if(${STATIC} AND NOT ("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")) + set(LEAN_EXE_LINKER_FLAGS "`${LLVM_TOOLS_BINARY_DIR}/llvm-config --link-static --ldflags --libs nativecodegen` -Wl,-Bstatic ${LLVM_SYSTEM_LIBS} -Wl,-Bdynamic") + else() + set(LEAN_EXE_LINKER_FLAGS "`${LLVM_TOOLS_BINARY_DIR}/llvm-config --ldflags --libs nativecodegen` ${LLVM_SYSTEM_LIBS}") + endif() + if (${CMAKE_SYSTEM_NAME} MATCHES "Windows") + set(LEAN_EXE_LINKER_FLAGS "${LEAN_EXE_LINKER_FLAGS} -lole32 -luuid") + endif() +else() + set(LEAN_EXE_LINKER_FLAGS "") +endif() + string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/bin/lean${CMAKE_EXECUTABLE_SUFFIX} - COMMAND sh -c "LEANC_GMP=${GMP_LIBRARIES} LEAN_CXX='${CMAKE_CXX_COMPILER_LAUNCHER} ${CMAKE_CXX_COMPILER}' ${CMAKE_BINARY_DIR}/bin/leanc ${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_CXX_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} $ -o ${CMAKE_BINARY_DIR}/bin/lean${CMAKE_EXECUTABLE_SUFFIX}" + COMMAND sh -c "LEANC_GMP=${GMP_LIBRARIES} LEAN_CXX='${CMAKE_CXX_COMPILER_LAUNCHER} ${CMAKE_CXX_COMPILER}' ${CMAKE_BINARY_DIR}/bin/leanc $ ${CMAKE_EXE_LINKER_FLAGS} ${LEAN_EXE_LINKER_FLAGS} ${CMAKE_CXX_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} -o ${CMAKE_BINARY_DIR}/bin/lean${CMAKE_EXECUTABLE_SUFFIX}" + VERBATIM DEPENDS Init Std Lean leancpp shell) add_custom_target(lean ALL diff --git a/stage0/stdlib/Init/Data/Range.c b/stage0/stdlib/Init/Data/Range.c index 29133b1cfd..fa009d6ad7 100644 --- a/stage0/stdlib/Init/Data/Range.c +++ b/stage0/stdlib/Init/Data/Range.c @@ -13,148 +13,148 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__33; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); lean_object* l_Std_Range_forM(lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__19; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__14; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__5; static lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d___closed__3; static lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d___closed__5; lean_object* lean_name_mk_string(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__2; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__2; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__16; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1; static lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d___closed__4; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__11; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__9; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__7; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__33; lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; lean_object* l_Std_Range_step___default; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Std_Range_instForInRangeNat___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__16; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Std_Range_forIn_loop(lean_object*, lean_object*); lean_object* l_Std_Range_forM_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__4; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__13; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__5; lean_object* lean_nat_add(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__7; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__10; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__32; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__20; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__35; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__2; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7; lean_object* l_Std_Range_forIn_loop_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__21; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__5; lean_object* l_Std_Range_forM_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__12; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26; lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__1; lean_object* l_Std_Range_forM___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39; lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__17; static lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d___closed__3; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__32; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__10; lean_object* l_Std_Range_forIn_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__1; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__4; static lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d___closed__6; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__35; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; lean_object* l_Std_Range_forM_loop(lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__8; -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_1056_(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525_(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758_(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351_(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_1062_(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764_(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357_(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531_(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__6; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__2; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; lean_object* l_Std_Range_forIn_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__6; static lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d___closed__5; lean_object* l_Std_Range_forIn_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__10; static lean_object* l_Std_Range_instForMRangeNat___closed__1; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__12; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__26; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__5; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__31; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__6; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__3; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__3; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__15; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__4; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__18; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__5; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__6; lean_object* l_Std_Range_start___default; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__4; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__14; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__21; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__38; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__2; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__6; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__31; static lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d___closed__2; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__6; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__3; static lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d___closed__4; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__5; uint8_t lean_nat_dec_le(lean_object*, lean_object*); +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; static lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d___closed__2; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__4; lean_object* l_Std_Range_forM_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3; static lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d___closed__1; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__7; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__21; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__38; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; static lean_object* l_Std_Range_term_x5b___x3a___x3a___x5d___closed__1; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__2; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__8; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7; lean_object* l_Std_Range_instForMRangeNat(lean_object*); lean_object* l_Std_Range_forIn_loop_match__2(lean_object*); lean_object* l_Std_Range_forM_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__5; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27; lean_object* l_Std_Range_term_x5b___x3a___x5d; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__1; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__1; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__9; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__7; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__9; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15; lean_object* l_Std_Range_term_x5b_x3a___x5d; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__3; lean_object* l_Std_Range_instForInRangeNat(lean_object*, lean_object*); static lean_object* l_Std_Range_term_x5b_x3a___x3a___x5d___closed__6; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; lean_object* l_Std_Range_forIn(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__4; lean_object* l_Std_Range_forIn_loop_match__1(lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__18; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__25; lean_object* l_Std_Range_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__14; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__12; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__7; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__6; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__2; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__1; lean_object* l_Std_Range_forIn_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__7; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__24; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__16; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__1; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37; -static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__25; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__18; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; static lean_object* l_Std_Range_term_x5b___x3a___x5d___closed__3; lean_object* l_Std_Range_forIn_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__3; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__5; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__20; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__2; static lean_object* l_Std_Range_term_x5b_x3a___x5d___closed__10; +static lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; lean_object* l_Std_Range_forIn_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Std_Range_start___default() { _start: @@ -1040,7 +1040,7 @@ x_1 = l_Std_Range_term_x5b___x3a___x3a___x5d___closed__6; return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__1() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__1() { _start: { lean_object* x_1; @@ -1048,17 +1048,17 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__2() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__1; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__3() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__3() { _start: { lean_object* x_1; @@ -1066,17 +1066,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__4() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__2; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__3; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__2; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__5() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__5() { _start: { lean_object* x_1; @@ -1084,17 +1084,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__6() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__4; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__5; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__4; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__7() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__7() { _start: { lean_object* x_1; @@ -1102,17 +1102,17 @@ x_1 = lean_mk_string("structInst"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__6; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__7; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9() { _start: { lean_object* x_1; @@ -1120,7 +1120,7 @@ x_1 = lean_mk_string("{"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__10() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__10() { _start: { lean_object* x_1; @@ -1128,17 +1128,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__10; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__12() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -1147,19 +1147,19 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__12; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____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; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__14() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__14() { _start: { lean_object* x_1; @@ -1167,17 +1167,17 @@ x_1 = lean_mk_string("group"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__14; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__16() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__16() { _start: { lean_object* x_1; @@ -1185,17 +1185,17 @@ x_1 = lean_mk_string("structInstField"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__6; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__16; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__18() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__18() { _start: { lean_object* x_1; @@ -1203,17 +1203,17 @@ x_1 = lean_mk_string("structInstLVal"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__6; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__18; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__20() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20() { _start: { lean_object* x_1; @@ -1221,22 +1221,22 @@ x_1 = lean_mk_string("stop"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__21() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__20; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__20; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__21; +x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__21; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1244,51 +1244,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__20; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__24() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_Range_term_x5b_x3a___x5d___closed__4; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__20; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__25() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__24; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24; 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; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__26() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__25; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____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; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -1297,7 +1297,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28() { _start: { lean_object* x_1; @@ -1305,7 +1305,7 @@ x_1 = lean_mk_string(":="); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29() { _start: { lean_object* x_1; lean_object* x_2; @@ -1314,7 +1314,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30() { _start: { lean_object* x_1; lean_object* x_2; @@ -1323,7 +1323,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__31() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__31() { _start: { lean_object* x_1; @@ -1331,39 +1331,39 @@ x_1 = lean_mk_string("optEllipsis"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__32() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__6; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__31; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__31; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__33() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__32; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__33; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__32; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__33; 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; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__35() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__35() { _start: { lean_object* x_1; lean_object* x_2; @@ -1372,13 +1372,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Std_Range_term_x5b_x3a___x5d___closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__35; +x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____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); @@ -1386,7 +1386,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1396,7 +1396,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__38() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1408,19 +1408,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__38; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__38; 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; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40() { _start: { lean_object* x_1; @@ -1428,7 +1428,7 @@ x_1 = lean_mk_string("}"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41() { _start: { lean_object* x_1; lean_object* x_2; @@ -1437,7 +1437,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1472,53 +1472,53 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9; +x_15 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23; +x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; lean_inc(x_13); lean_inc(x_14); x_18 = l_Lean_addMacroScope(x_14, x_17, x_13); -x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22; -x_20 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__26; +x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; +x_20 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26; lean_inc(x_12); x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_12); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27; +x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; x_23 = lean_array_push(x_22, x_21); -x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13; +x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; x_25 = lean_array_push(x_23, x_24); -x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19; +x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); -x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28; +x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; lean_inc(x_12); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_12); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29; +x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; x_31 = lean_array_push(x_30, x_27); x_32 = lean_array_push(x_31, x_29); x_33 = lean_array_push(x_32, x_9); -x_34 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17; +x_34 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); x_36 = lean_array_push(x_22, x_35); x_37 = lean_array_push(x_36, x_24); -x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15; +x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30; +x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; x_41 = lean_array_push(x_40, x_39); -x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11; +x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); @@ -1527,10 +1527,10 @@ lean_inc(x_12); x_45 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_45, 0, x_12); lean_ctor_set(x_45, 1, x_44); -x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37; +x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; x_47 = l_Lean_addMacroScope(x_14, x_46, x_13); -x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36; -x_49 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39; +x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; +x_49 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; lean_inc(x_12); x_50 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_50, 0, x_12); @@ -1542,19 +1542,19 @@ x_52 = lean_array_push(x_51, x_50); x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_42); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40; +x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_12); lean_ctor_set(x_55, 1, x_54); -x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41; +x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; x_57 = lean_array_push(x_56, x_16); x_58 = lean_array_push(x_57, x_24); x_59 = lean_array_push(x_58, x_43); -x_60 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34; +x_60 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; x_61 = lean_array_push(x_59, x_60); x_62 = lean_array_push(x_61, x_53); x_63 = lean_array_push(x_62, x_55); -x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8; +x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; x_65 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_63); @@ -1574,53 +1574,53 @@ lean_inc(x_68); x_69 = lean_ctor_get(x_2, 1); lean_inc(x_69); lean_dec(x_2); -x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9; +x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; lean_inc(x_66); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_66); lean_ctor_set(x_71, 1, x_70); -x_72 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23; +x_72 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; lean_inc(x_68); lean_inc(x_69); x_73 = l_Lean_addMacroScope(x_69, x_72, x_68); -x_74 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22; -x_75 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__26; +x_74 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; +x_75 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26; lean_inc(x_66); x_76 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_76, 0, x_66); lean_ctor_set(x_76, 1, x_74); lean_ctor_set(x_76, 2, x_73); lean_ctor_set(x_76, 3, x_75); -x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27; +x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; x_78 = lean_array_push(x_77, x_76); -x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13; +x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; x_80 = lean_array_push(x_78, x_79); -x_81 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19; +x_81 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; x_82 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_82, 0, x_81); lean_ctor_set(x_82, 1, x_80); -x_83 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28; +x_83 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; lean_inc(x_66); x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_66); lean_ctor_set(x_84, 1, x_83); -x_85 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29; +x_85 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; x_86 = lean_array_push(x_85, x_82); x_87 = lean_array_push(x_86, x_84); x_88 = lean_array_push(x_87, x_9); -x_89 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17; +x_89 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); x_91 = lean_array_push(x_77, x_90); x_92 = lean_array_push(x_91, x_79); -x_93 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15; +x_93 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30; +x_95 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; x_96 = lean_array_push(x_95, x_94); -x_97 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11; +x_97 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); @@ -1629,10 +1629,10 @@ lean_inc(x_66); x_100 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_100, 0, x_66); lean_ctor_set(x_100, 1, x_99); -x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37; +x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; x_102 = l_Lean_addMacroScope(x_69, x_101, x_68); -x_103 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36; -x_104 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39; +x_103 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; +x_104 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; lean_inc(x_66); x_105 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_105, 0, x_66); @@ -1644,19 +1644,19 @@ x_107 = lean_array_push(x_106, x_105); x_108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_108, 0, x_97); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40; +x_109 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; x_110 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_110, 0, x_66); lean_ctor_set(x_110, 1, x_109); -x_111 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41; +x_111 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; x_112 = lean_array_push(x_111, x_71); x_113 = lean_array_push(x_112, x_79); x_114 = lean_array_push(x_113, x_98); -x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34; +x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; x_116 = lean_array_push(x_114, x_115); x_117 = lean_array_push(x_116, x_108); x_118 = lean_array_push(x_117, x_110); -x_119 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8; +x_119 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; x_120 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_120, 0, x_119); lean_ctor_set(x_120, 1, x_118); @@ -1668,7 +1668,7 @@ return x_121; } } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__1() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1() { _start: { lean_object* x_1; @@ -1676,22 +1676,22 @@ x_1 = lean_mk_string("start"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__2() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__1; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__3() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__1; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__2; +x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____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); @@ -1699,51 +1699,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__4() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__1; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__5() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_Range_term_x5b_x3a___x5d___closed__4; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__1; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__6() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__5; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__5; 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; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__7() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__6; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____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; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__8() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8() { _start: { lean_object* x_1; @@ -1751,31 +1751,31 @@ x_1 = lean_mk_string(","); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__9() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__24; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24; 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; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__10() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__9; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__9; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_525_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1812,68 +1812,68 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9; +x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__4; +x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4; lean_inc(x_15); lean_inc(x_16); x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__3; -x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__7; +x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3; +x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7; lean_inc(x_14); x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27; +x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; x_25 = lean_array_push(x_24, x_23); -x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13; +x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; x_27 = lean_array_push(x_25, x_26); -x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19; +x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28; +x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; lean_inc(x_14); x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_14); lean_ctor_set(x_31, 1, x_30); -x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29; +x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; x_33 = lean_array_push(x_32, x_29); lean_inc(x_31); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_9); -x_36 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17; +x_36 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); -x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__8; +x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; lean_inc(x_14); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_14); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30; +x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; x_41 = lean_array_push(x_40, x_39); -x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11; +x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); x_44 = lean_array_push(x_24, x_37); x_45 = lean_array_push(x_44, x_43); -x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15; +x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23; +x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; lean_inc(x_15); lean_inc(x_16); x_49 = l_Lean_addMacroScope(x_16, x_48, x_15); -x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22; -x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__10; +x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; +x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10; lean_inc(x_14); x_52 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_52, 0, x_14); @@ -1906,10 +1906,10 @@ lean_inc(x_14); x_67 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_67, 0, x_14); lean_ctor_set(x_67, 1, x_66); -x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37; +x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; x_69 = l_Lean_addMacroScope(x_16, x_68, x_15); -x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36; -x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39; +x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; +x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; lean_inc(x_14); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_14); @@ -1921,19 +1921,19 @@ x_74 = lean_array_push(x_73, x_72); x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_42); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40; +x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_14); lean_ctor_set(x_77, 1, x_76); -x_78 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41; +x_78 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; x_79 = lean_array_push(x_78, x_18); x_80 = lean_array_push(x_79, x_26); x_81 = lean_array_push(x_80, x_65); -x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34; +x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; x_83 = lean_array_push(x_81, x_82); x_84 = lean_array_push(x_83, x_75); x_85 = lean_array_push(x_84, x_77); -x_86 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8; +x_86 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_85); @@ -1953,68 +1953,68 @@ lean_inc(x_90); x_91 = lean_ctor_get(x_2, 1); lean_inc(x_91); lean_dec(x_2); -x_92 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9; +x_92 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; lean_inc(x_88); x_93 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_93, 0, x_88); lean_ctor_set(x_93, 1, x_92); -x_94 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__4; +x_94 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4; lean_inc(x_90); lean_inc(x_91); x_95 = l_Lean_addMacroScope(x_91, x_94, x_90); -x_96 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__3; -x_97 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__7; +x_96 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3; +x_97 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7; lean_inc(x_88); x_98 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_98, 0, x_88); lean_ctor_set(x_98, 1, x_96); lean_ctor_set(x_98, 2, x_95); lean_ctor_set(x_98, 3, x_97); -x_99 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27; +x_99 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; x_100 = lean_array_push(x_99, x_98); -x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13; +x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; x_102 = lean_array_push(x_100, x_101); -x_103 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19; +x_103 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; x_104 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_104, 0, x_103); lean_ctor_set(x_104, 1, x_102); -x_105 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28; +x_105 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; lean_inc(x_88); x_106 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_106, 0, x_88); lean_ctor_set(x_106, 1, x_105); -x_107 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29; +x_107 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; x_108 = lean_array_push(x_107, x_104); lean_inc(x_106); x_109 = lean_array_push(x_108, x_106); x_110 = lean_array_push(x_109, x_9); -x_111 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17; +x_111 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_111); lean_ctor_set(x_112, 1, x_110); -x_113 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__8; +x_113 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; lean_inc(x_88); x_114 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_114, 0, x_88); lean_ctor_set(x_114, 1, x_113); -x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30; +x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; x_116 = lean_array_push(x_115, x_114); -x_117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11; +x_117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_117); lean_ctor_set(x_118, 1, x_116); x_119 = lean_array_push(x_99, x_112); x_120 = lean_array_push(x_119, x_118); -x_121 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15; +x_121 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23; +x_123 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; lean_inc(x_90); lean_inc(x_91); x_124 = l_Lean_addMacroScope(x_91, x_123, x_90); -x_125 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22; -x_126 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__10; +x_125 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; +x_126 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10; lean_inc(x_88); x_127 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_127, 0, x_88); @@ -2047,10 +2047,10 @@ lean_inc(x_88); x_142 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_142, 0, x_88); lean_ctor_set(x_142, 1, x_141); -x_143 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37; +x_143 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; x_144 = l_Lean_addMacroScope(x_91, x_143, x_90); -x_145 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36; -x_146 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39; +x_145 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; +x_146 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; lean_inc(x_88); x_147 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_147, 0, x_88); @@ -2062,19 +2062,19 @@ x_149 = lean_array_push(x_148, x_147); x_150 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_150, 0, x_117); lean_ctor_set(x_150, 1, x_149); -x_151 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40; +x_151 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; x_152 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_152, 0, x_88); lean_ctor_set(x_152, 1, x_151); -x_153 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41; +x_153 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; x_154 = lean_array_push(x_153, x_93); x_155 = lean_array_push(x_154, x_101); x_156 = lean_array_push(x_155, x_140); -x_157 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34; +x_157 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; x_158 = lean_array_push(x_156, x_157); x_159 = lean_array_push(x_158, x_150); x_160 = lean_array_push(x_159, x_152); -x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8; +x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; x_162 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_160); @@ -2086,7 +2086,7 @@ return x_163; } } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__1() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1() { _start: { lean_object* x_1; @@ -2094,22 +2094,22 @@ x_1 = lean_mk_string("step"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__2() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__1; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__3() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__1; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__2; +x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____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); @@ -2117,51 +2117,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__4() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__1; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__5() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_Range_term_x5b_x3a___x5d___closed__4; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__1; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__6() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__5; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__5; 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; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__7() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__6; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____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* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2200,69 +2200,69 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_2, 1); lean_inc(x_18); lean_dec(x_2); -x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9; +x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; lean_inc(x_16); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_16); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__4; +x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4; lean_inc(x_17); lean_inc(x_18); x_22 = l_Lean_addMacroScope(x_18, x_21, x_17); -x_23 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__3; -x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__7; +x_23 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3; +x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7; lean_inc(x_16); x_25 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_25, 0, x_16); lean_ctor_set(x_25, 1, x_23); lean_ctor_set(x_25, 2, x_22); lean_ctor_set(x_25, 3, x_24); -x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27; +x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; x_27 = lean_array_push(x_26, x_25); -x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13; +x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; x_29 = lean_array_push(x_27, x_28); -x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19; +x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; 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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28; +x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; lean_inc(x_16); x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_16); lean_ctor_set(x_33, 1, x_32); -x_34 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29; +x_34 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; x_35 = lean_array_push(x_34, x_31); lean_inc(x_33); x_36 = lean_array_push(x_35, x_33); x_37 = lean_array_push(x_36, x_9); -x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17; +x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__8; +x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; lean_inc(x_16); x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_16); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30; +x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; x_43 = lean_array_push(x_42, x_41); -x_44 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11; +x_44 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; 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_array_push(x_26, x_39); lean_inc(x_45); x_47 = lean_array_push(x_46, x_45); -x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15; +x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); -x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23; +x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; lean_inc(x_17); lean_inc(x_18); x_51 = l_Lean_addMacroScope(x_18, x_50, x_17); -x_52 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22; -x_53 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__10; +x_52 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; +x_53 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10; lean_inc(x_16); x_54 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_54, 0, x_16); @@ -2286,12 +2286,12 @@ x_63 = lean_array_push(x_62, x_45); x_64 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_64, 0, x_48); lean_ctor_set(x_64, 1, x_63); -x_65 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__4; +x_65 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4; lean_inc(x_17); lean_inc(x_18); x_66 = l_Lean_addMacroScope(x_18, x_65, x_17); -x_67 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__3; -x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__7; +x_67 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3; +x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7; lean_inc(x_16); x_69 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_69, 0, x_16); @@ -2325,10 +2325,10 @@ lean_inc(x_16); x_85 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_85, 0, x_16); lean_ctor_set(x_85, 1, x_84); -x_86 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37; +x_86 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; x_87 = l_Lean_addMacroScope(x_18, x_86, x_17); -x_88 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36; -x_89 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39; +x_88 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; +x_89 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; lean_inc(x_16); x_90 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_90, 0, x_16); @@ -2340,19 +2340,19 @@ x_92 = lean_array_push(x_91, x_90); x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_44); lean_ctor_set(x_93, 1, x_92); -x_94 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40; +x_94 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; x_95 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_95, 0, x_16); lean_ctor_set(x_95, 1, x_94); -x_96 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41; +x_96 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; x_97 = lean_array_push(x_96, x_20); x_98 = lean_array_push(x_97, x_28); x_99 = lean_array_push(x_98, x_83); -x_100 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34; +x_100 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; x_101 = lean_array_push(x_99, x_100); x_102 = lean_array_push(x_101, x_93); x_103 = lean_array_push(x_102, x_95); -x_104 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8; +x_104 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_103); @@ -2372,69 +2372,69 @@ lean_inc(x_108); x_109 = lean_ctor_get(x_2, 1); lean_inc(x_109); lean_dec(x_2); -x_110 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9; +x_110 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; lean_inc(x_106); x_111 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_111, 0, x_106); lean_ctor_set(x_111, 1, x_110); -x_112 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__4; +x_112 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4; lean_inc(x_108); lean_inc(x_109); x_113 = l_Lean_addMacroScope(x_109, x_112, x_108); -x_114 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__3; -x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__7; +x_114 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3; +x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7; lean_inc(x_106); x_116 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_116, 0, x_106); lean_ctor_set(x_116, 1, x_114); lean_ctor_set(x_116, 2, x_113); lean_ctor_set(x_116, 3, x_115); -x_117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27; +x_117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; x_118 = lean_array_push(x_117, x_116); -x_119 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13; +x_119 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; x_120 = lean_array_push(x_118, x_119); -x_121 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19; +x_121 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28; +x_123 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; lean_inc(x_106); x_124 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_124, 0, x_106); lean_ctor_set(x_124, 1, x_123); -x_125 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29; +x_125 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; x_126 = lean_array_push(x_125, x_122); lean_inc(x_124); x_127 = lean_array_push(x_126, x_124); x_128 = lean_array_push(x_127, x_9); -x_129 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17; +x_129 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; x_130 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_130, 0, x_129); lean_ctor_set(x_130, 1, x_128); -x_131 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__8; +x_131 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; lean_inc(x_106); x_132 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_132, 0, x_106); lean_ctor_set(x_132, 1, x_131); -x_133 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30; +x_133 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; x_134 = lean_array_push(x_133, x_132); -x_135 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11; +x_135 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; x_136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_136, 0, x_135); lean_ctor_set(x_136, 1, x_134); x_137 = lean_array_push(x_117, x_130); lean_inc(x_136); x_138 = lean_array_push(x_137, x_136); -x_139 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15; +x_139 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; x_140 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_140, 0, x_139); lean_ctor_set(x_140, 1, x_138); -x_141 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23; +x_141 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; lean_inc(x_108); lean_inc(x_109); x_142 = l_Lean_addMacroScope(x_109, x_141, x_108); -x_143 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22; -x_144 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__10; +x_143 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; +x_144 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10; lean_inc(x_106); x_145 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_145, 0, x_106); @@ -2458,12 +2458,12 @@ x_154 = lean_array_push(x_153, x_136); x_155 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_155, 0, x_139); lean_ctor_set(x_155, 1, x_154); -x_156 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__4; +x_156 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4; lean_inc(x_108); lean_inc(x_109); x_157 = l_Lean_addMacroScope(x_109, x_156, x_108); -x_158 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__3; -x_159 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__7; +x_158 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3; +x_159 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7; lean_inc(x_106); x_160 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_160, 0, x_106); @@ -2497,10 +2497,10 @@ lean_inc(x_106); x_176 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_176, 0, x_106); lean_ctor_set(x_176, 1, x_175); -x_177 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37; +x_177 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; x_178 = l_Lean_addMacroScope(x_109, x_177, x_108); -x_179 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36; -x_180 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39; +x_179 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; +x_180 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; lean_inc(x_106); x_181 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_181, 0, x_106); @@ -2512,19 +2512,19 @@ x_183 = lean_array_push(x_182, x_181); x_184 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_184, 0, x_135); lean_ctor_set(x_184, 1, x_183); -x_185 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40; +x_185 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; x_186 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_186, 0, x_106); lean_ctor_set(x_186, 1, x_185); -x_187 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41; +x_187 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; x_188 = lean_array_push(x_187, x_111); x_189 = lean_array_push(x_188, x_119); x_190 = lean_array_push(x_189, x_174); -x_191 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34; +x_191 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; x_192 = lean_array_push(x_190, x_191); x_193 = lean_array_push(x_192, x_184); x_194 = lean_array_push(x_193, x_186); -x_195 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8; +x_195 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; x_196 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_196, 0, x_195); lean_ctor_set(x_196, 1, x_194); @@ -2536,7 +2536,7 @@ return x_197; } } } -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_1056_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_1062_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2573,68 +2573,68 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9; +x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23; +x_19 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; lean_inc(x_15); lean_inc(x_16); x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); -x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22; -x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__26; +x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; +x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26; lean_inc(x_14); x_23 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_23, 0, x_14); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_23, 2, x_20); lean_ctor_set(x_23, 3, x_22); -x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27; +x_24 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; x_25 = lean_array_push(x_24, x_23); -x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13; +x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; x_27 = lean_array_push(x_25, x_26); -x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19; +x_28 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28; +x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; lean_inc(x_14); x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_14); lean_ctor_set(x_31, 1, x_30); -x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29; +x_32 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; x_33 = lean_array_push(x_32, x_29); lean_inc(x_31); x_34 = lean_array_push(x_33, x_31); x_35 = lean_array_push(x_34, x_9); -x_36 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17; +x_36 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); -x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__8; +x_38 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; lean_inc(x_14); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_14); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30; +x_40 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; x_41 = lean_array_push(x_40, x_39); -x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11; +x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); x_44 = lean_array_push(x_24, x_37); x_45 = lean_array_push(x_44, x_43); -x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15; +x_46 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__4; +x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4; lean_inc(x_15); lean_inc(x_16); x_49 = l_Lean_addMacroScope(x_16, x_48, x_15); -x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__3; -x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__7; +x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3; +x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7; lean_inc(x_14); x_52 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_52, 0, x_14); @@ -2667,10 +2667,10 @@ lean_inc(x_14); x_67 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_67, 0, x_14); lean_ctor_set(x_67, 1, x_66); -x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37; +x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; x_69 = l_Lean_addMacroScope(x_16, x_68, x_15); -x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36; -x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39; +x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; +x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; lean_inc(x_14); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_14); @@ -2682,19 +2682,19 @@ x_74 = lean_array_push(x_73, x_72); x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_42); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40; +x_76 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_14); lean_ctor_set(x_77, 1, x_76); -x_78 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41; +x_78 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; x_79 = lean_array_push(x_78, x_18); x_80 = lean_array_push(x_79, x_26); x_81 = lean_array_push(x_80, x_65); -x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34; +x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; x_83 = lean_array_push(x_81, x_82); x_84 = lean_array_push(x_83, x_75); x_85 = lean_array_push(x_84, x_77); -x_86 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8; +x_86 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_85); @@ -2714,68 +2714,68 @@ lean_inc(x_90); x_91 = lean_ctor_get(x_2, 1); lean_inc(x_91); lean_dec(x_2); -x_92 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9; +x_92 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9; lean_inc(x_88); x_93 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_93, 0, x_88); lean_ctor_set(x_93, 1, x_92); -x_94 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23; +x_94 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23; lean_inc(x_90); lean_inc(x_91); x_95 = l_Lean_addMacroScope(x_91, x_94, x_90); -x_96 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22; -x_97 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__26; +x_96 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22; +x_97 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26; lean_inc(x_88); x_98 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_98, 0, x_88); lean_ctor_set(x_98, 1, x_96); lean_ctor_set(x_98, 2, x_95); lean_ctor_set(x_98, 3, x_97); -x_99 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27; +x_99 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27; x_100 = lean_array_push(x_99, x_98); -x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13; +x_101 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13; x_102 = lean_array_push(x_100, x_101); -x_103 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19; +x_103 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19; x_104 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_104, 0, x_103); lean_ctor_set(x_104, 1, x_102); -x_105 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28; +x_105 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28; lean_inc(x_88); x_106 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_106, 0, x_88); lean_ctor_set(x_106, 1, x_105); -x_107 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29; +x_107 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29; x_108 = lean_array_push(x_107, x_104); lean_inc(x_106); x_109 = lean_array_push(x_108, x_106); x_110 = lean_array_push(x_109, x_9); -x_111 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17; +x_111 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17; x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_111); lean_ctor_set(x_112, 1, x_110); -x_113 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__8; +x_113 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8; lean_inc(x_88); x_114 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_114, 0, x_88); lean_ctor_set(x_114, 1, x_113); -x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30; +x_115 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30; x_116 = lean_array_push(x_115, x_114); -x_117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11; +x_117 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11; x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_117); lean_ctor_set(x_118, 1, x_116); x_119 = lean_array_push(x_99, x_112); x_120 = lean_array_push(x_119, x_118); -x_121 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15; +x_121 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15; 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__4; +x_123 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4; lean_inc(x_90); lean_inc(x_91); x_124 = l_Lean_addMacroScope(x_91, x_123, x_90); -x_125 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__3; -x_126 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__7; +x_125 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3; +x_126 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7; lean_inc(x_88); x_127 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_127, 0, x_88); @@ -2808,10 +2808,10 @@ lean_inc(x_88); x_142 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_142, 0, x_88); lean_ctor_set(x_142, 1, x_141); -x_143 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37; +x_143 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37; x_144 = l_Lean_addMacroScope(x_91, x_143, x_90); -x_145 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36; -x_146 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39; +x_145 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36; +x_146 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39; lean_inc(x_88); x_147 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_147, 0, x_88); @@ -2823,19 +2823,19 @@ x_149 = lean_array_push(x_148, x_147); x_150 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_150, 0, x_117); lean_ctor_set(x_150, 1, x_149); -x_151 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40; +x_151 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40; x_152 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_152, 0, x_88); lean_ctor_set(x_152, 1, x_151); -x_153 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41; +x_153 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41; x_154 = lean_array_push(x_153, x_93); x_155 = lean_array_push(x_154, x_101); x_156 = lean_array_push(x_155, x_140); -x_157 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34; +x_157 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34; x_158 = lean_array_push(x_156, x_157); x_159 = lean_array_push(x_158, x_150); x_160 = lean_array_push(x_159, x_152); -x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8; +x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8; x_162 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_160); @@ -2950,122 +2950,122 @@ l_Std_Range_term_x5b___x3a___x3a___x5d___closed__6 = _init_l_Std_Range_term_x5b_ lean_mark_persistent(l_Std_Range_term_x5b___x3a___x3a___x5d___closed__6); l_Std_Range_term_x5b___x3a___x3a___x5d = _init_l_Std_Range_term_x5b___x3a___x3a___x5d(); lean_mark_persistent(l_Std_Range_term_x5b___x3a___x3a___x5d); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__1(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__1); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__2(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__2); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__3 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__3(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__3); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__4 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__4(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__4); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__5 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__5(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__5); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__6 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__6(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__6); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__7 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__7(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__7); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__8); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__9); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__10 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__10(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__10); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__11); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__12 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__12(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__12); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__13); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__14 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__14(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__14); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__15); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__16 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__16(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__16); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__17); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__18 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__18(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__18); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__19); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__20 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__20(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__20); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__21 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__21(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__21); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__22); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__23); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__24 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__24(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__24); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__25 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__25(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__25); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__26 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__26(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__26); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__27); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__28); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__29); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__30); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__31 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__31(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__31); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__32 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__32(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__32); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__33 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__33(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__33); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__34); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__35 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__35(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__35); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__36); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__37); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__38 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__38(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__38); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__39); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__40); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_351____closed__41); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__1(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__1); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__2(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__2); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__3 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__3(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__3); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__4 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__4(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__4); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__5 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__5(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__5); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__6 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__6(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__6); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__7 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__7(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__7); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__8 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__8(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__8); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__9 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__9(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__9); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__10 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__10(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_525____closed__10); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__1(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__1); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__2(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__2); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__3 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__3(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__3); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__4 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__4(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__4); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__5 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__5(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__5); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__6 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__6(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__6); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__7 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__7(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_758____closed__7); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__1(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__1); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__2(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__2); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__3 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__3(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__3); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__4 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__4(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__4); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__5 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__5(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__5); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__6); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__7 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__7(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__7); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__8); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__9); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__10 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__10(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__10); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__11); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__12 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__12(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__12); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__13); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__14 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__14(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__14); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__15); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__16 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__16(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__16); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__17); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__18 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__18(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__18); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__19); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__20); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__21 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__21(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__21); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__22); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__23); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__24); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__25 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__25(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__25); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__26); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__27); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__28); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__29); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__30); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__31 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__31(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__31); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__32 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__32(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__32); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__33 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__33(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__33); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__34); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__35 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__35(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__35); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__36); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__37); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__38 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__38(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__38); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__39); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__40); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_357____closed__41); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__1); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__2(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__2); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__3); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__4); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__5 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__5(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__5); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__6 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__6(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__6); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__7); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__8); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__9 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__9(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__9); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_531____closed__10); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__1); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__2(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__2); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__3); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__4); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__5 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__5(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__5); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__6 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__6(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__6); +l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7(); +lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_764____closed__7); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Notation.c b/stage0/stdlib/Init/Notation.c index f9309c2428..fec095bf17 100644 --- a/stage0/stdlib/Init/Notation.c +++ b/stage0/stdlib/Init/Notation.c @@ -17,6 +17,7 @@ static lean_object* l_term___u2228_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__8; static lean_object* l_precMax___closed__5; static lean_object* l_stx___x3c_x7c_x3e_____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__5; lean_object* l_Lean_Parser_Tactic_expandERwSeq(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__1; static lean_object* l_precMin1___closed__1; @@ -31,7 +32,6 @@ static lean_object* l_term_x25_x5b___x7c___x5d___closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__8; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__1; static lean_object* l_Lean_Parser_Tactic_exact___closed__6; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17979____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticTrivial; static lean_object* l_Lean_Parser_Tactic_intros___closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__8; @@ -39,9 +39,9 @@ static lean_object* l_termDepIfThenElse___closed__26; static lean_object* l_term___x2f_x5c_____closed__1; lean_object* l_term___x3c_x3d__; static lean_object* l_Lean_Parser_Tactic_induction___closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__3; static lean_object* l_Lean_Parser_Tactic_generalize___closed__8; static lean_object* l_term___x3c_x7c_x3e_____closed__5; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4; static lean_object* l_Lean_Parser_Tactic_cases___closed__6; static lean_object* l_Lean_Parser_Tactic_first___closed__17; static lean_object* l_rawNatLit___closed__9; @@ -51,11 +51,13 @@ static lean_object* l_term_u2039___u203a___closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_71____closed__3; static lean_object* l_term___x25_____closed__1; lean_object* l_term___x3d__; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__9; static lean_object* l_stx___x3c_x7c_x3e_____closed__9; static lean_object* l_term___u2265_____closed__1; static lean_object* l_term___x3c_x24_x3e_____closed__2; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term___u2227_____closed__5; static lean_object* l_term___x2b_x2b_____closed__4; lean_object* l_term___x5e_x5e_x5e__; @@ -63,9 +65,11 @@ static lean_object* l_Lean_Parser_Syntax_addPrec___closed__4; static lean_object* l_Lean_Parser_Tactic_first___closed__8; lean_object* l_Lean_Parser_Tactic_first; static lean_object* l_Lean_Parser_Tactic_letrec___closed__12; +static lean_object* l_Lean_term__Matches_____closed__6; static lean_object* l_Lean_Parser_Tactic_erwSeq___closed__6; static lean_object* l_Lean_Parser_Tactic_revert___closed__2; static lean_object* l_term___x25_____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2; static lean_object* l_Lean_Parser_Tactic_induction___closed__13; static lean_object* l_precMin1___closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__1; @@ -103,8 +107,6 @@ lean_object* l_term_x2d__; static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__4; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_term___x3e_x3d_____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19026____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__9; static lean_object* l_myMacro____x40_Init_Notation___hyg_12171____closed__4; static lean_object* l_precMax___closed__3; @@ -115,16 +117,19 @@ lean_object* l_Lean_Syntax_getHeadInfo_x3f(lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__5; static lean_object* l_stx___x3c_x7c_x3e_____closed__2; static lean_object* l_Lean_Parser_Tactic_induction___closed__12; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__2; lean_object* l_Lean_Parser_Tactic_tacticRfl; static lean_object* l_Lean_Parser_Tactic_generalize___closed__2; lean_object* l_Lean_Parser_Tactic_rwSeq; static lean_object* l_term___u2264_____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__9; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_9615____closed__1; static lean_object* l_Lean_Parser_Tactic_intro___closed__9; static lean_object* l_myMacro____x40_Init_Notation___hyg_2214____closed__1; extern lean_object* l_Lean_nullKind; lean_object* l_term___x3c_x3c_x3c__; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__8; static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__8; static lean_object* l_term___x3d_x3d_____closed__6; static lean_object* l_term___u2227_____closed__3; @@ -147,6 +152,7 @@ static lean_object* l_prioLow___closed__5; static lean_object* l_Lean_Parser_Tactic_generalize___closed__6; lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l_termDepIfThenElse___closed__11; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17742____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Attr_simp___closed__6; lean_object* l_Lean_Parser_Attr_simp; static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__2; @@ -246,7 +252,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_2431_(lean_object*, lean_objec lean_object* l_myMacro____x40_Init_Notation___hyg_13934_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_14133_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_14569_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_19525_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_19735_(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_injection___closed__2; static lean_object* l_term___x7c_x7c_____closed__3; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__4; @@ -264,6 +270,7 @@ static lean_object* l_term___x3e_x3e_x3e_____closed__2; static lean_object* l_term___x3e_x3d_____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRepeat_____closed__5; lean_object* l_term___x3e_x3e_x3d__; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__11; lean_object* l_Lean_Parser_Tactic_changeWith; lean_object* l_term___u2218__; static lean_object* l_myMacro____x40_Init_Notation___hyg_5189____closed__3; @@ -271,7 +278,6 @@ static lean_object* l_term___x7c_x7c_x7c_____closed__1; static lean_object* l_term___x7e_x3d_____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__3; static lean_object* l_term___u2245_____closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__4; static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__3; static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__5; static lean_object* l_prio_x28___x29___closed__6; @@ -279,6 +285,7 @@ static lean_object* l_termIfThenElse___closed__9; static lean_object* l_Lean_Parser_Attr_simp___closed__2; static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__4; static lean_object* l_Lean_Parser_Tactic_skip___closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__1; static lean_object* l_Lean_Parser_Tactic_induction___closed__2; @@ -296,7 +303,6 @@ static lean_object* l_Lean_Parser_Tactic_simpAll___closed__8; static lean_object* l_term___x3c_____closed__2; lean_object* l_Lean_Parser_Tactic_simpAll; static lean_object* l_Lean_Parser_Tactic_generalize___closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__1; static lean_object* l_Lean_Parser_Tactic_first___closed__1; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__10; static lean_object* l_Lean_Parser_Tactic_revert___closed__8; @@ -310,7 +316,6 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_1453____boxed(lean_object*, le static lean_object* l_Lean_Parser_Tactic_intro___closed__4; static lean_object* l_Lean_Parser_Tactic_simp___closed__10; static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__1; static lean_object* l_term___x3e_x3e_x3d_____closed__3; static lean_object* l_term___x3c_x3c_x3c_____closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__1; @@ -319,6 +324,7 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_13196____closed__1; static lean_object* l_term___x7c_x3e_____closed__1; static lean_object* l_prec_x28___x29___closed__6; static lean_object* l_term___u2228_____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6; static lean_object* l_term___x2f_____closed__6; static lean_object* l_term___x5e_x5e_x5e_____closed__2; static lean_object* l_Lean_Parser_Tactic_simpPost___closed__2; @@ -346,7 +352,9 @@ static lean_object* l_Lean_Parser_Tactic_clear___closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__10; static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__8; static lean_object* l_term_x2d_____closed__6; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__16; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__5; static lean_object* l_rawNatLit___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__6; @@ -357,9 +365,11 @@ static lean_object* l_stx_x21_____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__2; static lean_object* l_Lean_Parser_Tactic_rename___closed__3; static lean_object* l_term___x3c_x2a_____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1; static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_7336____closed__7; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__13; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__2; static lean_object* l_term___u2264_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_10869____closed__8; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__4; @@ -378,20 +388,17 @@ static lean_object* l_Lean_Parser_Tactic_injection___closed__8; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__5; lean_object* l_prioMid; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__8; static lean_object* l_myMacro____x40_Init_Notation___hyg_1108____closed__3; static lean_object* l_Lean_Parser_Tactic_erwSeq___closed__5; static lean_object* l_termMax__prec___closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__3; static lean_object* l_Lean_Parser_Tactic_apply___closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__2; static lean_object* l_Lean_Parser_Tactic_casesTarget___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_13196____closed__3; static lean_object* l_Lean_Parser_Tactic_change___closed__1; static lean_object* l_Lean_Parser_Tactic_intro___closed__13; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__8; static lean_object* l_term_u2039___u203a___closed__5; static lean_object* l_termDepIfThenElse___closed__3; @@ -400,6 +407,7 @@ static lean_object* l_termDepIfThenElse___closed__18; static lean_object* l_term___x2d_____closed__4; static lean_object* l_term___x3c_x2a_____closed__1; lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046_(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__7; static lean_object* l_prioMid___closed__2; static lean_object* l_Lean_Parser_Tactic_rename___closed__7; @@ -421,7 +429,6 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_10869____closed__9; static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__5; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__16; lean_object* l_Lean_Parser_Tactic_tacticRepeat__; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__1; static lean_object* l_Lean_Parser_Tactic_injection___closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticInferInstance___closed__3; @@ -435,14 +442,12 @@ static lean_object* l_Lean_Parser_Tactic_cases___closed__5; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__6; static lean_object* l_Lean_Parser_Tactic_first___closed__11; static lean_object* l_Lean_Parser_Tactic_refine___closed__5; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18479____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_11737____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__1; static lean_object* l_term_x25_x5b___x7c___x5d___closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__6; static lean_object* l_term___x3e_x3e_____closed__5; static lean_object* l_termDepIfThenElse___closed__15; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18321____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__10; static lean_object* l_Lean_Parser_Tactic_exact___closed__1; static lean_object* l_term_x5b___x5d___closed__11; @@ -459,12 +464,13 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__8; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__5; static lean_object* l_precLead___closed__3; static lean_object* l_termDepIfThenElse___closed__24; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__2; static lean_object* l_Lean_Parser_Tactic_contradiction___closed__1; static lean_object* l_term_u2039___u203a___closed__2; static lean_object* l_rawNatLit___closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4; static lean_object* l_Lean_Parser_Tactic_simp___closed__20; static lean_object* l_term___x24_______closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1; static lean_object* l_term___x5e_x5e_x5e_____closed__6; static lean_object* l_term___x3c_x24_x3e_____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_7553____closed__3; @@ -492,24 +498,25 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_12171____closed__1; static lean_object* l_termDepIfThenElse___closed__7; static lean_object* l_Lean_Parser_Tactic_cases___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_12605____closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18796____closed__1; static lean_object* l_term___u2218_____closed__1; static lean_object* l_Lean_Parser_Tactic_clear___closed__4; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__5; static lean_object* l_term___x3c_x2a_____closed__4; lean_object* l_stx___x3c_x7c_x3e__; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18189____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__5; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_10674____closed__4; static lean_object* l_Lean_Parser_Tactic_revert___closed__1; static lean_object* l_term___x26_x26_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19236____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_skip___closed__1; static lean_object* l_term_x2d_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__6; static lean_object* l_term___u2264_____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__4; static lean_object* l_term_u2039___u203a___closed__3; static lean_object* l_term___x5e_____closed__5; lean_object* lean_string_utf8_byte_size(lean_object*); @@ -518,6 +525,7 @@ static lean_object* l_term___u2218_____closed__9; static lean_object* l_term___x3c_x3d_____closed__4; static lean_object* l_Lean_Parser_Tactic_generalize___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__6; static lean_object* l_Lean_Parser_Tactic_revert___closed__4; @@ -525,17 +533,13 @@ static lean_object* l_termMax__prec___closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_13934____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__4; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__6; static lean_object* l_term_x2d_____closed__2; static lean_object* l_term_x21_____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_7553____closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__2; static lean_object* l_Lean_Parser_Tactic_location___closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__7; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18796____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_term___x26_x26__; static lean_object* l_term___x24_______closed__5; static lean_object* l_Lean_Parser_Tactic_injection___closed__1; @@ -549,7 +553,7 @@ static lean_object* l_Lean_Parser_Tactic_cases___closed__1; static lean_object* l_stx___x3c_x7c_x3e_____closed__8; static lean_object* l_stx_x21_____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__2; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticUnhygienic_____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__2; static lean_object* l_Lean_Parser_Tactic_intros___closed__3; @@ -557,6 +561,7 @@ static lean_object* l_Lean_Parser_Tactic_rwRule___closed__2; static lean_object* l_termIfThenElse___closed__11; static lean_object* l_myMacro____x40_Init_Notation___hyg_10242____closed__6; static lean_object* l_Lean_Parser_Tactic_apply___closed__5; +lean_object* l_Lean_term__Matches__; static lean_object* l_Lean_Parser_Tactic_focus___closed__2; static lean_object* l_Lean_Parser_Tactic_assumption___closed__4; lean_object* l_Lean_Parser_Tactic_existsIntro; @@ -577,12 +582,10 @@ static lean_object* l_Lean_Parser_Tactic_letrec___closed__9; static lean_object* l_precMin___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_13763____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_case___closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__1; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__8; static lean_object* l_Lean_Parser_Tactic_simp___closed__17; lean_object* l_Lean_Parser_Tactic_rwWithRfl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1; static lean_object* l_term___x3c_x7c_x3e_____closed__2; static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__3; static lean_object* l_term___x2f_____closed__1; @@ -600,7 +603,6 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_8404____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__4; lean_object* l_Lean_Parser_Tactic_induction; static lean_object* l_Lean_Parser_Tactic_induction___closed__19; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_letrec___closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_2431____closed__2; static lean_object* l_term___u2218_____closed__4; @@ -628,6 +630,7 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_553____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_13196____closed__5; static lean_object* l_term___x24_______closed__8; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6; static lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__3; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__7; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__15; @@ -639,8 +642,8 @@ lean_object* l_term___x3e__; lean_object* l_termMax__prec; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__4; static lean_object* l_Lean_Parser_Tactic_subst___closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_4817____closed__6; static lean_object* l_Lean_Parser_Tactic_focus___closed__4; @@ -659,6 +662,7 @@ static lean_object* l_term___x24_______closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__5; static lean_object* l_Lean_Parser_Tactic_simp___closed__8; static lean_object* l_term___x3c_x24_x3e_____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__2; static lean_object* l_term_x21_____closed__2; static lean_object* l_term___x7c_x7c_x7c_____closed__6; static lean_object* l_term___x5c_x2f_____closed__5; @@ -667,7 +671,6 @@ static lean_object* l_stx___x2a___closed__1; static lean_object* l_Lean_Parser_Tactic_location___closed__6; static lean_object* l_Lean_Parser_Tactic_clear___closed__3; static lean_object* l_term___x24_______closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__4; static lean_object* l_Lean_Parser_Tactic_intros___closed__8; static lean_object* l_term___x3d_____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__2; @@ -677,6 +680,7 @@ static lean_object* l_Lean_Parser_Attr_simp___closed__7; static lean_object* l_term___x3e_x3e_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_7553____closed__1; static lean_object* l_term___xd7_____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3d_____closed__4; static lean_object* l_termDepIfThenElse___closed__20; lean_object* l_term___u2228__; @@ -688,8 +692,8 @@ static lean_object* l_Lean_Parser_Tactic_erwSeq___closed__1; static lean_object* l_Lean_Parser_Attr_simp___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__2; static lean_object* l_Lean_Parser_Tactic_rename___closed__10; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__6; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__1; lean_object* l_Lean_Parser_Tactic_case; static lean_object* l_term___x2f_____closed__4; @@ -698,6 +702,7 @@ static lean_object* l_Lean_Parser_Tactic_traceState___closed__1; static lean_object* l_term___x3c_x2a_____closed__3; static lean_object* l_term___x3e_x3d_____closed__5; static lean_object* l_Lean_Parser_Tactic_generalize___closed__9; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__4; static lean_object* l_Lean_Parser_Tactic_location___closed__2; static lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__5; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -721,6 +726,8 @@ static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__9; static lean_object* l_term___x3c_x7c_x3e_____closed__4; static lean_object* l_term_x21_____closed__1; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__9; static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__5; static lean_object* l_termDepIfThenElse___closed__32; @@ -728,10 +735,12 @@ static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__2; static lean_object* l_termDepIfThenElse___closed__10; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__3; static lean_object* l_Lean_Parser_Tactic_subst___closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term___x3e_x3e_____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1; lean_object* l_term___x3c_x2a__; static lean_object* l_Lean_Parser_Attr_simp___closed__5; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term_xac_____closed__7; static lean_object* l_Lean_Parser_Tactic_assumption___closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__1; @@ -749,12 +758,14 @@ static lean_object* l_term___u2218_____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__2; static lean_object* l_term___x3c_x3c_x3c_____closed__6; lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_7987____closed__2; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_928____closed__2; +static lean_object* l_myMacro____x40_Init_Notation___hyg_19735____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticUnhygienic_____closed__4; static lean_object* l_termIfThenElse___closed__12; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__5; static lean_object* l_term_u2039___u203a___closed__4; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__9; lean_object* l_Lean_Parser_Tactic_revert; @@ -773,8 +784,9 @@ static lean_object* l_stx___x3c_x7c_x3e_____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_928____closed__6; static lean_object* l_Lean_Parser_Tactic_simpErase___closed__1; static lean_object* l_term___u2218_____closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1; static lean_object* l_term___x3c_x24_x3e_____closed__5; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19142____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__5; static lean_object* l_term___x3e_x3d_____closed__3; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__2; @@ -796,7 +808,7 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__10; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__8; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1; static lean_object* l_stx___x2c_x2a___closed__4; static lean_object* l_Lean_Parser_Tactic_traceState___closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__9; @@ -807,7 +819,6 @@ lean_object* l_term___x3a_x3a__; static lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__5; lean_object* l_Lean_Parser_Tactic_tacticAdmit; lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__4; static lean_object* l_Lean_Parser_Tactic_location___closed__1; static lean_object* l_termDepIfThenElse___closed__34; static lean_object* l_myMacro____x40_Init_Notation___hyg_10459____closed__2; @@ -826,7 +837,6 @@ static lean_object* l_stx___x3f___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__8; static lean_object* l_myMacro____x40_Init_Notation___hyg_2431____closed__6; static lean_object* l_Lean_Parser_Tactic_intro___closed__11; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__6; lean_object* l_Lean_Parser_Tactic_focus; static lean_object* l_termDepIfThenElse___closed__23; static lean_object* l_myMacro____x40_Init_Notation___hyg_11303____closed__1; @@ -837,7 +847,6 @@ static lean_object* l_Lean_Parser_Tactic_refine_x27___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_622____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__13; static lean_object* l_prioLow___closed__1; -static lean_object* l_myMacro____x40_Init_Notation___hyg_19525____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_9181____closed__3; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__15; static lean_object* l_prec_x28___x29___closed__4; @@ -859,6 +868,7 @@ lean_object* l_Lean_Parser_Tactic_rotateLeft; static lean_object* l_Lean_Parser_Tactic_focus___closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_10674____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__1; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__1; static lean_object* l_term___x7c_x7c_x7c_____closed__5; @@ -894,6 +904,7 @@ static lean_object* l_term___u2264_____closed__6; lean_object* l_prio_x28___x29; lean_object* l_term___x2d__; static lean_object* l_term___x5c_x2f_____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__3; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__1; @@ -947,6 +958,7 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__4; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__3; static lean_object* l_term___x7c_x7c_____closed__4; static lean_object* l_prio_x28___x29___closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_11737____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_8404____closed__1; @@ -956,6 +968,8 @@ static lean_object* l_term___x2a_____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__6; static lean_object* l_prioDefault___closed__2; static lean_object* l_Lean_Parser_Tactic_generalize___closed__11; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__2; lean_object* l_term___x7c_x7c_x7c__; static lean_object* l_term___u2227_____closed__6; static lean_object* l_prioMid___closed__4; @@ -964,7 +978,6 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__9; static lean_object* l_myMacro____x40_Init_Notation___hyg_11303____closed__8; static lean_object* l_Lean_Parser_Tactic_simpLemma___closed__4; static lean_object* l_term___x3a_x3a_____closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_209____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_precLead___closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__6; @@ -988,12 +1001,13 @@ static lean_object* l_Lean_Parser_Syntax_addPrio___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__4; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__5; lean_object* l_Lean_Parser_Tactic_rwRuleSeq; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_cases___closed__8; static lean_object* l_prioDefault___closed__1; static lean_object* l_term_x25_x5b___x7c___x5d___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__2; static lean_object* l_term___u2228_____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6; static lean_object* l_Lean_Parser_Tactic_location___closed__4; static lean_object* l_term___x3e_____closed__6; static lean_object* l_term___x2a_____closed__3; @@ -1012,8 +1026,10 @@ static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__3; lean_object* l_Lean_Parser_Syntax_subPrec; lean_object* l_term___u2227__; static lean_object* l_stx___x3f___closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_term___x2b__; static lean_object* l_Lean_Parser_Tactic_erwSeq___closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__6; static lean_object* l_Lean_Parser_Tactic_location___closed__8; static lean_object* l_Lean_Parser_Tactic_exact___closed__3; @@ -1021,6 +1037,8 @@ static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__9; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__3; static lean_object* l_prio_x28___x29___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__13; static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__4; static lean_object* l_prioLow___closed__4; @@ -1031,11 +1049,9 @@ static lean_object* l_term_x7e_x7e_x7e_____closed__5; static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__2; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__8; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__5; static lean_object* l_term___x5c_x2f_____closed__6; static lean_object* l_term___x3c_x2a_____closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__1; static lean_object* l_precLead___closed__2; static lean_object* l_term___x2b_x2b_____closed__6; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__16; @@ -1044,14 +1060,15 @@ static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__4; static lean_object* l_term_x25_x5b___x7c___x5d___closed__3; static lean_object* l_Lean_Parser_Tactic_simpPre___closed__3; lean_object* l_term___x24____; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; static lean_object* l_term___x3a_x3a_____closed__2; static lean_object* l_Lean_Parser_Tactic_exact___closed__5; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_12171____closed__3; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19352____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__6; static lean_object* l_term___x3e_____closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__9; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__5; static lean_object* l_Lean_Parser_Tactic_induction___closed__10; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__1; @@ -1065,6 +1082,7 @@ static lean_object* l_term___x7c_x3e_____closed__3; static lean_object* l_Lean_Parser_Tactic_intro___closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__13; static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__2; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__15; static lean_object* l_Lean_Parser_Syntax_subPrio___closed__1; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__17; @@ -1083,20 +1101,18 @@ static lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__4; static lean_object* l_term___x3e_____closed__2; lean_object* l_Lean_Parser_Tactic_tacticHave_x27__; static lean_object* l_myMacro____x40_Init_Notation___hyg_1108____closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term_x25_x5b___x7c___x5d___closed__4; static lean_object* l_Lean_Parser_Tactic_change___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_10459____closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__1; static lean_object* l_stx___x2c_x2a___closed__3; static lean_object* l_Lean_Parser_Tactic_rotateRight___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_71____closed__1; static lean_object* l_termIfThenElse___closed__3; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__4; static lean_object* l_stx___x2a___closed__4; +static lean_object* l_myMacro____x40_Init_Notation___hyg_19735____closed__1; static lean_object* l_Lean_Parser_Syntax_subPrec___closed__4; static lean_object* l_term___x26_x26_x26_____closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__2; @@ -1105,7 +1121,6 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__12; static lean_object* l_term___x3c_x2a_x3e_____closed__3; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__14; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5; static lean_object* l_term___xd7_____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_1588____closed__1; @@ -1117,6 +1132,7 @@ static lean_object* l_Lean_Parser_Tactic_refine___closed__6; static lean_object* l_termDepIfThenElse___closed__25; static lean_object* l_term___x25_____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_71____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_1108____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__2; @@ -1129,9 +1145,10 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_3299____closed__2; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__12; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17532____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_addPrio___closed__6; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__1; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__7; +static lean_object* l_myMacro____x40_Init_Notation___hyg_19735____closed__2; lean_object* l_Lean_Parser_Tactic_tacticLet_x27__; static lean_object* l_term___x26_x26_x26_____closed__2; lean_object* l_term___u2245__; @@ -1142,6 +1159,7 @@ static lean_object* l_termDepIfThenElse___closed__30; static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__3; static lean_object* l_term_xac_____closed__2; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3; static lean_object* l_Lean_Parser_Tactic_first___closed__16; static lean_object* l_myMacro____x40_Init_Notation___hyg_4817____closed__7; lean_object* l_Lean_Parser_Tactic_apply; @@ -1183,8 +1201,8 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_71____closed__2; static lean_object* l_termDepIfThenElse___closed__9; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__8; static lean_object* l_Lean_Parser_Tactic_withReducible___closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__4; static lean_object* l_Lean_Parser_Tactic_injection___closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__2; lean_object* l_term___x2f_x5c__; static lean_object* l_term___x2b_x2b_____closed__2; @@ -1193,9 +1211,7 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_6251____closed__6; static lean_object* l_term___x25_____closed__4; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_7987____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_3733____closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__5; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__6; @@ -1204,9 +1220,9 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__10; static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__2; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__6; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__14; static lean_object* l_Lean_Parser_Tactic_case___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__8; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__6; lean_object* l_unexpand____x40_Init_Notation___hyg_10032_(lean_object*, lean_object*); lean_object* l_unexpand____x40_Init_Notation___hyg_10659_(lean_object*, lean_object*); @@ -1250,7 +1266,9 @@ lean_object* l_unexpand____x40_Init_Notation___hyg_3717_(lean_object*, lean_obje lean_object* l_unexpand____x40_Init_Notation___hyg_2849_(lean_object*, lean_object*); lean_object* l_unexpand____x40_Init_Notation___hyg_3500_(lean_object*, lean_object*); lean_object* l_unexpand____x40_Init_Notation___hyg_6235_(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_10047____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__5; @@ -1265,15 +1283,12 @@ static lean_object* l_Lean_Parser_Tactic_induction___closed__20; lean_object* l_Lean_Parser_Tactic_subst; static lean_object* l_termDepIfThenElse___closed__22; static lean_object* l_Lean_Parser_Tactic_case___closed__14; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__4; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__3; static lean_object* l_rawNatLit___closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_6685____closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19084____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_347____closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__4; static lean_object* l_precArg___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__7; static lean_object* l_term___x5c_x2f_____closed__1; @@ -1283,6 +1298,7 @@ static lean_object* l_term_x25_x5b___x7c___x5d___closed__9; static lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_928____closed__7; static lean_object* l_Lean_Parser_Tactic_intros___closed__4; +lean_object* l_myMacro____x40_Init_Notation___hyg_19735____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_termIfThenElse___closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__1; static lean_object* l_term___x3e_x3e_____closed__6; @@ -1291,17 +1307,14 @@ lean_object* l_stx___x3f; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__9; static lean_object* l_term___x3d_____closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__8; static lean_object* l_Lean_Parser_Tactic_change___closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_11303____closed__2; static lean_object* l_stx___x3f___closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__4; lean_object* l_Lean_Parser_Tactic_simpLemma; static lean_object* l_Lean_Parser_Tactic_casesTarget___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__8; static lean_object* l_Lean_Parser_Tactic_rotateRight___closed__5; static lean_object* l_Lean_Parser_Tactic_intro___closed__16; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__6; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_1879____closed__2; @@ -1332,30 +1345,30 @@ static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__ static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__3; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_1318____boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17979_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19142_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19084_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19026_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18796_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18479_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18321_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17532_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15645_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19352_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19294_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19236_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18689_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18531_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18189_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17742_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15855_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698_(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__8; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__6; lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1368,6 +1381,7 @@ static lean_object* l_term___u2228_____closed__3; static lean_object* l_term___x5e_____closed__2; static lean_object* l_Lean_Parser_Tactic_simp___closed__3; lean_object* l_prioHigh; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13; static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__9; static lean_object* l_term_xac_____closed__4; lean_object* l_precArg; @@ -1390,10 +1404,8 @@ lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e__; static lean_object* l_term___x2b_x2b_____closed__3; lean_object* l_term_x5b___x5d; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_13196____closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15645____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__6; static lean_object* l_Lean_Parser_Tactic_refine___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__1; @@ -1406,19 +1418,19 @@ static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__1; static lean_object* l_Lean_Parser_Tactic_case___closed__3; static lean_object* l_Lean_Parser_Tactic_refine_x27___closed__3; static lean_object* l_stx___x2c_x2b___closed__2; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8; static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__8; static lean_object* l_Lean_Parser_Tactic_first___closed__15; static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5; static lean_object* l_term___x2b_x2b_____closed__1; static lean_object* l_stx___x3c_x7c_x3e_____closed__7; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__6; static lean_object* l_Lean_Parser_Tactic_simpPre___closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_6902____closed__2; static lean_object* l_term___x3c_x7c_____closed__7; static lean_object* l_termDepIfThenElse___closed__19; @@ -1427,7 +1439,6 @@ static lean_object* l_Lean_Parser_Tactic_focus___closed__5; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpErase___closed__2; static lean_object* l_Lean_Parser_Tactic_first___closed__18; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__5; static lean_object* l_term___x3c_x7c_____closed__1; static lean_object* l_Lean_Parser_Tactic_induction___closed__6; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__7; @@ -1445,20 +1456,20 @@ static lean_object* l_prec_x28___x29___closed__9; static lean_object* l_stx___x3c_x7c_x3e_____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__2; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18689____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_first___closed__14; static lean_object* l_Lean_Parser_Tactic_tacticRepeat_____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_10674____closed__3; static lean_object* l_term___x3e_x3e_x3e_____closed__5; lean_object* l_term_x21__; static lean_object* l_Lean_Parser_Tactic_simp___closed__18; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_7336____closed__9; static lean_object* l_Lean_Parser_Tactic_simp___closed__15; static lean_object* l_myMacro____x40_Init_Notation___hyg_1879____closed__3; +static lean_object* l_Lean_term__Matches_____closed__5; static lean_object* l_term___x3d_____closed__2; static lean_object* l_Lean_Parser_Tactic_refine___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__3; @@ -1485,20 +1496,20 @@ static lean_object* l_term___x2f_____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_4601____closed__9; static lean_object* l_myMacro____x40_Init_Notation___hyg_553____closed__1; static lean_object* l_term___x26_x26_x26_____closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__2; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; static lean_object* l_Lean_Parser_Tactic_revert___closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__11; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__3; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__5; static lean_object* l_Lean_Parser_Tactic_induction___closed__15; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__8; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__3; static lean_object* l_term___x24_______closed__12; static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__3; static lean_object* l_term___x7c_x3e_____closed__5; static lean_object* l_term___x3c_x2a_x3e_____closed__5; @@ -1509,6 +1520,7 @@ static lean_object* l_Lean_Parser_Tactic_locationWildcard___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__9; static lean_object* l_rawNatLit___closed__3; static lean_object* l_term_x5b___x5d___closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_13362____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__4; static lean_object* l_Lean_Parser_Tactic_simp___closed__1; @@ -1521,7 +1533,6 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_7770____closed__9; static lean_object* l_Lean_Parser_Tactic_rename___closed__8; static lean_object* l_term___u2245_____closed__6; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__9; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__5; static lean_object* l_Lean_Parser_Tactic_induction___closed__3; static lean_object* l_term___x3c_x3d_____closed__3; lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); @@ -1531,6 +1542,8 @@ static lean_object* l_term___u2228_____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_7987____closed__4; static lean_object* l_term___x26_x26_____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15855____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__9; lean_object* l_Lean_Parser_Tactic_letrec; static lean_object* l_myMacro____x40_Init_Notation___hyg_3950____closed__3; @@ -1545,7 +1558,6 @@ lean_object* l_Lean_Parser_Tactic_change; static lean_object* l_Lean_Parser_Tactic_simp___closed__5; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__9; static lean_object* l_Lean_Parser_Tactic_injection___closed__10; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_14133____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__8; static lean_object* l_term___x3c_x7c_x3e_____closed__1; @@ -1566,7 +1578,6 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__6; lean_object* l_termIfLet___x3a_x3d__Then__Else__; static lean_object* l_stx___x2b___closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_7987____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAll___closed__3; static lean_object* l_Lean_Parser_Tactic_induction___closed__18; static lean_object* l_Lean_Parser_Syntax_subPrec___closed__6; @@ -1577,8 +1588,8 @@ lean_object* l_term___x3c_x24_x3e__; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__10; lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__1; static lean_object* l_termDepIfThenElse___closed__29; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_2431____closed__9; static lean_object* l_Lean_Parser_Tactic_induction___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_7336____closed__4; @@ -1596,6 +1607,7 @@ static lean_object* l_term_x5b___x5d___closed__8; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__1; static lean_object* l_term___x3c_x3d_____closed__7; static lean_object* l_termDepIfThenElse___closed__35; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18531____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_10047____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_10674____closed__6; @@ -1611,13 +1623,14 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__3; static lean_object* l_Lean_Parser_Tactic_simp___closed__7; static lean_object* l_term___x3a_x3a_____closed__7; static lean_object* l_term___x3d_x3d_____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_9181____closed__4; static lean_object* l_termDepIfThenElse___closed__8; static lean_object* l_Lean_Parser_Tactic_cases___closed__7; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__2; static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__5; static lean_object* l_term_u2039___u203a___closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__7; static lean_object* l_term___x2a_x3e_____closed__4; lean_object* l_Lean_Parser_Tactic_simpPost; lean_object* l_Lean_Parser_Tactic_done; @@ -1642,6 +1655,7 @@ static lean_object* l_stx___x2b___closed__3; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__2; static lean_object* l_term___x2b_____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3; static lean_object* l_Lean_Parser_Tactic_induction___closed__14; static lean_object* l_Lean_Parser_Tactic_case___closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_1879____closed__4; @@ -1653,6 +1667,7 @@ static lean_object* l_Lean_Parser_Tactic_constructor___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__3; static lean_object* l_term___x2a_x3e_____closed__1; static lean_object* l_prio_x28___x29___closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__1; static lean_object* l_prec_x28___x29___closed__10; static lean_object* l_termDepIfThenElse___closed__17; static lean_object* l_term___x26_x26_x26_____closed__7; @@ -1661,9 +1676,10 @@ static lean_object* l_Lean_Parser_Tactic_exact___closed__4; lean_object* l_Lean_Parser_Syntax_addPrio; static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__8; static lean_object* l_term___x2a_____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5; static lean_object* l_Lean_Parser_Tactic_done___closed__4; lean_object* l_Lean_Parser_Tactic_tacticInferInstance; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__3; static lean_object* l_termDepIfThenElse___closed__27; static lean_object* l_myMacro____x40_Init_Notation___hyg_1198____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__1; @@ -1674,19 +1690,20 @@ lean_object* l_stx___x2a; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__7; lean_object* l_term___x2f__; static lean_object* l_myMacro____x40_Init_Notation___hyg_10459____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5; static lean_object* l_termDepIfThenElse___closed__4; static lean_object* l_termIfThenElse___closed__2; +static lean_object* l_Lean_term__Matches_____closed__4; static lean_object* l_stx___x2c_x2b_x2c_x3f___closed__5; static lean_object* l_stx_x21_____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__1; static lean_object* l_Lean_Parser_Tactic_letrec___closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__6; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__13; static lean_object* l_term___x3c_x2a_x3e_____closed__1; lean_object* l_term___x7c_x3e__; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2; static lean_object* l_Lean_Parser_Tactic_first___closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_11520____closed__4; static lean_object* l_precArg___closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_3082____closed__2; @@ -1717,6 +1734,7 @@ static lean_object* l_Lean_Parser_Tactic_induction___closed__8; static lean_object* l_Lean_Parser_Tactic_rotateRight___closed__2; static lean_object* l_Lean_Parser_Tactic_simpPost___closed__5; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__1; +static lean_object* l_Lean_term__Matches_____closed__3; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__1; @@ -1754,13 +1772,14 @@ static lean_object* l_Lean_Parser_Tactic_simpLemma___closed__2; lean_object* l_Lean_Parser_Tactic_constructor; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__5; static lean_object* l_term___u2245_____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__1; lean_object* l_Lean_Parser_Tactic_expandERwSeq___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__4; static lean_object* l_termDepIfThenElse___closed__2; +static lean_object* l_Lean_term__Matches_____closed__2; static lean_object* l_termIfThenElse___closed__6; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__5; static lean_object* l_term___x3e_x3e_____closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__10; static lean_object* l_myMacro____x40_Init_Notation___hyg_10459____closed__1; static lean_object* l_Lean_Parser_Tactic_change___closed__7; @@ -1791,6 +1810,7 @@ static lean_object* l_prioHigh___closed__4; lean_object* l_precMin1; lean_object* l_term___u2265__; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__1; +static lean_object* l_Lean_term__Matches_____closed__1; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__6; static lean_object* l_prioMid___closed__1; @@ -1805,7 +1825,7 @@ static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__3; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__11; static lean_object* l_myMacro____x40_Init_Notation___hyg_1018____closed__1; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2; static lean_object* l_term_x2d_____closed__7; static lean_object* l_Lean_Parser_Tactic_first___closed__13; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__7; @@ -1814,29 +1834,31 @@ static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__3; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_10242____closed__5; static lean_object* l_termIfThenElse___closed__4; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__4; static lean_object* l_Lean_Parser_Tactic_simpErase___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__9; static lean_object* l_rawNatLit___closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__1; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__19; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__2; static lean_object* l_Lean_Parser_Tactic_contradiction___closed__4; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_7553____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__4; lean_object* l_term___x5e__; static lean_object* l_Lean_Parser_Tactic_intro___closed__14; static lean_object* l_termIfThenElse___closed__8; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_stx___x2c_x2a; lean_object* l_Lean_Parser_Syntax_subPrio; static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__7; static lean_object* l_Lean_Parser_Tactic_simpLemma___closed__5; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__15; static lean_object* l_Lean_Parser_Tactic_simpPost___closed__3; static lean_object* l_Lean_Parser_Tactic_intro___closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__1; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_7553____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__1; @@ -1847,6 +1869,7 @@ lean_object* l_Lean_Parser_Syntax_addPrec; static lean_object* l_Lean_Parser_Tactic_constructor___closed__4; static lean_object* l_prioDefault___closed__3; static lean_object* l_term___x3c_x3d_____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_intro___closed__5; static lean_object* l_term___x3d_x3d_____closed__4; static lean_object* l_stx___x2a___closed__3; @@ -1864,6 +1887,7 @@ lean_object* l_Lean_Parser_Tactic_casesTarget; static lean_object* l_stx___x2c_x2b_x2c_x3f___closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__6; static lean_object* l_Lean_Parser_Tactic_letrec___closed__3; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__5; static lean_object* l_Lean_Parser_Tactic_simpPre___closed__5; static lean_object* l_term___x7c_x3e_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_4384____closed__7; @@ -1899,7 +1923,6 @@ lean_object* l_Lean_Parser_Tactic_expandRwSeq(lean_object*, lean_object*, lean_o static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__1; static lean_object* l_term___x3e_____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__2; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__4; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__1; @@ -1923,6 +1946,7 @@ static lean_object* l_Lean_Parser_Tactic_case___closed__13; static lean_object* l_Lean_Parser_Tactic_tacticUnhygienic_____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_11954____closed__8; static lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__13; lean_object* l_Lean_Parser_Tactic_erewriteSeq; static lean_object* l_myMacro____x40_Init_Notation___hyg_2865____closed__5; @@ -1941,12 +1965,12 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_760____closed__1; static lean_object* l_termDepIfThenElse___closed__5; static lean_object* l_term___x2f_x5c_____closed__4; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__1; static lean_object* l_Lean_Parser_Tactic_constructor___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__4; lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit_match__1(lean_object*); lean_object* l_Lean_Parser_Tactic_locationHyp; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__2; static lean_object* l_term___x3e_x3e_x3d_____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_11086____closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_5011____closed__5; @@ -1956,25 +1980,25 @@ lean_object* l_Lean_Parser_Tactic_refine; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__6; static lean_object* l_term___x3c_x3c_x3c_____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_10869____closed__2; static lean_object* l_term_x7e_x7e_x7e_____closed__4; static lean_object* l_Lean_Parser_Tactic_generalize___closed__5; static lean_object* l_precArg___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__3; static lean_object* l_termWithout__expected__type_____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; static lean_object* l_stx___x2c_x2b___closed__5; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__11; lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_14747__expandListLit_match__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_term___x7e_x3d_____closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19294____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_term_xac_____closed__5; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__11; static lean_object* l_term___x3e_x3e_____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__2; +static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12; static lean_object* l_myMacro____x40_Init_Notation___hyg_13196____closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__3; -static lean_object* l_myMacro____x40_Init_Notation___hyg_19525____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticUnhygienic_____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_691____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_subPrec___closed__1; @@ -1991,20 +2015,21 @@ lean_object* l_term___x3d_x3d__; lean_object* l_Lean_Parser_Tactic_erwSeq; static lean_object* l_term___x2a_x3e_____closed__2; static lean_object* l_Lean_Parser_Tactic_letrec___closed__10; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_2214____closed__5; lean_object* l_term___x5c_x2f__; static lean_object* l_Lean_Parser_Tactic_refine_x27___closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__1; static lean_object* l_Lean_Parser_Attr_simp___closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__1; lean_object* l_Lean_Parser_Tactic_rwWithRfl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__8; static lean_object* l_Lean_Parser_Tactic_intros___closed__10; static lean_object* l_term___x3d_____closed__5; static lean_object* l_Lean_Parser_Tactic_refine_x27___closed__2; static lean_object* l_term___x7c_x7c_____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_2648____closed__3; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__3; static lean_object* l_term_x5b___x5d___closed__3; @@ -2025,24 +2050,22 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__10; static lean_object* l_term___x2b_____closed__4; lean_object* l_term___x2a_x3e__; static lean_object* l_term___x24_______closed__10; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__6; static lean_object* l_prio_x28___x29___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_4167____closed__6; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_3516____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticRepeat_____closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_838____boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1; static lean_object* l_term___u2245_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_5189____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_416____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_12388____closed__9; static lean_object* l_Lean_Parser_Attr_simp___closed__8; lean_object* l_termWithout__expected__type__; -static lean_object* l_myMacro____x40_Init_Notation___hyg_19525____closed__1; -lean_object* l_myMacro____x40_Init_Notation___hyg_19525____boxed(lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Parser_Syntax_addPrec___closed__1() { _start: { @@ -27967,6 +27990,531 @@ return x_81; } } } +static lean_object* _init_l_Lean_term__Matches_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("term_Matches_"); +return x_1; +} +} +static lean_object* _init_l_Lean_term__Matches_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; +x_2 = l_Lean_term__Matches_____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_term__Matches_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" matches "); +return x_1; +} +} +static lean_object* _init_l_Lean_term__Matches_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_term__Matches_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_term__Matches_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; +x_2 = l_Lean_term__Matches_____closed__4; +x_3 = l_term___x3c_x3d_____closed__5; +x_4 = lean_alloc_ctor(2, 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; +} +} +static lean_object* _init_l_Lean_term__Matches_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_term__Matches_____closed__2; +x_2 = lean_unsigned_to_nat(50u); +x_3 = lean_unsigned_to_nat(51u); +x_4 = l_Lean_term__Matches_____closed__5; +x_5 = lean_alloc_ctor(4, 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; +} +} +static lean_object* _init_l_Lean_term__Matches__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_term__Matches_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("true"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____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; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Bool"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____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; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____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; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("false"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____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; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6; +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__14; +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; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__15; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15046_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_term__Matches_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +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; lean_object* x_78; lean_object* x_79; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = l_myMacro____x40_Init_Notation___hyg_13362____closed__1; +lean_inc(x_14); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_14); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_myMacro____x40_Init_Notation___hyg_13362____closed__5; +x_20 = lean_array_push(x_19, x_9); +x_21 = l_myMacro____x40_Init_Notation___hyg_13362____closed__4; +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_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_24 = lean_array_push(x_23, x_22); +x_25 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +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_myMacro____x40_Init_Notation___hyg_13362____closed__6; +lean_inc(x_14); +x_28 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_28, 0, x_14); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +lean_inc(x_14); +x_30 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_30, 0, x_14); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_array_push(x_23, x_11); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_25); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_myMacro____x40_Init_Notation___hyg_12862____closed__13; +lean_inc(x_14); +x_34 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_34, 0, x_14); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4; +lean_inc(x_15); +lean_inc(x_16); +x_36 = l_Lean_addMacroScope(x_16, x_35, x_15); +x_37 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3; +x_38 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9; +lean_inc(x_14); +x_39 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_39, 0, x_14); +lean_ctor_set(x_39, 1, x_37); +lean_ctor_set(x_39, 2, x_36); +lean_ctor_set(x_39, 3, x_38); +x_40 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_41 = lean_array_push(x_40, x_30); +lean_inc(x_41); +x_42 = lean_array_push(x_41, x_32); +lean_inc(x_34); +x_43 = lean_array_push(x_42, x_34); +x_44 = lean_array_push(x_43, x_39); +x_45 = l_myMacro____x40_Init_Notation___hyg_13362____closed__10; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +lean_inc(x_14); +x_48 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_48, 0, x_14); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_array_push(x_23, x_48); +x_50 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = lean_array_push(x_23, x_51); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_25); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13; +x_55 = l_Lean_addMacroScope(x_16, x_54, x_15); +x_56 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12; +x_57 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16; +x_58 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_58, 0, x_14); +lean_ctor_set(x_58, 1, x_56); +lean_ctor_set(x_58, 2, x_55); +lean_ctor_set(x_58, 3, x_57); +x_59 = lean_array_push(x_41, x_53); +x_60 = lean_array_push(x_59, x_34); +x_61 = lean_array_push(x_60, x_58); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_45); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_64 = lean_array_push(x_63, x_46); +x_65 = lean_array_push(x_64, x_62); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_25); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_array_push(x_23, x_66); +x_68 = l_myMacro____x40_Init_Notation___hyg_13362____closed__8; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = l_myMacro____x40_Init_Notation___hyg_1198____closed__8; +x_71 = lean_array_push(x_70, x_18); +x_72 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_73 = lean_array_push(x_71, x_72); +x_74 = lean_array_push(x_73, x_26); +x_75 = lean_array_push(x_74, x_72); +x_76 = lean_array_push(x_75, x_28); +x_77 = lean_array_push(x_76, x_69); +x_78 = l_myMacro____x40_Init_Notation___hyg_13362____closed__2; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +lean_ctor_set(x_12, 0, x_79); +return x_12; +} +else +{ +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; +x_80 = lean_ctor_get(x_12, 0); +x_81 = lean_ctor_get(x_12, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_12); +x_82 = lean_ctor_get(x_2, 2); +lean_inc(x_82); +x_83 = lean_ctor_get(x_2, 1); +lean_inc(x_83); +lean_dec(x_2); +x_84 = l_myMacro____x40_Init_Notation___hyg_13362____closed__1; +lean_inc(x_80); +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_80); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_myMacro____x40_Init_Notation___hyg_13362____closed__5; +x_87 = lean_array_push(x_86, x_9); +x_88 = l_myMacro____x40_Init_Notation___hyg_13362____closed__4; +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; +x_91 = lean_array_push(x_90, x_89); +x_92 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; +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_myMacro____x40_Init_Notation___hyg_13362____closed__6; +lean_inc(x_80); +x_95 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_95, 0, x_80); +lean_ctor_set(x_95, 1, x_94); +x_96 = l_myMacro____x40_Init_Notation___hyg_13362____closed__11; +lean_inc(x_80); +x_97 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_97, 0, x_80); +lean_ctor_set(x_97, 1, x_96); +x_98 = lean_array_push(x_90, x_11); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_92); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_myMacro____x40_Init_Notation___hyg_12862____closed__13; +lean_inc(x_80); +x_101 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_101, 0, x_80); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4; +lean_inc(x_82); +lean_inc(x_83); +x_103 = l_Lean_addMacroScope(x_83, x_102, x_82); +x_104 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3; +x_105 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9; +lean_inc(x_80); +x_106 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_106, 0, x_80); +lean_ctor_set(x_106, 1, x_104); +lean_ctor_set(x_106, 2, x_103); +lean_ctor_set(x_106, 3, x_105); +x_107 = l_myMacro____x40_Init_Notation___hyg_928____closed__9; +x_108 = lean_array_push(x_107, x_97); +lean_inc(x_108); +x_109 = lean_array_push(x_108, x_99); +lean_inc(x_101); +x_110 = lean_array_push(x_109, x_101); +x_111 = lean_array_push(x_110, x_106); +x_112 = l_myMacro____x40_Init_Notation___hyg_13362____closed__10; +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_111); +x_114 = l_myMacro____x40_Init_Notation___hyg_13362____closed__14; +lean_inc(x_80); +x_115 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_115, 0, x_80); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_array_push(x_90, x_115); +x_117 = l_myMacro____x40_Init_Notation___hyg_13362____closed__13; +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_116); +x_119 = lean_array_push(x_90, x_118); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_92); +lean_ctor_set(x_120, 1, x_119); +x_121 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13; +x_122 = l_Lean_addMacroScope(x_83, x_121, x_82); +x_123 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12; +x_124 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16; +x_125 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_125, 0, x_80); +lean_ctor_set(x_125, 1, x_123); +lean_ctor_set(x_125, 2, x_122); +lean_ctor_set(x_125, 3, x_124); +x_126 = lean_array_push(x_108, x_120); +x_127 = lean_array_push(x_126, x_101); +x_128 = lean_array_push(x_127, x_125); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_112); +lean_ctor_set(x_129, 1, x_128); +x_130 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; +x_131 = lean_array_push(x_130, x_113); +x_132 = lean_array_push(x_131, x_129); +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_92); +lean_ctor_set(x_133, 1, x_132); +x_134 = lean_array_push(x_90, x_133); +x_135 = l_myMacro____x40_Init_Notation___hyg_13362____closed__8; +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +x_137 = l_myMacro____x40_Init_Notation___hyg_1198____closed__8; +x_138 = lean_array_push(x_137, x_85); +x_139 = l_myMacro____x40_Init_Notation___hyg_1318____closed__12; +x_140 = lean_array_push(x_138, x_139); +x_141 = lean_array_push(x_140, x_93); +x_142 = lean_array_push(x_141, x_139); +x_143 = lean_array_push(x_142, x_95); +x_144 = lean_array_push(x_143, x_136); +x_145 = l_myMacro____x40_Init_Notation___hyg_13362____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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_81); +return x_147; +} +} +} +} static lean_object* _init_l_Lean_Parser_Tactic_intro___closed__1() { _start: { @@ -30425,7 +30973,7 @@ x_1 = l_Lean_Parser_Tactic_tacticTry_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__1() { _start: { lean_object* x_1; @@ -30433,17 +30981,17 @@ x_1 = lean_mk_string("seq1"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_intro___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -30453,7 +31001,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__4() { _start: { lean_object* x_1; @@ -30461,17 +31009,17 @@ x_1 = lean_mk_string("tacticSeq1Indented"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_intro___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -30512,7 +31060,7 @@ lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); x_17 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; x_18 = lean_array_push(x_17, x_9); -x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; x_20 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); @@ -30545,7 +31093,7 @@ x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = lean_array_push(x_17, x_37); -x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_38); @@ -30573,7 +31121,7 @@ x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_36); lean_ctor_set(x_53, 1, x_52); x_54 = lean_array_push(x_17, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); @@ -30600,7 +31148,7 @@ lean_ctor_set(x_62, 0, x_57); lean_ctor_set(x_62, 1, x_61); x_63 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; x_64 = lean_array_push(x_63, x_9); -x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); @@ -30633,7 +31181,7 @@ x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_82); lean_ctor_set(x_83, 1, x_81); x_84 = lean_array_push(x_63, x_83); -x_85 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_85 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); @@ -30661,7 +31209,7 @@ x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_82); lean_ctor_set(x_99, 1, x_98); x_100 = lean_array_push(x_63, x_99); -x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____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); @@ -30673,11 +31221,11 @@ return x_103; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -30786,7 +31334,7 @@ x_1 = l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__9; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15645_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15855_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -30861,12 +31409,12 @@ x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_23); lean_ctor_set(x_37, 1, x_36); x_38 = lean_array_push(x_21, x_37); -x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_38); x_41 = lean_array_push(x_21, x_40); -x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); @@ -30984,12 +31532,12 @@ x_103 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_103, 0, x_89); lean_ctor_set(x_103, 1, x_102); x_104 = lean_array_push(x_87, x_103); -x_105 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_105 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; 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 = lean_array_push(x_87, x_106); -x_108 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_108 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; x_109 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_109, 0, x_108); lean_ctor_set(x_109, 1, x_107); @@ -31060,11 +31608,11 @@ return x_145; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15645____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15855____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15645_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15855_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -31173,7 +31721,7 @@ x_1 = l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__9; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__1() { _start: { lean_object* x_1; @@ -31181,17 +31729,17 @@ x_1 = lean_mk_string("tacticSeqBracketed"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_intro___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3() { _start: { lean_object* x_1; @@ -31199,7 +31747,7 @@ x_1 = lean_mk_string("}"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4() { _start: { lean_object* x_1; @@ -31207,7 +31755,7 @@ x_1 = lean_mk_string("{"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -31232,7 +31780,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(1u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_12 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; lean_inc(x_11); x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); if (x_13 == 0) @@ -31289,7 +31837,7 @@ x_38 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; 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_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__3; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3; lean_inc(x_18); x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_18); @@ -31297,14 +31845,14 @@ lean_ctor_set(x_41, 1, x_40); if (lean_obj_tag(x_19) == 0) { 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; -x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__4; +x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4; x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_18); lean_ctor_set(x_43, 1, x_42); x_44 = lean_array_push(x_24, x_43); x_45 = lean_array_push(x_44, x_39); x_46 = lean_array_push(x_45, x_41); -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__2; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____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); @@ -31318,14 +31866,14 @@ lean_dec(x_18); x_49 = lean_ctor_get(x_19, 0); lean_inc(x_49); lean_dec(x_19); -x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__4; +x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4; x_51 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_51, 0, x_49); lean_ctor_set(x_51, 1, x_50); x_52 = lean_array_push(x_24, x_51); x_53 = lean_array_push(x_52, x_39); x_54 = lean_array_push(x_53, x_41); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__2; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2; x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); @@ -31375,7 +31923,7 @@ x_78 = l_myMacro____x40_Init_Notation___hyg_928____closed__8; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); -x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__3; +x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3; lean_inc(x_57); x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_57); @@ -31383,14 +31931,14 @@ lean_ctor_set(x_81, 1, x_80); if (lean_obj_tag(x_59) == 0) { 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; -x_82 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__4; +x_82 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4; x_83 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_83, 0, x_57); lean_ctor_set(x_83, 1, x_82); x_84 = lean_array_push(x_64, x_83); x_85 = lean_array_push(x_84, x_79); x_86 = lean_array_push(x_85, x_81); -x_87 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__2; +x_87 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2; x_88 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_88, 0, x_87); lean_ctor_set(x_88, 1, x_86); @@ -31406,14 +31954,14 @@ lean_dec(x_57); x_90 = lean_ctor_get(x_59, 0); lean_inc(x_90); lean_dec(x_59); -x_91 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__4; +x_91 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4; x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_90); lean_ctor_set(x_92, 1, x_91); x_93 = lean_array_push(x_64, x_92); x_94 = lean_array_push(x_93, x_79); x_95 = lean_array_push(x_94, x_81); -x_96 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__2; +x_96 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2; x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_96); lean_ctor_set(x_97, 1, x_95); @@ -31427,11 +31975,11 @@ return x_98; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -31496,7 +32044,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRfl___closed__5; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -31505,13 +32053,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_tacticRfl___closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__1; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____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); @@ -31519,7 +32067,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -31529,31 +32077,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3; 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; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__4; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -31588,10 +32136,10 @@ lean_inc(x_10); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__3; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3; x_16 = l_Lean_addMacroScope(x_12, x_15, x_11); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__2; -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__5; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_10); lean_ctor_set(x_19, 1, x_17); @@ -31611,7 +32159,7 @@ x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); x_29 = lean_array_push(x_25, x_28); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____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); @@ -31636,10 +32184,10 @@ lean_inc(x_32); x_37 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_37, 0, x_32); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__3; +x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3; x_39 = l_Lean_addMacroScope(x_35, x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__2; -x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__5; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2; +x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5; x_42 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_42, 0, x_32); lean_ctor_set(x_42, 1, x_40); @@ -31659,7 +32207,7 @@ x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); x_52 = lean_array_push(x_48, x_51); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -31731,7 +32279,7 @@ x_1 = l_Lean_Parser_Tactic_tacticAdmit___closed__5; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1() { _start: { lean_object* x_1; @@ -31739,17 +32287,17 @@ x_1 = lean_mk_string("sorry"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -31778,13 +32326,13 @@ lean_inc(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1; x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); x_15 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; x_16 = lean_array_push(x_15, x_14); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__2; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2; x_18 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); @@ -31801,7 +32349,7 @@ 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_15, x_26); -x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); @@ -31821,13 +32369,13 @@ lean_inc(x_30); x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_30); lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__1; +x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1; x_35 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_35, 0, x_30); lean_ctor_set(x_35, 1, x_34); x_36 = l_myMacro____x40_Init_Notation___hyg_71____closed__4; x_37 = lean_array_push(x_36, x_35); -x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__2; +x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____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); @@ -31844,7 +32392,7 @@ 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 = lean_array_push(x_36, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -31856,11 +32404,11 @@ return x_51; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -31925,7 +32473,7 @@ x_1 = l_Lean_Parser_Tactic_tacticInferInstance___closed__5; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -31934,13 +32482,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_tacticInferInstance___closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__1; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____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); @@ -31948,7 +32496,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -31958,31 +32506,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3; 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; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__4; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -32017,10 +32565,10 @@ lean_inc(x_10); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__3; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3; x_16 = l_Lean_addMacroScope(x_12, x_15, x_11); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__2; -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__5; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_10); lean_ctor_set(x_19, 1, x_17); @@ -32040,7 +32588,7 @@ x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); x_29 = lean_array_push(x_25, x_28); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____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); @@ -32065,10 +32613,10 @@ lean_inc(x_32); x_37 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_37, 0, x_32); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__3; +x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3; x_39 = l_Lean_addMacroScope(x_35, x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__2; -x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__5; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2; +x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5; x_42 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_42, 0, x_32); lean_ctor_set(x_42, 1, x_40); @@ -32088,7 +32636,7 @@ x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); x_52 = lean_array_push(x_48, x_51); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -33271,12 +33819,12 @@ x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); x_54 = lean_array_push(x_42, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); x_57 = lean_array_push(x_42, x_56); -x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); @@ -33335,7 +33883,7 @@ x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_52); lean_ctor_set(x_89, 1, x_88); x_90 = lean_array_push(x_42, x_89); -x_91 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_91 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_92 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); @@ -34281,7 +34829,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRefineLift_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__1() { _start: { lean_object* x_1; @@ -34289,17 +34837,17 @@ x_1 = lean_mk_string("noImplicitLambda"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3() { _start: { lean_object* x_1; @@ -34307,7 +34855,7 @@ x_1 = lean_mk_string("noImplicitLambda%"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -34351,7 +34899,7 @@ lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__3; +x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3; lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); @@ -34359,7 +34907,7 @@ lean_ctor_set(x_20, 1, x_19); x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_22 = lean_array_push(x_21, x_20); x_23 = lean_array_push(x_22, x_9); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__2; +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); @@ -34409,12 +34957,12 @@ x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_34); lean_ctor_set(x_52, 1, x_51); x_53 = lean_array_push(x_32, x_52); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); x_56 = lean_array_push(x_32, x_55); -x_57 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_57 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); @@ -34458,7 +35006,7 @@ x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_34); lean_ctor_set(x_81, 1, x_80); x_82 = lean_array_push(x_32, x_81); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_84 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_82); @@ -34488,7 +35036,7 @@ lean_inc(x_85); x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_85); lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__3; +x_93 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3; lean_inc(x_85); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_85); @@ -34496,7 +35044,7 @@ lean_ctor_set(x_94, 1, x_93); x_95 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_96 = lean_array_push(x_95, x_94); x_97 = lean_array_push(x_96, x_9); -x_98 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__2; +x_98 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____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); @@ -34546,12 +35094,12 @@ x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_108); lean_ctor_set(x_126, 1, x_125); x_127 = lean_array_push(x_106, x_126); -x_128 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_128 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; 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 = lean_array_push(x_106, x_129); -x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; x_132 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_132, 0, x_131); lean_ctor_set(x_132, 1, x_130); @@ -34595,7 +35143,7 @@ x_155 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_155, 0, x_108); lean_ctor_set(x_155, 1, x_154); x_156 = lean_array_push(x_106, x_155); -x_157 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_157 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_158 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_158, 0, x_157); lean_ctor_set(x_158, 1, x_156); @@ -34607,11 +35155,11 @@ return x_159; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -34718,7 +35266,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_____closed__9; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1() { _start: { lean_object* x_1; @@ -34726,7 +35274,7 @@ x_1 = lean_mk_string("refineLift"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2() { _start: { lean_object* x_1; @@ -34734,17 +35282,17 @@ x_1 = lean_mk_string("have"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__4() { _start: { lean_object* x_1; @@ -34752,17 +35300,17 @@ x_1 = lean_mk_string("syntheticHole"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -34791,12 +35339,12 @@ 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; 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_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); @@ -34829,7 +35377,7 @@ lean_ctor_set(x_29, 1, x_27); x_30 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -34838,7 +35386,7 @@ x_36 = lean_array_push(x_35, x_16); x_37 = lean_array_push(x_36, x_9); x_38 = lean_array_push(x_37, x_22); x_39 = lean_array_push(x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__3; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -34853,7 +35401,7 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_21); lean_ctor_set(x_47, 1, x_46); x_48 = lean_array_push(x_19, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -34868,12 +35416,12 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; lean_inc(x_51); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_51); @@ -34906,7 +35454,7 @@ lean_ctor_set(x_69, 1, x_67); x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -34915,7 +35463,7 @@ x_76 = lean_array_push(x_75, x_56); x_77 = lean_array_push(x_76, x_9); x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_74); -x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__3; +x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -34930,7 +35478,7 @@ x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_61); lean_ctor_set(x_87, 1, x_86); x_88 = lean_array_push(x_59, x_87); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____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); @@ -34942,11 +35490,11 @@ return x_91; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -34973,7 +35521,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -35045,7 +35593,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -35055,7 +35603,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__2() { _start: { lean_object* x_1; @@ -35063,17 +35611,17 @@ x_1 = lean_mk_string("haveIdDecl"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__4() { _start: { lean_object* x_1; @@ -35081,17 +35629,17 @@ x_1 = lean_mk_string("typeSpec"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -35122,7 +35670,7 @@ if (x_13 == 0) { 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; x_14 = lean_ctor_get(x_12, 0); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; lean_inc(x_14); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_14); @@ -35153,7 +35701,7 @@ lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); x_31 = lean_array_push(x_17, x_24); x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -35170,12 +35718,12 @@ x_40 = lean_array_push(x_39, x_22); x_41 = lean_array_push(x_40, x_36); x_42 = lean_array_push(x_41, x_38); x_43 = lean_array_push(x_42, x_11); -x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__3; +x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3; 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_array_push(x_27, x_45); -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__1; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -35190,7 +35738,7 @@ x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_21); lean_ctor_set(x_54, 1, x_53); x_55 = lean_array_push(x_27, x_54); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_55); @@ -35205,7 +35753,7 @@ x_59 = lean_ctor_get(x_12, 1); lean_inc(x_59); lean_inc(x_58); lean_dec(x_12); -x_60 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +x_60 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; lean_inc(x_58); x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_58); @@ -35236,7 +35784,7 @@ lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); x_76 = lean_array_push(x_62, x_69); x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5; +x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -35253,12 +35801,12 @@ x_85 = lean_array_push(x_84, x_67); x_86 = lean_array_push(x_85, x_81); x_87 = lean_array_push(x_86, x_83); x_88 = lean_array_push(x_87, x_11); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__3; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); x_91 = lean_array_push(x_72, x_90); -x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__1; +x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1; x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); @@ -35273,7 +35821,7 @@ x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_66); lean_ctor_set(x_99, 1, x_98); x_100 = lean_array_push(x_72, x_99); -x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____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); @@ -35285,11 +35833,11 @@ return x_103; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -35396,7 +35944,7 @@ x_1 = l_Lean_Parser_Tactic_tacticSuffices_____closed__9; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1() { _start: { lean_object* x_1; @@ -35404,17 +35952,17 @@ x_1 = lean_mk_string("suffices"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -35443,12 +35991,12 @@ 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; 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_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__1; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); @@ -35481,7 +36029,7 @@ lean_ctor_set(x_29, 1, x_27); x_30 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -35490,7 +36038,7 @@ x_36 = lean_array_push(x_35, x_16); x_37 = lean_array_push(x_36, x_9); x_38 = lean_array_push(x_37, x_22); x_39 = lean_array_push(x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__2; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____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); @@ -35505,7 +36053,7 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_21); lean_ctor_set(x_47, 1, x_46); x_48 = lean_array_push(x_19, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -35520,12 +36068,12 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__1; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1; lean_inc(x_51); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_51); @@ -35558,7 +36106,7 @@ lean_ctor_set(x_69, 1, x_67); x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -35567,7 +36115,7 @@ x_76 = lean_array_push(x_75, x_56); x_77 = lean_array_push(x_76, x_9); x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_74); -x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__2; +x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -35582,7 +36130,7 @@ x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_61); lean_ctor_set(x_87, 1, x_86); x_88 = lean_array_push(x_59, x_87); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____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); @@ -35594,11 +36142,11 @@ return x_91; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -35689,7 +36237,7 @@ x_1 = l_Lean_Parser_Tactic_tacticLet_____closed__7; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17532_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17742_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -35718,7 +36266,7 @@ 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; 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_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); @@ -35756,7 +36304,7 @@ lean_ctor_set(x_29, 1, x_27); x_30 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -35780,7 +36328,7 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_21); lean_ctor_set(x_47, 1, x_46); x_48 = lean_array_push(x_19, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -35795,7 +36343,7 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); @@ -35833,7 +36381,7 @@ lean_ctor_set(x_69, 1, x_67); x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -35857,7 +36405,7 @@ x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_61); lean_ctor_set(x_87, 1, x_86); x_88 = lean_array_push(x_59, x_87); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____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); @@ -35869,11 +36417,11 @@ return x_91; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17532____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17742____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17532_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17742_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -35952,7 +36500,7 @@ x_1 = l_Lean_Parser_Tactic_tacticShow_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1() { _start: { lean_object* x_1; @@ -35960,17 +36508,17 @@ x_1 = lean_mk_string("show"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__3() { _start: { lean_object* x_1; @@ -35978,17 +36526,17 @@ x_1 = lean_mk_string("fromTerm"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5() { _start: { lean_object* x_1; @@ -35996,7 +36544,7 @@ x_1 = lean_mk_string("from"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -36025,17 +36573,17 @@ 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; 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_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__1; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__5; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5; lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); @@ -36058,13 +36606,13 @@ lean_ctor_set(x_26, 1, x_24); x_27 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_28 = lean_array_push(x_27, x_20); x_29 = lean_array_push(x_28, x_26); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); x_32 = lean_array_push(x_27, x_18); x_33 = lean_array_push(x_32, x_31); -x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__4; +x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4; x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); @@ -36072,7 +36620,7 @@ x_36 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; x_37 = lean_array_push(x_36, x_16); x_38 = lean_array_push(x_37, x_9); x_39 = lean_array_push(x_38, x_35); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__2; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____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); @@ -36088,7 +36636,7 @@ 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 = lean_array_push(x_23, x_48); -x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); @@ -36103,17 +36651,17 @@ x_53 = lean_ctor_get(x_10, 1); lean_inc(x_53); lean_inc(x_52); lean_dec(x_10); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; lean_inc(x_52); x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_52); lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__1; +x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1; lean_inc(x_52); x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_52); lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__5; +x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5; lean_inc(x_52); x_59 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_59, 0, x_52); @@ -36136,13 +36684,13 @@ lean_ctor_set(x_67, 1, x_65); x_68 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_69 = lean_array_push(x_68, x_61); x_70 = lean_array_push(x_69, x_67); -x_71 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_71 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); x_73 = lean_array_push(x_68, x_59); x_74 = lean_array_push(x_73, x_72); -x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__4; +x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4; x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_74); @@ -36150,7 +36698,7 @@ x_77 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; x_78 = lean_array_push(x_77, x_57); x_79 = lean_array_push(x_78, x_9); x_80 = lean_array_push(x_79, x_76); -x_81 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__2; +x_81 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____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); @@ -36166,7 +36714,7 @@ x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_88); lean_ctor_set(x_89, 1, x_87); x_90 = lean_array_push(x_64, x_89); -x_91 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_91 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_92 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); @@ -36178,11 +36726,11 @@ return x_93; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -36339,7 +36887,7 @@ x_1 = l_Lean_Parser_Tactic_letrec___closed__13; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -36349,7 +36897,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -36359,7 +36907,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3() { _start: { lean_object* x_1; @@ -36367,7 +36915,7 @@ x_1 = lean_mk_string("rec"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -36407,7 +36955,7 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; x_14 = lean_unsigned_to_nat(1u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_dec(x_1); -x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__1; +x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__1; lean_inc(x_15); x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); if (x_17 == 0) @@ -36429,7 +36977,7 @@ if (x_21 == 0) { 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; x_22 = lean_ctor_get(x_20, 0); -x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1; +x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; lean_inc(x_22); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_22); @@ -36439,7 +36987,7 @@ lean_inc(x_22); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_22); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__3; +x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3; lean_inc(x_22); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_22); @@ -36477,7 +37025,7 @@ lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); x_46 = lean_array_push(x_29, x_40); x_47 = lean_array_push(x_46, x_45); -x_48 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_48 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); @@ -36486,7 +37034,7 @@ x_51 = lean_array_push(x_50, x_32); x_52 = lean_array_push(x_51, x_15); x_53 = lean_array_push(x_52, x_38); x_54 = lean_array_push(x_53, x_49); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__2; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__2; x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); @@ -36507,7 +37055,7 @@ x_62 = lean_ctor_get(x_20, 1); lean_inc(x_62); lean_inc(x_61); lean_dec(x_20); -x_63 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1; +x_63 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1; lean_inc(x_61); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_61); @@ -36517,7 +37065,7 @@ lean_inc(x_61); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_61); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__3; +x_67 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3; lean_inc(x_61); x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_61); @@ -36555,7 +37103,7 @@ lean_ctor_set(x_85, 0, x_84); lean_ctor_set(x_85, 1, x_83); x_86 = lean_array_push(x_69, x_80); x_87 = lean_array_push(x_86, x_85); -x_88 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_88 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_88); lean_ctor_set(x_89, 1, x_87); @@ -36564,7 +37112,7 @@ x_91 = lean_array_push(x_90, x_72); x_92 = lean_array_push(x_91, x_15); x_93 = lean_array_push(x_92, x_78); x_94 = lean_array_push(x_93, x_89); -x_95 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__2; +x_95 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____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); @@ -36584,11 +37132,11 @@ return x_101; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -36667,7 +37215,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__6; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17979_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18189_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -36711,7 +37259,7 @@ lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__3; +x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3; lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); @@ -36719,7 +37267,7 @@ lean_ctor_set(x_20, 1, x_19); x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_22 = lean_array_push(x_21, x_20); x_23 = lean_array_push(x_22, x_9); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__2; +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); @@ -36769,12 +37317,12 @@ x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_34); lean_ctor_set(x_52, 1, x_51); x_53 = lean_array_push(x_32, x_52); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); x_56 = lean_array_push(x_32, x_55); -x_57 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_57 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); @@ -36818,7 +37366,7 @@ x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_34); lean_ctor_set(x_81, 1, x_80); x_82 = lean_array_push(x_32, x_81); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_84 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_82); @@ -36848,7 +37396,7 @@ lean_inc(x_85); x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_85); lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__3; +x_93 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3; lean_inc(x_85); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_85); @@ -36856,7 +37404,7 @@ lean_ctor_set(x_94, 1, x_93); x_95 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_96 = lean_array_push(x_95, x_94); x_97 = lean_array_push(x_96, x_9); -x_98 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__2; +x_98 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____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); @@ -36906,12 +37454,12 @@ x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_108); lean_ctor_set(x_126, 1, x_125); x_127 = lean_array_push(x_106, x_126); -x_128 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_128 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; 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 = lean_array_push(x_106, x_129); -x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; x_132 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_132, 0, x_131); lean_ctor_set(x_132, 1, x_130); @@ -36955,7 +37503,7 @@ x_155 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_155, 0, x_108); lean_ctor_set(x_155, 1, x_154); x_156 = lean_array_push(x_106, x_155); -x_157 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_157 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_158 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_158, 0, x_157); lean_ctor_set(x_158, 1, x_156); @@ -36967,11 +37515,11 @@ return x_159; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17979____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18189____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17979_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18189_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -37050,7 +37598,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_x27_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1() { _start: { lean_object* x_1; @@ -37058,7 +37606,7 @@ x_1 = lean_mk_string("refineLift'"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -37087,12 +37635,12 @@ 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; 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_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); @@ -37125,7 +37673,7 @@ lean_ctor_set(x_29, 1, x_27); x_30 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -37134,7 +37682,7 @@ x_36 = lean_array_push(x_35, x_16); x_37 = lean_array_push(x_36, x_9); x_38 = lean_array_push(x_37, x_22); x_39 = lean_array_push(x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__3; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -37149,7 +37697,7 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_21); lean_ctor_set(x_47, 1, x_46); x_48 = lean_array_push(x_19, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -37164,12 +37712,12 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2; lean_inc(x_51); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_51); @@ -37202,7 +37750,7 @@ lean_ctor_set(x_69, 1, x_67); x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -37211,7 +37759,7 @@ x_76 = lean_array_push(x_75, x_56); x_77 = lean_array_push(x_76, x_9); x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_74); -x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__3; +x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -37226,7 +37774,7 @@ x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_61); lean_ctor_set(x_87, 1, x_86); x_88 = lean_array_push(x_59, x_87); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____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); @@ -37238,11 +37786,11 @@ return x_91; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -37349,7 +37897,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__8; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18321_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18531_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -37411,7 +37959,7 @@ lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); x_31 = lean_array_push(x_17, x_24); x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -37428,12 +37976,12 @@ x_40 = lean_array_push(x_39, x_22); x_41 = lean_array_push(x_40, x_36); x_42 = lean_array_push(x_41, x_38); x_43 = lean_array_push(x_42, x_11); -x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__3; +x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3; 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_array_push(x_27, x_45); -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__1; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -37448,7 +37996,7 @@ x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_21); lean_ctor_set(x_54, 1, x_53); x_55 = lean_array_push(x_27, x_54); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_55); @@ -37494,7 +38042,7 @@ lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); x_76 = lean_array_push(x_62, x_69); x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5; +x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -37511,12 +38059,12 @@ x_85 = lean_array_push(x_84, x_67); x_86 = lean_array_push(x_85, x_81); x_87 = lean_array_push(x_86, x_83); x_88 = lean_array_push(x_87, x_11); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__3; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); x_91 = lean_array_push(x_72, x_90); -x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__1; +x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1; x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); @@ -37531,7 +38079,7 @@ x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_66); lean_ctor_set(x_99, 1, x_98); x_100 = lean_array_push(x_72, x_99); -x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____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); @@ -37543,11 +38091,11 @@ return x_103; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18321____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18531____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18321_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18531_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -37626,7 +38174,7 @@ x_1 = l_Lean_Parser_Tactic_tacticLet_x27_____closed__6; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18479_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18689_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -37655,7 +38203,7 @@ 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; 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_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); @@ -37693,7 +38241,7 @@ lean_ctor_set(x_29, 1, x_27); x_30 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -37717,7 +38265,7 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_21); lean_ctor_set(x_47, 1, x_46); x_48 = lean_array_push(x_19, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -37732,7 +38280,7 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); @@ -37770,7 +38318,7 @@ lean_ctor_set(x_69, 1, x_67); x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -37794,7 +38342,7 @@ x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_61); lean_ctor_set(x_87, 1, x_86); x_88 = lean_array_push(x_59, x_87); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____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); @@ -37806,11 +38354,11 @@ return x_91; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18479____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18689____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18479_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18689_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -38000,7 +38548,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -38779,7 +39327,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRepeat_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18796____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1() { _start: { lean_object* x_1; @@ -38787,7 +39335,7 @@ x_1 = lean_mk_string("repeat"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18796_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -38810,7 +39358,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); -x_10 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_10 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; lean_inc(x_9); x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); if (x_11 == 0) @@ -38886,7 +39434,7 @@ x_44 = l_Lean_Parser_Tactic_first___closed__8; 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 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18796____closed__1; +x_46 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1; lean_inc(x_18); x_47 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_47, 0, x_18); @@ -38908,7 +39456,7 @@ x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_39); lean_ctor_set(x_57, 1, x_56); x_58 = lean_array_push(x_25, x_57); -x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); @@ -39025,7 +39573,7 @@ x_116 = l_Lean_Parser_Tactic_first___closed__8; 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_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18796____closed__1; +x_118 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1; lean_inc(x_89); x_119 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_119, 0, x_89); @@ -39047,7 +39595,7 @@ x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_111); lean_ctor_set(x_129, 1, x_128); x_130 = lean_array_push(x_97, x_129); -x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; x_132 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_132, 0, x_131); lean_ctor_set(x_132, 1, x_130); @@ -39111,11 +39659,11 @@ return x_161; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18796____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18796_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -39180,7 +39728,7 @@ x_1 = l_Lean_Parser_Tactic_tacticTrivial___closed__5; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19026_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19236_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -39243,16 +39791,16 @@ return x_25; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19026____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19236____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19026_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19236_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19084_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19294_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -39315,16 +39863,16 @@ return x_25; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19084____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19294____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19084_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19294_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19142_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19352_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -39387,16 +39935,16 @@ return x_25; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19142____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19352____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19142_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19352_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1() { _start: { lean_object* x_1; @@ -39404,22 +39952,22 @@ x_1 = lean_mk_string("True.intro"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____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); @@ -39427,7 +39975,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__4() { _start: { lean_object* x_1; @@ -39435,51 +39983,51 @@ x_1 = lean_mk_string("True"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__5; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__5; x_2 = l_Lean_Parser_Tactic_intro___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__6; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____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; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__7; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____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* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -39514,10 +40062,10 @@ lean_inc(x_10); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__6; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6; x_16 = l_Lean_addMacroScope(x_12, x_15, x_11); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__3; -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__8; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_10); lean_ctor_set(x_19, 1, x_17); @@ -39551,10 +40099,10 @@ lean_inc(x_25); x_30 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_30, 0, x_25); lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__6; +x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6; x_32 = l_Lean_addMacroScope(x_28, x_31, x_27); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__3; -x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__8; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3; +x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8; x_35 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_35, 0, x_25); lean_ctor_set(x_35, 1, x_33); @@ -39575,7 +40123,7 @@ return x_41; } } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1() { _start: { lean_object* x_1; @@ -39583,22 +40131,22 @@ x_1 = lean_mk_string("And.intro"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____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); @@ -39606,7 +40154,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -39616,31 +40164,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4; 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; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__5; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____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; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7() { _start: { lean_object* x_1; @@ -39648,7 +40196,7 @@ x_1 = lean_mk_string("<;>"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -39683,10 +40231,10 @@ lean_inc(x_10); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__4; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4; x_16 = l_Lean_addMacroScope(x_12, x_15, x_11); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__3; -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__6; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6; lean_inc(x_10); x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_10); @@ -39700,7 +40248,7 @@ x_23 = l_Lean_Parser_Tactic_apply___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 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__7; +x_25 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7; lean_inc(x_10); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_10); @@ -39743,10 +40291,10 @@ lean_inc(x_38); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_38); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__4; +x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4; x_45 = l_Lean_addMacroScope(x_41, x_44, x_40); -x_46 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__3; -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__6; +x_46 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6; lean_inc(x_38); x_48 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_48, 0, x_38); @@ -39760,7 +40308,7 @@ x_52 = l_Lean_Parser_Tactic_apply___closed__2; x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__7; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7; lean_inc(x_38); x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_38); @@ -39864,7 +40412,7 @@ x_1 = l_Lean_Parser_Tactic_tacticUnhygienic_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1() { _start: { lean_object* x_1; @@ -39872,17 +40420,17 @@ x_1 = lean_mk_string("set_option"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_intro___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__3() { _start: { lean_object* x_1; @@ -39890,22 +40438,22 @@ x_1 = lean_mk_string("tactic.hygienic"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__3; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__4; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -39913,7 +40461,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__6() { _start: { lean_object* x_1; @@ -39921,25 +40469,17 @@ x_1 = lean_mk_string("hygienic"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__6; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__6; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("false"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8() { _start: { lean_object* x_1; @@ -39947,7 +40487,7 @@ x_1 = lean_mk_string("in"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -39982,27 +40522,27 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__1; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__7; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7; x_18 = l_Lean_addMacroScope(x_14, x_17, x_13); x_19 = lean_box(0); -x_20 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__5; +x_20 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5; lean_inc(x_12); x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_12); lean_ctor_set(x_21, 1, x_20); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_19); -x_22 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__8; +x_22 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; lean_inc(x_12); x_23 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_23, 0, x_12); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__9; +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8; x_25 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_25, 0, x_12); lean_ctor_set(x_25, 1, x_24); @@ -40012,7 +40552,7 @@ x_28 = lean_array_push(x_27, x_21); x_29 = lean_array_push(x_28, x_23); x_30 = lean_array_push(x_29, x_25); x_31 = lean_array_push(x_30, x_9); -x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__2; +x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____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); @@ -40023,7 +40563,7 @@ x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = lean_array_push(x_34, x_37); -x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____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); @@ -40043,27 +40583,27 @@ lean_inc(x_43); x_44 = lean_ctor_get(x_2, 1); lean_inc(x_44); lean_dec(x_2); -x_45 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__1; +x_45 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1; lean_inc(x_41); x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_41); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__7; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7; x_48 = l_Lean_addMacroScope(x_44, x_47, x_43); x_49 = lean_box(0); -x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__5; +x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5; lean_inc(x_41); x_51 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_51, 0, x_41); lean_ctor_set(x_51, 1, x_50); lean_ctor_set(x_51, 2, x_48); lean_ctor_set(x_51, 3, x_49); -x_52 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__8; +x_52 = l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10; lean_inc(x_41); x_53 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_53, 0, x_41); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__9; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8; x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_41); lean_ctor_set(x_55, 1, x_54); @@ -40073,7 +40613,7 @@ x_58 = lean_array_push(x_57, x_51); x_59 = lean_array_push(x_58, x_53); x_60 = lean_array_push(x_59, x_55); x_61 = lean_array_push(x_60, x_9); -x_62 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__2; +x_62 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____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); @@ -40084,7 +40624,7 @@ x_67 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); x_68 = lean_array_push(x_64, x_67); -x_69 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2; +x_69 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2; x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_68); @@ -40302,7 +40842,7 @@ x_1 = l_term_u2039___u203a___closed__9; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_19525____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_19735____closed__1() { _start: { lean_object* x_1; @@ -40310,17 +40850,17 @@ x_1 = lean_mk_string("byTactic"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_19525____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_19735____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_19525____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_19735____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_19525____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_19735____closed__3() { _start: { lean_object* x_1; @@ -40328,7 +40868,7 @@ x_1 = lean_mk_string("by"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_19525_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_19735_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -40362,7 +40902,7 @@ lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_myMacro____x40_Init_Notation___hyg_19525____closed__3; +x_15 = l_myMacro____x40_Init_Notation___hyg_19735____closed__3; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); @@ -40392,18 +40932,18 @@ x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); x_32 = lean_array_push(x_19, x_31); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; 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 = lean_array_push(x_19, x_34); -x_36 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_36 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = lean_array_push(x_23, x_16); x_39 = lean_array_push(x_38, x_37); -x_40 = l_myMacro____x40_Init_Notation___hyg_19525____closed__2; +x_40 = l_myMacro____x40_Init_Notation___hyg_19735____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); @@ -40455,7 +40995,7 @@ lean_inc(x_61); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_61); lean_ctor_set(x_64, 1, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_19525____closed__3; +x_65 = l_myMacro____x40_Init_Notation___hyg_19735____closed__3; lean_inc(x_61); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_61); @@ -40485,18 +41025,18 @@ x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); x_82 = lean_array_push(x_69, x_81); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5; +x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5; x_84 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_82); x_85 = lean_array_push(x_69, x_84); -x_86 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; +x_86 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3; 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 = lean_array_push(x_73, x_66); x_89 = lean_array_push(x_88, x_87); -x_90 = l_myMacro____x40_Init_Notation___hyg_19525____closed__2; +x_90 = l_myMacro____x40_Init_Notation___hyg_19735____closed__2; x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); @@ -40540,11 +41080,11 @@ return x_111; } } } -lean_object* l_myMacro____x40_Init_Notation___hyg_19525____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_19735____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_Notation___hyg_19525_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_19735_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -42712,6 +43252,52 @@ l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__6 = _init_l_Lean_myMa lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__6); l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__7 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__7(); lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_14747____closed__7); +l_Lean_term__Matches_____closed__1 = _init_l_Lean_term__Matches_____closed__1(); +lean_mark_persistent(l_Lean_term__Matches_____closed__1); +l_Lean_term__Matches_____closed__2 = _init_l_Lean_term__Matches_____closed__2(); +lean_mark_persistent(l_Lean_term__Matches_____closed__2); +l_Lean_term__Matches_____closed__3 = _init_l_Lean_term__Matches_____closed__3(); +lean_mark_persistent(l_Lean_term__Matches_____closed__3); +l_Lean_term__Matches_____closed__4 = _init_l_Lean_term__Matches_____closed__4(); +lean_mark_persistent(l_Lean_term__Matches_____closed__4); +l_Lean_term__Matches_____closed__5 = _init_l_Lean_term__Matches_____closed__5(); +lean_mark_persistent(l_Lean_term__Matches_____closed__5); +l_Lean_term__Matches_____closed__6 = _init_l_Lean_term__Matches_____closed__6(); +lean_mark_persistent(l_Lean_term__Matches_____closed__6); +l_Lean_term__Matches__ = _init_l_Lean_term__Matches__(); +lean_mark_persistent(l_Lean_term__Matches__); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__1); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__2 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__2); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__3); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__4); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__5 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__5(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__5); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__6); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__7 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__7(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__7); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__8 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__8(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__8); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__9); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__10); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__11 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__11(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__11); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__12); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__13); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__14 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__14(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__14); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__15 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__15(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__15); +l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16 = _init_l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16(); +lean_mark_persistent(l_Lean_myMacro____x40_Init_Notation___hyg_15046____closed__16); l_Lean_Parser_Tactic_intro___closed__1 = _init_l_Lean_Parser_Tactic_intro___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_intro___closed__1); l_Lean_Parser_Tactic_intro___closed__2 = _init_l_Lean_Parser_Tactic_intro___closed__2(); @@ -43166,16 +43752,16 @@ l_Lean_Parser_Tactic_tacticTry_____closed__6 = _init_l_Lean_Parser_Tactic_tactic lean_mark_persistent(l_Lean_Parser_Tactic_tacticTry_____closed__6); l_Lean_Parser_Tactic_tacticTry__ = _init_l_Lean_Parser_Tactic_tacticTry__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticTry__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15698____closed__5); l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__1 = _init_l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__1); l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__2 = _init_l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__2(); @@ -43216,14 +43802,14 @@ l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__9 = _init_l_Lean_Parser_Tactic_t lean_mark_persistent(l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__9); l_Lean_Parser_Tactic_tactic_xb7_x2e__ = _init_l_Lean_Parser_Tactic_tactic_xb7_x2e__(); lean_mark_persistent(l_Lean_Parser_Tactic_tactic_xb7_x2e__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15852____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16062____closed__4); l_Lean_Parser_Tactic_tacticRfl___closed__1 = _init_l_Lean_Parser_Tactic_tacticRfl___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRfl___closed__1); l_Lean_Parser_Tactic_tacticRfl___closed__2 = _init_l_Lean_Parser_Tactic_tacticRfl___closed__2(); @@ -43236,16 +43822,16 @@ l_Lean_Parser_Tactic_tacticRfl___closed__5 = _init_l_Lean_Parser_Tactic_tacticRf lean_mark_persistent(l_Lean_Parser_Tactic_tacticRfl___closed__5); l_Lean_Parser_Tactic_tacticRfl = _init_l_Lean_Parser_Tactic_tacticRfl(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRfl); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15986____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16196____closed__5); l_Lean_Parser_Tactic_tacticAdmit___closed__1 = _init_l_Lean_Parser_Tactic_tacticAdmit___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticAdmit___closed__1); l_Lean_Parser_Tactic_tacticAdmit___closed__2 = _init_l_Lean_Parser_Tactic_tacticAdmit___closed__2(); @@ -43258,10 +43844,10 @@ l_Lean_Parser_Tactic_tacticAdmit___closed__5 = _init_l_Lean_Parser_Tactic_tactic lean_mark_persistent(l_Lean_Parser_Tactic_tacticAdmit___closed__5); l_Lean_Parser_Tactic_tacticAdmit = _init_l_Lean_Parser_Tactic_tacticAdmit(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticAdmit); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16290____closed__2); l_Lean_Parser_Tactic_tacticInferInstance___closed__1 = _init_l_Lean_Parser_Tactic_tacticInferInstance___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticInferInstance___closed__1); l_Lean_Parser_Tactic_tacticInferInstance___closed__2 = _init_l_Lean_Parser_Tactic_tacticInferInstance___closed__2(); @@ -43274,16 +43860,16 @@ l_Lean_Parser_Tactic_tacticInferInstance___closed__5 = _init_l_Lean_Parser_Tacti lean_mark_persistent(l_Lean_Parser_Tactic_tacticInferInstance___closed__5); l_Lean_Parser_Tactic_tacticInferInstance = _init_l_Lean_Parser_Tactic_tacticInferInstance(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticInferInstance); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16168____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16378____closed__5); l_Lean_Parser_Tactic_locationWildcard___closed__1 = _init_l_Lean_Parser_Tactic_locationWildcard___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_locationWildcard___closed__1); l_Lean_Parser_Tactic_locationWildcard___closed__2 = _init_l_Lean_Parser_Tactic_locationWildcard___closed__2(); @@ -43638,12 +44224,12 @@ l_Lean_Parser_Tactic_tacticRefineLift_____closed__6 = _init_l_Lean_Parser_Tactic lean_mark_persistent(l_Lean_Parser_Tactic_tacticRefineLift_____closed__6); l_Lean_Parser_Tactic_tacticRefineLift__ = _init_l_Lean_Parser_Tactic_tacticRefineLift__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRefineLift__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16902____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17112____closed__3); l_Lean_Parser_Tactic_tacticHave_____closed__1 = _init_l_Lean_Parser_Tactic_tacticHave_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____closed__1); l_Lean_Parser_Tactic_tacticHave_____closed__2 = _init_l_Lean_Parser_Tactic_tacticHave_____closed__2(); @@ -43664,16 +44250,16 @@ l_Lean_Parser_Tactic_tacticHave_____closed__9 = _init_l_Lean_Parser_Tactic_tacti lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____closed__9); l_Lean_Parser_Tactic_tacticHave__ = _init_l_Lean_Parser_Tactic_tacticHave__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17315____closed__5); l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__1 = _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__1); l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__2 = _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__2(); @@ -43690,16 +44276,16 @@ l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7 = _init_l_Lean_Parser_ lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7); l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__ = _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17454____closed__5); l_Lean_Parser_Tactic_tacticSuffices_____closed__1 = _init_l_Lean_Parser_Tactic_tacticSuffices_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticSuffices_____closed__1); l_Lean_Parser_Tactic_tacticSuffices_____closed__2 = _init_l_Lean_Parser_Tactic_tacticSuffices_____closed__2(); @@ -43720,10 +44306,10 @@ l_Lean_Parser_Tactic_tacticSuffices_____closed__9 = _init_l_Lean_Parser_Tactic_t lean_mark_persistent(l_Lean_Parser_Tactic_tacticSuffices_____closed__9); l_Lean_Parser_Tactic_tacticSuffices__ = _init_l_Lean_Parser_Tactic_tacticSuffices__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticSuffices__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17612____closed__2); l_Lean_Parser_Tactic_tacticLet_____closed__1 = _init_l_Lean_Parser_Tactic_tacticLet_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticLet_____closed__1); l_Lean_Parser_Tactic_tacticLet_____closed__2 = _init_l_Lean_Parser_Tactic_tacticLet_____closed__2(); @@ -43754,16 +44340,16 @@ l_Lean_Parser_Tactic_tacticShow_____closed__6 = _init_l_Lean_Parser_Tactic_tacti lean_mark_persistent(l_Lean_Parser_Tactic_tacticShow_____closed__6); l_Lean_Parser_Tactic_tacticShow__ = _init_l_Lean_Parser_Tactic_tacticShow__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticShow__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17873____closed__5); l_Lean_Parser_Tactic_letrec___closed__1 = _init_l_Lean_Parser_Tactic_letrec___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_letrec___closed__1); l_Lean_Parser_Tactic_letrec___closed__2 = _init_l_Lean_Parser_Tactic_letrec___closed__2(); @@ -43792,12 +44378,12 @@ l_Lean_Parser_Tactic_letrec___closed__13 = _init_l_Lean_Parser_Tactic_letrec___c lean_mark_persistent(l_Lean_Parser_Tactic_letrec___closed__13); l_Lean_Parser_Tactic_letrec = _init_l_Lean_Parser_Tactic_letrec(); lean_mark_persistent(l_Lean_Parser_Tactic_letrec); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17801____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18011____closed__3); l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__1 = _init_l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__1); l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__2 = _init_l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__2(); @@ -43826,8 +44412,8 @@ l_Lean_Parser_Tactic_tacticHave_x27_____closed__6 = _init_l_Lean_Parser_Tactic_t lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_x27_____closed__6); l_Lean_Parser_Tactic_tacticHave_x27__ = _init_l_Lean_Parser_Tactic_tacticHave_x27__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_x27__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18182____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18392____closed__1); l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__1 = _init_l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__1); l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__2 = _init_l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__2(); @@ -44030,8 +44616,8 @@ l_Lean_Parser_Tactic_tacticRepeat_____closed__6 = _init_l_Lean_Parser_Tactic_tac lean_mark_persistent(l_Lean_Parser_Tactic_tacticRepeat_____closed__6); l_Lean_Parser_Tactic_tacticRepeat__ = _init_l_Lean_Parser_Tactic_tacticRepeat__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRepeat__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18796____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18796____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18796____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19006____closed__1); l_Lean_Parser_Tactic_tacticTrivial___closed__1 = _init_l_Lean_Parser_Tactic_tacticTrivial___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticTrivial___closed__1); l_Lean_Parser_Tactic_tacticTrivial___closed__2 = _init_l_Lean_Parser_Tactic_tacticTrivial___closed__2(); @@ -44044,36 +44630,36 @@ l_Lean_Parser_Tactic_tacticTrivial___closed__5 = _init_l_Lean_Parser_Tactic_tact lean_mark_persistent(l_Lean_Parser_Tactic_tacticTrivial___closed__5); l_Lean_Parser_Tactic_tacticTrivial = _init_l_Lean_Parser_Tactic_tacticTrivial(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticTrivial); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19200____closed__8); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19273____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19410____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19483____closed__7); l_Lean_Parser_Tactic_tacticUnhygienic_____closed__1 = _init_l_Lean_Parser_Tactic_tacticUnhygienic_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticUnhygienic_____closed__1); l_Lean_Parser_Tactic_tacticUnhygienic_____closed__2 = _init_l_Lean_Parser_Tactic_tacticUnhygienic_____closed__2(); @@ -44088,24 +44674,22 @@ l_Lean_Parser_Tactic_tacticUnhygienic_____closed__6 = _init_l_Lean_Parser_Tactic lean_mark_persistent(l_Lean_Parser_Tactic_tacticUnhygienic_____closed__6); l_Lean_Parser_Tactic_tacticUnhygienic__ = _init_l_Lean_Parser_Tactic_tacticUnhygienic__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticUnhygienic__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__8); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19379____closed__9); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19589____closed__8); l_Lean_Parser_Attr_simp___closed__1 = _init_l_Lean_Parser_Attr_simp___closed__1(); lean_mark_persistent(l_Lean_Parser_Attr_simp___closed__1); l_Lean_Parser_Attr_simp___closed__2 = _init_l_Lean_Parser_Attr_simp___closed__2(); @@ -44144,12 +44728,12 @@ l_term_u2039___u203a___closed__9 = _init_l_term_u2039___u203a___closed__9(); lean_mark_persistent(l_term_u2039___u203a___closed__9); l_term_u2039___u203a = _init_l_term_u2039___u203a(); lean_mark_persistent(l_term_u2039___u203a); -l_myMacro____x40_Init_Notation___hyg_19525____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_19525____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_19525____closed__1); -l_myMacro____x40_Init_Notation___hyg_19525____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_19525____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_19525____closed__2); -l_myMacro____x40_Init_Notation___hyg_19525____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_19525____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_19525____closed__3); +l_myMacro____x40_Init_Notation___hyg_19735____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_19735____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_19735____closed__1); +l_myMacro____x40_Init_Notation___hyg_19735____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_19735____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_19735____closed__2); +l_myMacro____x40_Init_Notation___hyg_19735____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_19735____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_19735____closed__3); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 86eb1764bf..287487db75 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -558,7 +558,7 @@ static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_App_0__ lean_object* l_List_foldr___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__5; -lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo(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_panic_fn(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toName_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -19014,7 +19014,7 @@ lean_inc(x_1); x_19 = l_Lean_Elab_Term_mkConst(x_1, x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(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; uint8_t x_26; +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; uint8_t x_27; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -19022,44 +19022,45 @@ lean_inc(x_21); lean_dec(x_19); x_22 = l_Lean_Elab_Term_LVal_getRef(x_2); x_23 = lean_box(0); +x_24 = lean_box(0); lean_inc(x_20); -x_24 = l_Lean_Elab_Term_addTermInfo(x_22, x_20, x_23, x_11, x_12, x_13, x_14, x_15, x_16, x_21); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = l_List_isEmpty___rarg(x_3); -if (x_26 == 0) +x_25 = l_Lean_Elab_Term_addTermInfo(x_22, x_20, x_23, x_23, x_24, x_11, x_12, x_13, x_14, x_15, x_16, x_21); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_List_isEmpty___rarg(x_3); +if (x_27 == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_dec(x_9); lean_dec(x_1); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_10); -x_28 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; -x_29 = lean_array_push(x_28, x_27); -x_30 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_31 = 0; +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_10); +x_29 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; +x_30 = lean_array_push(x_29, x_28); +x_31 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; +x_32 = 0; lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_32 = l_Lean_Elab_Term_elabAppArgs(x_20, x_30, x_29, x_23, x_31, x_31, x_11, x_12, x_13, x_14, x_15, x_16, x_25); -if (lean_obj_tag(x_32) == 0) +x_33 = l_Lean_Elab_Term_elabAppArgs(x_20, x_31, x_30, x_23, x_32, x_32, x_11, x_12, x_13, x_14, x_15, x_16, x_26); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); -lean_dec(x_32); -x_35 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_33, x_3, x_11, x_12, x_13, x_14, x_15, x_16, x_34); -return x_35; +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_34, x_3, x_11, x_12, x_13, x_14, x_15, x_16, x_35); +return x_36; } else { -uint8_t x_36; +uint8_t x_37; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -19070,138 +19071,138 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_36 = !lean_is_exclusive(x_32); -if (x_36 == 0) +x_37 = !lean_is_exclusive(x_33); +if (x_37 == 0) { -return x_32; +return x_33; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_32, 0); -x_38 = lean_ctor_get(x_32, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_33, 0); +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_32); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} -} -} -else -{ -lean_object* x_40; -lean_dec(x_3); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_20); -x_40 = l_Lean_Meta_inferType(x_20, x_13, x_14, x_15, x_16, x_25); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_43 = l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(x_9, x_1, x_10, x_5, x_4, x_41, x_11, x_12, x_13, x_14, x_15, x_16, x_42); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_ctor_get(x_44, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_dec(x_44); -x_48 = l_Lean_Elab_Term_elabAppArgs(x_20, x_47, x_46, x_6, x_7, x_8, x_11, x_12, x_13, x_14, x_15, x_16, x_45); -return x_48; -} -else -{ -uint8_t x_49; -lean_dec(x_20); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_6); -x_49 = !lean_is_exclusive(x_43); -if (x_49 == 0) -{ -return x_43; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_43, 0); -x_51 = lean_ctor_get(x_43, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_43); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -} -else -{ -uint8_t x_53; -lean_dec(x_20); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_53 = !lean_is_exclusive(x_40); -if (x_53 == 0) -{ +lean_dec(x_33); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); return x_40; } +} +} else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_40, 0); -x_55 = lean_ctor_get(x_40, 1); +lean_object* x_41; +lean_dec(x_3); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_20); +x_41 = l_Lean_Meta_inferType(x_20, x_13, x_14, x_15, x_16, x_26); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_44 = l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(x_9, x_1, x_10, x_5, x_4, x_42, x_11, x_12, x_13, x_14, x_15, x_16, x_43); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Elab_Term_elabAppArgs(x_20, x_48, x_47, x_6, x_7, x_8, x_11, x_12, x_13, x_14, x_15, x_16, x_46); +return x_49; +} +else +{ +uint8_t x_50; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_6); +x_50 = !lean_is_exclusive(x_44); +if (x_50 == 0) +{ +return x_44; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_44, 0); +x_52 = lean_ctor_get(x_44, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_44); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_54 = !lean_is_exclusive(x_41); +if (x_54 == 0) +{ +return x_41; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_41, 0); +x_56 = lean_ctor_get(x_41, 1); +lean_inc(x_56); lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_40); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +lean_dec(x_41); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } } else { -uint8_t x_57; +uint8_t x_58; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -19215,23 +19216,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_57 = !lean_is_exclusive(x_19); -if (x_57 == 0) +x_58 = !lean_is_exclusive(x_19); +if (x_58 == 0) { return x_19; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_19, 0); -x_59 = lean_ctor_get(x_19, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_19, 0); +x_60 = lean_ctor_get(x_19, 1); +lean_inc(x_60); lean_inc(x_59); -lean_inc(x_58); lean_dec(x_19); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; } } } @@ -19311,7 +19312,7 @@ lean_inc(x_10); x_30 = l_Lean_Elab_Term_mkConst(x_28, x_29, x_10, x_11, x_12, x_13, x_14, x_15, x_27); if (lean_obj_tag(x_30) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +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; uint8_t x_38; x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); @@ -19320,48 +19321,49 @@ lean_dec(x_30); x_33 = l_Lean_Elab_Term_LVal_getRef(x_2); lean_dec(x_2); x_34 = lean_box(0); +x_35 = lean_box(0); lean_inc(x_31); -x_35 = l_Lean_Elab_Term_addTermInfo(x_33, x_31, x_34, x_10, x_11, x_12, x_13, x_14, x_15, x_32); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = l_List_isEmpty___rarg(x_3); -if (x_37 == 0) +x_36 = l_Lean_Elab_Term_addTermInfo(x_33, x_31, x_34, x_34, x_35, x_10, x_11, x_12, x_13, x_14, x_15, x_32); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = l_List_isEmpty___rarg(x_3); +if (x_38 == 0) { -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; uint8_t x_45; lean_object* x_46; -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_26); -x_39 = lean_box(0); -x_40 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_41 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_41, 2, x_38); -x_42 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; -x_43 = lean_array_push(x_42, x_41); -x_44 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_45 = 0; +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; uint8_t x_46; lean_object* x_47; +x_39 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_39, 0, x_26); +x_40 = lean_box(0); +x_41 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_42 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +lean_ctor_set(x_42, 2, x_39); +x_43 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; +x_44 = lean_array_push(x_43, x_42); +x_45 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; +x_46 = 0; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_46 = l_Lean_Elab_Term_elabAppArgs(x_31, x_43, x_44, x_34, x_45, x_45, x_10, x_11, x_12, x_13, x_14, x_15, x_36); -if (lean_obj_tag(x_46) == 0) +x_47 = l_Lean_Elab_Term_elabAppArgs(x_31, x_44, x_45, x_34, x_46, x_46, x_10, x_11, x_12, x_13, x_14, x_15, x_37); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); -lean_dec(x_46); -x_49 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_47, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_48); -return x_49; +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_48, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_49); +return x_50; } else { -uint8_t x_50; +uint8_t x_51; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19372,54 +19374,54 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_50 = !lean_is_exclusive(x_46); -if (x_50 == 0) +x_51 = !lean_is_exclusive(x_47); +if (x_51 == 0) { -return x_46; +return x_47; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_46, 0); -x_52 = lean_ctor_get(x_46, 1); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_47, 0); +x_53 = lean_ctor_get(x_47, 1); +lean_inc(x_53); lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_46); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_dec(x_47); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_dec(x_3); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_26); -x_55 = lean_box(0); -x_56 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_57 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -lean_ctor_set(x_57, 2, x_54); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_26); +x_56 = lean_box(0); +x_57 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_58 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_55); lean_inc(x_10); -x_58 = l_Lean_Elab_Term_addNamedArg(x_4, x_57, x_10, x_11, x_12, x_13, x_14, x_15, x_36); -if (lean_obj_tag(x_58) == 0) +x_59 = l_Lean_Elab_Term_addNamedArg(x_4, x_58, x_10, x_11, x_12, x_13, x_14, x_15, x_37); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); -lean_dec(x_58); -x_61 = l_Lean_Elab_Term_elabAppArgs(x_31, x_59, x_5, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_60); -return x_61; +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = l_Lean_Elab_Term_elabAppArgs(x_31, x_60, x_5, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_61); +return x_62; } else { -uint8_t x_62; +uint8_t x_63; lean_dec(x_31); lean_dec(x_15); lean_dec(x_14); @@ -19429,30 +19431,30 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); -x_62 = !lean_is_exclusive(x_58); -if (x_62 == 0) +x_63 = !lean_is_exclusive(x_59); +if (x_63 == 0) { -return x_58; +return x_59; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_58, 0); -x_64 = lean_ctor_get(x_58, 1); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_59, 0); +x_65 = lean_ctor_get(x_59, 1); +lean_inc(x_65); lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_58); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; +lean_dec(x_59); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; } } } } else { -uint8_t x_66; +uint8_t x_67; lean_dec(x_26); lean_dec(x_15); lean_dec(x_14); @@ -19465,29 +19467,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_66 = !lean_is_exclusive(x_30); -if (x_66 == 0) +x_67 = !lean_is_exclusive(x_30); +if (x_67 == 0) { return x_30; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_30, 0); -x_68 = lean_ctor_get(x_30, 1); +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_30, 0); +x_69 = lean_ctor_get(x_30, 1); +lean_inc(x_69); lean_inc(x_68); -lean_inc(x_67); lean_dec(x_30); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } else { -uint8_t x_70; +uint8_t x_71; lean_dec(x_24); lean_dec(x_22); lean_dec(x_15); @@ -19501,96 +19503,97 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_70 = !lean_is_exclusive(x_25); -if (x_70 == 0) +x_71 = !lean_is_exclusive(x_25); +if (x_71 == 0) { return x_25; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_25, 0); -x_72 = lean_ctor_get(x_25, 1); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_25, 0); +x_73 = lean_ctor_get(x_25, 1); +lean_inc(x_73); lean_inc(x_72); -lean_inc(x_71); lean_dec(x_25); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } case 1: { -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; -x_74 = lean_ctor_get(x_17, 1); -lean_inc(x_74); -lean_dec(x_17); -x_75 = lean_ctor_get(x_18, 0); +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; +x_75 = lean_ctor_get(x_17, 1); lean_inc(x_75); -lean_dec(x_18); -x_76 = lean_ctor_get(x_19, 0); +lean_dec(x_17); +x_76 = lean_ctor_get(x_18, 0); lean_inc(x_76); -x_77 = lean_ctor_get(x_19, 1); +lean_dec(x_18); +x_77 = lean_ctor_get(x_19, 0); lean_inc(x_77); -lean_dec(x_19); -x_78 = l_Lean_mkProj(x_76, x_77, x_75); -x_79 = l_Lean_Elab_Term_LVal_getRef(x_2); -lean_dec(x_2); -x_80 = lean_box(0); +x_78 = lean_ctor_get(x_19, 1); lean_inc(x_78); -x_81 = l_Lean_Elab_Term_addTermInfo(x_79, x_78, x_80, x_10, x_11, x_12, x_13, x_14, x_15, x_74); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -x_83 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_78, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_82); -return x_83; +lean_dec(x_19); +x_79 = l_Lean_mkProj(x_77, x_78, x_76); +x_80 = l_Lean_Elab_Term_LVal_getRef(x_2); +lean_dec(x_2); +x_81 = lean_box(0); +x_82 = lean_box(0); +lean_inc(x_79); +x_83 = l_Lean_Elab_Term_addTermInfo(x_80, x_79, x_81, x_81, x_82, x_10, x_11, x_12, x_13, x_14, x_15, x_75); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); +x_85 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_79, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_84); +return x_85; } case 2: { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; -x_84 = lean_ctor_get(x_17, 1); -lean_inc(x_84); -lean_dec(x_17); -x_85 = lean_ctor_get(x_18, 0); -lean_inc(x_85); -lean_dec(x_18); -x_86 = lean_ctor_get(x_19, 0); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_86 = lean_ctor_get(x_17, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_19, 1); +lean_dec(x_17); +x_87 = lean_ctor_get(x_18, 0); lean_inc(x_87); -x_88 = lean_ctor_get(x_19, 2); +lean_dec(x_18); +x_88 = lean_ctor_get(x_19, 0); lean_inc(x_88); +x_89 = lean_ctor_get(x_19, 1); +lean_inc(x_89); +x_90 = lean_ctor_get(x_19, 2); +lean_inc(x_90); lean_dec(x_19); -x_89 = lean_name_eq(x_86, x_87); -if (x_89 == 0) +x_91 = lean_name_eq(x_88, x_89); +if (x_91 == 0) { -lean_object* x_90; +lean_object* x_92; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_90 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections(x_86, x_87, x_85, x_10, x_11, x_12, x_13, x_14, x_15, x_84); -if (lean_obj_tag(x_90) == 0) +x_92 = l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections(x_88, x_89, x_87, x_10, x_11, x_12, x_13, x_14, x_15, x_86); +if (lean_obj_tag(x_92) == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_88, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_86, x_91, x_10, x_11, x_12, x_13, x_14, x_15, x_92); +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_90, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_88, x_93, x_10, x_11, x_12, x_13, x_14, x_15, x_94); lean_dec(x_2); -return x_93; +return x_95; } else { -uint8_t x_94; +uint8_t x_96; +lean_dec(x_90); lean_dec(x_88); -lean_dec(x_86); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19602,92 +19605,93 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_94 = !lean_is_exclusive(x_90); -if (x_94 == 0) +x_96 = !lean_is_exclusive(x_92); +if (x_96 == 0) { -return x_90; +return x_92; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_90, 0); -x_96 = lean_ctor_get(x_90, 1); -lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_90); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -return x_97; +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_92, 0); +x_98 = lean_ctor_get(x_92, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_92); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; } } } else { -lean_object* x_98; -lean_dec(x_87); -x_98 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_88, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_86, x_85, x_10, x_11, x_12, x_13, x_14, x_15, x_84); +lean_object* x_100; +lean_dec(x_89); +x_100 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(x_90, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_88, x_87, x_10, x_11, x_12, x_13, x_14, x_15, x_86); lean_dec(x_2); -return x_98; +return x_100; } } case 3: { -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; uint8_t x_108; -x_99 = lean_ctor_get(x_17, 1); -lean_inc(x_99); -lean_dec(x_17); -x_100 = lean_ctor_get(x_18, 0); -lean_inc(x_100); -lean_dec(x_18); -x_101 = lean_ctor_get(x_19, 0); +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; uint8_t x_111; +x_101 = lean_ctor_get(x_17, 1); lean_inc(x_101); -x_102 = lean_ctor_get(x_19, 1); +lean_dec(x_17); +x_102 = lean_ctor_get(x_18, 0); lean_inc(x_102); -x_103 = lean_ctor_get(x_19, 2); +lean_dec(x_18); +x_103 = lean_ctor_get(x_19, 0); lean_inc(x_103); +x_104 = lean_ctor_get(x_19, 1); +lean_inc(x_104); +x_105 = lean_ctor_get(x_19, 2); +lean_inc(x_105); lean_dec(x_19); -x_104 = l_Lean_Elab_Term_LVal_getRef(x_2); +x_106 = l_Lean_Elab_Term_LVal_getRef(x_2); lean_dec(x_2); -x_105 = lean_box(0); -lean_inc(x_103); -x_106 = l_Lean_Elab_Term_addTermInfo(x_104, x_103, x_105, x_10, x_11, x_12, x_13, x_14, x_15, x_99); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -lean_dec(x_106); -x_108 = l_List_isEmpty___rarg(x_3); -if (x_108 == 0) +x_107 = lean_box(0); +x_108 = lean_box(0); +lean_inc(x_105); +x_109 = l_Lean_Elab_Term_addTermInfo(x_106, x_105, x_107, x_107, x_108, x_10, x_11, x_12, x_13, x_14, x_15, x_101); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +lean_dec(x_109); +x_111 = l_List_isEmpty___rarg(x_3); +if (x_111 == 0) { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; -lean_dec(x_102); -lean_dec(x_101); -x_109 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_109, 0, x_100); -x_110 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; -x_111 = lean_array_push(x_110, x_109); -x_112 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_113 = 0; +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; +lean_dec(x_104); +lean_dec(x_103); +x_112 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_112, 0, x_102); +x_113 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__8; +x_114 = lean_array_push(x_113, x_112); +x_115 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; +x_116 = 0; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_114 = l_Lean_Elab_Term_elabAppArgs(x_103, x_112, x_111, x_105, x_113, x_113, x_10, x_11, x_12, x_13, x_14, x_15, x_107); -if (lean_obj_tag(x_114) == 0) +x_117 = l_Lean_Elab_Term_elabAppArgs(x_105, x_115, x_114, x_107, x_116, x_116, x_10, x_11, x_12, x_13, x_14, x_15, x_110); +if (lean_obj_tag(x_117) == 0) { -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -lean_dec(x_114); -x_117 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_115, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_116); -return x_117; +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +x_120 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_118, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_119); +return x_120; } else { -uint8_t x_118; +uint8_t x_121; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19698,71 +19702,71 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_118 = !lean_is_exclusive(x_114); -if (x_118 == 0) +x_121 = !lean_is_exclusive(x_117); +if (x_121 == 0) { -return x_114; +return x_117; } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_114, 0); -x_120 = lean_ctor_get(x_114, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_114); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_117, 0); +x_123 = lean_ctor_get(x_117, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_117); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +return x_124; } } } else { -lean_object* x_122; +lean_object* x_125; lean_dec(x_3); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_103); -x_122 = l_Lean_Meta_inferType(x_103, x_12, x_13, x_14, x_15, x_107); -if (lean_obj_tag(x_122) == 0) -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_125 = l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(x_101, x_102, x_100, x_5, x_4, x_123, x_10, x_11, x_12, x_13, x_14, x_15, x_124); +lean_inc(x_105); +x_125 = l_Lean_Meta_inferType(x_105, x_12, x_13, x_14, x_15, x_110); if (lean_obj_tag(x_125) == 0) { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_object* x_126; lean_object* x_127; lean_object* x_128; x_126 = lean_ctor_get(x_125, 0); lean_inc(x_126); x_127 = lean_ctor_get(x_125, 1); lean_inc(x_127); lean_dec(x_125); -x_128 = lean_ctor_get(x_126, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_126, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_128 = l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(x_103, x_104, x_102, x_5, x_4, x_126, x_10, x_11, x_12, x_13, x_14, x_15, x_127); +if (lean_obj_tag(x_128) == 0) +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_129 = lean_ctor_get(x_128, 0); lean_inc(x_129); -lean_dec(x_126); -x_130 = l_Lean_Elab_Term_elabAppArgs(x_103, x_129, x_128, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_127); -return x_130; +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_ctor_get(x_129, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_129, 1); +lean_inc(x_132); +lean_dec(x_129); +x_133 = l_Lean_Elab_Term_elabAppArgs(x_105, x_132, x_131, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_130); +return x_133; } else { -uint8_t x_131; -lean_dec(x_103); +uint8_t x_134; +lean_dec(x_105); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19770,33 +19774,33 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_6); -x_131 = !lean_is_exclusive(x_125); -if (x_131 == 0) +x_134 = !lean_is_exclusive(x_128); +if (x_134 == 0) { -return x_125; +return x_128; } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_125, 0); -x_133 = lean_ctor_get(x_125, 1); -lean_inc(x_133); -lean_inc(x_132); -lean_dec(x_125); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -return x_134; +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_128, 0); +x_136 = lean_ctor_get(x_128, 1); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_128); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +return x_137; } } } else { -uint8_t x_135; +uint8_t x_138; +lean_dec(x_105); +lean_dec(x_104); lean_dec(x_103); lean_dec(x_102); -lean_dec(x_101); -lean_dec(x_100); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19806,105 +19810,106 @@ lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_135 = !lean_is_exclusive(x_122); -if (x_135 == 0) +x_138 = !lean_is_exclusive(x_125); +if (x_138 == 0) { -return x_122; +return x_125; } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_122, 0); -x_137 = lean_ctor_get(x_122, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_122); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_125, 0); +x_140 = lean_ctor_get(x_125, 1); +lean_inc(x_140); +lean_inc(x_139); +lean_dec(x_125); +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_140); +return x_141; } } } } default: { -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_139 = lean_ctor_get(x_17, 1); -lean_inc(x_139); -lean_dec(x_17); -x_140 = lean_ctor_get(x_18, 0); -lean_inc(x_140); -lean_dec(x_18); -x_141 = lean_ctor_get(x_19, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_19, 1); +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_142 = lean_ctor_get(x_17, 1); lean_inc(x_142); +lean_dec(x_17); +x_143 = lean_ctor_get(x_18, 0); +lean_inc(x_143); +lean_dec(x_18); +x_144 = lean_ctor_get(x_19, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_19, 1); +lean_inc(x_145); lean_dec(x_19); -x_143 = lean_box(0); +x_146 = lean_box(0); lean_inc(x_10); -x_144 = l_Lean_Elab_Term_mkConst(x_141, x_143, x_10, x_11, x_12, x_13, x_14, x_15, x_139); -if (lean_obj_tag(x_144) == 0) +x_147 = l_Lean_Elab_Term_mkConst(x_144, x_146, x_10, x_11, x_12, x_13, x_14, x_15, x_142); +if (lean_obj_tag(x_147) == 0) { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -lean_dec(x_144); -x_147 = l_Lean_Elab_Term_LVal_getRef(x_2); +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; uint8_t x_155; +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_150 = l_Lean_Elab_Term_LVal_getRef(x_2); lean_dec(x_2); -x_148 = lean_box(0); -lean_inc(x_145); -x_149 = l_Lean_Elab_Term_addTermInfo(x_147, x_145, x_148, x_10, x_11, x_12, x_13, x_14, x_15, x_146); -x_150 = lean_ctor_get(x_149, 1); -lean_inc(x_150); -lean_dec(x_149); -x_151 = l_List_isEmpty___rarg(x_3); -if (x_151 == 0) +x_151 = lean_box(0); +x_152 = lean_box(0); +lean_inc(x_148); +x_153 = l_Lean_Elab_Term_addTermInfo(x_150, x_148, x_151, x_151, x_152, x_10, x_11, x_12, x_13, x_14, x_15, x_149); +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +lean_dec(x_153); +x_155 = l_List_isEmpty___rarg(x_3); +if (x_155 == 0) { -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; uint8_t x_163; lean_object* x_164; -x_152 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_152, 0, x_140); -x_153 = lean_box(0); -x_154 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_155 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_155, 0, x_153); -lean_ctor_set(x_155, 1, x_154); -lean_ctor_set(x_155, 2, x_152); -x_156 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_156, 0, x_142); -x_157 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; -x_158 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_158, 0, x_153); -lean_ctor_set(x_158, 1, x_157); -lean_ctor_set(x_158, 2, x_156); -x_159 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__3; -x_160 = lean_array_push(x_159, x_155); -x_161 = lean_array_push(x_160, x_158); -x_162 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; -x_163 = 0; +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; uint8_t x_167; lean_object* x_168; +x_156 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_156, 0, x_143); +x_157 = lean_box(0); +x_158 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_159 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +lean_ctor_set(x_159, 2, x_156); +x_160 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_160, 0, x_145); +x_161 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; +x_162 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_162, 0, x_157); +lean_ctor_set(x_162, 1, x_161); +lean_ctor_set(x_162, 2, x_160); +x_163 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__3; +x_164 = lean_array_push(x_163, x_159); +x_165 = lean_array_push(x_164, x_162); +x_166 = l_Lean_Elab_Term_elabWithoutExpectedTypeAttr___lambda__5___closed__1; +x_167 = 0; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_164 = l_Lean_Elab_Term_elabAppArgs(x_145, x_161, x_162, x_148, x_163, x_163, x_10, x_11, x_12, x_13, x_14, x_15, x_150); -if (lean_obj_tag(x_164) == 0) +x_168 = l_Lean_Elab_Term_elabAppArgs(x_148, x_165, x_166, x_151, x_167, x_167, x_10, x_11, x_12, x_13, x_14, x_15, x_154); +if (lean_obj_tag(x_168) == 0) { -lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); -lean_dec(x_164); -x_167 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_165, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_166); -return x_167; +lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +x_171 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(x_4, x_5, x_6, x_7, x_8, x_169, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_170); +return x_171; } else { -uint8_t x_168; +uint8_t x_172; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -19915,105 +19920,72 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_168 = !lean_is_exclusive(x_164); -if (x_168 == 0) +x_172 = !lean_is_exclusive(x_168); +if (x_172 == 0) { -return x_164; +return x_168; } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_164, 0); -x_170 = lean_ctor_get(x_164, 1); -lean_inc(x_170); -lean_inc(x_169); -lean_dec(x_164); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -return x_171; -} -} -} -else -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -lean_dec(x_3); -x_172 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_172, 0, x_140); -x_173 = lean_box(0); -x_174 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; -x_175 = lean_alloc_ctor(0, 3, 0); +lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_173 = lean_ctor_get(x_168, 0); +x_174 = lean_ctor_get(x_168, 1); +lean_inc(x_174); +lean_inc(x_173); +lean_dec(x_168); +x_175 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_175, 0, x_173); lean_ctor_set(x_175, 1, x_174); -lean_ctor_set(x_175, 2, x_172); -lean_inc(x_10); -x_176 = l_Lean_Elab_Term_addNamedArg(x_4, x_175, x_10, x_11, x_12, x_13, x_14, x_15, x_150); -if (lean_obj_tag(x_176) == 0) -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -x_179 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_179, 0, x_142); -x_180 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; -x_181 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_181, 0, x_173); -lean_ctor_set(x_181, 1, x_180); -lean_ctor_set(x_181, 2, x_179); -lean_inc(x_10); -x_182 = l_Lean_Elab_Term_addNamedArg(x_177, x_181, x_10, x_11, x_12, x_13, x_14, x_15, x_178); -if (lean_obj_tag(x_182) == 0) -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_182, 1); -lean_inc(x_184); -lean_dec(x_182); -x_185 = l_Lean_Elab_Term_elabAppArgs(x_145, x_183, x_5, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_184); -return x_185; +return x_175; +} +} } else { -uint8_t x_186; -lean_dec(x_145); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -x_186 = !lean_is_exclusive(x_182); -if (x_186 == 0) +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +lean_dec(x_3); +x_176 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_176, 0, x_143); +x_177 = lean_box(0); +x_178 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +x_179 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 1, x_178); +lean_ctor_set(x_179, 2, x_176); +lean_inc(x_10); +x_180 = l_Lean_Elab_Term_addNamedArg(x_4, x_179, x_10, x_11, x_12, x_13, x_14, x_15, x_154); +if (lean_obj_tag(x_180) == 0) { -return x_182; -} -else +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_180, 1); +lean_inc(x_182); +lean_dec(x_180); +x_183 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_183, 0, x_145); +x_184 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__2___closed__2; +x_185 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_185, 0, x_177); +lean_ctor_set(x_185, 1, x_184); +lean_ctor_set(x_185, 2, x_183); +lean_inc(x_10); +x_186 = l_Lean_Elab_Term_addNamedArg(x_181, x_185, x_10, x_11, x_12, x_13, x_14, x_15, x_182); +if (lean_obj_tag(x_186) == 0) { lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_ctor_get(x_182, 0); -x_188 = lean_ctor_get(x_182, 1); -lean_inc(x_188); +x_187 = lean_ctor_get(x_186, 0); lean_inc(x_187); -lean_dec(x_182); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_187); -lean_ctor_set(x_189, 1, x_188); +x_188 = lean_ctor_get(x_186, 1); +lean_inc(x_188); +lean_dec(x_186); +x_189 = l_Lean_Elab_Term_elabAppArgs(x_148, x_187, x_5, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_188); return x_189; } -} -} else { uint8_t x_190; -lean_dec(x_145); -lean_dec(x_142); +lean_dec(x_148); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -20022,19 +19994,19 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); -x_190 = !lean_is_exclusive(x_176); +x_190 = !lean_is_exclusive(x_186); if (x_190 == 0) { -return x_176; +return x_186; } else { lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_191 = lean_ctor_get(x_176, 0); -x_192 = lean_ctor_get(x_176, 1); +x_191 = lean_ctor_get(x_186, 0); +x_192 = lean_ctor_get(x_186, 1); lean_inc(x_192); lean_inc(x_191); -lean_dec(x_176); +lean_dec(x_186); x_193 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_193, 0, x_191); lean_ctor_set(x_193, 1, x_192); @@ -20042,12 +20014,11 @@ return x_193; } } } -} else { uint8_t x_194; -lean_dec(x_142); -lean_dec(x_140); +lean_dec(x_148); +lean_dec(x_145); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -20056,22 +20027,19 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_194 = !lean_is_exclusive(x_144); +x_194 = !lean_is_exclusive(x_180); if (x_194 == 0) { -return x_144; +return x_180; } else { lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_195 = lean_ctor_get(x_144, 0); -x_196 = lean_ctor_get(x_144, 1); +x_195 = lean_ctor_get(x_180, 0); +x_196 = lean_ctor_get(x_180, 1); lean_inc(x_196); lean_inc(x_195); -lean_dec(x_144); +lean_dec(x_180); x_197 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_197, 0, x_195); lean_ctor_set(x_197, 1, x_196); @@ -20080,10 +20048,11 @@ return x_197; } } } -} else { uint8_t x_198; +lean_dec(x_145); +lean_dec(x_143); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -20095,23 +20064,59 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_198 = !lean_is_exclusive(x_17); +x_198 = !lean_is_exclusive(x_147); if (x_198 == 0) { +return x_147; +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_199 = lean_ctor_get(x_147, 0); +x_200 = lean_ctor_get(x_147, 1); +lean_inc(x_200); +lean_inc(x_199); +lean_dec(x_147); +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_199); +lean_ctor_set(x_201, 1, x_200); +return x_201; +} +} +} +} +} +else +{ +uint8_t x_202; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_202 = !lean_is_exclusive(x_17); +if (x_202 == 0) +{ return x_17; } else { -lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = lean_ctor_get(x_17, 0); -x_200 = lean_ctor_get(x_17, 1); -lean_inc(x_200); -lean_inc(x_199); +lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_203 = lean_ctor_get(x_17, 0); +x_204 = lean_ctor_get(x_17, 1); +lean_inc(x_204); +lean_inc(x_203); lean_dec(x_17); -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_200); -return x_201; +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_203); +lean_ctor_set(x_205, 1, x_204); +return x_205; } } } @@ -20798,7 +20803,7 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t 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_56; lean_object* x_57; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t 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_57; lean_object* x_58; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; x_19 = lean_ctor_get(x_10, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_19, 1); @@ -20817,27 +20822,29 @@ lean_dec(x_20); x_25 = 1; lean_inc(x_1); x_26 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toLVals(x_1, x_24, x_25); -x_27 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_17); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_17); +x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - x_30 = x_27; +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + x_31 = x_28; } else { - lean_dec_ref(x_27); - x_30 = lean_box(0); + lean_dec_ref(x_28); + x_31 = lean_box(0); } +x_73 = lean_box(0); lean_inc(x_5); lean_inc(x_22); -x_72 = l_Lean_Elab_Term_addTermInfo(x_23, x_22, x_5, x_11, x_12, x_13, x_14, x_15, x_16, x_29); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -lean_dec(x_72); +x_74 = l_Lean_Elab_Term_addTermInfo(x_23, x_22, x_5, x_27, x_73, x_11, x_12, x_13, x_14, x_15, x_16, x_30); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +lean_dec(x_74); lean_inc(x_2); -x_74 = l_List_append___rarg(x_26, x_2); +x_76 = l_List_append___rarg(x_26, x_2); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); @@ -20847,31 +20854,30 @@ lean_inc(x_11); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_75 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_22, x_74, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_13, x_14, x_15, x_16, x_73); -if (lean_obj_tag(x_75) == 0) +x_77 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_22, x_76, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_13, x_14, x_15, x_16, x_75); +if (lean_obj_tag(x_77) == 0) { if (x_8 == 0) { -lean_object* x_76; lean_object* x_77; -lean_dec(x_30); -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_56 = x_76; -x_57 = x_77; -goto block_71; +lean_object* x_78; lean_object* x_79; +lean_dec(x_31); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_57 = x_78; +x_58 = x_79; +goto block_72; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_78 = lean_ctor_get(x_75, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_75, 1); -lean_inc(x_79); -lean_dec(x_75); -x_80 = lean_box(0); +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_77, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_77, 1); +lean_inc(x_81); +lean_dec(x_77); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); @@ -20879,94 +20885,94 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_5); -x_81 = l_Lean_Elab_Term_ensureHasType(x_5, x_78, x_80, x_11, x_12, x_13, x_14, x_15, x_16, x_79); -if (lean_obj_tag(x_81) == 0) +x_82 = l_Lean_Elab_Term_ensureHasType(x_5, x_80, x_27, x_11, x_12, x_13, x_14, x_15, x_16, x_81); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_82; lean_object* x_83; -lean_dec(x_30); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); +lean_object* x_83; lean_object* x_84; +lean_dec(x_31); +x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); -lean_dec(x_81); -x_56 = x_82; -x_57 = x_83; -goto block_71; -} -else -{ -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_81, 0); +x_84 = lean_ctor_get(x_82, 1); lean_inc(x_84); -x_85 = lean_ctor_get(x_81, 1); +lean_dec(x_82); +x_57 = x_83; +x_58 = x_84; +goto block_72; +} +else +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_82, 0); lean_inc(x_85); -lean_dec(x_81); -x_31 = x_84; -x_32 = x_85; -goto block_55; -} -} -} -else -{ -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_75, 0); +x_86 = lean_ctor_get(x_82, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_75, 1); +lean_dec(x_82); +x_32 = x_85; +x_33 = x_86; +goto block_56; +} +} +} +else +{ +lean_object* x_87; lean_object* x_88; +x_87 = lean_ctor_get(x_77, 0); lean_inc(x_87); -lean_dec(x_75); -x_31 = x_86; +x_88 = lean_ctor_get(x_77, 1); +lean_inc(x_88); +lean_dec(x_77); x_32 = x_87; -goto block_55; +x_33 = x_88; +goto block_56; } -block_55: +block_56: { -if (lean_obj_tag(x_31) == 0) +if (lean_obj_tag(x_32) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -lean_dec(x_30); -x_33 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_32); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_dec(x_31); +x_34 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_33); +x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); -lean_dec(x_33); -x_36 = l_Lean_Elab_Term_SavedState_restore(x_28, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_35); -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Elab_Term_SavedState_restore(x_29, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_36); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_36, 1); -x_39 = lean_ctor_get(x_36, 0); -lean_dec(x_39); -lean_ctor_set_tag(x_36, 1); -lean_ctor_set(x_36, 1, x_34); -lean_ctor_set(x_36, 0, x_31); -x_40 = lean_array_push(x_9, x_36); -x_9 = x_40; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_37, 1); +x_40 = lean_ctor_get(x_37, 0); +lean_dec(x_40); +lean_ctor_set_tag(x_37, 1); +lean_ctor_set(x_37, 1, x_35); +lean_ctor_set(x_37, 0, x_32); +x_41 = lean_array_push(x_9, x_37); +x_9 = x_41; x_10 = x_21; -x_17 = x_38; +x_17 = x_39; goto _start; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_36, 1); -lean_inc(x_42); -lean_dec(x_36); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_31); -lean_ctor_set(x_43, 1, x_34); -x_44 = lean_array_push(x_9, x_43); -x_9 = x_44; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_37, 1); +lean_inc(x_43); +lean_dec(x_37); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_32); +lean_ctor_set(x_44, 1, x_35); +x_45 = lean_array_push(x_9, x_44); +x_9 = x_45; x_10 = x_21; -x_17 = x_42; +x_17 = x_43; goto _start; } } else { -lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_dec(x_21); lean_dec(x_9); lean_dec(x_5); @@ -20974,104 +20980,104 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_46 = lean_ctor_get(x_31, 0); -lean_inc(x_46); -x_47 = l_Lean_Elab_postponeExceptionId; -x_48 = lean_nat_dec_eq(x_46, x_47); -lean_dec(x_46); -if (x_48 == 0) +x_47 = lean_ctor_get(x_32, 0); +lean_inc(x_47); +x_48 = l_Lean_Elab_postponeExceptionId; +x_49 = lean_nat_dec_eq(x_47, x_48); +lean_dec(x_47); +if (x_49 == 0) { -lean_object* x_49; -lean_dec(x_28); +lean_object* x_50; +lean_dec(x_29); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -if (lean_is_scalar(x_30)) { - x_49 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_31)) { + x_50 = lean_alloc_ctor(1, 2, 0); } else { - x_49 = x_30; - lean_ctor_set_tag(x_49, 1); + x_50 = x_31; + lean_ctor_set_tag(x_50, 1); } -lean_ctor_set(x_49, 0, x_31); -lean_ctor_set(x_49, 1, x_32); -return x_49; -} -else -{ -lean_object* x_50; uint8_t x_51; -lean_dec(x_30); -x_50 = l_Lean_Elab_Term_SavedState_restore(x_28, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_32); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set_tag(x_50, 1); -lean_ctor_set(x_50, 0, x_31); +lean_ctor_set(x_50, 0, x_32); +lean_ctor_set(x_50, 1, x_33); return x_50; } else { -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_31); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -} -} -block_71: +lean_object* x_51; uint8_t x_52; +lean_dec(x_31); +x_51 = l_Lean_Elab_Term_SavedState_restore(x_29, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_33); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_58 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_57); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); +lean_object* x_53; +x_53 = lean_ctor_get(x_51, 0); +lean_dec(x_53); +lean_ctor_set_tag(x_51, 1); +lean_ctor_set(x_51, 0, x_32); +return x_51; +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_32); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +} +block_72: +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_59 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_58); +x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); -lean_dec(x_58); -x_61 = l_Lean_Elab_Term_SavedState_restore(x_28, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_60); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = l_Lean_Elab_Term_SavedState_restore(x_29, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_61); +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_61, 1); -x_64 = lean_ctor_get(x_61, 0); -lean_dec(x_64); -lean_ctor_set(x_61, 1, x_59); -lean_ctor_set(x_61, 0, x_56); -x_65 = lean_array_push(x_9, x_61); -x_9 = x_65; +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 1); +x_65 = lean_ctor_get(x_62, 0); +lean_dec(x_65); +lean_ctor_set(x_62, 1, x_60); +lean_ctor_set(x_62, 0, x_57); +x_66 = lean_array_push(x_9, x_62); +x_9 = x_66; x_10 = x_21; -x_17 = x_63; +x_17 = x_64; goto _start; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_61, 1); -lean_inc(x_67); -lean_dec(x_61); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_56); -lean_ctor_set(x_68, 1, x_59); -x_69 = lean_array_push(x_9, x_68); -x_9 = x_69; +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_62, 1); +lean_inc(x_68); +lean_dec(x_62); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_57); +lean_ctor_set(x_69, 1, x_60); +x_70 = lean_array_push(x_9, x_69); +x_9 = x_70; x_10 = x_21; -x_17 = x_67; +x_17 = x_68; goto _start; } } @@ -21102,7 +21108,7 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t 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_56; lean_object* x_57; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t 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_57; lean_object* x_58; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; x_19 = lean_ctor_get(x_10, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_19, 1); @@ -21121,27 +21127,29 @@ lean_dec(x_20); x_25 = 1; lean_inc(x_1); x_26 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toLVals(x_1, x_24, x_25); -x_27 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_17); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_17); +x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - x_30 = x_27; +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + x_31 = x_28; } else { - lean_dec_ref(x_27); - x_30 = lean_box(0); + lean_dec_ref(x_28); + x_31 = lean_box(0); } +x_73 = lean_box(0); lean_inc(x_5); lean_inc(x_22); -x_72 = l_Lean_Elab_Term_addTermInfo(x_23, x_22, x_5, x_11, x_12, x_13, x_14, x_15, x_16, x_29); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -lean_dec(x_72); +x_74 = l_Lean_Elab_Term_addTermInfo(x_23, x_22, x_5, x_27, x_73, x_11, x_12, x_13, x_14, x_15, x_16, x_30); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +lean_dec(x_74); lean_inc(x_2); -x_74 = l_List_append___rarg(x_26, x_2); +x_76 = l_List_append___rarg(x_26, x_2); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); @@ -21151,31 +21159,30 @@ lean_inc(x_11); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_75 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_22, x_74, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_13, x_14, x_15, x_16, x_73); -if (lean_obj_tag(x_75) == 0) +x_77 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals(x_22, x_76, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_13, x_14, x_15, x_16, x_75); +if (lean_obj_tag(x_77) == 0) { if (x_8 == 0) { -lean_object* x_76; lean_object* x_77; -lean_dec(x_30); -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_56 = x_76; -x_57 = x_77; -goto block_71; +lean_object* x_78; lean_object* x_79; +lean_dec(x_31); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_57 = x_78; +x_58 = x_79; +goto block_72; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_78 = lean_ctor_get(x_75, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_75, 1); -lean_inc(x_79); -lean_dec(x_75); -x_80 = lean_box(0); +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_77, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_77, 1); +lean_inc(x_81); +lean_dec(x_77); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); @@ -21183,94 +21190,94 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_5); -x_81 = l_Lean_Elab_Term_ensureHasType(x_5, x_78, x_80, x_11, x_12, x_13, x_14, x_15, x_16, x_79); -if (lean_obj_tag(x_81) == 0) +x_82 = l_Lean_Elab_Term_ensureHasType(x_5, x_80, x_27, x_11, x_12, x_13, x_14, x_15, x_16, x_81); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_82; lean_object* x_83; -lean_dec(x_30); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); +lean_object* x_83; lean_object* x_84; +lean_dec(x_31); +x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); -lean_dec(x_81); -x_56 = x_82; -x_57 = x_83; -goto block_71; -} -else -{ -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_81, 0); +x_84 = lean_ctor_get(x_82, 1); lean_inc(x_84); -x_85 = lean_ctor_get(x_81, 1); +lean_dec(x_82); +x_57 = x_83; +x_58 = x_84; +goto block_72; +} +else +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_82, 0); lean_inc(x_85); -lean_dec(x_81); -x_31 = x_84; -x_32 = x_85; -goto block_55; -} -} -} -else -{ -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_75, 0); +x_86 = lean_ctor_get(x_82, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_75, 1); +lean_dec(x_82); +x_32 = x_85; +x_33 = x_86; +goto block_56; +} +} +} +else +{ +lean_object* x_87; lean_object* x_88; +x_87 = lean_ctor_get(x_77, 0); lean_inc(x_87); -lean_dec(x_75); -x_31 = x_86; +x_88 = lean_ctor_get(x_77, 1); +lean_inc(x_88); +lean_dec(x_77); x_32 = x_87; -goto block_55; +x_33 = x_88; +goto block_56; } -block_55: +block_56: { -if (lean_obj_tag(x_31) == 0) +if (lean_obj_tag(x_32) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -lean_dec(x_30); -x_33 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_32); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_dec(x_31); +x_34 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_33); +x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); -lean_dec(x_33); -x_36 = l_Lean_Elab_Term_SavedState_restore(x_28, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_35); -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Elab_Term_SavedState_restore(x_29, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_36); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_36, 1); -x_39 = lean_ctor_get(x_36, 0); -lean_dec(x_39); -lean_ctor_set_tag(x_36, 1); -lean_ctor_set(x_36, 1, x_34); -lean_ctor_set(x_36, 0, x_31); -x_40 = lean_array_push(x_9, x_36); -x_9 = x_40; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_37, 1); +x_40 = lean_ctor_get(x_37, 0); +lean_dec(x_40); +lean_ctor_set_tag(x_37, 1); +lean_ctor_set(x_37, 1, x_35); +lean_ctor_set(x_37, 0, x_32); +x_41 = lean_array_push(x_9, x_37); +x_9 = x_41; x_10 = x_21; -x_17 = x_38; +x_17 = x_39; goto _start; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_36, 1); -lean_inc(x_42); -lean_dec(x_36); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_31); -lean_ctor_set(x_43, 1, x_34); -x_44 = lean_array_push(x_9, x_43); -x_9 = x_44; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_37, 1); +lean_inc(x_43); +lean_dec(x_37); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_32); +lean_ctor_set(x_44, 1, x_35); +x_45 = lean_array_push(x_9, x_44); +x_9 = x_45; x_10 = x_21; -x_17 = x_42; +x_17 = x_43; goto _start; } } else { -lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_dec(x_21); lean_dec(x_9); lean_dec(x_5); @@ -21278,104 +21285,104 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_46 = lean_ctor_get(x_31, 0); -lean_inc(x_46); -x_47 = l_Lean_Elab_postponeExceptionId; -x_48 = lean_nat_dec_eq(x_46, x_47); -lean_dec(x_46); -if (x_48 == 0) +x_47 = lean_ctor_get(x_32, 0); +lean_inc(x_47); +x_48 = l_Lean_Elab_postponeExceptionId; +x_49 = lean_nat_dec_eq(x_47, x_48); +lean_dec(x_47); +if (x_49 == 0) { -lean_object* x_49; -lean_dec(x_28); +lean_object* x_50; +lean_dec(x_29); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -if (lean_is_scalar(x_30)) { - x_49 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_31)) { + x_50 = lean_alloc_ctor(1, 2, 0); } else { - x_49 = x_30; - lean_ctor_set_tag(x_49, 1); + x_50 = x_31; + lean_ctor_set_tag(x_50, 1); } -lean_ctor_set(x_49, 0, x_31); -lean_ctor_set(x_49, 1, x_32); -return x_49; -} -else -{ -lean_object* x_50; uint8_t x_51; -lean_dec(x_30); -x_50 = l_Lean_Elab_Term_SavedState_restore(x_28, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_32); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set_tag(x_50, 1); -lean_ctor_set(x_50, 0, x_31); +lean_ctor_set(x_50, 0, x_32); +lean_ctor_set(x_50, 1, x_33); return x_50; } else { -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_31); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -} -} -block_71: +lean_object* x_51; uint8_t x_52; +lean_dec(x_31); +x_51 = l_Lean_Elab_Term_SavedState_restore(x_29, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_33); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_58 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_57); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); +lean_object* x_53; +x_53 = lean_ctor_get(x_51, 0); +lean_dec(x_53); +lean_ctor_set_tag(x_51, 1); +lean_ctor_set(x_51, 0, x_32); +return x_51; +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_32); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +} +block_72: +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_59 = l_Lean_Elab_Term_saveState___rarg(x_12, x_13, x_14, x_15, x_16, x_58); +x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); -lean_dec(x_58); -x_61 = l_Lean_Elab_Term_SavedState_restore(x_28, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_60); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = l_Lean_Elab_Term_SavedState_restore(x_29, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_61); +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_61, 1); -x_64 = lean_ctor_get(x_61, 0); -lean_dec(x_64); -lean_ctor_set(x_61, 1, x_59); -lean_ctor_set(x_61, 0, x_56); -x_65 = lean_array_push(x_9, x_61); -x_9 = x_65; +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 1); +x_65 = lean_ctor_get(x_62, 0); +lean_dec(x_65); +lean_ctor_set(x_62, 1, x_60); +lean_ctor_set(x_62, 0, x_57); +x_66 = lean_array_push(x_9, x_62); +x_9 = x_66; x_10 = x_21; -x_17 = x_63; +x_17 = x_64; goto _start; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_61, 1); -lean_inc(x_67); -lean_dec(x_61); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_56); -lean_ctor_set(x_68, 1, x_59); -x_69 = lean_array_push(x_9, x_68); -x_9 = x_69; +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_62, 1); +lean_inc(x_68); +lean_dec(x_62); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_57); +lean_ctor_set(x_69, 1, x_60); +x_70 = lean_array_push(x_9, x_69); +x_9 = x_70; x_10 = x_21; -x_17 = x_67; +x_17 = x_68; goto _start; } } diff --git a/stage0/stdlib/Lean/Elab/Attributes.c b/stage0/stdlib/Lean/Elab/Attributes.c index 5d894ed1f8..d3f120d541 100644 --- a/stage0/stdlib/Lean/Elab/Attributes.c +++ b/stage0/stdlib/Lean/Elab/Attributes.c @@ -15,122 +15,128 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Elab_Attribute_stx___default; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__5(lean_object*, uint8_t, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4___closed__2; extern lean_object* l_Std_Format_defWidth; -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4(lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__12(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_Lean_Elab_elabAttr___rarg___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedAttribute; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_toAttributeKind___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instToFormatAttribute(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg(lean_object*); lean_object* l_Lean_Elab_toAttributeKind___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__25___closed__1; -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4___closed__1; +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1___boxed(lean_object*, lean_object*, 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_Lean_Elab_elabAttr___rarg___lambda__11(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_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_toAttributeKind___closed__6; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__23(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_Lean_Elab_elabAttr___rarg___lambda__26(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__4(lean_object*); static lean_object* l_Lean_Elab_instToFormatAttribute___closed__10; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4___closed__4; +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4___closed__3; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__14___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4___closed__5; static lean_object* l_Lean_Elab_toAttributeKind___closed__10; -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__21(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_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__9(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_Lean_Elab_elabAttrs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__24(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Attribute_kind___default; -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instToFormatAttribute_match__1(lean_object*); -static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__27___closed__4; -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__22(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_Lean_Elab_elabAttr___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__10(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_Lean_Elab_elabAttrs(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l_Lean_Elab_toAttributeKind___closed__9; lean_object* lean_format_pretty(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__25___closed__3; -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__25(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_toAttributeKind___closed__5; static lean_object* l_Lean_Elab_instToFormatAttribute___closed__6; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1(lean_object*); lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1(lean_object*); +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_instToFormatAttribute___closed__8; static lean_object* l_Lean_Elab_instInhabitedAttribute___closed__1; lean_object* l_Lean_Elab_elabDeclAttrs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr_match__1(lean_object*); -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_toAttributeKind___closed__3; lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instToFormatAttribute___closed__9; lean_object* l_Lean_Elab_elabDeclAttrs(lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); uint8_t l_Lean_isAttribute(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__27___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__13(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_environment_main_module(lean_object*); static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__7; static lean_object* l_Lean_Elab_instToFormatAttribute___closed__4; lean_object* l_Lean_Elab_elabAttr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttrs___rarg___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13(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_Lean_Elab_elabAttr___rarg___lambda__28(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Elab_instToFormatAttribute___closed__5; lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__27___closed__2; +static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2___closed__1; static lean_object* l_Lean_Elab_instToFormatAttribute___closed__2; -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1(lean_object*); static lean_object* l_Lean_Elab_instToFormatAttribute___closed__1; -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2___closed__2; lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__25___closed__2; static lean_object* l_Lean_Elab_instToFormatAttribute___closed__7; -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_toAttributeKind___closed__1; static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__1; uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__2; static lean_object* l_Lean_Elab_instToFormatAttribute___closed__3; lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); @@ -138,15 +144,12 @@ static lean_object* l_Lean_Elab_toAttributeKind___closed__4; lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2(lean_object*); static lean_object* l_Lean_Elab_toAttributeKind___closed__2; -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__14(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instToFormatAttribute_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_toAttributeKind___closed__8; -static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__27___closed__3; -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__5; -static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__27___closed__6; lean_object* l_Lean_Elab_mkAttrKindGlobal; lean_object* lean_string_length(lean_object*); lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*); @@ -156,22 +159,24 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg_ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instToFormatAttribute_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__12(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_List_forM___at_Lean_Elab_elabAttr___spec__4___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2___closed__3; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__28___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* l_Lean_Elab_elabAttr___rarg___lambda__5___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* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__6; -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_toAttributeKind___closed__7; lean_object* l_Lean_Elab_elabAttr_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__27(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__27___closed__5; static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__4; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4___closed__6; +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabDeclAttrs___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint8_t _init_l_Lean_Elab_Attribute_kind___default() { _start: @@ -809,15 +814,15 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr_match__1___rarg), 3, 0); return x_2; } } -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___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, lean_object* x_8) { +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___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, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_9; } } -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -846,7 +851,7 @@ return x_11; } } } -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___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, uint8_t x_7) { +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___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, uint8_t x_7) { _start: { if (x_7 == 0) @@ -879,95 +884,6 @@ return x_14; } } } -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg(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: -{ -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); -lean_dec(x_1); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_box(0); -x_11 = lean_apply_2(x_9, lean_box(0), x_10); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_12 = lean_ctor_get(x_7, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_7, 1); -lean_inc(x_13); -lean_dec(x_7); -x_14 = lean_ctor_get(x_1, 1); -lean_inc(x_14); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_15 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1___boxed), 8, 7); -lean_closure_set(x_15, 0, x_1); -lean_closure_set(x_15, 1, x_2); -lean_closure_set(x_15, 2, x_3); -lean_closure_set(x_15, 3, x_4); -lean_closure_set(x_15, 4, x_5); -lean_closure_set(x_15, 5, x_6); -lean_closure_set(x_15, 6, x_13); -x_16 = lean_ctor_get(x_12, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_dec(x_12); -x_18 = lean_ctor_get(x_2, 1); -lean_inc(x_18); -lean_inc(x_16); -lean_inc(x_1); -x_19 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__2___boxed), 4, 3); -lean_closure_set(x_19, 0, x_1); -lean_closure_set(x_19, 1, x_3); -lean_closure_set(x_19, 2, x_16); -lean_inc(x_5); -x_20 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_18, x_19); -x_21 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__3___boxed), 7, 6); -lean_closure_set(x_21, 0, x_1); -lean_closure_set(x_21, 1, x_17); -lean_closure_set(x_21, 2, x_2); -lean_closure_set(x_21, 3, x_6); -lean_closure_set(x_21, 4, x_4); -lean_closure_set(x_21, 5, x_16); -x_22 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_20, x_21); -x_23 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_22, x_15); -return x_23; -} -} -} -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg), 7, 0); -return x_2; -} -} -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___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, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg(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: { @@ -1022,13 +938,13 @@ x_18 = lean_ctor_get(x_2, 1); lean_inc(x_18); lean_inc(x_16); lean_inc(x_1); -x_19 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__2___boxed), 4, 3); +x_19 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__2___boxed), 4, 3); lean_closure_set(x_19, 0, x_1); lean_closure_set(x_19, 1, x_3); lean_closure_set(x_19, 2, x_16); lean_inc(x_5); x_20 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_18, x_19); -x_21 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__3___boxed), 7, 6); +x_21 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__3___boxed), 7, 6); lean_closure_set(x_21, 0, x_1); lean_closure_set(x_21, 1, x_17); lean_closure_set(x_21, 2, x_2); @@ -1049,7 +965,136 @@ x_2 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__2__ return x_2; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__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; lean_object* x_7; @@ -1061,7 +1106,7 @@ lean_ctor_set(x_7, 1, x_4); return x_7; } } -lean_object* l_Lean_Elab_elabAttr___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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___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) { _start: { lean_object* x_7; lean_object* x_8; @@ -1072,7 +1117,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -lean_object* l_Lean_Elab_elabAttr___rarg___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__4(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; @@ -1083,7 +1128,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__5(lean_object* x_1, uint8_t x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -1098,7 +1143,7 @@ x_7 = lean_apply_2(x_5, lean_box(0), x_6); return x_7; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5(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, uint8_t x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__6(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, uint8_t x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -1108,16 +1153,16 @@ lean_dec(x_1); x_11 = l_List_reverse___rarg(x_10); lean_inc(x_6); lean_inc(x_2); -x_12 = l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_12 = l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_11); x_13 = lean_box(x_8); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__4___boxed), 3, 2); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__5___boxed), 3, 2); lean_closure_set(x_14, 0, x_2); lean_closure_set(x_14, 1, x_13); x_15 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_12, x_14); return x_15; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6(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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__7(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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; @@ -1133,7 +1178,7 @@ x_19 = lean_box(0); x_20 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_20, 0, x_16); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Elab_toAttributeKind(x_7, x_18, x_20); +x_21 = lean_apply_2(x_7, x_18, x_20); if (lean_obj_tag(x_21) == 0) { 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; @@ -1150,7 +1195,7 @@ x_25 = lean_ctor_get(x_23, 0); lean_inc(x_25); x_26 = lean_apply_1(x_24, x_25); lean_inc(x_13); -x_27 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__5___boxed), 9, 8); +x_27 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__6___boxed), 9, 8); lean_closure_set(x_27, 0, x_23); lean_closure_set(x_27, 1, x_9); lean_closure_set(x_27, 2, x_10); @@ -1202,14 +1247,14 @@ return x_36; } } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__7(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__8(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; x_16 = lean_ctor_get(x_1, 1); lean_inc(x_16); lean_inc(x_12); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__6___boxed), 16, 15); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__7), 16, 15); lean_closure_set(x_17, 0, x_2); lean_closure_set(x_17, 1, x_3); lean_closure_set(x_17, 2, x_4); @@ -1229,7 +1274,7 @@ x_18 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_16, x_17); return x_18; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__9(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -1237,7 +1282,7 @@ x_16 = lean_ctor_get(x_1, 2); lean_inc(x_16); lean_dec(x_1); lean_inc(x_12); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__7), 15, 14); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__8), 15, 14); lean_closure_set(x_17, 0, x_2); lean_closure_set(x_17, 1, x_3); lean_closure_set(x_17, 2, x_4); @@ -1256,14 +1301,14 @@ x_18 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_16, x_17); return x_18; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__9(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, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__10(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, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = lean_ctor_get(x_1, 1); lean_inc(x_15); lean_inc(x_11); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__8), 15, 14); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__9), 15, 14); lean_closure_set(x_16, 0, x_1); lean_closure_set(x_16, 1, x_2); lean_closure_set(x_16, 2, x_3); @@ -1282,14 +1327,14 @@ x_17 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_15, x_16); return x_17; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10(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, lean_object* x_13) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__11(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, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; x_14 = lean_ctor_get(x_1, 0); lean_inc(x_14); lean_inc(x_10); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__9), 14, 13); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__10), 14, 13); lean_closure_set(x_15, 0, x_2); lean_closure_set(x_15, 1, x_1); lean_closure_set(x_15, 2, x_3); @@ -1307,28 +1352,28 @@ x_16 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_14, x_15); return x_16; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__11(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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__12(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; 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_inc(x_1); -x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1___boxed), 4, 1); lean_closure_set(x_13, 0, x_1); lean_inc(x_2); x_14 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); lean_closure_set(x_14, 0, x_2); lean_inc(x_1); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__1___boxed), 4, 1); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__2___boxed), 4, 1); lean_closure_set(x_15, 0, x_1); lean_inc(x_12); lean_inc(x_2); lean_inc(x_1); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__2___boxed), 6, 3); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__3___boxed), 6, 3); lean_closure_set(x_16, 0, x_1); lean_closure_set(x_16, 1, x_2); lean_closure_set(x_16, 2, x_12); lean_inc(x_1); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__3___boxed), 6, 3); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__4___boxed), 6, 3); lean_closure_set(x_17, 0, x_1); lean_closure_set(x_17, 1, x_2); lean_closure_set(x_17, 2, x_12); @@ -1344,7 +1389,7 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); lean_inc(x_11); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__10), 13, 12); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__11), 13, 12); lean_closure_set(x_22, 0, x_4); lean_closure_set(x_22, 1, x_5); lean_closure_set(x_22, 2, x_1); @@ -1361,7 +1406,7 @@ x_23 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_21, x_22); return x_23; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__12(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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__13(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; lean_object* x_14; lean_object* x_15; @@ -1369,7 +1414,7 @@ x_13 = lean_ctor_get(x_1, 1); lean_inc(x_13); lean_dec(x_1); lean_inc(x_11); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__11), 12, 11); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__12), 12, 11); lean_closure_set(x_14, 0, x_2); lean_closure_set(x_14, 1, x_12); lean_closure_set(x_14, 2, x_3); @@ -1385,14 +1430,14 @@ x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_14); return x_15; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__13(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* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__14(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) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; x_12 = lean_ctor_get(x_1, 0); lean_inc(x_12); lean_inc(x_10); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__12), 12, 11); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__13), 12, 11); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_11); lean_closure_set(x_13, 2, x_2); @@ -1408,7 +1453,129 @@ x_14 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_12, x_13); return x_14; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg(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) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 0); +lean_inc(x_12); +lean_dec(x_2); +lean_inc(x_11); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__14), 11, 10); +lean_closure_set(x_13, 0, x_3); +lean_closure_set(x_13, 1, x_4); +lean_closure_set(x_13, 2, x_5); +lean_closure_set(x_13, 3, x_6); +lean_closure_set(x_13, 4, x_10); +lean_closure_set(x_13, 5, x_1); +lean_closure_set(x_13, 6, x_7); +lean_closure_set(x_13, 7, x_8); +lean_closure_set(x_13, 8, x_9); +lean_closure_set(x_13, 9, x_11); +x_14 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_12, x_13); +return x_14; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg), 10, 0); +return x_2; +} +} +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__4___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, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_List_forM___at_Lean_Elab_elabAttr___spec__4___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__4___rarg(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: +{ +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_box(0); +x_11 = lean_apply_2(x_9, lean_box(0), x_10); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_dec(x_7); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_15 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__4___rarg___lambda__1___boxed), 8, 7); +lean_closure_set(x_15, 0, x_1); +lean_closure_set(x_15, 1, x_2); +lean_closure_set(x_15, 2, x_3); +lean_closure_set(x_15, 3, x_4); +lean_closure_set(x_15, 4, x_5); +lean_closure_set(x_15, 5, x_6); +lean_closure_set(x_15, 6, x_13); +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +lean_inc(x_16); +lean_inc(x_1); +x_19 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__2___boxed), 4, 3); +lean_closure_set(x_19, 0, x_1); +lean_closure_set(x_19, 1, x_3); +lean_closure_set(x_19, 2, x_16); +lean_inc(x_5); +x_20 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_18, x_19); +x_21 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__3___boxed), 7, 6); +lean_closure_set(x_21, 0, x_1); +lean_closure_set(x_21, 1, x_17); +lean_closure_set(x_21, 2, x_2); +lean_closure_set(x_21, 3, x_6); +lean_closure_set(x_21, 4, x_4); +lean_closure_set(x_21, 5, x_16); +x_22 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_20, x_21); +x_23 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_22, x_15); +return x_23; +} +} +} +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_elabAttr___spec__4___rarg), 7, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -1422,7 +1589,7 @@ x_6 = lean_apply_2(x_5, lean_box(0), x_2); return x_6; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__15(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* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -1432,15 +1599,15 @@ lean_dec(x_1); x_11 = l_List_reverse___rarg(x_10); lean_inc(x_6); lean_inc(x_2); -x_12 = l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_11); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__14___boxed), 3, 2); +x_12 = l_List_forM___at_Lean_Elab_elabAttr___spec__4___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__1___boxed), 3, 2); lean_closure_set(x_13, 0, x_2); lean_closure_set(x_13, 1, x_8); x_14 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_12, x_13); return x_14; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__16(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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___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, 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) { _start: { lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; @@ -1456,7 +1623,7 @@ x_19 = lean_box(0); x_20 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_20, 0, x_16); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_expandMacros(x_7, x_18, x_20); +x_21 = lean_apply_2(x_7, x_18, x_20); if (lean_obj_tag(x_21) == 0) { 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; @@ -1473,7 +1640,7 @@ x_25 = lean_ctor_get(x_23, 0); lean_inc(x_25); x_26 = lean_apply_1(x_24, x_25); lean_inc(x_13); -x_27 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__15___boxed), 9, 8); +x_27 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__2___boxed), 9, 8); lean_closure_set(x_27, 0, x_23); lean_closure_set(x_27, 1, x_9); lean_closure_set(x_27, 2, x_10); @@ -1525,14 +1692,14 @@ return x_36; } } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__17(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__4(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; x_16 = lean_ctor_get(x_1, 1); lean_inc(x_16); lean_inc(x_12); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__16), 16, 15); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__3), 16, 15); lean_closure_set(x_17, 0, x_2); lean_closure_set(x_17, 1, x_3); lean_closure_set(x_17, 2, x_4); @@ -1552,7 +1719,7 @@ x_18 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_16, x_17); return x_18; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__18(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__5(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -1560,7 +1727,7 @@ x_16 = lean_ctor_get(x_1, 2); lean_inc(x_16); lean_dec(x_1); lean_inc(x_12); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__17), 15, 14); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__4), 15, 14); lean_closure_set(x_17, 0, x_2); lean_closure_set(x_17, 1, x_3); lean_closure_set(x_17, 2, x_4); @@ -1579,14 +1746,14 @@ x_18 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_16, x_17); return x_18; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__19(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, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__6(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, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = lean_ctor_get(x_1, 1); lean_inc(x_15); lean_inc(x_11); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__18), 15, 14); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__5), 15, 14); lean_closure_set(x_16, 0, x_1); lean_closure_set(x_16, 1, x_2); lean_closure_set(x_16, 2, x_3); @@ -1605,14 +1772,14 @@ x_17 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_15, x_16); return x_17; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__20(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, lean_object* x_13) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__7(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, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; x_14 = lean_ctor_get(x_1, 0); lean_inc(x_14); lean_inc(x_10); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__19), 14, 13); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__6), 14, 13); lean_closure_set(x_15, 0, x_2); lean_closure_set(x_15, 1, x_1); lean_closure_set(x_15, 2, x_3); @@ -1630,28 +1797,28 @@ x_16 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_14, x_15); return x_16; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__21(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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__8(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; 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_inc(x_1); -x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1___boxed), 4, 1); lean_closure_set(x_13, 0, x_1); lean_inc(x_2); x_14 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); lean_closure_set(x_14, 0, x_2); lean_inc(x_1); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__1___boxed), 4, 1); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__2___boxed), 4, 1); lean_closure_set(x_15, 0, x_1); lean_inc(x_12); lean_inc(x_2); lean_inc(x_1); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__2___boxed), 6, 3); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__3___boxed), 6, 3); lean_closure_set(x_16, 0, x_1); lean_closure_set(x_16, 1, x_2); lean_closure_set(x_16, 2, x_12); lean_inc(x_1); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__3___boxed), 6, 3); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__4___boxed), 6, 3); lean_closure_set(x_17, 0, x_1); lean_closure_set(x_17, 1, x_2); lean_closure_set(x_17, 2, x_12); @@ -1667,7 +1834,7 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); lean_inc(x_11); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__20), 13, 12); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__7), 13, 12); lean_closure_set(x_22, 0, x_4); lean_closure_set(x_22, 1, x_5); lean_closure_set(x_22, 2, x_1); @@ -1684,7 +1851,7 @@ x_23 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_21, x_22); return x_23; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__22(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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__9(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; lean_object* x_14; lean_object* x_15; @@ -1692,7 +1859,7 @@ x_13 = lean_ctor_get(x_1, 1); lean_inc(x_13); lean_dec(x_1); lean_inc(x_11); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__21), 12, 11); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__8), 12, 11); lean_closure_set(x_14, 0, x_2); lean_closure_set(x_14, 1, x_12); lean_closure_set(x_14, 2, x_3); @@ -1708,14 +1875,14 @@ x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_14); return x_15; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__23(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* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__10(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) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; x_12 = lean_ctor_get(x_1, 0); lean_inc(x_12); lean_inc(x_10); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__22), 12, 11); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__9), 12, 11); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_11); lean_closure_set(x_13, 2, x_2); @@ -1731,7 +1898,40 @@ x_14 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_12, x_13); return x_14; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__24(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg(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) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 0); +lean_inc(x_12); +lean_dec(x_2); +lean_inc(x_11); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__10), 11, 10); +lean_closure_set(x_13, 0, x_3); +lean_closure_set(x_13, 1, x_4); +lean_closure_set(x_13, 2, x_5); +lean_closure_set(x_13, 3, x_6); +lean_closure_set(x_13, 4, x_10); +lean_closure_set(x_13, 5, x_1); +lean_closure_set(x_13, 6, x_7); +lean_closure_set(x_13, 7, x_8); +lean_closure_set(x_13, 8, x_9); +lean_closure_set(x_13, 9, x_11); +x_14 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_12, x_13); +return x_14; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg), 10, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1(lean_object* x_1, uint8_t 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; @@ -1749,7 +1949,7 @@ x_9 = lean_apply_2(x_7, lean_box(0), x_8); return x_9; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__25___closed__1() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -1757,16 +1957,16 @@ x_1 = lean_mk_string("unknown attribute ["); return x_1; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__25___closed__2() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabAttr___rarg___lambda__25___closed__1; +x_1 = l_Lean_Elab_elabAttr___rarg___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__25___closed__3() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -1775,14 +1975,14 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__25(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2(lean_object* x_1, uint8_t 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; uint8_t x_10; x_8 = lean_box(x_2); lean_inc(x_3); lean_inc(x_1); -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__24___boxed), 5, 4); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__1___boxed), 5, 4); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_8); lean_closure_set(x_9, 2, x_3); @@ -1793,11 +1993,11 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_11 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_11, 0, x_3); -x_12 = l_Lean_Elab_elabAttr___rarg___lambda__25___closed__2; +x_12 = l_Lean_Elab_elabAttr___rarg___lambda__2___closed__2; x_13 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); -x_14 = l_Lean_Elab_elabAttr___rarg___lambda__25___closed__3; +x_14 = l_Lean_Elab_elabAttr___rarg___lambda__2___closed__3; x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -1823,24 +2023,27 @@ return x_22; } } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__26(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3(lean_object* x_1, lean_object* x_2, uint8_t 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; -x_8 = lean_box(x_2); -lean_inc(x_5); -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__25___boxed), 7, 6); -lean_closure_set(x_9, 0, x_1); -lean_closure_set(x_9, 1, x_8); -lean_closure_set(x_9, 2, x_7); -lean_closure_set(x_9, 3, x_3); -lean_closure_set(x_9, 4, x_4); -lean_closure_set(x_9, 5, x_5); -x_10 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_9); -return x_10; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_box(x_3); +lean_inc(x_6); +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__2___boxed), 7, 6); +lean_closure_set(x_10, 0, x_2); +lean_closure_set(x_10, 1, x_9); +lean_closure_set(x_10, 2, x_7); +lean_closure_set(x_10, 3, x_4); +lean_closure_set(x_10, 4, x_5); +lean_closure_set(x_10, 5, x_6); +x_11 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_10); +return x_11; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__27___closed__1() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -1848,17 +2051,17 @@ x_1 = lean_mk_string("Attr"); return x_1; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__27___closed__2() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_toAttributeKind___closed__4; -x_2 = l_Lean_Elab_elabAttr___rarg___lambda__27___closed__1; +x_2 = l_Lean_Elab_elabAttr___rarg___lambda__4___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__27___closed__3() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__4___closed__3() { _start: { lean_object* x_1; @@ -1866,17 +2069,17 @@ x_1 = lean_mk_string("simple"); return x_1; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__27___closed__4() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__4___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_elabAttr___rarg___lambda__27___closed__2; -x_2 = l_Lean_Elab_elabAttr___rarg___lambda__27___closed__3; +x_1 = l_Lean_Elab_elabAttr___rarg___lambda__4___closed__2; +x_2 = l_Lean_Elab_elabAttr___rarg___lambda__4___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__27___closed__5() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__4___closed__5() { _start: { lean_object* x_1; @@ -1884,34 +2087,34 @@ x_1 = lean_mk_string("unknown attribute"); return x_1; } } -static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__27___closed__6() { +static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__4___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabAttr___rarg___lambda__27___closed__5; +x_1 = l_Lean_Elab_elabAttr___rarg___lambda__4___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__27(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4(lean_object* x_1, lean_object* x_2, uint8_t 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; uint8_t x_11; -x_7 = lean_box(x_2); +x_7 = lean_box(x_3); +lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_6); -lean_inc(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__26___boxed), 7, 6); +lean_inc(x_2); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__3___boxed), 7, 6); lean_closure_set(x_8, 0, x_1); -lean_closure_set(x_8, 1, x_7); -lean_closure_set(x_8, 2, x_6); -lean_closure_set(x_8, 3, x_3); +lean_closure_set(x_8, 1, x_2); +lean_closure_set(x_8, 2, x_7); +lean_closure_set(x_8, 3, x_6); lean_closure_set(x_8, 4, x_4); lean_closure_set(x_8, 5, x_5); lean_inc(x_6); x_9 = l_Lean_Syntax_getKind(x_6); -x_10 = l_Lean_Elab_elabAttr___rarg___lambda__27___closed__4; +x_10 = l_Lean_Elab_elabAttr___rarg___lambda__4___closed__4; x_11 = lean_name_eq(x_9, x_10); if (x_11 == 0) { @@ -1919,29 +2122,29 @@ if (lean_obj_tag(x_9) == 1) { 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_dec(x_6); -lean_dec(x_3); +lean_dec(x_4); x_12 = lean_ctor_get(x_9, 1); lean_inc(x_12); lean_dec(x_9); -x_13 = lean_ctor_get(x_1, 0); +x_13 = lean_ctor_get(x_2, 0); lean_inc(x_13); -lean_dec(x_1); +lean_dec(x_2); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); x_15 = lean_box(0); x_16 = lean_name_mk_string(x_15, x_12); x_17 = lean_apply_2(x_14, lean_box(0), x_16); -x_18 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_17, x_8); +x_18 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_17, x_8); return x_18; } else { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_9); -x_19 = l_Lean_Elab_elabAttr___rarg___lambda__27___closed__6; -x_20 = l_Lean_throwErrorAt___rarg(x_1, x_3, x_6, x_19); -x_21 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_20, x_8); +x_19 = l_Lean_Elab_elabAttr___rarg___lambda__4___closed__6; +x_20 = l_Lean_throwErrorAt___rarg(x_2, x_4, x_6, x_19); +x_21 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_20, x_8); return x_21; } } @@ -1949,10 +2152,10 @@ else { 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_dec(x_9); -lean_dec(x_3); -x_22 = lean_ctor_get(x_1, 0); +lean_dec(x_4); +x_22 = lean_ctor_get(x_2, 0); lean_inc(x_22); -lean_dec(x_1); +lean_dec(x_2); x_23 = lean_ctor_get(x_22, 1); lean_inc(x_23); lean_dec(x_22); @@ -1963,95 +2166,70 @@ x_26 = l_Lean_Syntax_getId(x_25); lean_dec(x_25); x_27 = lean_erase_macro_scopes(x_26); x_28 = lean_apply_2(x_23, lean_box(0), x_27); -x_29 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_28, x_8); +x_29 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_28, x_8); return x_29; } } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__28(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, uint8_t x_12) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5(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, uint8_t x_12) { _start: { 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; x_13 = lean_unsigned_to_nat(1u); x_14 = l_Lean_Syntax_getArg(x_1, x_13); -lean_inc(x_10); -lean_inc(x_6); +x_15 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1); +lean_closure_set(x_15, 0, x_14); +lean_inc(x_5); lean_inc(x_3); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__23), 11, 10); -lean_closure_set(x_15, 0, x_2); -lean_closure_set(x_15, 1, x_3); -lean_closure_set(x_15, 2, x_4); -lean_closure_set(x_15, 3, x_5); -lean_closure_set(x_15, 4, x_14); -lean_closure_set(x_15, 5, x_6); -lean_closure_set(x_15, 6, x_7); -lean_closure_set(x_15, 7, x_8); -lean_closure_set(x_15, 8, x_9); -lean_closure_set(x_15, 9, x_10); -lean_inc(x_10); -lean_inc(x_11); -x_16 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_11, x_15); +lean_inc(x_2); +x_16 = l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); x_17 = lean_box(x_12); -lean_inc(x_10); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__27___boxed), 6, 5); -lean_closure_set(x_18, 0, x_6); -lean_closure_set(x_18, 1, x_17); -lean_closure_set(x_18, 2, x_3); -lean_closure_set(x_18, 3, x_10); +lean_inc(x_11); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__4___boxed), 6, 5); +lean_closure_set(x_18, 0, x_3); +lean_closure_set(x_18, 1, x_2); +lean_closure_set(x_18, 2, x_17); +lean_closure_set(x_18, 3, x_5); lean_closure_set(x_18, 4, x_11); -x_19 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_16, x_18); +x_19 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_16, x_18); return x_19; } } lean_object* l_Lean_Elab_elabAttr___rarg(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) { _start: { -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_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_11 = lean_ctor_get(x_1, 1); lean_inc(x_11); x_12 = lean_unsigned_to_nat(0u); x_13 = l_Lean_Syntax_getArg(x_10, x_12); -x_14 = lean_ctor_get(x_2, 0); -lean_inc(x_14); -lean_dec(x_2); -lean_inc(x_11); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___boxed), 3, 1); +lean_closure_set(x_14, 0, x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_1); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__13), 11, 10); -lean_closure_set(x_15, 0, x_3); -lean_closure_set(x_15, 1, x_4); -lean_closure_set(x_15, 2, x_5); -lean_closure_set(x_15, 3, x_6); -lean_closure_set(x_15, 4, x_13); -lean_closure_set(x_15, 5, x_1); -lean_closure_set(x_15, 6, x_7); -lean_closure_set(x_15, 7, x_8); -lean_closure_set(x_15, 8, x_9); -lean_closure_set(x_15, 9, x_11); +lean_inc(x_2); +lean_inc(x_1); +x_15 = l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); lean_inc(x_11); -lean_inc(x_14); -x_16 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_14, x_15); -lean_inc(x_11); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__28___boxed), 12, 11); -lean_closure_set(x_17, 0, x_10); -lean_closure_set(x_17, 1, x_3); -lean_closure_set(x_17, 2, x_4); -lean_closure_set(x_17, 3, x_5); -lean_closure_set(x_17, 4, x_6); -lean_closure_set(x_17, 5, x_1); -lean_closure_set(x_17, 6, x_7); -lean_closure_set(x_17, 7, x_8); -lean_closure_set(x_17, 8, x_9); -lean_closure_set(x_17, 9, x_11); -lean_closure_set(x_17, 10, x_14); -x_18 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_16, x_17); -return x_18; +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__5___boxed), 12, 11); +lean_closure_set(x_16, 0, x_10); +lean_closure_set(x_16, 1, x_1); +lean_closure_set(x_16, 2, x_2); +lean_closure_set(x_16, 3, x_3); +lean_closure_set(x_16, 4, x_4); +lean_closure_set(x_16, 5, x_5); +lean_closure_set(x_16, 6, x_6); +lean_closure_set(x_16, 7, x_7); +lean_closure_set(x_16, 8, x_8); +lean_closure_set(x_16, 9, x_9); +lean_closure_set(x_16, 10, x_11); +x_17 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_15, x_16); +return x_17; } } lean_object* l_Lean_Elab_elabAttr(lean_object* x_1) { @@ -2062,34 +2240,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg), 10, 0); return x_2; } } -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___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, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -return x_9; -} -} -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__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_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__2(x_1, x_2, x_3, x_4); -lean_dec(x_4); -return x_5; -} -} -lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___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: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_7); -lean_dec(x_7); -x_9 = l_List_forM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_8); -return x_9; -} -} lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___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, lean_object* x_8) { _start: { @@ -2099,21 +2249,49 @@ lean_dec(x_8); return x_9; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__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_elabAttr___rarg___lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_4); +return x_5; +} +} +lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___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: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_7); +lean_dec(x_7); +x_9 = l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_8); +return x_9; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___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_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__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_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_elabAttr___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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_elabAttr___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -2121,114 +2299,114 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_elabAttr___rarg___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__4___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_elabAttr___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_2); return x_7; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l_Lean_Elab_elabAttr___rarg___lambda__4(x_1, x_4, x_3); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__5(x_1, x_4, x_3); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_8); lean_dec(x_8); -x_11 = l_Lean_Elab_elabAttr___rarg___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_9); +x_11 = l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_9); lean_dec(x_9); return x_11; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* 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* l_List_forM___at_Lean_Elab_elabAttr___spec__4___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, lean_object* x_8) { _start: { -lean_object* x_17; -x_17 = l_Lean_Elab_elabAttr___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_7); -return x_17; +lean_object* x_9; +x_9 = l_List_forM___at_Lean_Elab_elabAttr___spec__4___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +return x_9; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Elab_elabAttr___rarg___lambda__14(x_1, x_2, x_3); +x_4 = l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__1(x_1, x_2, x_3); lean_dec(x_3); return x_4; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__15___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_elabAttr___rarg___lambda__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_9); return x_10; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_2); lean_dec(x_2); -x_7 = l_Lean_Elab_elabAttr___rarg___lambda__24(x_1, x_6, x_3, x_4, x_5); +x_7 = l_Lean_Elab_elabAttr___rarg___lambda__1(x_1, x_6, x_3, x_4, x_5); lean_dec(x_5); return x_7; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_elabAttr___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, lean_object* x_7) { _start: { uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_2); lean_dec(x_2); -x_9 = l_Lean_Elab_elabAttr___rarg___lambda__25(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Elab_elabAttr___rarg___lambda__2(x_1, x_8, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); return x_9; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_elabAttr___rarg___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: { uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_2); -lean_dec(x_2); -x_9 = l_Lean_Elab_elabAttr___rarg___lambda__26(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +x_8 = lean_unbox(x_3); +lean_dec(x_3); +x_9 = l_Lean_Elab_elabAttr___rarg___lambda__3(x_1, x_2, x_8, x_4, x_5, x_6, x_7); return x_9; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4___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: { uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Elab_elabAttr___rarg___lambda__27(x_1, x_7, x_3, x_4, x_5, x_6); +x_7 = lean_unbox(x_3); +lean_dec(x_3); +x_8 = l_Lean_Elab_elabAttr___rarg___lambda__4(x_1, x_2, x_7, x_4, x_5, x_6); return x_8; } } -lean_object* l_Lean_Elab_elabAttr___rarg___lambda__28___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) { +lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5___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: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_12); lean_dec(x_12); -x_14 = l_Lean_Elab_elabAttr___rarg___lambda__28(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_13); +x_14 = l_Lean_Elab_elabAttr___rarg___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_13); lean_dec(x_1); return x_14; } @@ -2577,24 +2755,24 @@ l_Lean_Elab_mkAttrKindGlobal___closed__7 = _init_l_Lean_Elab_mkAttrKindGlobal___ lean_mark_persistent(l_Lean_Elab_mkAttrKindGlobal___closed__7); l_Lean_Elab_mkAttrKindGlobal = _init_l_Lean_Elab_mkAttrKindGlobal(); lean_mark_persistent(l_Lean_Elab_mkAttrKindGlobal); -l_Lean_Elab_elabAttr___rarg___lambda__25___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__25___closed__1(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__25___closed__1); -l_Lean_Elab_elabAttr___rarg___lambda__25___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__25___closed__2(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__25___closed__2); -l_Lean_Elab_elabAttr___rarg___lambda__25___closed__3 = _init_l_Lean_Elab_elabAttr___rarg___lambda__25___closed__3(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__25___closed__3); -l_Lean_Elab_elabAttr___rarg___lambda__27___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__27___closed__1(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__27___closed__1); -l_Lean_Elab_elabAttr___rarg___lambda__27___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__27___closed__2(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__27___closed__2); -l_Lean_Elab_elabAttr___rarg___lambda__27___closed__3 = _init_l_Lean_Elab_elabAttr___rarg___lambda__27___closed__3(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__27___closed__3); -l_Lean_Elab_elabAttr___rarg___lambda__27___closed__4 = _init_l_Lean_Elab_elabAttr___rarg___lambda__27___closed__4(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__27___closed__4); -l_Lean_Elab_elabAttr___rarg___lambda__27___closed__5 = _init_l_Lean_Elab_elabAttr___rarg___lambda__27___closed__5(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__27___closed__5); -l_Lean_Elab_elabAttr___rarg___lambda__27___closed__6 = _init_l_Lean_Elab_elabAttr___rarg___lambda__27___closed__6(); -lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__27___closed__6); +l_Lean_Elab_elabAttr___rarg___lambda__2___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__2___closed__1); +l_Lean_Elab_elabAttr___rarg___lambda__2___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__2___closed__2); +l_Lean_Elab_elabAttr___rarg___lambda__2___closed__3 = _init_l_Lean_Elab_elabAttr___rarg___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__2___closed__3); +l_Lean_Elab_elabAttr___rarg___lambda__4___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__4___closed__1); +l_Lean_Elab_elabAttr___rarg___lambda__4___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__4___closed__2); +l_Lean_Elab_elabAttr___rarg___lambda__4___closed__3 = _init_l_Lean_Elab_elabAttr___rarg___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__4___closed__3); +l_Lean_Elab_elabAttr___rarg___lambda__4___closed__4 = _init_l_Lean_Elab_elabAttr___rarg___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__4___closed__4); +l_Lean_Elab_elabAttr___rarg___lambda__4___closed__5 = _init_l_Lean_Elab_elabAttr___rarg___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__4___closed__5); +l_Lean_Elab_elabAttr___rarg___lambda__4___closed__6 = _init_l_Lean_Elab_elabAttr___rarg___lambda__4___closed__6(); +lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__4___closed__6); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index c9d9fec85a..fbc651bcf9 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -23,20 +23,18 @@ lean_object* l_Lean_Elab_Term_elabBinder___rarg___lambda__1___boxed(lean_object* lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabBinders(lean_object*); lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isAntiquotSuffixSplice(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_evalExpr___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__6; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getMatchAltsNumPatterns(lean_object*); lean_object* l_Lean_Elab_Term_expandWhereDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_withNewLocals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__10; size_t l_USize_add(size_t, size_t); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -56,13 +54,13 @@ static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinder lean_object* l_Lean_Elab_Term_elabDepArrow___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__2(lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_expandFunBinders_loop___spec__2(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabForall___closed__1; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__25; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -74,6 +72,7 @@ static lean_object* l_Lean_Elab_Term_elabArrow___closed__1; lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__5; lean_object* l_Lean_Elab_Term_elabLetDeclAux_match__1(lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__1; lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__1; @@ -87,22 +86,24 @@ lean_object* l_Lean_SourceInfo_fromRef(lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___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_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__3; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinder___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_Term_elabFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabForall___closed__4; lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandWhereDecls(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__5(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_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__2; lean_object* l_Lean_Elab_Term_expandFunBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__37; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__5___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*); static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__11; static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheckIdent___spec__1___rarg(lean_object*); @@ -112,17 +113,20 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl___closed__3 static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__8; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___closed__2; lean_object* l_Lean_Elab_Term_elabLetDeclCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecls_loop___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow___closed__1; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__4; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___closed__2; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__3; lean_object* l_Lean_Elab_Term_elabFunBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__2; @@ -152,7 +156,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun___closed__2; static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__7; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__1___rarg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__3; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); @@ -163,15 +167,14 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Ela static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__8; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__4___rarg(lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nameLitKind; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__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* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__13; -lean_object* l_Lean_Elab_Term_precheckFun___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__7; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___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_object* lean_nat_add(lean_object*, lean_object*); @@ -188,25 +191,25 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunB lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__5; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__5; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__10; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__6; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___at_Lean_Elab_Term_elabBinders___spec__1___rarg___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* l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__2; lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__8; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__13; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__4; static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__6; lean_object* l_Lean_Elab_Term_Quotation_precheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_restoreSynthInstanceCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__13; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandLetEqnsDecl___closed__1; @@ -227,17 +230,16 @@ static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__16; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabFun___closed__3; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__5; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__4; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___lambda__2___closed__2; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__30; lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -245,6 +247,7 @@ lean_object* l_Lean_Elab_Term_declareTacticSyntax(lean_object*, lean_object*, le static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__33; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__14; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__28; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___closed__1; lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -257,6 +260,7 @@ lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint static lean_object* l___regBuiltin_Lean_Elab_Term_precheckFun___closed__2; static lean_object* l_Lean_Elab_Term_elabForall___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabFun___closed__2; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__1; static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__11; lean_object* l_Lean_Elab_Term_elabForall___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -266,11 +270,10 @@ lean_object* l_Lean_Elab_Term_mkLetIdDeclView___boxed(lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5601_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5560_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061_(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__4; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__20; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__8; @@ -279,15 +282,14 @@ static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2; -lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__18; extern lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__7; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__3; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__15; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__4___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__9; lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__1; @@ -312,7 +314,6 @@ static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchA static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__32; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__10; lean_object* l_Lean_Elab_Term_elabLetDeclCore___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_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__5___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_precheckFun___closed__1; static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__1; @@ -329,23 +330,23 @@ uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOptType(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___closed__3; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__3___rarg(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForall___closed__2; lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__4___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*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__24; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__8; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabForall(lean_object*); lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__3; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow___closed__3; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___closed__1; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__19; -lean_object* l_Lean_Elab_Term_precheckFun___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_checkBinderAnnotations___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -354,13 +355,16 @@ uint8_t l_Array_isEmpty___rarg(lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__4; lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType_match__2(lean_object*); lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__7; uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__8; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__6___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*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__14; lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandWhereDeclsOpt___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -373,7 +377,6 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux_loop uint8_t l_Lean_Syntax_isAntiquot(lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandWhereDecls___lambda__2(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg___closed__1; lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__3(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__5; @@ -383,24 +386,26 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_pos lean_object* l_Lean_Elab_Term_elabLetDeclAux___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*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__15; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__2; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__1; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__13; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOptType___boxed(lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__26; lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__3; extern lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl___closed__2; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__4; extern lean_object* l_Lean_identKind; lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -420,6 +425,7 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___privat lean_object* l_Lean_Elab_Term_elabFun___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__16; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop(lean_object*); lean_object* l_Lean_mkHole(lean_object*); lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(lean_object*, lean_object*); @@ -432,7 +438,6 @@ lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__3; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___boxed__const__1; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___lambda__2___closed__3; @@ -440,7 +445,6 @@ static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinder static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__6; lean_object* l_Lean_mkApp(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__4; lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__35; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -454,7 +458,9 @@ lean_object* l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(lean_object*, lea static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__2; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType_match__1(lean_object*); lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls_loop_match__1(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__6; +lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl___closed__1; lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__31; @@ -466,18 +472,19 @@ static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__12; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl___closed__1; -lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandWhereDecls___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic_match__1(lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__1(lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__2; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___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*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__10; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); @@ -494,7 +501,7 @@ static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__2; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_precheckFun___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__5; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12; @@ -513,45 +520,43 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loo lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_precheckFun___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__1; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__11; -lean_object* l_Lean_Elab_Term_precheckFun___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__2; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_precheckFun(lean_object*); lean_object* l_Lean_Elab_Term_mkLetIdDeclView(lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__16; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___closed__4; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__9; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__17; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f___spec__3___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__2; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__2; static lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__3___closed__2; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__4; static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__8; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__11; lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl(lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrow___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__14; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__3; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__15; @@ -566,6 +571,7 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsInto static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__8; static lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl___closed__3; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabFun___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__38; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__21; lean_object* l_Lean_Elab_Term_elabLetDeclCore(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -575,6 +581,7 @@ lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Elab_Term_FunBinders_State_fvars___default; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__7; lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__9; lean_object* l_Lean_mkConst(lean_object*, lean_object*); @@ -584,6 +591,7 @@ lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_o static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__3; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__4; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__1; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__34; lean_object* l_Lean_Elab_Term_expandWhereDeclsOpt(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1___rarg___boxed(lean_object*, lean_object*); @@ -599,7 +607,6 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Ela static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__13; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__3___rarg___closed__1; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__27; -lean_object* l_Lean_Elab_Term_precheckFun___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__10; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__9; @@ -610,6 +617,7 @@ lean_object* l_Lean_Elab_Term_expandFunBinders_loop___boxed(lean_object*, lean_o lean_object* l_Lean_Elab_Term_elabLetDeclAux_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__36; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabFun___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_precheckFun___closed__3; uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); @@ -1779,6 +1787,107 @@ return x_68; } } } +lean_object* l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(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) { +_start: +{ +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; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +return x_13; +} +else +{ +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_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +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_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} static lean_object* _init_l_Lean_Elab_Term_quoteAutoTactic___closed__1() { _start: { @@ -2650,7 +2759,7 @@ lean_object* x_201; lean_object* x_202; lean_dec(x_14); lean_dec(x_13); x_201 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__11; -x_202 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_1, x_201, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_202 = l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__3(x_1, x_201, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); @@ -2836,7 +2945,7 @@ default: { lean_object* x_276; lean_object* x_277; x_276 = l_Lean_Elab_Term_quoteAutoTactic___closed__39; -x_277 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_1, x_276, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_277 = l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__3(x_1, x_276, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); @@ -2884,6 +2993,32 @@ lean_dec(x_1); return x_19; } } +lean_object* l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___closed__1() { _start: { @@ -4064,6 +4199,37 @@ return x_261; } } } +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; +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_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__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; +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg), 1, 0); +return x_7; +} +} static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__1() { _start: { @@ -4253,7 +4419,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_18 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_9); +x_18 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_9); return x_18; } else @@ -4508,6 +4674,20 @@ return x_112; } } } +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__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_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___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) { _start: { @@ -4572,7 +4752,7 @@ if (x_22 == 0) lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_dec(x_16); x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___closed__2; -x_24 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_17, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_24 = l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__3(x_17, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_17); x_25 = !lean_is_exclusive(x_24); if (x_25 == 0) @@ -4707,23 +4887,11 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; -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_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___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); @@ -5437,133 +5605,19 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__1; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__3() { -_start: -{ -size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 5; -x_2 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__2; -x_3 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__1; -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -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_4); -lean_ctor_set_usize(x_5, 4, x_1); -return x_5; -} -} -lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore(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) { -_start: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_11 = lean_st_ref_get(x_9, x_10); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_st_ref_get(x_5, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_14, 5); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); -lean_dec(x_15); -if (x_16 == 0) -{ -uint8_t x_17; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_17 = !lean_is_exclusive(x_13); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_13, 0); -lean_dec(x_18); -x_19 = lean_box(0); -lean_ctor_set(x_13, 0, x_19); -return x_13; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_13, 1); -lean_inc(x_20); -lean_dec(x_13); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_23 = lean_ctor_get(x_13, 1); -lean_inc(x_23); -lean_dec(x_13); -x_24 = lean_box(0); -x_25 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_25, 0, x_1); -lean_ctor_set(x_25, 1, x_24); -lean_ctor_set(x_25, 2, x_3); -lean_ctor_set(x_25, 3, x_2); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__3; -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_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_23); -return x_29; -} -} -} -lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___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) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(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) { _start: { -lean_object* x_10; lean_object* x_11; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_10 = lean_ctor_get(x_5, 1); +x_11 = lean_box(0); lean_inc(x_10); -x_11 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_5); -return x_11; +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_10); +x_13 = lean_box(0); +x_14 = l_Lean_Elab_Term_addTermInfo(x_1, x_2, x_11, x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_12); +return x_14; } } lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo___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) { @@ -5574,6 +5628,7 @@ x_10 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(x_1, x_2, lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); return x_10; @@ -5664,7 +5719,7 @@ lean_dec(x_1); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__1() { _start: { lean_object* x_1; @@ -5672,17 +5727,17 @@ x_1 = lean_mk_string("checkBinderAnnotations"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____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_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3() { _start: { lean_object* x_1; @@ -5690,7 +5745,7 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__4() { _start: { lean_object* x_1; @@ -5698,13 +5753,13 @@ x_1 = lean_mk_string("check whether type is a class instance whenever the binder return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__5() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__3; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__4; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -5713,12 +5768,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__5; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -5740,7 +5795,6 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loo _start: { 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_inc(x_9); lean_inc(x_6); x_14 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); x_15 = lean_ctor_get(x_14, 1); @@ -6558,7 +6612,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall__ _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___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); @@ -6895,7 +6949,7 @@ if (x_10 == 0) { lean_object* x_11; lean_dec(x_1); -x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_8); return x_11; } else @@ -18870,7 +18924,7 @@ lean_inc(x_1); x_15 = l_Lean_Elab_Term_elabType(x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_15) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t 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_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; uint8_t 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_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); @@ -18908,204 +18962,209 @@ x_30 = lean_ctor_get_uint8(x_5, sizeof(void*)*2); lean_dec(x_5); lean_inc(x_16); x_31 = lean_local_ctx_mk_local_decl(x_3, x_21, x_29, x_16, x_30); +x_32 = lean_box(0); +lean_inc(x_31); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_31); +x_34 = lean_box(0); lean_inc(x_23); lean_inc(x_28); -lean_inc(x_31); -x_32 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore(x_31, x_28, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_22); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = lean_ctor_get(x_12, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_12, 1); -lean_inc(x_35); -x_36 = lean_ctor_get(x_12, 2); +x_35 = l_Lean_Elab_Term_addTermInfo(x_28, x_23, x_32, x_33, x_34, x_8, x_9, x_10, x_11, x_12, x_13, x_22); +lean_dec(x_33); +x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); -x_37 = lean_ctor_get(x_12, 3); +lean_dec(x_35); +x_37 = lean_ctor_get(x_12, 0); lean_inc(x_37); -x_38 = lean_ctor_get(x_12, 4); +x_38 = lean_ctor_get(x_12, 1); lean_inc(x_38); -x_39 = lean_ctor_get(x_12, 5); +x_39 = lean_ctor_get(x_12, 2); lean_inc(x_39); -x_40 = lean_ctor_get(x_12, 6); +x_40 = lean_ctor_get(x_12, 3); lean_inc(x_40); -x_41 = lean_ctor_get(x_12, 7); +x_41 = lean_ctor_get(x_12, 4); lean_inc(x_41); -x_42 = l_Lean_replaceRef(x_28, x_37); -lean_dec(x_37); +x_42 = lean_ctor_get(x_12, 5); +lean_inc(x_42); +x_43 = lean_ctor_get(x_12, 6); +lean_inc(x_43); +x_44 = lean_ctor_get(x_12, 7); +lean_inc(x_44); +x_45 = l_Lean_replaceRef(x_28, x_40); +lean_dec(x_40); lean_dec(x_28); -x_43 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_43, 0, x_34); -lean_ctor_set(x_43, 1, x_35); -lean_ctor_set(x_43, 2, x_36); -lean_ctor_set(x_43, 3, x_42); -lean_ctor_set(x_43, 4, x_38); -lean_ctor_set(x_43, 5, x_39); -lean_ctor_set(x_43, 6, x_40); -lean_ctor_set(x_43, 7, x_41); +x_46 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_46, 0, x_37); +lean_ctor_set(x_46, 1, x_38); +lean_ctor_set(x_46, 2, x_39); +lean_ctor_set(x_46, 3, x_45); +lean_ctor_set(x_46, 4, x_41); +lean_ctor_set(x_46, 5, x_42); +lean_ctor_set(x_46, 6, x_43); +lean_ctor_set(x_46, 7, x_44); lean_inc(x_13); lean_inc(x_11); lean_inc(x_10); lean_inc(x_16); -x_44 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType(x_23, x_16, x_27, x_8, x_9, x_10, x_11, x_43, x_13, x_33); -if (lean_obj_tag(x_44) == 0) +x_47 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType(x_23, x_16, x_27, x_8, x_9, x_10, x_11, x_46, x_13, x_36); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = !lean_is_exclusive(x_45); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_48 = lean_ctor_get(x_45, 0); -x_49 = lean_ctor_get(x_45, 2); -x_50 = lean_ctor_get(x_45, 3); -x_51 = lean_ctor_get(x_45, 1); -lean_dec(x_51); -lean_inc(x_50); -lean_inc(x_49); -lean_inc(x_31); +lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); -lean_ctor_set(x_45, 1, x_31); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = !lean_is_exclusive(x_48); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_51 = lean_ctor_get(x_48, 0); +x_52 = lean_ctor_get(x_48, 2); +x_53 = lean_ctor_get(x_48, 3); +x_54 = lean_ctor_get(x_48, 1); +lean_dec(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_31); +lean_inc(x_51); +lean_ctor_set(x_48, 1, x_31); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_52 = l_Lean_Meta_isClass_x3f(x_16, x_10, x_11, x_12, x_13, x_46); -if (lean_obj_tag(x_52) == 0) +x_55 = l_Lean_Meta_isClass_x3f(x_16, x_10, x_11, x_12, x_13, x_49); +if (lean_obj_tag(x_55) == 0) { -lean_object* x_53; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -if (lean_obj_tag(x_53) == 0) +lean_object* x_56; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -lean_dec(x_50); -lean_dec(x_49); -lean_dec(x_48); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_53); +lean_dec(x_52); +lean_dec(x_51); lean_dec(x_31); lean_dec(x_23); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_55 = lean_unsigned_to_nat(1u); -x_56 = lean_nat_add(x_6, x_55); -x_57 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_56, x_45, x_8, x_9, x_10, x_11, x_12, x_13, x_54); -return x_57; +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = lean_unsigned_to_nat(1u); +x_59 = lean_nat_add(x_6, x_58); +x_60 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_59, x_48, x_8, x_9, x_10, x_11, x_12, x_13, x_57); +return x_60; } 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_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_dec(x_45); -x_58 = lean_ctor_get(x_52, 1); -lean_inc(x_58); -lean_dec(x_52); -x_59 = lean_ctor_get(x_53, 0); -lean_inc(x_59); -lean_dec(x_53); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_23); -x_61 = lean_array_push(x_49, x_60); -x_62 = lean_unsigned_to_nat(1u); -x_63 = lean_nat_add(x_6, x_62); -x_64 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_64, 0, x_48); -lean_ctor_set(x_64, 1, x_31); -lean_ctor_set(x_64, 2, x_61); -lean_ctor_set(x_64, 3, x_50); -x_65 = l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(x_11, x_12, x_13, x_58); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_68 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_63, x_64, x_8, x_9, x_10, x_11, x_12, x_13, x_67); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +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_dec(x_48); +x_61 = lean_ctor_get(x_55, 1); +lean_inc(x_61); +lean_dec(x_55); +x_62 = lean_ctor_get(x_56, 0); +lean_inc(x_62); +lean_dec(x_56); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_23); +x_64 = lean_array_push(x_52, x_63); +x_65 = lean_unsigned_to_nat(1u); +x_66 = lean_nat_add(x_6, x_65); +x_67 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_67, 0, x_51); +lean_ctor_set(x_67, 1, x_31); +lean_ctor_set(x_67, 2, x_64); +lean_ctor_set(x_67, 3, x_53); +x_68 = l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(x_11, x_12, x_13, x_61); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); lean_inc(x_70); lean_dec(x_68); -x_71 = l_Lean_Meta_restoreSynthInstanceCache(x_66, x_10, x_11, x_12, x_13, x_70); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_72 = !lean_is_exclusive(x_71); -if (x_72 == 0) +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_71 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_66, x_67, x_8, x_9, x_10, x_11, x_12, x_13, x_70); +if (lean_obj_tag(x_71) == 0) { -lean_object* x_73; -x_73 = lean_ctor_get(x_71, 0); -lean_dec(x_73); -lean_ctor_set(x_71, 0, x_69); -return x_71; -} -else -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_71, 1); -lean_inc(x_74); +lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); lean_dec(x_71); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_69); -lean_ctor_set(x_75, 1, x_74); -return x_75; -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_76 = lean_ctor_get(x_68, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_68, 1); -lean_inc(x_77); -lean_dec(x_68); -x_78 = l_Lean_Meta_restoreSynthInstanceCache(x_66, x_10, x_11, x_12, x_13, x_77); +x_74 = l_Lean_Meta_restoreSynthInstanceCache(x_69, x_10, x_11, x_12, x_13, x_73); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) +x_75 = !lean_is_exclusive(x_74); +if (x_75 == 0) { -lean_object* x_80; -x_80 = lean_ctor_get(x_78, 0); -lean_dec(x_80); -lean_ctor_set_tag(x_78, 1); -lean_ctor_set(x_78, 0, x_76); +lean_object* x_76; +x_76 = lean_ctor_get(x_74, 0); +lean_dec(x_76); +lean_ctor_set(x_74, 0, x_72); +return x_74; +} +else +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_74, 1); +lean_inc(x_77); +lean_dec(x_74); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_72); +lean_ctor_set(x_78, 1, x_77); return x_78; } +} else { -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_78, 1); -lean_inc(x_81); -lean_dec(x_78); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_76); -lean_ctor_set(x_82, 1, x_81); -return x_82; +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_71, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_71, 1); +lean_inc(x_80); +lean_dec(x_71); +x_81 = l_Lean_Meta_restoreSynthInstanceCache(x_69, x_10, x_11, x_12, x_13, x_80); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_82 = !lean_is_exclusive(x_81); +if (x_82 == 0) +{ +lean_object* x_83; +x_83 = lean_ctor_get(x_81, 0); +lean_dec(x_83); +lean_ctor_set_tag(x_81, 1); +lean_ctor_set(x_81, 0, x_79); +return x_81; +} +else +{ +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_dec(x_81); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_79); +lean_ctor_set(x_85, 1, x_84); +return x_85; } } } } else { -uint8_t x_83; -lean_dec(x_45); -lean_dec(x_50); -lean_dec(x_49); +uint8_t x_86; lean_dec(x_48); +lean_dec(x_53); +lean_dec(x_52); +lean_dec(x_51); lean_dec(x_31); lean_dec(x_23); lean_dec(x_13); @@ -19115,177 +19174,177 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_83 = !lean_is_exclusive(x_52); -if (x_83 == 0) +x_86 = !lean_is_exclusive(x_55); +if (x_86 == 0) { -return x_52; +return x_55; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_52, 0); -x_85 = lean_ctor_get(x_52, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_52); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; -} -} -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_87 = lean_ctor_get(x_45, 0); -x_88 = lean_ctor_get(x_45, 2); -x_89 = lean_ctor_get(x_45, 3); -lean_inc(x_89); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_55, 0); +x_88 = lean_ctor_get(x_55, 1); lean_inc(x_88); lean_inc(x_87); -lean_dec(x_45); -lean_inc(x_89); -lean_inc(x_88); +lean_dec(x_55); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; +} +} +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_90 = lean_ctor_get(x_48, 0); +x_91 = lean_ctor_get(x_48, 2); +x_92 = lean_ctor_get(x_48, 3); +lean_inc(x_92); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_48); +lean_inc(x_92); +lean_inc(x_91); lean_inc(x_31); -lean_inc(x_87); -x_90 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_90, 0, x_87); -lean_ctor_set(x_90, 1, x_31); -lean_ctor_set(x_90, 2, x_88); -lean_ctor_set(x_90, 3, x_89); +lean_inc(x_90); +x_93 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_93, 0, x_90); +lean_ctor_set(x_93, 1, x_31); +lean_ctor_set(x_93, 2, x_91); +lean_ctor_set(x_93, 3, x_92); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_91 = l_Lean_Meta_isClass_x3f(x_16, x_10, x_11, x_12, x_13, x_46); -if (lean_obj_tag(x_91) == 0) +x_94 = l_Lean_Meta_isClass_x3f(x_16, x_10, x_11, x_12, x_13, x_49); +if (lean_obj_tag(x_94) == 0) { -lean_object* x_92; -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -if (lean_obj_tag(x_92) == 0) +lean_object* x_95; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +if (lean_obj_tag(x_95) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -lean_dec(x_89); -lean_dec(x_88); -lean_dec(x_87); +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); lean_dec(x_31); lean_dec(x_23); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_unsigned_to_nat(1u); -x_95 = lean_nat_add(x_6, x_94); -x_96 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_95, x_90, x_8, x_9, x_10, x_11, x_12, x_13, x_93); -return x_96; +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_unsigned_to_nat(1u); +x_98 = lean_nat_add(x_6, x_97); +x_99 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_98, x_93, x_8, x_9, x_10, x_11, x_12, x_13, x_96); +return x_99; } 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_dec(x_90); -x_97 = lean_ctor_get(x_91, 1); -lean_inc(x_97); -lean_dec(x_91); -x_98 = lean_ctor_get(x_92, 0); -lean_inc(x_98); -lean_dec(x_92); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_23); -x_100 = lean_array_push(x_88, x_99); -x_101 = lean_unsigned_to_nat(1u); -x_102 = lean_nat_add(x_6, x_101); -x_103 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_103, 0, x_87); -lean_ctor_set(x_103, 1, x_31); -lean_ctor_set(x_103, 2, x_100); -lean_ctor_set(x_103, 3, x_89); -x_104 = l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(x_11, x_12, x_13, x_97); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_107 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_102, x_103, x_8, x_9, x_10, x_11, x_12, x_13, x_106); -if (lean_obj_tag(x_107) == 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_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_dec(x_93); +x_100 = lean_ctor_get(x_94, 1); +lean_inc(x_100); +lean_dec(x_94); +x_101 = lean_ctor_get(x_95, 0); +lean_inc(x_101); +lean_dec(x_95); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_23); +x_103 = lean_array_push(x_91, x_102); +x_104 = lean_unsigned_to_nat(1u); +x_105 = lean_nat_add(x_6, x_104); +x_106 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_106, 0, x_90); +lean_ctor_set(x_106, 1, x_31); +lean_ctor_set(x_106, 2, x_103); +lean_ctor_set(x_106, 3, x_92); +x_107 = l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(x_11, x_12, x_13, x_100); x_108 = lean_ctor_get(x_107, 0); lean_inc(x_108); x_109 = lean_ctor_get(x_107, 1); lean_inc(x_109); lean_dec(x_107); -x_110 = l_Lean_Meta_restoreSynthInstanceCache(x_105, x_10, x_11, x_12, x_13, x_109); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_110 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews(x_7, x_105, x_106, x_8, x_9, x_10, x_11, x_12, x_13, x_109); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_112 = x_110; -} else { - lean_dec_ref(x_110); - x_112 = lean_box(0); -} -if (lean_is_scalar(x_112)) { - x_113 = lean_alloc_ctor(0, 2, 0); -} else { - x_113 = x_112; -} -lean_ctor_set(x_113, 0, x_108); -lean_ctor_set(x_113, 1, x_111); -return x_113; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_114 = lean_ctor_get(x_107, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_107, 1); -lean_inc(x_115); -lean_dec(x_107); -x_116 = l_Lean_Meta_restoreSynthInstanceCache(x_105, x_10, x_11, x_12, x_13, x_115); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_113 = l_Lean_Meta_restoreSynthInstanceCache(x_108, x_10, x_11, x_12, x_13, x_112); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_117 = lean_ctor_get(x_116, 1); +x_114 = lean_ctor_get(x_113, 1); +lean_inc(x_114); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_115 = x_113; +} else { + lean_dec_ref(x_113); + x_115 = lean_box(0); +} +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(0, 2, 0); +} else { + x_116 = x_115; +} +lean_ctor_set(x_116, 0, x_111); +lean_ctor_set(x_116, 1, x_114); +return x_116; +} +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; +x_117 = lean_ctor_get(x_110, 0); lean_inc(x_117); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_118 = x_116; +x_118 = lean_ctor_get(x_110, 1); +lean_inc(x_118); +lean_dec(x_110); +x_119 = l_Lean_Meta_restoreSynthInstanceCache(x_108, x_10, x_11, x_12, x_13, x_118); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_121 = x_119; } else { - lean_dec_ref(x_116); - x_118 = lean_box(0); + lean_dec_ref(x_119); + x_121 = lean_box(0); } -if (lean_is_scalar(x_118)) { - x_119 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_121)) { + x_122 = lean_alloc_ctor(1, 2, 0); } else { - x_119 = x_118; - lean_ctor_set_tag(x_119, 1); + x_122 = x_121; + lean_ctor_set_tag(x_122, 1); } -lean_ctor_set(x_119, 0, x_114); -lean_ctor_set(x_119, 1, x_117); -return x_119; +lean_ctor_set(x_122, 0, x_117); +lean_ctor_set(x_122, 1, x_120); +return x_122; } } } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_93); +lean_dec(x_92); +lean_dec(x_91); lean_dec(x_90); -lean_dec(x_89); -lean_dec(x_88); -lean_dec(x_87); lean_dec(x_31); lean_dec(x_23); lean_dec(x_13); @@ -19295,32 +19354,32 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_120 = lean_ctor_get(x_91, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_91, 1); -lean_inc(x_121); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - x_122 = x_91; +x_123 = lean_ctor_get(x_94, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_94, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_125 = x_94; } else { - lean_dec_ref(x_91); - x_122 = lean_box(0); + lean_dec_ref(x_94); + x_125 = lean_box(0); } -if (lean_is_scalar(x_122)) { - x_123 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_125)) { + x_126 = lean_alloc_ctor(1, 2, 0); } else { - x_123 = x_122; + x_126 = x_125; } -lean_ctor_set(x_123, 0, x_120); -lean_ctor_set(x_123, 1, x_121); -return x_123; +lean_ctor_set(x_126, 0, x_123); +lean_ctor_set(x_126, 1, x_124); +return x_126; } } } else { -uint8_t x_124; +uint8_t x_127; lean_dec(x_31); lean_dec(x_23); lean_dec(x_16); @@ -19331,29 +19390,29 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_124 = !lean_is_exclusive(x_44); -if (x_124 == 0) +x_127 = !lean_is_exclusive(x_47); +if (x_127 == 0) { -return x_44; +return x_47; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_44, 0); -x_126 = lean_ctor_get(x_44, 1); -lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_44); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -return x_127; +lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_128 = lean_ctor_get(x_47, 0); +x_129 = lean_ctor_get(x_47, 1); +lean_inc(x_129); +lean_inc(x_128); +lean_dec(x_47); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_128); +lean_ctor_set(x_130, 1, x_129); +return x_130; } } } else { -uint8_t x_128; +uint8_t x_131; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -19366,23 +19425,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_128 = !lean_is_exclusive(x_15); -if (x_128 == 0) +x_131 = !lean_is_exclusive(x_15); +if (x_131 == 0) { return x_15; } else { -lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_129 = lean_ctor_get(x_15, 0); -x_130 = lean_ctor_get(x_15, 1); -lean_inc(x_130); -lean_inc(x_129); +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_15, 0); +x_133 = lean_ctor_get(x_15, 1); +lean_inc(x_133); +lean_inc(x_132); lean_dec(x_15); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -return x_131; +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; } } } @@ -22737,7 +22796,490 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__1(lean_object* x_1, size_t x_2, size_t 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* l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_8); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_8, 3); +x_13 = l_Lean_replaceRef(x_1, x_12); +lean_dec(x_12); +lean_ctor_set(x_8, 3, x_13); +x_14 = l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_8); +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; lean_object* x_24; lean_object* x_25; +x_15 = lean_ctor_get(x_8, 0); +x_16 = lean_ctor_get(x_8, 1); +x_17 = lean_ctor_get(x_8, 2); +x_18 = lean_ctor_get(x_8, 3); +x_19 = lean_ctor_get(x_8, 4); +x_20 = lean_ctor_get(x_8, 5); +x_21 = lean_ctor_get(x_8, 6); +x_22 = lean_ctor_get(x_8, 7); +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_8); +x_23 = l_Lean_replaceRef(x_1, x_18); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_24, 0, x_15); +lean_ctor_set(x_24, 1, x_16); +lean_ctor_set(x_24, 2, x_17); +lean_ctor_set(x_24, 3, x_23); +lean_ctor_set(x_24, 4, x_19); +lean_ctor_set(x_24, 5, x_20); +lean_ctor_set(x_24, 6, x_21); +lean_ctor_set(x_24, 7, x_22); +x_25 = l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); +lean_dec(x_24); +return x_25; +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__4___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__4(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__4___rarg), 1, 0); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__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; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__4(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; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__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) { +_start: +{ +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_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 4); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 5); +lean_inc(x_15); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_13); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_18, 0, x_13); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_19, 0, x_13); +lean_closure_set(x_19, 1, x_14); +lean_closure_set(x_19, 2, x_15); +lean_inc(x_13); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_20, 0, x_13); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_15); +x_21 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_17); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_19); +lean_ctor_set(x_21, 4, x_20); +x_22 = x_21; +x_23 = lean_ctor_get(x_7, 3); +lean_inc(x_23); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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_ctor_get(x_7, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_7, 2); +lean_inc(x_28); +x_29 = lean_st_ref_get(x_8, x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_environment_main_module(x_13); +x_34 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_25); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_23); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_apply_2(x_1, x_34, x_36); +if (lean_obj_tag(x_37) == 0) +{ +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; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_st_ref_take(x_8, x_31); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = !lean_is_exclusive(x_42); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_45 = lean_ctor_get(x_42, 1); +lean_dec(x_45); +lean_ctor_set(x_42, 1, x_40); +x_46 = lean_st_ref_set(x_8, x_42, x_43); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_ctor_get(x_39, 1); +lean_inc(x_48); +lean_dec(x_39); +x_49 = l_List_reverse___rarg(x_48); +x_50 = l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__4(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_47); +lean_dec(x_7); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) +{ +lean_object* x_52; +x_52 = lean_ctor_get(x_50, 0); +lean_dec(x_52); +lean_ctor_set(x_50, 0, x_38); +return x_50; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_38); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +else +{ +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; +x_55 = lean_ctor_get(x_42, 0); +x_56 = lean_ctor_get(x_42, 2); +x_57 = lean_ctor_get(x_42, 3); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_42); +x_58 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_58, 0, x_55); +lean_ctor_set(x_58, 1, x_40); +lean_ctor_set(x_58, 2, x_56); +lean_ctor_set(x_58, 3, x_57); +x_59 = lean_st_ref_set(x_8, x_58, x_43); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_61 = lean_ctor_get(x_39, 1); +lean_inc(x_61); +lean_dec(x_39); +x_62 = l_List_reverse___rarg(x_61); +x_63 = l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__4(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_60); +lean_dec(x_7); +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_65 = x_63; +} else { + lean_dec_ref(x_63); + x_65 = lean_box(0); +} +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(0, 2, 0); +} else { + x_66 = x_65; +} +lean_ctor_set(x_66, 0, x_38); +lean_ctor_set(x_66, 1, x_64); +return x_66; +} +} +else +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_37, 0); +lean_inc(x_67); +lean_dec(x_37); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__2(x_68, x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_68); +return x_72; +} +else +{ +lean_object* x_73; +lean_dec(x_7); +x_73 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__4___rarg(x_31); +return x_73; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__5(lean_object* x_1, size_t x_2, size_t 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: { uint8_t x_13; @@ -22826,7 +23368,7 @@ return x_29; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__2(lean_object* x_1, size_t x_2, size_t 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* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__6(lean_object* x_1, size_t x_2, size_t 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: { uint8_t x_13; @@ -22876,7 +23418,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__1(x_17, x_20, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__5(x_17, x_20, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); lean_dec(x_17); if (lean_obj_tag(x_22) == 0) { @@ -22956,150 +23498,6 @@ return x_35; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__4(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) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 3); -x_13 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 3, x_13); -x_14 = l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -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; lean_object* x_24; lean_object* x_25; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -x_17 = lean_ctor_get(x_8, 2); -x_18 = lean_ctor_get(x_8, 3); -x_19 = lean_ctor_get(x_8, 4); -x_20 = lean_ctor_get(x_8, 5); -x_21 = lean_ctor_get(x_8, 6); -x_22 = lean_ctor_get(x_8, 7); -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_8); -x_23 = l_Lean_replaceRef(x_1, x_18); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_24, 0, x_15); -lean_ctor_set(x_24, 1, x_16); -lean_ctor_set(x_24, 2, x_17); -lean_ctor_set(x_24, 3, x_23); -lean_ctor_set(x_24, 4, x_19); -lean_ctor_set(x_24, 5, x_20); -lean_ctor_set(x_24, 6, x_21); -lean_ctor_set(x_24, 7, x_22); -x_25 = l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); -lean_dec(x_24); -return x_25; -} -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__5___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__5(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__5___rarg), 1, 0); -return x_8; -} -} -lean_object* l_Lean_Elab_Term_precheckFun___lambda__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; lean_object* x_7; -x_5 = l_Lean_Environment_contains(x_1, x_2); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_precheckFun___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; -x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_Term_precheckFun___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) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} lean_object* l_Lean_Elab_Term_precheckFun(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) { _start: { @@ -23146,7 +23544,7 @@ return x_17; } else { -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_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; uint8_t x_76; +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_18 = lean_unsigned_to_nat(0u); x_19 = l_Lean_Syntax_getArg(x_14, x_18); x_20 = lean_unsigned_to_nat(2u); @@ -23154,165 +23552,32 @@ x_21 = l_Lean_Syntax_getArg(x_14, x_20); lean_dec(x_14); x_22 = l_Lean_Syntax_getArgs(x_19); lean_dec(x_19); -x_42 = lean_st_ref_get(x_8, x_9); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_ctor_get(x_43, 0); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_ctor_get(x_7, 4); -lean_inc(x_46); -x_47 = lean_ctor_get(x_7, 5); -lean_inc(x_47); -lean_inc(x_45); -x_48 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_48, 0, x_45); -lean_inc(x_46); -x_49 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_49, 0, x_46); -lean_inc(x_45); -x_50 = lean_alloc_closure((void*)(l_Lean_Elab_Term_precheckFun___lambda__1___boxed), 4, 1); -lean_closure_set(x_50, 0, x_45); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_45); -x_51 = lean_alloc_closure((void*)(l_Lean_Elab_Term_precheckFun___lambda__2___boxed), 6, 3); -lean_closure_set(x_51, 0, x_45); -lean_closure_set(x_51, 1, x_46); -lean_closure_set(x_51, 2, x_47); -lean_inc(x_45); -x_52 = lean_alloc_closure((void*)(l_Lean_Elab_Term_precheckFun___lambda__3___boxed), 6, 3); -lean_closure_set(x_52, 0, x_45); -lean_closure_set(x_52, 1, x_46); -lean_closure_set(x_52, 2, x_47); -x_53 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_53, 0, x_48); -lean_ctor_set(x_53, 1, x_49); -lean_ctor_set(x_53, 2, x_50); -lean_ctor_set(x_53, 3, x_51); -lean_ctor_set(x_53, 4, x_52); -x_54 = x_53; -x_55 = lean_ctor_get(x_7, 3); -lean_inc(x_55); -x_56 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_44); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = lean_ctor_get(x_7, 1); -lean_inc(x_59); -x_60 = lean_ctor_get(x_7, 2); -lean_inc(x_60); -x_61 = lean_st_ref_get(x_8, x_58); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_environment_main_module(x_45); -x_66 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_66, 0, x_54); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_57); -lean_ctor_set(x_66, 3, x_59); -lean_ctor_set(x_66, 4, x_60); -lean_ctor_set(x_66, 5, x_55); -x_67 = lean_box(0); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_64); -lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_Elab_Term_expandFunBinders(x_22, x_21, x_66, x_68); -lean_dec(x_22); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_st_ref_take(x_8, x_63); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_76 = !lean_is_exclusive(x_74); -if (x_76 == 0) +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandFunBinders___boxed), 4, 2); +lean_closure_set(x_23, 0, x_22); +lean_closure_set(x_23, 1, x_21); +lean_inc(x_7); +x_24 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_24) == 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; -x_77 = lean_ctor_get(x_74, 1); -lean_dec(x_77); -lean_ctor_set(x_74, 1, x_72); -x_78 = lean_st_ref_set(x_8, x_74, x_75); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_ctor_get(x_71, 1); -lean_inc(x_80); -lean_dec(x_71); -x_81 = l_List_reverse___rarg(x_80); -x_82 = l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__5(x_81, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_79); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_23 = x_70; -x_24 = x_83; -goto block_41; -} -else -{ -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; -x_84 = lean_ctor_get(x_74, 0); -x_85 = lean_ctor_get(x_74, 2); -x_86 = lean_ctor_get(x_74, 3); -lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_74); -x_87 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_72); -lean_ctor_set(x_87, 2, x_85); -lean_ctor_set(x_87, 3, x_86); -x_88 = lean_st_ref_set(x_8, x_87, x_75); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_90 = lean_ctor_get(x_71, 1); -lean_inc(x_90); -lean_dec(x_71); -x_91 = l_List_reverse___rarg(x_90); -x_92 = l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__5(x_91, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_89); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -x_23 = x_70; -x_24 = x_93; -goto block_41; -} -block_41: -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; -x_25 = lean_ctor_get(x_23, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; +x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -x_26 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_ctor_get(x_25, 0); +x_27 = lean_ctor_get(x_24, 1); lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_ctor_get(x_25, 0); +lean_inc(x_28); lean_dec(x_25); -x_28 = lean_array_get_size(x_26); -x_29 = lean_usize_of_nat(x_28); -lean_dec(x_28); -x_30 = 0; -x_31 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +x_29 = lean_ctor_get(x_26, 0); +lean_inc(x_29); +lean_dec(x_26); +x_30 = lean_array_get_size(x_28); +x_31 = lean_usize_of_nat(x_30); +lean_dec(x_30); +x_32 = 0; +x_33 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -23320,26 +23585,26 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_32 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__2(x_26, x_29, x_30, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_24); -lean_dec(x_26); -if (lean_obj_tag(x_32) == 0) +x_34 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__6(x_28, x_31, x_32, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_27); +lean_dec(x_28); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_precheck), 9, 1); -lean_closure_set(x_35, 0, x_27); -x_36 = l_Lean_Elab_Term_Quotation_withNewLocals___rarg(x_33, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34); -lean_dec(x_33); -return x_36; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_precheck), 9, 1); +lean_closure_set(x_37, 0, x_29); +x_38 = l_Lean_Elab_Term_Quotation_withNewLocals___rarg(x_35, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_36); +lean_dec(x_35); +return x_38; } else { -uint8_t x_37; -lean_dec(x_27); +uint8_t x_39; +lean_dec(x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -23347,61 +23612,64 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_37 = !lean_is_exclusive(x_32); -if (x_37 == 0) +x_39 = !lean_is_exclusive(x_34); +if (x_39 == 0) { -return x_32; +return x_34; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_32, 0); -x_39 = lean_ctor_get(x_32, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_32); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_34, 0); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_34); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__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: +else { -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_14 = lean_unbox_usize(x_3); +uint8_t x_43; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__1(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_1); -return x_15; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: +lean_dec(x_2); +x_43 = !lean_is_exclusive(x_24); +if (x_43 == 0) { -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_14 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__2(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_1); -return x_15; +return x_24; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_24, 0); +x_45 = lean_ctor_get(x_24, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_24); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -23412,11 +23680,11 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -23427,11 +23695,11 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -23442,21 +23710,30 @@ lean_dec(x_1); return x_8; } } -lean_object* l_Lean_Elab_Term_precheckFun___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___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_Elab_Term_precheckFun___lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__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_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_Term_precheckFun___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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_Term_precheckFun___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -23464,16 +23741,56 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_Term_precheckFun___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__4___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_precheckFun___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_2); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__5___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: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__5(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_1); +return x_15; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__6(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_1); +return x_15; +} +} static lean_object* _init_l___regBuiltin_Lean_Elab_Term_precheckFun___closed__1() { _start: { @@ -23512,7 +23829,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { 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; uint8_t x_16; @@ -23560,7 +23877,7 @@ return x_22; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__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* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -23572,7 +23889,7 @@ x_11 = lean_ctor_get(x_7, 3); x_12 = l_Lean_replaceRef(x_1, x_11); lean_dec(x_11); lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); return x_13; } @@ -23607,31 +23924,244 @@ lean_ctor_set(x_23, 4, x_18); lean_ctor_set(x_23, 5, x_19); lean_ctor_set(x_23, 6, x_20); lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__2(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +x_24 = l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__3(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); lean_dec(x_23); return x_24; } } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__3___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__4___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__4(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__3___rarg), 1, 0); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__4___rarg), 1, 0); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabFun___spec__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) { +_start: +{ +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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 5); +lean_inc(x_14); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_17, 0, x_12); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_18, 0, x_12); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_14); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_14); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = x_20; +x_22 = lean_ctor_get(x_6, 3); +lean_inc(x_22); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_6, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 2); +lean_inc(x_27); +x_28 = lean_st_ref_get(x_7, x_25); +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_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_environment_main_module(x_12); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_24); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_27); +lean_ctor_set(x_33, 5, x_22); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_2(x_1, x_33, x_35); +if (lean_obj_tag(x_36) == 0) +{ +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_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_st_ref_take(x_7, x_30); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_41, 1); +lean_dec(x_44); +lean_ctor_set(x_41, 1, x_39); +x_45 = lean_st_ref_set(x_7, x_41, x_42); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_ctor_get(x_38, 1); +lean_inc(x_47); +lean_dec(x_38); +x_48 = l_List_reverse___rarg(x_47); +x_49 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_6); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_37); +return x_49; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +else +{ +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; +x_54 = lean_ctor_get(x_41, 0); +x_55 = lean_ctor_get(x_41, 2); +x_56 = lean_ctor_get(x_41, 3); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_41); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_39); +lean_ctor_set(x_57, 2, x_55); +lean_ctor_set(x_57, 3, x_56); +x_58 = lean_st_ref_set(x_7, x_57, x_42); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get(x_38, 1); +lean_inc(x_60); +lean_dec(x_38); +x_61 = l_List_reverse___rarg(x_60); +x_62 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_59); +lean_dec(x_6); +lean_dec(x_2); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_37); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_36, 0); +lean_inc(x_66); +lean_dec(x_36); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__2(x_67, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +lean_dec(x_67); +return x_71; +} +else +{ +lean_object* x_72; +lean_dec(x_6); +lean_dec(x_2); +x_72 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__4___rarg(x_30); +return x_72; +} +} +} +} lean_object* l_Lean_Elab_Term_elabFun___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) { _start: { @@ -23733,7 +24263,7 @@ return x_17; } else { -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_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; uint8_t x_65; +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_18 = lean_unsigned_to_nat(0u); x_19 = l_Lean_Syntax_getArg(x_14, x_18); x_20 = lean_unsigned_to_nat(2u); @@ -23741,175 +24271,72 @@ x_21 = l_Lean_Syntax_getArg(x_14, x_20); lean_dec(x_14); x_22 = l_Lean_Syntax_getArgs(x_19); lean_dec(x_19); -x_31 = lean_st_ref_get(x_8, x_9); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_ctor_get(x_32, 0); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_ctor_get(x_7, 4); -lean_inc(x_35); -x_36 = lean_ctor_get(x_7, 5); -lean_inc(x_36); -lean_inc(x_34); -x_37 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_37, 0, x_34); -lean_inc(x_35); -x_38 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_38, 0, x_35); -lean_inc(x_34); -x_39 = lean_alloc_closure((void*)(l_Lean_Elab_Term_precheckFun___lambda__1___boxed), 4, 1); -lean_closure_set(x_39, 0, x_34); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -x_40 = lean_alloc_closure((void*)(l_Lean_Elab_Term_precheckFun___lambda__2___boxed), 6, 3); -lean_closure_set(x_40, 0, x_34); -lean_closure_set(x_40, 1, x_35); -lean_closure_set(x_40, 2, x_36); -lean_inc(x_34); -x_41 = lean_alloc_closure((void*)(l_Lean_Elab_Term_precheckFun___lambda__3___boxed), 6, 3); -lean_closure_set(x_41, 0, x_34); -lean_closure_set(x_41, 1, x_35); -lean_closure_set(x_41, 2, x_36); -x_42 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_42, 0, x_37); -lean_ctor_set(x_42, 1, x_38); -lean_ctor_set(x_42, 2, x_39); -lean_ctor_set(x_42, 3, x_40); -lean_ctor_set(x_42, 4, x_41); -x_43 = x_42; -x_44 = lean_ctor_get(x_7, 3); -lean_inc(x_44); -x_45 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_33); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_ctor_get(x_7, 1); -lean_inc(x_48); -x_49 = lean_ctor_get(x_7, 2); -lean_inc(x_49); -x_50 = lean_st_ref_get(x_8, x_47); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_environment_main_module(x_34); -x_55 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_55, 0, x_43); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_55, 2, x_46); -lean_ctor_set(x_55, 3, x_48); -lean_ctor_set(x_55, 4, x_49); -lean_ctor_set(x_55, 5, x_44); -x_56 = lean_box(0); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_53); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Elab_Term_expandFunBinders(x_22, x_21, x_55, x_57); -lean_dec(x_22); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_st_ref_take(x_8, x_52); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = !lean_is_exclusive(x_63); -if (x_65 == 0) +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandFunBinders___boxed), 4, 2); +lean_closure_set(x_23, 0, x_22); +lean_closure_set(x_23, 1, x_21); +lean_inc(x_7); +lean_inc(x_3); +x_24 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabFun___spec__1(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_24) == 0) { -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; -x_66 = lean_ctor_get(x_63, 1); -lean_dec(x_66); -lean_ctor_set(x_63, 1, x_61); -x_67 = lean_st_ref_set(x_8, x_63, x_64); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_ctor_get(x_60, 1); -lean_inc(x_69); -lean_dec(x_60); -x_70 = l_List_reverse___rarg(x_69); -x_71 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_70, x_3, x_4, x_5, x_6, x_7, x_8, x_68); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_23 = x_59; -x_24 = x_72; -goto block_30; +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; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_ctor_get(x_25, 0); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_ctor_get(x_26, 0); +lean_inc(x_29); +lean_dec(x_26); +x_30 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabFun___lambda__1), 10, 1); +lean_closure_set(x_30, 0, x_29); +x_31 = l_Lean_Elab_Term_elabFunBinders___rarg(x_28, x_2, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_27); +lean_dec(x_28); +return x_31; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_73 = lean_ctor_get(x_63, 0); -x_74 = lean_ctor_get(x_63, 2); -x_75 = lean_ctor_get(x_63, 3); -lean_inc(x_75); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_63); -x_76 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_76, 0, x_73); -lean_ctor_set(x_76, 1, x_61); -lean_ctor_set(x_76, 2, x_74); -lean_ctor_set(x_76, 3, x_75); -x_77 = lean_st_ref_set(x_8, x_76, x_64); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_79 = lean_ctor_get(x_60, 1); -lean_inc(x_79); -lean_dec(x_60); -x_80 = l_List_reverse___rarg(x_79); -x_81 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_80, x_3, x_4, x_5, x_6, x_7, x_8, x_78); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -x_23 = x_59; -x_24 = x_82; -goto block_30; -} -block_30: +uint8_t x_32; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_32 = !lean_is_exclusive(x_24); +if (x_32 == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_23, 0); -lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_ctor_get(x_25, 0); -lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabFun___lambda__1), 10, 1); -lean_closure_set(x_28, 0, x_27); -x_29 = l_Lean_Elab_Term_elabFunBinders___rarg(x_26, x_2, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_24); -lean_dec(x_26); -return x_29; +return x_24; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_24, 0); +x_34 = lean_ctor_get(x_24, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_24); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -23918,11 +24345,11 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__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* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -23931,11 +24358,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -23945,6 +24372,18 @@ lean_dec(x_1); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabFun___spec__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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabFun___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabFun___closed__1() { _start: { @@ -24793,7 +25232,6 @@ lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__5(lean_object* x_1, lean_ _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -lean_inc(x_7); lean_inc(x_4); x_12 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfo(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_13 = lean_ctor_get(x_12, 1); @@ -24925,7 +25363,7 @@ static lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__3; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -25514,6 +25952,219 @@ x_9 = l_Lean_Elab_Term_elabLetDeclCore_match__2___rarg(x_7, x_8, x_3, x_4, x_5, return x_9; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__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) { +_start: +{ +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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 5); +lean_inc(x_14); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_17, 0, x_12); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_18, 0, x_12); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_14); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_14); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = x_20; +x_22 = lean_ctor_get(x_6, 3); +lean_inc(x_22); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_6, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 2); +lean_inc(x_27); +x_28 = lean_st_ref_get(x_7, x_25); +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_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_environment_main_module(x_12); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_24); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_27); +lean_ctor_set(x_33, 5, x_22); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_2(x_1, x_33, x_35); +if (lean_obj_tag(x_36) == 0) +{ +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_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_st_ref_take(x_7, x_30); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_41, 1); +lean_dec(x_44); +lean_ctor_set(x_41, 1, x_39); +x_45 = lean_st_ref_set(x_7, x_41, x_42); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_ctor_get(x_38, 1); +lean_inc(x_47); +lean_dec(x_38); +x_48 = l_List_reverse___rarg(x_47); +x_49 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_6); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_37); +return x_49; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +else +{ +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; +x_54 = lean_ctor_get(x_41, 0); +x_55 = lean_ctor_get(x_41, 2); +x_56 = lean_ctor_get(x_41, 3); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_41); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_39); +lean_ctor_set(x_57, 2, x_55); +lean_ctor_set(x_57, 3, x_56); +x_58 = lean_st_ref_set(x_7, x_57, x_42); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get(x_38, 1); +lean_inc(x_60); +lean_dec(x_38); +x_61 = l_List_reverse___rarg(x_60); +x_62 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_59); +lean_dec(x_6); +lean_dec(x_2); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_37); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_36, 0); +lean_inc(x_66); +lean_dec(x_36); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__3(x_67, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +lean_dec(x_67); +return x_71; +} +else +{ +lean_object* x_72; +lean_dec(x_6); +lean_dec(x_2); +x_72 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_30); +return x_72; +} +} +} +} lean_object* l_Lean_Elab_Term_elabLetDeclCore___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) { _start: { @@ -25707,7 +26358,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__2; x_2 = l_Lean_Elab_Term_elabLetDeclCore___closed__13; -x_3 = lean_unsigned_to_nat(623u); +x_3 = lean_unsigned_to_nat(619u); x_4 = lean_unsigned_to_nat(24u); x_5 = l_Lean_Elab_Term_quoteAutoTactic___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -25776,417 +26427,327 @@ return x_25; } else { -lean_object* x_26; lean_object* x_27; 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; uint8_t x_67; -x_33 = lean_st_ref_get(x_10, x_11); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); +lean_object* x_26; lean_object* x_27; +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandLetEqnsDecl___boxed), 3, 1); +lean_closure_set(x_26, 0, x_15); +lean_inc(x_9); +lean_inc(x_5); +x_27 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Lean_Syntax_setArg(x_13, x_14, x_28); +lean_inc(x_1); +x_31 = l_Lean_Syntax_setArg(x_1, x_12, x_30); +lean_inc(x_31); +lean_inc(x_1); +x_32 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); +lean_closure_set(x_32, 0, x_1); +lean_closure_set(x_32, 1, x_31); +lean_closure_set(x_32, 2, x_2); +x_33 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_31, x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +return x_33; +} +else +{ +uint8_t x_34; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_27); +if (x_34 == 0) +{ +return x_27; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_27, 0); +x_36 = lean_ctor_get(x_27, 1); +lean_inc(x_36); lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_ctor_get(x_34, 0); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_ctor_get(x_9, 4); -lean_inc(x_37); -x_38 = lean_ctor_get(x_9, 5); -lean_inc(x_38); -lean_inc(x_36); -x_39 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_39, 0, x_36); -lean_inc(x_37); -x_40 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_40, 0, x_37); -lean_inc(x_36); -x_41 = lean_alloc_closure((void*)(l_Lean_Elab_Term_precheckFun___lambda__1___boxed), 4, 1); -lean_closure_set(x_41, 0, x_36); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -x_42 = lean_alloc_closure((void*)(l_Lean_Elab_Term_precheckFun___lambda__2___boxed), 6, 3); -lean_closure_set(x_42, 0, x_36); -lean_closure_set(x_42, 1, x_37); -lean_closure_set(x_42, 2, x_38); -lean_inc(x_36); -x_43 = lean_alloc_closure((void*)(l_Lean_Elab_Term_precheckFun___lambda__3___boxed), 6, 3); -lean_closure_set(x_43, 0, x_36); -lean_closure_set(x_43, 1, x_37); -lean_closure_set(x_43, 2, x_38); -x_44 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_44, 0, x_39); -lean_ctor_set(x_44, 1, x_40); -lean_ctor_set(x_44, 2, x_41); -lean_ctor_set(x_44, 3, x_42); -lean_ctor_set(x_44, 4, x_43); -x_45 = x_44; -x_46 = lean_ctor_get(x_9, 3); +lean_dec(x_27); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_18); +lean_dec(x_13); +x_38 = l_Lean_Syntax_getArg(x_15, x_14); +x_39 = lean_unsigned_to_nat(2u); +x_40 = l_Lean_Syntax_getArg(x_15, x_39); +x_41 = l_Lean_Elab_Term_expandOptType(x_1, x_40); +lean_dec(x_40); +x_42 = lean_unsigned_to_nat(4u); +x_43 = l_Lean_Syntax_getArg(x_15, x_42); +lean_dec(x_15); +x_44 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_11); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); lean_inc(x_46); -x_47 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_35); +lean_dec(x_44); +x_47 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_46); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_ctor_get(x_47, 1); lean_inc(x_49); lean_dec(x_47); -x_50 = lean_ctor_get(x_9, 1); -lean_inc(x_50); -x_51 = lean_ctor_get(x_9, 2); +x_50 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_49); +x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); -x_52 = lean_st_ref_get(x_10, x_49); -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); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_environment_main_module(x_36); -x_57 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_57, 0, x_45); -lean_ctor_set(x_57, 1, x_56); -lean_ctor_set(x_57, 2, x_48); -lean_ctor_set(x_57, 3, x_50); -lean_ctor_set(x_57, 4, x_51); -lean_ctor_set(x_57, 5, x_46); -x_58 = lean_box(0); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_55); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = l_Lean_Elab_Term_expandWhereDecls___closed__6; +lean_inc(x_45); +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_45); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__2; +x_56 = l_Lean_addMacroScope(x_51, x_55, x_48); +x_57 = lean_box(0); +x_58 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2; +lean_inc(x_45); +x_59 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_59, 0, x_45); lean_ctor_set(x_59, 1, x_58); -x_60 = l_Lean_Elab_Term_expandLetEqnsDecl(x_15, x_57, x_59); -lean_dec(x_15); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_st_ref_take(x_10, x_54); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = !lean_is_exclusive(x_65); -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_68 = lean_ctor_get(x_65, 1); -lean_dec(x_68); -lean_ctor_set(x_65, 1, x_63); -x_69 = lean_st_ref_set(x_10, x_65, x_66); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_71 = lean_ctor_get(x_62, 1); -lean_inc(x_71); -lean_dec(x_62); -x_72 = l_List_reverse___rarg(x_71); -x_73 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_72, x_5, x_6, x_7, x_8, x_9, x_10, x_70); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_26 = x_61; -x_27 = x_74; -goto block_32; -} -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_82; lean_object* x_83; lean_object* x_84; -x_75 = lean_ctor_get(x_65, 0); -x_76 = lean_ctor_get(x_65, 2); -x_77 = lean_ctor_get(x_65, 3); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_65); -x_78 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_78, 0, x_75); -lean_ctor_set(x_78, 1, x_63); -lean_ctor_set(x_78, 2, x_76); -lean_ctor_set(x_78, 3, x_77); -x_79 = lean_st_ref_set(x_10, x_78, x_66); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_81 = lean_ctor_get(x_62, 1); -lean_inc(x_81); -lean_dec(x_62); -x_82 = l_List_reverse___rarg(x_81); -x_83 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_82, x_5, x_6, x_7, x_8, x_9, x_10, x_80); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_26 = x_61; -x_27 = x_84; -goto block_32; -} -block_32: -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = l_Lean_Syntax_setArg(x_13, x_14, x_26); -lean_inc(x_1); -x_29 = l_Lean_Syntax_setArg(x_1, x_12, x_28); -lean_inc(x_29); -lean_inc(x_1); -x_30 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); -lean_closure_set(x_30, 0, x_1); -lean_closure_set(x_30, 1, x_29); -lean_closure_set(x_30, 2, x_2); -x_31 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_29, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_27); -return x_31; -} -} -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; 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_dec(x_18); -lean_dec(x_13); -x_85 = l_Lean_Syntax_getArg(x_15, x_14); -x_86 = lean_unsigned_to_nat(2u); -x_87 = l_Lean_Syntax_getArg(x_15, x_86); -x_88 = l_Lean_Elab_Term_expandOptType(x_1, x_87); -lean_dec(x_87); -x_89 = lean_unsigned_to_nat(4u); -x_90 = l_Lean_Syntax_getArg(x_15, x_89); -lean_dec(x_15); -x_91 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_11); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_93); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_96); -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_100 = l_Lean_Elab_Term_expandWhereDecls___closed__6; -lean_inc(x_92); -x_101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_101, 0, x_92); +lean_ctor_set(x_59, 2, x_56); +lean_ctor_set(x_59, 3, x_57); +x_60 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__8; +lean_inc(x_45); +x_61 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_61, 0, x_45); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; +x_63 = lean_array_push(x_62, x_61); +x_64 = lean_array_push(x_63, x_41); +x_65 = l_Lean_Elab_Term_elabLetDeclCore___closed__9; +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 = l_Lean_Elab_Term_quoteAutoTactic___closed__30; +x_68 = lean_array_push(x_67, x_66); +x_69 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__8; +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +x_71 = l_Lean_Elab_Term_elabLetDeclCore___closed__10; +lean_inc(x_45); +x_72 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_72, 0, x_45); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__11; +lean_inc(x_59); +x_74 = lean_array_push(x_73, x_59); +x_75 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; +x_76 = lean_array_push(x_74, x_75); +x_77 = lean_array_push(x_76, x_70); +x_78 = lean_array_push(x_77, x_72); +x_79 = lean_array_push(x_78, x_43); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_19); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_array_push(x_67, x_80); +x_82 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +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_Lean_Elab_Term_expandWhereDecls___closed__10; +lean_inc(x_45); +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_45); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_array_push(x_67, x_85); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_69); +lean_ctor_set(x_87, 1, x_86); +x_88 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_45); +x_89 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_89, 0, x_45); +lean_ctor_set(x_89, 1, x_88); +x_90 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_91 = lean_array_push(x_90, x_59); +x_92 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +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 = lean_array_push(x_67, x_93); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_69); +lean_ctor_set(x_95, 1, x_94); +x_96 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +lean_inc(x_45); +x_97 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_97, 0, x_45); +lean_ctor_set(x_97, 1, x_96); +x_98 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_45); +x_99 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_99, 0, x_45); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_array_push(x_67, x_38); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_69); lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___closed__2; -x_103 = l_Lean_addMacroScope(x_98, x_102, x_95); -x_104 = lean_box(0); -x_105 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2; -lean_inc(x_92); -x_106 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_106, 0, x_92); -lean_ctor_set(x_106, 1, x_105); -lean_ctor_set(x_106, 2, x_103); -lean_ctor_set(x_106, 3, x_104); -x_107 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__8; -lean_inc(x_92); -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_92); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__9; -x_110 = lean_array_push(x_109, x_108); -x_111 = lean_array_push(x_110, x_88); -x_112 = l_Lean_Elab_Term_elabLetDeclCore___closed__9; -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_111); -x_114 = l_Lean_Elab_Term_quoteAutoTactic___closed__30; -x_115 = lean_array_push(x_114, x_113); -x_116 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__8; -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_elabLetDeclCore___closed__10; -lean_inc(x_92); -x_119 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_119, 0, x_92); -lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__11; -lean_inc(x_106); -x_121 = lean_array_push(x_120, x_106); -x_122 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__9; -x_123 = lean_array_push(x_121, x_122); -x_124 = lean_array_push(x_123, x_117); -x_125 = lean_array_push(x_124, x_119); -x_126 = lean_array_push(x_125, x_90); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_19); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_114, x_127); -x_129 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +x_102 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_45); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; +x_105 = lean_array_push(x_104, x_99); +x_106 = lean_array_push(x_105, x_101); +x_107 = lean_array_push(x_106, x_103); +x_108 = lean_array_push(x_107, x_17); +x_109 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +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_67, x_110); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_69); +lean_ctor_set(x_112, 1, x_111); +x_113 = lean_array_push(x_67, x_112); +x_114 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_113); +x_116 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_117 = lean_array_push(x_116, x_89); +x_118 = lean_array_push(x_117, x_75); +x_119 = lean_array_push(x_118, x_95); +x_120 = lean_array_push(x_119, x_75); +x_121 = lean_array_push(x_120, x_97); +x_122 = lean_array_push(x_121, x_115); +x_123 = l_Lean_Elab_Term_expandFunBinders_loop___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_array_push(x_104, x_54); +x_126 = lean_array_push(x_125, x_83); +x_127 = lean_array_push(x_126, x_87); +x_128 = lean_array_push(x_127, x_124); +x_129 = l_Lean_Elab_Term_elabLetDeclCore___closed__5; x_130 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_130, 0, x_129); lean_ctor_set(x_130, 1, x_128); -x_131 = l_Lean_Elab_Term_expandWhereDecls___closed__10; -lean_inc(x_92); -x_132 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_132, 0, x_92); -lean_ctor_set(x_132, 1, x_131); -x_133 = lean_array_push(x_114, x_132); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_116); -lean_ctor_set(x_134, 1, x_133); -x_135 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_92); -x_136 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_136, 0, x_92); -lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_138 = lean_array_push(x_137, x_106); -x_139 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -x_141 = lean_array_push(x_114, x_140); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_116); -lean_ctor_set(x_142, 1, x_141); -x_143 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -lean_inc(x_92); -x_144 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_144, 0, x_92); -lean_ctor_set(x_144, 1, x_143); -x_145 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_92); -x_146 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_146, 0, x_92); -lean_ctor_set(x_146, 1, x_145); -x_147 = lean_array_push(x_114, x_85); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_116); -lean_ctor_set(x_148, 1, x_147); -x_149 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_150 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_150, 0, x_92); -lean_ctor_set(x_150, 1, x_149); -x_151 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__13; -x_152 = lean_array_push(x_151, x_146); -x_153 = lean_array_push(x_152, x_148); -x_154 = lean_array_push(x_153, x_150); -x_155 = lean_array_push(x_154, x_17); -x_156 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_155); -x_158 = lean_array_push(x_114, x_157); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_116); -lean_ctor_set(x_159, 1, x_158); -x_160 = lean_array_push(x_114, x_159); -x_161 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; -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_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_164 = lean_array_push(x_163, x_136); -x_165 = lean_array_push(x_164, x_122); -x_166 = lean_array_push(x_165, x_142); -x_167 = lean_array_push(x_166, x_122); -x_168 = lean_array_push(x_167, x_144); -x_169 = lean_array_push(x_168, x_162); -x_170 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -x_172 = lean_array_push(x_151, x_101); -x_173 = lean_array_push(x_172, x_130); -x_174 = lean_array_push(x_173, x_134); -x_175 = lean_array_push(x_174, x_171); -x_176 = l_Lean_Elab_Term_elabLetDeclCore___closed__5; -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_175); if (x_3 == 0) { if (x_4 == 0) { -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_178 = l_Lean_Elab_Term_elabLetDeclCore___closed__12; -x_179 = l_Lean_Syntax_setKind(x_177, x_178); -lean_inc(x_179); +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_131 = l_Lean_Elab_Term_elabLetDeclCore___closed__12; +x_132 = l_Lean_Syntax_setKind(x_130, x_131); +lean_inc(x_132); lean_inc(x_1); -x_180 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); -lean_closure_set(x_180, 0, x_1); -lean_closure_set(x_180, 1, x_179); -lean_closure_set(x_180, 2, x_2); -x_181 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_179, x_180, x_5, x_6, x_7, x_8, x_9, x_10, x_99); -return x_181; +x_133 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); +lean_closure_set(x_133, 0, x_1); +lean_closure_set(x_133, 1, x_132); +lean_closure_set(x_133, 2, x_2); +x_134 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_132, x_133, x_5, x_6, x_7, x_8, x_9, x_10, x_52); +return x_134; } else { -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -lean_dec(x_177); -x_182 = l_Lean_instInhabitedSyntax; -x_183 = l_Lean_Elab_Term_elabLetDeclCore___closed__14; -x_184 = lean_panic_fn(x_182, x_183); -lean_inc(x_184); +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec(x_130); +x_135 = l_Lean_instInhabitedSyntax; +x_136 = l_Lean_Elab_Term_elabLetDeclCore___closed__14; +x_137 = lean_panic_fn(x_135, x_136); +lean_inc(x_137); lean_inc(x_1); -x_185 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); -lean_closure_set(x_185, 0, x_1); -lean_closure_set(x_185, 1, x_184); -lean_closure_set(x_185, 2, x_2); -x_186 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_184, x_185, x_5, x_6, x_7, x_8, x_9, x_10, x_99); -return x_186; +x_138 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); +lean_closure_set(x_138, 0, x_1); +lean_closure_set(x_138, 1, x_137); +lean_closure_set(x_138, 2, x_2); +x_139 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_137, x_138, x_5, x_6, x_7, x_8, x_9, x_10, x_52); +return x_139; } } else { if (x_4 == 0) { -lean_object* x_187; lean_object* x_188; -lean_inc(x_177); +lean_object* x_140; lean_object* x_141; +lean_inc(x_130); lean_inc(x_1); -x_187 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); -lean_closure_set(x_187, 0, x_1); -lean_closure_set(x_187, 1, x_177); -lean_closure_set(x_187, 2, x_2); -x_188 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_177, x_187, x_5, x_6, x_7, x_8, x_9, x_10, x_99); -return x_188; +x_140 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); +lean_closure_set(x_140, 0, x_1); +lean_closure_set(x_140, 1, x_130); +lean_closure_set(x_140, 2, x_2); +x_141 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_130, x_140, x_5, x_6, x_7, x_8, x_9, x_10, x_52); +return x_141; } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; -x_189 = l_Lean_Elab_Term_elabLetDeclCore___closed__16; -x_190 = l_Lean_Syntax_setKind(x_177, x_189); -lean_inc(x_190); +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_142 = l_Lean_Elab_Term_elabLetDeclCore___closed__16; +x_143 = l_Lean_Syntax_setKind(x_130, x_142); +lean_inc(x_143); lean_inc(x_1); -x_191 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); -lean_closure_set(x_191, 0, x_1); -lean_closure_set(x_191, 1, x_190); -lean_closure_set(x_191, 2, x_2); -x_192 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_190, x_191, x_5, x_6, x_7, x_8, x_9, x_10, x_99); -return x_192; +x_144 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclCore___lambda__1), 10, 3); +lean_closure_set(x_144, 0, x_1); +lean_closure_set(x_144, 1, x_143); +lean_closure_set(x_144, 2, x_2); +x_145 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_143, x_144, x_5, x_6, x_7, x_8, x_9, x_10, x_52); +return x_145; } } } } else { -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_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_dec(x_18); lean_dec(x_13); lean_dec(x_1); -x_193 = l_Lean_Elab_Term_mkLetIdDeclView(x_15); +x_146 = l_Lean_Elab_Term_mkLetIdDeclView(x_15); lean_dec(x_15); -x_194 = lean_ctor_get(x_193, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_193, 1); -lean_inc(x_195); -x_196 = lean_ctor_get(x_193, 2); -lean_inc(x_196); -x_197 = lean_ctor_get(x_193, 3); -lean_inc(x_197); -lean_dec(x_193); -x_198 = l_Lean_Elab_Term_elabLetDeclAux(x_194, x_195, x_196, x_197, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_198; +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +x_149 = lean_ctor_get(x_146, 2); +lean_inc(x_149); +x_150 = lean_ctor_get(x_146, 3); +lean_inc(x_150); +lean_dec(x_146); +x_151 = l_Lean_Elab_Term_elabLetDeclAux(x_147, x_148, x_149, x_150, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_151; } } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} lean_object* l_Lean_Elab_Term_elabLetDeclCore___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) { _start: { @@ -26341,7 +26902,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5601_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5560_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -26511,6 +27072,8 @@ l_Lean_Elab_Term_declareTacticSyntax___closed__7 = _init_l_Lean_Elab_Term_declar lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___closed__7); l_Lean_Elab_Term_declareTacticSyntax___closed__8 = _init_l_Lean_Elab_Term_declareTacticSyntax___closed__8(); lean_mark_persistent(l_Lean_Elab_Term_declareTacticSyntax___closed__8); +l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg___closed__1); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__1 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__1); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__2 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__2(); @@ -26547,8 +27110,6 @@ l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBin lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___closed__2); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___boxed__const__1 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___boxed__const__1); -l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1___rarg___closed__1); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__1 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__1); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__2 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__2(); @@ -26573,12 +27134,6 @@ l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeI lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___closed__2); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___closed__3 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___closed__3(); lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___closed__3); -l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__1 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__1); -l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__2 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__2); -l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__3 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addLocalVarInfoCore___closed__3); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__1 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__1); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__2 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__2(); @@ -26587,19 +27142,19 @@ l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed_ lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__3); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4(); lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103____closed__5); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061____closed__5); l_Lean_Elab_Term_checkBinderAnnotations___closed__1 = _init_l_Lean_Elab_Term_checkBinderAnnotations___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_checkBinderAnnotations___closed__1); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1103_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1061_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_checkBinderAnnotations = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_checkBinderAnnotations); @@ -26899,7 +27454,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl___closed__ res = l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5601_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_5560_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 1484007827..2f9391cb67 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -20,7 +20,6 @@ lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_obje lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__9; lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__4; lean_object* l_Lean_extractMacroScopes(lean_object*); @@ -55,13 +54,12 @@ static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__2; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__17; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg(lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Term_expandCDot_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandHave___closed__1; -lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSubst_match__1___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert___closed__1; lean_object* l_Array_append___rarg(lean_object*, lean_object*); @@ -100,12 +98,12 @@ lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandCDot_x3f_go___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandCDot_x3f_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__19; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__21; static lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert___closed__5; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandHave___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__5; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor___closed__5; static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__5; uint8_t lean_name_eq(lean_object*, lean_object*); @@ -114,7 +112,9 @@ static lean_object* l_Lean_Elab_Term_elabSorry___closed__7; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__2; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__15; lean_object* l_Lean_Elab_Term_expandHave___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__13; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__8; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert___closed__2; @@ -140,12 +140,14 @@ static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__2; static lean_object* l_Lean_Elab_Term_elabSubst___closed__7; static lean_object* l_Lean_Elab_Term_elabPanic___closed__6; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabParen(lean_object*); lean_object* l_Lean_Elab_Term_expandDbgTrace___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkPairs_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__9; static lean_object* l_Lean_Elab_Term_expandAssert___closed__11; +lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__17; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__1; lean_object* l_Lean_Elab_Term_elabAnonymousCtor_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -156,6 +158,7 @@ lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_expandHave___closed__3; static lean_object* l_Lean_Elab_Term_expandSuffices___closed__4; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); @@ -166,6 +169,7 @@ static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__2; static lean_object* l_Lean_Elab_Term_expandShow___closed__1; static lean_object* l_Lean_Elab_Term_expandParen___closed__7; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__14; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__18; static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_expandShow___closed__1; @@ -196,6 +200,7 @@ static lean_object* l_Lean_Elab_Term_expandShow___closed__21; lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__13; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex___closed__3; static lean_object* l_Lean_Elab_Term_expandShow___closed__24; lean_object* l_Lean_Elab_Term_expandAssert_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -207,7 +212,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_expandHave(lean_object*); static lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1___closed__5; lean_object* l_Lean_Syntax_SepArray_getElems___rarg(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic(lean_object*); -lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -231,18 +235,16 @@ lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__11; static lean_object* l_Lean_Elab_Term_expandAssert___closed__7; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandHave___closed__1; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__6; extern lean_object* l_Lean_numLitKind; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBorrowed___closed__3; -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandParen___closed__2; lean_object* l_Lean_Elab_Term_expandShow___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices___closed__3; -lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__6; lean_object* l_Lean_Elab_Term_expandDbgTrace(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandHave___closed__2; @@ -254,6 +256,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp lean_object* l_Lean_Elab_Term_expandCDot_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__17; lean_object* l_Lean_Meta_mkEqSymm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave___lambda__7(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_Lean_Elab_Term_expandHave_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__1; @@ -268,7 +271,6 @@ lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandShow___closed__3; -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__5; static lean_object* l_Lean_Elab_Term_expandHave___lambda__1___closed__1; @@ -277,8 +279,6 @@ lean_object* l_Lean_Elab_getRefPosition___at_Lean_Elab_Term_elabPanic___spec__1_ static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__4; lean_object* l_Lean_Elab_Term_expandHave___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux_match__2(lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabParen___closed__2; static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__7; @@ -290,6 +290,7 @@ static lean_object* l_Lean_Elab_Term_expandShow___closed__5; static lean_object* l_Lean_Elab_Term_expandShow___closed__15; lean_object* l_Lean_Elab_Term_elabSubst_match__2(lean_object*); static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__3; +uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_expandCDot_x3f_go___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__3; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__8; @@ -298,13 +299,14 @@ static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor(lean_object*); static lean_object* l_Lean_Elab_Term_expandParen___closed__13; lean_object* l_Nat_repr(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__7; static lean_object* l_Lean_Elab_Term_expandShow___closed__11; -uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex___closed__4; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__2; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabParen___closed__1; @@ -314,7 +316,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex___closed__2; lean_object* l_Lean_Elab_Term_expandHave___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_maxPrec; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__14; lean_object* l_Lean_Elab_Term_elabParen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -330,7 +331,6 @@ static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__9; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandShow(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__21; -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__1; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__3; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__2; @@ -387,6 +387,7 @@ static lean_object* l_Lean_Elab_Term_expandAssert___closed__6; lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro(lean_object*); static lean_object* l_Lean_Elab_Term_elabStateRefT___closed__2; static lean_object* l_Lean_Elab_Term_expandShow___closed__6; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___rarg___closed__1; lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__13; lean_object* l_Lean_Elab_Term_elabStateRefT___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -404,10 +405,12 @@ lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, l extern lean_object* l_Lean_Elab_Term_termElabAttribute; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandParen___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry___closed__4; static lean_object* l_Lean_Elab_Term_expandSuffices___closed__2; uint8_t l_Lean_Syntax_isMissing(lean_object*); +lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandShow___closed__23; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot___boxed(lean_object*); @@ -416,7 +419,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro___clos lean_object* l_Lean_Elab_Term_elabPanic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandSuffices___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__3; @@ -458,11 +460,11 @@ static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___closed lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__18; static lean_object* l_Lean_Elab_Term_expandShow___closed__20; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabAnonymousCtor_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable___closed__3; lean_object* l_Lean_Elab_Term_elabStateRefT___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* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandShow___closed__10; static lean_object* l_Lean_Elab_Term_expandParen___closed__5; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -488,8 +490,10 @@ lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_obj static lean_object* l_Lean_Elab_Term_expandShow___closed__8; static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__2; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__12; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandParen___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor___closed__4; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandShow___closed__9; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__17; static lean_object* l_Lean_Elab_Term_expandAssert___closed__5; @@ -497,7 +501,6 @@ lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandHave___closed__5; -lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__2; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -520,7 +523,6 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab lean_object* l_Lean_Elab_Term_expandSuffices___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__15; static lean_object* l_Lean_Elab_Term_elabSubst___closed__4; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Term_elabAnonymousCtor___spec__1___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro___closed__3; @@ -534,7 +536,6 @@ static lean_object* l_Lean_Elab_Term_elabPanic___closed__1; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandShow___closed__4; lean_object* l_Lean_Elab_Term_elabSubst___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___lambda__2___closed__1; static lean_object* l_Lean_Elab_Term_elabSubst___lambda__2___closed__2; lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -547,7 +548,6 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab static lean_object* l_Lean_Elab_Term_elabSorry___closed__9; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabBorrowed___closed__1; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__14; lean_object* l_Lean_Elab_Term_mkPairs___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__3___closed__1; @@ -555,7 +555,6 @@ static lean_object* l_Lean_Elab_Term_expandParen___closed__4; static lean_object* l_Lean_Elab_Term_elabSubst___closed__2; extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro___closed__1; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__8; static lean_object* l_Lean_Elab_Term_expandParen___closed__9; lean_object* l_Lean_Elab_Term_mkPairs(lean_object*, lean_object*, lean_object*); @@ -571,18 +570,17 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__3; lean_object* l_Lean_Elab_Term_expandSuffices(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabBorrowed___closed__2; -lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandAssert___closed__3; lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__3; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__4; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__10; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSubst___lambda__2(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_List_beq___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSorry___closed__4; -uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___closed__8; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__13; @@ -595,6 +593,8 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices___closed__1; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro___closed__2; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__1; lean_object* l_Lean_Elab_Term_expandHave_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -626,6 +626,7 @@ static lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__3___close static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable___closed__4; static lean_object* l_Lean_Elab_Term_expandHave___lambda__4___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBorrowed___closed__1; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__3; lean_object* l_Lean_Meta_kabstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__19; @@ -642,8 +643,10 @@ lean_object* l_Lean_Elab_Term_elabSubst_match__2___rarg(lean_object*, lean_objec static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro___closed__1; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__12; static lean_object* l_Lean_Elab_Term_elabSubst___closed__6; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___rarg(lean_object*); lean_object* l_Lean_Elab_Term_expandHave___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; static lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__4; static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___closed__4; @@ -654,6 +657,7 @@ lean_object* l_Lean_Elab_Term_expandCDot_x3f_match__1___rarg(lean_object*, lean_ lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabAnonymousCtor_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__4; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandShow___closed__19; lean_object* l_Lean_Elab_Term_expandHave___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__8; @@ -1254,7 +1258,7 @@ x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lambda__2 lean_closure_set(x_11, 0, x_1); lean_closure_set(x_11, 1, x_3); lean_closure_set(x_11, 2, x_2); -x_12 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_3, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_3, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_12; } } @@ -1527,7 +1531,7 @@ x_79 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__16; x_80 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(x_80, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_81 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(x_80, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -7143,7 +7147,7 @@ x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); x_13 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; -x_14 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_14 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12); return x_14; } else @@ -7301,7 +7305,7 @@ lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); x_79 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__4; -x_80 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_80 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_15); return x_80; } } @@ -7395,7 +7399,7 @@ if (x_10 == 0) lean_object* x_11; lean_dec(x_2); lean_dec(x_1); -x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_8); return x_11; } else @@ -7419,7 +7423,7 @@ lean_object* x_19; lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_19 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_19 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_8); return x_19; } else @@ -7653,7 +7657,7 @@ x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); x_14 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__2; -x_15 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_15 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_13); return x_15; } else @@ -7897,7 +7901,7 @@ lean_object* x_16; lean_dec(x_12); lean_dec(x_4); lean_dec(x_3); -x_16 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_10); +x_16 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_10); return x_16; } else @@ -7954,7 +7958,7 @@ if (x_10 == 0) lean_object* x_11; lean_dec(x_2); lean_dec(x_1); -x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_8); return x_11; } else @@ -7976,7 +7980,7 @@ lean_object* x_18; lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_18 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_18 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_8); return x_18; } else @@ -10394,7 +10398,7 @@ x_48 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabAnonymousCtor___lambda__2 lean_closure_set(x_48, 0, x_1); lean_closure_set(x_48, 1, x_47); lean_closure_set(x_48, 2, x_2); -x_49 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_47, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +x_49 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_47, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_22); return x_49; } } @@ -11977,91 +11981,7 @@ return x_18; } } } -uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___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_3); -x_7 = lean_nat_dec_lt(x_5, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -uint8_t x_8; -lean_dec(x_5); -x_8 = 1; -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_array_fget(x_3, x_5); -x_10 = lean_array_fget(x_4, x_5); -x_11 = l_Lean_Syntax_structEq(x_9, x_10); -lean_dec(x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -uint8_t x_12; -lean_dec(x_5); -x_12 = 0; -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_add(x_5, x_13); -lean_dec(x_5); -x_2 = lean_box(0); -x_5 = x_14; -goto _start; -} -} -} -} -uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__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_6; uint8_t x_7; -x_6 = lean_array_get_size(x_3); -x_7 = lean_nat_dec_lt(x_5, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -uint8_t x_8; -lean_dec(x_5); -x_8 = 1; -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_array_fget(x_3, x_5); -x_10 = lean_array_fget(x_4, x_5); -x_11 = l_Lean_Syntax_structEq(x_9, x_10); -lean_dec(x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -uint8_t x_12; -lean_dec(x_5); -x_12 = 0; -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_add(x_5, x_13); -lean_dec(x_5); -x_2 = lean_box(0); -x_5 = x_14; -goto _start; -} -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4(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* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { 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; uint8_t x_16; @@ -12109,7 +12029,7 @@ return x_22; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -12121,7 +12041,7 @@ x_11 = lean_ctor_get(x_7, 3); x_12 = l_Lean_replaceRef(x_1, x_11); lean_dec(x_11); lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); return x_13; } @@ -12156,13 +12076,13 @@ lean_ctor_set(x_23, 4, x_18); lean_ctor_set(x_23, 5, x_19); lean_ctor_set(x_23, 6, x_20); lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +x_24 = l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); lean_dec(x_23); return x_24; } } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -12174,26 +12094,155 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg), 1, 0); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___rarg), 1, 0); return x_7; } } -lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__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; lean_object* x_7; @@ -12205,7 +12254,7 @@ lean_ctor_set(x_7, 1, x_4); return x_7; } } -lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___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) { _start: { lean_object* x_7; lean_object* x_8; @@ -12216,7 +12265,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__4(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; @@ -12227,6 +12276,303 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__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) { +_start: +{ +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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 5); +lean_inc(x_14); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_17, 0, x_12); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_18, 0, x_12); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_14); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_14); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = x_20; +x_22 = lean_ctor_get(x_6, 3); +lean_inc(x_22); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_6, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 2); +lean_inc(x_27); +x_28 = lean_st_ref_get(x_7, x_25); +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_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_environment_main_module(x_12); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_24); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_27); +lean_ctor_set(x_33, 5, x_22); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_2(x_1, x_33, x_35); +if (lean_obj_tag(x_36) == 0) +{ +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_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_st_ref_take(x_7, x_30); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_41, 1); +lean_dec(x_44); +lean_ctor_set(x_41, 1, x_39); +x_45 = lean_st_ref_set(x_7, x_41, x_42); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_ctor_get(x_38, 1); +lean_inc(x_47); +lean_dec(x_38); +x_48 = l_List_reverse___rarg(x_47); +x_49 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_6); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_37); +return x_49; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +else +{ +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; +x_54 = lean_ctor_get(x_41, 0); +x_55 = lean_ctor_get(x_41, 2); +x_56 = lean_ctor_get(x_41, 3); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_41); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_39); +lean_ctor_set(x_57, 2, x_55); +lean_ctor_set(x_57, 3, x_56); +x_58 = lean_st_ref_set(x_7, x_57, x_42); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get(x_38, 1); +lean_inc(x_60); +lean_dec(x_38); +x_61 = l_List_reverse___rarg(x_60); +x_62 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_59); +lean_dec(x_6); +lean_dec(x_2); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_37); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_36, 0); +lean_inc(x_66); +lean_dec(x_36); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2(x_67, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +lean_dec(x_67); +return x_71; +} +else +{ +lean_object* x_72; +lean_dec(x_6); +lean_dec(x_2); +x_72 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___rarg(x_30); +return x_72; +} +} +} +} +uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5(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_3); +x_7 = lean_nat_dec_lt(x_5, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec(x_5); +x_8 = 1; +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_array_fget(x_3, x_5); +x_10 = lean_array_fget(x_4, x_5); +x_11 = l_Lean_Syntax_structEq(x_9, x_10); +lean_dec(x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +uint8_t x_12; +lean_dec(x_5); +x_12 = 0; +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_5, x_13); +lean_dec(x_5); +x_2 = lean_box(0); +x_5 = x_14; +goto _start; +} +} +} +} +uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__6(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_3); +x_7 = lean_nat_dec_lt(x_5, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec(x_5); +x_8 = 1; +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_array_fget(x_3, x_5); +x_10 = lean_array_fget(x_4, x_5); +x_11 = l_Lean_Syntax_structEq(x_9, x_10); +lean_dec(x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +uint8_t x_12; +lean_dec(x_5); +x_12 = 0; +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_5, x_13); +lean_dec(x_5); +x_2 = lean_box(0); +x_5 = x_14; +goto _start; +} +} +} +} static lean_object* _init_l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__1() { _start: { @@ -12274,741 +12620,338 @@ return x_1; lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f(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) { _start: { -lean_object* x_9; lean_object* x_10; 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; -x_167 = lean_st_ref_get(x_7, x_8); -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_167, 1); -lean_inc(x_169); -lean_dec(x_167); -x_170 = lean_ctor_get(x_168, 0); -lean_inc(x_170); -lean_dec(x_168); -x_171 = lean_ctor_get(x_6, 4); -lean_inc(x_171); -x_172 = lean_ctor_get(x_6, 5); -lean_inc(x_172); -lean_inc(x_170); -x_173 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_173, 0, x_170); -lean_inc(x_171); -x_174 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_174, 0, x_171); -lean_inc(x_170); -x_175 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__1___boxed), 4, 1); -lean_closure_set(x_175, 0, x_170); -lean_inc(x_172); -lean_inc(x_171); -lean_inc(x_170); -x_176 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__2___boxed), 6, 3); -lean_closure_set(x_176, 0, x_170); -lean_closure_set(x_176, 1, x_171); -lean_closure_set(x_176, 2, x_172); -lean_inc(x_170); -x_177 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__3___boxed), 6, 3); -lean_closure_set(x_177, 0, x_170); -lean_closure_set(x_177, 1, x_171); -lean_closure_set(x_177, 2, x_172); -x_178 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_178, 0, x_173); -lean_ctor_set(x_178, 1, x_174); -lean_ctor_set(x_178, 2, x_175); -lean_ctor_set(x_178, 3, x_176); -lean_ctor_set(x_178, 4, x_177); -x_179 = x_178; -x_180 = lean_ctor_get(x_6, 3); -lean_inc(x_180); -x_181 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_169); -x_182 = lean_ctor_get(x_181, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_181, 1); -lean_inc(x_183); -lean_dec(x_181); -x_184 = lean_ctor_get(x_6, 1); -lean_inc(x_184); -x_185 = lean_ctor_get(x_6, 2); -lean_inc(x_185); -x_186 = lean_st_ref_get(x_7, x_183); -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 1); -lean_inc(x_188); -lean_dec(x_186); -x_189 = lean_ctor_get(x_187, 1); -lean_inc(x_189); -lean_dec(x_187); -x_190 = lean_environment_main_module(x_170); -x_191 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_191, 0, x_179); -lean_ctor_set(x_191, 1, x_190); -lean_ctor_set(x_191, 2, x_182); -lean_ctor_set(x_191, 3, x_184); -lean_ctor_set(x_191, 4, x_185); -lean_ctor_set(x_191, 5, x_180); -x_192 = lean_box(0); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_189); -lean_ctor_set(x_193, 1, x_192); -x_194 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f_expandCDotArg_x3f(x_1, x_191, x_193); -if (lean_obj_tag(x_194) == 0) +lean_object* x_9; lean_object* x_10; +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCDotFunctionAlias_x3f_expandCDotArg_x3f), 3, 1); +lean_closure_set(x_9, 0, x_1); +lean_inc(x_6); +lean_inc(x_2); +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; -x_195 = lean_ctor_get(x_194, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_194, 1); -lean_inc(x_196); -lean_dec(x_194); -x_197 = lean_ctor_get(x_196, 0); -lean_inc(x_197); -x_198 = lean_st_ref_take(x_7, x_188); -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_is_exclusive(x_199); -if (x_201 == 0) +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) { -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; -x_202 = lean_ctor_get(x_199, 1); -lean_dec(x_202); -lean_ctor_set(x_199, 1, x_197); -x_203 = lean_st_ref_set(x_7, x_199, x_200); -x_204 = lean_ctor_get(x_203, 1); -lean_inc(x_204); -lean_dec(x_203); -x_205 = lean_ctor_get(x_196, 1); -lean_inc(x_205); -lean_dec(x_196); -x_206 = l_List_reverse___rarg(x_205); -x_207 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_206, x_2, x_3, x_4, x_5, x_6, x_7, x_204); -x_208 = lean_ctor_get(x_207, 1); -lean_inc(x_208); -lean_dec(x_207); -x_9 = x_195; -x_10 = x_208; -goto block_166; -} -else -{ -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; -x_209 = lean_ctor_get(x_199, 0); -x_210 = lean_ctor_get(x_199, 2); -x_211 = lean_ctor_get(x_199, 3); -lean_inc(x_211); -lean_inc(x_210); -lean_inc(x_209); -lean_dec(x_199); -x_212 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_212, 0, x_209); -lean_ctor_set(x_212, 1, x_197); -lean_ctor_set(x_212, 2, x_210); -lean_ctor_set(x_212, 3, x_211); -x_213 = lean_st_ref_set(x_7, x_212, x_200); -x_214 = lean_ctor_get(x_213, 1); -lean_inc(x_214); -lean_dec(x_213); -x_215 = lean_ctor_get(x_196, 1); -lean_inc(x_215); -lean_dec(x_196); -x_216 = l_List_reverse___rarg(x_215); -x_217 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_216, x_2, x_3, x_4, x_5, x_6, x_7, x_214); -x_218 = lean_ctor_get(x_217, 1); -lean_inc(x_218); -lean_dec(x_217); -x_9 = x_195; -x_10 = x_218; -goto block_166; -} -} -else -{ -lean_object* x_219; -x_219 = lean_ctor_get(x_194, 0); -lean_inc(x_219); -lean_dec(x_194); -if (lean_obj_tag(x_219) == 0) -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; -x_220 = lean_ctor_get(x_219, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_219, 1); -lean_inc(x_221); -lean_dec(x_219); -x_222 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_222, 0, x_221); -x_223 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_223, 0, x_222); -x_224 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3(x_220, x_223, x_2, x_3, x_4, x_5, x_6, x_7, x_188); -lean_dec(x_4); -lean_dec(x_220); -x_225 = !lean_is_exclusive(x_224); -if (x_225 == 0) -{ -return x_224; -} -else -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; -x_226 = lean_ctor_get(x_224, 0); -x_227 = lean_ctor_get(x_224, 1); -lean_inc(x_227); -lean_inc(x_226); -lean_dec(x_224); -x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_226); -lean_ctor_set(x_228, 1, x_227); -return x_228; -} -} -else -{ -lean_object* x_229; uint8_t x_230; +uint8_t x_12; lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_229 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg(x_188); -x_230 = !lean_is_exclusive(x_229); -if (x_230 == 0) +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) { -return x_229; +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = lean_box(0); +lean_ctor_set(x_10, 0, x_14); +return x_10; } else { -lean_object* x_231; lean_object* x_232; lean_object* x_233; -x_231 = lean_ctor_get(x_229, 0); -x_232 = lean_ctor_get(x_229, 1); -lean_inc(x_232); -lean_inc(x_231); -lean_dec(x_229); -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_231); -lean_ctor_set(x_233, 1, x_232); -return x_233; +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_dec(x_10); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; } } -} -block_166: +else { -if (lean_obj_tag(x_9) == 0) +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); +lean_dec(x_10); +x_19 = lean_ctor_get(x_11, 0); +lean_inc(x_19); +lean_dec(x_11); +x_20 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1); +lean_closure_set(x_20, 0, x_19); +lean_inc(x_6); +lean_inc(x_2); +x_21 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_18); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_11; lean_object* x_12; +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +x_25 = l_Lean_Elab_Term_expandDbgTrace___closed__17; +lean_inc(x_23); +x_26 = l_Lean_Syntax_isOfKind(x_23, x_25); +if (x_26 == 0) +{ +lean_object* x_27; +lean_dec(x_23); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; +x_27 = lean_box(0); +lean_ctor_set(x_21, 0, x_27); +return x_21; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_13 = lean_ctor_get(x_9, 0); -lean_inc(x_13); -lean_dec(x_9); -x_99 = lean_st_ref_get(x_7, x_10); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_ctor_get(x_100, 0); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_ctor_get(x_6, 4); -lean_inc(x_103); -x_104 = lean_ctor_get(x_6, 5); -lean_inc(x_104); -lean_inc(x_102); -x_105 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_105, 0, x_102); -lean_inc(x_103); -x_106 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_106, 0, x_103); -lean_inc(x_102); -x_107 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__1___boxed), 4, 1); -lean_closure_set(x_107, 0, x_102); -lean_inc(x_104); -lean_inc(x_103); -lean_inc(x_102); -x_108 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__2___boxed), 6, 3); -lean_closure_set(x_108, 0, x_102); -lean_closure_set(x_108, 1, x_103); -lean_closure_set(x_108, 2, x_104); -lean_inc(x_102); -x_109 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__3___boxed), 6, 3); -lean_closure_set(x_109, 0, x_102); -lean_closure_set(x_109, 1, x_103); -lean_closure_set(x_109, 2, x_104); -x_110 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_110, 0, x_105); -lean_ctor_set(x_110, 1, x_106); -lean_ctor_set(x_110, 2, x_107); -lean_ctor_set(x_110, 3, x_108); -lean_ctor_set(x_110, 4, x_109); -x_111 = x_110; -x_112 = lean_ctor_get(x_6, 3); -lean_inc(x_112); -x_113 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_101); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_ctor_get(x_6, 1); -lean_inc(x_116); -x_117 = lean_ctor_get(x_6, 2); -lean_inc(x_117); -x_118 = lean_st_ref_get(x_7, x_115); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_environment_main_module(x_102); -x_123 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_123, 0, x_111); -lean_ctor_set(x_123, 1, x_122); -lean_ctor_set(x_123, 2, x_114); -lean_ctor_set(x_123, 3, x_116); -lean_ctor_set(x_123, 4, x_117); -lean_ctor_set(x_123, 5, x_112); -x_124 = lean_box(0); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_121); -lean_ctor_set(x_125, 1, x_124); -x_126 = l_Lean_expandMacros(x_13, x_123, x_125); -if (lean_obj_tag(x_126) == 0) -{ -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_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 1); -lean_inc(x_128); -lean_dec(x_126); -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_st_ref_take(x_7, x_120); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = !lean_is_exclusive(x_131); -if (x_133 == 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; -x_134 = lean_ctor_get(x_131, 1); -lean_dec(x_134); -lean_ctor_set(x_131, 1, x_129); -x_135 = lean_st_ref_set(x_7, x_131, x_132); -x_136 = lean_ctor_get(x_135, 1); -lean_inc(x_136); -lean_dec(x_135); -x_137 = lean_ctor_get(x_128, 1); -lean_inc(x_137); -lean_dec(x_128); -x_138 = l_List_reverse___rarg(x_137); -x_139 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_138, x_2, x_3, x_4, x_5, x_6, x_7, x_136); -x_140 = lean_ctor_get(x_139, 1); -lean_inc(x_140); -lean_dec(x_139); -x_14 = x_127; -x_15 = x_140; -goto block_98; -} -else -{ -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_141 = lean_ctor_get(x_131, 0); -x_142 = lean_ctor_get(x_131, 2); -x_143 = lean_ctor_get(x_131, 3); -lean_inc(x_143); -lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_131); -x_144 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_144, 0, x_141); -lean_ctor_set(x_144, 1, x_129); -lean_ctor_set(x_144, 2, x_142); -lean_ctor_set(x_144, 3, x_143); -x_145 = lean_st_ref_set(x_7, x_144, x_132); -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); -lean_dec(x_145); -x_147 = lean_ctor_get(x_128, 1); -lean_inc(x_147); -lean_dec(x_128); -x_148 = l_List_reverse___rarg(x_147); -x_149 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_148, x_2, x_3, x_4, x_5, x_6, x_7, x_146); -x_150 = lean_ctor_get(x_149, 1); -lean_inc(x_150); -lean_dec(x_149); -x_14 = x_127; -x_15 = x_150; -goto block_98; -} -} -else -{ -lean_object* x_151; -x_151 = lean_ctor_get(x_126, 0); -lean_inc(x_151); -lean_dec(x_126); -if (lean_obj_tag(x_151) == 0) -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; -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_alloc_ctor(2, 1, 0); -lean_ctor_set(x_154, 0, x_153); -x_155 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_155, 0, x_154); -x_156 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_152, x_155, x_2, x_3, x_4, x_5, x_6, x_7, x_120); -lean_dec(x_4); -lean_dec(x_152); -x_157 = !lean_is_exclusive(x_156); -if (x_157 == 0) -{ -return x_156; -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_158 = lean_ctor_get(x_156, 0); -x_159 = lean_ctor_get(x_156, 1); -lean_inc(x_159); -lean_inc(x_158); -lean_dec(x_156); -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_158); -lean_ctor_set(x_160, 1, x_159); -return x_160; -} -} -else -{ -lean_object* x_161; uint8_t x_162; -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_161 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_120); -x_162 = !lean_is_exclusive(x_161); -if (x_162 == 0) -{ -return x_161; -} -else -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_163 = lean_ctor_get(x_161, 0); -x_164 = lean_ctor_get(x_161, 1); -lean_inc(x_164); -lean_inc(x_163); -lean_dec(x_161); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_163); -lean_ctor_set(x_165, 1, x_164); -return x_165; -} -} -} -block_98: -{ -lean_object* x_16; uint8_t x_17; -x_16 = l_Lean_Elab_Term_expandDbgTrace___closed__17; -lean_inc(x_14); -x_17 = l_Lean_Syntax_isOfKind(x_14, x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_15); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_20 = lean_unsigned_to_nat(1u); -x_21 = l_Lean_Syntax_getArg(x_14, x_20); -x_22 = l_Lean_Elab_Term_expandDbgTrace___closed__19; -lean_inc(x_21); -x_23 = l_Lean_Syntax_isOfKind(x_21, x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_24 = lean_box(0); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_15); -return x_25; -} -else -{ -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_26 = lean_unsigned_to_nat(0u); -x_27 = l_Lean_Syntax_getArg(x_21, x_26); -x_28 = lean_unsigned_to_nat(2u); -x_29 = l_Lean_Syntax_getArg(x_21, x_28); -lean_dec(x_21); -x_30 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__1; +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_28 = lean_unsigned_to_nat(1u); +x_29 = l_Lean_Syntax_getArg(x_23, x_28); +x_30 = l_Lean_Elab_Term_expandDbgTrace___closed__19; lean_inc(x_29); x_31 = l_Lean_Syntax_isOfKind(x_29, x_30); if (x_31 == 0) { -lean_object* x_32; uint8_t x_33; -x_32 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__2; -lean_inc(x_29); -x_33 = l_Lean_Syntax_isOfKind(x_29, x_32); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; +lean_object* x_32; lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_14); +lean_dec(x_23); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_34 = lean_box(0); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_15); -return x_35; +x_32 = lean_box(0); +lean_ctor_set(x_21, 0, x_32); +return x_21; } else { -lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_36 = l_Lean_Syntax_getArg(x_29, x_20); -x_37 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__4; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_33 = lean_unsigned_to_nat(0u); +x_34 = l_Lean_Syntax_getArg(x_29, x_33); +x_35 = lean_unsigned_to_nat(2u); +x_36 = l_Lean_Syntax_getArg(x_29, x_35); +lean_dec(x_29); +x_37 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__1; lean_inc(x_36); x_38 = l_Lean_Syntax_isOfKind(x_36, x_37); if (x_38 == 0) { -lean_object* x_39; lean_object* x_40; +lean_object* x_39; uint8_t x_40; +x_39 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__2; +lean_inc(x_36); +x_40 = l_Lean_Syntax_isOfKind(x_36, x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_dec(x_36); -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_14); +lean_dec(x_34); +lean_dec(x_23); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_39 = lean_box(0); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_15); -return x_40; +x_41 = lean_box(0); +lean_ctor_set(x_21, 0, x_41); +return x_21; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_41 = l_Lean_Syntax_getArg(x_29, x_28); -x_42 = lean_unsigned_to_nat(3u); -x_43 = l_Lean_Syntax_getArg(x_29, x_42); -lean_dec(x_29); -x_44 = l_Lean_Syntax_getArgs(x_27); -lean_dec(x_27); -x_45 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; -x_46 = lean_array_push(x_45, x_41); -x_47 = lean_array_push(x_46, x_43); -x_48 = lean_array_get_size(x_44); -x_49 = lean_array_get_size(x_47); -x_50 = lean_nat_dec_eq(x_48, x_49); +lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_42 = l_Lean_Syntax_getArg(x_36, x_28); +x_43 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__4; +lean_inc(x_42); +x_44 = l_Lean_Syntax_isOfKind(x_42, x_43); +if (x_44 == 0) +{ +lean_object* x_45; +lean_dec(x_42); +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_23); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_45 = lean_box(0); +lean_ctor_set(x_21, 0, x_45); +return x_21; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_46 = l_Lean_Syntax_getArg(x_36, x_35); +x_47 = lean_unsigned_to_nat(3u); +x_48 = l_Lean_Syntax_getArg(x_36, x_47); +lean_dec(x_36); +x_49 = l_Lean_Syntax_getArgs(x_34); +lean_dec(x_34); +x_50 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_51 = lean_array_push(x_50, x_46); +x_52 = lean_array_push(x_51, x_48); +x_53 = lean_array_get_size(x_49); +x_54 = lean_array_get_size(x_52); +x_55 = lean_nat_dec_eq(x_53, x_54); +lean_dec(x_54); +lean_dec(x_53); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_52); lean_dec(x_49); -lean_dec(x_48); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; -lean_dec(x_47); -lean_dec(x_44); -lean_dec(x_36); -lean_dec(x_14); +lean_dec(x_42); +lean_dec(x_23); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_51 = lean_box(0); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_15); -return x_52; +x_56 = lean_box(0); +lean_ctor_set(x_21, 0, x_56); +return x_21; } else { -uint8_t x_53; -x_53 = l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1(x_14, lean_box(0), x_44, x_47, x_26); -lean_dec(x_47); -lean_dec(x_44); -lean_dec(x_14); -if (x_53 == 0) +uint8_t x_57; +x_57 = l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5(x_23, lean_box(0), x_49, x_52, x_33); +lean_dec(x_52); +lean_dec(x_49); +lean_dec(x_23); +if (x_57 == 0) { -lean_object* x_54; lean_object* x_55; -lean_dec(x_36); +lean_object* x_58; +lean_dec(x_42); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_54 = lean_box(0); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_15); -return x_55; +x_58 = lean_box(0); +lean_ctor_set(x_21, 0, x_58); +return x_21; } else { -lean_object* x_56; uint8_t x_57; lean_object* x_58; -x_56 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__5; -x_57 = 0; -x_58 = l_Lean_Elab_Term_resolveId_x3f(x_36, x_56, x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_15); -if (lean_obj_tag(x_58) == 0) +lean_object* x_59; uint8_t x_60; lean_object* x_61; +lean_free_object(x_21); +x_59 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__5; +x_60 = 0; +x_61 = l_Lean_Elab_Term_resolveId_x3f(x_42, x_59, x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_24); +if (lean_obj_tag(x_61) == 0) { -uint8_t x_59; -x_59 = !lean_is_exclusive(x_58); -if (x_59 == 0) +uint8_t x_62; +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) { -return x_58; +return x_61; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_58, 0); -x_61 = lean_ctor_get(x_58, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_58); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_61, 0); +x_64 = lean_ctor_get(x_61, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_61); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } else { -uint8_t x_63; -x_63 = !lean_is_exclusive(x_58); -if (x_63 == 0) +uint8_t x_66; +x_66 = !lean_is_exclusive(x_61); +if (x_66 == 0) { -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_58, 0); -lean_dec(x_64); -x_65 = lean_box(0); -lean_ctor_set_tag(x_58, 0); -lean_ctor_set(x_58, 0, x_65); -return x_58; +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_61, 0); +lean_dec(x_67); +x_68 = lean_box(0); +lean_ctor_set_tag(x_61, 0); +lean_ctor_set(x_61, 0, x_68); +return x_61; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_58, 1); -lean_inc(x_66); -lean_dec(x_58); -x_67 = lean_box(0); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -return x_68; -} -} -} -} -} -} -} -else -{ -lean_object* x_69; lean_object* x_70; uint8_t x_71; -x_69 = l_Lean_Syntax_getArg(x_29, x_26); -x_70 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__4; +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_61, 1); lean_inc(x_69); -x_71 = l_Lean_Syntax_isOfKind(x_69, x_70); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; -lean_dec(x_69); -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_72 = lean_box(0); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_15); -return x_73; +lean_dec(x_61); +x_70 = lean_box(0); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +return x_71; +} +} +} +} +} +} } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_74 = l_Lean_Syntax_getArg(x_29, x_20); -lean_dec(x_29); -x_75 = l_Lean_Syntax_getArgs(x_74); -lean_dec(x_74); -x_76 = l_Lean_Syntax_getArgs(x_27); -lean_dec(x_27); -x_77 = lean_array_get_size(x_76); -x_78 = lean_array_get_size(x_75); -x_79 = lean_nat_dec_eq(x_77, x_78); +lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_72 = l_Lean_Syntax_getArg(x_36, x_33); +x_73 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__4; +lean_inc(x_72); +x_74 = l_Lean_Syntax_isOfKind(x_72, x_73); +if (x_74 == 0) +{ +lean_object* x_75; +lean_dec(x_72); +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_23); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_75 = lean_box(0); +lean_ctor_set(x_21, 0, x_75); +return x_21; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_76 = l_Lean_Syntax_getArg(x_36, x_28); +lean_dec(x_36); +x_77 = l_Lean_Syntax_getArgs(x_76); +lean_dec(x_76); +x_78 = l_Lean_Syntax_getArgs(x_34); +lean_dec(x_34); +x_79 = lean_array_get_size(x_78); +x_80 = lean_array_get_size(x_77); +x_81 = lean_nat_dec_eq(x_79, x_80); +lean_dec(x_80); +lean_dec(x_79); +if (x_81 == 0) +{ +lean_object* x_82; lean_dec(x_78); lean_dec(x_77); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; -lean_dec(x_76); -lean_dec(x_75); -lean_dec(x_69); -lean_dec(x_14); +lean_dec(x_72); +lean_dec(x_23); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_80 = lean_box(0); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_15); -return x_81; +x_82 = lean_box(0); +lean_ctor_set(x_21, 0, x_82); +return x_21; } else { -uint8_t x_82; -x_82 = l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2(x_14, lean_box(0), x_76, x_75, x_26); -lean_dec(x_75); -lean_dec(x_76); -lean_dec(x_14); -if (x_82 == 0) +uint8_t x_83; +x_83 = l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__6(x_23, lean_box(0), x_78, x_77, x_33); +lean_dec(x_77); +lean_dec(x_78); +lean_dec(x_23); +if (x_83 == 0) { -lean_object* x_83; lean_object* x_84; -lean_dec(x_69); +lean_object* x_84; +lean_dec(x_72); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_83 = lean_box(0); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_15); -return x_84; +x_84 = lean_box(0); +lean_ctor_set(x_21, 0, x_84); +return x_21; } else { lean_object* x_85; uint8_t x_86; lean_object* x_87; +lean_free_object(x_21); x_85 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__5; x_86 = 0; -x_87 = l_Lean_Elab_Term_resolveId_x3f(x_69, x_85, x_86, x_2, x_3, x_4, x_5, x_6, x_7, x_15); +x_87 = l_Lean_Elab_Term_resolveId_x3f(x_72, x_85, x_86, x_2, x_3, x_4, x_5, x_6, x_7, x_24); if (lean_obj_tag(x_87) == 0) { uint8_t x_88; @@ -13065,39 +13008,413 @@ return x_97; } } } -} -} -} -} -lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: +else { -uint8_t x_6; lean_object* x_7; -x_6 = l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_7 = lean_box(x_6); -return x_7; -} -} -lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__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_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_98 = lean_ctor_get(x_21, 0); +x_99 = lean_ctor_get(x_21, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_21); +x_100 = l_Lean_Elab_Term_expandDbgTrace___closed__17; +lean_inc(x_98); +x_101 = l_Lean_Syntax_isOfKind(x_98, x_100); +if (x_101 == 0) { -uint8_t x_6; lean_object* x_7; -x_6 = l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2(x_1, x_2, x_3, x_4, x_5); +lean_object* x_102; lean_object* x_103; +lean_dec(x_98); +lean_dec(x_6); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_7 = lean_box(x_6); -return x_7; +lean_dec(x_2); +x_102 = lean_box(0); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_99); +return x_103; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_104 = lean_unsigned_to_nat(1u); +x_105 = l_Lean_Syntax_getArg(x_98, x_104); +x_106 = l_Lean_Elab_Term_expandDbgTrace___closed__19; +lean_inc(x_105); +x_107 = l_Lean_Syntax_isOfKind(x_105, x_106); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; +lean_dec(x_105); +lean_dec(x_98); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_108 = lean_box(0); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_99); +return x_109; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_110 = lean_unsigned_to_nat(0u); +x_111 = l_Lean_Syntax_getArg(x_105, x_110); +x_112 = lean_unsigned_to_nat(2u); +x_113 = l_Lean_Syntax_getArg(x_105, x_112); +lean_dec(x_105); +x_114 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__1; +lean_inc(x_113); +x_115 = l_Lean_Syntax_isOfKind(x_113, x_114); +if (x_115 == 0) +{ +lean_object* x_116; uint8_t x_117; +x_116 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__2; +lean_inc(x_113); +x_117 = l_Lean_Syntax_isOfKind(x_113, x_116); +if (x_117 == 0) +{ +lean_object* x_118; lean_object* x_119; +lean_dec(x_113); +lean_dec(x_111); +lean_dec(x_98); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_118 = lean_box(0); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_99); +return x_119; +} +else +{ +lean_object* x_120; lean_object* x_121; uint8_t x_122; +x_120 = l_Lean_Syntax_getArg(x_113, x_104); +x_121 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__4; +lean_inc(x_120); +x_122 = l_Lean_Syntax_isOfKind(x_120, x_121); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; +lean_dec(x_120); +lean_dec(x_113); +lean_dec(x_111); +lean_dec(x_98); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_123 = lean_box(0); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_99); +return x_124; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; +x_125 = l_Lean_Syntax_getArg(x_113, x_112); +x_126 = lean_unsigned_to_nat(3u); +x_127 = l_Lean_Syntax_getArg(x_113, x_126); +lean_dec(x_113); +x_128 = l_Lean_Syntax_getArgs(x_111); +lean_dec(x_111); +x_129 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__4___closed__10; +x_130 = lean_array_push(x_129, x_125); +x_131 = lean_array_push(x_130, x_127); +x_132 = lean_array_get_size(x_128); +x_133 = lean_array_get_size(x_131); +x_134 = lean_nat_dec_eq(x_132, x_133); +lean_dec(x_133); +lean_dec(x_132); +if (x_134 == 0) +{ +lean_object* x_135; lean_object* x_136; +lean_dec(x_131); +lean_dec(x_128); +lean_dec(x_120); +lean_dec(x_98); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_135 = lean_box(0); +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_99); +return x_136; +} +else +{ +uint8_t x_137; +x_137 = l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5(x_98, lean_box(0), x_128, x_131, x_110); +lean_dec(x_131); +lean_dec(x_128); +lean_dec(x_98); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; +lean_dec(x_120); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_138 = lean_box(0); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_99); +return x_139; +} +else +{ +lean_object* x_140; uint8_t x_141; lean_object* x_142; +x_140 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__5; +x_141 = 0; +x_142 = l_Lean_Elab_Term_resolveId_x3f(x_120, x_140, x_141, x_2, x_3, x_4, x_5, x_6, x_7, x_99); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_145 = x_142; +} else { + lean_dec_ref(x_142); + x_145 = lean_box(0); +} +if (lean_is_scalar(x_145)) { + x_146 = lean_alloc_ctor(0, 2, 0); +} else { + x_146 = x_145; +} +lean_ctor_set(x_146, 0, x_143); +lean_ctor_set(x_146, 1, x_144); +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_142, 1); +lean_inc(x_147); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_148 = x_142; +} else { + lean_dec_ref(x_142); + x_148 = lean_box(0); +} +x_149 = lean_box(0); +if (lean_is_scalar(x_148)) { + x_150 = lean_alloc_ctor(0, 2, 0); +} else { + x_150 = x_148; + lean_ctor_set_tag(x_150, 0); +} +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_147); +return x_150; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +} +} +} +} +else +{ +lean_object* x_151; lean_object* x_152; uint8_t x_153; +x_151 = l_Lean_Syntax_getArg(x_113, x_110); +x_152 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__4; +lean_inc(x_151); +x_153 = l_Lean_Syntax_isOfKind(x_151, x_152); +if (x_153 == 0) +{ +lean_object* x_154; lean_object* x_155; +lean_dec(x_151); +lean_dec(x_113); +lean_dec(x_111); +lean_dec(x_98); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_154 = lean_box(0); +x_155 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_99); +return x_155; +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; +x_156 = l_Lean_Syntax_getArg(x_113, x_104); +lean_dec(x_113); +x_157 = l_Lean_Syntax_getArgs(x_156); +lean_dec(x_156); +x_158 = l_Lean_Syntax_getArgs(x_111); +lean_dec(x_111); +x_159 = lean_array_get_size(x_158); +x_160 = lean_array_get_size(x_157); +x_161 = lean_nat_dec_eq(x_159, x_160); +lean_dec(x_160); +lean_dec(x_159); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; +lean_dec(x_158); +lean_dec(x_157); +lean_dec(x_151); +lean_dec(x_98); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_162 = lean_box(0); +x_163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_99); +return x_163; +} +else +{ +uint8_t x_164; +x_164 = l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__6(x_98, lean_box(0), x_158, x_157, x_110); +lean_dec(x_157); +lean_dec(x_158); +lean_dec(x_98); +if (x_164 == 0) +{ +lean_object* x_165; lean_object* x_166; +lean_dec(x_151); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_165 = lean_box(0); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_99); +return x_166; +} +else +{ +lean_object* x_167; uint8_t x_168; lean_object* x_169; +x_167 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__5; +x_168 = 0; +x_169 = l_Lean_Elab_Term_resolveId_x3f(x_151, x_167, x_168, x_2, x_3, x_4, x_5, x_6, x_7, x_99); +if (lean_obj_tag(x_169) == 0) +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_169, 1); +lean_inc(x_171); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_172 = x_169; +} else { + lean_dec_ref(x_169); + x_172 = lean_box(0); +} +if (lean_is_scalar(x_172)) { + x_173 = lean_alloc_ctor(0, 2, 0); +} else { + x_173 = x_172; +} +lean_ctor_set(x_173, 0, x_170); +lean_ctor_set(x_173, 1, x_171); +return x_173; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_175 = x_169; +} else { + lean_dec_ref(x_169); + x_175 = lean_box(0); +} +x_176 = lean_box(0); +if (lean_is_scalar(x_175)) { + x_177 = lean_alloc_ctor(0, 2, 0); +} else { + x_177 = x_175; + lean_ctor_set_tag(x_177, 0); +} +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_174); +return x_177; +} +} +} +} +} +} +} +} +} +else +{ +uint8_t x_178; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_178 = !lean_is_exclusive(x_21); +if (x_178 == 0) +{ +return x_21; +} +else +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; +x_179 = lean_ctor_get(x_21, 0); +x_180 = lean_ctor_get(x_21, 1); +lean_inc(x_180); +lean_inc(x_179); +lean_dec(x_21); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +return x_181; +} +} +} +} +else +{ +uint8_t x_182; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_182 = !lean_is_exclusive(x_10); +if (x_182 == 0) +{ +return x_10; +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_183 = lean_ctor_get(x_10, 0); +x_184 = lean_ctor_get(x_10, 1); +lean_inc(x_184); +lean_inc(x_183); +lean_dec(x_10); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_183); +lean_ctor_set(x_185, 1, x_184); +return x_185; +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -13106,11 +13423,11 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -13119,11 +13436,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -13133,21 +13450,30 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___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_Elab_Term_elabCDotFunctionAlias_x3f___lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__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_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -13155,16 +13481,52 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__4___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_elabCDotFunctionAlias_x3f___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_2); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__6(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___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) { _start: { @@ -17258,8 +17620,8 @@ l_Lean_Elab_Term_expandCDot_x3f_go___closed__4 = _init_l_Lean_Elab_Term_expandCD lean_mark_persistent(l_Lean_Elab_Term_expandCDot_x3f_go___closed__4); l_Lean_Elab_Term_expandCDot_x3f_go___boxed__const__1 = _init_l_Lean_Elab_Term_expandCDot_x3f_go___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Term_expandCDot_x3f_go___boxed__const__1); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__5___rarg___closed__1); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___rarg___closed__1); l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__1 = _init_l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__1); l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__2 = _init_l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index 93da305a04..6a2edb6f58 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -19,8 +19,8 @@ static lean_object* l_Lean_Elab_Command_State_infoState___default___closed__4; static lean_object* l_Lean_Elab_Command_State_scopes___default___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabSetOption___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabVariable(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__1; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__4; lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabExport___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEnd_match__1(lean_object*); @@ -54,18 +54,17 @@ lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__6; lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l_Lean_Elab_Command_elabCommand___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elbChoice___closed__3; static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__12; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instAddMessageContextCommandElabM___closed__1; @@ -73,13 +72,17 @@ extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Command_withNamespace(lean_object*); lean_object* l_Lean_Elab_Command_getScope___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1; lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariable___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_popScopes___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCheck___lambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabReduce___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkAnonymousScope_match__1(lean_object*); static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Command_elabExport___spec__3___closed__2; @@ -93,6 +96,7 @@ static lean_object* l_Lean_Elab_Command_elabReduce___closed__1; static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__7___closed__2; lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCheck___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -110,6 +114,7 @@ static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__ lean_object* l_Lean_Elab_Command_liftIO(lean_object*); static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__4; lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2; lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Command_elabOpen___spec__5___boxed(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*, lean_object*, lean_object*); @@ -121,6 +126,7 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_Command_getScope___boxed(lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__2; lean_object* l_Lean_Elab_Command_elabUniverse(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption___closed__3; @@ -134,6 +140,7 @@ lean_object* l_Lean_Elab_Command_elabCheck_match__1___rarg(lean_object*, lean_ob lean_object* l_Lean_Elab_Command_Context_macroStack___default; lean_object* l_Lean_Elab_Command_modifyScope_match__1(lean_object*); lean_object* l_Lean_Elab_Command_elabExport___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__4; lean_object* l_Lean_Elab_Command_elabCheck___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__4; lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Command_runLinters___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -167,7 +174,6 @@ lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__7___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*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption___closed__5; lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__2___closed__1; static lean_object* l_Lean_Elab_Command_failIfSucceeds___lambda__1___closed__1; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__1; @@ -207,7 +213,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_ lean_object* l_Lean_Elab_Command_liftEIO(lean_object*); lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduce(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_addLinter(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabReduce___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -216,7 +221,6 @@ lean_object* l_Lean_Elab_Command_elabReduce___lambda__2___boxed(lean_object*, le lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabExport___spec__1___closed__1; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes___closed__1; -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__1; lean_object* l_Lean_Elab_Command_elabCheck(lean_object*, lean_object*, lean_object*, lean_object*); @@ -227,19 +231,25 @@ static lean_object* l_Lean_Elab_Command_State_messages___default___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__2___closed__1; lean_object* l_Lean_Elab_Command_elabUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(lean_object*); lean_object* l_Lean_Elab_Command_elabSynth___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_Elab_Command_instInhabitedState___closed__7; static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__10; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth___closed__5; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4(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_Lean_Elab_Command_instMonadOptionsCommandElabM(lean_object*); +static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__2; lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__5; lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__1; lean_object* lean_add_alias(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___closed__1; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_ioErrorToMessage(lean_object*, lean_object*, lean_object*); @@ -254,14 +264,15 @@ lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext_ma lean_object* l_Lean_Elab_InfoTree_format(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen___closed__5; -static lean_object* l_Lean_Elab_Command_elabCommand___lambda__5___closed__3; static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabExport___spec__1___closed__2; lean_object* l_Lean_Elab_Command_withLogging_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__3; lean_object* l_Lean_Elab_Command_elabCommand_match__2(lean_object*); lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getLevelNames___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__6; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__8(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*); @@ -292,12 +303,11 @@ lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming__ lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Command_elabExport___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadCommandElabM; lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommand___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__2; static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__15; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_popScopes(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__2; static lean_object* l_Lean_Elab_Command_elabSynth___closed__2; -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg___closed__1; static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__14; lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___closed__2; @@ -317,13 +327,15 @@ lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Elab_Command_0__Le static lean_object* l_Lean_Elab_Command_elabCheck___closed__3; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_getVarDecls(lean_object*); lean_object* l_Lean_Elab_Command_getLevelNames___rarg___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__13; -lean_object* l_Lean_Elab_Command_elabCommand___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabCommand___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_popScopes___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverses(lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___closed__1; static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__10; @@ -331,6 +343,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__16 static lean_object* l_Lean_Elab_Command_State_ngen___default___closed__3; extern lean_object* l_Lean_maxRecDepth; static lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1___closed__2; +static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__3; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1___closed__3; static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__7; lean_object* l_Lean_ScopedEnvExtension_popScope___rarg(lean_object*, lean_object*); @@ -350,7 +363,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__2; lean_object* l_Lean_Elab_Command_elabCommand___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkAnonymousScope(lean_object*); @@ -365,6 +377,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverses___closed__4; static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__5; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure___closed__2; +static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__2; lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabOpen___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Command_elabSetOption___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse___closed__4; @@ -391,10 +404,10 @@ lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkAnonymousSc lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__2(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_Lean_Elab_Command_elabEvalUnsafe_match__4___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCheck___closed__5; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__4; extern lean_object* l_Lean_numLitKind; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -411,7 +424,6 @@ lean_object* l_Lean_Elab_Command_elabEvalUnsafe(lean_object*, lean_object*, lean static lean_object* l_Lean_Elab_Command_elabCheck___closed__2; lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__9; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15___boxed(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); static lean_object* l_Lean_Elab_Command_modifyScope___closed__4; @@ -439,9 +451,9 @@ static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot___closed__2; lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___boxed(lean_object*); -lean_object* l_Lean_Elab_Command_elabCommand___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__16; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_Scope_varDecls___default; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__2; static lean_object* l_Lean_Elab_Command_elabCommand___closed__1; @@ -451,10 +463,9 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_ lean_object* l_Lean_Elab_Command_elabSection___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEnd___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__2; +static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__6; lean_object* l_Lean_Elab_Command_State_nextInstIdx___default; lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSection___closed__4; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermState___boxed(lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); @@ -463,7 +474,6 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFa static lean_object* l___regBuiltin_Lean_Elab_Command_elbChoice___closed__5; lean_object* l_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__1___closed__2; -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__2; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_popScopes___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -475,12 +485,11 @@ lean_object* l_Lean_Elab_Command_expandDeclId___boxed(lean_object*, lean_object* static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Command_elabSetOption___spec__3___closed__2; -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabUniverses___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftCoreM_match__1(lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariable___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Command_elabEnd___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext___closed__1; @@ -510,6 +519,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen___closed__2; lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption(lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot___closed__3; uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); @@ -519,22 +529,21 @@ lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd___closed__2; static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck___closed__2; -lean_object* l_Lean_Elab_getMacros(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___closed__1; lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_failIfSucceeds_match__1(lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__6; lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Command_elabOpen___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__1; lean_object* l_Lean_Elab_Term_setElabConfig(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elbChoice___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable___closed__1; lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_378_(lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679_(lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820_(lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1358_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918_(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_Command_State_ngen___default; lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -543,7 +552,6 @@ lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__5(lean_object*, lean_object* l_Lean_Elab_Command_getBracketedBinderIds(lean_object*); lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__3; lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_evalConst___at_Lean_Elab_Term_evalExpr___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -559,17 +567,18 @@ lean_object* l_Lean_Elab_Command_runTermElabM___rarg(lean_object*, lean_object*, lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommand___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_State_messages___default___closed__3; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__3; lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Command_elabOpen___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftLeft(size_t, size_t); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd___closed__1; uint8_t l_Lean_Name_isAtomic(lean_object*); lean_object* l_Lean_Elab_Command_liftCoreM_match__2(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elbChoice(lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_activateScoped___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabExport(lean_object*); -lean_object* l_Lean_KeyedDeclsAttribute_getValues___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes___closed__2; lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); @@ -583,6 +592,7 @@ lean_object* l_Lean_Elab_Command_Context_currRecDepth___default; lean_object* l_Lean_Elab_Command_elabExport(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__3; lean_object* l_Lean_Elab_Command_elabSynth___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCheck___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_liftAttrM(lean_object*); @@ -605,6 +615,7 @@ lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkAnonymousSc lean_object* l_Lean_Elab_Command_elabEvalUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkEndHeader_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd___closed__4; +static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3; lean_object* l_Lean_Elab_Command_addUnivLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Command_elabOpen___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot(lean_object*); @@ -612,8 +623,9 @@ static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters__ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__2; -static lean_object* l_Lean_Elab_Command_elabCommand___lambda__5___closed__2; +lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___boxed(lean_object*); lean_object* l_Lean_Elab_Command_withLogging(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth___closed__1; static lean_object* l_Lean_Elab_Command_elabSynth___closed__1; @@ -630,16 +642,16 @@ lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3(lean_objec lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__4(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1___closed__1; -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext_match__1(lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Command_elabOpen___spec__7(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabCommand___lambda__5___closed__4; +static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__5; static lean_object* l_Lean_Elab_Command_elabEnd___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); @@ -655,7 +667,6 @@ lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__2___box lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Command_elabCommand___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__5___closed__1; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__3; lean_object* l_Lean_Elab_Command_modifyScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__4; lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabSetOption___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -663,6 +674,7 @@ lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, le static lean_object* l_Lean_Elab_Command_elabVariable___closed__1; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkCoreContext___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__1; +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEnd(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverses___closed__2; @@ -671,7 +683,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__9(lea static lean_object* l_Lean_Elab_Command_modifyScope___closed__1; lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommand___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at_Lean_Elab_Command_elabExport___spec__4(lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__4; lean_object* l_Lean_Elab_Command_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -695,6 +706,7 @@ lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__4___closed__1; +static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__1; lean_object* l_Lean_Elab_Command_elabInitQuot___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabReduce___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* l_Lean_Elab_Command_hasNoErrorMessages___rarg(lean_object*, lean_object*); @@ -711,14 +723,15 @@ lean_object* l_Lean_Elab_log___at_Lean_Elab_Command_elabOpen___spec__6___boxed(l static lean_object* l_Lean_Elab_Command_elabReduce___lambda__1___closed__1; static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__4; lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__3(lean_object*); -lean_object* l_Lean_Elab_Command_elabCommand___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_showPartialSyntaxErrors___closed__1; lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabOpen___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4; lean_object* l_Lean_MonadQuotation_addMacroScope___at_Lean_Elab_Command_elabVariable___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1___closed__4; lean_object* l_Lean_Elab_Command_Context_ref___default; lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addAndCompile___at_Lean_Elab_Term_evalExpr___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getMainModule___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot___closed__5; @@ -736,6 +749,7 @@ lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_o lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_failIfSucceeds___closed__1; uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_elabCheck___closed__4; static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__4; @@ -743,7 +757,6 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNames lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck___closed__1; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__4(lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkEndHeader_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -753,6 +766,7 @@ lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addUnivLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSection___closed__2; static lean_object* l_Lean_Elab_Command_elabExport___closed__2; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1; lean_object* l_Lean_Syntax_getSepArgs(lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__17; static lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___closed__3; @@ -780,11 +794,9 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elbChoice___closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabExport___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabCommand___lambda__5___closed__5; static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__3; lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getMainModule(lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM_match__2(lean_object*); lean_object* l_Lean_Elab_Command_expandInCmd(lean_object*, lean_object*, lean_object*); @@ -808,6 +820,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabOpen___spec__4(lean_ob lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1___closed__6; static lean_object* l_Lean_Elab_Command_elabEnd___closed__1; +lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_registerNamespace(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__10; lean_object* l_Lean_Elab_Command_elabEnd___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -826,7 +839,6 @@ lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_ob lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd___closed__4; static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__3; -lean_object* l_Lean_Elab_Command_elabCommand___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__4; static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__4; lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object*); @@ -835,24 +847,24 @@ lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabOpen___s lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabInitQuot___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_State_infoState___default___closed__3; -static lean_object* l_Lean_Elab_Command_elabCommand___lambda__5___closed__1; lean_object* l_Lean_Elab_Command_runTermElabM_match__1(lean_object*); lean_object* l_Lean_Elab_Command_elbChoice___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabNamespace(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__1; lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_pp_macroStack; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen(lean_object*); -lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_pushScope___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withNamespace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverses___closed__3; +lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__11; static lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1; static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__7___closed__3; @@ -872,10 +884,8 @@ static lean_object* l_Lean_Elab_Command_elabNamespace___closed__2; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScope(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftCoreM(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__12; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabVariable___boxed__const__1; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -888,8 +898,9 @@ lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___boxed(lean_object* static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__10; lean_object* l_Lean_Elab_Command_elabVariable___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__2; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg(lean_object*); static lean_object* l_Lean_Elab_Command_expandInCmd___closed__1; lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getLevelNames(lean_object*); @@ -897,12 +908,13 @@ static lean_object* l_Lean_Elab_Command_elabVariable___lambda__2___closed__1; lean_object* l_Lean_Elab_Command_Context_currMacroScope___default; lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__9; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__9; static lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___closed__3; lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabExport___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot___closed__1; +lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCheckFailure___closed__3; lean_object* l_Lean_Elab_Command_getMainModule___boxed(lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -912,6 +924,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__4; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_State_ngen___default___closed__2; lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure(lean_object*); @@ -919,7 +932,6 @@ lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth(lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Elab_Command_elabVariable___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabCommand___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -933,13 +945,11 @@ lean_object* l_Lean_Elab_Command_mkMessageAux___boxed(lean_object*, lean_object* lean_object* l_Lean_indentD(lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabExport___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__7(lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkCoreContext(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__8; lean_object* l_Lean_Elab_Command_State_traceState___default; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__1; lean_object* l___regBuiltin_Lean_Elab_Command_elabEval(lean_object*); lean_object* l_Lean_Elab_Command_mkCommandElabAttribute(lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -957,7 +967,6 @@ lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec lean_object* l_Lean_Elab_Command_elabChoiceAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__5; lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabCommand___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabVariable___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext; @@ -974,19 +983,14 @@ static lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsComma static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__6; lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabExport___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabCommand___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabCommand___lambda__5___closed__6; lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInCmd___closed__3; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__4; uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); -lean_object* l_Lean_Elab_Command_elabCommand___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__2; -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabSetOption___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__4; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabCommand___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_State_nextMacroScope___default; extern lean_object* l_Lean_scopedEnvExtensionsRef; lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); @@ -1006,7 +1010,6 @@ lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM; static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__12; lean_object* l_Lean_MonadQuotation_addMacroScope___at_Lean_Elab_Command_elabVariable___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__2; static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__2; static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__1; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__1; @@ -1014,7 +1017,6 @@ lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___s lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext_match__2___rarg(lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommand___spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Std_instInhabitedPersistentArrayNode(lean_object*); -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM_match__2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__6; uint32_t lean_uint32_of_nat(lean_object*); @@ -1031,8 +1033,8 @@ lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Comman lean_object* l_Lean_Elab_Command_State_infoState___default; lean_object* l_Lean_Elab_Command_elabInitQuot_match__1(lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___rarg___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabCommand___closed__3; static lean_object* l_Lean_Elab_Command_elabSynth___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__5; lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1043,14 +1045,15 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd___closed__5; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addScopes(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabNamespace___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInCmd___closed__2; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabOpen___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__1; static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__5; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__1; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSection___closed__3; +lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__1; static lean_object* l_Lean_Elab_Command_elabNamespace___closed__1; size_t lean_usize_of_nat(lean_object*); @@ -1077,6 +1080,7 @@ static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId__ lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Command_runLinters___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__11; static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__5___closed__3; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption___closed__2; static lean_object* l_Lean_Elab_Command_instInhabitedScope___closed__1; @@ -1087,14 +1091,16 @@ lean_object* l_Lean_Elab_Command_liftEIO___rarg(lean_object*, lean_object*, lean static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__3; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__4; uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_lintersRef; lean_object* l_Lean_Elab_Command_runTermElabM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__4; lean_object* l_Lean_Elab_Command_getRef___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_add_decl(lean_object*, lean_object*); lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Command_elabEnd___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -8650,6 +8656,812 @@ lean_dec(x_2); return x_4; } } +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_7, 2); +lean_inc(x_8); +lean_dec(x_7); +x_9 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_8); +lean_dec(x_8); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = l_Lean_checkTraceOption(x_10, x_1); +lean_dec(x_10); +x_12 = lean_box(x_11); +lean_ctor_set(x_5, 0, x_12); +return x_5; +} +else +{ +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; +x_13 = lean_ctor_get(x_5, 0); +x_14 = lean_ctor_get(x_5, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_5); +x_15 = lean_ctor_get(x_13, 2); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_15); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_checkTraceOption(x_17, x_1); +lean_dec(x_17); +x_19 = lean_box(x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_14); +return x_20; +} +} +} +static lean_object* _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("["); +return x_1; +} +} +static lean_object* _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("] "); +return x_1; +} +} +static lean_object* _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__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_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; uint8_t x_16; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_2, x_3, x_4, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_st_ref_take(x_4, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_13, 8); +lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = !lean_is_exclusive(x_13); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_13, 8); +lean_dec(x_17); +x_18 = !lean_is_exclusive(x_14); +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; uint8_t x_32; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_1); +x_20 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_20, 0, x_1); +x_21 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_10); +x_26 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_28, 0, x_1); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_7); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Std_PersistentArray_push___rarg(x_19, x_29); +lean_ctor_set(x_14, 0, x_30); +x_31 = lean_st_ref_set(x_4, x_13, x_15); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +x_34 = lean_box(0); +lean_ctor_set(x_31, 0, x_34); +return x_31; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +else +{ +uint8_t 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; +x_38 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); +x_39 = lean_ctor_get(x_14, 0); +lean_inc(x_39); +lean_dec(x_14); +lean_inc(x_1); +x_40 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_40, 0, x_1); +x_41 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4; +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_10); +x_46 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; +x_47 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_48, 0, x_1); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_7); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Std_PersistentArray_push___rarg(x_39, x_49); +x_51 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_38); +lean_ctor_set(x_13, 8, x_51); +x_52 = lean_st_ref_set(x_4, x_13, x_15); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_54 = x_52; +} else { + lean_dec_ref(x_52); + x_54 = lean_box(0); +} +x_55 = lean_box(0); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; +} +} +else +{ +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; uint8_t 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; +x_57 = lean_ctor_get(x_13, 0); +x_58 = lean_ctor_get(x_13, 1); +x_59 = lean_ctor_get(x_13, 2); +x_60 = lean_ctor_get(x_13, 3); +x_61 = lean_ctor_get(x_13, 4); +x_62 = lean_ctor_get(x_13, 5); +x_63 = lean_ctor_get(x_13, 6); +x_64 = lean_ctor_get(x_13, 7); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_13); +x_65 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); +x_66 = lean_ctor_get(x_14, 0); +lean_inc(x_66); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_67 = x_14; +} else { + lean_dec_ref(x_14); + x_67 = lean_box(0); +} +lean_inc(x_1); +x_68 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_68, 0, x_1); +x_69 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2; +x_70 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +x_71 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4; +x_72 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_10); +x_74 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; +x_75 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_76, 0, x_1); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_7); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Std_PersistentArray_push___rarg(x_66, x_77); +if (lean_is_scalar(x_67)) { + x_79 = lean_alloc_ctor(0, 1, 1); +} else { + x_79 = x_67; +} +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_65); +x_80 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_80, 0, x_57); +lean_ctor_set(x_80, 1, x_58); +lean_ctor_set(x_80, 2, x_59); +lean_ctor_set(x_80, 3, x_60); +lean_ctor_set(x_80, 4, x_61); +lean_ctor_set(x_80, 5, x_62); +lean_ctor_set(x_80, 6, x_63); +lean_ctor_set(x_80, 7, x_64); +lean_ctor_set(x_80, 8, x_79); +x_81 = lean_st_ref_set(x_4, x_80, x_15); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_83 = x_81; +} else { + lean_dec_ref(x_81); + x_83 = lean_box(0); +} +x_84 = lean_box(0); +if (lean_is_scalar(x_83)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_83; +} +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_82); +return x_85; +} +} +} +lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___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; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_1); +lean_ctor_set(x_6, 1, x_5); +return x_6; +} +} +static lean_object* _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("info"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1; +x_2 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(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; uint8_t x_25; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_8, 2); +lean_inc(x_11); +lean_dec(x_8); +x_12 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_11); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 1, x_2); +x_14 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +x_16 = lean_ctor_get(x_4, 1); +x_17 = lean_ctor_get(x_4, 6); +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_12, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_12, 3); +lean_inc(x_20); +lean_dec(x_12); +x_21 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1; +lean_inc(x_16); +x_22 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_22, 0, x_10); +lean_ctor_set(x_22, 1, x_16); +lean_ctor_set(x_22, 2, x_21); +lean_ctor_set(x_22, 3, x_18); +lean_ctor_set(x_22, 4, x_19); +lean_ctor_set(x_22, 5, x_20); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_15); +x_24 = lean_st_ref_get(x_5, x_9); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_ctor_get(x_24, 1); +x_28 = lean_ctor_get(x_26, 2); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_28); +lean_dec(x_28); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3; +x_32 = l_Lean_checkTraceOption(x_30, x_31); +lean_dec(x_30); +if (x_32 == 0) +{ +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_free_object(x_24); +x_33 = lean_box(0); +lean_inc(x_23); +x_34 = l_Lean_Elab_InfoTree_format(x_23, x_33, x_27); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_st_ref_get(x_5, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_38, 8); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); +lean_dec(x_39); +if (x_40 == 0) +{ +uint8_t x_41; +lean_dec(x_35); +x_41 = !lean_is_exclusive(x_37); +if (x_41 == 0) +{ +lean_object* x_42; +x_42 = lean_ctor_get(x_37, 0); +lean_dec(x_42); +lean_ctor_set(x_37, 0, x_23); +return x_37; +} +else +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_37, 1); +lean_inc(x_43); +lean_dec(x_37); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_23); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = lean_ctor_get(x_37, 1); +lean_inc(x_45); +lean_dec(x_37); +x_46 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1(x_31, x_4, x_5, x_45); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_unbox(x_47); +lean_dec(x_47); +if (x_48 == 0) +{ +uint8_t x_49; +lean_dec(x_35); +x_49 = !lean_is_exclusive(x_46); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_46, 0); +lean_dec(x_50); +lean_ctor_set(x_46, 0, x_23); +return x_46; +} +else +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_46, 1); +lean_inc(x_51); +lean_dec(x_46); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_23); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_53 = lean_ctor_get(x_46, 1); +lean_inc(x_53); +lean_dec(x_46); +x_54 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_54, 0, x_35); +x_55 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2(x_31, x_54, x_4, x_5, x_53); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +lean_ctor_set(x_55, 0, x_23); +return x_55; +} +else +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_55, 1); +lean_inc(x_58); +lean_dec(x_55); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_23); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_23); +x_60 = !lean_is_exclusive(x_34); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_61 = lean_ctor_get(x_34, 0); +x_62 = lean_io_error_to_string(x_61); +x_63 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_64, 0, x_63); +lean_inc(x_17); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_17); +lean_ctor_set(x_65, 1, x_64); +lean_ctor_set(x_34, 0, x_65); +return x_34; +} +else +{ +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; +x_66 = lean_ctor_get(x_34, 0); +x_67 = lean_ctor_get(x_34, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_34); +x_68 = lean_io_error_to_string(x_66); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +lean_inc(x_17); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_17); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_67); +return x_72; +} +} +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_73 = lean_ctor_get(x_24, 0); +x_74 = lean_ctor_get(x_24, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_24); +x_75 = lean_ctor_get(x_73, 2); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_75); +lean_dec(x_75); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +lean_dec(x_76); +x_78 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3; +x_79 = l_Lean_checkTraceOption(x_77, x_78); +lean_dec(x_77); +if (x_79 == 0) +{ +lean_object* x_80; +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_23); +lean_ctor_set(x_80, 1, x_74); +return x_80; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = lean_box(0); +lean_inc(x_23); +x_82 = l_Lean_Elab_InfoTree_format(x_23, x_81, x_74); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_st_ref_get(x_5, x_84); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_86, 8); +lean_inc(x_87); +lean_dec(x_86); +x_88 = lean_ctor_get_uint8(x_87, sizeof(void*)*1); +lean_dec(x_87); +if (x_88 == 0) +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_dec(x_83); +x_89 = lean_ctor_get(x_85, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_90 = x_85; +} else { + lean_dec_ref(x_85); + x_90 = lean_box(0); +} +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(0, 2, 0); +} else { + x_91 = x_90; +} +lean_ctor_set(x_91, 0, x_23); +lean_ctor_set(x_91, 1, x_89); +return x_91; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_92 = lean_ctor_get(x_85, 1); +lean_inc(x_92); +lean_dec(x_85); +x_93 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1(x_78, x_4, x_5, x_92); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_unbox(x_94); +lean_dec(x_94); +if (x_95 == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +lean_dec(x_83); +x_96 = lean_ctor_get(x_93, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_97 = x_93; +} else { + lean_dec_ref(x_93); + x_97 = lean_box(0); +} +if (lean_is_scalar(x_97)) { + x_98 = lean_alloc_ctor(0, 2, 0); +} else { + x_98 = x_97; +} +lean_ctor_set(x_98, 0, x_23); +lean_ctor_set(x_98, 1, x_96); +return x_98; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_99 = lean_ctor_get(x_93, 1); +lean_inc(x_99); +lean_dec(x_93); +x_100 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_100, 0, x_83); +x_101 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2(x_78, x_100, x_4, x_5, x_99); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_103 = x_101; +} else { + lean_dec_ref(x_101); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(0, 2, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_23); +lean_ctor_set(x_104, 1, x_102); +return x_104; +} +} +} +else +{ +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_dec(x_23); +x_105 = lean_ctor_get(x_82, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_82, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_107 = x_82; +} else { + lean_dec_ref(x_82); + x_107 = lean_box(0); +} +x_108 = lean_io_error_to_string(x_105); +x_109 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_109, 0, x_108); +x_110 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_110, 0, x_109); +lean_inc(x_17); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_17); +lean_ctor_set(x_111, 1, x_110); +if (lean_is_scalar(x_107)) { + x_112 = lean_alloc_ctor(1, 2, 0); +} else { + x_112 = x_107; +} +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_106); +return x_112; +} +} +} +} +} +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__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___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__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_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} +lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___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_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_6; +} +} +lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___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_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_7; +} +} lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -8737,6 +9549,180 @@ return x_20; } } } +lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___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_11; uint8_t x_12; +x_3 = lean_st_ref_get(x_1, x_2); +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_ctor_get(x_4, 7); +lean_inc(x_6); +lean_dec(x_4); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_st_ref_take(x_1, x_5); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_9, 7); +lean_inc(x_10); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_dec(x_8); +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_ctor_get(x_9, 7); +lean_dec(x_13); +x_14 = !lean_is_exclusive(x_10); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_15 = lean_ctor_get(x_10, 1); +lean_dec(x_15); +x_16 = l_Lean_Elab_Command_State_messages___default___closed__3; +lean_ctor_set(x_10, 1, x_16); +x_17 = lean_st_ref_set(x_1, x_9, x_11); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_17, 0); +lean_dec(x_19); +lean_ctor_set(x_17, 0, x_7); +return x_17; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_7); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +else +{ +uint8_t 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_22 = lean_ctor_get_uint8(x_10, sizeof(void*)*2); +x_23 = lean_ctor_get(x_10, 0); +lean_inc(x_23); +lean_dec(x_10); +x_24 = l_Lean_Elab_Command_State_messages___default___closed__3; +x_25 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set_uint8(x_25, sizeof(void*)*2, x_22); +lean_ctor_set(x_9, 7, x_25); +x_26 = lean_st_ref_set(x_1, x_9, x_11); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_28 = x_26; +} else { + lean_dec_ref(x_26); + x_28 = lean_box(0); +} +if (lean_is_scalar(x_28)) { + x_29 = lean_alloc_ctor(0, 2, 0); +} else { + x_29 = x_28; +} +lean_ctor_set(x_29, 0, x_7); +lean_ctor_set(x_29, 1, x_27); +return x_29; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t 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_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 1); +x_32 = lean_ctor_get(x_9, 2); +x_33 = lean_ctor_get(x_9, 3); +x_34 = lean_ctor_get(x_9, 4); +x_35 = lean_ctor_get(x_9, 5); +x_36 = lean_ctor_get(x_9, 6); +x_37 = lean_ctor_get(x_9, 8); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_9); +x_38 = lean_ctor_get_uint8(x_10, sizeof(void*)*2); +x_39 = lean_ctor_get(x_10, 0); +lean_inc(x_39); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + x_40 = x_10; +} else { + lean_dec_ref(x_10); + x_40 = lean_box(0); +} +x_41 = l_Lean_Elab_Command_State_messages___default___closed__3; +if (lean_is_scalar(x_40)) { + x_42 = lean_alloc_ctor(0, 2, 1); +} else { + x_42 = x_40; +} +lean_ctor_set(x_42, 0, x_39); +lean_ctor_set(x_42, 1, x_41); +lean_ctor_set_uint8(x_42, sizeof(void*)*2, x_38); +x_43 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_43, 0, x_30); +lean_ctor_set(x_43, 1, x_31); +lean_ctor_set(x_43, 2, x_32); +lean_ctor_set(x_43, 3, x_33); +lean_ctor_set(x_43, 4, x_34); +lean_ctor_set(x_43, 5, x_35); +lean_ctor_set(x_43, 6, x_36); +lean_ctor_set(x_43, 7, x_42); +lean_ctor_set(x_43, 8, x_37); +x_44 = lean_st_ref_set(x_1, x_43, x_11); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_46 = x_44; +} else { + lean_dec_ref(x_44); + x_46 = lean_box(0); +} +if (lean_is_scalar(x_46)) { + x_47 = lean_alloc_ctor(0, 2, 0); +} else { + x_47 = x_46; +} +lean_ctor_set(x_47, 0, x_7); +lean_ctor_set(x_47, 1, x_45); +return x_47; +} +} +} +lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg___boxed), 2, 0); +return x_2; +} +} static lean_object* _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__1() { _start: { @@ -8778,148 +9764,450 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +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_22; lean_object* x_23; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; x_14 = lean_ctor_get(x_3, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_3, 1); lean_inc(x_15); lean_dec(x_3); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_35 = lean_st_ref_get(x_5, x_6); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_36, 7); +lean_inc(x_37); +lean_dec(x_36); +x_38 = lean_ctor_get_uint8(x_37, sizeof(void*)*2); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_18); +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_dec(x_35); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_16 = lean_apply_4(x_14, x_2, x_4, x_5, x_6); -if (lean_obj_tag(x_16) == 0) +x_40 = lean_apply_4(x_16, x_2, x_4, x_5, x_39); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_17; lean_object* x_18; +lean_object* x_41; lean_dec(x_15); lean_dec(x_2); lean_dec(x_1); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages(x_4, x_5, x_17); -lean_dec(x_5); -return x_18; -} -else -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_16, 0); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -lean_dec(x_15); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_20 = !lean_is_exclusive(x_16); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_16, 0); -lean_dec(x_21); -return x_16; -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_16, 1); -lean_inc(x_22); -lean_dec(x_16); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_19); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -else -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_16); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_25 = lean_ctor_get(x_16, 1); -x_26 = lean_ctor_get(x_16, 0); -lean_dec(x_26); -x_27 = lean_ctor_get(x_19, 0); -lean_inc(x_27); -x_28 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_29 = lean_nat_dec_eq(x_28, x_27); -lean_dec(x_27); -if (x_29 == 0) -{ -lean_dec(x_15); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_16; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_free_object(x_16); -lean_dec(x_19); -lean_inc(x_1); -x_30 = lean_st_ref_set(x_5, x_1, x_25); -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec(x_30); -lean_inc(x_4); -x_32 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages(x_4, x_5, x_31); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_3 = x_15; -x_6 = x_33; -goto _start; -} -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_35 = lean_ctor_get(x_16, 1); -lean_inc(x_35); -lean_dec(x_16); -x_36 = lean_ctor_get(x_19, 0); -lean_inc(x_36); -x_37 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_38 = lean_nat_dec_eq(x_37, x_36); -lean_dec(x_36); -if (x_38 == 0) -{ -lean_object* x_39; -lean_dec(x_15); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_19); -lean_ctor_set(x_39, 1, x_35); -return x_39; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -lean_dec(x_19); -lean_inc(x_1); -x_40 = lean_st_ref_set(x_5, x_1, x_35); x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); -lean_inc(x_4); -x_42 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages(x_4, x_5, x_41); -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); -x_3 = x_15; -x_6 = x_43; -goto _start; +x_19 = x_41; +goto block_21; } +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +lean_dec(x_40); +x_22 = x_42; +x_23 = x_43; +goto block_34; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_35, 1); +lean_inc(x_44); +lean_dec(x_35); +x_45 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(x_5, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_2); +x_48 = lean_apply_4(x_16, x_2, x_4, x_5, x_47); +if (lean_obj_tag(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; +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_st_ref_get(x_5, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_ctor_get(x_51, 7); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +lean_inc(x_2); +x_55 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_18, x_2, x_54, x_4, x_5, x_52); +if (lean_obj_tag(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; uint8_t x_62; +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +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_st_ref_take(x_5, x_57); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_59, 7); +lean_inc(x_60); +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); +lean_dec(x_58); +x_62 = !lean_is_exclusive(x_59); +if (x_62 == 0) +{ +lean_object* x_63; uint8_t x_64; +x_63 = lean_ctor_get(x_59, 7); +lean_dec(x_63); +x_64 = !lean_is_exclusive(x_60); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_65 = lean_ctor_get(x_60, 1); +lean_dec(x_65); +x_66 = l_Std_PersistentArray_push___rarg(x_46, x_56); +lean_ctor_set(x_60, 1, x_66); +x_67 = lean_st_ref_set(x_5, x_59, x_61); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +lean_dec(x_67); +x_19 = x_68; +goto block_21; +} +else +{ +uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_69 = lean_ctor_get_uint8(x_60, sizeof(void*)*2); +x_70 = lean_ctor_get(x_60, 0); +lean_inc(x_70); +lean_dec(x_60); +x_71 = l_Std_PersistentArray_push___rarg(x_46, x_56); +x_72 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set_uint8(x_72, sizeof(void*)*2, x_69); +lean_ctor_set(x_59, 7, x_72); +x_73 = lean_st_ref_set(x_5, x_59, x_61); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_19 = x_74; +goto block_21; +} +} +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_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_75 = lean_ctor_get(x_59, 0); +x_76 = lean_ctor_get(x_59, 1); +x_77 = lean_ctor_get(x_59, 2); +x_78 = lean_ctor_get(x_59, 3); +x_79 = lean_ctor_get(x_59, 4); +x_80 = lean_ctor_get(x_59, 5); +x_81 = lean_ctor_get(x_59, 6); +x_82 = lean_ctor_get(x_59, 8); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_59); +x_83 = lean_ctor_get_uint8(x_60, sizeof(void*)*2); +x_84 = lean_ctor_get(x_60, 0); +lean_inc(x_84); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_85 = x_60; +} else { + lean_dec_ref(x_60); + x_85 = lean_box(0); +} +x_86 = l_Std_PersistentArray_push___rarg(x_46, x_56); +if (lean_is_scalar(x_85)) { + x_87 = lean_alloc_ctor(0, 2, 1); +} else { + x_87 = x_85; +} +lean_ctor_set(x_87, 0, x_84); +lean_ctor_set(x_87, 1, x_86); +lean_ctor_set_uint8(x_87, sizeof(void*)*2, x_83); +x_88 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_88, 0, x_75); +lean_ctor_set(x_88, 1, x_76); +lean_ctor_set(x_88, 2, x_77); +lean_ctor_set(x_88, 3, x_78); +lean_ctor_set(x_88, 4, x_79); +lean_ctor_set(x_88, 5, x_80); +lean_ctor_set(x_88, 6, x_81); +lean_ctor_set(x_88, 7, x_87); +lean_ctor_set(x_88, 8, x_82); +x_89 = lean_st_ref_set(x_5, x_88, x_61); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_19 = x_90; +goto block_21; +} +} +else +{ +lean_object* x_91; lean_object* x_92; +lean_dec(x_46); +x_91 = lean_ctor_get(x_55, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_55, 1); +lean_inc(x_92); +lean_dec(x_55); +x_22 = x_91; +x_23 = x_92; +goto block_34; +} +} +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_99; lean_object* x_100; +x_93 = lean_ctor_get(x_48, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_48, 1); +lean_inc(x_94); +lean_dec(x_48); +x_95 = lean_st_ref_get(x_5, x_94); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = lean_ctor_get(x_96, 7); +lean_inc(x_98); +lean_dec(x_96); +x_99 = lean_ctor_get(x_98, 1); +lean_inc(x_99); +lean_dec(x_98); +lean_inc(x_2); +x_100 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_18, x_2, x_99, x_4, x_5, x_97); +if (lean_obj_tag(x_100) == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +x_103 = lean_st_ref_take(x_5, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_104, 7); +lean_inc(x_105); +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); +lean_dec(x_103); +x_107 = !lean_is_exclusive(x_104); +if (x_107 == 0) +{ +lean_object* x_108; uint8_t x_109; +x_108 = lean_ctor_get(x_104, 7); +lean_dec(x_108); +x_109 = !lean_is_exclusive(x_105); +if (x_109 == 0) +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_110 = lean_ctor_get(x_105, 1); +lean_dec(x_110); +x_111 = l_Std_PersistentArray_push___rarg(x_46, x_101); +lean_ctor_set(x_105, 1, x_111); +x_112 = lean_st_ref_set(x_5, x_104, x_106); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_22 = x_93; +x_23 = x_113; +goto block_34; +} +else +{ +uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_114 = lean_ctor_get_uint8(x_105, sizeof(void*)*2); +x_115 = lean_ctor_get(x_105, 0); +lean_inc(x_115); +lean_dec(x_105); +x_116 = l_Std_PersistentArray_push___rarg(x_46, x_101); +x_117 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_117, 0, x_115); +lean_ctor_set(x_117, 1, x_116); +lean_ctor_set_uint8(x_117, sizeof(void*)*2, x_114); +lean_ctor_set(x_104, 7, x_117); +x_118 = lean_st_ref_set(x_5, x_104, x_106); +x_119 = lean_ctor_get(x_118, 1); +lean_inc(x_119); +lean_dec(x_118); +x_22 = x_93; +x_23 = x_119; +goto block_34; +} +} +else +{ +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; uint8_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_120 = lean_ctor_get(x_104, 0); +x_121 = lean_ctor_get(x_104, 1); +x_122 = lean_ctor_get(x_104, 2); +x_123 = lean_ctor_get(x_104, 3); +x_124 = lean_ctor_get(x_104, 4); +x_125 = lean_ctor_get(x_104, 5); +x_126 = lean_ctor_get(x_104, 6); +x_127 = lean_ctor_get(x_104, 8); +lean_inc(x_127); +lean_inc(x_126); +lean_inc(x_125); +lean_inc(x_124); +lean_inc(x_123); +lean_inc(x_122); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_104); +x_128 = lean_ctor_get_uint8(x_105, sizeof(void*)*2); +x_129 = lean_ctor_get(x_105, 0); +lean_inc(x_129); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_130 = x_105; +} else { + lean_dec_ref(x_105); + x_130 = lean_box(0); +} +x_131 = l_Std_PersistentArray_push___rarg(x_46, x_101); +if (lean_is_scalar(x_130)) { + x_132 = lean_alloc_ctor(0, 2, 1); +} else { + x_132 = x_130; +} +lean_ctor_set(x_132, 0, x_129); +lean_ctor_set(x_132, 1, x_131); +lean_ctor_set_uint8(x_132, sizeof(void*)*2, x_128); +x_133 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_133, 0, x_120); +lean_ctor_set(x_133, 1, x_121); +lean_ctor_set(x_133, 2, x_122); +lean_ctor_set(x_133, 3, x_123); +lean_ctor_set(x_133, 4, x_124); +lean_ctor_set(x_133, 5, x_125); +lean_ctor_set(x_133, 6, x_126); +lean_ctor_set(x_133, 7, x_132); +lean_ctor_set(x_133, 8, x_127); +x_134 = lean_st_ref_set(x_5, x_133, x_106); +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +lean_dec(x_134); +x_22 = x_93; +x_23 = x_135; +goto block_34; +} +} +else +{ +lean_object* x_136; lean_object* x_137; +lean_dec(x_93); +lean_dec(x_46); +x_136 = lean_ctor_get(x_100, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_100, 1); +lean_inc(x_137); +lean_dec(x_100); +x_22 = x_136; +x_23 = x_137; +goto block_34; +} +} +} +block_21: +{ +lean_object* x_20; +x_20 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages(x_4, x_5, x_19); +lean_dec(x_5); +return x_20; +} +block_34: +{ +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_24; +lean_dec(x_15); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_22, 0); +lean_inc(x_25); +x_26 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_27 = lean_nat_dec_eq(x_26, x_25); +lean_dec(x_25); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_15); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_23); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_22); +lean_inc(x_1); +x_29 = lean_st_ref_set(x_5, x_1, x_23); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +lean_inc(x_4); +x_31 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages(x_4, x_5, x_30); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_3 = x_15; +x_6 = x_32; +goto _start; } } } @@ -8935,6 +10223,24 @@ lean_dec(x_3); return x_5; } } +lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg(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: { @@ -9340,7 +10646,7 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__1() { _start: { lean_object* x_1; @@ -9348,17 +10654,17 @@ x_1 = lean_mk_string("showPartialSyntaxErrors"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____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_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__3() { _start: { lean_object* x_1; @@ -9366,13 +10672,13 @@ x_1 = lean_mk_string("show elaboration errors from partial syntax trees (i.e. af return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; x_2 = l_Lean_Elab_Command_instInhabitedScope___closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__3; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -9381,12 +10687,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__2; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__4; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__2; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__4; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -9792,31 +11098,21 @@ return x_86; } } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__1; +x_1 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1; x_2 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -9861,13 +11157,18 @@ return x_4; } else { -lean_object* x_5; lean_object* x_6; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_dec(x_3); x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_apply_2(x_2, x_6, x_7); +return x_8; } } } @@ -9946,7 +11247,7 @@ static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabC _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__1; +x_1 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1; x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -10315,329 +11616,7 @@ return x_35; } } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_7, 2); -lean_inc(x_8); -lean_dec(x_7); -x_9 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_8); -lean_dec(x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l_Lean_checkTraceOption(x_10, x_1); -lean_dec(x_10); -x_12 = lean_box(x_11); -lean_ctor_set(x_5, 0, x_12); -return x_5; -} -else -{ -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; -x_13 = lean_ctor_get(x_5, 0); -x_14 = lean_ctor_get(x_5, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_5); -x_15 = lean_ctor_get(x_13, 2); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_15); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Lean_checkTraceOption(x_17, x_1); -lean_dec(x_17); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_14); -return x_20; -} -} -} -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("["); -return x_1; -} -} -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("] "); -return x_1; -} -} -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7(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; uint8_t x_16; -x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_2, x_3, x_4, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_st_ref_take(x_4, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_13, 8); -lean_inc(x_14); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_dec(x_12); -x_16 = !lean_is_exclusive(x_13); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_ctor_get(x_13, 8); -lean_dec(x_17); -x_18 = !lean_is_exclusive(x_14); -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; uint8_t x_32; -x_19 = lean_ctor_get(x_14, 0); -lean_inc(x_1); -x_20 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_20, 0, x_1); -x_21 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__2; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__4; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_10); -x_26 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_27 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_28, 0, x_1); -lean_ctor_set(x_28, 1, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_7); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Std_PersistentArray_push___rarg(x_19, x_29); -lean_ctor_set(x_14, 0, x_30); -x_31 = lean_st_ref_set(x_4, x_13, x_15); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -x_34 = lean_box(0); -lean_ctor_set(x_31, 0, x_34); -return x_31; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_31, 1); -lean_inc(x_35); -lean_dec(x_31); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -else -{ -uint8_t 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; -x_38 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); -x_39 = lean_ctor_get(x_14, 0); -lean_inc(x_39); -lean_dec(x_14); -lean_inc(x_1); -x_40 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_40, 0, x_1); -x_41 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__2; -x_42 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__4; -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_10); -x_46 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_48, 0, x_1); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_7); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Std_PersistentArray_push___rarg(x_39, x_49); -x_51 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_38); -lean_ctor_set(x_13, 8, x_51); -x_52 = lean_st_ref_set(x_4, x_13, x_15); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -else -{ -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; uint8_t 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; -x_57 = lean_ctor_get(x_13, 0); -x_58 = lean_ctor_get(x_13, 1); -x_59 = lean_ctor_get(x_13, 2); -x_60 = lean_ctor_get(x_13, 3); -x_61 = lean_ctor_get(x_13, 4); -x_62 = lean_ctor_get(x_13, 5); -x_63 = lean_ctor_get(x_13, 6); -x_64 = lean_ctor_get(x_13, 7); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_13); -x_65 = lean_ctor_get_uint8(x_14, sizeof(void*)*1); -x_66 = lean_ctor_get(x_14, 0); -lean_inc(x_66); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - x_67 = x_14; -} else { - lean_dec_ref(x_14); - x_67 = lean_box(0); -} -lean_inc(x_1); -x_68 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_68, 0, x_1); -x_69 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__2; -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -x_71 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__4; -x_72 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_10); -x_74 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_75 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_76, 0, x_1); -lean_ctor_set(x_76, 1, x_75); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_7); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_Std_PersistentArray_push___rarg(x_66, x_77); -if (lean_is_scalar(x_67)) { - x_79 = lean_alloc_ctor(0, 1, 1); -} else { - x_79 = x_67; -} -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_65); -x_80 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_80, 0, x_57); -lean_ctor_set(x_80, 1, x_58); -lean_ctor_set(x_80, 2, x_59); -lean_ctor_set(x_80, 3, x_60); -lean_ctor_set(x_80, 4, x_61); -lean_ctor_set(x_80, 5, x_62); -lean_ctor_set(x_80, 6, x_63); -lean_ctor_set(x_80, 7, x_64); -lean_ctor_set(x_80, 8, x_79); -x_81 = lean_st_ref_set(x_4, x_80, x_15); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - x_83 = x_81; -} else { - lean_dec_ref(x_81); - x_83 = lean_box(0); -} -x_84 = lean_box(0); -if (lean_is_scalar(x_83)) { - x_85 = lean_alloc_ctor(0, 2, 0); -} else { - x_85 = x_83; -} -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_82); -return x_85; -} -} -} -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_1) == 0) @@ -10689,7 +11668,7 @@ x_17 = lean_ctor_get(x_11, 1); lean_inc(x_17); lean_dec(x_11); lean_inc(x_9); -x_18 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__6(x_9, x_2, x_3, x_17); +x_18 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__1(x_9, x_2, x_3, x_17); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_unbox(x_19); @@ -10716,7 +11695,7 @@ x_24 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_24, 0, x_10); x_25 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_25, 0, x_24); -x_26 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7(x_9, x_25, x_2, x_3, x_23); +x_26 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2(x_9, x_25, x_2, x_3, x_23); x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); @@ -10728,7 +11707,7 @@ goto _start; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9(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; uint8_t x_14; @@ -10782,7 +11761,7 @@ return x_20; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8(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; uint8_t x_10; @@ -10801,7 +11780,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_3, 6); lean_dec(x_11); lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__10(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9(x_2, x_3, x_4, x_8); return x_12; } else @@ -10828,12 +11807,12 @@ lean_ctor_set(x_19, 3, x_16); lean_ctor_set(x_19, 4, x_17); lean_ctor_set(x_19, 5, x_18); lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__10(x_2, x_19, x_4, x_8); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9(x_2, x_19, x_4, x_8); return x_20; } } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10845,37 +11824,450 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg), 1, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg), 1, 0); return x_3; } } -lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__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; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__4(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; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__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; 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; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Elab_Command_getScope___rarg(x_3, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 2); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_Command_getScope___rarg(x_3, x_11); +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); +x_16 = lean_ctor_get(x_14, 3); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_8); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1___boxed), 4, 1); +lean_closure_set(x_17, 0, x_8); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_18, 0, x_12); +lean_inc(x_8); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__2___boxed), 4, 1); +lean_closure_set(x_19, 0, x_8); +lean_inc(x_16); +lean_inc(x_12); +lean_inc(x_8); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__3___boxed), 6, 3); +lean_closure_set(x_20, 0, x_8); +lean_closure_set(x_20, 1, x_12); +lean_closure_set(x_20, 2, x_16); +lean_inc(x_8); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__4___boxed), 6, 3); +lean_closure_set(x_21, 0, x_8); +lean_closure_set(x_21, 1, x_12); +lean_closure_set(x_21, 2, x_16); +x_22 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_20); +lean_ctor_set(x_22, 4, x_21); +x_23 = x_22; +x_24 = l_Lean_Elab_Command_getRef(x_2, x_3, x_15); +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 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_2, 2); +lean_inc(x_30); +x_31 = lean_st_ref_get(x_3, x_29); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_ctor_get(x_32, 4); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_3, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_36, 3); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_environment_main_module(x_8); +x_40 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_40, 0, x_23); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_28); +lean_ctor_set(x_40, 3, x_30); +lean_ctor_set(x_40, 4, x_34); +lean_ctor_set(x_40, 5, x_25); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_apply_2(x_1, x_40, x_42); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_st_ref_take(x_3, x_37); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = !lean_is_exclusive(x_48); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_51 = lean_ctor_get(x_48, 3); +lean_dec(x_51); +lean_ctor_set(x_48, 3, x_46); +x_52 = lean_st_ref_set(x_3, x_48, x_49); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get(x_45, 1); +lean_inc(x_54); +lean_dec(x_45); +x_55 = l_List_reverse___rarg(x_54); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +lean_dec(x_2); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_44); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_44); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +else +{ +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_61 = lean_ctor_get(x_48, 0); +x_62 = lean_ctor_get(x_48, 1); +x_63 = lean_ctor_get(x_48, 2); +x_64 = lean_ctor_get(x_48, 4); +x_65 = lean_ctor_get(x_48, 5); +x_66 = lean_ctor_get(x_48, 6); +x_67 = lean_ctor_get(x_48, 7); +x_68 = lean_ctor_get(x_48, 8); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_48); +x_69 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_69, 0, x_61); +lean_ctor_set(x_69, 1, x_62); +lean_ctor_set(x_69, 2, x_63); +lean_ctor_set(x_69, 3, x_46); +lean_ctor_set(x_69, 4, x_64); +lean_ctor_set(x_69, 5, x_65); +lean_ctor_set(x_69, 6, x_66); +lean_ctor_set(x_69, 7, x_67); +lean_ctor_set(x_69, 8, x_68); +x_70 = lean_st_ref_set(x_3, x_69, x_49); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get(x_45, 1); +lean_inc(x_72); +lean_dec(x_45); +x_73 = l_List_reverse___rarg(x_72); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +lean_dec(x_2); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_76 = x_74; +} else { + lean_dec_ref(x_74); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_44); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +else +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_43, 0); +lean_inc(x_78); +lean_dec(x_43); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_82, 0, x_81); +x_83 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8(x_79, x_82, x_2, x_3, x_37); +lean_dec(x_79); +return x_83; +} +else +{ +lean_object* x_84; +lean_dec(x_2); +x_84 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg(x_37); +return x_84; +} +} +} +} +lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(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; uint8_t x_15; lean_object* x_16; lean_inc(x_1); x_6 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_6, 0, x_1); -x_7 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__2; +x_7 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2; x_8 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_8, 0, x_7); lean_ctor_set(x_8, 1, x_6); -x_9 = l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__4; +x_9 = l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4; x_10 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_10, 0, x_8); lean_ctor_set(x_10, 1, x_9); @@ -10894,7 +12286,7 @@ x_16 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_14, x_15, x return x_16; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; @@ -10956,7 +12348,7 @@ return x_20; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(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; uint8_t x_14; @@ -11010,180 +12402,6 @@ return x_20; } } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15___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_11; uint8_t x_12; -x_3 = lean_st_ref_get(x_1, x_2); -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_ctor_get(x_4, 7); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_st_ref_take(x_1, x_5); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_9, 7); -lean_inc(x_10); -x_11 = lean_ctor_get(x_8, 1); -lean_inc(x_11); -lean_dec(x_8); -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) -{ -lean_object* x_13; uint8_t x_14; -x_13 = lean_ctor_get(x_9, 7); -lean_dec(x_13); -x_14 = !lean_is_exclusive(x_10); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_15 = lean_ctor_get(x_10, 1); -lean_dec(x_15); -x_16 = l_Lean_Elab_Command_State_messages___default___closed__3; -lean_ctor_set(x_10, 1, x_16); -x_17 = lean_st_ref_set(x_1, x_9, x_11); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -lean_ctor_set(x_17, 0, x_7); -return x_17; -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_7); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -else -{ -uint8_t 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_22 = lean_ctor_get_uint8(x_10, sizeof(void*)*2); -x_23 = lean_ctor_get(x_10, 0); -lean_inc(x_23); -lean_dec(x_10); -x_24 = l_Lean_Elab_Command_State_messages___default___closed__3; -x_25 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -lean_ctor_set_uint8(x_25, sizeof(void*)*2, x_22); -lean_ctor_set(x_9, 7, x_25); -x_26 = lean_st_ref_set(x_1, x_9, x_11); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - x_28 = x_26; -} else { - lean_dec_ref(x_26); - x_28 = lean_box(0); -} -if (lean_is_scalar(x_28)) { - x_29 = lean_alloc_ctor(0, 2, 0); -} else { - x_29 = x_28; -} -lean_ctor_set(x_29, 0, x_7); -lean_ctor_set(x_29, 1, x_27); -return x_29; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t 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_30 = lean_ctor_get(x_9, 0); -x_31 = lean_ctor_get(x_9, 1); -x_32 = lean_ctor_get(x_9, 2); -x_33 = lean_ctor_get(x_9, 3); -x_34 = lean_ctor_get(x_9, 4); -x_35 = lean_ctor_get(x_9, 5); -x_36 = lean_ctor_get(x_9, 6); -x_37 = lean_ctor_get(x_9, 8); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_9); -x_38 = lean_ctor_get_uint8(x_10, sizeof(void*)*2); -x_39 = lean_ctor_get(x_10, 0); -lean_inc(x_39); -if (lean_is_exclusive(x_10)) { - lean_ctor_release(x_10, 0); - lean_ctor_release(x_10, 1); - x_40 = x_10; -} else { - lean_dec_ref(x_10); - x_40 = lean_box(0); -} -x_41 = l_Lean_Elab_Command_State_messages___default___closed__3; -if (lean_is_scalar(x_40)) { - x_42 = lean_alloc_ctor(0, 2, 1); -} else { - x_42 = x_40; -} -lean_ctor_set(x_42, 0, x_39); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set_uint8(x_42, sizeof(void*)*2, x_38); -x_43 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_43, 0, x_30); -lean_ctor_set(x_43, 1, x_31); -lean_ctor_set(x_43, 2, x_32); -lean_ctor_set(x_43, 3, x_33); -lean_ctor_set(x_43, 4, x_34); -lean_ctor_set(x_43, 5, x_35); -lean_ctor_set(x_43, 6, x_36); -lean_ctor_set(x_43, 7, x_42); -lean_ctor_set(x_43, 8, x_37); -x_44 = lean_st_ref_set(x_1, x_43, x_11); -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_46 = x_44; -} else { - lean_dec_ref(x_44); - x_46 = lean_box(0); -} -if (lean_is_scalar(x_46)) { - x_47 = lean_alloc_ctor(0, 2, 0); -} else { - x_47 = x_46; -} -lean_ctor_set(x_47, 0, x_7); -lean_ctor_set(x_47, 1, x_45); -return x_47; -} -} -} -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15___rarg___boxed), 2, 0); -return x_2; -} -} lean_object* l_Lean_Elab_Command_elabCommand___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: { @@ -11280,41 +12498,7 @@ return x_34; } } } -lean_object* l_Lean_Elab_Command_elabCommand___lambda__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; lean_object* x_7; -x_5 = l_Lean_Environment_contains(x_1, x_2); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -lean_object* l_Lean_Elab_Command_elabCommand___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) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_Command_elabCommand___lambda__4(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; -x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__5___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -11322,16 +12506,16 @@ x_1 = lean_mk_string("unexpected command"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__5___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__1; +x_1 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__5___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -11339,16 +12523,16 @@ x_1 = lean_mk_string("elaboration function for '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__5___closed__4() { +static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__3; +x_1 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__5___closed__5() { +static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__5() { _start: { lean_object* x_1; @@ -11356,16 +12540,16 @@ x_1 = lean_mk_string("' has not been implemented"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__5___closed__6() { +static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__5; +x_1 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_elabCommand___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_Command_elabCommand___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; uint8_t x_9; @@ -11434,47 +12618,47 @@ x_31 = l_Lean_nullKind; x_32 = lean_name_eq(x_29, x_31); if (x_32 == 0) { -lean_object* x_33; 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; uint8_t x_157; +lean_object* x_33; 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; uint8_t x_192; lean_dec(x_30); lean_free_object(x_25); -x_150 = lean_st_ref_get(x_5, x_27); -x_151 = lean_ctor_get(x_150, 0); -lean_inc(x_151); -x_152 = lean_ctor_get(x_150, 1); -lean_inc(x_152); -lean_dec(x_150); -x_153 = lean_ctor_get(x_151, 2); -lean_inc(x_153); -lean_dec(x_151); -x_154 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_153); -lean_dec(x_153); -x_155 = lean_ctor_get(x_154, 1); -lean_inc(x_155); -lean_dec(x_154); -x_156 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__2; -x_157 = l_Lean_checkTraceOption(x_155, x_156); -lean_dec(x_155); -if (x_157 == 0) +x_185 = lean_st_ref_get(x_5, x_27); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_185, 1); +lean_inc(x_187); +lean_dec(x_185); +x_188 = lean_ctor_get(x_186, 2); +lean_inc(x_188); +lean_dec(x_186); +x_189 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_188); +lean_dec(x_188); +x_190 = lean_ctor_get(x_189, 1); +lean_inc(x_190); +lean_dec(x_189); +x_191 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1; +x_192 = l_Lean_checkTraceOption(x_190, x_191); +lean_dec(x_190); +if (x_192 == 0) { -x_33 = x_152; -goto block_149; +x_33 = x_187; +goto block_184; } else { -lean_object* x_158; lean_object* x_159; lean_object* x_160; +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_inc(x_2); -x_158 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_158, 0, x_2); -x_159 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(x_156, x_158, x_4, x_5, x_152); -x_160 = lean_ctor_get(x_159, 1); -lean_inc(x_160); -lean_dec(x_159); -x_33 = x_160; -goto block_149; +x_193 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_193, 0, x_2); +x_194 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(x_191, x_193, x_4, x_5, x_187); +x_195 = lean_ctor_get(x_194, 1); +lean_inc(x_195); +lean_dec(x_194); +x_33 = x_195; +goto block_184; } -block_149: +block_184: { -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_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; x_34 = lean_st_ref_get(x_5, x_33); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); @@ -11483,977 +12667,1174 @@ lean_inc(x_36); lean_dec(x_34); x_37 = lean_ctor_get(x_35, 0); lean_inc(x_37); -x_55 = lean_st_ref_get(x_5, x_36); +lean_inc(x_2); +lean_inc(x_37); +x_38 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); +lean_closure_set(x_38, 0, x_37); +lean_closure_set(x_38, 1, x_2); +lean_inc(x_4); +x_39 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(x_38, x_4, x_5, x_36); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l_Lean_Elab_Command_commandElabAttribute; +x_43 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_42, x_37, x_29); +lean_dec(x_37); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_35); +lean_dec(x_2); +x_44 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_44, 0, x_29); +x_45 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__4; +x_46 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__6; +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +x_49 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_48, x_4, x_5, x_41); +lean_dec(x_5); +return x_49; +} +else +{ +lean_object* x_50; +lean_dec(x_29); +x_50 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_35, x_2, x_43, x_4, x_5, x_41); +return x_50; +} +} +else +{ +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; uint8_t x_58; +lean_dec(x_37); +lean_dec(x_35); +lean_dec(x_29); +x_51 = lean_ctor_get(x_40, 0); +lean_inc(x_51); +lean_dec(x_40); +x_52 = lean_ctor_get(x_39, 1); +lean_inc(x_52); +lean_dec(x_39); +x_53 = lean_ctor_get(x_51, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = lean_st_ref_get(x_5, x_52); x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); +x_57 = lean_ctor_get(x_56, 7); lean_inc(x_57); -lean_dec(x_55); -x_58 = lean_ctor_get(x_56, 0); -lean_inc(x_58); lean_dec(x_56); -x_59 = l_Lean_Elab_Command_getScope___rarg(x_5, x_57); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_ctor_get(x_60, 2); -lean_inc(x_62); -lean_dec(x_60); -x_63 = l_Lean_Elab_Command_getScope___rarg(x_5, x_61); -x_64 = lean_ctor_get(x_63, 0); +x_58 = lean_ctor_get_uint8(x_57, sizeof(void*)*2); +lean_dec(x_57); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_dec(x_53); +lean_dec(x_4); +x_59 = lean_ctor_get(x_55, 1); +lean_inc(x_59); +lean_dec(x_55); +lean_inc(x_54); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_2); +lean_ctor_set(x_60, 1, x_54); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_13); +x_62 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_62, 0, x_10); +lean_ctor_set(x_62, 1, x_11); +lean_ctor_set(x_62, 2, x_8); +lean_ctor_set(x_62, 3, x_12); +lean_ctor_set(x_62, 4, x_61); +lean_ctor_set(x_62, 5, x_21); +lean_ctor_set(x_62, 6, x_14); +x_63 = l_Lean_Elab_Command_elabCommand(x_54, x_62, x_5, x_59); +lean_dec(x_62); +return x_63; +} +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; +x_64 = lean_ctor_get(x_55, 1); lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_ctor_get(x_64, 3); +lean_dec(x_55); +x_65 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(x_5, x_64); +x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); -lean_dec(x_64); -lean_inc(x_58); -x_67 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_67, 0, x_58); -lean_inc(x_62); -x_68 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_68, 0, x_62); -lean_inc(x_58); -x_69 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__2___boxed), 4, 1); -lean_closure_set(x_69, 0, x_58); -lean_inc(x_66); -lean_inc(x_62); -lean_inc(x_58); -x_70 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__3___boxed), 6, 3); -lean_closure_set(x_70, 0, x_58); -lean_closure_set(x_70, 1, x_62); -lean_closure_set(x_70, 2, x_66); -lean_inc(x_58); -x_71 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__4___boxed), 6, 3); -lean_closure_set(x_71, 0, x_58); -lean_closure_set(x_71, 1, x_62); -lean_closure_set(x_71, 2, x_66); -x_72 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_72, 0, x_67); -lean_ctor_set(x_72, 1, x_68); -lean_ctor_set(x_72, 2, x_69); -lean_ctor_set(x_72, 3, x_70); -lean_ctor_set(x_72, 4, x_71); -x_73 = x_72; -x_74 = l_Lean_Elab_Command_getRef(x_4, x_5, x_65); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +lean_inc(x_54); +lean_inc(x_2); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_2); +lean_ctor_set(x_68, 1, x_54); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_13); +x_70 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_70, 0, x_10); +lean_ctor_set(x_70, 1, x_11); +lean_ctor_set(x_70, 2, x_8); +lean_ctor_set(x_70, 3, x_12); +lean_ctor_set(x_70, 4, x_69); +lean_ctor_set(x_70, 5, x_21); +lean_ctor_set(x_70, 6, x_14); +lean_inc(x_5); +x_71 = l_Lean_Elab_Command_elabCommand(x_54, x_70, x_5, x_67); +lean_dec(x_70); +if (lean_obj_tag(x_71) == 0) +{ +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; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_st_ref_get(x_5, x_73); x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); lean_dec(x_74); -x_77 = l_Lean_Elab_Command_getCurrMacroScope(x_4, x_5, x_76); -x_78 = lean_ctor_get(x_77, 0); +x_77 = lean_ctor_get(x_75, 7); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); lean_dec(x_77); -x_80 = lean_st_ref_get(x_5, x_79); -x_81 = lean_ctor_get(x_80, 0); +x_79 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_53, x_2, x_78, x_4, x_5, x_76); +lean_dec(x_4); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_ctor_get(x_81, 4); +lean_dec(x_79); +x_82 = lean_st_ref_take(x_5, x_81); +x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_st_ref_get(x_5, x_82); -x_85 = lean_ctor_get(x_84, 0); +x_84 = lean_ctor_get(x_83, 7); +lean_inc(x_84); +x_85 = lean_ctor_get(x_82, 1); lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = lean_ctor_get(x_85, 3); -lean_inc(x_87); -lean_dec(x_85); -x_88 = lean_environment_main_module(x_58); -lean_inc(x_8); -x_89 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_89, 0, x_73); -lean_ctor_set(x_89, 1, x_88); -lean_ctor_set(x_89, 2, x_78); -lean_ctor_set(x_89, 3, x_8); -lean_ctor_set(x_89, 4, x_83); -lean_ctor_set(x_89, 5, x_75); -x_90 = lean_box(0); -x_91 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_91, 0, x_87); -lean_ctor_set(x_91, 1, x_90); -lean_inc(x_2); -x_92 = l_Lean_Elab_getMacros(x_37, x_2, x_89, x_91); -if (lean_obj_tag(x_92) == 0) +lean_dec(x_82); +x_86 = !lean_is_exclusive(x_83); +if (x_86 == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_st_ref_take(x_5, x_86); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = !lean_is_exclusive(x_97); -if (x_99 == 0) +lean_object* x_87; uint8_t x_88; +x_87 = lean_ctor_get(x_83, 7); +lean_dec(x_87); +x_88 = !lean_is_exclusive(x_84); +if (x_88 == 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_106; lean_object* x_107; -x_100 = lean_ctor_get(x_97, 3); -lean_dec(x_100); -lean_ctor_set(x_97, 3, x_95); -x_101 = lean_st_ref_set(x_5, x_97, x_98); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_103 = lean_ctor_get(x_94, 1); -lean_inc(x_103); -lean_dec(x_94); -x_104 = l_List_reverse___rarg(x_103); -x_105 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_104, x_4, x_5, x_102); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -lean_dec(x_105); -x_107 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_107, 0, x_93); -x_38 = x_107; -x_39 = x_106; -goto block_54; +lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_89 = lean_ctor_get(x_84, 1); +lean_dec(x_89); +x_90 = l_Std_PersistentArray_push___rarg(x_66, x_80); +lean_ctor_set(x_84, 1, x_90); +x_91 = lean_st_ref_set(x_5, x_83, x_85); +lean_dec(x_5); +x_92 = !lean_is_exclusive(x_91); +if (x_92 == 0) +{ +lean_object* x_93; +x_93 = lean_ctor_get(x_91, 0); +lean_dec(x_93); +lean_ctor_set(x_91, 0, x_72); +return x_91; } else { -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; -x_108 = lean_ctor_get(x_97, 0); -x_109 = lean_ctor_get(x_97, 1); -x_110 = lean_ctor_get(x_97, 2); -x_111 = lean_ctor_get(x_97, 4); -x_112 = lean_ctor_get(x_97, 5); -x_113 = lean_ctor_get(x_97, 6); -x_114 = lean_ctor_get(x_97, 7); -x_115 = lean_ctor_get(x_97, 8); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_inc(x_112); +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_91, 1); +lean_inc(x_94); +lean_dec(x_91); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_72); +lean_ctor_set(x_95, 1, x_94); +return x_95; +} +} +else +{ +uint8_t 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; +x_96 = lean_ctor_get_uint8(x_84, sizeof(void*)*2); +x_97 = lean_ctor_get(x_84, 0); +lean_inc(x_97); +lean_dec(x_84); +x_98 = l_Std_PersistentArray_push___rarg(x_66, x_80); +x_99 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +lean_ctor_set_uint8(x_99, sizeof(void*)*2, x_96); +lean_ctor_set(x_83, 7, x_99); +x_100 = lean_st_ref_set(x_5, x_83, x_85); +lean_dec(x_5); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_102 = x_100; +} else { + lean_dec_ref(x_100); + x_102 = lean_box(0); +} +if (lean_is_scalar(x_102)) { + x_103 = lean_alloc_ctor(0, 2, 0); +} else { + x_103 = x_102; +} +lean_ctor_set(x_103, 0, x_72); +lean_ctor_set(x_103, 1, x_101); +return x_103; +} +} +else +{ +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; uint8_t 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; +x_104 = lean_ctor_get(x_83, 0); +x_105 = lean_ctor_get(x_83, 1); +x_106 = lean_ctor_get(x_83, 2); +x_107 = lean_ctor_get(x_83, 3); +x_108 = lean_ctor_get(x_83, 4); +x_109 = lean_ctor_get(x_83, 5); +x_110 = lean_ctor_get(x_83, 6); +x_111 = lean_ctor_get(x_83, 8); lean_inc(x_111); lean_inc(x_110); lean_inc(x_109); lean_inc(x_108); -lean_dec(x_97); -x_116 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_116, 0, x_108); -lean_ctor_set(x_116, 1, x_109); -lean_ctor_set(x_116, 2, x_110); -lean_ctor_set(x_116, 3, x_95); -lean_ctor_set(x_116, 4, x_111); -lean_ctor_set(x_116, 5, x_112); -lean_ctor_set(x_116, 6, x_113); -lean_ctor_set(x_116, 7, x_114); -lean_ctor_set(x_116, 8, x_115); -x_117 = lean_st_ref_set(x_5, x_116, x_98); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); -x_119 = lean_ctor_get(x_94, 1); -lean_inc(x_119); -lean_dec(x_94); -x_120 = l_List_reverse___rarg(x_119); -x_121 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_120, x_4, x_5, x_118); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); -lean_dec(x_121); -x_123 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_123, 0, x_93); -x_38 = x_123; -x_39 = x_122; -goto block_54; +lean_inc(x_107); +lean_inc(x_106); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_83); +x_112 = lean_ctor_get_uint8(x_84, sizeof(void*)*2); +x_113 = lean_ctor_get(x_84, 0); +lean_inc(x_113); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_114 = x_84; +} else { + lean_dec_ref(x_84); + x_114 = lean_box(0); } +x_115 = l_Std_PersistentArray_push___rarg(x_66, x_80); +if (lean_is_scalar(x_114)) { + x_116 = lean_alloc_ctor(0, 2, 1); +} else { + x_116 = x_114; } -else -{ -lean_object* x_124; -x_124 = lean_ctor_get(x_92, 0); -lean_inc(x_124); -lean_dec(x_92); -if (lean_obj_tag(x_124) == 0) -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_29); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_127, 0, x_126); -x_128 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_128, 0, x_127); -x_129 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_125, x_128, x_4, x_5, x_86); +lean_ctor_set(x_116, 0, x_113); +lean_ctor_set(x_116, 1, x_115); +lean_ctor_set_uint8(x_116, sizeof(void*)*2, x_112); +x_117 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_117, 0, x_104); +lean_ctor_set(x_117, 1, x_105); +lean_ctor_set(x_117, 2, x_106); +lean_ctor_set(x_117, 3, x_107); +lean_ctor_set(x_117, 4, x_108); +lean_ctor_set(x_117, 5, x_109); +lean_ctor_set(x_117, 6, x_110); +lean_ctor_set(x_117, 7, x_116); +lean_ctor_set(x_117, 8, x_111); +x_118 = lean_st_ref_set(x_5, x_117, x_85); lean_dec(x_5); -lean_dec(x_125); -x_130 = !lean_is_exclusive(x_129); -if (x_130 == 0) -{ -return x_129; +x_119 = lean_ctor_get(x_118, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_120 = x_118; +} else { + lean_dec_ref(x_118); + x_120 = lean_box(0); +} +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(0, 2, 0); +} else { + x_121 = x_120; +} +lean_ctor_set(x_121, 0, x_72); +lean_ctor_set(x_121, 1, x_119); +return x_121; +} } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_129, 0); -x_132 = lean_ctor_get(x_129, 1); -lean_inc(x_132); +uint8_t x_122; +lean_dec(x_72); +lean_dec(x_66); +lean_dec(x_5); +x_122 = !lean_is_exclusive(x_79); +if (x_122 == 0) +{ +return x_79; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_79, 0); +x_124 = lean_ctor_get(x_79, 1); +lean_inc(x_124); +lean_inc(x_123); +lean_dec(x_79); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +return x_125; +} +} +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_126 = lean_ctor_get(x_71, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_71, 1); +lean_inc(x_127); +lean_dec(x_71); +x_128 = lean_st_ref_get(x_5, x_127); +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_ctor_get(x_129, 7); lean_inc(x_131); lean_dec(x_129); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_132); -return x_133; -} -} -else +x_132 = lean_ctor_get(x_131, 1); +lean_inc(x_132); +lean_dec(x_131); +x_133 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_53, x_2, x_132, x_4, x_5, x_130); +lean_dec(x_4); +if (lean_obj_tag(x_133) == 0) { -lean_object* x_134; uint8_t x_135; -x_134 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_86); -x_135 = !lean_is_exclusive(x_134); -if (x_135 == 0) -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; -x_136 = lean_ctor_get(x_134, 0); -x_137 = lean_ctor_get(x_134, 1); -x_138 = lean_ctor_get(x_136, 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; uint8_t x_140; +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = lean_st_ref_take(x_5, x_135); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_137, 7); lean_inc(x_138); -x_139 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_140 = lean_nat_dec_eq(x_139, x_138); -lean_dec(x_138); +x_139 = lean_ctor_get(x_136, 1); +lean_inc(x_139); +lean_dec(x_136); +x_140 = !lean_is_exclusive(x_137); if (x_140 == 0) { -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_29); -lean_dec(x_4); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); +lean_object* x_141; uint8_t x_142; +x_141 = lean_ctor_get(x_137, 7); +lean_dec(x_141); +x_142 = !lean_is_exclusive(x_138); +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; +x_143 = lean_ctor_get(x_138, 1); +lean_dec(x_143); +x_144 = l_Std_PersistentArray_push___rarg(x_66, x_134); +lean_ctor_set(x_138, 1, x_144); +x_145 = lean_st_ref_set(x_5, x_137, x_139); lean_dec(x_5); -lean_dec(x_2); -return x_134; -} -else -{ -lean_object* x_141; -lean_free_object(x_134); -lean_dec(x_136); -x_141 = lean_box(0); -x_38 = x_141; -x_39 = x_137; -goto block_54; -} -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; -x_142 = lean_ctor_get(x_134, 0); -x_143 = lean_ctor_get(x_134, 1); -lean_inc(x_143); -lean_inc(x_142); -lean_dec(x_134); -x_144 = lean_ctor_get(x_142, 0); -lean_inc(x_144); -x_145 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_146 = lean_nat_dec_eq(x_145, x_144); -lean_dec(x_144); +x_146 = !lean_is_exclusive(x_145); if (x_146 == 0) { lean_object* x_147; -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_29); -lean_dec(x_4); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); +x_147 = lean_ctor_get(x_145, 0); +lean_dec(x_147); +lean_ctor_set_tag(x_145, 1); +lean_ctor_set(x_145, 0, x_126); +return x_145; +} +else +{ +lean_object* x_148; lean_object* x_149; +x_148 = lean_ctor_get(x_145, 1); +lean_inc(x_148); +lean_dec(x_145); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_126); +lean_ctor_set(x_149, 1, x_148); +return x_149; +} +} +else +{ +uint8_t 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; +x_150 = lean_ctor_get_uint8(x_138, sizeof(void*)*2); +x_151 = lean_ctor_get(x_138, 0); +lean_inc(x_151); +lean_dec(x_138); +x_152 = l_Std_PersistentArray_push___rarg(x_66, x_134); +x_153 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_153, 0, x_151); +lean_ctor_set(x_153, 1, x_152); +lean_ctor_set_uint8(x_153, sizeof(void*)*2, x_150); +lean_ctor_set(x_137, 7, x_153); +x_154 = lean_st_ref_set(x_5, x_137, x_139); lean_dec(x_5); -lean_dec(x_2); -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_142); -lean_ctor_set(x_147, 1, x_143); -return x_147; +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_156 = x_154; +} else { + lean_dec_ref(x_154); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); +} else { + x_157 = x_156; + lean_ctor_set_tag(x_157, 1); +} +lean_ctor_set(x_157, 0, x_126); +lean_ctor_set(x_157, 1, x_155); +return x_157; +} } else { -lean_object* x_148; -lean_dec(x_142); -x_148 = lean_box(0); -x_38 = x_148; -x_39 = x_143; -goto block_54; +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; uint8_t 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; +x_158 = lean_ctor_get(x_137, 0); +x_159 = lean_ctor_get(x_137, 1); +x_160 = lean_ctor_get(x_137, 2); +x_161 = lean_ctor_get(x_137, 3); +x_162 = lean_ctor_get(x_137, 4); +x_163 = lean_ctor_get(x_137, 5); +x_164 = lean_ctor_get(x_137, 6); +x_165 = lean_ctor_get(x_137, 8); +lean_inc(x_165); +lean_inc(x_164); +lean_inc(x_163); +lean_inc(x_162); +lean_inc(x_161); +lean_inc(x_160); +lean_inc(x_159); +lean_inc(x_158); +lean_dec(x_137); +x_166 = lean_ctor_get_uint8(x_138, sizeof(void*)*2); +x_167 = lean_ctor_get(x_138, 0); +lean_inc(x_167); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_168 = x_138; +} else { + lean_dec_ref(x_138); + x_168 = lean_box(0); } +x_169 = l_Std_PersistentArray_push___rarg(x_66, x_134); +if (lean_is_scalar(x_168)) { + x_170 = lean_alloc_ctor(0, 2, 1); +} else { + x_170 = x_168; } -} -} -block_54: -{ -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_40; lean_object* x_41; -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -x_40 = l_Lean_Elab_Command_commandElabAttribute; -x_41 = l_Lean_KeyedDeclsAttribute_getValues___rarg(x_40, x_37, x_29); -lean_dec(x_37); -if (lean_obj_tag(x_41) == 0) -{ -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_dec(x_35); -lean_dec(x_2); -x_42 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_42, 0, x_29); -x_43 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__4; -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -x_45 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__6; -x_46 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_46, x_4, x_5, x_39); +lean_ctor_set(x_170, 0, x_167); +lean_ctor_set(x_170, 1, x_169); +lean_ctor_set_uint8(x_170, sizeof(void*)*2, x_166); +x_171 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_171, 0, x_158); +lean_ctor_set(x_171, 1, x_159); +lean_ctor_set(x_171, 2, x_160); +lean_ctor_set(x_171, 3, x_161); +lean_ctor_set(x_171, 4, x_162); +lean_ctor_set(x_171, 5, x_163); +lean_ctor_set(x_171, 6, x_164); +lean_ctor_set(x_171, 7, x_170); +lean_ctor_set(x_171, 8, x_165); +x_172 = lean_st_ref_set(x_5, x_171, x_139); lean_dec(x_5); -return x_47; -} -else -{ -lean_object* x_48; -lean_dec(x_29); -x_48 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_35, x_2, x_41, x_4, x_5, x_39); -return x_48; -} -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_29); -lean_dec(x_4); -x_49 = lean_ctor_get(x_38, 0); -lean_inc(x_49); -lean_dec(x_38); -lean_inc(x_49); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_2); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_13); -x_52 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_52, 0, x_10); -lean_ctor_set(x_52, 1, x_11); -lean_ctor_set(x_52, 2, x_8); -lean_ctor_set(x_52, 3, x_12); -lean_ctor_set(x_52, 4, x_51); -lean_ctor_set(x_52, 5, x_21); -lean_ctor_set(x_52, 6, x_14); -x_53 = l_Lean_Elab_Command_elabCommand(x_49, x_52, x_5, x_39); -lean_dec(x_52); -return x_53; -} -} -} -} -else -{ -lean_object* x_161; lean_object* x_162; uint8_t x_163; -lean_dec(x_29); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_161 = lean_array_get_size(x_30); -x_162 = lean_unsigned_to_nat(0u); -x_163 = lean_nat_dec_lt(x_162, x_161); -if (x_163 == 0) -{ -lean_object* x_164; -lean_dec(x_161); -lean_dec(x_30); -lean_dec(x_4); -lean_dec(x_5); -x_164 = lean_box(0); -lean_ctor_set(x_25, 0, x_164); -return x_25; -} -else -{ -uint8_t x_165; -x_165 = lean_nat_dec_le(x_161, x_161); -if (x_165 == 0) -{ -lean_object* x_166; -lean_dec(x_161); -lean_dec(x_30); -lean_dec(x_4); -lean_dec(x_5); -x_166 = lean_box(0); -lean_ctor_set(x_25, 0, x_166); -return x_25; -} -else -{ -size_t x_167; size_t x_168; lean_object* x_169; lean_object* x_170; -lean_free_object(x_25); -x_167 = 0; -x_168 = lean_usize_of_nat(x_161); -lean_dec(x_161); -x_169 = lean_box(0); -x_170 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_30, x_167, x_168, x_169, x_4, x_5, x_27); -lean_dec(x_4); -lean_dec(x_30); -return x_170; -} -} -} -} -else -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; -x_171 = lean_ctor_get(x_25, 1); -lean_inc(x_171); -lean_dec(x_25); -x_172 = lean_ctor_get(x_2, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_2, 1); +x_173 = lean_ctor_get(x_172, 1); lean_inc(x_173); -x_174 = l_Lean_nullKind; -x_175 = lean_name_eq(x_172, x_174); -if (x_175 == 0) -{ -lean_object* x_176; 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; uint8_t x_286; -lean_dec(x_173); -x_279 = lean_st_ref_get(x_5, x_171); -x_280 = lean_ctor_get(x_279, 0); -lean_inc(x_280); -x_281 = lean_ctor_get(x_279, 1); -lean_inc(x_281); -lean_dec(x_279); -x_282 = lean_ctor_get(x_280, 2); -lean_inc(x_282); -lean_dec(x_280); -x_283 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_282); -lean_dec(x_282); -x_284 = lean_ctor_get(x_283, 1); -lean_inc(x_284); -lean_dec(x_283); -x_285 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__2; -x_286 = l_Lean_checkTraceOption(x_284, x_285); -lean_dec(x_284); -if (x_286 == 0) -{ -x_176 = x_281; -goto block_278; +if (lean_is_exclusive(x_172)) { + lean_ctor_release(x_172, 0); + lean_ctor_release(x_172, 1); + x_174 = x_172; +} else { + lean_dec_ref(x_172); + x_174 = lean_box(0); +} +if (lean_is_scalar(x_174)) { + x_175 = lean_alloc_ctor(1, 2, 0); +} else { + x_175 = x_174; + lean_ctor_set_tag(x_175, 1); +} +lean_ctor_set(x_175, 0, x_126); +lean_ctor_set(x_175, 1, x_173); +return x_175; +} } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; -lean_inc(x_2); -x_287 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_287, 0, x_2); -x_288 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(x_285, x_287, x_4, x_5, x_281); -x_289 = lean_ctor_get(x_288, 1); -lean_inc(x_289); -lean_dec(x_288); -x_176 = x_289; -goto block_278; -} -block_278: +uint8_t x_176; +lean_dec(x_126); +lean_dec(x_66); +lean_dec(x_5); +x_176 = !lean_is_exclusive(x_133); +if (x_176 == 0) { -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_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_177 = lean_st_ref_get(x_5, x_176); -x_178 = lean_ctor_get(x_177, 0); +return x_133; +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_133, 0); +x_178 = lean_ctor_get(x_133, 1); lean_inc(x_178); -x_179 = lean_ctor_get(x_177, 1); -lean_inc(x_179); -lean_dec(x_177); -x_180 = lean_ctor_get(x_178, 0); -lean_inc(x_180); -x_198 = lean_st_ref_get(x_5, x_179); -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_ctor_get(x_199, 0); -lean_inc(x_201); -lean_dec(x_199); -x_202 = l_Lean_Elab_Command_getScope___rarg(x_5, x_200); -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_202, 1); -lean_inc(x_204); -lean_dec(x_202); -x_205 = lean_ctor_get(x_203, 2); -lean_inc(x_205); -lean_dec(x_203); -x_206 = l_Lean_Elab_Command_getScope___rarg(x_5, x_204); -x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_177); +lean_dec(x_133); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 1, x_178); +return x_179; +} +} +} +} +} +} +else +{ +uint8_t x_180; +lean_dec(x_37); +lean_dec(x_35); +lean_dec(x_29); +lean_dec(x_4); +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +x_180 = !lean_is_exclusive(x_39); +if (x_180 == 0) +{ +return x_39; +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_181 = lean_ctor_get(x_39, 0); +x_182 = lean_ctor_get(x_39, 1); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_39); +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +return x_183; +} +} +} +} +else +{ +lean_object* x_196; lean_object* x_197; uint8_t x_198; +lean_dec(x_29); +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_196 = lean_array_get_size(x_30); +x_197 = lean_unsigned_to_nat(0u); +x_198 = lean_nat_dec_lt(x_197, x_196); +if (x_198 == 0) +{ +lean_object* x_199; +lean_dec(x_196); +lean_dec(x_30); +lean_dec(x_4); +lean_dec(x_5); +x_199 = lean_box(0); +lean_ctor_set(x_25, 0, x_199); +return x_25; +} +else +{ +uint8_t x_200; +x_200 = lean_nat_dec_le(x_196, x_196); +if (x_200 == 0) +{ +lean_object* x_201; +lean_dec(x_196); +lean_dec(x_30); +lean_dec(x_4); +lean_dec(x_5); +x_201 = lean_box(0); +lean_ctor_set(x_25, 0, x_201); +return x_25; +} +else +{ +size_t x_202; size_t x_203; lean_object* x_204; lean_object* x_205; +lean_free_object(x_25); +x_202 = 0; +x_203 = lean_usize_of_nat(x_196); +lean_dec(x_196); +x_204 = lean_box(0); +x_205 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_30, x_202, x_203, x_204, x_4, x_5, x_27); +lean_dec(x_4); +lean_dec(x_30); +return x_205; +} +} +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; +x_206 = lean_ctor_get(x_25, 1); +lean_inc(x_206); +lean_dec(x_25); +x_207 = lean_ctor_get(x_2, 0); lean_inc(x_207); -x_208 = lean_ctor_get(x_206, 1); +x_208 = lean_ctor_get(x_2, 1); lean_inc(x_208); -lean_dec(x_206); -x_209 = lean_ctor_get(x_207, 3); -lean_inc(x_209); -lean_dec(x_207); -lean_inc(x_201); -x_210 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_210, 0, x_201); -lean_inc(x_205); -x_211 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_211, 0, x_205); -lean_inc(x_201); -x_212 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__2___boxed), 4, 1); -lean_closure_set(x_212, 0, x_201); -lean_inc(x_209); -lean_inc(x_205); -lean_inc(x_201); -x_213 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__3___boxed), 6, 3); -lean_closure_set(x_213, 0, x_201); -lean_closure_set(x_213, 1, x_205); -lean_closure_set(x_213, 2, x_209); -lean_inc(x_201); -x_214 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__4___boxed), 6, 3); -lean_closure_set(x_214, 0, x_201); -lean_closure_set(x_214, 1, x_205); -lean_closure_set(x_214, 2, x_209); -x_215 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_215, 0, x_210); -lean_ctor_set(x_215, 1, x_211); -lean_ctor_set(x_215, 2, x_212); -lean_ctor_set(x_215, 3, x_213); -lean_ctor_set(x_215, 4, x_214); -x_216 = x_215; -x_217 = l_Lean_Elab_Command_getRef(x_4, x_5, x_208); +x_209 = l_Lean_nullKind; +x_210 = lean_name_eq(x_207, x_209); +if (x_210 == 0) +{ +lean_object* x_211; 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; uint8_t x_336; +lean_dec(x_208); +x_329 = lean_st_ref_get(x_5, x_206); +x_330 = lean_ctor_get(x_329, 0); +lean_inc(x_330); +x_331 = lean_ctor_get(x_329, 1); +lean_inc(x_331); +lean_dec(x_329); +x_332 = lean_ctor_get(x_330, 2); +lean_inc(x_332); +lean_dec(x_330); +x_333 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_332); +lean_dec(x_332); +x_334 = lean_ctor_get(x_333, 1); +lean_inc(x_334); +lean_dec(x_333); +x_335 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1; +x_336 = l_Lean_checkTraceOption(x_334, x_335); +lean_dec(x_334); +if (x_336 == 0) +{ +x_211 = x_331; +goto block_328; +} +else +{ +lean_object* x_337; lean_object* x_338; lean_object* x_339; +lean_inc(x_2); +x_337 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_337, 0, x_2); +x_338 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(x_335, x_337, x_4, x_5, x_331); +x_339 = lean_ctor_get(x_338, 1); +lean_inc(x_339); +lean_dec(x_338); +x_211 = x_339; +goto block_328; +} +block_328: +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; +x_212 = lean_st_ref_get(x_5, x_211); +x_213 = lean_ctor_get(x_212, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_212, 1); +lean_inc(x_214); +lean_dec(x_212); +x_215 = lean_ctor_get(x_213, 0); +lean_inc(x_215); +lean_inc(x_2); +lean_inc(x_215); +x_216 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); +lean_closure_set(x_216, 0, x_215); +lean_closure_set(x_216, 1, x_2); +lean_inc(x_4); +x_217 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(x_216, x_4, x_5, x_214); +if (lean_obj_tag(x_217) == 0) +{ +lean_object* x_218; x_218 = lean_ctor_get(x_217, 0); lean_inc(x_218); +if (lean_obj_tag(x_218) == 0) +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); x_219 = lean_ctor_get(x_217, 1); lean_inc(x_219); lean_dec(x_217); -x_220 = l_Lean_Elab_Command_getCurrMacroScope(x_4, x_5, x_219); -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); -lean_inc(x_222); -lean_dec(x_220); -x_223 = lean_st_ref_get(x_5, x_222); -x_224 = lean_ctor_get(x_223, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_223, 1); -lean_inc(x_225); -lean_dec(x_223); -x_226 = lean_ctor_get(x_224, 4); -lean_inc(x_226); -lean_dec(x_224); -x_227 = lean_st_ref_get(x_5, x_225); -x_228 = lean_ctor_get(x_227, 0); -lean_inc(x_228); -x_229 = lean_ctor_get(x_227, 1); -lean_inc(x_229); -lean_dec(x_227); -x_230 = lean_ctor_get(x_228, 3); -lean_inc(x_230); -lean_dec(x_228); -x_231 = lean_environment_main_module(x_201); -lean_inc(x_8); -x_232 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_232, 0, x_216); -lean_ctor_set(x_232, 1, x_231); -lean_ctor_set(x_232, 2, x_221); -lean_ctor_set(x_232, 3, x_8); -lean_ctor_set(x_232, 4, x_226); -lean_ctor_set(x_232, 5, x_218); -x_233 = lean_box(0); -x_234 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_234, 0, x_230); -lean_ctor_set(x_234, 1, x_233); -lean_inc(x_2); -x_235 = l_Lean_Elab_getMacros(x_180, x_2, x_232, x_234); -if (lean_obj_tag(x_235) == 0) +x_220 = l_Lean_Elab_Command_commandElabAttribute; +x_221 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_220, x_215, x_207); +lean_dec(x_215); +if (lean_obj_tag(x_221) == 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; -x_236 = lean_ctor_get(x_235, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_235, 1); -lean_inc(x_237); -lean_dec(x_235); -x_238 = lean_ctor_get(x_237, 0); -lean_inc(x_238); -x_239 = lean_st_ref_take(x_5, x_229); -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 = lean_ctor_get(x_240, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_240, 1); -lean_inc(x_243); -x_244 = lean_ctor_get(x_240, 2); -lean_inc(x_244); -x_245 = lean_ctor_get(x_240, 4); -lean_inc(x_245); -x_246 = lean_ctor_get(x_240, 5); -lean_inc(x_246); -x_247 = lean_ctor_get(x_240, 6); -lean_inc(x_247); -x_248 = lean_ctor_get(x_240, 7); -lean_inc(x_248); -x_249 = lean_ctor_get(x_240, 8); -lean_inc(x_249); -if (lean_is_exclusive(x_240)) { - lean_ctor_release(x_240, 0); - lean_ctor_release(x_240, 1); - lean_ctor_release(x_240, 2); - lean_ctor_release(x_240, 3); - lean_ctor_release(x_240, 4); - lean_ctor_release(x_240, 5); - lean_ctor_release(x_240, 6); - lean_ctor_release(x_240, 7); - lean_ctor_release(x_240, 8); - x_250 = x_240; -} else { - lean_dec_ref(x_240); - x_250 = lean_box(0); -} -if (lean_is_scalar(x_250)) { - x_251 = lean_alloc_ctor(0, 9, 0); -} else { - x_251 = x_250; -} -lean_ctor_set(x_251, 0, x_242); -lean_ctor_set(x_251, 1, x_243); -lean_ctor_set(x_251, 2, x_244); -lean_ctor_set(x_251, 3, x_238); -lean_ctor_set(x_251, 4, x_245); -lean_ctor_set(x_251, 5, x_246); -lean_ctor_set(x_251, 6, x_247); -lean_ctor_set(x_251, 7, x_248); -lean_ctor_set(x_251, 8, x_249); -x_252 = lean_st_ref_set(x_5, x_251, x_241); -x_253 = lean_ctor_get(x_252, 1); -lean_inc(x_253); -lean_dec(x_252); -x_254 = lean_ctor_get(x_237, 1); -lean_inc(x_254); -lean_dec(x_237); -x_255 = l_List_reverse___rarg(x_254); -x_256 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_255, x_4, x_5, x_253); -x_257 = lean_ctor_get(x_256, 1); -lean_inc(x_257); -lean_dec(x_256); -x_258 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_258, 0, x_236); -x_181 = x_258; -x_182 = x_257; -goto block_197; -} -else -{ -lean_object* x_259; -x_259 = lean_ctor_get(x_235, 0); -lean_inc(x_259); -lean_dec(x_235); -if (lean_obj_tag(x_259) == 0) -{ -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_dec(x_180); -lean_dec(x_178); -lean_dec(x_172); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); +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_dec(x_213); lean_dec(x_2); -x_260 = lean_ctor_get(x_259, 0); -lean_inc(x_260); -x_261 = lean_ctor_get(x_259, 1); -lean_inc(x_261); -lean_dec(x_259); -x_262 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_262, 0, x_261); -x_263 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_263, 0, x_262); -x_264 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_260, x_263, x_4, x_5, x_229); +x_222 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_222, 0, x_207); +x_223 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__4; +x_224 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_222); +x_225 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__6; +x_226 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_226, 0, x_224); +lean_ctor_set(x_226, 1, x_225); +x_227 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_226, x_4, x_5, x_219); lean_dec(x_5); -lean_dec(x_260); -x_265 = lean_ctor_get(x_264, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_264, 1); -lean_inc(x_266); -if (lean_is_exclusive(x_264)) { - lean_ctor_release(x_264, 0); - lean_ctor_release(x_264, 1); - x_267 = x_264; -} else { - lean_dec_ref(x_264); - x_267 = lean_box(0); -} -if (lean_is_scalar(x_267)) { - x_268 = lean_alloc_ctor(1, 2, 0); -} else { - x_268 = x_267; -} -lean_ctor_set(x_268, 0, x_265); -lean_ctor_set(x_268, 1, x_266); -return x_268; +return x_227; } else { -lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; uint8_t x_275; -x_269 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_229); -x_270 = lean_ctor_get(x_269, 0); +lean_object* x_228; +lean_dec(x_207); +x_228 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_213, x_2, x_221, x_4, x_5, x_219); +return x_228; +} +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; +lean_dec(x_215); +lean_dec(x_213); +lean_dec(x_207); +x_229 = lean_ctor_get(x_218, 0); +lean_inc(x_229); +lean_dec(x_218); +x_230 = lean_ctor_get(x_217, 1); +lean_inc(x_230); +lean_dec(x_217); +x_231 = lean_ctor_get(x_229, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_229, 1); +lean_inc(x_232); +lean_dec(x_229); +x_233 = lean_st_ref_get(x_5, x_230); +x_234 = lean_ctor_get(x_233, 0); +lean_inc(x_234); +x_235 = lean_ctor_get(x_234, 7); +lean_inc(x_235); +lean_dec(x_234); +x_236 = lean_ctor_get_uint8(x_235, sizeof(void*)*2); +lean_dec(x_235); +if (x_236 == 0) +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +lean_dec(x_231); +lean_dec(x_4); +x_237 = lean_ctor_get(x_233, 1); +lean_inc(x_237); +lean_dec(x_233); +lean_inc(x_232); +x_238 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_238, 0, x_2); +lean_ctor_set(x_238, 1, x_232); +x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_13); +x_240 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_240, 0, x_10); +lean_ctor_set(x_240, 1, x_11); +lean_ctor_set(x_240, 2, x_8); +lean_ctor_set(x_240, 3, x_12); +lean_ctor_set(x_240, 4, x_239); +lean_ctor_set(x_240, 5, x_21); +lean_ctor_set(x_240, 6, x_14); +x_241 = l_Lean_Elab_Command_elabCommand(x_232, x_240, x_5, x_237); +lean_dec(x_240); +return x_241; +} +else +{ +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; +x_242 = lean_ctor_get(x_233, 1); +lean_inc(x_242); +lean_dec(x_233); +x_243 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(x_5, x_242); +x_244 = lean_ctor_get(x_243, 0); +lean_inc(x_244); +x_245 = lean_ctor_get(x_243, 1); +lean_inc(x_245); +lean_dec(x_243); +lean_inc(x_232); +lean_inc(x_2); +x_246 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_246, 0, x_2); +lean_ctor_set(x_246, 1, x_232); +x_247 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_13); +x_248 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_248, 0, x_10); +lean_ctor_set(x_248, 1, x_11); +lean_ctor_set(x_248, 2, x_8); +lean_ctor_set(x_248, 3, x_12); +lean_ctor_set(x_248, 4, x_247); +lean_ctor_set(x_248, 5, x_21); +lean_ctor_set(x_248, 6, x_14); +lean_inc(x_5); +x_249 = l_Lean_Elab_Command_elabCommand(x_232, x_248, x_5, x_245); +lean_dec(x_248); +if (lean_obj_tag(x_249) == 0) +{ +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; +x_250 = lean_ctor_get(x_249, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_249, 1); +lean_inc(x_251); +lean_dec(x_249); +x_252 = lean_st_ref_get(x_5, x_251); +x_253 = lean_ctor_get(x_252, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_252, 1); +lean_inc(x_254); +lean_dec(x_252); +x_255 = lean_ctor_get(x_253, 7); +lean_inc(x_255); +lean_dec(x_253); +x_256 = lean_ctor_get(x_255, 1); +lean_inc(x_256); +lean_dec(x_255); +x_257 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_231, x_2, x_256, x_4, x_5, x_254); +lean_dec(x_4); +if (lean_obj_tag(x_257) == 0) +{ +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; uint8_t 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; +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +x_259 = lean_ctor_get(x_257, 1); +lean_inc(x_259); +lean_dec(x_257); +x_260 = lean_st_ref_take(x_5, x_259); +x_261 = lean_ctor_get(x_260, 0); +lean_inc(x_261); +x_262 = lean_ctor_get(x_261, 7); +lean_inc(x_262); +x_263 = lean_ctor_get(x_260, 1); +lean_inc(x_263); +lean_dec(x_260); +x_264 = lean_ctor_get(x_261, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_261, 1); +lean_inc(x_265); +x_266 = lean_ctor_get(x_261, 2); +lean_inc(x_266); +x_267 = lean_ctor_get(x_261, 3); +lean_inc(x_267); +x_268 = lean_ctor_get(x_261, 4); +lean_inc(x_268); +x_269 = lean_ctor_get(x_261, 5); +lean_inc(x_269); +x_270 = lean_ctor_get(x_261, 6); lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 1); +x_271 = lean_ctor_get(x_261, 8); lean_inc(x_271); -if (lean_is_exclusive(x_269)) { - lean_ctor_release(x_269, 0); - lean_ctor_release(x_269, 1); - x_272 = x_269; +if (lean_is_exclusive(x_261)) { + lean_ctor_release(x_261, 0); + lean_ctor_release(x_261, 1); + lean_ctor_release(x_261, 2); + lean_ctor_release(x_261, 3); + lean_ctor_release(x_261, 4); + lean_ctor_release(x_261, 5); + lean_ctor_release(x_261, 6); + lean_ctor_release(x_261, 7); + lean_ctor_release(x_261, 8); + x_272 = x_261; } else { - lean_dec_ref(x_269); + lean_dec_ref(x_261); x_272 = lean_box(0); } -x_273 = lean_ctor_get(x_270, 0); -lean_inc(x_273); -x_274 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_275 = lean_nat_dec_eq(x_274, x_273); -lean_dec(x_273); -if (x_275 == 0) -{ -lean_object* x_276; -lean_dec(x_180); -lean_dec(x_178); -lean_dec(x_172); -lean_dec(x_4); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -if (lean_is_scalar(x_272)) { - x_276 = lean_alloc_ctor(1, 2, 0); +x_273 = lean_ctor_get_uint8(x_262, sizeof(void*)*2); +x_274 = lean_ctor_get(x_262, 0); +lean_inc(x_274); +if (lean_is_exclusive(x_262)) { + lean_ctor_release(x_262, 0); + lean_ctor_release(x_262, 1); + x_275 = x_262; } else { - x_276 = x_272; + lean_dec_ref(x_262); + x_275 = lean_box(0); } -lean_ctor_set(x_276, 0, x_270); -lean_ctor_set(x_276, 1, x_271); -return x_276; +x_276 = l_Std_PersistentArray_push___rarg(x_244, x_258); +if (lean_is_scalar(x_275)) { + x_277 = lean_alloc_ctor(0, 2, 1); +} else { + x_277 = x_275; } -else -{ -lean_object* x_277; -lean_dec(x_272); -lean_dec(x_270); -x_277 = lean_box(0); -x_181 = x_277; -x_182 = x_271; -goto block_197; +lean_ctor_set(x_277, 0, x_274); +lean_ctor_set(x_277, 1, x_276); +lean_ctor_set_uint8(x_277, sizeof(void*)*2, x_273); +if (lean_is_scalar(x_272)) { + x_278 = lean_alloc_ctor(0, 9, 0); +} else { + x_278 = x_272; } -} -} -block_197: -{ -if (lean_obj_tag(x_181) == 0) -{ -lean_object* x_183; lean_object* x_184; -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -x_183 = l_Lean_Elab_Command_commandElabAttribute; -x_184 = l_Lean_KeyedDeclsAttribute_getValues___rarg(x_183, x_180, x_172); -lean_dec(x_180); -if (lean_obj_tag(x_184) == 0) -{ -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_dec(x_178); -lean_dec(x_2); -x_185 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_185, 0, x_172); -x_186 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__4; -x_187 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_185); -x_188 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__6; -x_189 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_189, 0, x_187); -lean_ctor_set(x_189, 1, x_188); -x_190 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_189, x_4, x_5, x_182); +lean_ctor_set(x_278, 0, x_264); +lean_ctor_set(x_278, 1, x_265); +lean_ctor_set(x_278, 2, x_266); +lean_ctor_set(x_278, 3, x_267); +lean_ctor_set(x_278, 4, x_268); +lean_ctor_set(x_278, 5, x_269); +lean_ctor_set(x_278, 6, x_270); +lean_ctor_set(x_278, 7, x_277); +lean_ctor_set(x_278, 8, x_271); +x_279 = lean_st_ref_set(x_5, x_278, x_263); lean_dec(x_5); -return x_190; +x_280 = lean_ctor_get(x_279, 1); +lean_inc(x_280); +if (lean_is_exclusive(x_279)) { + lean_ctor_release(x_279, 0); + lean_ctor_release(x_279, 1); + x_281 = x_279; +} else { + lean_dec_ref(x_279); + x_281 = lean_box(0); +} +if (lean_is_scalar(x_281)) { + x_282 = lean_alloc_ctor(0, 2, 0); +} else { + x_282 = x_281; +} +lean_ctor_set(x_282, 0, x_250); +lean_ctor_set(x_282, 1, x_280); +return x_282; } else { -lean_object* x_191; -lean_dec(x_172); -x_191 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_178, x_2, x_184, x_4, x_5, x_182); -return x_191; -} -} -else -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; -lean_dec(x_180); -lean_dec(x_178); -lean_dec(x_172); -lean_dec(x_4); -x_192 = lean_ctor_get(x_181, 0); -lean_inc(x_192); -lean_dec(x_181); -lean_inc(x_192); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_2); -lean_ctor_set(x_193, 1, x_192); -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_13); -x_195 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_195, 0, x_10); -lean_ctor_set(x_195, 1, x_11); -lean_ctor_set(x_195, 2, x_8); -lean_ctor_set(x_195, 3, x_12); -lean_ctor_set(x_195, 4, x_194); -lean_ctor_set(x_195, 5, x_21); -lean_ctor_set(x_195, 6, x_14); -x_196 = l_Lean_Elab_Command_elabCommand(x_192, x_195, x_5, x_182); -lean_dec(x_195); -return x_196; -} -} -} -} -else -{ -lean_object* x_290; lean_object* x_291; uint8_t x_292; -lean_dec(x_172); -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_290 = lean_array_get_size(x_173); -x_291 = lean_unsigned_to_nat(0u); -x_292 = lean_nat_dec_lt(x_291, x_290); -if (x_292 == 0) -{ -lean_object* x_293; lean_object* x_294; -lean_dec(x_290); -lean_dec(x_173); -lean_dec(x_4); +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_dec(x_250); +lean_dec(x_244); lean_dec(x_5); -x_293 = lean_box(0); -x_294 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_294, 0, x_293); -lean_ctor_set(x_294, 1, x_171); -return x_294; +x_283 = lean_ctor_get(x_257, 0); +lean_inc(x_283); +x_284 = lean_ctor_get(x_257, 1); +lean_inc(x_284); +if (lean_is_exclusive(x_257)) { + lean_ctor_release(x_257, 0); + lean_ctor_release(x_257, 1); + x_285 = x_257; +} else { + lean_dec_ref(x_257); + x_285 = lean_box(0); +} +if (lean_is_scalar(x_285)) { + x_286 = lean_alloc_ctor(1, 2, 0); +} else { + x_286 = x_285; +} +lean_ctor_set(x_286, 0, x_283); +lean_ctor_set(x_286, 1, x_284); +return x_286; +} } else { -uint8_t x_295; -x_295 = lean_nat_dec_le(x_290, x_290); -if (x_295 == 0) -{ -lean_object* x_296; lean_object* x_297; +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; +x_287 = lean_ctor_get(x_249, 0); +lean_inc(x_287); +x_288 = lean_ctor_get(x_249, 1); +lean_inc(x_288); +lean_dec(x_249); +x_289 = lean_st_ref_get(x_5, x_288); +x_290 = lean_ctor_get(x_289, 0); +lean_inc(x_290); +x_291 = lean_ctor_get(x_289, 1); +lean_inc(x_291); +lean_dec(x_289); +x_292 = lean_ctor_get(x_290, 7); +lean_inc(x_292); lean_dec(x_290); -lean_dec(x_173); +x_293 = lean_ctor_get(x_292, 1); +lean_inc(x_293); +lean_dec(x_292); +x_294 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_231, x_2, x_293, x_4, x_5, x_291); lean_dec(x_4); -lean_dec(x_5); -x_296 = lean_box(0); -x_297 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_171); -return x_297; -} -else +if (lean_obj_tag(x_294) == 0) { -size_t x_298; size_t x_299; lean_object* x_300; lean_object* x_301; -x_298 = 0; -x_299 = lean_usize_of_nat(x_290); -lean_dec(x_290); -x_300 = lean_box(0); -x_301 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_173, x_298, x_299, x_300, x_4, x_5, x_171); -lean_dec(x_4); -lean_dec(x_173); -return x_301; -} -} -} -} -} -else -{ -lean_object* x_302; lean_object* x_303; lean_object* x_304; -lean_dec(x_21); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_302 = lean_ctor_get(x_25, 1); +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; uint8_t 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; +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_st_ref_take(x_5, x_296); +x_298 = lean_ctor_get(x_297, 0); +lean_inc(x_298); +x_299 = lean_ctor_get(x_298, 7); +lean_inc(x_299); +x_300 = lean_ctor_get(x_297, 1); +lean_inc(x_300); +lean_dec(x_297); +x_301 = lean_ctor_get(x_298, 0); +lean_inc(x_301); +x_302 = lean_ctor_get(x_298, 1); lean_inc(x_302); -lean_dec(x_25); -x_303 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__2; -x_304 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_303, x_4, x_5, x_302); +x_303 = lean_ctor_get(x_298, 2); +lean_inc(x_303); +x_304 = lean_ctor_get(x_298, 3); +lean_inc(x_304); +x_305 = lean_ctor_get(x_298, 4); +lean_inc(x_305); +x_306 = lean_ctor_get(x_298, 5); +lean_inc(x_306); +x_307 = lean_ctor_get(x_298, 6); +lean_inc(x_307); +x_308 = lean_ctor_get(x_298, 8); +lean_inc(x_308); +if (lean_is_exclusive(x_298)) { + lean_ctor_release(x_298, 0); + lean_ctor_release(x_298, 1); + lean_ctor_release(x_298, 2); + lean_ctor_release(x_298, 3); + lean_ctor_release(x_298, 4); + lean_ctor_release(x_298, 5); + lean_ctor_release(x_298, 6); + lean_ctor_release(x_298, 7); + lean_ctor_release(x_298, 8); + x_309 = x_298; +} else { + lean_dec_ref(x_298); + x_309 = lean_box(0); +} +x_310 = lean_ctor_get_uint8(x_299, sizeof(void*)*2); +x_311 = lean_ctor_get(x_299, 0); +lean_inc(x_311); +if (lean_is_exclusive(x_299)) { + lean_ctor_release(x_299, 0); + lean_ctor_release(x_299, 1); + x_312 = x_299; +} else { + lean_dec_ref(x_299); + x_312 = lean_box(0); +} +x_313 = l_Std_PersistentArray_push___rarg(x_244, x_295); +if (lean_is_scalar(x_312)) { + x_314 = lean_alloc_ctor(0, 2, 1); +} else { + x_314 = x_312; +} +lean_ctor_set(x_314, 0, x_311); +lean_ctor_set(x_314, 1, x_313); +lean_ctor_set_uint8(x_314, sizeof(void*)*2, x_310); +if (lean_is_scalar(x_309)) { + x_315 = lean_alloc_ctor(0, 9, 0); +} else { + x_315 = x_309; +} +lean_ctor_set(x_315, 0, x_301); +lean_ctor_set(x_315, 1, x_302); +lean_ctor_set(x_315, 2, x_303); +lean_ctor_set(x_315, 3, x_304); +lean_ctor_set(x_315, 4, x_305); +lean_ctor_set(x_315, 5, x_306); +lean_ctor_set(x_315, 6, x_307); +lean_ctor_set(x_315, 7, x_314); +lean_ctor_set(x_315, 8, x_308); +x_316 = lean_st_ref_set(x_5, x_315, x_300); lean_dec(x_5); -return x_304; +x_317 = lean_ctor_get(x_316, 1); +lean_inc(x_317); +if (lean_is_exclusive(x_316)) { + lean_ctor_release(x_316, 0); + lean_ctor_release(x_316, 1); + x_318 = x_316; +} else { + lean_dec_ref(x_316); + x_318 = lean_box(0); +} +if (lean_is_scalar(x_318)) { + x_319 = lean_alloc_ctor(1, 2, 0); +} else { + x_319 = x_318; + lean_ctor_set_tag(x_319, 1); +} +lean_ctor_set(x_319, 0, x_287); +lean_ctor_set(x_319, 1, x_317); +return x_319; +} +else +{ +lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +lean_dec(x_287); +lean_dec(x_244); +lean_dec(x_5); +x_320 = lean_ctor_get(x_294, 0); +lean_inc(x_320); +x_321 = lean_ctor_get(x_294, 1); +lean_inc(x_321); +if (lean_is_exclusive(x_294)) { + lean_ctor_release(x_294, 0); + lean_ctor_release(x_294, 1); + x_322 = x_294; +} else { + lean_dec_ref(x_294); + x_322 = lean_box(0); +} +if (lean_is_scalar(x_322)) { + x_323 = lean_alloc_ctor(1, 2, 0); +} else { + x_323 = x_322; +} +lean_ctor_set(x_323, 0, x_320); +lean_ctor_set(x_323, 1, x_321); +return x_323; +} +} +} } } else { -uint8_t x_305; +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; +lean_dec(x_215); +lean_dec(x_213); +lean_dec(x_207); lean_dec(x_4); lean_dec(x_21); lean_dec(x_14); @@ -12464,606 +13845,719 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); -x_305 = !lean_is_exclusive(x_25); -if (x_305 == 0) +x_324 = lean_ctor_get(x_217, 0); +lean_inc(x_324); +x_325 = lean_ctor_get(x_217, 1); +lean_inc(x_325); +if (lean_is_exclusive(x_217)) { + lean_ctor_release(x_217, 0); + lean_ctor_release(x_217, 1); + x_326 = x_217; +} else { + lean_dec_ref(x_217); + x_326 = lean_box(0); +} +if (lean_is_scalar(x_326)) { + x_327 = lean_alloc_ctor(1, 2, 0); +} else { + x_327 = x_326; +} +lean_ctor_set(x_327, 0, x_324); +lean_ctor_set(x_327, 1, x_325); +return x_327; +} +} +} +else +{ +lean_object* x_340; lean_object* x_341; uint8_t x_342; +lean_dec(x_207); +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_340 = lean_array_get_size(x_208); +x_341 = lean_unsigned_to_nat(0u); +x_342 = lean_nat_dec_lt(x_341, x_340); +if (x_342 == 0) +{ +lean_object* x_343; lean_object* x_344; +lean_dec(x_340); +lean_dec(x_208); +lean_dec(x_4); +lean_dec(x_5); +x_343 = lean_box(0); +x_344 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_344, 0, x_343); +lean_ctor_set(x_344, 1, x_206); +return x_344; +} +else +{ +uint8_t x_345; +x_345 = lean_nat_dec_le(x_340, x_340); +if (x_345 == 0) +{ +lean_object* x_346; lean_object* x_347; +lean_dec(x_340); +lean_dec(x_208); +lean_dec(x_4); +lean_dec(x_5); +x_346 = lean_box(0); +x_347 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_347, 0, x_346); +lean_ctor_set(x_347, 1, x_206); +return x_347; +} +else +{ +size_t x_348; size_t x_349; lean_object* x_350; lean_object* x_351; +x_348 = 0; +x_349 = lean_usize_of_nat(x_340); +lean_dec(x_340); +x_350 = lean_box(0); +x_351 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_208, x_348, x_349, x_350, x_4, x_5, x_206); +lean_dec(x_4); +lean_dec(x_208); +return x_351; +} +} +} +} +} +else +{ +lean_object* x_352; lean_object* x_353; lean_object* x_354; +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_352 = lean_ctor_get(x_25, 1); +lean_inc(x_352); +lean_dec(x_25); +x_353 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__2; +x_354 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_353, x_4, x_5, x_352); +lean_dec(x_5); +return x_354; +} +} +else +{ +uint8_t x_355; +lean_dec(x_4); +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +x_355 = !lean_is_exclusive(x_25); +if (x_355 == 0) { return x_25; } else { -lean_object* x_306; lean_object* x_307; lean_object* x_308; -x_306 = lean_ctor_get(x_25, 0); -x_307 = lean_ctor_get(x_25, 1); -lean_inc(x_307); -lean_inc(x_306); +lean_object* x_356; lean_object* x_357; lean_object* x_358; +x_356 = lean_ctor_get(x_25, 0); +x_357 = lean_ctor_get(x_25, 1); +lean_inc(x_357); +lean_inc(x_356); lean_dec(x_25); -x_308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_308, 0, x_306); -lean_ctor_set(x_308, 1, x_307); -return x_308; +x_358 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_358, 0, x_356); +lean_ctor_set(x_358, 1, x_357); +return x_358; } } } else { -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; -x_309 = lean_ctor_get(x_18, 0); -x_310 = lean_ctor_get(x_18, 1); -x_311 = lean_ctor_get(x_18, 2); -x_312 = lean_ctor_get(x_18, 3); -x_313 = lean_ctor_get(x_18, 4); -x_314 = lean_ctor_get(x_18, 5); -x_315 = lean_ctor_get(x_18, 6); -x_316 = lean_ctor_get(x_18, 7); -x_317 = lean_ctor_get(x_18, 8); -lean_inc(x_317); -lean_inc(x_316); -lean_inc(x_315); -lean_inc(x_314); -lean_inc(x_313); -lean_inc(x_312); -lean_inc(x_311); -lean_inc(x_310); -lean_inc(x_309); +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; +x_359 = lean_ctor_get(x_18, 0); +x_360 = lean_ctor_get(x_18, 1); +x_361 = lean_ctor_get(x_18, 2); +x_362 = lean_ctor_get(x_18, 3); +x_363 = lean_ctor_get(x_18, 4); +x_364 = lean_ctor_get(x_18, 5); +x_365 = lean_ctor_get(x_18, 6); +x_366 = lean_ctor_get(x_18, 7); +x_367 = lean_ctor_get(x_18, 8); +lean_inc(x_367); +lean_inc(x_366); +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_inc(x_359); lean_dec(x_18); -x_318 = lean_nat_add(x_312, x_7); -x_319 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_319, 0, x_309); -lean_ctor_set(x_319, 1, x_310); -lean_ctor_set(x_319, 2, x_311); -lean_ctor_set(x_319, 3, x_318); -lean_ctor_set(x_319, 4, x_313); -lean_ctor_set(x_319, 5, x_314); -lean_ctor_set(x_319, 6, x_315); -lean_ctor_set(x_319, 7, x_316); -lean_ctor_set(x_319, 8, x_317); -x_320 = lean_st_ref_set(x_5, x_319, x_19); -x_321 = lean_ctor_get(x_320, 1); -lean_inc(x_321); -lean_dec(x_320); +x_368 = lean_nat_add(x_362, x_7); +x_369 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_369, 0, x_359); +lean_ctor_set(x_369, 1, x_360); +lean_ctor_set(x_369, 2, x_361); +lean_ctor_set(x_369, 3, x_368); +lean_ctor_set(x_369, 4, x_363); +lean_ctor_set(x_369, 5, x_364); +lean_ctor_set(x_369, 6, x_365); +lean_ctor_set(x_369, 7, x_366); +lean_ctor_set(x_369, 8, x_367); +x_370 = lean_st_ref_set(x_5, x_369, x_19); +x_371 = lean_ctor_get(x_370, 1); +lean_inc(x_371); +lean_dec(x_370); lean_inc(x_14); -lean_inc(x_312); +lean_inc(x_362); lean_inc(x_13); lean_inc(x_12); lean_inc(x_8); lean_inc(x_11); lean_inc(x_10); -lean_ctor_set(x_4, 5, x_312); +lean_ctor_set(x_4, 5, x_362); lean_ctor_set(x_4, 2, x_8); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_322 = l_Lean_Elab_Command_runLinters(x_2, x_4, x_5, x_321); -if (lean_obj_tag(x_322) == 0) +x_372 = l_Lean_Elab_Command_runLinters(x_2, x_4, x_5, x_371); +if (lean_obj_tag(x_372) == 0) { if (lean_obj_tag(x_2) == 1) { -lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; uint8_t x_328; -x_323 = lean_ctor_get(x_322, 1); -lean_inc(x_323); -if (lean_is_exclusive(x_322)) { - lean_ctor_release(x_322, 0); - lean_ctor_release(x_322, 1); - x_324 = x_322; +lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; uint8_t x_378; +x_373 = lean_ctor_get(x_372, 1); +lean_inc(x_373); +if (lean_is_exclusive(x_372)) { + lean_ctor_release(x_372, 0); + lean_ctor_release(x_372, 1); + x_374 = x_372; } else { - lean_dec_ref(x_322); - x_324 = lean_box(0); + lean_dec_ref(x_372); + x_374 = lean_box(0); } -x_325 = lean_ctor_get(x_2, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_2, 1); -lean_inc(x_326); -x_327 = l_Lean_nullKind; -x_328 = lean_name_eq(x_325, x_327); -if (x_328 == 0) +x_375 = lean_ctor_get(x_2, 0); +lean_inc(x_375); +x_376 = lean_ctor_get(x_2, 1); +lean_inc(x_376); +x_377 = l_Lean_nullKind; +x_378 = lean_name_eq(x_375, x_377); +if (x_378 == 0) { -lean_object* x_329; 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; uint8_t x_439; -lean_dec(x_326); -lean_dec(x_324); -x_432 = lean_st_ref_get(x_5, x_323); -x_433 = lean_ctor_get(x_432, 0); -lean_inc(x_433); -x_434 = lean_ctor_get(x_432, 1); -lean_inc(x_434); -lean_dec(x_432); -x_435 = lean_ctor_get(x_433, 2); -lean_inc(x_435); -lean_dec(x_433); -x_436 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_435); -lean_dec(x_435); -x_437 = lean_ctor_get(x_436, 1); -lean_inc(x_437); -lean_dec(x_436); -x_438 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__2; -x_439 = l_Lean_checkTraceOption(x_437, x_438); -lean_dec(x_437); -if (x_439 == 0) +lean_object* x_379; 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; uint8_t x_504; +lean_dec(x_376); +lean_dec(x_374); +x_497 = lean_st_ref_get(x_5, x_373); +x_498 = lean_ctor_get(x_497, 0); +lean_inc(x_498); +x_499 = lean_ctor_get(x_497, 1); +lean_inc(x_499); +lean_dec(x_497); +x_500 = lean_ctor_get(x_498, 2); +lean_inc(x_500); +lean_dec(x_498); +x_501 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_500); +lean_dec(x_500); +x_502 = lean_ctor_get(x_501, 1); +lean_inc(x_502); +lean_dec(x_501); +x_503 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1; +x_504 = l_Lean_checkTraceOption(x_502, x_503); +lean_dec(x_502); +if (x_504 == 0) { -x_329 = x_434; -goto block_431; +x_379 = x_499; +goto block_496; } else { -lean_object* x_440; lean_object* x_441; lean_object* x_442; +lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_inc(x_2); -x_440 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_440, 0, x_2); -x_441 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(x_438, x_440, x_4, x_5, x_434); -x_442 = lean_ctor_get(x_441, 1); -lean_inc(x_442); -lean_dec(x_441); -x_329 = x_442; -goto block_431; +x_505 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_505, 0, x_2); +x_506 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(x_503, x_505, x_4, x_5, x_499); +x_507 = lean_ctor_get(x_506, 1); +lean_inc(x_507); +lean_dec(x_506); +x_379 = x_507; +goto block_496; } -block_431: +block_496: { -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_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; -x_330 = lean_st_ref_get(x_5, x_329); -x_331 = lean_ctor_get(x_330, 0); -lean_inc(x_331); -x_332 = lean_ctor_get(x_330, 1); -lean_inc(x_332); -lean_dec(x_330); -x_333 = lean_ctor_get(x_331, 0); -lean_inc(x_333); -x_351 = lean_st_ref_get(x_5, x_332); -x_352 = lean_ctor_get(x_351, 0); -lean_inc(x_352); -x_353 = lean_ctor_get(x_351, 1); -lean_inc(x_353); -lean_dec(x_351); -x_354 = lean_ctor_get(x_352, 0); -lean_inc(x_354); -lean_dec(x_352); -x_355 = l_Lean_Elab_Command_getScope___rarg(x_5, x_353); -x_356 = lean_ctor_get(x_355, 0); -lean_inc(x_356); -x_357 = lean_ctor_get(x_355, 1); -lean_inc(x_357); -lean_dec(x_355); -x_358 = lean_ctor_get(x_356, 2); -lean_inc(x_358); -lean_dec(x_356); -x_359 = l_Lean_Elab_Command_getScope___rarg(x_5, x_357); -x_360 = lean_ctor_get(x_359, 0); -lean_inc(x_360); -x_361 = lean_ctor_get(x_359, 1); -lean_inc(x_361); -lean_dec(x_359); -x_362 = lean_ctor_get(x_360, 3); -lean_inc(x_362); -lean_dec(x_360); -lean_inc(x_354); -x_363 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_363, 0, x_354); -lean_inc(x_358); -x_364 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_364, 0, x_358); -lean_inc(x_354); -x_365 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__2___boxed), 4, 1); -lean_closure_set(x_365, 0, x_354); -lean_inc(x_362); -lean_inc(x_358); -lean_inc(x_354); -x_366 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__3___boxed), 6, 3); -lean_closure_set(x_366, 0, x_354); -lean_closure_set(x_366, 1, x_358); -lean_closure_set(x_366, 2, x_362); -lean_inc(x_354); -x_367 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__4___boxed), 6, 3); -lean_closure_set(x_367, 0, x_354); -lean_closure_set(x_367, 1, x_358); -lean_closure_set(x_367, 2, x_362); -x_368 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_368, 0, x_363); -lean_ctor_set(x_368, 1, x_364); -lean_ctor_set(x_368, 2, x_365); -lean_ctor_set(x_368, 3, x_366); -lean_ctor_set(x_368, 4, x_367); -x_369 = x_368; -x_370 = l_Lean_Elab_Command_getRef(x_4, x_5, x_361); -x_371 = lean_ctor_get(x_370, 0); -lean_inc(x_371); -x_372 = lean_ctor_get(x_370, 1); -lean_inc(x_372); -lean_dec(x_370); -x_373 = l_Lean_Elab_Command_getCurrMacroScope(x_4, x_5, x_372); -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_st_ref_get(x_5, x_375); -x_377 = lean_ctor_get(x_376, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_376, 1); -lean_inc(x_378); -lean_dec(x_376); -x_379 = lean_ctor_get(x_377, 4); -lean_inc(x_379); -lean_dec(x_377); -x_380 = lean_st_ref_get(x_5, x_378); +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_380 = lean_st_ref_get(x_5, x_379); x_381 = lean_ctor_get(x_380, 0); lean_inc(x_381); x_382 = lean_ctor_get(x_380, 1); lean_inc(x_382); lean_dec(x_380); -x_383 = lean_ctor_get(x_381, 3); +x_383 = lean_ctor_get(x_381, 0); lean_inc(x_383); -lean_dec(x_381); -x_384 = lean_environment_main_module(x_354); -lean_inc(x_8); -x_385 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_385, 0, x_369); -lean_ctor_set(x_385, 1, x_384); -lean_ctor_set(x_385, 2, x_374); -lean_ctor_set(x_385, 3, x_8); -lean_ctor_set(x_385, 4, x_379); -lean_ctor_set(x_385, 5, x_371); -x_386 = lean_box(0); -x_387 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_387, 0, x_383); -lean_ctor_set(x_387, 1, x_386); lean_inc(x_2); -x_388 = l_Lean_Elab_getMacros(x_333, x_2, x_385, x_387); -if (lean_obj_tag(x_388) == 0) +lean_inc(x_383); +x_384 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); +lean_closure_set(x_384, 0, x_383); +lean_closure_set(x_384, 1, x_2); +lean_inc(x_4); +x_385 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(x_384, x_4, x_5, x_382); +if (lean_obj_tag(x_385) == 0) { -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; -x_389 = lean_ctor_get(x_388, 0); -lean_inc(x_389); -x_390 = lean_ctor_get(x_388, 1); -lean_inc(x_390); -lean_dec(x_388); -x_391 = lean_ctor_get(x_390, 0); -lean_inc(x_391); -x_392 = lean_st_ref_take(x_5, x_382); -x_393 = lean_ctor_get(x_392, 0); -lean_inc(x_393); -x_394 = lean_ctor_get(x_392, 1); -lean_inc(x_394); -lean_dec(x_392); -x_395 = lean_ctor_get(x_393, 0); -lean_inc(x_395); -x_396 = lean_ctor_get(x_393, 1); -lean_inc(x_396); -x_397 = lean_ctor_get(x_393, 2); -lean_inc(x_397); -x_398 = lean_ctor_get(x_393, 4); -lean_inc(x_398); -x_399 = lean_ctor_get(x_393, 5); -lean_inc(x_399); -x_400 = lean_ctor_get(x_393, 6); -lean_inc(x_400); -x_401 = lean_ctor_get(x_393, 7); -lean_inc(x_401); -x_402 = lean_ctor_get(x_393, 8); -lean_inc(x_402); -if (lean_is_exclusive(x_393)) { - lean_ctor_release(x_393, 0); - lean_ctor_release(x_393, 1); - lean_ctor_release(x_393, 2); - lean_ctor_release(x_393, 3); - lean_ctor_release(x_393, 4); - lean_ctor_release(x_393, 5); - lean_ctor_release(x_393, 6); - lean_ctor_release(x_393, 7); - lean_ctor_release(x_393, 8); - x_403 = x_393; -} else { - lean_dec_ref(x_393); - x_403 = lean_box(0); -} -if (lean_is_scalar(x_403)) { - x_404 = lean_alloc_ctor(0, 9, 0); -} else { - x_404 = x_403; -} -lean_ctor_set(x_404, 0, x_395); -lean_ctor_set(x_404, 1, x_396); -lean_ctor_set(x_404, 2, x_397); -lean_ctor_set(x_404, 3, x_391); -lean_ctor_set(x_404, 4, x_398); -lean_ctor_set(x_404, 5, x_399); -lean_ctor_set(x_404, 6, x_400); -lean_ctor_set(x_404, 7, x_401); -lean_ctor_set(x_404, 8, x_402); -x_405 = lean_st_ref_set(x_5, x_404, x_394); -x_406 = lean_ctor_get(x_405, 1); -lean_inc(x_406); -lean_dec(x_405); -x_407 = lean_ctor_get(x_390, 1); -lean_inc(x_407); -lean_dec(x_390); -x_408 = l_List_reverse___rarg(x_407); -x_409 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_408, x_4, x_5, x_406); -x_410 = lean_ctor_get(x_409, 1); -lean_inc(x_410); -lean_dec(x_409); -x_411 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_411, 0, x_389); -x_334 = x_411; -x_335 = x_410; -goto block_350; -} -else +lean_object* x_386; +x_386 = lean_ctor_get(x_385, 0); +lean_inc(x_386); +if (lean_obj_tag(x_386) == 0) { -lean_object* x_412; -x_412 = lean_ctor_get(x_388, 0); -lean_inc(x_412); -lean_dec(x_388); -if (lean_obj_tag(x_412) == 0) -{ -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_dec(x_333); -lean_dec(x_331); -lean_dec(x_325); -lean_dec(x_312); +lean_object* x_387; lean_object* x_388; lean_object* x_389; +lean_dec(x_362); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); +x_387 = lean_ctor_get(x_385, 1); +lean_inc(x_387); +lean_dec(x_385); +x_388 = l_Lean_Elab_Command_commandElabAttribute; +x_389 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_388, x_383, x_375); +lean_dec(x_383); +if (lean_obj_tag(x_389) == 0) +{ +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_dec(x_381); lean_dec(x_2); -x_413 = lean_ctor_get(x_412, 0); -lean_inc(x_413); -x_414 = lean_ctor_get(x_412, 1); -lean_inc(x_414); -lean_dec(x_412); -x_415 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_415, 0, x_414); -x_416 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_416, 0, x_415); -x_417 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_413, x_416, x_4, x_5, x_382); +x_390 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_390, 0, x_375); +x_391 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__4; +x_392 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_392, 0, x_391); +lean_ctor_set(x_392, 1, x_390); +x_393 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__6; +x_394 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_394, 0, x_392); +lean_ctor_set(x_394, 1, x_393); +x_395 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_394, x_4, x_5, x_387); lean_dec(x_5); -lean_dec(x_413); +return x_395; +} +else +{ +lean_object* x_396; +lean_dec(x_375); +x_396 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_381, x_2, x_389, x_4, x_5, x_387); +return x_396; +} +} +else +{ +lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; uint8_t x_404; +lean_dec(x_383); +lean_dec(x_381); +lean_dec(x_375); +x_397 = lean_ctor_get(x_386, 0); +lean_inc(x_397); +lean_dec(x_386); +x_398 = lean_ctor_get(x_385, 1); +lean_inc(x_398); +lean_dec(x_385); +x_399 = lean_ctor_get(x_397, 0); +lean_inc(x_399); +x_400 = lean_ctor_get(x_397, 1); +lean_inc(x_400); +lean_dec(x_397); +x_401 = lean_st_ref_get(x_5, x_398); +x_402 = lean_ctor_get(x_401, 0); +lean_inc(x_402); +x_403 = lean_ctor_get(x_402, 7); +lean_inc(x_403); +lean_dec(x_402); +x_404 = lean_ctor_get_uint8(x_403, sizeof(void*)*2); +lean_dec(x_403); +if (x_404 == 0) +{ +lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; +lean_dec(x_399); +lean_dec(x_4); +x_405 = lean_ctor_get(x_401, 1); +lean_inc(x_405); +lean_dec(x_401); +lean_inc(x_400); +x_406 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_406, 0, x_2); +lean_ctor_set(x_406, 1, x_400); +x_407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_407, 0, x_406); +lean_ctor_set(x_407, 1, x_13); +x_408 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_408, 0, x_10); +lean_ctor_set(x_408, 1, x_11); +lean_ctor_set(x_408, 2, x_8); +lean_ctor_set(x_408, 3, x_12); +lean_ctor_set(x_408, 4, x_407); +lean_ctor_set(x_408, 5, x_362); +lean_ctor_set(x_408, 6, x_14); +x_409 = l_Lean_Elab_Command_elabCommand(x_400, x_408, x_5, x_405); +lean_dec(x_408); +return x_409; +} +else +{ +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_410 = lean_ctor_get(x_401, 1); +lean_inc(x_410); +lean_dec(x_401); +x_411 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(x_5, x_410); +x_412 = lean_ctor_get(x_411, 0); +lean_inc(x_412); +x_413 = lean_ctor_get(x_411, 1); +lean_inc(x_413); +lean_dec(x_411); +lean_inc(x_400); +lean_inc(x_2); +x_414 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_414, 0, x_2); +lean_ctor_set(x_414, 1, x_400); +x_415 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_415, 0, x_414); +lean_ctor_set(x_415, 1, x_13); +x_416 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_416, 0, x_10); +lean_ctor_set(x_416, 1, x_11); +lean_ctor_set(x_416, 2, x_8); +lean_ctor_set(x_416, 3, x_12); +lean_ctor_set(x_416, 4, x_415); +lean_ctor_set(x_416, 5, x_362); +lean_ctor_set(x_416, 6, x_14); +lean_inc(x_5); +x_417 = l_Lean_Elab_Command_elabCommand(x_400, x_416, x_5, x_413); +lean_dec(x_416); +if (lean_obj_tag(x_417) == 0) +{ +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; x_418 = lean_ctor_get(x_417, 0); lean_inc(x_418); x_419 = lean_ctor_get(x_417, 1); lean_inc(x_419); -if (lean_is_exclusive(x_417)) { - lean_ctor_release(x_417, 0); - lean_ctor_release(x_417, 1); - x_420 = x_417; -} else { - lean_dec_ref(x_417); - x_420 = lean_box(0); -} -if (lean_is_scalar(x_420)) { - x_421 = lean_alloc_ctor(1, 2, 0); -} else { - x_421 = x_420; -} -lean_ctor_set(x_421, 0, x_418); -lean_ctor_set(x_421, 1, x_419); -return x_421; -} -else -{ -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_422 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_382); -x_423 = lean_ctor_get(x_422, 0); +lean_dec(x_417); +x_420 = lean_st_ref_get(x_5, x_419); +x_421 = lean_ctor_get(x_420, 0); +lean_inc(x_421); +x_422 = lean_ctor_get(x_420, 1); +lean_inc(x_422); +lean_dec(x_420); +x_423 = lean_ctor_get(x_421, 7); lean_inc(x_423); -x_424 = lean_ctor_get(x_422, 1); +lean_dec(x_421); +x_424 = lean_ctor_get(x_423, 1); lean_inc(x_424); -if (lean_is_exclusive(x_422)) { - lean_ctor_release(x_422, 0); - lean_ctor_release(x_422, 1); - x_425 = x_422; -} else { - lean_dec_ref(x_422); - x_425 = lean_box(0); -} -x_426 = lean_ctor_get(x_423, 0); -lean_inc(x_426); -x_427 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_428 = lean_nat_dec_eq(x_427, x_426); -lean_dec(x_426); -if (x_428 == 0) -{ -lean_object* x_429; -lean_dec(x_333); -lean_dec(x_331); -lean_dec(x_325); -lean_dec(x_4); -lean_dec(x_312); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -if (lean_is_scalar(x_425)) { - x_429 = lean_alloc_ctor(1, 2, 0); -} else { - x_429 = x_425; -} -lean_ctor_set(x_429, 0, x_423); -lean_ctor_set(x_429, 1, x_424); -return x_429; -} -else -{ -lean_object* x_430; -lean_dec(x_425); lean_dec(x_423); -x_430 = lean_box(0); -x_334 = x_430; -x_335 = x_424; -goto block_350; -} -} -} -block_350: -{ -if (lean_obj_tag(x_334) == 0) -{ -lean_object* x_336; lean_object* x_337; -lean_dec(x_312); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -x_336 = l_Lean_Elab_Command_commandElabAttribute; -x_337 = l_Lean_KeyedDeclsAttribute_getValues___rarg(x_336, x_333, x_325); -lean_dec(x_333); -if (lean_obj_tag(x_337) == 0) -{ -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_dec(x_331); -lean_dec(x_2); -x_338 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_338, 0, x_325); -x_339 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__4; -x_340 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_340, 0, x_339); -lean_ctor_set(x_340, 1, x_338); -x_341 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__6; -x_342 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_342, 0, x_340); -lean_ctor_set(x_342, 1, x_341); -x_343 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_342, x_4, x_5, x_335); -lean_dec(x_5); -return x_343; -} -else -{ -lean_object* x_344; -lean_dec(x_325); -x_344 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_331, x_2, x_337, x_4, x_5, x_335); -return x_344; -} -} -else -{ -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; -lean_dec(x_333); -lean_dec(x_331); -lean_dec(x_325); +x_425 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_399, x_2, x_424, x_4, x_5, x_422); lean_dec(x_4); -x_345 = lean_ctor_get(x_334, 0); -lean_inc(x_345); -lean_dec(x_334); -lean_inc(x_345); -x_346 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_346, 0, x_2); -lean_ctor_set(x_346, 1, x_345); -x_347 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_347, 0, x_346); -lean_ctor_set(x_347, 1, x_13); -x_348 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_348, 0, x_10); -lean_ctor_set(x_348, 1, x_11); -lean_ctor_set(x_348, 2, x_8); -lean_ctor_set(x_348, 3, x_12); -lean_ctor_set(x_348, 4, x_347); -lean_ctor_set(x_348, 5, x_312); -lean_ctor_set(x_348, 6, x_14); -x_349 = l_Lean_Elab_Command_elabCommand(x_345, x_348, x_5, x_335); -lean_dec(x_348); -return x_349; -} -} -} -} -else +if (lean_obj_tag(x_425) == 0) { -lean_object* x_443; lean_object* x_444; uint8_t x_445; -lean_dec(x_325); -lean_dec(x_312); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_443 = lean_array_get_size(x_326); -x_444 = lean_unsigned_to_nat(0u); -x_445 = lean_nat_dec_lt(x_444, x_443); -if (x_445 == 0) -{ -lean_object* x_446; lean_object* x_447; -lean_dec(x_443); -lean_dec(x_326); -lean_dec(x_4); -lean_dec(x_5); -x_446 = lean_box(0); -if (lean_is_scalar(x_324)) { - x_447 = lean_alloc_ctor(0, 2, 0); +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; uint8_t 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_426 = lean_ctor_get(x_425, 0); +lean_inc(x_426); +x_427 = lean_ctor_get(x_425, 1); +lean_inc(x_427); +lean_dec(x_425); +x_428 = lean_st_ref_take(x_5, x_427); +x_429 = lean_ctor_get(x_428, 0); +lean_inc(x_429); +x_430 = lean_ctor_get(x_429, 7); +lean_inc(x_430); +x_431 = lean_ctor_get(x_428, 1); +lean_inc(x_431); +lean_dec(x_428); +x_432 = lean_ctor_get(x_429, 0); +lean_inc(x_432); +x_433 = lean_ctor_get(x_429, 1); +lean_inc(x_433); +x_434 = lean_ctor_get(x_429, 2); +lean_inc(x_434); +x_435 = lean_ctor_get(x_429, 3); +lean_inc(x_435); +x_436 = lean_ctor_get(x_429, 4); +lean_inc(x_436); +x_437 = lean_ctor_get(x_429, 5); +lean_inc(x_437); +x_438 = lean_ctor_get(x_429, 6); +lean_inc(x_438); +x_439 = lean_ctor_get(x_429, 8); +lean_inc(x_439); +if (lean_is_exclusive(x_429)) { + lean_ctor_release(x_429, 0); + lean_ctor_release(x_429, 1); + lean_ctor_release(x_429, 2); + lean_ctor_release(x_429, 3); + lean_ctor_release(x_429, 4); + lean_ctor_release(x_429, 5); + lean_ctor_release(x_429, 6); + lean_ctor_release(x_429, 7); + lean_ctor_release(x_429, 8); + x_440 = x_429; } else { - x_447 = x_324; + lean_dec_ref(x_429); + x_440 = lean_box(0); } -lean_ctor_set(x_447, 0, x_446); -lean_ctor_set(x_447, 1, x_323); -return x_447; +x_441 = lean_ctor_get_uint8(x_430, sizeof(void*)*2); +x_442 = lean_ctor_get(x_430, 0); +lean_inc(x_442); +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + x_443 = x_430; +} else { + lean_dec_ref(x_430); + x_443 = lean_box(0); } -else -{ -uint8_t x_448; -x_448 = lean_nat_dec_le(x_443, x_443); -if (x_448 == 0) -{ -lean_object* x_449; lean_object* x_450; -lean_dec(x_443); -lean_dec(x_326); -lean_dec(x_4); +x_444 = l_Std_PersistentArray_push___rarg(x_412, x_426); +if (lean_is_scalar(x_443)) { + x_445 = lean_alloc_ctor(0, 2, 1); +} else { + x_445 = x_443; +} +lean_ctor_set(x_445, 0, x_442); +lean_ctor_set(x_445, 1, x_444); +lean_ctor_set_uint8(x_445, sizeof(void*)*2, x_441); +if (lean_is_scalar(x_440)) { + x_446 = lean_alloc_ctor(0, 9, 0); +} else { + x_446 = x_440; +} +lean_ctor_set(x_446, 0, x_432); +lean_ctor_set(x_446, 1, x_433); +lean_ctor_set(x_446, 2, x_434); +lean_ctor_set(x_446, 3, x_435); +lean_ctor_set(x_446, 4, x_436); +lean_ctor_set(x_446, 5, x_437); +lean_ctor_set(x_446, 6, x_438); +lean_ctor_set(x_446, 7, x_445); +lean_ctor_set(x_446, 8, x_439); +x_447 = lean_st_ref_set(x_5, x_446, x_431); lean_dec(x_5); -x_449 = lean_box(0); -if (lean_is_scalar(x_324)) { +x_448 = lean_ctor_get(x_447, 1); +lean_inc(x_448); +if (lean_is_exclusive(x_447)) { + lean_ctor_release(x_447, 0); + lean_ctor_release(x_447, 1); + x_449 = x_447; +} else { + lean_dec_ref(x_447); + x_449 = lean_box(0); +} +if (lean_is_scalar(x_449)) { x_450 = lean_alloc_ctor(0, 2, 0); } else { - x_450 = x_324; + x_450 = x_449; } -lean_ctor_set(x_450, 0, x_449); -lean_ctor_set(x_450, 1, x_323); +lean_ctor_set(x_450, 0, x_418); +lean_ctor_set(x_450, 1, x_448); return x_450; } else { -size_t x_451; size_t x_452; lean_object* x_453; lean_object* x_454; -lean_dec(x_324); -x_451 = 0; -x_452 = lean_usize_of_nat(x_443); -lean_dec(x_443); -x_453 = lean_box(0); -x_454 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_326, x_451, x_452, x_453, x_4, x_5, x_323); -lean_dec(x_4); -lean_dec(x_326); +lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; +lean_dec(x_418); +lean_dec(x_412); +lean_dec(x_5); +x_451 = lean_ctor_get(x_425, 0); +lean_inc(x_451); +x_452 = lean_ctor_get(x_425, 1); +lean_inc(x_452); +if (lean_is_exclusive(x_425)) { + lean_ctor_release(x_425, 0); + lean_ctor_release(x_425, 1); + x_453 = x_425; +} else { + lean_dec_ref(x_425); + x_453 = lean_box(0); +} +if (lean_is_scalar(x_453)) { + x_454 = lean_alloc_ctor(1, 2, 0); +} else { + x_454 = x_453; +} +lean_ctor_set(x_454, 0, x_451); +lean_ctor_set(x_454, 1, x_452); return x_454; } } -} -} else { -lean_object* x_455; lean_object* x_456; lean_object* x_457; -lean_dec(x_312); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_455 = lean_ctor_get(x_322, 1); +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; +x_455 = lean_ctor_get(x_417, 0); lean_inc(x_455); -lean_dec(x_322); -x_456 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__2; -x_457 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_456, x_4, x_5, x_455); +x_456 = lean_ctor_get(x_417, 1); +lean_inc(x_456); +lean_dec(x_417); +x_457 = lean_st_ref_get(x_5, 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); +lean_dec(x_457); +x_460 = lean_ctor_get(x_458, 7); +lean_inc(x_460); +lean_dec(x_458); +x_461 = lean_ctor_get(x_460, 1); +lean_inc(x_461); +lean_dec(x_460); +x_462 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_399, x_2, x_461, x_4, x_5, x_459); +lean_dec(x_4); +if (lean_obj_tag(x_462) == 0) +{ +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; uint8_t 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; +x_463 = lean_ctor_get(x_462, 0); +lean_inc(x_463); +x_464 = lean_ctor_get(x_462, 1); +lean_inc(x_464); +lean_dec(x_462); +x_465 = lean_st_ref_take(x_5, x_464); +x_466 = lean_ctor_get(x_465, 0); +lean_inc(x_466); +x_467 = lean_ctor_get(x_466, 7); +lean_inc(x_467); +x_468 = lean_ctor_get(x_465, 1); +lean_inc(x_468); +lean_dec(x_465); +x_469 = lean_ctor_get(x_466, 0); +lean_inc(x_469); +x_470 = lean_ctor_get(x_466, 1); +lean_inc(x_470); +x_471 = lean_ctor_get(x_466, 2); +lean_inc(x_471); +x_472 = lean_ctor_get(x_466, 3); +lean_inc(x_472); +x_473 = lean_ctor_get(x_466, 4); +lean_inc(x_473); +x_474 = lean_ctor_get(x_466, 5); +lean_inc(x_474); +x_475 = lean_ctor_get(x_466, 6); +lean_inc(x_475); +x_476 = lean_ctor_get(x_466, 8); +lean_inc(x_476); +if (lean_is_exclusive(x_466)) { + lean_ctor_release(x_466, 0); + lean_ctor_release(x_466, 1); + lean_ctor_release(x_466, 2); + lean_ctor_release(x_466, 3); + lean_ctor_release(x_466, 4); + lean_ctor_release(x_466, 5); + lean_ctor_release(x_466, 6); + lean_ctor_release(x_466, 7); + lean_ctor_release(x_466, 8); + x_477 = x_466; +} else { + lean_dec_ref(x_466); + x_477 = lean_box(0); +} +x_478 = lean_ctor_get_uint8(x_467, sizeof(void*)*2); +x_479 = lean_ctor_get(x_467, 0); +lean_inc(x_479); +if (lean_is_exclusive(x_467)) { + lean_ctor_release(x_467, 0); + lean_ctor_release(x_467, 1); + x_480 = x_467; +} else { + lean_dec_ref(x_467); + x_480 = lean_box(0); +} +x_481 = l_Std_PersistentArray_push___rarg(x_412, x_463); +if (lean_is_scalar(x_480)) { + x_482 = lean_alloc_ctor(0, 2, 1); +} else { + x_482 = x_480; +} +lean_ctor_set(x_482, 0, x_479); +lean_ctor_set(x_482, 1, x_481); +lean_ctor_set_uint8(x_482, sizeof(void*)*2, x_478); +if (lean_is_scalar(x_477)) { + x_483 = lean_alloc_ctor(0, 9, 0); +} else { + x_483 = x_477; +} +lean_ctor_set(x_483, 0, x_469); +lean_ctor_set(x_483, 1, x_470); +lean_ctor_set(x_483, 2, x_471); +lean_ctor_set(x_483, 3, x_472); +lean_ctor_set(x_483, 4, x_473); +lean_ctor_set(x_483, 5, x_474); +lean_ctor_set(x_483, 6, x_475); +lean_ctor_set(x_483, 7, x_482); +lean_ctor_set(x_483, 8, x_476); +x_484 = lean_st_ref_set(x_5, x_483, x_468); lean_dec(x_5); -return x_457; +x_485 = lean_ctor_get(x_484, 1); +lean_inc(x_485); +if (lean_is_exclusive(x_484)) { + lean_ctor_release(x_484, 0); + lean_ctor_release(x_484, 1); + x_486 = x_484; +} else { + lean_dec_ref(x_484); + x_486 = lean_box(0); +} +if (lean_is_scalar(x_486)) { + x_487 = lean_alloc_ctor(1, 2, 0); +} else { + x_487 = x_486; + lean_ctor_set_tag(x_487, 1); +} +lean_ctor_set(x_487, 0, x_455); +lean_ctor_set(x_487, 1, x_485); +return x_487; +} +else +{ +lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; +lean_dec(x_455); +lean_dec(x_412); +lean_dec(x_5); +x_488 = lean_ctor_get(x_462, 0); +lean_inc(x_488); +x_489 = lean_ctor_get(x_462, 1); +lean_inc(x_489); +if (lean_is_exclusive(x_462)) { + lean_ctor_release(x_462, 0); + lean_ctor_release(x_462, 1); + x_490 = x_462; +} else { + lean_dec_ref(x_462); + x_490 = lean_box(0); +} +if (lean_is_scalar(x_490)) { + x_491 = lean_alloc_ctor(1, 2, 0); +} else { + x_491 = x_490; +} +lean_ctor_set(x_491, 0, x_488); +lean_ctor_set(x_491, 1, x_489); +return x_491; +} +} +} } } else { -lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; +lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; +lean_dec(x_383); +lean_dec(x_381); +lean_dec(x_375); lean_dec(x_4); -lean_dec(x_312); +lean_dec(x_362); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -13072,692 +14566,928 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); -x_458 = lean_ctor_get(x_322, 0); -lean_inc(x_458); -x_459 = lean_ctor_get(x_322, 1); -lean_inc(x_459); -if (lean_is_exclusive(x_322)) { - lean_ctor_release(x_322, 0); - lean_ctor_release(x_322, 1); - x_460 = x_322; +x_492 = lean_ctor_get(x_385, 0); +lean_inc(x_492); +x_493 = lean_ctor_get(x_385, 1); +lean_inc(x_493); +if (lean_is_exclusive(x_385)) { + lean_ctor_release(x_385, 0); + lean_ctor_release(x_385, 1); + x_494 = x_385; } else { - lean_dec_ref(x_322); - x_460 = lean_box(0); + lean_dec_ref(x_385); + x_494 = lean_box(0); } -if (lean_is_scalar(x_460)) { - x_461 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_494)) { + x_495 = lean_alloc_ctor(1, 2, 0); } else { - x_461 = x_460; + x_495 = x_494; } -lean_ctor_set(x_461, 0, x_458); -lean_ctor_set(x_461, 1, x_459); -return x_461; +lean_ctor_set(x_495, 0, x_492); +lean_ctor_set(x_495, 1, x_493); +return x_495; } } } else { -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; -x_462 = lean_ctor_get(x_4, 0); -x_463 = lean_ctor_get(x_4, 1); -x_464 = lean_ctor_get(x_4, 3); -x_465 = lean_ctor_get(x_4, 4); -x_466 = lean_ctor_get(x_4, 6); -lean_inc(x_466); -lean_inc(x_465); -lean_inc(x_464); -lean_inc(x_463); -lean_inc(x_462); +lean_object* x_508; lean_object* x_509; uint8_t x_510; +lean_dec(x_375); +lean_dec(x_362); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_508 = lean_array_get_size(x_376); +x_509 = lean_unsigned_to_nat(0u); +x_510 = lean_nat_dec_lt(x_509, x_508); +if (x_510 == 0) +{ +lean_object* x_511; lean_object* x_512; +lean_dec(x_508); +lean_dec(x_376); lean_dec(x_4); -x_467 = lean_st_ref_take(x_5, x_6); -x_468 = lean_ctor_get(x_467, 0); -lean_inc(x_468); -x_469 = lean_ctor_get(x_467, 1); -lean_inc(x_469); -lean_dec(x_467); -x_470 = lean_ctor_get(x_468, 0); -lean_inc(x_470); -x_471 = lean_ctor_get(x_468, 1); -lean_inc(x_471); -x_472 = lean_ctor_get(x_468, 2); -lean_inc(x_472); -x_473 = lean_ctor_get(x_468, 3); -lean_inc(x_473); -x_474 = lean_ctor_get(x_468, 4); -lean_inc(x_474); -x_475 = lean_ctor_get(x_468, 5); -lean_inc(x_475); -x_476 = lean_ctor_get(x_468, 6); -lean_inc(x_476); -x_477 = lean_ctor_get(x_468, 7); -lean_inc(x_477); -x_478 = lean_ctor_get(x_468, 8); -lean_inc(x_478); -if (lean_is_exclusive(x_468)) { - lean_ctor_release(x_468, 0); - lean_ctor_release(x_468, 1); - lean_ctor_release(x_468, 2); - lean_ctor_release(x_468, 3); - lean_ctor_release(x_468, 4); - lean_ctor_release(x_468, 5); - lean_ctor_release(x_468, 6); - lean_ctor_release(x_468, 7); - lean_ctor_release(x_468, 8); - x_479 = x_468; +lean_dec(x_5); +x_511 = lean_box(0); +if (lean_is_scalar(x_374)) { + x_512 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_468); - x_479 = lean_box(0); + x_512 = x_374; } -x_480 = lean_nat_add(x_473, x_7); -if (lean_is_scalar(x_479)) { - x_481 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_512, 0, x_511); +lean_ctor_set(x_512, 1, x_373); +return x_512; +} +else +{ +uint8_t x_513; +x_513 = lean_nat_dec_le(x_508, x_508); +if (x_513 == 0) +{ +lean_object* x_514; lean_object* x_515; +lean_dec(x_508); +lean_dec(x_376); +lean_dec(x_4); +lean_dec(x_5); +x_514 = lean_box(0); +if (lean_is_scalar(x_374)) { + x_515 = lean_alloc_ctor(0, 2, 0); } else { - x_481 = x_479; + x_515 = x_374; } -lean_ctor_set(x_481, 0, x_470); -lean_ctor_set(x_481, 1, x_471); -lean_ctor_set(x_481, 2, x_472); -lean_ctor_set(x_481, 3, x_480); -lean_ctor_set(x_481, 4, x_474); -lean_ctor_set(x_481, 5, x_475); -lean_ctor_set(x_481, 6, x_476); -lean_ctor_set(x_481, 7, x_477); -lean_ctor_set(x_481, 8, x_478); -x_482 = lean_st_ref_set(x_5, x_481, x_469); -x_483 = lean_ctor_get(x_482, 1); -lean_inc(x_483); -lean_dec(x_482); -lean_inc(x_466); -lean_inc(x_473); -lean_inc(x_465); -lean_inc(x_464); +lean_ctor_set(x_515, 0, x_514); +lean_ctor_set(x_515, 1, x_373); +return x_515; +} +else +{ +size_t x_516; size_t x_517; lean_object* x_518; lean_object* x_519; +lean_dec(x_374); +x_516 = 0; +x_517 = lean_usize_of_nat(x_508); +lean_dec(x_508); +x_518 = lean_box(0); +x_519 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_376, x_516, x_517, x_518, x_4, x_5, x_373); +lean_dec(x_4); +lean_dec(x_376); +return x_519; +} +} +} +} +else +{ +lean_object* x_520; lean_object* x_521; lean_object* x_522; +lean_dec(x_362); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_520 = lean_ctor_get(x_372, 1); +lean_inc(x_520); +lean_dec(x_372); +x_521 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__2; +x_522 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_521, x_4, x_5, x_520); +lean_dec(x_5); +return x_522; +} +} +else +{ +lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; +lean_dec(x_4); +lean_dec(x_362); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +x_523 = lean_ctor_get(x_372, 0); +lean_inc(x_523); +x_524 = lean_ctor_get(x_372, 1); +lean_inc(x_524); +if (lean_is_exclusive(x_372)) { + lean_ctor_release(x_372, 0); + lean_ctor_release(x_372, 1); + x_525 = x_372; +} else { + lean_dec_ref(x_372); + x_525 = lean_box(0); +} +if (lean_is_scalar(x_525)) { + x_526 = lean_alloc_ctor(1, 2, 0); +} else { + x_526 = x_525; +} +lean_ctor_set(x_526, 0, x_523); +lean_ctor_set(x_526, 1, x_524); +return x_526; +} +} +} +else +{ +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; +x_527 = lean_ctor_get(x_4, 0); +x_528 = lean_ctor_get(x_4, 1); +x_529 = lean_ctor_get(x_4, 3); +x_530 = lean_ctor_get(x_4, 4); +x_531 = lean_ctor_get(x_4, 6); +lean_inc(x_531); +lean_inc(x_530); +lean_inc(x_529); +lean_inc(x_528); +lean_inc(x_527); +lean_dec(x_4); +x_532 = lean_st_ref_take(x_5, x_6); +x_533 = lean_ctor_get(x_532, 0); +lean_inc(x_533); +x_534 = lean_ctor_get(x_532, 1); +lean_inc(x_534); +lean_dec(x_532); +x_535 = lean_ctor_get(x_533, 0); +lean_inc(x_535); +x_536 = lean_ctor_get(x_533, 1); +lean_inc(x_536); +x_537 = lean_ctor_get(x_533, 2); +lean_inc(x_537); +x_538 = lean_ctor_get(x_533, 3); +lean_inc(x_538); +x_539 = lean_ctor_get(x_533, 4); +lean_inc(x_539); +x_540 = lean_ctor_get(x_533, 5); +lean_inc(x_540); +x_541 = lean_ctor_get(x_533, 6); +lean_inc(x_541); +x_542 = lean_ctor_get(x_533, 7); +lean_inc(x_542); +x_543 = lean_ctor_get(x_533, 8); +lean_inc(x_543); +if (lean_is_exclusive(x_533)) { + lean_ctor_release(x_533, 0); + lean_ctor_release(x_533, 1); + lean_ctor_release(x_533, 2); + lean_ctor_release(x_533, 3); + lean_ctor_release(x_533, 4); + lean_ctor_release(x_533, 5); + lean_ctor_release(x_533, 6); + lean_ctor_release(x_533, 7); + lean_ctor_release(x_533, 8); + x_544 = x_533; +} else { + lean_dec_ref(x_533); + x_544 = lean_box(0); +} +x_545 = lean_nat_add(x_538, x_7); +if (lean_is_scalar(x_544)) { + x_546 = lean_alloc_ctor(0, 9, 0); +} else { + x_546 = x_544; +} +lean_ctor_set(x_546, 0, x_535); +lean_ctor_set(x_546, 1, x_536); +lean_ctor_set(x_546, 2, x_537); +lean_ctor_set(x_546, 3, x_545); +lean_ctor_set(x_546, 4, x_539); +lean_ctor_set(x_546, 5, x_540); +lean_ctor_set(x_546, 6, x_541); +lean_ctor_set(x_546, 7, x_542); +lean_ctor_set(x_546, 8, x_543); +x_547 = lean_st_ref_set(x_5, x_546, x_534); +x_548 = lean_ctor_get(x_547, 1); +lean_inc(x_548); +lean_dec(x_547); +lean_inc(x_531); +lean_inc(x_538); +lean_inc(x_530); +lean_inc(x_529); lean_inc(x_8); -lean_inc(x_463); -lean_inc(x_462); -x_484 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_484, 0, x_462); -lean_ctor_set(x_484, 1, x_463); -lean_ctor_set(x_484, 2, x_8); -lean_ctor_set(x_484, 3, x_464); -lean_ctor_set(x_484, 4, x_465); -lean_ctor_set(x_484, 5, x_473); -lean_ctor_set(x_484, 6, x_466); +lean_inc(x_528); +lean_inc(x_527); +x_549 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_549, 0, x_527); +lean_ctor_set(x_549, 1, x_528); +lean_ctor_set(x_549, 2, x_8); +lean_ctor_set(x_549, 3, x_529); +lean_ctor_set(x_549, 4, x_530); +lean_ctor_set(x_549, 5, x_538); +lean_ctor_set(x_549, 6, x_531); lean_inc(x_5); -lean_inc(x_484); +lean_inc(x_549); lean_inc(x_2); -x_485 = l_Lean_Elab_Command_runLinters(x_2, x_484, x_5, x_483); -if (lean_obj_tag(x_485) == 0) +x_550 = l_Lean_Elab_Command_runLinters(x_2, x_549, x_5, x_548); +if (lean_obj_tag(x_550) == 0) { if (lean_obj_tag(x_2) == 1) { -lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; uint8_t x_491; -x_486 = lean_ctor_get(x_485, 1); -lean_inc(x_486); -if (lean_is_exclusive(x_485)) { - lean_ctor_release(x_485, 0); - lean_ctor_release(x_485, 1); - x_487 = x_485; +lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; uint8_t x_556; +x_551 = lean_ctor_get(x_550, 1); +lean_inc(x_551); +if (lean_is_exclusive(x_550)) { + lean_ctor_release(x_550, 0); + lean_ctor_release(x_550, 1); + x_552 = x_550; } else { - lean_dec_ref(x_485); - x_487 = lean_box(0); + lean_dec_ref(x_550); + x_552 = lean_box(0); } -x_488 = lean_ctor_get(x_2, 0); -lean_inc(x_488); -x_489 = lean_ctor_get(x_2, 1); -lean_inc(x_489); -x_490 = l_Lean_nullKind; -x_491 = lean_name_eq(x_488, x_490); -if (x_491 == 0) +x_553 = lean_ctor_get(x_2, 0); +lean_inc(x_553); +x_554 = lean_ctor_get(x_2, 1); +lean_inc(x_554); +x_555 = l_Lean_nullKind; +x_556 = lean_name_eq(x_553, x_555); +if (x_556 == 0) { -lean_object* x_492; 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_dec(x_489); -lean_dec(x_487); -x_595 = lean_st_ref_get(x_5, x_486); +lean_object* x_557; 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; uint8_t x_682; +lean_dec(x_554); +lean_dec(x_552); +x_675 = lean_st_ref_get(x_5, x_551); +x_676 = lean_ctor_get(x_675, 0); +lean_inc(x_676); +x_677 = lean_ctor_get(x_675, 1); +lean_inc(x_677); +lean_dec(x_675); +x_678 = lean_ctor_get(x_676, 2); +lean_inc(x_678); +lean_dec(x_676); +x_679 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_678); +lean_dec(x_678); +x_680 = lean_ctor_get(x_679, 1); +lean_inc(x_680); +lean_dec(x_679); +x_681 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1; +x_682 = l_Lean_checkTraceOption(x_680, x_681); +lean_dec(x_680); +if (x_682 == 0) +{ +x_557 = x_677; +goto block_674; +} +else +{ +lean_object* x_683; lean_object* x_684; lean_object* x_685; +lean_inc(x_2); +x_683 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_683, 0, x_2); +x_684 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(x_681, x_683, x_549, x_5, x_677); +x_685 = lean_ctor_get(x_684, 1); +lean_inc(x_685); +lean_dec(x_684); +x_557 = x_685; +goto block_674; +} +block_674: +{ +lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; +x_558 = lean_st_ref_get(x_5, x_557); +x_559 = lean_ctor_get(x_558, 0); +lean_inc(x_559); +x_560 = lean_ctor_get(x_558, 1); +lean_inc(x_560); +lean_dec(x_558); +x_561 = lean_ctor_get(x_559, 0); +lean_inc(x_561); +lean_inc(x_2); +lean_inc(x_561); +x_562 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); +lean_closure_set(x_562, 0, x_561); +lean_closure_set(x_562, 1, x_2); +lean_inc(x_549); +x_563 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(x_562, x_549, x_5, x_560); +if (lean_obj_tag(x_563) == 0) +{ +lean_object* x_564; +x_564 = lean_ctor_get(x_563, 0); +lean_inc(x_564); +if (lean_obj_tag(x_564) == 0) +{ +lean_object* x_565; lean_object* x_566; lean_object* x_567; +lean_dec(x_538); +lean_dec(x_531); +lean_dec(x_530); +lean_dec(x_529); +lean_dec(x_528); +lean_dec(x_527); +lean_dec(x_8); +x_565 = lean_ctor_get(x_563, 1); +lean_inc(x_565); +lean_dec(x_563); +x_566 = l_Lean_Elab_Command_commandElabAttribute; +x_567 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_566, x_561, x_553); +lean_dec(x_561); +if (lean_obj_tag(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_dec(x_559); +lean_dec(x_2); +x_568 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_568, 0, x_553); +x_569 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__4; +x_570 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_570, 0, x_569); +lean_ctor_set(x_570, 1, x_568); +x_571 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__6; +x_572 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_572, 0, x_570); +lean_ctor_set(x_572, 1, x_571); +x_573 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_572, x_549, x_5, x_565); +lean_dec(x_5); +return x_573; +} +else +{ +lean_object* x_574; +lean_dec(x_553); +x_574 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_559, x_2, x_567, x_549, x_5, x_565); +return x_574; +} +} +else +{ +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; uint8_t x_582; +lean_dec(x_561); +lean_dec(x_559); +lean_dec(x_553); +x_575 = lean_ctor_get(x_564, 0); +lean_inc(x_575); +lean_dec(x_564); +x_576 = lean_ctor_get(x_563, 1); +lean_inc(x_576); +lean_dec(x_563); +x_577 = lean_ctor_get(x_575, 0); +lean_inc(x_577); +x_578 = lean_ctor_get(x_575, 1); +lean_inc(x_578); +lean_dec(x_575); +x_579 = lean_st_ref_get(x_5, x_576); +x_580 = lean_ctor_get(x_579, 0); +lean_inc(x_580); +x_581 = lean_ctor_get(x_580, 7); +lean_inc(x_581); +lean_dec(x_580); +x_582 = lean_ctor_get_uint8(x_581, sizeof(void*)*2); +lean_dec(x_581); +if (x_582 == 0) +{ +lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; +lean_dec(x_577); +lean_dec(x_549); +x_583 = lean_ctor_get(x_579, 1); +lean_inc(x_583); +lean_dec(x_579); +lean_inc(x_578); +x_584 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_584, 0, x_2); +lean_ctor_set(x_584, 1, x_578); +x_585 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_585, 0, x_584); +lean_ctor_set(x_585, 1, x_530); +x_586 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_586, 0, x_527); +lean_ctor_set(x_586, 1, x_528); +lean_ctor_set(x_586, 2, x_8); +lean_ctor_set(x_586, 3, x_529); +lean_ctor_set(x_586, 4, x_585); +lean_ctor_set(x_586, 5, x_538); +lean_ctor_set(x_586, 6, x_531); +x_587 = l_Lean_Elab_Command_elabCommand(x_578, x_586, x_5, x_583); +lean_dec(x_586); +return x_587; +} +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; +x_588 = lean_ctor_get(x_579, 1); +lean_inc(x_588); +lean_dec(x_579); +x_589 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2___rarg(x_5, x_588); +x_590 = lean_ctor_get(x_589, 0); +lean_inc(x_590); +x_591 = lean_ctor_get(x_589, 1); +lean_inc(x_591); +lean_dec(x_589); +lean_inc(x_578); +lean_inc(x_2); +x_592 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_592, 0, x_2); +lean_ctor_set(x_592, 1, x_578); +x_593 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_593, 0, x_592); +lean_ctor_set(x_593, 1, x_530); +x_594 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_594, 0, x_527); +lean_ctor_set(x_594, 1, x_528); +lean_ctor_set(x_594, 2, x_8); +lean_ctor_set(x_594, 3, x_529); +lean_ctor_set(x_594, 4, x_593); +lean_ctor_set(x_594, 5, x_538); +lean_ctor_set(x_594, 6, x_531); +lean_inc(x_5); +x_595 = l_Lean_Elab_Command_elabCommand(x_578, x_594, x_5, x_591); +lean_dec(x_594); +if (lean_obj_tag(x_595) == 0) +{ +lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; x_596 = lean_ctor_get(x_595, 0); lean_inc(x_596); x_597 = lean_ctor_get(x_595, 1); lean_inc(x_597); lean_dec(x_595); -x_598 = lean_ctor_get(x_596, 2); -lean_inc(x_598); -lean_dec(x_596); -x_599 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_598); -lean_dec(x_598); -x_600 = lean_ctor_get(x_599, 1); +x_598 = lean_st_ref_get(x_5, x_597); +x_599 = lean_ctor_get(x_598, 0); +lean_inc(x_599); +x_600 = lean_ctor_get(x_598, 1); lean_inc(x_600); +lean_dec(x_598); +x_601 = lean_ctor_get(x_599, 7); +lean_inc(x_601); lean_dec(x_599); -x_601 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__2; -x_602 = l_Lean_checkTraceOption(x_600, x_601); -lean_dec(x_600); -if (x_602 == 0) +x_602 = lean_ctor_get(x_601, 1); +lean_inc(x_602); +lean_dec(x_601); +x_603 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_577, x_2, x_602, x_549, x_5, x_600); +lean_dec(x_549); +if (lean_obj_tag(x_603) == 0) { -x_492 = x_597; -goto block_594; -} -else -{ -lean_object* x_603; lean_object* x_604; lean_object* x_605; -lean_inc(x_2); -x_603 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_603, 0, x_2); -x_604 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(x_601, x_603, x_484, x_5, x_597); -x_605 = lean_ctor_get(x_604, 1); +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; uint8_t x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; +x_604 = lean_ctor_get(x_603, 0); +lean_inc(x_604); +x_605 = lean_ctor_get(x_603, 1); lean_inc(x_605); -lean_dec(x_604); -x_492 = x_605; -goto block_594; -} -block_594: -{ -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_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; -x_493 = lean_st_ref_get(x_5, x_492); -x_494 = lean_ctor_get(x_493, 0); -lean_inc(x_494); -x_495 = lean_ctor_get(x_493, 1); -lean_inc(x_495); -lean_dec(x_493); -x_496 = lean_ctor_get(x_494, 0); -lean_inc(x_496); -x_514 = lean_st_ref_get(x_5, x_495); -x_515 = lean_ctor_get(x_514, 0); -lean_inc(x_515); -x_516 = lean_ctor_get(x_514, 1); -lean_inc(x_516); -lean_dec(x_514); -x_517 = lean_ctor_get(x_515, 0); -lean_inc(x_517); -lean_dec(x_515); -x_518 = l_Lean_Elab_Command_getScope___rarg(x_5, x_516); -x_519 = lean_ctor_get(x_518, 0); -lean_inc(x_519); -x_520 = lean_ctor_get(x_518, 1); -lean_inc(x_520); -lean_dec(x_518); -x_521 = lean_ctor_get(x_519, 2); -lean_inc(x_521); -lean_dec(x_519); -x_522 = l_Lean_Elab_Command_getScope___rarg(x_5, x_520); -x_523 = lean_ctor_get(x_522, 0); -lean_inc(x_523); -x_524 = lean_ctor_get(x_522, 1); -lean_inc(x_524); -lean_dec(x_522); -x_525 = lean_ctor_get(x_523, 3); -lean_inc(x_525); -lean_dec(x_523); -lean_inc(x_517); -x_526 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_526, 0, x_517); -lean_inc(x_521); -x_527 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_527, 0, x_521); -lean_inc(x_517); -x_528 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__2___boxed), 4, 1); -lean_closure_set(x_528, 0, x_517); -lean_inc(x_525); -lean_inc(x_521); -lean_inc(x_517); -x_529 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__3___boxed), 6, 3); -lean_closure_set(x_529, 0, x_517); -lean_closure_set(x_529, 1, x_521); -lean_closure_set(x_529, 2, x_525); -lean_inc(x_517); -x_530 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__4___boxed), 6, 3); -lean_closure_set(x_530, 0, x_517); -lean_closure_set(x_530, 1, x_521); -lean_closure_set(x_530, 2, x_525); -x_531 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_531, 0, x_526); -lean_ctor_set(x_531, 1, x_527); -lean_ctor_set(x_531, 2, x_528); -lean_ctor_set(x_531, 3, x_529); -lean_ctor_set(x_531, 4, x_530); -x_532 = x_531; -x_533 = l_Lean_Elab_Command_getRef(x_484, x_5, x_524); -x_534 = lean_ctor_get(x_533, 0); -lean_inc(x_534); -x_535 = lean_ctor_get(x_533, 1); -lean_inc(x_535); -lean_dec(x_533); -x_536 = l_Lean_Elab_Command_getCurrMacroScope(x_484, x_5, x_535); -x_537 = lean_ctor_get(x_536, 0); -lean_inc(x_537); -x_538 = lean_ctor_get(x_536, 1); -lean_inc(x_538); -lean_dec(x_536); -x_539 = lean_st_ref_get(x_5, x_538); -x_540 = lean_ctor_get(x_539, 0); -lean_inc(x_540); -x_541 = lean_ctor_get(x_539, 1); -lean_inc(x_541); -lean_dec(x_539); -x_542 = lean_ctor_get(x_540, 4); -lean_inc(x_542); -lean_dec(x_540); -x_543 = lean_st_ref_get(x_5, x_541); -x_544 = lean_ctor_get(x_543, 0); -lean_inc(x_544); -x_545 = lean_ctor_get(x_543, 1); -lean_inc(x_545); -lean_dec(x_543); -x_546 = lean_ctor_get(x_544, 3); -lean_inc(x_546); -lean_dec(x_544); -x_547 = lean_environment_main_module(x_517); -lean_inc(x_8); -x_548 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_548, 0, x_532); -lean_ctor_set(x_548, 1, x_547); -lean_ctor_set(x_548, 2, x_537); -lean_ctor_set(x_548, 3, x_8); -lean_ctor_set(x_548, 4, x_542); -lean_ctor_set(x_548, 5, x_534); -x_549 = lean_box(0); -x_550 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_550, 0, x_546); -lean_ctor_set(x_550, 1, x_549); -lean_inc(x_2); -x_551 = l_Lean_Elab_getMacros(x_496, x_2, x_548, x_550); -if (lean_obj_tag(x_551) == 0) -{ -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; -x_552 = lean_ctor_get(x_551, 0); -lean_inc(x_552); -x_553 = lean_ctor_get(x_551, 1); -lean_inc(x_553); -lean_dec(x_551); -x_554 = lean_ctor_get(x_553, 0); -lean_inc(x_554); -x_555 = lean_st_ref_take(x_5, x_545); -x_556 = lean_ctor_get(x_555, 0); -lean_inc(x_556); -x_557 = lean_ctor_get(x_555, 1); -lean_inc(x_557); -lean_dec(x_555); -x_558 = lean_ctor_get(x_556, 0); -lean_inc(x_558); -x_559 = lean_ctor_get(x_556, 1); -lean_inc(x_559); -x_560 = lean_ctor_get(x_556, 2); -lean_inc(x_560); -x_561 = lean_ctor_get(x_556, 4); -lean_inc(x_561); -x_562 = lean_ctor_get(x_556, 5); -lean_inc(x_562); -x_563 = lean_ctor_get(x_556, 6); -lean_inc(x_563); -x_564 = lean_ctor_get(x_556, 7); -lean_inc(x_564); -x_565 = lean_ctor_get(x_556, 8); -lean_inc(x_565); -if (lean_is_exclusive(x_556)) { - lean_ctor_release(x_556, 0); - lean_ctor_release(x_556, 1); - lean_ctor_release(x_556, 2); - lean_ctor_release(x_556, 3); - lean_ctor_release(x_556, 4); - lean_ctor_release(x_556, 5); - lean_ctor_release(x_556, 6); - lean_ctor_release(x_556, 7); - lean_ctor_release(x_556, 8); - x_566 = x_556; +lean_dec(x_603); +x_606 = lean_st_ref_take(x_5, x_605); +x_607 = lean_ctor_get(x_606, 0); +lean_inc(x_607); +x_608 = lean_ctor_get(x_607, 7); +lean_inc(x_608); +x_609 = lean_ctor_get(x_606, 1); +lean_inc(x_609); +lean_dec(x_606); +x_610 = lean_ctor_get(x_607, 0); +lean_inc(x_610); +x_611 = lean_ctor_get(x_607, 1); +lean_inc(x_611); +x_612 = lean_ctor_get(x_607, 2); +lean_inc(x_612); +x_613 = lean_ctor_get(x_607, 3); +lean_inc(x_613); +x_614 = lean_ctor_get(x_607, 4); +lean_inc(x_614); +x_615 = lean_ctor_get(x_607, 5); +lean_inc(x_615); +x_616 = lean_ctor_get(x_607, 6); +lean_inc(x_616); +x_617 = lean_ctor_get(x_607, 8); +lean_inc(x_617); +if (lean_is_exclusive(x_607)) { + lean_ctor_release(x_607, 0); + lean_ctor_release(x_607, 1); + lean_ctor_release(x_607, 2); + lean_ctor_release(x_607, 3); + lean_ctor_release(x_607, 4); + lean_ctor_release(x_607, 5); + lean_ctor_release(x_607, 6); + lean_ctor_release(x_607, 7); + lean_ctor_release(x_607, 8); + x_618 = x_607; } else { - lean_dec_ref(x_556); - x_566 = lean_box(0); + lean_dec_ref(x_607); + x_618 = lean_box(0); } -if (lean_is_scalar(x_566)) { - x_567 = lean_alloc_ctor(0, 9, 0); +x_619 = lean_ctor_get_uint8(x_608, sizeof(void*)*2); +x_620 = lean_ctor_get(x_608, 0); +lean_inc(x_620); +if (lean_is_exclusive(x_608)) { + lean_ctor_release(x_608, 0); + lean_ctor_release(x_608, 1); + x_621 = x_608; } else { - x_567 = x_566; + lean_dec_ref(x_608); + x_621 = lean_box(0); } -lean_ctor_set(x_567, 0, x_558); -lean_ctor_set(x_567, 1, x_559); -lean_ctor_set(x_567, 2, x_560); -lean_ctor_set(x_567, 3, x_554); -lean_ctor_set(x_567, 4, x_561); -lean_ctor_set(x_567, 5, x_562); -lean_ctor_set(x_567, 6, x_563); -lean_ctor_set(x_567, 7, x_564); -lean_ctor_set(x_567, 8, x_565); -x_568 = lean_st_ref_set(x_5, x_567, x_557); -x_569 = lean_ctor_get(x_568, 1); -lean_inc(x_569); -lean_dec(x_568); -x_570 = lean_ctor_get(x_553, 1); -lean_inc(x_570); +x_622 = l_Std_PersistentArray_push___rarg(x_590, x_604); +if (lean_is_scalar(x_621)) { + x_623 = lean_alloc_ctor(0, 2, 1); +} else { + x_623 = x_621; +} +lean_ctor_set(x_623, 0, x_620); +lean_ctor_set(x_623, 1, x_622); +lean_ctor_set_uint8(x_623, sizeof(void*)*2, x_619); +if (lean_is_scalar(x_618)) { + x_624 = lean_alloc_ctor(0, 9, 0); +} else { + x_624 = x_618; +} +lean_ctor_set(x_624, 0, x_610); +lean_ctor_set(x_624, 1, x_611); +lean_ctor_set(x_624, 2, x_612); +lean_ctor_set(x_624, 3, x_613); +lean_ctor_set(x_624, 4, x_614); +lean_ctor_set(x_624, 5, x_615); +lean_ctor_set(x_624, 6, x_616); +lean_ctor_set(x_624, 7, x_623); +lean_ctor_set(x_624, 8, x_617); +x_625 = lean_st_ref_set(x_5, x_624, x_609); +lean_dec(x_5); +x_626 = lean_ctor_get(x_625, 1); +lean_inc(x_626); +if (lean_is_exclusive(x_625)) { + lean_ctor_release(x_625, 0); + lean_ctor_release(x_625, 1); + x_627 = x_625; +} else { + lean_dec_ref(x_625); + x_627 = lean_box(0); +} +if (lean_is_scalar(x_627)) { + x_628 = lean_alloc_ctor(0, 2, 0); +} else { + x_628 = x_627; +} +lean_ctor_set(x_628, 0, x_596); +lean_ctor_set(x_628, 1, x_626); +return x_628; +} +else +{ +lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; +lean_dec(x_596); +lean_dec(x_590); +lean_dec(x_5); +x_629 = lean_ctor_get(x_603, 0); +lean_inc(x_629); +x_630 = lean_ctor_get(x_603, 1); +lean_inc(x_630); +if (lean_is_exclusive(x_603)) { + lean_ctor_release(x_603, 0); + lean_ctor_release(x_603, 1); + x_631 = x_603; +} else { + lean_dec_ref(x_603); + x_631 = lean_box(0); +} +if (lean_is_scalar(x_631)) { + x_632 = lean_alloc_ctor(1, 2, 0); +} else { + x_632 = x_631; +} +lean_ctor_set(x_632, 0, x_629); +lean_ctor_set(x_632, 1, x_630); +return x_632; +} +} +else +{ +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; +x_633 = lean_ctor_get(x_595, 0); +lean_inc(x_633); +x_634 = lean_ctor_get(x_595, 1); +lean_inc(x_634); +lean_dec(x_595); +x_635 = lean_st_ref_get(x_5, x_634); +x_636 = lean_ctor_get(x_635, 0); +lean_inc(x_636); +x_637 = lean_ctor_get(x_635, 1); +lean_inc(x_637); +lean_dec(x_635); +x_638 = lean_ctor_get(x_636, 7); +lean_inc(x_638); +lean_dec(x_636); +x_639 = lean_ctor_get(x_638, 1); +lean_inc(x_639); +lean_dec(x_638); +x_640 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(x_577, x_2, x_639, x_549, x_5, x_637); +lean_dec(x_549); +if (lean_obj_tag(x_640) == 0) +{ +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; uint8_t 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; +x_641 = lean_ctor_get(x_640, 0); +lean_inc(x_641); +x_642 = lean_ctor_get(x_640, 1); +lean_inc(x_642); +lean_dec(x_640); +x_643 = lean_st_ref_take(x_5, x_642); +x_644 = lean_ctor_get(x_643, 0); +lean_inc(x_644); +x_645 = lean_ctor_get(x_644, 7); +lean_inc(x_645); +x_646 = lean_ctor_get(x_643, 1); +lean_inc(x_646); +lean_dec(x_643); +x_647 = lean_ctor_get(x_644, 0); +lean_inc(x_647); +x_648 = lean_ctor_get(x_644, 1); +lean_inc(x_648); +x_649 = lean_ctor_get(x_644, 2); +lean_inc(x_649); +x_650 = lean_ctor_get(x_644, 3); +lean_inc(x_650); +x_651 = lean_ctor_get(x_644, 4); +lean_inc(x_651); +x_652 = lean_ctor_get(x_644, 5); +lean_inc(x_652); +x_653 = lean_ctor_get(x_644, 6); +lean_inc(x_653); +x_654 = lean_ctor_get(x_644, 8); +lean_inc(x_654); +if (lean_is_exclusive(x_644)) { + lean_ctor_release(x_644, 0); + lean_ctor_release(x_644, 1); + lean_ctor_release(x_644, 2); + lean_ctor_release(x_644, 3); + lean_ctor_release(x_644, 4); + lean_ctor_release(x_644, 5); + lean_ctor_release(x_644, 6); + lean_ctor_release(x_644, 7); + lean_ctor_release(x_644, 8); + x_655 = x_644; +} else { + lean_dec_ref(x_644); + x_655 = lean_box(0); +} +x_656 = lean_ctor_get_uint8(x_645, sizeof(void*)*2); +x_657 = lean_ctor_get(x_645, 0); +lean_inc(x_657); +if (lean_is_exclusive(x_645)) { + lean_ctor_release(x_645, 0); + lean_ctor_release(x_645, 1); + x_658 = x_645; +} else { + lean_dec_ref(x_645); + x_658 = lean_box(0); +} +x_659 = l_Std_PersistentArray_push___rarg(x_590, x_641); +if (lean_is_scalar(x_658)) { + x_660 = lean_alloc_ctor(0, 2, 1); +} else { + x_660 = x_658; +} +lean_ctor_set(x_660, 0, x_657); +lean_ctor_set(x_660, 1, x_659); +lean_ctor_set_uint8(x_660, sizeof(void*)*2, x_656); +if (lean_is_scalar(x_655)) { + x_661 = lean_alloc_ctor(0, 9, 0); +} else { + x_661 = x_655; +} +lean_ctor_set(x_661, 0, x_647); +lean_ctor_set(x_661, 1, x_648); +lean_ctor_set(x_661, 2, x_649); +lean_ctor_set(x_661, 3, x_650); +lean_ctor_set(x_661, 4, x_651); +lean_ctor_set(x_661, 5, x_652); +lean_ctor_set(x_661, 6, x_653); +lean_ctor_set(x_661, 7, x_660); +lean_ctor_set(x_661, 8, x_654); +x_662 = lean_st_ref_set(x_5, x_661, x_646); +lean_dec(x_5); +x_663 = lean_ctor_get(x_662, 1); +lean_inc(x_663); +if (lean_is_exclusive(x_662)) { + lean_ctor_release(x_662, 0); + lean_ctor_release(x_662, 1); + x_664 = x_662; +} else { + lean_dec_ref(x_662); + x_664 = lean_box(0); +} +if (lean_is_scalar(x_664)) { + x_665 = lean_alloc_ctor(1, 2, 0); +} else { + x_665 = x_664; + lean_ctor_set_tag(x_665, 1); +} +lean_ctor_set(x_665, 0, x_633); +lean_ctor_set(x_665, 1, x_663); +return x_665; +} +else +{ +lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; +lean_dec(x_633); +lean_dec(x_590); +lean_dec(x_5); +x_666 = lean_ctor_get(x_640, 0); +lean_inc(x_666); +x_667 = lean_ctor_get(x_640, 1); +lean_inc(x_667); +if (lean_is_exclusive(x_640)) { + lean_ctor_release(x_640, 0); + lean_ctor_release(x_640, 1); + x_668 = x_640; +} else { + lean_dec_ref(x_640); + x_668 = lean_box(0); +} +if (lean_is_scalar(x_668)) { + x_669 = lean_alloc_ctor(1, 2, 0); +} else { + x_669 = x_668; +} +lean_ctor_set(x_669, 0, x_666); +lean_ctor_set(x_669, 1, x_667); +return x_669; +} +} +} +} +} +else +{ +lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; +lean_dec(x_561); +lean_dec(x_559); lean_dec(x_553); -x_571 = l_List_reverse___rarg(x_570); -x_572 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_571, x_484, x_5, x_569); -x_573 = lean_ctor_get(x_572, 1); -lean_inc(x_573); -lean_dec(x_572); -x_574 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_574, 0, x_552); -x_497 = x_574; -x_498 = x_573; -goto block_513; -} -else -{ -lean_object* x_575; -x_575 = lean_ctor_get(x_551, 0); -lean_inc(x_575); -lean_dec(x_551); -if (lean_obj_tag(x_575) == 0) -{ -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_dec(x_496); -lean_dec(x_494); -lean_dec(x_488); -lean_dec(x_473); -lean_dec(x_466); -lean_dec(x_465); -lean_dec(x_464); -lean_dec(x_463); -lean_dec(x_462); -lean_dec(x_8); -lean_dec(x_2); -x_576 = lean_ctor_get(x_575, 0); -lean_inc(x_576); -x_577 = lean_ctor_get(x_575, 1); -lean_inc(x_577); -lean_dec(x_575); -x_578 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_578, 0, x_577); -x_579 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_579, 0, x_578); -x_580 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_576, x_579, x_484, x_5, x_545); -lean_dec(x_5); -lean_dec(x_576); -x_581 = lean_ctor_get(x_580, 0); -lean_inc(x_581); -x_582 = lean_ctor_get(x_580, 1); -lean_inc(x_582); -if (lean_is_exclusive(x_580)) { - lean_ctor_release(x_580, 0); - lean_ctor_release(x_580, 1); - x_583 = x_580; -} else { - lean_dec_ref(x_580); - x_583 = lean_box(0); -} -if (lean_is_scalar(x_583)) { - x_584 = lean_alloc_ctor(1, 2, 0); -} else { - x_584 = x_583; -} -lean_ctor_set(x_584, 0, x_581); -lean_ctor_set(x_584, 1, x_582); -return x_584; -} -else -{ -lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; uint8_t x_591; -x_585 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_545); -x_586 = lean_ctor_get(x_585, 0); -lean_inc(x_586); -x_587 = lean_ctor_get(x_585, 1); -lean_inc(x_587); -if (lean_is_exclusive(x_585)) { - lean_ctor_release(x_585, 0); - lean_ctor_release(x_585, 1); - x_588 = x_585; -} else { - lean_dec_ref(x_585); - x_588 = lean_box(0); -} -x_589 = lean_ctor_get(x_586, 0); -lean_inc(x_589); -x_590 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_591 = lean_nat_dec_eq(x_590, x_589); -lean_dec(x_589); -if (x_591 == 0) -{ -lean_object* x_592; -lean_dec(x_496); -lean_dec(x_494); -lean_dec(x_488); -lean_dec(x_484); -lean_dec(x_473); -lean_dec(x_466); -lean_dec(x_465); -lean_dec(x_464); -lean_dec(x_463); -lean_dec(x_462); +lean_dec(x_549); +lean_dec(x_538); +lean_dec(x_531); +lean_dec(x_530); +lean_dec(x_529); +lean_dec(x_528); +lean_dec(x_527); lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); -if (lean_is_scalar(x_588)) { - x_592 = lean_alloc_ctor(1, 2, 0); +x_670 = lean_ctor_get(x_563, 0); +lean_inc(x_670); +x_671 = lean_ctor_get(x_563, 1); +lean_inc(x_671); +if (lean_is_exclusive(x_563)) { + lean_ctor_release(x_563, 0); + lean_ctor_release(x_563, 1); + x_672 = x_563; } else { - x_592 = x_588; + lean_dec_ref(x_563); + x_672 = lean_box(0); } -lean_ctor_set(x_592, 0, x_586); -lean_ctor_set(x_592, 1, x_587); -return x_592; -} -else -{ -lean_object* x_593; -lean_dec(x_588); -lean_dec(x_586); -x_593 = lean_box(0); -x_497 = x_593; -x_498 = x_587; -goto block_513; -} -} -} -block_513: -{ -if (lean_obj_tag(x_497) == 0) -{ -lean_object* x_499; lean_object* x_500; -lean_dec(x_473); -lean_dec(x_466); -lean_dec(x_465); -lean_dec(x_464); -lean_dec(x_463); -lean_dec(x_462); -lean_dec(x_8); -x_499 = l_Lean_Elab_Command_commandElabAttribute; -x_500 = l_Lean_KeyedDeclsAttribute_getValues___rarg(x_499, x_496, x_488); -lean_dec(x_496); -if (lean_obj_tag(x_500) == 0) -{ -lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; -lean_dec(x_494); -lean_dec(x_2); -x_501 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_501, 0, x_488); -x_502 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__4; -x_503 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_503, 0, x_502); -lean_ctor_set(x_503, 1, x_501); -x_504 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__6; -x_505 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_505, 0, x_503); -lean_ctor_set(x_505, 1, x_504); -x_506 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_505, x_484, x_5, x_498); -lean_dec(x_5); -return x_506; -} -else -{ -lean_object* x_507; -lean_dec(x_488); -x_507 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_494, x_2, x_500, x_484, x_5, x_498); -return x_507; -} -} -else -{ -lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; -lean_dec(x_496); -lean_dec(x_494); -lean_dec(x_488); -lean_dec(x_484); -x_508 = lean_ctor_get(x_497, 0); -lean_inc(x_508); -lean_dec(x_497); -lean_inc(x_508); -x_509 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_509, 0, x_2); -lean_ctor_set(x_509, 1, x_508); -x_510 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_510, 0, x_509); -lean_ctor_set(x_510, 1, x_465); -x_511 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_511, 0, x_462); -lean_ctor_set(x_511, 1, x_463); -lean_ctor_set(x_511, 2, x_8); -lean_ctor_set(x_511, 3, x_464); -lean_ctor_set(x_511, 4, x_510); -lean_ctor_set(x_511, 5, x_473); -lean_ctor_set(x_511, 6, x_466); -x_512 = l_Lean_Elab_Command_elabCommand(x_508, x_511, x_5, x_498); -lean_dec(x_511); -return x_512; +if (lean_is_scalar(x_672)) { + x_673 = lean_alloc_ctor(1, 2, 0); +} else { + x_673 = x_672; } +lean_ctor_set(x_673, 0, x_670); +lean_ctor_set(x_673, 1, x_671); +return x_673; } } } else { -lean_object* x_606; lean_object* x_607; uint8_t x_608; -lean_dec(x_488); -lean_dec(x_473); -lean_dec(x_466); -lean_dec(x_465); -lean_dec(x_464); -lean_dec(x_463); -lean_dec(x_462); +lean_object* x_686; lean_object* x_687; uint8_t x_688; +lean_dec(x_553); +lean_dec(x_538); +lean_dec(x_531); +lean_dec(x_530); +lean_dec(x_529); +lean_dec(x_528); +lean_dec(x_527); lean_dec(x_8); lean_dec(x_2); -x_606 = lean_array_get_size(x_489); -x_607 = lean_unsigned_to_nat(0u); -x_608 = lean_nat_dec_lt(x_607, x_606); -if (x_608 == 0) +x_686 = lean_array_get_size(x_554); +x_687 = lean_unsigned_to_nat(0u); +x_688 = lean_nat_dec_lt(x_687, x_686); +if (x_688 == 0) { -lean_object* x_609; lean_object* x_610; -lean_dec(x_606); -lean_dec(x_489); -lean_dec(x_484); +lean_object* x_689; lean_object* x_690; +lean_dec(x_686); +lean_dec(x_554); +lean_dec(x_549); lean_dec(x_5); -x_609 = lean_box(0); -if (lean_is_scalar(x_487)) { - x_610 = lean_alloc_ctor(0, 2, 0); +x_689 = lean_box(0); +if (lean_is_scalar(x_552)) { + x_690 = lean_alloc_ctor(0, 2, 0); } else { - x_610 = x_487; + x_690 = x_552; } -lean_ctor_set(x_610, 0, x_609); -lean_ctor_set(x_610, 1, x_486); -return x_610; +lean_ctor_set(x_690, 0, x_689); +lean_ctor_set(x_690, 1, x_551); +return x_690; } else { -uint8_t x_611; -x_611 = lean_nat_dec_le(x_606, x_606); -if (x_611 == 0) +uint8_t x_691; +x_691 = lean_nat_dec_le(x_686, x_686); +if (x_691 == 0) { -lean_object* x_612; lean_object* x_613; -lean_dec(x_606); -lean_dec(x_489); -lean_dec(x_484); +lean_object* x_692; lean_object* x_693; +lean_dec(x_686); +lean_dec(x_554); +lean_dec(x_549); lean_dec(x_5); -x_612 = lean_box(0); -if (lean_is_scalar(x_487)) { - x_613 = lean_alloc_ctor(0, 2, 0); +x_692 = lean_box(0); +if (lean_is_scalar(x_552)) { + x_693 = lean_alloc_ctor(0, 2, 0); } else { - x_613 = x_487; + x_693 = x_552; } -lean_ctor_set(x_613, 0, x_612); -lean_ctor_set(x_613, 1, x_486); -return x_613; +lean_ctor_set(x_693, 0, x_692); +lean_ctor_set(x_693, 1, x_551); +return x_693; } else { -size_t x_614; size_t x_615; lean_object* x_616; lean_object* x_617; -lean_dec(x_487); -x_614 = 0; -x_615 = lean_usize_of_nat(x_606); -lean_dec(x_606); -x_616 = lean_box(0); -x_617 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_489, x_614, x_615, x_616, x_484, x_5, x_486); -lean_dec(x_484); -lean_dec(x_489); -return x_617; +size_t x_694; size_t x_695; lean_object* x_696; lean_object* x_697; +lean_dec(x_552); +x_694 = 0; +x_695 = lean_usize_of_nat(x_686); +lean_dec(x_686); +x_696 = lean_box(0); +x_697 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_554, x_694, x_695, x_696, x_549, x_5, x_551); +lean_dec(x_549); +lean_dec(x_554); +return x_697; } } } } else { -lean_object* x_618; lean_object* x_619; lean_object* x_620; -lean_dec(x_473); -lean_dec(x_466); -lean_dec(x_465); -lean_dec(x_464); -lean_dec(x_463); -lean_dec(x_462); +lean_object* x_698; lean_object* x_699; lean_object* x_700; +lean_dec(x_538); +lean_dec(x_531); +lean_dec(x_530); +lean_dec(x_529); +lean_dec(x_528); +lean_dec(x_527); lean_dec(x_8); lean_dec(x_2); -x_618 = lean_ctor_get(x_485, 1); -lean_inc(x_618); -lean_dec(x_485); -x_619 = l_Lean_Elab_Command_elabCommand___lambda__5___closed__2; -x_620 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_619, x_484, x_5, x_618); +x_698 = lean_ctor_get(x_550, 1); +lean_inc(x_698); +lean_dec(x_550); +x_699 = l_Lean_Elab_Command_elabCommand___lambda__2___closed__2; +x_700 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_699, x_549, x_5, x_698); lean_dec(x_5); -return x_620; +return x_700; } } else { -lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; -lean_dec(x_484); -lean_dec(x_473); -lean_dec(x_466); -lean_dec(x_465); -lean_dec(x_464); -lean_dec(x_463); -lean_dec(x_462); +lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; +lean_dec(x_549); +lean_dec(x_538); +lean_dec(x_531); +lean_dec(x_530); +lean_dec(x_529); +lean_dec(x_528); +lean_dec(x_527); lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); -x_621 = lean_ctor_get(x_485, 0); -lean_inc(x_621); -x_622 = lean_ctor_get(x_485, 1); -lean_inc(x_622); -if (lean_is_exclusive(x_485)) { - lean_ctor_release(x_485, 0); - lean_ctor_release(x_485, 1); - x_623 = x_485; +x_701 = lean_ctor_get(x_550, 0); +lean_inc(x_701); +x_702 = lean_ctor_get(x_550, 1); +lean_inc(x_702); +if (lean_is_exclusive(x_550)) { + lean_ctor_release(x_550, 0); + lean_ctor_release(x_550, 1); + x_703 = x_550; } else { - lean_dec_ref(x_485); - x_623 = lean_box(0); + lean_dec_ref(x_550); + x_703 = lean_box(0); } -if (lean_is_scalar(x_623)) { - x_624 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_703)) { + x_704 = lean_alloc_ctor(1, 2, 0); } else { - x_624 = x_623; + x_704 = x_703; } -lean_ctor_set(x_624, 0, x_621); -lean_ctor_set(x_624, 1, x_622); -return x_624; +lean_ctor_set(x_704, 0, x_701); +lean_ctor_set(x_704, 1, x_702); +return x_704; } } } } -lean_object* l_Lean_Elab_Command_elabCommand___lambda__6(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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_5); -return x_6; -} -} static lean_object* _init_l_Lean_Elab_Command_elabCommand___closed__1() { _start: { @@ -13778,24 +15508,6 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabCommand___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("info"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabCommand___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__1; -x_2 = l_Lean_Elab_Command_elabCommand___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* l_Lean_Elab_Command_elabCommand(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -13809,7 +15521,7 @@ lean_dec(x_5); x_8 = !lean_is_exclusive(x_6); 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_40; lean_object* x_41; 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; uint8_t x_113; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_40; lean_object* x_41; 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; x_9 = lean_ctor_get(x_6, 1); x_10 = l_Lean_Elab_Command_State_messages___default___closed__3; lean_ctor_set(x_6, 1, x_10); @@ -13831,7 +15543,6 @@ x_105 = lean_ctor_get(x_2, 2); x_106 = lean_ctor_get(x_2, 3); x_107 = lean_ctor_get(x_2, 4); x_108 = lean_ctor_get(x_2, 5); -lean_inc(x_102); lean_inc(x_108); lean_inc(x_107); lean_inc(x_106); @@ -13849,644 +15560,57 @@ lean_ctor_set(x_109, 6, x_102); x_110 = lean_st_ref_get(x_3, x_101); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); -x_112 = lean_ctor_get(x_111, 7); +x_112 = lean_ctor_get(x_110, 1); lean_inc(x_112); +lean_dec(x_110); +x_113 = lean_ctor_get(x_111, 4); +lean_inc(x_113); lean_dec(x_111); -x_113 = lean_ctor_get_uint8(x_112, sizeof(void*)*2); -lean_dec(x_112); -if (x_113 == 0) +x_114 = lean_nat_dec_eq(x_105, x_113); +lean_dec(x_113); +if (x_114 == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; -lean_dec(x_102); -x_114 = lean_ctor_get(x_110, 1); -lean_inc(x_114); -lean_dec(x_110); -x_115 = lean_st_ref_get(x_3, x_114); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); +lean_object* x_115; lean_object* x_116; +x_115 = lean_box(0); +lean_inc(x_3); +lean_inc(x_1); +x_116 = l_Lean_Elab_Command_elabCommand___lambda__2(x_105, x_1, x_115, x_109, x_3, x_112); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; +x_117 = lean_ctor_get(x_116, 1); lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_ctor_get(x_116, 4); -lean_inc(x_118); lean_dec(x_116); -x_119 = lean_nat_dec_eq(x_105, x_118); -lean_dec(x_118); -if (x_119 == 0) +x_13 = x_117; +goto block_39; +} +else { -lean_object* x_120; lean_object* x_121; -x_120 = lean_box(0); -lean_inc(x_3); -lean_inc(x_1); -x_121 = l_Lean_Elab_Command_elabCommand___lambda__5(x_105, x_1, x_120, x_109, x_3, x_117); -if (lean_obj_tag(x_121) == 0) +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_116, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_116, 1); +lean_inc(x_119); +lean_dec(x_116); +x_40 = x_118; +x_41 = x_119; +goto block_98; +} +} +else { -lean_object* x_122; -x_122 = lean_ctor_get(x_121, 1); +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_120 = l_Lean_Elab_Command_elabCommand___closed__2; +x_121 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_120, x_109, x_3, x_112); +x_122 = lean_ctor_get(x_121, 0); lean_inc(x_122); -lean_dec(x_121); -x_13 = x_122; -goto block_39; -} -else -{ -lean_object* x_123; lean_object* x_124; -x_123 = lean_ctor_get(x_121, 0); +x_123 = lean_ctor_get(x_121, 1); lean_inc(x_123); -x_124 = lean_ctor_get(x_121, 1); -lean_inc(x_124); lean_dec(x_121); -x_40 = x_123; -x_41 = x_124; +x_40 = x_122; +x_41 = x_123; goto block_98; } -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_125 = l_Lean_Elab_Command_elabCommand___closed__2; -x_126 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_125, x_109, x_3, x_117); -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 1); -lean_inc(x_128); -lean_dec(x_126); -x_40 = x_127; -x_41 = x_128; -goto block_98; -} -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; lean_object* x_215; lean_object* x_216; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; uint8_t x_301; -x_129 = lean_ctor_get(x_110, 1); -lean_inc(x_129); -lean_dec(x_110); -x_130 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_3, x_129); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_297 = lean_st_ref_get(x_3, x_132); -x_298 = lean_ctor_get(x_297, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_297, 1); -lean_inc(x_299); -lean_dec(x_297); -x_300 = lean_ctor_get(x_298, 4); -lean_inc(x_300); -lean_dec(x_298); -x_301 = lean_nat_dec_eq(x_105, x_300); -lean_dec(x_300); -if (x_301 == 0) -{ -lean_object* x_302; lean_object* x_303; -x_302 = lean_box(0); -lean_inc(x_3); -lean_inc(x_109); -lean_inc(x_1); -x_303 = l_Lean_Elab_Command_elabCommand___lambda__5(x_105, x_1, x_302, x_109, x_3, x_299); -if (lean_obj_tag(x_303) == 0) -{ -lean_object* x_304; lean_object* x_305; -x_304 = lean_ctor_get(x_303, 0); -lean_inc(x_304); -x_305 = lean_ctor_get(x_303, 1); -lean_inc(x_305); -lean_dec(x_303); -x_169 = x_304; -x_170 = x_305; -goto block_214; -} -else -{ -lean_object* x_306; lean_object* x_307; -x_306 = lean_ctor_get(x_303, 0); -lean_inc(x_306); -x_307 = lean_ctor_get(x_303, 1); -lean_inc(x_307); -lean_dec(x_303); -x_215 = x_306; -x_216 = x_307; -goto block_296; -} -} -else -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; -x_308 = l_Lean_Elab_Command_elabCommand___closed__2; -lean_inc(x_109); -x_309 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_308, x_109, x_3, x_299); -x_310 = lean_ctor_get(x_309, 0); -lean_inc(x_310); -x_311 = lean_ctor_get(x_309, 1); -lean_inc(x_311); -lean_dec(x_309); -x_215 = x_310; -x_216 = x_311; -goto block_296; -} -block_168: -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; -x_135 = lean_st_ref_take(x_3, x_134); -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_136, 7); -lean_inc(x_137); -x_138 = lean_ctor_get(x_135, 1); -lean_inc(x_138); -lean_dec(x_135); -x_139 = !lean_is_exclusive(x_136); -if (x_139 == 0) -{ -lean_object* x_140; uint8_t x_141; -x_140 = lean_ctor_get(x_136, 7); -lean_dec(x_140); -x_141 = !lean_is_exclusive(x_137); -if (x_141 == 0) -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_142 = lean_ctor_get(x_137, 1); -lean_dec(x_142); -x_143 = l_Std_PersistentArray_push___rarg(x_131, x_133); -lean_ctor_set(x_137, 1, x_143); -x_144 = lean_st_ref_set(x_3, x_136, x_138); -x_145 = lean_ctor_get(x_144, 1); -lean_inc(x_145); -lean_dec(x_144); -x_13 = x_145; -goto block_39; -} -else -{ -uint8_t x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_146 = lean_ctor_get_uint8(x_137, sizeof(void*)*2); -x_147 = lean_ctor_get(x_137, 0); -lean_inc(x_147); -lean_dec(x_137); -x_148 = l_Std_PersistentArray_push___rarg(x_131, x_133); -x_149 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_149, 0, x_147); -lean_ctor_set(x_149, 1, x_148); -lean_ctor_set_uint8(x_149, sizeof(void*)*2, x_146); -lean_ctor_set(x_136, 7, x_149); -x_150 = lean_st_ref_set(x_3, x_136, x_138); -x_151 = lean_ctor_get(x_150, 1); -lean_inc(x_151); -lean_dec(x_150); -x_13 = x_151; -goto block_39; -} -} -else -{ -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; uint8_t 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; -x_152 = lean_ctor_get(x_136, 0); -x_153 = lean_ctor_get(x_136, 1); -x_154 = lean_ctor_get(x_136, 2); -x_155 = lean_ctor_get(x_136, 3); -x_156 = lean_ctor_get(x_136, 4); -x_157 = lean_ctor_get(x_136, 5); -x_158 = lean_ctor_get(x_136, 6); -x_159 = lean_ctor_get(x_136, 8); -lean_inc(x_159); -lean_inc(x_158); -lean_inc(x_157); -lean_inc(x_156); -lean_inc(x_155); -lean_inc(x_154); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_136); -x_160 = lean_ctor_get_uint8(x_137, sizeof(void*)*2); -x_161 = lean_ctor_get(x_137, 0); -lean_inc(x_161); -if (lean_is_exclusive(x_137)) { - lean_ctor_release(x_137, 0); - lean_ctor_release(x_137, 1); - x_162 = x_137; -} else { - lean_dec_ref(x_137); - x_162 = lean_box(0); -} -x_163 = l_Std_PersistentArray_push___rarg(x_131, x_133); -if (lean_is_scalar(x_162)) { - x_164 = lean_alloc_ctor(0, 2, 1); -} else { - x_164 = x_162; -} -lean_ctor_set(x_164, 0, x_161); -lean_ctor_set(x_164, 1, x_163); -lean_ctor_set_uint8(x_164, sizeof(void*)*2, x_160); -x_165 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_165, 0, x_152); -lean_ctor_set(x_165, 1, x_153); -lean_ctor_set(x_165, 2, x_154); -lean_ctor_set(x_165, 3, x_155); -lean_ctor_set(x_165, 4, x_156); -lean_ctor_set(x_165, 5, x_157); -lean_ctor_set(x_165, 6, x_158); -lean_ctor_set(x_165, 7, x_164); -lean_ctor_set(x_165, 8, x_159); -x_166 = lean_st_ref_set(x_3, x_165, x_138); -x_167 = lean_ctor_get(x_166, 1); -lean_inc(x_167); -lean_dec(x_166); -x_13 = x_167; -goto block_39; -} -} -block_214: -{ -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; uint8_t x_197; -lean_dec(x_169); -x_171 = lean_st_ref_get(x_3, x_170); -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_171, 1); -lean_inc(x_173); -lean_dec(x_171); -x_174 = lean_ctor_get(x_172, 7); -lean_inc(x_174); -lean_dec(x_172); -x_175 = lean_ctor_get(x_174, 1); -lean_inc(x_175); -lean_dec(x_174); -x_176 = lean_st_ref_get(x_3, x_173); -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -x_179 = lean_ctor_get(x_177, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_177, 2); -lean_inc(x_180); -lean_dec(x_177); -x_181 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_180); -lean_dec(x_180); -lean_inc(x_1); -x_182 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_182, 0, x_1); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_175); -x_184 = lean_ctor_get(x_181, 1); -lean_inc(x_184); -x_185 = lean_ctor_get(x_181, 2); -lean_inc(x_185); -x_186 = lean_ctor_get(x_181, 3); -lean_inc(x_186); -lean_dec(x_181); -x_187 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1; -lean_inc(x_104); -x_188 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_188, 0, x_179); -lean_ctor_set(x_188, 1, x_104); -lean_ctor_set(x_188, 2, x_187); -lean_ctor_set(x_188, 3, x_184); -lean_ctor_set(x_188, 4, x_185); -lean_ctor_set(x_188, 5, x_186); -x_189 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_183); -x_190 = lean_st_ref_get(x_3, x_178); -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 1); -lean_inc(x_192); -lean_dec(x_190); -x_193 = lean_ctor_get(x_191, 2); -lean_inc(x_193); -lean_dec(x_191); -x_194 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_193); -lean_dec(x_193); -x_195 = lean_ctor_get(x_194, 1); -lean_inc(x_195); -lean_dec(x_194); -x_196 = l_Lean_Elab_Command_elabCommand___closed__4; -x_197 = l_Lean_checkTraceOption(x_195, x_196); -lean_dec(x_195); -if (x_197 == 0) -{ -lean_dec(x_109); -lean_dec(x_102); -x_133 = x_189; -x_134 = x_192; -goto block_168; -} -else -{ -lean_object* x_198; lean_object* x_199; -x_198 = lean_box(0); -lean_inc(x_189); -x_199 = l_Lean_Elab_InfoTree_format(x_189, x_198, x_192); -if (lean_obj_tag(x_199) == 0) -{ -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_dec(x_102); -x_200 = lean_ctor_get(x_199, 0); -lean_inc(x_200); -x_201 = lean_ctor_get(x_199, 1); -lean_inc(x_201); -lean_dec(x_199); -x_202 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_202, 0, x_200); -x_203 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_204 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_202); -x_205 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_205, 0, x_204); -lean_ctor_set(x_205, 1, x_203); -x_206 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(x_196, x_205, x_109, x_3, x_201); -lean_dec(x_109); -x_207 = lean_ctor_get(x_206, 1); -lean_inc(x_207); -lean_dec(x_206); -x_133 = x_189; -x_134 = x_207; -goto block_168; -} -else -{ -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_dec(x_189); -lean_dec(x_131); -lean_dec(x_109); -x_208 = lean_ctor_get(x_199, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_199, 1); -lean_inc(x_209); -lean_dec(x_199); -x_210 = lean_io_error_to_string(x_208); -x_211 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_211, 0, x_210); -x_212 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_212, 0, x_211); -x_213 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_213, 0, x_102); -lean_ctor_set(x_213, 1, x_212); -x_40 = x_213; -x_41 = x_209; -goto block_98; -} -} -} -block_296: -{ -lean_object* x_217; lean_object* x_218; 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; uint8_t x_279; -x_253 = lean_st_ref_get(x_3, x_216); -x_254 = lean_ctor_get(x_253, 0); -lean_inc(x_254); -x_255 = lean_ctor_get(x_253, 1); -lean_inc(x_255); -lean_dec(x_253); -x_256 = lean_ctor_get(x_254, 7); -lean_inc(x_256); -lean_dec(x_254); -x_257 = lean_ctor_get(x_256, 1); -lean_inc(x_257); -lean_dec(x_256); -x_258 = lean_st_ref_get(x_3, x_255); -x_259 = lean_ctor_get(x_258, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_258, 1); -lean_inc(x_260); -lean_dec(x_258); -x_261 = lean_ctor_get(x_259, 0); -lean_inc(x_261); -x_262 = lean_ctor_get(x_259, 2); -lean_inc(x_262); -lean_dec(x_259); -x_263 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_262); -lean_dec(x_262); -lean_inc(x_1); -x_264 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_264, 0, x_1); -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_257); -x_266 = lean_ctor_get(x_263, 1); -lean_inc(x_266); -x_267 = lean_ctor_get(x_263, 2); -lean_inc(x_267); -x_268 = lean_ctor_get(x_263, 3); -lean_inc(x_268); -lean_dec(x_263); -x_269 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1; -lean_inc(x_104); -x_270 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_270, 0, x_261); -lean_ctor_set(x_270, 1, x_104); -lean_ctor_set(x_270, 2, x_269); -lean_ctor_set(x_270, 3, x_266); -lean_ctor_set(x_270, 4, x_267); -lean_ctor_set(x_270, 5, x_268); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_265); -x_272 = lean_st_ref_get(x_3, x_260); -x_273 = lean_ctor_get(x_272, 0); -lean_inc(x_273); -x_274 = lean_ctor_get(x_272, 1); -lean_inc(x_274); -lean_dec(x_272); -x_275 = lean_ctor_get(x_273, 2); -lean_inc(x_275); -lean_dec(x_273); -x_276 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_275); -lean_dec(x_275); -x_277 = lean_ctor_get(x_276, 1); -lean_inc(x_277); -lean_dec(x_276); -x_278 = l_Lean_Elab_Command_elabCommand___closed__4; -x_279 = l_Lean_checkTraceOption(x_277, x_278); -lean_dec(x_277); -if (x_279 == 0) -{ -lean_dec(x_109); -lean_dec(x_102); -x_217 = x_271; -x_218 = x_274; -goto block_252; -} -else -{ -lean_object* x_280; lean_object* x_281; -x_280 = lean_box(0); -lean_inc(x_271); -x_281 = l_Lean_Elab_InfoTree_format(x_271, x_280, x_274); -if (lean_obj_tag(x_281) == 0) -{ -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_dec(x_102); -x_282 = lean_ctor_get(x_281, 0); -lean_inc(x_282); -x_283 = lean_ctor_get(x_281, 1); -lean_inc(x_283); -lean_dec(x_281); -x_284 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_284, 0, x_282); -x_285 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_286 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_284); -x_287 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_285); -x_288 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(x_278, x_287, x_109, x_3, x_283); -lean_dec(x_109); -x_289 = lean_ctor_get(x_288, 1); -lean_inc(x_289); -lean_dec(x_288); -x_217 = x_271; -x_218 = x_289; -goto block_252; -} -else -{ -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_dec(x_271); -lean_dec(x_215); -lean_dec(x_131); -lean_dec(x_109); -x_290 = lean_ctor_get(x_281, 0); -lean_inc(x_290); -x_291 = lean_ctor_get(x_281, 1); -lean_inc(x_291); -lean_dec(x_281); -x_292 = lean_io_error_to_string(x_290); -x_293 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_293, 0, x_292); -x_294 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_294, 0, x_293); -x_295 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_295, 0, x_102); -lean_ctor_set(x_295, 1, x_294); -x_40 = x_295; -x_41 = x_291; -goto block_98; -} -} -block_252: -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; -x_219 = lean_st_ref_take(x_3, x_218); -x_220 = lean_ctor_get(x_219, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_220, 7); -lean_inc(x_221); -x_222 = lean_ctor_get(x_219, 1); -lean_inc(x_222); -lean_dec(x_219); -x_223 = !lean_is_exclusive(x_220); -if (x_223 == 0) -{ -lean_object* x_224; uint8_t x_225; -x_224 = lean_ctor_get(x_220, 7); -lean_dec(x_224); -x_225 = !lean_is_exclusive(x_221); -if (x_225 == 0) -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_226 = lean_ctor_get(x_221, 1); -lean_dec(x_226); -x_227 = l_Std_PersistentArray_push___rarg(x_131, x_217); -lean_ctor_set(x_221, 1, x_227); -x_228 = lean_st_ref_set(x_3, x_220, x_222); -x_229 = lean_ctor_get(x_228, 1); -lean_inc(x_229); -lean_dec(x_228); -x_40 = x_215; -x_41 = x_229; -goto block_98; -} -else -{ -uint8_t x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_230 = lean_ctor_get_uint8(x_221, sizeof(void*)*2); -x_231 = lean_ctor_get(x_221, 0); -lean_inc(x_231); -lean_dec(x_221); -x_232 = l_Std_PersistentArray_push___rarg(x_131, x_217); -x_233 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_233, 0, x_231); -lean_ctor_set(x_233, 1, x_232); -lean_ctor_set_uint8(x_233, sizeof(void*)*2, x_230); -lean_ctor_set(x_220, 7, x_233); -x_234 = lean_st_ref_set(x_3, x_220, x_222); -x_235 = lean_ctor_get(x_234, 1); -lean_inc(x_235); -lean_dec(x_234); -x_40 = x_215; -x_41 = x_235; -goto block_98; -} -} -else -{ -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t 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; -x_236 = lean_ctor_get(x_220, 0); -x_237 = lean_ctor_get(x_220, 1); -x_238 = lean_ctor_get(x_220, 2); -x_239 = lean_ctor_get(x_220, 3); -x_240 = lean_ctor_get(x_220, 4); -x_241 = lean_ctor_get(x_220, 5); -x_242 = lean_ctor_get(x_220, 6); -x_243 = lean_ctor_get(x_220, 8); -lean_inc(x_243); -lean_inc(x_242); -lean_inc(x_241); -lean_inc(x_240); -lean_inc(x_239); -lean_inc(x_238); -lean_inc(x_237); -lean_inc(x_236); -lean_dec(x_220); -x_244 = lean_ctor_get_uint8(x_221, sizeof(void*)*2); -x_245 = lean_ctor_get(x_221, 0); -lean_inc(x_245); -if (lean_is_exclusive(x_221)) { - lean_ctor_release(x_221, 0); - lean_ctor_release(x_221, 1); - x_246 = x_221; -} else { - lean_dec_ref(x_221); - x_246 = lean_box(0); -} -x_247 = l_Std_PersistentArray_push___rarg(x_131, x_217); -if (lean_is_scalar(x_246)) { - x_248 = lean_alloc_ctor(0, 2, 1); -} else { - x_248 = x_246; -} -lean_ctor_set(x_248, 0, x_245); -lean_ctor_set(x_248, 1, x_247); -lean_ctor_set_uint8(x_248, sizeof(void*)*2, x_244); -x_249 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_249, 0, x_236); -lean_ctor_set(x_249, 1, x_237); -lean_ctor_set(x_249, 2, x_238); -lean_ctor_set(x_249, 3, x_239); -lean_ctor_set(x_249, 4, x_240); -lean_ctor_set(x_249, 5, x_241); -lean_ctor_set(x_249, 6, x_242); -lean_ctor_set(x_249, 7, x_248); -lean_ctor_set(x_249, 8, x_243); -x_250 = lean_st_ref_set(x_3, x_249, x_222); -x_251 = lean_ctor_get(x_250, 1); -lean_inc(x_251); -lean_dec(x_250); -x_40 = x_215; -x_41 = x_251; -goto block_98; -} -} -} -} block_39: { 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; uint8_t x_25; @@ -14799,874 +15923,344 @@ goto block_39; } else { -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_352; lean_object* x_353; 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; uint8_t x_398; -x_312 = lean_ctor_get(x_6, 0); -x_313 = lean_ctor_get(x_6, 1); -x_314 = lean_ctor_get(x_6, 2); -x_315 = lean_ctor_get(x_6, 3); -x_316 = lean_ctor_get(x_6, 4); -x_317 = lean_ctor_get(x_6, 5); -x_318 = lean_ctor_get(x_6, 6); -x_319 = lean_ctor_get(x_6, 7); -x_320 = lean_ctor_get(x_6, 8); -lean_inc(x_320); -lean_inc(x_319); -lean_inc(x_318); -lean_inc(x_317); -lean_inc(x_316); -lean_inc(x_315); -lean_inc(x_314); -lean_inc(x_313); -lean_inc(x_312); +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_164; lean_object* x_165; 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; uint8_t x_211; +x_124 = lean_ctor_get(x_6, 0); +x_125 = lean_ctor_get(x_6, 1); +x_126 = lean_ctor_get(x_6, 2); +x_127 = lean_ctor_get(x_6, 3); +x_128 = lean_ctor_get(x_6, 4); +x_129 = lean_ctor_get(x_6, 5); +x_130 = lean_ctor_get(x_6, 6); +x_131 = lean_ctor_get(x_6, 7); +x_132 = lean_ctor_get(x_6, 8); +lean_inc(x_132); +lean_inc(x_131); +lean_inc(x_130); +lean_inc(x_129); +lean_inc(x_128); +lean_inc(x_127); +lean_inc(x_126); +lean_inc(x_125); +lean_inc(x_124); lean_dec(x_6); -x_321 = l_Lean_Elab_Command_State_messages___default___closed__3; -x_322 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_322, 0, x_312); -lean_ctor_set(x_322, 1, x_321); -lean_ctor_set(x_322, 2, x_314); -lean_ctor_set(x_322, 3, x_315); -lean_ctor_set(x_322, 4, x_316); -lean_ctor_set(x_322, 5, x_317); -lean_ctor_set(x_322, 6, x_318); -lean_ctor_set(x_322, 7, x_319); -lean_ctor_set(x_322, 8, x_320); -x_323 = lean_st_ref_set(x_3, x_322, x_7); -x_324 = lean_ctor_get(x_323, 1); -lean_inc(x_324); -lean_dec(x_323); -x_384 = l_Lean_Elab_Command_getRef(x_2, x_3, x_324); -x_385 = lean_ctor_get(x_384, 0); -lean_inc(x_385); -x_386 = lean_ctor_get(x_384, 1); -lean_inc(x_386); -lean_dec(x_384); -x_387 = l_Lean_replaceRef(x_1, x_385); -lean_dec(x_385); -x_388 = lean_ctor_get(x_2, 0); -x_389 = lean_ctor_get(x_2, 1); -x_390 = lean_ctor_get(x_2, 2); -x_391 = lean_ctor_get(x_2, 3); -x_392 = lean_ctor_get(x_2, 4); -x_393 = lean_ctor_get(x_2, 5); -lean_inc(x_387); -lean_inc(x_393); -lean_inc(x_392); -lean_inc(x_391); -lean_inc(x_390); -lean_inc(x_389); -lean_inc(x_388); -x_394 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_394, 0, x_388); -lean_ctor_set(x_394, 1, x_389); -lean_ctor_set(x_394, 2, x_390); -lean_ctor_set(x_394, 3, x_391); -lean_ctor_set(x_394, 4, x_392); -lean_ctor_set(x_394, 5, x_393); -lean_ctor_set(x_394, 6, x_387); -x_395 = lean_st_ref_get(x_3, x_386); -x_396 = lean_ctor_get(x_395, 0); -lean_inc(x_396); -x_397 = lean_ctor_get(x_396, 7); -lean_inc(x_397); -lean_dec(x_396); -x_398 = lean_ctor_get_uint8(x_397, sizeof(void*)*2); -lean_dec(x_397); -if (x_398 == 0) +x_133 = l_Lean_Elab_Command_State_messages___default___closed__3; +x_134 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_134, 0, x_124); +lean_ctor_set(x_134, 1, x_133); +lean_ctor_set(x_134, 2, x_126); +lean_ctor_set(x_134, 3, x_127); +lean_ctor_set(x_134, 4, x_128); +lean_ctor_set(x_134, 5, x_129); +lean_ctor_set(x_134, 6, x_130); +lean_ctor_set(x_134, 7, x_131); +lean_ctor_set(x_134, 8, x_132); +x_135 = lean_st_ref_set(x_3, x_134, x_7); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +lean_dec(x_135); +x_196 = l_Lean_Elab_Command_getRef(x_2, x_3, x_136); +x_197 = lean_ctor_get(x_196, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_196, 1); +lean_inc(x_198); +lean_dec(x_196); +x_199 = l_Lean_replaceRef(x_1, x_197); +lean_dec(x_197); +x_200 = lean_ctor_get(x_2, 0); +x_201 = lean_ctor_get(x_2, 1); +x_202 = lean_ctor_get(x_2, 2); +x_203 = lean_ctor_get(x_2, 3); +x_204 = lean_ctor_get(x_2, 4); +x_205 = lean_ctor_get(x_2, 5); +lean_inc(x_205); +lean_inc(x_204); +lean_inc(x_203); +lean_inc(x_202); +lean_inc(x_201); +lean_inc(x_200); +x_206 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_206, 0, x_200); +lean_ctor_set(x_206, 1, x_201); +lean_ctor_set(x_206, 2, x_202); +lean_ctor_set(x_206, 3, x_203); +lean_ctor_set(x_206, 4, x_204); +lean_ctor_set(x_206, 5, x_205); +lean_ctor_set(x_206, 6, x_199); +x_207 = lean_st_ref_get(x_3, x_198); +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, 4); +lean_inc(x_210); +lean_dec(x_208); +x_211 = lean_nat_dec_eq(x_202, x_210); +lean_dec(x_210); +if (x_211 == 0) { -lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; uint8_t x_404; -lean_dec(x_387); -x_399 = lean_ctor_get(x_395, 1); -lean_inc(x_399); -lean_dec(x_395); -x_400 = lean_st_ref_get(x_3, x_399); -x_401 = lean_ctor_get(x_400, 0); -lean_inc(x_401); -x_402 = lean_ctor_get(x_400, 1); -lean_inc(x_402); -lean_dec(x_400); -x_403 = lean_ctor_get(x_401, 4); -lean_inc(x_403); -lean_dec(x_401); -x_404 = lean_nat_dec_eq(x_390, x_403); -lean_dec(x_403); -if (x_404 == 0) -{ -lean_object* x_405; lean_object* x_406; -x_405 = lean_box(0); +lean_object* x_212; lean_object* x_213; +x_212 = lean_box(0); lean_inc(x_3); lean_inc(x_1); -x_406 = l_Lean_Elab_Command_elabCommand___lambda__5(x_390, x_1, x_405, x_394, x_3, x_402); -if (lean_obj_tag(x_406) == 0) +x_213 = l_Lean_Elab_Command_elabCommand___lambda__2(x_202, x_1, x_212, x_206, x_3, x_209); +if (lean_obj_tag(x_213) == 0) { -lean_object* x_407; -x_407 = lean_ctor_get(x_406, 1); -lean_inc(x_407); -lean_dec(x_406); -x_325 = x_407; -goto block_351; +lean_object* x_214; +x_214 = lean_ctor_get(x_213, 1); +lean_inc(x_214); +lean_dec(x_213); +x_137 = x_214; +goto block_163; } else { -lean_object* x_408; lean_object* x_409; -x_408 = lean_ctor_get(x_406, 0); -lean_inc(x_408); -x_409 = lean_ctor_get(x_406, 1); -lean_inc(x_409); -lean_dec(x_406); -x_352 = x_408; -x_353 = x_409; -goto block_383; +lean_object* x_215; lean_object* x_216; +x_215 = lean_ctor_get(x_213, 0); +lean_inc(x_215); +x_216 = lean_ctor_get(x_213, 1); +lean_inc(x_216); +lean_dec(x_213); +x_164 = x_215; +x_165 = x_216; +goto block_195; } } else { -lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; -x_410 = l_Lean_Elab_Command_elabCommand___closed__2; -x_411 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_410, x_394, x_3, x_402); -x_412 = lean_ctor_get(x_411, 0); -lean_inc(x_412); -x_413 = lean_ctor_get(x_411, 1); -lean_inc(x_413); -lean_dec(x_411); -x_352 = x_412; -x_353 = x_413; -goto block_383; +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +x_217 = l_Lean_Elab_Command_elabCommand___closed__2; +x_218 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_217, x_206, x_3, x_209); +x_219 = lean_ctor_get(x_218, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_218, 1); +lean_inc(x_220); +lean_dec(x_218); +x_164 = x_219; +x_165 = x_220; +goto block_195; } -} -else +block_163: { -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_442; lean_object* x_443; lean_object* x_488; lean_object* x_489; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; uint8_t x_562; -x_414 = lean_ctor_get(x_395, 1); -lean_inc(x_414); -lean_dec(x_395); -x_415 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_3, x_414); -x_416 = lean_ctor_get(x_415, 0); -lean_inc(x_416); -x_417 = lean_ctor_get(x_415, 1); -lean_inc(x_417); -lean_dec(x_415); -x_558 = lean_st_ref_get(x_3, x_417); -x_559 = lean_ctor_get(x_558, 0); -lean_inc(x_559); -x_560 = lean_ctor_get(x_558, 1); -lean_inc(x_560); -lean_dec(x_558); -x_561 = lean_ctor_get(x_559, 4); -lean_inc(x_561); -lean_dec(x_559); -x_562 = lean_nat_dec_eq(x_390, x_561); -lean_dec(x_561); -if (x_562 == 0) +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; uint8_t x_149; +x_138 = lean_st_ref_get(x_3, x_137); +x_139 = lean_ctor_get(x_138, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_138, 1); +lean_inc(x_140); +lean_dec(x_138); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec(x_139); +x_142 = lean_st_ref_get(x_3, x_140); +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +lean_dec(x_142); +x_145 = lean_ctor_get(x_143, 2); +lean_inc(x_145); +lean_dec(x_143); +x_146 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_145); +lean_dec(x_145); +x_147 = lean_ctor_get(x_146, 1); +lean_inc(x_147); +lean_dec(x_146); +x_148 = l_Lean_Elab_Command_showPartialSyntaxErrors; +x_149 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_147, x_148); +lean_dec(x_147); +if (x_149 == 0) { -lean_object* x_563; lean_object* x_564; -x_563 = lean_box(0); -lean_inc(x_3); -lean_inc(x_394); -lean_inc(x_1); -x_564 = l_Lean_Elab_Command_elabCommand___lambda__5(x_390, x_1, x_563, x_394, x_3, x_560); -if (lean_obj_tag(x_564) == 0) +uint8_t x_150; +x_150 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_125); +if (x_150 == 0) { -lean_object* x_565; lean_object* x_566; -x_565 = lean_ctor_get(x_564, 0); -lean_inc(x_565); -x_566 = lean_ctor_get(x_564, 1); -lean_inc(x_566); -lean_dec(x_564); -x_442 = x_565; -x_443 = x_566; -goto block_487; -} -else -{ -lean_object* x_567; lean_object* x_568; -x_567 = lean_ctor_get(x_564, 0); -lean_inc(x_567); -x_568 = lean_ctor_get(x_564, 1); -lean_inc(x_568); -lean_dec(x_564); -x_488 = x_567; -x_489 = x_568; -goto block_557; -} -} -else -{ -lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; -x_569 = l_Lean_Elab_Command_elabCommand___closed__2; -lean_inc(x_394); -x_570 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_569, x_394, x_3, x_560); -x_571 = lean_ctor_get(x_570, 0); -lean_inc(x_571); -x_572 = lean_ctor_get(x_570, 1); -lean_inc(x_572); -lean_dec(x_570); -x_488 = x_571; -x_489 = x_572; -goto block_557; -} -block_441: -{ -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; 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; -x_420 = lean_st_ref_take(x_3, x_419); -x_421 = lean_ctor_get(x_420, 0); -lean_inc(x_421); -x_422 = lean_ctor_get(x_421, 7); -lean_inc(x_422); -x_423 = lean_ctor_get(x_420, 1); -lean_inc(x_423); -lean_dec(x_420); -x_424 = lean_ctor_get(x_421, 0); -lean_inc(x_424); -x_425 = lean_ctor_get(x_421, 1); -lean_inc(x_425); -x_426 = lean_ctor_get(x_421, 2); -lean_inc(x_426); -x_427 = lean_ctor_get(x_421, 3); -lean_inc(x_427); -x_428 = lean_ctor_get(x_421, 4); -lean_inc(x_428); -x_429 = lean_ctor_get(x_421, 5); -lean_inc(x_429); -x_430 = lean_ctor_get(x_421, 6); -lean_inc(x_430); -x_431 = lean_ctor_get(x_421, 8); -lean_inc(x_431); -if (lean_is_exclusive(x_421)) { - lean_ctor_release(x_421, 0); - lean_ctor_release(x_421, 1); - lean_ctor_release(x_421, 2); - lean_ctor_release(x_421, 3); - lean_ctor_release(x_421, 4); - lean_ctor_release(x_421, 5); - lean_ctor_release(x_421, 6); - lean_ctor_release(x_421, 7); - lean_ctor_release(x_421, 8); - x_432 = x_421; -} else { - lean_dec_ref(x_421); - x_432 = lean_box(0); -} -x_433 = lean_ctor_get_uint8(x_422, sizeof(void*)*2); -x_434 = lean_ctor_get(x_422, 0); -lean_inc(x_434); -if (lean_is_exclusive(x_422)) { - lean_ctor_release(x_422, 0); - lean_ctor_release(x_422, 1); - x_435 = x_422; -} else { - lean_dec_ref(x_422); - x_435 = lean_box(0); -} -x_436 = l_Std_PersistentArray_push___rarg(x_416, x_418); -if (lean_is_scalar(x_435)) { - x_437 = lean_alloc_ctor(0, 2, 1); -} else { - x_437 = x_435; -} -lean_ctor_set(x_437, 0, x_434); -lean_ctor_set(x_437, 1, x_436); -lean_ctor_set_uint8(x_437, sizeof(void*)*2, x_433); -if (lean_is_scalar(x_432)) { - x_438 = lean_alloc_ctor(0, 9, 0); -} else { - x_438 = x_432; -} -lean_ctor_set(x_438, 0, x_424); -lean_ctor_set(x_438, 1, x_425); -lean_ctor_set(x_438, 2, x_426); -lean_ctor_set(x_438, 3, x_427); -lean_ctor_set(x_438, 4, x_428); -lean_ctor_set(x_438, 5, x_429); -lean_ctor_set(x_438, 6, x_430); -lean_ctor_set(x_438, 7, x_437); -lean_ctor_set(x_438, 8, x_431); -x_439 = lean_st_ref_set(x_3, x_438, x_423); -x_440 = lean_ctor_get(x_439, 1); -lean_inc(x_440); -lean_dec(x_439); -x_325 = x_440; -goto block_351; -} -block_487: -{ -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; uint8_t x_470; -lean_dec(x_442); -x_444 = lean_st_ref_get(x_3, x_443); -x_445 = lean_ctor_get(x_444, 0); -lean_inc(x_445); -x_446 = lean_ctor_get(x_444, 1); -lean_inc(x_446); -lean_dec(x_444); -x_447 = lean_ctor_get(x_445, 7); -lean_inc(x_447); -lean_dec(x_445); -x_448 = lean_ctor_get(x_447, 1); -lean_inc(x_448); -lean_dec(x_447); -x_449 = lean_st_ref_get(x_3, x_446); -x_450 = lean_ctor_get(x_449, 0); -lean_inc(x_450); -x_451 = lean_ctor_get(x_449, 1); -lean_inc(x_451); -lean_dec(x_449); -x_452 = lean_ctor_get(x_450, 0); -lean_inc(x_452); -x_453 = lean_ctor_get(x_450, 2); -lean_inc(x_453); -lean_dec(x_450); -x_454 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_453); -lean_dec(x_453); -lean_inc(x_1); -x_455 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_455, 0, x_1); -x_456 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_456, 0, x_455); -lean_ctor_set(x_456, 1, x_448); -x_457 = lean_ctor_get(x_454, 1); -lean_inc(x_457); -x_458 = lean_ctor_get(x_454, 2); -lean_inc(x_458); -x_459 = lean_ctor_get(x_454, 3); -lean_inc(x_459); -lean_dec(x_454); -x_460 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1; -lean_inc(x_389); -x_461 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_461, 0, x_452); -lean_ctor_set(x_461, 1, x_389); -lean_ctor_set(x_461, 2, x_460); -lean_ctor_set(x_461, 3, x_457); -lean_ctor_set(x_461, 4, x_458); -lean_ctor_set(x_461, 5, x_459); -x_462 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_462, 0, x_461); -lean_ctor_set(x_462, 1, x_456); -x_463 = lean_st_ref_get(x_3, x_451); -x_464 = lean_ctor_get(x_463, 0); -lean_inc(x_464); -x_465 = lean_ctor_get(x_463, 1); -lean_inc(x_465); -lean_dec(x_463); -x_466 = lean_ctor_get(x_464, 2); -lean_inc(x_466); -lean_dec(x_464); -x_467 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_466); -lean_dec(x_466); -x_468 = lean_ctor_get(x_467, 1); -lean_inc(x_468); -lean_dec(x_467); -x_469 = l_Lean_Elab_Command_elabCommand___closed__4; -x_470 = l_Lean_checkTraceOption(x_468, x_469); -lean_dec(x_468); -if (x_470 == 0) -{ -lean_dec(x_394); -lean_dec(x_387); -x_418 = x_462; -x_419 = x_465; -goto block_441; -} -else -{ -lean_object* x_471; lean_object* x_472; -x_471 = lean_box(0); -lean_inc(x_462); -x_472 = l_Lean_Elab_InfoTree_format(x_462, x_471, x_465); -if (lean_obj_tag(x_472) == 0) -{ -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_dec(x_387); -x_473 = lean_ctor_get(x_472, 0); -lean_inc(x_473); -x_474 = lean_ctor_get(x_472, 1); -lean_inc(x_474); -lean_dec(x_472); -x_475 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_475, 0, x_473); -x_476 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_477 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_477, 0, x_476); -lean_ctor_set(x_477, 1, x_475); -x_478 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_478, 0, x_477); -lean_ctor_set(x_478, 1, x_476); -x_479 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(x_469, x_478, x_394, x_3, x_474); -lean_dec(x_394); -x_480 = lean_ctor_get(x_479, 1); -lean_inc(x_480); -lean_dec(x_479); -x_418 = x_462; -x_419 = x_480; -goto block_441; -} -else -{ -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_dec(x_462); -lean_dec(x_416); -lean_dec(x_394); -x_481 = lean_ctor_get(x_472, 0); -lean_inc(x_481); -x_482 = lean_ctor_get(x_472, 1); -lean_inc(x_482); -lean_dec(x_472); -x_483 = lean_io_error_to_string(x_481); -x_484 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_484, 0, x_483); -x_485 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_485, 0, x_484); -x_486 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_486, 0, x_387); -lean_ctor_set(x_486, 1, x_485); -x_352 = x_486; -x_353 = x_482; -goto block_383; -} -} -} -block_557: -{ -lean_object* x_490; lean_object* x_491; 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; uint8_t x_540; -x_514 = lean_st_ref_get(x_3, x_489); -x_515 = lean_ctor_get(x_514, 0); -lean_inc(x_515); -x_516 = lean_ctor_get(x_514, 1); -lean_inc(x_516); -lean_dec(x_514); -x_517 = lean_ctor_get(x_515, 7); -lean_inc(x_517); -lean_dec(x_515); -x_518 = lean_ctor_get(x_517, 1); -lean_inc(x_518); -lean_dec(x_517); -x_519 = lean_st_ref_get(x_3, x_516); -x_520 = lean_ctor_get(x_519, 0); -lean_inc(x_520); -x_521 = lean_ctor_get(x_519, 1); -lean_inc(x_521); -lean_dec(x_519); -x_522 = lean_ctor_get(x_520, 0); -lean_inc(x_522); -x_523 = lean_ctor_get(x_520, 2); -lean_inc(x_523); -lean_dec(x_520); -x_524 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_523); -lean_dec(x_523); -lean_inc(x_1); -x_525 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_525, 0, x_1); -x_526 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_526, 0, x_525); -lean_ctor_set(x_526, 1, x_518); -x_527 = lean_ctor_get(x_524, 1); -lean_inc(x_527); -x_528 = lean_ctor_get(x_524, 2); -lean_inc(x_528); -x_529 = lean_ctor_get(x_524, 3); -lean_inc(x_529); -lean_dec(x_524); -x_530 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1; -lean_inc(x_389); -x_531 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_531, 0, x_522); -lean_ctor_set(x_531, 1, x_389); -lean_ctor_set(x_531, 2, x_530); -lean_ctor_set(x_531, 3, x_527); -lean_ctor_set(x_531, 4, x_528); -lean_ctor_set(x_531, 5, x_529); -x_532 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_532, 0, x_531); -lean_ctor_set(x_532, 1, x_526); -x_533 = lean_st_ref_get(x_3, x_521); -x_534 = lean_ctor_get(x_533, 0); -lean_inc(x_534); -x_535 = lean_ctor_get(x_533, 1); -lean_inc(x_535); -lean_dec(x_533); -x_536 = lean_ctor_get(x_534, 2); -lean_inc(x_536); -lean_dec(x_534); -x_537 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_536); -lean_dec(x_536); -x_538 = lean_ctor_get(x_537, 1); -lean_inc(x_538); -lean_dec(x_537); -x_539 = l_Lean_Elab_Command_elabCommand___closed__4; -x_540 = l_Lean_checkTraceOption(x_538, x_539); -lean_dec(x_538); -if (x_540 == 0) -{ -lean_dec(x_394); -lean_dec(x_387); -x_490 = x_532; -x_491 = x_535; -goto block_513; -} -else -{ -lean_object* x_541; lean_object* x_542; -x_541 = lean_box(0); -lean_inc(x_532); -x_542 = l_Lean_Elab_InfoTree_format(x_532, x_541, x_535); -if (lean_obj_tag(x_542) == 0) -{ -lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; -lean_dec(x_387); -x_543 = lean_ctor_get(x_542, 0); -lean_inc(x_543); -x_544 = lean_ctor_get(x_542, 1); -lean_inc(x_544); -lean_dec(x_542); -x_545 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_545, 0, x_543); -x_546 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_547 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_547, 0, x_546); -lean_ctor_set(x_547, 1, x_545); -x_548 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_548, 0, x_547); -lean_ctor_set(x_548, 1, x_546); -x_549 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(x_539, x_548, x_394, x_3, x_544); -lean_dec(x_394); -x_550 = lean_ctor_get(x_549, 1); -lean_inc(x_550); -lean_dec(x_549); -x_490 = x_532; -x_491 = x_550; -goto block_513; -} -else -{ -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_532); -lean_dec(x_488); -lean_dec(x_416); -lean_dec(x_394); -x_551 = lean_ctor_get(x_542, 0); -lean_inc(x_551); -x_552 = lean_ctor_get(x_542, 1); -lean_inc(x_552); -lean_dec(x_542); -x_553 = lean_io_error_to_string(x_551); -x_554 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_554, 0, x_553); -x_555 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_555, 0, x_554); -x_556 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_556, 0, x_387); -lean_ctor_set(x_556, 1, x_555); -x_352 = x_556; -x_353 = x_552; -goto block_383; -} -} -block_513: -{ -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; uint8_t 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; -x_492 = lean_st_ref_take(x_3, x_491); -x_493 = lean_ctor_get(x_492, 0); -lean_inc(x_493); -x_494 = lean_ctor_get(x_493, 7); -lean_inc(x_494); -x_495 = lean_ctor_get(x_492, 1); -lean_inc(x_495); -lean_dec(x_492); -x_496 = lean_ctor_get(x_493, 0); -lean_inc(x_496); -x_497 = lean_ctor_get(x_493, 1); -lean_inc(x_497); -x_498 = lean_ctor_get(x_493, 2); -lean_inc(x_498); -x_499 = lean_ctor_get(x_493, 3); -lean_inc(x_499); -x_500 = lean_ctor_get(x_493, 4); -lean_inc(x_500); -x_501 = lean_ctor_get(x_493, 5); -lean_inc(x_501); -x_502 = lean_ctor_get(x_493, 6); -lean_inc(x_502); -x_503 = lean_ctor_get(x_493, 8); -lean_inc(x_503); -if (lean_is_exclusive(x_493)) { - lean_ctor_release(x_493, 0); - lean_ctor_release(x_493, 1); - lean_ctor_release(x_493, 2); - lean_ctor_release(x_493, 3); - lean_ctor_release(x_493, 4); - lean_ctor_release(x_493, 5); - lean_ctor_release(x_493, 6); - lean_ctor_release(x_493, 7); - lean_ctor_release(x_493, 8); - x_504 = x_493; -} else { - lean_dec_ref(x_493); - x_504 = lean_box(0); -} -x_505 = lean_ctor_get_uint8(x_494, sizeof(void*)*2); -x_506 = lean_ctor_get(x_494, 0); -lean_inc(x_506); -if (lean_is_exclusive(x_494)) { - lean_ctor_release(x_494, 0); - lean_ctor_release(x_494, 1); - x_507 = x_494; -} else { - lean_dec_ref(x_494); - x_507 = lean_box(0); -} -x_508 = l_Std_PersistentArray_push___rarg(x_416, x_490); -if (lean_is_scalar(x_507)) { - x_509 = lean_alloc_ctor(0, 2, 1); -} else { - x_509 = x_507; -} -lean_ctor_set(x_509, 0, x_506); -lean_ctor_set(x_509, 1, x_508); -lean_ctor_set_uint8(x_509, sizeof(void*)*2, x_505); -if (lean_is_scalar(x_504)) { - x_510 = lean_alloc_ctor(0, 9, 0); -} else { - x_510 = x_504; -} -lean_ctor_set(x_510, 0, x_496); -lean_ctor_set(x_510, 1, x_497); -lean_ctor_set(x_510, 2, x_498); -lean_ctor_set(x_510, 3, x_499); -lean_ctor_set(x_510, 4, x_500); -lean_ctor_set(x_510, 5, x_501); -lean_ctor_set(x_510, 6, x_502); -lean_ctor_set(x_510, 7, x_509); -lean_ctor_set(x_510, 8, x_503); -x_511 = lean_st_ref_set(x_3, x_510, x_495); -x_512 = lean_ctor_get(x_511, 1); -lean_inc(x_512); -lean_dec(x_511); -x_352 = x_488; -x_353 = x_512; -goto block_383; -} -} -} -block_351: -{ -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; uint8_t x_337; -x_326 = lean_st_ref_get(x_3, x_325); -x_327 = lean_ctor_get(x_326, 0); -lean_inc(x_327); -x_328 = lean_ctor_get(x_326, 1); -lean_inc(x_328); -lean_dec(x_326); -x_329 = lean_ctor_get(x_327, 1); -lean_inc(x_329); -lean_dec(x_327); -x_330 = lean_st_ref_get(x_3, x_328); -x_331 = lean_ctor_get(x_330, 0); -lean_inc(x_331); -x_332 = lean_ctor_get(x_330, 1); -lean_inc(x_332); -lean_dec(x_330); -x_333 = lean_ctor_get(x_331, 2); -lean_inc(x_333); -lean_dec(x_331); -x_334 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_333); -lean_dec(x_333); -x_335 = lean_ctor_get(x_334, 1); -lean_inc(x_335); -lean_dec(x_334); -x_336 = l_Lean_Elab_Command_showPartialSyntaxErrors; -x_337 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_335, x_336); -lean_dec(x_335); -if (x_337 == 0) -{ -uint8_t x_338; -x_338 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_313); -if (x_338 == 0) -{ -lean_object* x_339; lean_object* x_340; +lean_object* x_151; lean_object* x_152; lean_dec(x_1); -x_339 = lean_box(0); -x_340 = l_Lean_Elab_Command_elabCommand___lambda__1(x_313, x_329, x_339, x_2, x_3, x_332); +x_151 = lean_box(0); +x_152 = l_Lean_Elab_Command_elabCommand___lambda__1(x_125, x_141, x_151, x_2, x_3, x_144); lean_dec(x_3); -lean_dec(x_329); -return x_340; +lean_dec(x_141); +return x_152; } else { -lean_object* x_341; uint8_t x_342; -x_341 = l_Lean_Syntax_hasMissing(x_1); -x_342 = lean_unbox(x_341); -lean_dec(x_341); -if (x_342 == 0) +lean_object* x_153; uint8_t x_154; +x_153 = l_Lean_Syntax_hasMissing(x_1); +x_154 = lean_unbox(x_153); +lean_dec(x_153); +if (x_154 == 0) { -lean_object* x_343; lean_object* x_344; -x_343 = lean_box(0); -x_344 = l_Lean_Elab_Command_elabCommand___lambda__1(x_313, x_329, x_343, x_2, x_3, x_332); +lean_object* x_155; lean_object* x_156; +x_155 = lean_box(0); +x_156 = l_Lean_Elab_Command_elabCommand___lambda__1(x_125, x_141, x_155, x_2, x_3, x_144); lean_dec(x_3); -lean_dec(x_329); -return x_344; +lean_dec(x_141); +return x_156; } else { -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; -x_345 = lean_unsigned_to_nat(0u); -x_346 = l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommand___spec__1(x_329, x_321, x_345); -lean_dec(x_329); -x_347 = lean_box(0); -x_348 = l_Lean_Elab_Command_elabCommand___lambda__1(x_313, x_346, x_347, x_2, x_3, x_332); +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_157 = lean_unsigned_to_nat(0u); +x_158 = l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommand___spec__1(x_141, x_133, x_157); +lean_dec(x_141); +x_159 = lean_box(0); +x_160 = l_Lean_Elab_Command_elabCommand___lambda__1(x_125, x_158, x_159, x_2, x_3, x_144); lean_dec(x_3); -lean_dec(x_346); -return x_348; +lean_dec(x_158); +return x_160; } } } else { -lean_object* x_349; lean_object* x_350; +lean_object* x_161; lean_object* x_162; lean_dec(x_1); -x_349 = lean_box(0); -x_350 = l_Lean_Elab_Command_elabCommand___lambda__1(x_313, x_329, x_349, x_2, x_3, x_332); +x_161 = lean_box(0); +x_162 = l_Lean_Elab_Command_elabCommand___lambda__1(x_125, x_141, x_161, x_2, x_3, x_144); lean_dec(x_3); -lean_dec(x_329); -return x_350; +lean_dec(x_141); +return x_162; } } -block_383: +block_195: { -if (lean_obj_tag(x_352) == 0) +if (lean_obj_tag(x_164) == 0) { -lean_object* x_354; -x_354 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1(x_352, x_2, x_3, x_353); -if (lean_obj_tag(x_354) == 0) +lean_object* x_166; +x_166 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1(x_164, x_2, x_3, x_165); +if (lean_obj_tag(x_166) == 0) { -lean_object* x_355; -x_355 = lean_ctor_get(x_354, 1); -lean_inc(x_355); -lean_dec(x_354); -x_325 = x_355; -goto block_351; +lean_object* x_167; +x_167 = lean_ctor_get(x_166, 1); +lean_inc(x_167); +lean_dec(x_166); +x_137 = x_167; +goto block_163; } else { -lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; -lean_dec(x_313); +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +lean_dec(x_125); lean_dec(x_3); lean_dec(x_1); -x_356 = lean_ctor_get(x_354, 0); -lean_inc(x_356); -x_357 = lean_ctor_get(x_354, 1); -lean_inc(x_357); -if (lean_is_exclusive(x_354)) { - lean_ctor_release(x_354, 0); - lean_ctor_release(x_354, 1); - x_358 = x_354; +x_168 = lean_ctor_get(x_166, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_166, 1); +lean_inc(x_169); +if (lean_is_exclusive(x_166)) { + lean_ctor_release(x_166, 0); + lean_ctor_release(x_166, 1); + x_170 = x_166; } else { - lean_dec_ref(x_354); - x_358 = lean_box(0); + lean_dec_ref(x_166); + x_170 = lean_box(0); } -if (lean_is_scalar(x_358)) { - x_359 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_170)) { + x_171 = lean_alloc_ctor(1, 2, 0); } else { - x_359 = x_358; + x_171 = x_170; } -lean_ctor_set(x_359, 0, x_356); -lean_ctor_set(x_359, 1, x_357); -return x_359; +lean_ctor_set(x_171, 0, x_168); +lean_ctor_set(x_171, 1, x_169); +return x_171; } } else { -lean_object* x_360; lean_object* x_361; uint8_t x_362; -x_360 = lean_ctor_get(x_352, 0); -lean_inc(x_360); -if (lean_is_exclusive(x_352)) { - lean_ctor_release(x_352, 0); - lean_ctor_release(x_352, 1); - x_361 = x_352; +lean_object* x_172; lean_object* x_173; uint8_t x_174; +x_172 = lean_ctor_get(x_164, 0); +lean_inc(x_172); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + lean_ctor_release(x_164, 1); + x_173 = x_164; } else { - lean_dec_ref(x_352); - x_361 = lean_box(0); + lean_dec_ref(x_164); + x_173 = lean_box(0); } -x_362 = l_Lean_Elab_isAbortExceptionId(x_360); -if (x_362 == 0) +x_174 = l_Lean_Elab_isAbortExceptionId(x_172); +if (x_174 == 0) { -lean_object* x_363; -x_363 = l_Lean_InternalExceptionId_getName(x_360, x_353); -lean_dec(x_360); -if (lean_obj_tag(x_363) == 0) +lean_object* x_175; +x_175 = l_Lean_InternalExceptionId_getName(x_172, x_165); +lean_dec(x_172); +if (lean_obj_tag(x_175) == 0) { -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; uint8_t x_371; lean_object* x_372; lean_object* x_373; -lean_dec(x_361); -x_364 = lean_ctor_get(x_363, 0); -lean_inc(x_364); -x_365 = lean_ctor_get(x_363, 1); -lean_inc(x_365); -lean_dec(x_363); -x_366 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_366, 0, x_364); -x_367 = l_Lean_Elab_Command_withLogging___closed__2; -x_368 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_368, 0, x_367); -lean_ctor_set(x_368, 1, x_366); -x_369 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; -x_370 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_370, 0, x_368); -lean_ctor_set(x_370, 1, x_369); -x_371 = 2; -x_372 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_370, x_371, x_2, x_3, x_365); -x_373 = lean_ctor_get(x_372, 1); -lean_inc(x_373); -lean_dec(x_372); -x_325 = x_373; -goto block_351; +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; uint8_t x_183; lean_object* x_184; lean_object* x_185; +lean_dec(x_173); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_178, 0, x_176); +x_179 = l_Lean_Elab_Command_withLogging___closed__2; +x_180 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_178); +x_181 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; +x_182 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_181); +x_183 = 2; +x_184 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_182, x_183, x_2, x_3, x_177); +x_185 = lean_ctor_get(x_184, 1); +lean_inc(x_185); +lean_dec(x_184); +x_137 = x_185; +goto block_163; } else { -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_dec(x_313); +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_dec(x_125); lean_dec(x_3); lean_dec(x_1); -x_374 = lean_ctor_get(x_363, 0); -lean_inc(x_374); -x_375 = lean_ctor_get(x_363, 1); -lean_inc(x_375); -if (lean_is_exclusive(x_363)) { - lean_ctor_release(x_363, 0); - lean_ctor_release(x_363, 1); - x_376 = x_363; +x_186 = lean_ctor_get(x_175, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_175, 1); +lean_inc(x_187); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_188 = x_175; } else { - lean_dec_ref(x_363); - x_376 = lean_box(0); + lean_dec_ref(x_175); + x_188 = lean_box(0); } -x_377 = lean_ctor_get(x_2, 6); -x_378 = lean_io_error_to_string(x_374); -x_379 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_379, 0, x_378); -x_380 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_380, 0, x_379); -lean_inc(x_377); -if (lean_is_scalar(x_361)) { - x_381 = lean_alloc_ctor(0, 2, 0); +x_189 = lean_ctor_get(x_2, 6); +x_190 = lean_io_error_to_string(x_186); +x_191 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_191, 0, x_190); +x_192 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_192, 0, x_191); +lean_inc(x_189); +if (lean_is_scalar(x_173)) { + x_193 = lean_alloc_ctor(0, 2, 0); } else { - x_381 = x_361; - lean_ctor_set_tag(x_381, 0); + x_193 = x_173; + lean_ctor_set_tag(x_193, 0); } -lean_ctor_set(x_381, 0, x_377); -lean_ctor_set(x_381, 1, x_380); -if (lean_is_scalar(x_376)) { - x_382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_189); +lean_ctor_set(x_193, 1, x_192); +if (lean_is_scalar(x_188)) { + x_194 = lean_alloc_ctor(1, 2, 0); } else { - x_382 = x_376; + x_194 = x_188; } -lean_ctor_set(x_382, 0, x_381); -lean_ctor_set(x_382, 1, x_375); -return x_382; +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_187); +return x_194; } } else { -lean_dec(x_361); -lean_dec(x_360); -x_325 = x_353; -goto block_351; +lean_dec(x_173); +lean_dec(x_172); +x_137 = x_165; +goto block_163; } } } @@ -15731,76 +16325,106 @@ lean_dec(x_1); return x_4; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__6(x_1, x_2, x_3, x_4); +x_5 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___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_addTrace___at_Lean_Elab_Command_elabCommand___spec__7(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_6; -} -} -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9___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_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__10___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_throwError___at_Lean_Elab_Command_elabCommand___spec__10(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__9(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8___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_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8(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_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11(x_1, x_2); +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___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_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__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_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__4___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_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___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_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11___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_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(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_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12___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: { size_t x_8; size_t x_9; lean_object* x_10; @@ -15808,39 +16432,21 @@ x_8 = lean_unbox_usize(x_2); lean_dec(x_2); x_9 = lean_unbox_usize(x_3); lean_dec(x_3); -x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_1, x_8, x_9, x_4, x_5, x_6, x_7); lean_dec(x_5); lean_dec(x_1); return x_10; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13___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_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15___rarg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Command_elabCommand___spec__15(x_1); -lean_dec(x_1); -return x_2; -} -} lean_object* l_Lean_Elab_Command_elabCommand___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: { @@ -15853,59 +16459,16 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Lean_Elab_Command_elabCommand___lambda__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_Command_elabCommand___lambda__2(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Elab_Command_elabCommand___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* l_Lean_Elab_Command_elabCommand___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_Lean_Elab_Command_elabCommand___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Elab_Command_elabCommand___lambda__4___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_Command_elabCommand___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_Elab_Command_elabCommand___lambda__5___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_Command_elabCommand___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_Command_elabCommand___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_Command_elabCommand___lambda__6___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_Command_elabCommand___lambda__6(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_6; -} -} lean_object* l_Lean_Elab_Command_elabCommand___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -19476,7 +20039,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNames _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___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); @@ -21400,7 +21963,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Command_modifyScope___closed__1; x_2 = l_Lean_Elab_Command_modifyScope___closed__2; -x_3 = lean_unsigned_to_nat(464u); +x_3 = lean_unsigned_to_nat(468u); x_4 = lean_unsigned_to_nat(16u); x_5 = l_Lean_Elab_Command_modifyScope___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -23551,7 +24114,7 @@ lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_dec(x_14); lean_dec(x_9); x_18 = l_Lean_Elab_Command_elabExport___closed__2; -x_19 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_18, x_2, x_3, x_13); +x_19 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_18, x_2, x_3, x_13); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { @@ -33786,7 +34349,7 @@ lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_dec(x_2); lean_dec(x_1); x_14 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Command_elabSetOption___spec__3___closed__2; -x_15 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_14, x_3, x_4, x_11); +x_15 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_14, x_3, x_4, x_11); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { @@ -34968,7 +35531,7 @@ x_14 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addU x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_15, x_4, x_5, x_6); +x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_15, x_4, x_5, x_6); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { @@ -35048,7 +35611,7 @@ x_16 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addU x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_17, x_2, x_3, x_7); +x_18 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_17, x_2, x_3, x_7); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) { @@ -35085,7 +35648,7 @@ x_27 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addU x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_28, x_2, x_3, x_7); +x_29 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_28, x_2, x_3, x_7); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) { @@ -35556,7 +36119,7 @@ x_14 = l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Command_elabExport___spec__3___ x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_15, x_4, x_5, x_6); +x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_15, x_4, x_5, x_6); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { @@ -36704,6 +37267,20 @@ lean_mark_persistent(l_Lean_Elab_Command_commandElabAttribute); lean_dec_ref(res); l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__2___closed__1 = _init_l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__2___closed__1(); lean_mark_persistent(l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__2___closed__1); +l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__1 = _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__1); +l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2 = _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__2); +l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__3 = _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__3); +l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4 = _init_l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___spec__2___closed__4); +l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__1); +l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__2 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__2); +l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___closed__3); l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__1 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__1); l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__2 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__2(); @@ -36726,17 +37303,17 @@ l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4 = _init_l_Lean_Ela lean_mark_persistent(l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4); l_Lean_Elab_Command_instMonadRecDepthCommandElabM = _init_l_Lean_Elab_Command_instMonadRecDepthCommandElabM(); lean_mark_persistent(l_Lean_Elab_Command_instMonadRecDepthCommandElabM); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820____closed__4); l_Lean_Elab_Command_showPartialSyntaxErrors___closed__1 = _init_l_Lean_Elab_Command_showPartialSyntaxErrors___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_showPartialSyntaxErrors___closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1679_(lean_io_mk_world()); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1820_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_showPartialSyntaxErrors = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_showPartialSyntaxErrors); @@ -36745,11 +37322,9 @@ l_Lean_Elab_Command_withLogging___closed__1 = _init_l_Lean_Elab_Command_withLogg lean_mark_persistent(l_Lean_Elab_Command_withLogging___closed__1); l_Lean_Elab_Command_withLogging___closed__2 = _init_l_Lean_Elab_Command_withLogging___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_withLogging___closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777____closed__2); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1777_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918____closed__1); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1918_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__1(); @@ -36764,36 +37339,24 @@ l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed_ lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__5); l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__6 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__6(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__5___closed__6); -l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__1); -l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__2); -l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__3); -l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__7___closed__4); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg___closed__1); -l_Lean_Elab_Command_elabCommand___lambda__5___closed__1 = _init_l_Lean_Elab_Command_elabCommand___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__5___closed__1); -l_Lean_Elab_Command_elabCommand___lambda__5___closed__2 = _init_l_Lean_Elab_Command_elabCommand___lambda__5___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__5___closed__2); -l_Lean_Elab_Command_elabCommand___lambda__5___closed__3 = _init_l_Lean_Elab_Command_elabCommand___lambda__5___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__5___closed__3); -l_Lean_Elab_Command_elabCommand___lambda__5___closed__4 = _init_l_Lean_Elab_Command_elabCommand___lambda__5___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__5___closed__4); -l_Lean_Elab_Command_elabCommand___lambda__5___closed__5 = _init_l_Lean_Elab_Command_elabCommand___lambda__5___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__5___closed__5); -l_Lean_Elab_Command_elabCommand___lambda__5___closed__6 = _init_l_Lean_Elab_Command_elabCommand___lambda__5___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__5___closed__6); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__10___rarg___closed__1); +l_Lean_Elab_Command_elabCommand___lambda__2___closed__1 = _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__2___closed__1); +l_Lean_Elab_Command_elabCommand___lambda__2___closed__2 = _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__2___closed__2); +l_Lean_Elab_Command_elabCommand___lambda__2___closed__3 = _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__2___closed__3); +l_Lean_Elab_Command_elabCommand___lambda__2___closed__4 = _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__2___closed__4); +l_Lean_Elab_Command_elabCommand___lambda__2___closed__5 = _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__2___closed__5); +l_Lean_Elab_Command_elabCommand___lambda__2___closed__6 = _init_l_Lean_Elab_Command_elabCommand___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_elabCommand___lambda__2___closed__6); l_Lean_Elab_Command_elabCommand___closed__1 = _init_l_Lean_Elab_Command_elabCommand___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabCommand___closed__1); l_Lean_Elab_Command_elabCommand___closed__2 = _init_l_Lean_Elab_Command_elabCommand___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_elabCommand___closed__2); -l_Lean_Elab_Command_elabCommand___closed__3 = _init_l_Lean_Elab_Command_elabCommand___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand___closed__3); -l_Lean_Elab_Command_elabCommand___closed__4 = _init_l_Lean_Elab_Command_elabCommand___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_elabCommand___closed__4); l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1 = _init_l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1); l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext___closed__1 = _init_l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index 9e9e9a0119..3ea56463f2 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -144,6 +144,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom_match__4___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_classInductiveSyntaxToView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f_match__1(lean_object*); @@ -339,7 +340,6 @@ static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__15; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___closed__1; uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__18; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -3337,7 +3337,7 @@ else { lean_object* x_9; lean_object* x_10; uint8_t x_11; x_9 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__2; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_9, x_3, x_4, x_5); +x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_9, x_3, x_4, x_5); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -3392,7 +3392,7 @@ else { lean_object* x_9; lean_object* x_10; uint8_t x_11; x_9 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3___closed__2; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_9, x_3, x_4, x_5); +x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_9, x_3, x_4, x_5); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -3447,7 +3447,7 @@ else { lean_object* x_8; lean_object* x_9; uint8_t x_10; x_8 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__2; -x_9 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_8, x_2, x_3, x_4); +x_9 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_8, x_2, x_3, x_4); x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) { @@ -3767,7 +3767,7 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_dec(x_2); lean_dec(x_1); x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__2___closed__2; -x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_15, x_6, x_7, x_8); +x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_15, x_6, x_7, x_8); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { @@ -3963,7 +3963,7 @@ lean_dec(x_38); lean_dec(x_15); lean_dec(x_14); x_58 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___closed__2; -x_59 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_58, x_36, x_7, x_39); +x_59 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_58, x_36, x_7, x_39); x_60 = !lean_is_exclusive(x_59); if (x_60 == 0) { @@ -7323,7 +7323,7 @@ x_33 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___clos x_34 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_34, 0, x_32); lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_34, x_5, x_6, x_27); +x_35 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_34, x_5, x_6, x_27); x_36 = !lean_is_exclusive(x_35); if (x_36 == 0) { @@ -7426,7 +7426,7 @@ x_70 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___clos x_71 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_71, x_5, x_6, x_64); +x_72 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_71, x_5, x_6, x_64); x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); x_74 = lean_ctor_get(x_72, 1); diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index a53d35fb67..06040d1b40 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -16,6 +16,7 @@ extern "C" { lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__7; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__7___rarg(lean_object*); size_t l_USize_add(size_t, size_t); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__27; lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*); @@ -24,12 +25,10 @@ static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanc lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__17; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_expandOptNamedPrio(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Elab_DefKind_isExample_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__4; uint8_t l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque(uint8_t); static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__10; @@ -38,13 +37,13 @@ extern lean_object* l_Lean_nullKind; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -lean_object* l_Lean_Elab_Command_MkInstanceName_main___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__2; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__37; lean_object* l_Lean_Elab_Command_MkInstanceName_collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___boxed(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__21; lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); @@ -58,15 +57,18 @@ static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanc lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__1; static lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__1; static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__6; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isExample_match__1(lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__3(lean_object*); -lean_object* l_Lean_Elab_Command_MkInstanceName_main___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___rarg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__2; lean_object* lean_string_utf8_byte_size(lean_object*); @@ -76,6 +78,8 @@ lean_object* l_Lean_Elab_Command_mkDefViewOfConstant(lean_object*, lean_object*, lean_object* l_Lean_Elab_Command_mkDefViewOfDef(lean_object*, lean_object*); uint8_t l_Lean_Elab_DefKind_isExample(uint8_t); uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__7(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_MkInstanceName_collect___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__8; lean_object* lean_nat_add(lean_object*, lean_object*); @@ -98,28 +102,26 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__7; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); lean_object* l_Lean_Elab_mkFreshInstanceName(lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg(lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_isDefLike___closed__11; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__34; static lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__3; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_MkInstanceName_main___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__7___boxed(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_MkInstanceName_main___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__6; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__5; static lean_object* l_Lean_Elab_Command_isDefLike___closed__2; static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__1; static lean_object* l_Lean_Elab_Command_isDefLike___closed__1; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__8(lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_String_capitalize(lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isExample_match__1___rarg(uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__4; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__11; @@ -135,76 +137,85 @@ lean_object* l_Std_RBNode_find___at_Lean_findDocString_x3f___spec__2(lean_object lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_instInhabitedDefKind; lean_object* l_Lean_Elab_DefKind_isTheorem___boxed(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque___boxed(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfTheorem(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__31; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__8___boxed(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__11; static lean_object* l_Lean_Elab_instInhabitedDefView___closed__3; static lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__4; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_isDefLike___closed__9; lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefView___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); uint32_t lean_string_utf8_get(lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__24; static lean_object* l_Lean_Elab_Command_MkInstanceName_main___closed__1; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__16; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedDefView; lean_object* l_Lean_Elab_Command_MkInstanceName_append___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Command_isDefLike(lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_MkInstanceName_collect___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__6; lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object*, lean_object*); uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__1; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__36; static lean_object* l_Lean_Elab_Command_MkInstanceName_isFirst___closed__1; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__35; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isTheorem_match__1(lean_object*); lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_isFirst___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_String_isEmpty(lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfTheorem_match__1(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___rarg(lean_object*); lean_object* lean_environment_main_module(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_isFirst(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); uint8_t l_Std_RBNode_isRed___rarg(lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__12; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__1(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__4; lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__2(lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253_(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__20; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__10; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__32; static lean_object* l_Lean_Elab_Command_isDefLike___closed__6; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___rarg(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__8___rarg(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfExample___closed__2; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_main_match__1___rarg(lean_object*, lean_object*); @@ -215,16 +226,19 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__2; static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__11; lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefView___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_MkInstanceName_collect___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__25; -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___rarg___closed__1; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__9; +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__3; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__29; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev(lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandOptNamedPrio___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfTheorem_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__1(lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName(lean_object*); @@ -232,12 +246,14 @@ static lean_object* l_Lean_Elab_Command_isDefLike___closed__3; extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l_Lean_Elab_Command_isDefLike___closed__5; lean_object* l_Lean_Elab_DefKind_isExample___boxed(lean_object*); +lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_MkInstanceName_main___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1253____closed__2; lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__30; static lean_object* l_Lean_Elab_Command_mkDefView___closed__1; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__28; @@ -247,22 +263,21 @@ static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanc lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__5; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__3; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__15; lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___boxed(lean_object*); lean_object* l_Std_RBNode_ins___at___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedDefView___closed__2; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__5; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_isDefLike___closed__10; -lean_object* l_Lean_Elab_Command_MkInstanceName_main___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedDefView___closed__1; lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__3; lean_object* l_Lean_Elab_Command_mkDefViewOfInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_isDefLike___closed__7; static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__7; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_main(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___rarg(lean_object*); static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__22; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__33; static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__14; @@ -4499,7 +4514,556 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main_match__ return x_2; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__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; 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; uint8_t x_14; +x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_2, 4); +lean_inc(x_8); +lean_inc(x_8); +x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); +lean_dec(x_6); +x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); +lean_dec(x_2); +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set_tag(x_13, 1); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__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_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_replaceRef(x_1, x_7); +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_3, 6); +lean_dec(x_11); +lean_ctor_set(x_3, 6, x_9); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__3(x_2, x_3, x_4, x_8); +return x_12; +} +else +{ +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; +x_13 = lean_ctor_get(x_3, 0); +x_14 = lean_ctor_get(x_3, 1); +x_15 = lean_ctor_get(x_3, 2); +x_16 = lean_ctor_get(x_3, 3); +x_17 = lean_ctor_get(x_3, 4); +x_18 = lean_ctor_get(x_3, 5); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_3); +x_19 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_14); +lean_ctor_set(x_19, 2, x_15); +lean_ctor_set(x_19, 3, x_16); +lean_ctor_set(x_19, 4, x_17); +lean_ctor_set(x_19, 5, x_18); +lean_ctor_set(x_19, 6, x_9); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__3(x_2, x_19, x_4, x_8); +return x_20; +} +} +} +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; +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_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg), 1, 0); +return x_3; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__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; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__4(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; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__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; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Elab_Command_getScope___rarg(x_3, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 2); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_Command_getScope___rarg(x_3, x_11); +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); +x_16 = lean_ctor_get(x_14, 3); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_8); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_17, 0, x_8); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_18, 0, x_12); +lean_inc(x_8); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_19, 0, x_8); +lean_inc(x_16); +lean_inc(x_12); +lean_inc(x_8); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_20, 0, x_8); +lean_closure_set(x_20, 1, x_12); +lean_closure_set(x_20, 2, x_16); +lean_inc(x_8); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_21, 0, x_8); +lean_closure_set(x_21, 1, x_12); +lean_closure_set(x_21, 2, x_16); +x_22 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_20); +lean_ctor_set(x_22, 4, x_21); +x_23 = x_22; +x_24 = l_Lean_Elab_Command_getRef(x_2, x_3, x_15); +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 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_2, 2); +lean_inc(x_30); +x_31 = lean_st_ref_get(x_3, x_29); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_ctor_get(x_32, 4); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_3, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_36, 3); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_environment_main_module(x_8); +x_40 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_40, 0, x_23); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_28); +lean_ctor_set(x_40, 3, x_30); +lean_ctor_set(x_40, 4, x_34); +lean_ctor_set(x_40, 5, x_25); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_apply_2(x_1, x_40, x_42); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_st_ref_take(x_3, x_37); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = !lean_is_exclusive(x_48); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_51 = lean_ctor_get(x_48, 3); +lean_dec(x_51); +lean_ctor_set(x_48, 3, x_46); +x_52 = lean_st_ref_set(x_3, x_48, x_49); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get(x_45, 1); +lean_inc(x_54); +lean_dec(x_45); +x_55 = l_List_reverse___rarg(x_54); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +lean_dec(x_2); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_44); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_44); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +else +{ +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_61 = lean_ctor_get(x_48, 0); +x_62 = lean_ctor_get(x_48, 1); +x_63 = lean_ctor_get(x_48, 2); +x_64 = lean_ctor_get(x_48, 4); +x_65 = lean_ctor_get(x_48, 5); +x_66 = lean_ctor_get(x_48, 6); +x_67 = lean_ctor_get(x_48, 7); +x_68 = lean_ctor_get(x_48, 8); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_48); +x_69 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_69, 0, x_61); +lean_ctor_set(x_69, 1, x_62); +lean_ctor_set(x_69, 2, x_63); +lean_ctor_set(x_69, 3, x_46); +lean_ctor_set(x_69, 4, x_64); +lean_ctor_set(x_69, 5, x_65); +lean_ctor_set(x_69, 6, x_66); +lean_ctor_set(x_69, 7, x_67); +lean_ctor_set(x_69, 8, x_68); +x_70 = lean_st_ref_set(x_3, x_69, x_49); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get(x_45, 1); +lean_inc(x_72); +lean_dec(x_45); +x_73 = l_List_reverse___rarg(x_72); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +lean_dec(x_2); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_76 = x_74; +} else { + lean_dec_ref(x_74); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_44); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +else +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_43, 0); +lean_inc(x_78); +lean_dec(x_43); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_82, 0, x_81); +x_83 = l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__2(x_79, x_82, x_2, x_3, x_37); +lean_dec(x_79); +return x_83; +} +else +{ +lean_object* x_84; +lean_dec(x_2); +x_84 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg(x_37); +return x_84; +} +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__6(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; uint8_t x_10; @@ -4550,69 +5114,273 @@ return x_20; } } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___rarg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; -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_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__7___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__7(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___rarg), 1, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__7___rarg), 1, 0); return x_3; } } -lean_object* l_Lean_Elab_Command_MkInstanceName_main___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__5(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; lean_object* x_7; -x_5 = l_Lean_Environment_contains(x_1, x_2); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -lean_object* l_Lean_Elab_Command_MkInstanceName_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_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; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Elab_Command_getScope___rarg(x_3, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 2); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_Command_getScope___rarg(x_3, x_11); +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); +x_16 = lean_ctor_get(x_14, 3); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_8); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_17, 0, x_8); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_18, 0, x_12); +lean_inc(x_8); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_19, 0, x_8); +lean_inc(x_16); +lean_inc(x_12); +lean_inc(x_8); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_20, 0, x_8); +lean_closure_set(x_20, 1, x_12); +lean_closure_set(x_20, 2, x_16); +lean_inc(x_8); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_21, 0, x_8); +lean_closure_set(x_21, 1, x_12); +lean_closure_set(x_21, 2, x_16); +x_22 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_20); +lean_ctor_set(x_22, 4, x_21); +x_23 = x_22; +x_24 = l_Lean_Elab_Command_getRef(x_2, x_3, x_15); +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 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_2, 2); +lean_inc(x_30); +x_31 = lean_st_ref_get(x_3, x_29); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_ctor_get(x_32, 4); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_3, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_36, 3); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_environment_main_module(x_8); +x_40 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_40, 0, x_23); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_28); +lean_ctor_set(x_40, 3, x_30); +lean_ctor_set(x_40, 4, x_34); +lean_ctor_set(x_40, 5, x_25); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_apply_2(x_1, x_40, x_42); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_Command_MkInstanceName_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) { -_start: +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_st_ref_take(x_3, x_37); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = !lean_is_exclusive(x_48); +if (x_50 == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_51 = lean_ctor_get(x_48, 3); +lean_dec(x_51); +lean_ctor_set(x_48, 3, x_46); +x_52 = lean_st_ref_set(x_3, x_48, x_49); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get(x_45, 1); +lean_inc(x_54); +lean_dec(x_45); +x_55 = l_List_reverse___rarg(x_54); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +lean_dec(x_2); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_44); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_44); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +else +{ +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_61 = lean_ctor_get(x_48, 0); +x_62 = lean_ctor_get(x_48, 1); +x_63 = lean_ctor_get(x_48, 2); +x_64 = lean_ctor_get(x_48, 4); +x_65 = lean_ctor_get(x_48, 5); +x_66 = lean_ctor_get(x_48, 6); +x_67 = lean_ctor_get(x_48, 7); +x_68 = lean_ctor_get(x_48, 8); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_48); +x_69 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_69, 0, x_61); +lean_ctor_set(x_69, 1, x_62); +lean_ctor_set(x_69, 2, x_63); +lean_ctor_set(x_69, 3, x_46); +lean_ctor_set(x_69, 4, x_64); +lean_ctor_set(x_69, 5, x_65); +lean_ctor_set(x_69, 6, x_66); +lean_ctor_set(x_69, 7, x_67); +lean_ctor_set(x_69, 8, x_68); +x_70 = lean_st_ref_set(x_3, x_69, x_49); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get(x_45, 1); +lean_inc(x_72); +lean_dec(x_45); +x_73 = l_List_reverse___rarg(x_72); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +lean_dec(x_2); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_76 = x_74; +} else { + lean_dec_ref(x_74); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_44); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +else +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_43, 0); +lean_inc(x_78); +lean_dec(x_43); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_82, 0, x_81); +x_83 = l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__6(x_79, x_82, x_2, x_3, x_37); +lean_dec(x_79); +return x_83; +} +else +{ +lean_object* x_84; +lean_dec(x_2); +x_84 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__7___rarg(x_37); +return x_84; +} +} } } static lean_object* _init_l_Lean_Elab_Command_MkInstanceName_main___closed__1() { @@ -4626,579 +5394,139 @@ return x_1; lean_object* l_Lean_Elab_Command_MkInstanceName_main(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_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; -x_103 = lean_st_ref_get(x_3, x_4); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_ctor_get(x_104, 0); -lean_inc(x_106); -lean_dec(x_104); -x_107 = l_Lean_Elab_Command_getScope___rarg(x_3, x_105); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_ctor_get(x_108, 2); -lean_inc(x_110); -lean_dec(x_108); -x_111 = l_Lean_Elab_Command_getScope___rarg(x_3, x_109); -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); -lean_inc(x_113); -lean_dec(x_111); -x_114 = lean_ctor_get(x_112, 3); -lean_inc(x_114); -lean_dec(x_112); -lean_inc(x_106); -x_115 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_115, 0, x_106); -lean_inc(x_110); -x_116 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_116, 0, x_110); -lean_inc(x_106); -x_117 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main___lambda__1___boxed), 4, 1); -lean_closure_set(x_117, 0, x_106); -lean_inc(x_114); -lean_inc(x_110); -lean_inc(x_106); -x_118 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main___lambda__2___boxed), 6, 3); -lean_closure_set(x_118, 0, x_106); -lean_closure_set(x_118, 1, x_110); -lean_closure_set(x_118, 2, x_114); -lean_inc(x_106); -x_119 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main___lambda__3___boxed), 6, 3); -lean_closure_set(x_119, 0, x_106); -lean_closure_set(x_119, 1, x_110); -lean_closure_set(x_119, 2, x_114); -x_120 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_120, 0, x_115); -lean_ctor_set(x_120, 1, x_116); -lean_ctor_set(x_120, 2, x_117); -lean_ctor_set(x_120, 3, x_118); -lean_ctor_set(x_120, 4, x_119); -x_121 = x_120; -x_122 = l_Lean_Elab_Command_getRef(x_2, x_3, x_113); -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_125 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_124); -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); -lean_inc(x_127); -lean_dec(x_125); -x_128 = lean_ctor_get(x_2, 2); -lean_inc(x_128); -x_129 = lean_st_ref_get(x_3, x_127); -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 = lean_ctor_get(x_130, 4); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_st_ref_get(x_3, x_131); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -x_136 = lean_ctor_get(x_134, 3); -lean_inc(x_136); -lean_dec(x_134); -x_137 = lean_environment_main_module(x_106); -x_138 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_138, 0, x_121); -lean_ctor_set(x_138, 1, x_137); -lean_ctor_set(x_138, 2, x_126); -lean_ctor_set(x_138, 3, x_128); -lean_ctor_set(x_138, 4, x_132); -lean_ctor_set(x_138, 5, x_123); -x_139 = lean_box(0); -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_136); -lean_ctor_set(x_140, 1, x_139); -x_141 = l_Lean_expandMacros(x_1, x_138, x_140); -if (lean_obj_tag(x_141) == 0) +lean_object* x_5; lean_object* x_6; +x_5 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1); +lean_closure_set(x_5, 0, x_1); +lean_inc(x_2); +x_6 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1(x_5, x_2, x_3, x_4); +if (lean_obj_tag(x_6) == 0) { -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_st_ref_take(x_3, x_135); -x_146 = lean_ctor_get(x_145, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_145, 1); -lean_inc(x_147); -lean_dec(x_145); -x_148 = !lean_is_exclusive(x_146); -if (x_148 == 0) -{ -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; -x_149 = lean_ctor_get(x_146, 3); -lean_dec(x_149); -lean_ctor_set(x_146, 3, x_144); -x_150 = lean_st_ref_set(x_3, x_146, x_147); -x_151 = lean_ctor_get(x_150, 1); -lean_inc(x_151); -lean_dec(x_150); -x_152 = lean_ctor_get(x_143, 1); -lean_inc(x_152); -lean_dec(x_143); -x_153 = l_List_reverse___rarg(x_152); -x_154 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_153, x_2, x_3, x_151); -x_155 = lean_ctor_get(x_154, 1); -lean_inc(x_155); -lean_dec(x_154); -x_5 = x_142; -x_6 = x_155; -goto block_102; -} -else -{ -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; -x_156 = lean_ctor_get(x_146, 0); -x_157 = lean_ctor_get(x_146, 1); -x_158 = lean_ctor_get(x_146, 2); -x_159 = lean_ctor_get(x_146, 4); -x_160 = lean_ctor_get(x_146, 5); -x_161 = lean_ctor_get(x_146, 6); -x_162 = lean_ctor_get(x_146, 7); -x_163 = lean_ctor_get(x_146, 8); -lean_inc(x_163); -lean_inc(x_162); -lean_inc(x_161); -lean_inc(x_160); -lean_inc(x_159); -lean_inc(x_158); -lean_inc(x_157); -lean_inc(x_156); -lean_dec(x_146); -x_164 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_164, 0, x_156); -lean_ctor_set(x_164, 1, x_157); -lean_ctor_set(x_164, 2, x_158); -lean_ctor_set(x_164, 3, x_144); -lean_ctor_set(x_164, 4, x_159); -lean_ctor_set(x_164, 5, x_160); -lean_ctor_set(x_164, 6, x_161); -lean_ctor_set(x_164, 7, x_162); -lean_ctor_set(x_164, 8, x_163); -x_165 = lean_st_ref_set(x_3, x_164, x_147); -x_166 = lean_ctor_get(x_165, 1); -lean_inc(x_166); -lean_dec(x_165); -x_167 = lean_ctor_get(x_143, 1); -lean_inc(x_167); -lean_dec(x_143); -x_168 = l_List_reverse___rarg(x_167); -x_169 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_168, x_2, x_3, x_166); -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -lean_dec(x_169); -x_5 = x_142; -x_6 = x_170; -goto block_102; -} -} -else -{ -lean_object* x_171; -x_171 = lean_ctor_get(x_141, 0); -lean_inc(x_171); -lean_dec(x_141); -if (lean_obj_tag(x_171) == 0) -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_171, 1); -lean_inc(x_173); -lean_dec(x_171); -x_174 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_174, 0, x_173); -x_175 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_175, 0, x_174); -x_176 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_172, x_175, x_2, x_3, x_135); -lean_dec(x_172); -x_177 = !lean_is_exclusive(x_176); -if (x_177 == 0) -{ -return x_176; -} -else -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_178 = lean_ctor_get(x_176, 0); -x_179 = lean_ctor_get(x_176, 1); -lean_inc(x_179); -lean_inc(x_178); -lean_dec(x_176); -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_178); -lean_ctor_set(x_180, 1, x_179); -return x_180; -} -} -else -{ -lean_object* x_181; uint8_t x_182; -lean_dec(x_2); -x_181 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_135); -x_182 = !lean_is_exclusive(x_181); -if (x_182 == 0) -{ -return x_181; -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_183 = lean_ctor_get(x_181, 0); -x_184 = lean_ctor_get(x_181, 1); -lean_inc(x_184); -lean_inc(x_183); -lean_dec(x_181); -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_183); -lean_ctor_set(x_185, 1, x_184); -return x_185; -} -} -} -block_102: -{ -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; uint8_t x_16; -x_7 = l_Lean_Elab_Command_MkInstanceName_isFirst___closed__1; -x_8 = lean_st_mk_ref(x_7, x_6); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_Elab_Command_MkInstanceName_collect(x_5, x_9, x_2, x_3, x_10); -lean_dec(x_5); -x_12 = lean_ctor_get(x_11, 1); +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; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Elab_Command_MkInstanceName_isFirst___closed__1; +x_10 = lean_st_mk_ref(x_9, x_8); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_st_ref_get(x_9, x_12); -lean_dec(x_9); -x_14 = lean_ctor_get(x_13, 0); +lean_dec(x_10); +x_13 = l_Lean_Elab_Command_MkInstanceName_collect(x_7, x_11, x_2, x_3, x_12); +lean_dec(x_7); +x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); lean_dec(x_13); -x_16 = l_String_isEmpty(x_14); -if (x_16 == 0) +x_15 = lean_st_ref_get(x_11, x_14); +lean_dec(x_11); +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); +x_18 = l_String_isEmpty(x_16); +if (x_18 == 0) { -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; -x_17 = l_Lean_Elab_Command_MkInstanceName_main___closed__1; -x_18 = lean_string_append(x_17, x_14); -lean_dec(x_14); -x_19 = lean_box(0); -x_20 = lean_name_mk_string(x_19, x_18); -x_21 = lean_st_ref_get(x_3, x_15); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Elab_Command_getScope___rarg(x_3, x_23); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +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_19 = l_Lean_Elab_Command_MkInstanceName_main___closed__1; +x_20 = lean_string_append(x_19, x_16); +lean_dec(x_16); +x_21 = lean_box(0); +x_22 = lean_name_mk_string(x_21, x_20); +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_mkUnusedBaseName), 3, 1); +lean_closure_set(x_23, 0, x_22); +x_24 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__5(x_23, x_2, x_3, x_17); +return x_24; +} +else +{ +lean_object* x_25; +lean_dec(x_16); +lean_dec(x_2); +x_25 = l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___rarg(x_3, x_17); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_2); +x_26 = !lean_is_exclusive(x_6); +if (x_26 == 0) +{ +return x_6; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_6, 0); +x_28 = lean_ctor_get(x_6, 1); +lean_inc(x_28); lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_ctor_get(x_26, 2); -lean_inc(x_28); -lean_dec(x_26); -x_29 = l_Lean_Elab_Command_getScope___rarg(x_3, x_27); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_30, 3); -lean_inc(x_32); -lean_dec(x_30); -lean_inc(x_24); -x_33 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_33, 0, x_24); -lean_inc(x_28); -x_34 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_34, 0, x_28); -lean_inc(x_24); -x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main___lambda__1___boxed), 4, 1); -lean_closure_set(x_35, 0, x_24); -lean_inc(x_32); -lean_inc(x_28); -lean_inc(x_24); -x_36 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main___lambda__2___boxed), 6, 3); -lean_closure_set(x_36, 0, x_24); -lean_closure_set(x_36, 1, x_28); -lean_closure_set(x_36, 2, x_32); -lean_inc(x_24); -x_37 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main___lambda__3___boxed), 6, 3); -lean_closure_set(x_37, 0, x_24); -lean_closure_set(x_37, 1, x_28); -lean_closure_set(x_37, 2, x_32); -x_38 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_38, 0, x_33); -lean_ctor_set(x_38, 1, x_34); -lean_ctor_set(x_38, 2, x_35); -lean_ctor_set(x_38, 3, x_36); -lean_ctor_set(x_38, 4, x_37); -x_39 = x_38; -x_40 = l_Lean_Elab_Command_getRef(x_2, x_3, x_31); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_ctor_get(x_2, 2); -lean_inc(x_46); -x_47 = lean_st_ref_get(x_3, x_45); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = lean_ctor_get(x_48, 4); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_st_ref_get(x_3, x_49); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_ctor_get(x_52, 3); -lean_inc(x_54); -lean_dec(x_52); -x_55 = lean_environment_main_module(x_24); -x_56 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_56, 0, x_39); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_44); -lean_ctor_set(x_56, 3, x_46); -lean_ctor_set(x_56, 4, x_50); -lean_ctor_set(x_56, 5, x_41); -x_57 = lean_box(0); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_54); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Elab_mkUnusedBaseName(x_20, x_56, x_58); -if (lean_obj_tag(x_59) == 0) +lean_dec(x_6); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_st_ref_take(x_3, x_53); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = !lean_is_exclusive(x_64); -if (x_66 == 0) -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_67 = lean_ctor_get(x_64, 3); -lean_dec(x_67); -lean_ctor_set(x_64, 3, x_62); -x_68 = lean_st_ref_set(x_3, x_64, x_65); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_ctor_get(x_61, 1); -lean_inc(x_70); -lean_dec(x_61); -x_71 = l_List_reverse___rarg(x_70); -x_72 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_71, x_2, x_3, x_69); -lean_dec(x_2); -x_73 = !lean_is_exclusive(x_72); -if (x_73 == 0) -{ -lean_object* x_74; -x_74 = lean_ctor_get(x_72, 0); -lean_dec(x_74); -lean_ctor_set(x_72, 0, x_60); -return x_72; -} -else -{ -lean_object* x_75; lean_object* x_76; -x_75 = lean_ctor_get(x_72, 1); -lean_inc(x_75); -lean_dec(x_72); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_60); -lean_ctor_set(x_76, 1, x_75); -return x_76; +lean_object* x_5; +x_5 = l_Lean_throwError___at_Lean_Elab_Command_MkInstanceName_main___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; } } -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_77 = lean_ctor_get(x_64, 0); -x_78 = lean_ctor_get(x_64, 1); -x_79 = lean_ctor_get(x_64, 2); -x_80 = lean_ctor_get(x_64, 4); -x_81 = lean_ctor_get(x_64, 5); -x_82 = lean_ctor_get(x_64, 6); -x_83 = lean_ctor_get(x_64, 7); -x_84 = lean_ctor_get(x_64, 8); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_64); -x_85 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_85, 0, x_77); -lean_ctor_set(x_85, 1, x_78); -lean_ctor_set(x_85, 2, x_79); -lean_ctor_set(x_85, 3, x_62); -lean_ctor_set(x_85, 4, x_80); -lean_ctor_set(x_85, 5, x_81); -lean_ctor_set(x_85, 6, x_82); -lean_ctor_set(x_85, 7, x_83); -lean_ctor_set(x_85, 8, x_84); -x_86 = lean_st_ref_set(x_3, x_85, x_65); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -lean_dec(x_86); -x_88 = lean_ctor_get(x_61, 1); -lean_inc(x_88); -lean_dec(x_61); -x_89 = l_List_reverse___rarg(x_88); -x_90 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_89, x_2, x_3, x_87); -lean_dec(x_2); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_92 = x_90; -} else { - lean_dec_ref(x_90); - x_92 = lean_box(0); -} -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(0, 2, 0); -} else { - x_93 = x_92; -} -lean_ctor_set(x_93, 0, x_60); -lean_ctor_set(x_93, 1, x_91); -return x_93; -} -} -else -{ -lean_object* x_94; -x_94 = lean_ctor_get(x_59, 0); -lean_inc(x_94); -lean_dec(x_59); -if (lean_obj_tag(x_94) == 0) -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_97, 0, x_96); -x_98 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_98, 0, x_97); -x_99 = l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__1(x_95, x_98, x_2, x_3, x_53); -lean_dec(x_95); -return x_99; -} -else -{ -lean_object* x_100; -lean_dec(x_2); -x_100 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___rarg(x_53); -return x_100; -} -} -} -else -{ -lean_object* x_101; -lean_dec(x_14); -lean_dec(x_2); -x_101 = l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___rarg(x_3, x_15); -return x_101; -} -} -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__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_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__2(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_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2(x_1, x_2); +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Lean_Elab_Command_MkInstanceName_main___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___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_Elab_Command_MkInstanceName_main___lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__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_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_Command_MkInstanceName_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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_Command_MkInstanceName_main___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -5206,16 +5534,54 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_Command_MkInstanceName_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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__4___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_Command_MkInstanceName_main___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_2); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__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_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__6___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_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__6(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_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__7___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__7(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__5(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} lean_object* l_Lean_Elab_Command_MkInstanceName_main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -5487,7 +5853,7 @@ lean_dec(x_3); return x_6; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__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; 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; uint8_t x_14; @@ -5541,7 +5907,7 @@ return x_20; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__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_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -5560,7 +5926,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_3, 6); lean_dec(x_11); lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(x_2, x_3, x_4, x_8); return x_12; } else @@ -5587,31 +5953,281 @@ lean_ctor_set(x_19, 3, x_16); lean_ctor_set(x_19, 4, x_17); lean_ctor_set(x_19, 5, x_18); lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_2, x_19, x_4, x_8); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(x_2, x_19, x_4, x_8); return x_20; } } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___rarg), 1, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg), 1, 0); return x_3; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__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; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Elab_Command_getScope___rarg(x_3, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 2); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_Command_getScope___rarg(x_3, x_11); +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); +x_16 = lean_ctor_get(x_14, 3); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_8); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_17, 0, x_8); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_18, 0, x_12); +lean_inc(x_8); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_19, 0, x_8); +lean_inc(x_16); +lean_inc(x_12); +lean_inc(x_8); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_20, 0, x_8); +lean_closure_set(x_20, 1, x_12); +lean_closure_set(x_20, 2, x_16); +lean_inc(x_8); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_21, 0, x_8); +lean_closure_set(x_21, 1, x_12); +lean_closure_set(x_21, 2, x_16); +x_22 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_20); +lean_ctor_set(x_22, 4, x_21); +x_23 = x_22; +x_24 = l_Lean_Elab_Command_getRef(x_2, x_3, x_15); +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 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_2, 2); +lean_inc(x_30); +x_31 = lean_st_ref_get(x_3, x_29); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_ctor_get(x_32, 4); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_3, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_36, 3); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_environment_main_module(x_8); +x_40 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_40, 0, x_23); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_28); +lean_ctor_set(x_40, 3, x_30); +lean_ctor_set(x_40, 4, x_34); +lean_ctor_set(x_40, 5, x_25); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_apply_2(x_1, x_40, x_42); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_st_ref_take(x_3, x_37); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = !lean_is_exclusive(x_48); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_51 = lean_ctor_get(x_48, 3); +lean_dec(x_51); +lean_ctor_set(x_48, 3, x_46); +x_52 = lean_st_ref_set(x_3, x_48, x_49); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get(x_45, 1); +lean_inc(x_54); +lean_dec(x_45); +x_55 = l_List_reverse___rarg(x_54); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +lean_dec(x_2); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_44); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_44); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +else +{ +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_61 = lean_ctor_get(x_48, 0); +x_62 = lean_ctor_get(x_48, 1); +x_63 = lean_ctor_get(x_48, 2); +x_64 = lean_ctor_get(x_48, 4); +x_65 = lean_ctor_get(x_48, 5); +x_66 = lean_ctor_get(x_48, 6); +x_67 = lean_ctor_get(x_48, 7); +x_68 = lean_ctor_get(x_48, 8); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_48); +x_69 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_69, 0, x_61); +lean_ctor_set(x_69, 1, x_62); +lean_ctor_set(x_69, 2, x_63); +lean_ctor_set(x_69, 3, x_46); +lean_ctor_set(x_69, 4, x_64); +lean_ctor_set(x_69, 5, x_65); +lean_ctor_set(x_69, 6, x_66); +lean_ctor_set(x_69, 7, x_67); +lean_ctor_set(x_69, 8, x_68); +x_70 = lean_st_ref_set(x_3, x_69, x_49); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get(x_45, 1); +lean_inc(x_72); +lean_dec(x_45); +x_73 = l_List_reverse___rarg(x_72); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +lean_dec(x_2); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_76 = x_74; +} else { + lean_dec_ref(x_74); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_44); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +else +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_43, 0); +lean_inc(x_78); +lean_dec(x_43); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_82, 0, x_81); +x_83 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_79, x_82, x_2, x_3, x_37); +lean_dec(x_79); +return x_83; +} +else +{ +lean_object* x_84; +lean_dec(x_2); +x_84 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg(x_37); +return x_84; +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__7(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; uint8_t x_14; @@ -5665,7 +6281,7 @@ return x_20; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6(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; uint8_t x_10; @@ -5684,7 +6300,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_3, 6); lean_dec(x_11); lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__7(x_2, x_3, x_4, x_8); return x_12; } else @@ -5711,30 +6327,280 @@ lean_ctor_set(x_19, 3, x_16); lean_ctor_set(x_19, 4, x_17); lean_ctor_set(x_19, 5, x_18); lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(x_2, x_19, x_4, x_8); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__7(x_2, x_19, x_4, x_8); return x_20; } } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__8___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__8(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___rarg), 1, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__8___rarg), 1, 0); return x_3; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; 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; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Elab_Command_getScope___rarg(x_3, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 2); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_Command_getScope___rarg(x_3, x_11); +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); +x_16 = lean_ctor_get(x_14, 3); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_8); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_17, 0, x_8); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_18, 0, x_12); +lean_inc(x_8); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_19, 0, x_8); +lean_inc(x_16); +lean_inc(x_12); +lean_inc(x_8); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_20, 0, x_8); +lean_closure_set(x_20, 1, x_12); +lean_closure_set(x_20, 2, x_16); +lean_inc(x_8); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_21, 0, x_8); +lean_closure_set(x_21, 1, x_12); +lean_closure_set(x_21, 2, x_16); +x_22 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_20); +lean_ctor_set(x_22, 4, x_21); +x_23 = x_22; +x_24 = l_Lean_Elab_Command_getRef(x_2, x_3, x_15); +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 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_2, 2); +lean_inc(x_30); +x_31 = lean_st_ref_get(x_3, x_29); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_ctor_get(x_32, 4); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_3, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_36, 3); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_environment_main_module(x_8); +x_40 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_40, 0, x_23); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_28); +lean_ctor_set(x_40, 3, x_30); +lean_ctor_set(x_40, 4, x_34); +lean_ctor_set(x_40, 5, x_25); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_apply_2(x_1, x_40, x_42); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_st_ref_take(x_3, x_37); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = !lean_is_exclusive(x_48); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_51 = lean_ctor_get(x_48, 3); +lean_dec(x_51); +lean_ctor_set(x_48, 3, x_46); +x_52 = lean_st_ref_set(x_3, x_48, x_49); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get(x_45, 1); +lean_inc(x_54); +lean_dec(x_45); +x_55 = l_List_reverse___rarg(x_54); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +lean_dec(x_2); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_44); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_44); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +else +{ +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_61 = lean_ctor_get(x_48, 0); +x_62 = lean_ctor_get(x_48, 1); +x_63 = lean_ctor_get(x_48, 2); +x_64 = lean_ctor_get(x_48, 4); +x_65 = lean_ctor_get(x_48, 5); +x_66 = lean_ctor_get(x_48, 6); +x_67 = lean_ctor_get(x_48, 7); +x_68 = lean_ctor_get(x_48, 8); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_48); +x_69 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_69, 0, x_61); +lean_ctor_set(x_69, 1, x_62); +lean_ctor_set(x_69, 2, x_63); +lean_ctor_set(x_69, 3, x_46); +lean_ctor_set(x_69, 4, x_64); +lean_ctor_set(x_69, 5, x_65); +lean_ctor_set(x_69, 6, x_66); +lean_ctor_set(x_69, 7, x_67); +lean_ctor_set(x_69, 8, x_68); +x_70 = lean_st_ref_set(x_3, x_69, x_49); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get(x_45, 1); +lean_inc(x_72); +lean_dec(x_45); +x_73 = l_List_reverse___rarg(x_72); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +lean_dec(x_2); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_76 = x_74; +} else { + lean_dec_ref(x_74); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_44); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +else +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_43, 0); +lean_inc(x_78); +lean_dec(x_43); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_82, 0, x_81); +x_83 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6(x_79, x_82, x_2, x_3, x_37); +lean_dec(x_79); +return x_83; +} +else +{ +lean_object* x_84; +lean_dec(x_2); +x_84 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__8___rarg(x_37); +return x_84; +} +} +} +} lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___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) { _start: { @@ -5864,707 +6730,286 @@ return x_3; lean_object* l_Lean_Elab_Command_mkDefViewOfInstance(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_6; lean_object* x_7; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_146 = lean_unsigned_to_nat(0u); -x_147 = l_Lean_Syntax_getArg(x_2, x_146); -x_148 = lean_st_ref_get(x_4, x_5); -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); -lean_inc(x_150); -lean_dec(x_148); -x_151 = lean_ctor_get(x_149, 0); -lean_inc(x_151); -lean_dec(x_149); -x_152 = l_Lean_Elab_Command_getScope___rarg(x_4, x_150); -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 1); -lean_inc(x_154); -lean_dec(x_152); -x_155 = lean_ctor_get(x_153, 2); -lean_inc(x_155); -lean_dec(x_153); -x_156 = l_Lean_Elab_Command_getScope___rarg(x_4, x_154); -x_157 = lean_ctor_get(x_156, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_156, 1); -lean_inc(x_158); -lean_dec(x_156); -x_159 = lean_ctor_get(x_157, 3); -lean_inc(x_159); -lean_dec(x_157); -lean_inc(x_151); -x_160 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_160, 0, x_151); -lean_inc(x_155); -x_161 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_161, 0, x_155); -lean_inc(x_151); -x_162 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main___lambda__1___boxed), 4, 1); -lean_closure_set(x_162, 0, x_151); -lean_inc(x_159); -lean_inc(x_155); -lean_inc(x_151); -x_163 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main___lambda__2___boxed), 6, 3); -lean_closure_set(x_163, 0, x_151); -lean_closure_set(x_163, 1, x_155); -lean_closure_set(x_163, 2, x_159); -lean_inc(x_151); -x_164 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main___lambda__3___boxed), 6, 3); -lean_closure_set(x_164, 0, x_151); -lean_closure_set(x_164, 1, x_155); -lean_closure_set(x_164, 2, x_159); -x_165 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_165, 0, x_160); -lean_ctor_set(x_165, 1, x_161); -lean_ctor_set(x_165, 2, x_162); -lean_ctor_set(x_165, 3, x_163); -lean_ctor_set(x_165, 4, x_164); -x_166 = x_165; -x_167 = l_Lean_Elab_Command_getRef(x_3, x_4, x_158); -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_167, 1); -lean_inc(x_169); -lean_dec(x_167); -x_170 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_169); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); -lean_dec(x_170); -x_173 = lean_ctor_get(x_3, 2); -lean_inc(x_173); -x_174 = lean_st_ref_get(x_4, x_172); -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = lean_ctor_get(x_175, 4); -lean_inc(x_177); -lean_dec(x_175); -x_178 = lean_st_ref_get(x_4, x_176); -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); -lean_inc(x_180); -lean_dec(x_178); -x_181 = lean_ctor_get(x_179, 3); -lean_inc(x_181); -lean_dec(x_179); -x_182 = lean_environment_main_module(x_151); -x_183 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_183, 0, x_166); -lean_ctor_set(x_183, 1, x_182); -lean_ctor_set(x_183, 2, x_171); -lean_ctor_set(x_183, 3, x_173); -lean_ctor_set(x_183, 4, x_177); -lean_ctor_set(x_183, 5, x_168); -x_184 = lean_box(0); -x_185 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_185, 0, x_181); -lean_ctor_set(x_185, 1, x_184); -x_186 = l_Lean_Elab_toAttributeKind(x_147, x_183, x_185); -lean_dec(x_147); -if (lean_obj_tag(x_186) == 0) -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 1); -lean_inc(x_188); -lean_dec(x_186); -x_189 = lean_ctor_get(x_188, 0); -lean_inc(x_189); -x_190 = lean_st_ref_take(x_4, x_180); -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 1); -lean_inc(x_192); -lean_dec(x_190); -x_193 = !lean_is_exclusive(x_191); -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; uint8_t x_201; -x_194 = lean_ctor_get(x_191, 3); -lean_dec(x_194); -lean_ctor_set(x_191, 3, x_189); -x_195 = lean_st_ref_set(x_4, x_191, x_192); -x_196 = lean_ctor_get(x_195, 1); -lean_inc(x_196); -lean_dec(x_195); -x_197 = lean_ctor_get(x_188, 1); -lean_inc(x_197); -lean_dec(x_188); -x_198 = l_List_reverse___rarg(x_197); -x_199 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_198, x_3, x_4, x_196); -x_200 = lean_ctor_get(x_199, 1); -lean_inc(x_200); -lean_dec(x_199); -x_201 = lean_unbox(x_187); -lean_dec(x_187); -x_6 = x_201; -x_7 = x_200; -goto block_145; -} -else -{ -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; uint8_t x_217; -x_202 = lean_ctor_get(x_191, 0); -x_203 = lean_ctor_get(x_191, 1); -x_204 = lean_ctor_get(x_191, 2); -x_205 = lean_ctor_get(x_191, 4); -x_206 = lean_ctor_get(x_191, 5); -x_207 = lean_ctor_get(x_191, 6); -x_208 = lean_ctor_get(x_191, 7); -x_209 = lean_ctor_get(x_191, 8); -lean_inc(x_209); -lean_inc(x_208); -lean_inc(x_207); -lean_inc(x_206); -lean_inc(x_205); -lean_inc(x_204); -lean_inc(x_203); -lean_inc(x_202); -lean_dec(x_191); -x_210 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_210, 0, x_202); -lean_ctor_set(x_210, 1, x_203); -lean_ctor_set(x_210, 2, x_204); -lean_ctor_set(x_210, 3, x_189); -lean_ctor_set(x_210, 4, x_205); -lean_ctor_set(x_210, 5, x_206); -lean_ctor_set(x_210, 6, x_207); -lean_ctor_set(x_210, 7, x_208); -lean_ctor_set(x_210, 8, x_209); -x_211 = lean_st_ref_set(x_4, x_210, x_192); -x_212 = lean_ctor_get(x_211, 1); -lean_inc(x_212); -lean_dec(x_211); -x_213 = lean_ctor_get(x_188, 1); -lean_inc(x_213); -lean_dec(x_188); -x_214 = l_List_reverse___rarg(x_213); -x_215 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_214, x_3, x_4, x_212); -x_216 = lean_ctor_get(x_215, 1); -lean_inc(x_216); -lean_dec(x_215); -x_217 = lean_unbox(x_187); -lean_dec(x_187); -x_6 = x_217; -x_7 = x_216; -goto block_145; -} -} -else -{ -lean_object* x_218; -lean_dec(x_2); -lean_dec(x_1); -x_218 = lean_ctor_get(x_186, 0); -lean_inc(x_218); -lean_dec(x_186); -if (lean_obj_tag(x_218) == 0) -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_221, 0, x_220); -x_222 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_222, 0, x_221); -x_223 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(x_219, x_222, x_3, x_4, x_180); -lean_dec(x_219); -x_224 = !lean_is_exclusive(x_223); -if (x_224 == 0) -{ -return x_223; -} -else -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get(x_223, 0); -x_226 = lean_ctor_get(x_223, 1); -lean_inc(x_226); -lean_inc(x_225); -lean_dec(x_223); -x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_225); -lean_ctor_set(x_227, 1, x_226); -return x_227; -} -} -else -{ -lean_object* x_228; uint8_t x_229; -lean_dec(x_3); -x_228 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___rarg(x_180); -x_229 = !lean_is_exclusive(x_228); -if (x_229 == 0) -{ -return x_228; -} -else -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_230 = lean_ctor_get(x_228, 0); -x_231 = lean_ctor_get(x_228, 1); -lean_inc(x_231); -lean_inc(x_230); -lean_dec(x_228); -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_230); -lean_ctor_set(x_232, 1, x_231); -return x_232; -} -} -} -block_145: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 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; -x_8 = lean_unsigned_to_nat(2u); -x_9 = l_Lean_Syntax_getArg(x_2, x_8); -x_62 = lean_st_ref_get(x_4, x_7); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_ctor_get(x_63, 0); -lean_inc(x_65); -lean_dec(x_63); -x_66 = l_Lean_Elab_Command_getScope___rarg(x_4, x_64); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = lean_ctor_get(x_67, 2); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l_Lean_Elab_Command_getScope___rarg(x_4, x_68); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = lean_ctor_get(x_71, 3); -lean_inc(x_73); -lean_dec(x_71); -lean_inc(x_65); -x_74 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_74, 0, x_65); -lean_inc(x_69); -x_75 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_75, 0, x_69); -lean_inc(x_65); -x_76 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main___lambda__1___boxed), 4, 1); -lean_closure_set(x_76, 0, x_65); -lean_inc(x_73); -lean_inc(x_69); -lean_inc(x_65); -x_77 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main___lambda__2___boxed), 6, 3); -lean_closure_set(x_77, 0, x_65); -lean_closure_set(x_77, 1, x_69); -lean_closure_set(x_77, 2, x_73); -lean_inc(x_65); -x_78 = lean_alloc_closure((void*)(l_Lean_Elab_Command_MkInstanceName_main___lambda__3___boxed), 6, 3); -lean_closure_set(x_78, 0, x_65); -lean_closure_set(x_78, 1, x_69); -lean_closure_set(x_78, 2, x_73); -x_79 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_79, 0, x_74); -lean_ctor_set(x_79, 1, x_75); -lean_ctor_set(x_79, 2, x_76); -lean_ctor_set(x_79, 3, x_77); -lean_ctor_set(x_79, 4, x_78); -x_80 = x_79; -x_81 = l_Lean_Elab_Command_getRef(x_3, x_4, x_72); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_83); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = lean_ctor_get(x_3, 2); -lean_inc(x_87); -x_88 = lean_st_ref_get(x_4, x_86); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_ctor_get(x_89, 4); -lean_inc(x_91); -lean_dec(x_89); -x_92 = lean_st_ref_get(x_4, x_90); -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_ctor_get(x_93, 3); -lean_inc(x_95); -lean_dec(x_93); -x_96 = lean_environment_main_module(x_65); -x_97 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_97, 0, x_80); -lean_ctor_set(x_97, 1, x_96); -lean_ctor_set(x_97, 2, x_85); -lean_ctor_set(x_97, 3, x_87); -lean_ctor_set(x_97, 4, x_91); -lean_ctor_set(x_97, 5, x_82); -x_98 = lean_box(0); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_95); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_Elab_expandOptNamedPrio(x_9, x_97, x_99); -lean_dec(x_9); -if (lean_obj_tag(x_100) == 0) -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_st_ref_take(x_4, x_94); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_107 = !lean_is_exclusive(x_105); -if (x_107 == 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; -x_108 = lean_ctor_get(x_105, 3); -lean_dec(x_108); -lean_ctor_set(x_105, 3, x_103); -x_109 = lean_st_ref_set(x_4, x_105, x_106); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -lean_dec(x_109); -x_111 = lean_ctor_get(x_102, 1); -lean_inc(x_111); -lean_dec(x_102); -x_112 = l_List_reverse___rarg(x_111); -x_113 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_112, x_3, x_4, x_110); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -lean_dec(x_113); -x_10 = x_101; -x_11 = x_114; -goto block_61; -} -else -{ -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; -x_115 = lean_ctor_get(x_105, 0); -x_116 = lean_ctor_get(x_105, 1); -x_117 = lean_ctor_get(x_105, 2); -x_118 = lean_ctor_get(x_105, 4); -x_119 = lean_ctor_get(x_105, 5); -x_120 = lean_ctor_get(x_105, 6); -x_121 = lean_ctor_get(x_105, 7); -x_122 = lean_ctor_get(x_105, 8); -lean_inc(x_122); -lean_inc(x_121); -lean_inc(x_120); -lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_105); -x_123 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_123, 0, x_115); -lean_ctor_set(x_123, 1, x_116); -lean_ctor_set(x_123, 2, x_117); -lean_ctor_set(x_123, 3, x_103); -lean_ctor_set(x_123, 4, x_118); -lean_ctor_set(x_123, 5, x_119); -lean_ctor_set(x_123, 6, x_120); -lean_ctor_set(x_123, 7, x_121); -lean_ctor_set(x_123, 8, x_122); -x_124 = lean_st_ref_set(x_4, x_123, x_106); -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -lean_dec(x_124); -x_126 = lean_ctor_get(x_102, 1); -lean_inc(x_126); -lean_dec(x_102); -x_127 = l_List_reverse___rarg(x_126); -x_128 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_127, x_3, x_4, x_125); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -lean_dec(x_128); -x_10 = x_101; -x_11 = x_129; -goto block_61; -} -} -else -{ -lean_object* x_130; -lean_dec(x_2); -lean_dec(x_1); -x_130 = lean_ctor_get(x_100, 0); -lean_inc(x_130); -lean_dec(x_100); -if (lean_obj_tag(x_130) == 0) -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_133, 0, x_132); -x_134 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_134, 0, x_133); -x_135 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(x_131, x_134, x_3, x_4, x_94); -lean_dec(x_131); -x_136 = !lean_is_exclusive(x_135); -if (x_136 == 0) -{ -return x_135; -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_135, 0); -x_138 = lean_ctor_get(x_135, 1); -lean_inc(x_138); -lean_inc(x_137); -lean_dec(x_135); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -return x_139; -} -} -else -{ -lean_object* x_140; uint8_t x_141; -lean_dec(x_3); -x_140 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___rarg(x_94); -x_141 = !lean_is_exclusive(x_140); -if (x_141 == 0) -{ -return x_140; -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_142 = lean_ctor_get(x_140, 0); -x_143 = lean_ctor_get(x_140, 1); -lean_inc(x_143); -lean_inc(x_142); -lean_dec(x_140); -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_142); -lean_ctor_set(x_144, 1, x_143); -return x_144; -} -} -} -block_61: -{ -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_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_3, x_4, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_14); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Lean_Elab_Command_getMainModule___rarg(x_4, x_16); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__3; -x_20 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_20, 0, x_13); -lean_ctor_set(x_20, 1, x_19); -x_21 = l_Nat_repr(x_10); -x_22 = l_Lean_numLitKind; -x_23 = lean_box(2); -x_24 = l_Lean_Syntax_mkLit(x_22, x_21, x_23); -x_25 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__7; -x_26 = lean_array_push(x_25, x_24); -x_27 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__6; -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -x_29 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__12; -x_30 = lean_array_push(x_29, x_20); -x_31 = lean_array_push(x_30, x_28); -x_32 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__4; -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_unsigned_to_nat(4u); -x_35 = l_Lean_Syntax_getArg(x_2, x_34); -x_36 = l_Lean_Elab_expandDeclSig(x_35); -lean_dec(x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__8; -x_40 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_33); -lean_ctor_set_uint8(x_40, sizeof(void*)*2, x_6); -x_41 = l_Lean_Elab_Modifiers_addAttribute(x_1, x_40); -x_42 = lean_unsigned_to_nat(3u); -x_43 = l_Lean_Syntax_getArg(x_2, x_42); -x_44 = l_Lean_Syntax_getOptional_x3f(x_43); -lean_dec(x_43); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Lean_Syntax_getArg(x_2, x_6); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___boxed), 3, 1); +lean_closure_set(x_8, 0, x_7); lean_inc(x_3); -lean_inc(x_38); -x_45 = l_Lean_Elab_Command_MkInstanceName_main(x_38, x_3, x_4, x_18); -if (lean_obj_tag(x_45) == 0) +x_9 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(x_8, x_3, x_4, x_5); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = l_Lean_mkIdentFrom(x_2, x_46); -x_49 = lean_array_push(x_29, x_48); -x_50 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__11; -x_51 = lean_array_push(x_49, x_50); -x_52 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__10; -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -x_54 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_38, x_2, x_41, x_37, x_53, x_3, x_4, x_47); -lean_dec(x_3); -return x_54; -} -else +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_unsigned_to_nat(2u); +x_13 = l_Lean_Syntax_getArg(x_2, x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_expandOptNamedPrio___boxed), 3, 1); +lean_closure_set(x_14, 0, x_13); +lean_inc(x_3); +x_15 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(x_14, x_3, x_4, x_11); +if (lean_obj_tag(x_15) == 0) { -uint8_t x_55; +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; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +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); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_3, x_4, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_20); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = l_Lean_Elab_Command_getMainModule___rarg(x_4, x_22); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__3; +x_26 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_26, 0, x_19); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Nat_repr(x_16); +x_28 = l_Lean_numLitKind; +x_29 = lean_box(2); +x_30 = l_Lean_Syntax_mkLit(x_28, x_27, x_29); +x_31 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__7; +x_32 = lean_array_push(x_31, x_30); +x_33 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__6; +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_Lean_Elab_Command_mkDefViewOfConstant___closed__12; +x_36 = lean_array_push(x_35, x_26); +x_37 = lean_array_push(x_36, x_34); +x_38 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__4; +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = lean_unsigned_to_nat(4u); +x_41 = l_Lean_Syntax_getArg(x_2, x_40); +x_42 = l_Lean_Elab_expandDeclSig(x_41); lean_dec(x_41); -lean_dec(x_38); -lean_dec(x_37); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__8; +x_46 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_39); +x_47 = lean_unbox(x_10); +lean_dec(x_10); +lean_ctor_set_uint8(x_46, sizeof(void*)*2, x_47); +x_48 = l_Lean_Elab_Modifiers_addAttribute(x_1, x_46); +x_49 = lean_unsigned_to_nat(3u); +x_50 = l_Lean_Syntax_getArg(x_2, x_49); +x_51 = l_Lean_Syntax_getOptional_x3f(x_50); +lean_dec(x_50); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; +lean_inc(x_3); +lean_inc(x_44); +x_52 = l_Lean_Elab_Command_MkInstanceName_main(x_44, x_3, x_4, x_24); +if (lean_obj_tag(x_52) == 0) +{ +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; +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); +x_55 = l_Lean_mkIdentFrom(x_2, x_53); +x_56 = lean_array_push(x_35, x_55); +x_57 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__11; +x_58 = lean_array_push(x_56, x_57); +x_59 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__10; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_44, x_2, x_48, x_43, x_60, x_3, x_4, x_54); lean_dec(x_3); -lean_dec(x_2); -x_55 = !lean_is_exclusive(x_45); -if (x_55 == 0) -{ -return x_45; +return x_61; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_45, 0); -x_57 = lean_ctor_get(x_45, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_45); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -} -else -{ -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_44, 0); -lean_inc(x_59); +uint8_t x_62; +lean_dec(x_48); lean_dec(x_44); -x_60 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_38, x_2, x_41, x_37, x_59, x_3, x_4, x_18); +lean_dec(x_43); lean_dec(x_3); -return x_60; +lean_dec(x_2); +x_62 = !lean_is_exclusive(x_52); +if (x_62 == 0) +{ +return x_52; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_52, 0); +x_64 = lean_ctor_get(x_52, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_52); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_51, 0); +lean_inc(x_66); +lean_dec(x_51); +x_67 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_44, x_2, x_48, x_43, x_66, x_3, x_4, x_24); +lean_dec(x_3); +return x_67; +} +} +else +{ +uint8_t x_68; +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_68 = !lean_is_exclusive(x_15); +if (x_68 == 0) +{ +return x_15; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_15, 0); +x_70 = lean_ctor_get(x_15, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_15); +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 +{ +uint8_t x_72; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_72 = !lean_is_exclusive(x_9); +if (x_72 == 0) +{ +return x_9; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_9, 0); +x_74 = lean_ctor_get(x_9, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_9); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; } } } } -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___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_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__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_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(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_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(x_1, x_2); +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__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_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__7___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_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__7(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___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_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6(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_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__8___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6(x_1, x_2); +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__8(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___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) { _start: { @@ -7212,8 +7657,8 @@ l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacemen lean_mark_persistent(l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements); l_Lean_Elab_Command_MkInstanceName_isFirst___closed__1 = _init_l_Lean_Elab_Command_MkInstanceName_isFirst___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_MkInstanceName_isFirst___closed__1); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__2___rarg___closed__1); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg___closed__1); l_Lean_Elab_Command_MkInstanceName_main___closed__1 = _init_l_Lean_Elab_Command_MkInstanceName_main___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_MkInstanceName_main___closed__1); l_Lean_Elab_Command_mkDefViewOfConstant___closed__1 = _init_l_Lean_Elab_Command_mkDefViewOfConstant___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Deriving/BEq.c b/stage0/stdlib/Lean/Elab/Deriving/BEq.c index 5fb379d5be..0d9cb53c67 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/BEq.c +++ b/stage0/stdlib/Lean/Elab/Deriving/BEq.c @@ -182,13 +182,13 @@ static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_BEq_mkMatch_ lean_object* l_Lean_Elab_registerBuiltinDerivingHandler(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__10; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__11; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___lambda__1___closed__10; static lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__2; lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__1___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___lambda__1___closed__2; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__12; @@ -5417,7 +5417,7 @@ x_29 = 0; x_30 = lean_usize_of_nat(x_22); lean_dec(x_22); x_31 = lean_box(0); -x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_20, x_29, x_30, x_31, x_2, x_3, x_21); +x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_20, x_29, x_30, x_31, x_2, x_3, x_21); lean_dec(x_2); lean_dec(x_20); if (lean_obj_tag(x_32) == 0) @@ -5522,7 +5522,7 @@ x_56 = 0; x_57 = lean_usize_of_nat(x_47); lean_dec(x_47); x_58 = lean_box(0); -x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_45, x_56, x_57, x_58, x_2, x_3, x_46); +x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_45, x_56, x_57, x_58, x_2, x_3, x_46); lean_dec(x_2); lean_dec(x_45); if (lean_obj_tag(x_59) == 0) diff --git a/stage0/stdlib/Lean/Elab/Deriving/Basic.c b/stage0/stdlib/Lean/Elab/Deriving/Basic.c index 5ee7f998f4..9d41fd0fce 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Basic.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Basic.c @@ -57,6 +57,7 @@ static lean_object* l_Lean_Elab_elabDeriving___closed__7; static lean_object* l_Lean_Elab_defaultHandler___closed__6; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_elabDeriving___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_elabDeriving___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_empty; static lean_object* l_Lean_Elab_elabDeriving___closed__3; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); @@ -132,7 +133,6 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_elabDeriving___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabDeriving(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getOptDerivingClasses___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_registerBuiltinDerivingHandler(lean_object*, lean_object*, lean_object*); @@ -863,7 +863,7 @@ x_10 = l_Lean_throwUnknownConstant___at_Lean_Elab_elabDeriving___spec__5___close x_11 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_11, x_2, x_3, x_4); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_11, x_2, x_3, x_4); return x_12; } } @@ -1359,94 +1359,98 @@ lean_inc(x_8); x_19 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_elabDeriving___spec__6(x_8, x_4, x_5, x_18); if (lean_obj_tag(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; uint8_t x_26; +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; uint8_t x_28; 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 = l_Lean_LocalContext_empty; -x_23 = lean_alloc_ctor(0, 4, 0); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_3); -lean_ctor_set(x_23, 2, x_20); -lean_ctor_set(x_23, 3, x_1); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabEnd___spec__3(x_24, x_4, x_5, x_21); +lean_ctor_set(x_23, 1, x_1); +x_24 = l_Lean_LocalContext_empty; +x_25 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_25, 2, x_3); +lean_ctor_set(x_25, 3, x_20); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabEnd___spec__3(x_26, x_4, x_5, x_21); lean_dec(x_4); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) { -lean_object* x_27; -x_27 = lean_ctor_get(x_25, 0); +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set(x_27, 0, x_8); +return x_27; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); lean_dec(x_27); -lean_ctor_set(x_25, 0, x_8); -return x_25; -} -else -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_dec(x_25); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_8); -lean_ctor_set(x_29, 1, x_28); -return x_29; +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_8); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } else { -uint8_t x_30; +uint8_t x_32; lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_30 = !lean_is_exclusive(x_19); -if (x_30 == 0) +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) { return x_19; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_19, 0); -x_32 = lean_ctor_get(x_19, 1); -lean_inc(x_32); -lean_inc(x_31); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); lean_dec(x_19); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } } else { -uint8_t x_34; +uint8_t x_36; lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_7); -if (x_34 == 0) +x_36 = !lean_is_exclusive(x_7); +if (x_36 == 0) { return x_7; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_7, 0); -x_36 = lean_ctor_get(x_7, 1); -lean_inc(x_36); -lean_inc(x_35); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_7, 0); +x_38 = lean_ctor_get(x_7, 1); +lean_inc(x_38); +lean_inc(x_37); lean_dec(x_7); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } diff --git a/stage0/stdlib/Lean/Elab/Deriving/DecEq.c b/stage0/stdlib/Lean/Elab/Deriving/DecEq.c index 7a3f3b9a3a..4b1538a451 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/DecEq.c +++ b/stage0/stdlib/Lean/Elab/Deriving/DecEq.c @@ -222,7 +222,6 @@ extern lean_object* l_Lean_instInhabitedName; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_registerBuiltinDerivingHandler(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__5; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__28; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__30; static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_2438____closed__1; @@ -230,6 +229,7 @@ lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction(lean_object*, lean_object* static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__1; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__14; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__93; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__17; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__33; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__18; @@ -7364,7 +7364,7 @@ x_31 = 0; x_32 = lean_usize_of_nat(x_24); lean_dec(x_24); x_33 = lean_box(0); -x_34 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_22, x_31, x_32, x_33, x_2, x_3, x_23); +x_34 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_22, x_31, x_32, x_33, x_2, x_3, x_23); lean_dec(x_2); lean_dec(x_22); if (lean_obj_tag(x_34) == 0) @@ -7469,7 +7469,7 @@ x_58 = 0; x_59 = lean_usize_of_nat(x_49); lean_dec(x_49); x_60 = lean_box(0); -x_61 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_47, x_58, x_59, x_60, x_2, x_3, x_48); +x_61 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_47, x_58, x_59, x_60, x_2, x_3, x_48); lean_dec(x_2); lean_dec(x_47); if (lean_obj_tag(x_61) == 0) diff --git a/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c b/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c index 038698fc07..d1bfb2d75a 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c +++ b/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c @@ -381,13 +381,13 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__48; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__2___closed__4; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__14; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__34; lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts_match__3(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__5; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__19; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__3___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*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__41; @@ -6473,7 +6473,7 @@ x_35 = 0; x_36 = lean_usize_of_nat(x_28); lean_dec(x_28); x_37 = lean_box(0); -x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_26, x_35, x_36, x_37, x_2, x_3, x_27); +x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_26, x_35, x_36, x_37, x_2, x_3, x_27); lean_dec(x_2); lean_dec(x_26); if (lean_obj_tag(x_38) == 0) @@ -6578,7 +6578,7 @@ x_62 = 0; x_63 = lean_usize_of_nat(x_53); lean_dec(x_53); x_64 = lean_box(0); -x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_51, x_62, x_63, x_64, x_2, x_3, x_52); +x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_51, x_62, x_63, x_64, x_2, x_3, x_52); lean_dec(x_2); lean_dec(x_51); if (lean_obj_tag(x_65) == 0) @@ -6741,7 +6741,7 @@ x_96 = 0; x_97 = lean_usize_of_nat(x_89); lean_dec(x_89); x_98 = lean_box(0); -x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_87, x_96, x_97, x_98, x_2, x_3, x_88); +x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_87, x_96, x_97, x_98, x_2, x_3, x_88); lean_dec(x_2); lean_dec(x_87); if (lean_obj_tag(x_99) == 0) @@ -6846,7 +6846,7 @@ x_123 = 0; x_124 = lean_usize_of_nat(x_114); lean_dec(x_114); x_125 = lean_box(0); -x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_112, x_123, x_124, x_125, x_2, x_3, x_113); +x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_112, x_123, x_124, x_125, x_2, x_3, x_113); lean_dec(x_2); lean_dec(x_112); if (lean_obj_tag(x_126) == 0) @@ -12233,7 +12233,7 @@ x_35 = 0; x_36 = lean_usize_of_nat(x_28); lean_dec(x_28); x_37 = lean_box(0); -x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_26, x_35, x_36, x_37, x_2, x_3, x_27); +x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_26, x_35, x_36, x_37, x_2, x_3, x_27); lean_dec(x_2); lean_dec(x_26); if (lean_obj_tag(x_38) == 0) @@ -12338,7 +12338,7 @@ x_62 = 0; x_63 = lean_usize_of_nat(x_53); lean_dec(x_53); x_64 = lean_box(0); -x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_51, x_62, x_63, x_64, x_2, x_3, x_52); +x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_51, x_62, x_63, x_64, x_2, x_3, x_52); lean_dec(x_2); lean_dec(x_51); if (lean_obj_tag(x_65) == 0) @@ -12501,7 +12501,7 @@ x_96 = 0; x_97 = lean_usize_of_nat(x_89); lean_dec(x_89); x_98 = lean_box(0); -x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_87, x_96, x_97, x_98, x_2, x_3, x_88); +x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_87, x_96, x_97, x_98, x_2, x_3, x_88); lean_dec(x_2); lean_dec(x_87); if (lean_obj_tag(x_99) == 0) @@ -12606,7 +12606,7 @@ x_123 = 0; x_124 = lean_usize_of_nat(x_114); lean_dec(x_114); x_125 = lean_box(0); -x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_112, x_123, x_124, x_125, x_2, x_3, x_113); +x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_112, x_123, x_124, x_125, x_2, x_3, x_113); lean_dec(x_2); lean_dec(x_112); if (lean_obj_tag(x_126) == 0) diff --git a/stage0/stdlib/Lean/Elab/Deriving/Hashable.c b/stage0/stdlib/Lean/Elab/Deriving/Hashable.c index 7c6275203c..3be99150bd 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Hashable.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Hashable.c @@ -180,8 +180,8 @@ lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_registerBuiltinDerivingHandler(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_Hashable_mkHashFuncs___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__17; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__3___closed__2; static lean_object* l_Lean_Elab_Deriving_Hashable_mkHashFuncs___closed__2; @@ -4274,7 +4274,7 @@ x_29 = 0; x_30 = lean_usize_of_nat(x_22); lean_dec(x_22); x_31 = lean_box(0); -x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_20, x_29, x_30, x_31, x_2, x_3, x_21); +x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_20, x_29, x_30, x_31, x_2, x_3, x_21); lean_dec(x_2); lean_dec(x_20); if (lean_obj_tag(x_32) == 0) @@ -4379,7 +4379,7 @@ x_56 = 0; x_57 = lean_usize_of_nat(x_47); lean_dec(x_47); x_58 = lean_box(0); -x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_45, x_56, x_57, x_58, x_2, x_3, x_46); +x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_45, x_56, x_57, x_58, x_2, x_3, x_46); lean_dec(x_2); lean_dec(x_45); if (lean_obj_tag(x_59) == 0) diff --git a/stage0/stdlib/Lean/Elab/Deriving/Ord.c b/stage0/stdlib/Lean/Elab/Deriving/Ord.c index b3b60dd7b2..98c9e489e2 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Ord.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Ord.c @@ -189,9 +189,9 @@ lean_object* l_Lean_Elab_registerBuiltinDerivingHandler(lean_object*, lean_objec static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__13; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_pop(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Deriving_Ord_mkOrdInstanceHandler___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__14; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__28; @@ -5528,7 +5528,7 @@ x_29 = 0; x_30 = lean_usize_of_nat(x_22); lean_dec(x_22); x_31 = lean_box(0); -x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_20, x_29, x_30, x_31, x_2, x_3, x_21); +x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_20, x_29, x_30, x_31, x_2, x_3, x_21); lean_dec(x_2); lean_dec(x_20); if (lean_obj_tag(x_32) == 0) @@ -5633,7 +5633,7 @@ x_56 = 0; x_57 = lean_usize_of_nat(x_47); lean_dec(x_47); x_58 = lean_box(0); -x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_45, x_56, x_57, x_58, x_2, x_3, x_46); +x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_45, x_56, x_57, x_58, x_2, x_3, x_46); lean_dec(x_2); lean_dec(x_45); if (lean_obj_tag(x_59) == 0) diff --git a/stage0/stdlib/Lean/Elab/Deriving/Repr.c b/stage0/stdlib/Lean/Elab/Deriving/Repr.c index 0bee18a970..f30ca6360a 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Repr.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Repr.c @@ -248,7 +248,6 @@ static lean_object* l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Re static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__51; static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__18; static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__15; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_Repr_mkMutualBlock___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_Repr_mkMutualBlock___closed__1; static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__16; @@ -261,6 +260,7 @@ lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___boxed(lean_object*, lean_ static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__24; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___boxed(lean_object**); lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3(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_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_head_x21___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__1___closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___closed__1; lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -7417,7 +7417,7 @@ x_29 = 0; x_30 = lean_usize_of_nat(x_22); lean_dec(x_22); x_31 = lean_box(0); -x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_20, x_29, x_30, x_31, x_2, x_3, x_21); +x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_20, x_29, x_30, x_31, x_2, x_3, x_21); lean_dec(x_2); lean_dec(x_20); if (lean_obj_tag(x_32) == 0) @@ -7522,7 +7522,7 @@ x_56 = 0; x_57 = lean_usize_of_nat(x_47); lean_dec(x_47); x_58 = lean_box(0); -x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__13(x_45, x_56, x_57, x_58, x_2, x_3, x_46); +x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__12(x_45, x_56, x_57, x_58, x_2, x_3, x_46); lean_dec(x_2); lean_dec(x_45); if (lean_obj_tag(x_59) == 0) diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 63565a9735..17e2b7f6e8 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -13,10 +13,12 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; lean_object* l_List_reverse___rarg(lean_object*); uint8_t l_Lean_Syntax_isQuot(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__8; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__4; @@ -41,20 +43,23 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__2 static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__9; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__7; -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__3; size_t l_USize_add(size_t, size_t); static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermUnless___closed__2; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermUnless___closed__1; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__11; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__2; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___lambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___closed__1; +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__8; lean_object* l_Lean_Elab_Term_Do_hasBreakContinueReturn_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); @@ -62,13 +67,11 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__1 static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__5; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__18; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__12; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__13; lean_object* l_Lean_Elab_Term_Do_mkFreshJP___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -79,9 +82,9 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkMatch___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__10; lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__26; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8___rarg(lean_object*); lean_object* l_Lean_Syntax_getHeadInfo_x3f(lean_object*); lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); @@ -90,12 +93,9 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_getLetDeclVars___spec__1(l static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__11; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5___closed__1; lean_object* l_Lean_throwError___at_Lean_Meta_whnf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getLetPatDeclVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__5; -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__5; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8; -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__14; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__28; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -109,10 +109,11 @@ lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___lambda__1(l static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__2; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_eraseOptVar_match__1(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_concat___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__4; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__4; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__1(lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -122,15 +123,16 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__43; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__3; lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); -lean_object* l_Lean_Elab_Term_Do_mkJmp___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Do_mkSeq___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__6; lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getDoIdDeclVar___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; lean_object* l_Lean_Elab_Term_Do_hasBreakContinue___boxed(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; @@ -139,12 +141,12 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__22; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_withFor___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__5; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__25; -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_concat___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__3; lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___boxed__const__1; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__15; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__29; @@ -152,6 +154,7 @@ lean_object* l_Lean_SourceInfo_fromRef(lean_object*); lean_object* l_Lean_Elab_Term_Do_mkMatch___boxed__const__1; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___boxed(lean_object**); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__5; lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -159,14 +162,15 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_do static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__19; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5___closed__2; uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod___spec__1(lean_object*, size_t, size_t); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__12___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__1(lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_Elab_Term_Do_elabDo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__5; -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__13; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__8; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasReturn___spec__2(lean_object*, size_t, size_t); static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__6; @@ -186,6 +190,7 @@ static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__2___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__10; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__32; +lean_object* l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeq___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36; static lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__2; @@ -202,6 +207,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Ter static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandTermFor(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); @@ -209,11 +215,11 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__6; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__8; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__11; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_mkJmp(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_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__22; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__4; static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__9; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; @@ -223,10 +229,8 @@ lean_object* l_Lean_Elab_Term_Do_getDoPatDeclVars___boxed(lean_object*, lean_obj static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -237,7 +241,6 @@ uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasRetu static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind___closed__2; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_concat___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_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; lean_object* l_Lean_Elab_Term_Do_isMutableLet___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermReturn___closed__3; @@ -246,28 +249,30 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__49; static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__6; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinue___spec__2(lean_object*, size_t, size_t); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Do_elabDo___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_array_get_size(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__16; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp(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_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable___spec__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_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData___closed__2; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__14; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__32; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__9; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__10; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_toTerm___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_getDoLetRecVars___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__12; static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__1; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__24; lean_object* l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -275,21 +280,20 @@ lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(lean_object*, lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable___spec__1___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__6; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_mkMatch___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg(lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__13; static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__3(lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__6; static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__13; static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_sequenceMap_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__6; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__24; lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -300,6 +304,7 @@ lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasTerminalAction___s lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind_match__1___rarg(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__36; @@ -321,6 +326,7 @@ lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_obj static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__3; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__6; uint8_t l_USize_decLt(size_t, size_t); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__27; @@ -329,16 +335,15 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; lean_object* l_Lean_Elab_Term_Do_eraseVars(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__33; +lean_object* l_Lean_Elab_Term_expandTermReturn___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData___closed__3; static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; static lean_object* l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__4; lean_object* l_Lean_Elab_Term_Do_mkFreshJP___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__4; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLiftMethod___closed__1; lean_object* l_Lean_Elab_Term_Do_ToTerm_run___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod___boxed(lean_object*); @@ -347,9 +352,9 @@ lean_object* l_Lean_Elab_Term_Do_concat___lambda__1___boxed(lean_object*, lean_o lean_object* lean_nat_add(lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Do_isMutableLet(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__8; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25; +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_elabDo___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* l_Lean_Elab_Term_Do_mkFreshJP(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__5; @@ -362,11 +367,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__8; lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1___boxed(lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; lean_object* l_Lean_Elab_Term_Do_ToTerm_toTerm_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__4; lean_object* l_Lean_Elab_Term_Do_hasBreakContinue_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__2; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_zip___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind_match__1___rarg___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_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm(lean_object*, lean_object*, lean_object*, lean_object*); @@ -390,7 +395,6 @@ lean_object* l_List_map___at_Lean_Elab_Term_CollectPatternVars_collect_processEx static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__17; static lean_object* l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__10; lean_object* l_Lean_Elab_Term_Quotation_getPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___boxed__const__1; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; @@ -402,8 +406,10 @@ lean_object* l_List_map___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___sp lean_object* l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData___spec__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__1; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasTerminalAction___spec__2(lean_object*, size_t, size_t); +lean_object* l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__1(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__4; @@ -419,7 +425,8 @@ lean_object* l_Lean_Elab_Term_elabLiftMethod___boxed(lean_object*, lean_object*, lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__38; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__21; -lean_object* l_Lean_Elab_Term_Do_mkJmp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__3; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -428,7 +435,6 @@ static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___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_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint_match__1(lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__15; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__1; lean_object* l_Lean_Elab_Term_Do_getLetDeclVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandTermReturn(lean_object*); @@ -438,25 +444,29 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_T lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f_match__2(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__11; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__9; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__4; lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_sequenceMap___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__24; static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__8; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_union(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor___closed__1; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__4; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandTermUnless___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermTry___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__10; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -478,7 +488,7 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___cl lean_object* l_Lean_Elab_Term_Do_attachJPs(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__2; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -489,8 +499,6 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3(lean_object static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__4; static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__4; -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__3; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod_match__1(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -500,14 +508,15 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLif static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__21; static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__4; static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__7; +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_Kind_isRegular_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__20; lean_object* l_Lean_Elab_Term_Do_ToTerm_Kind_isRegular_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Do_eraseVars___boxed(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__34; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermTry___closed__1; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__9; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__1; @@ -515,7 +524,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_matchNestedTer lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; lean_object* l_Lean_Elab_Term_getPatternVarNames(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__3___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -523,6 +531,7 @@ uint8_t l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder(lea static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_hasReturn_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__24; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -531,7 +540,6 @@ static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__22; lean_object* l_Lean_Elab_Term_Do_instInhabitedAlt___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Do_addFreshJP___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___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*); @@ -541,6 +549,7 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__2; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__1; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_ToCodeBlock_tryCatchPred___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; @@ -548,10 +557,10 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_do lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__4(lean_object*, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__5; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__16; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_homogenize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; uint8_t l_Lean_Elab_Term_Do_hasExitPoint(lean_object*); @@ -560,18 +569,16 @@ uint8_t l_Lean_Elab_Term_Do_hasReturn(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__18; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_Do_hasBreakContinue_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_Do_attachJPs___spec__1(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__5; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__3; -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__6; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_concatWith_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__9; static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__9; @@ -597,22 +604,26 @@ lean_object* l_Lean_Elab_Term_Do_attachJPs___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__3; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__1; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPoint___spec__2(lean_object*, size_t, size_t); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__9; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__19; lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData(lean_object*); lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___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_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__4; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__1; lean_object* l_Lean_Elab_Term_Do_hasTerminalAction_match__1(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandTermTry___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_getDoLetRecVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__6; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35; @@ -626,6 +637,7 @@ static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__5; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__25; lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -643,11 +655,12 @@ lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageCo static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__18; static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__15; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__7; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__4; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__3; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__3; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinue___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__7; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_tryCatchPred___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -655,21 +668,20 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; lean_object* l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__31; lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop_match__1___rarg(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_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_withFor(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__10; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__27; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkDoIfView(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3___rarg(lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__2___boxed(lean_object*, lean_object*, lean_object*); @@ -678,12 +690,11 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lam lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__6; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__5; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___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_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__1___closed__3; @@ -691,13 +702,13 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__37; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_eraseVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop_match__1(lean_object*); uint8_t l___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod(lean_object*); +lean_object* l_Lean_Elab_Term_expandTermFor___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__48; lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__3___rarg(lean_object*, lean_object*); static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_expandTermTry___closed__3; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_extendUpdatedVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkDoSeq___spec__1(size_t, size_t, lean_object*); @@ -708,13 +719,16 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___c lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___boxed__const__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_concat___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__10; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__14; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkUVarTuple___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getLetEqnsDeclVar___boxed(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__12; static lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__4; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; @@ -730,21 +744,23 @@ lean_object* l_Lean_Elab_Term_Do_mkSingletonDoSeq(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__30; extern lean_object* l_Lean_instInhabitedSyntax; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkReassignCore___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* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__23; static lean_object* l_Lean_Elab_Term_Do_getDoHaveVar___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__1; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__15; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS___closed__2; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Do_elabDo(lean_object*); lean_object* l_Lean_Core_checkMaxHeartbeats(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__34; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__3; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__4___rarg(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); @@ -756,10 +772,10 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__21; static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; lean_object* l_Lean_Elab_Term_Do_insertVars(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__14; -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__11; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__4(size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkUnless(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__18; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -767,15 +783,18 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean lean_object* l___regBuiltin_Lean_Elab_Term_expandTermUnless(lean_object*); lean_object* l_Lean_Elab_Term_Do_instInhabitedAlt(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars___spec__1(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__15; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__13; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__5; lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__25; +lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__4; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__5; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor(lean_object*); @@ -785,17 +804,19 @@ lean_object* l_Array_anyMUnsafe_any___rarg(lean_object*, lean_object*, lean_obje size_t lean_usize_of_nat(lean_object*); uint8_t l_Lean_Syntax_isAntiquot(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_CodeBlock_uvars___default; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__1; -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__2; lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_map___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__3___boxed(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkJmp___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__47; static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__3; lean_object* l_Lean_throwError___at___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -804,14 +825,14 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(lean_objec lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__3; uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__11; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___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_object*); +lean_object* l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__11; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_withNewMutableVars(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__29; static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; @@ -821,7 +842,6 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__2 uint8_t l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__4; lean_object* l_Lean_Elab_Term_Do_hasExitPointPred(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; @@ -829,7 +849,6 @@ lean_object* l_Lean_Elab_Term_Do_concat_match__1(lean_object*); lean_object* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__26; lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkUVarTuple___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -845,11 +864,12 @@ uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Do_hasTerminalAction___boxed(lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasExitPoint___spec__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_getPatternVarsEx___spec__1(size_t, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__5; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__1; lean_object* l_Lean_Elab_Term_Do_eraseOptVar_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__18; @@ -857,14 +877,17 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__1; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__5(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__10; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__15; static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__11; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24; lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTerminalAction___spec__1___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__1; -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24069_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24070_(lean_object*); static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__3; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -875,16 +898,18 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBind static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__12; lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Do_concat(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_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__14; static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias___closed__4; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__6; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Do_mkUnless___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Do_hasReturn___boxed(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -895,13 +920,16 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___bo static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__1; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__5; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__17; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__7___rarg(lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; lean_object* l_Lean_Elab_Term_Do_getDoPatDeclVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__30; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_elabDo___closed__2; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__3; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeq(lean_object*); lean_object* l_Lean_Elab_Term_Do_mkIte(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -929,6 +957,7 @@ uint8_t lean_expr_eqv(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__8; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkPureUnitAction(lean_object*, lean_object*); @@ -939,6 +968,7 @@ uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasExitPoint___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__44; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Id_instMonadId; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_mkMatch___spec__2(lean_object*, size_t, size_t, lean_object*); @@ -954,16 +984,17 @@ lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___lambda__1__ lean_object* l_Array_sequenceMap___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13; lean_object* l_Lean_mkApp(lean_object*, lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__7; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_mkReassignCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__4; lean_object* l_Lean_Elab_Term_Do_getDoReassignVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__27; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__3; static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; @@ -971,21 +1002,22 @@ lean_object* l_Lean_Elab_Term_expandTermReturn(lean_object*, lean_object*, lean_ lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkFreshJP_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__4; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__1; lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__2(lean_object*); +lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__45; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_withNewMutableVars___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__13; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__4; @@ -993,10 +1025,8 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkRe static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__27; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f_match__1(lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___boxed__const__1; lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind_match__1(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1(lean_object*, lean_object*, lean_object*); @@ -1006,11 +1036,10 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__3; lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__13; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__8; -lean_object* l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__12; -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__12; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__9; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_RBNode_any___at_Lean_Elab_Term_Do_extendUpdatedVars___spec__1(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLiftMethod___closed__2; @@ -1018,28 +1047,32 @@ static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__2___closed__ static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__12; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___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* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_getDoLetRecVars___spec__1(size_t, size_t, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__24; static lean_object* l_Lean_Elab_Term_Do_elabDo___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__7; lean_object* l_Lean_Elab_Term_Do_mkVarDeclCore(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__2; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__6; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__23; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getLetEqnsDeclVar(lean_object*); lean_object* l_Lean_Elab_Term_Do_concat___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_Do_hasTerminalAction_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__1___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__37; -lean_object* l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__14; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__6; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__7; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__2; @@ -1048,6 +1081,7 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed(lean_object*, l lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__7(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__28; +lean_object* l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_getLetDeclVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable___spec__1___closed__4; static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; @@ -1057,7 +1091,6 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__19 static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__6; lean_object* l_Lean_Elab_Term_Do_mkMatch(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_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkFreshJP___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_Do_mkIte_match__1___rarg(lean_object*, lean_object*); @@ -1066,10 +1099,11 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_pullExitPointsAux___s lean_object* l_Lean_Elab_Term_Do_attachJP___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias___closed__3; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclHasBinders___boxed(lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_Kind_isRegular_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode_match__1(lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__30; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__4; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars_match__1(lean_object*); @@ -1082,9 +1116,10 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___cl static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__3; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_withNewMutableVars___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__1___closed__1; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__1; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__2___rarg(lean_object*, lean_object*, lean_object*); @@ -1093,12 +1128,13 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__21 static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__2; static lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__5; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Do_ToCodeBlock_Context_insideFor___default; static lean_object* l_Lean_Elab_Term_Do_mkFreshJP___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__5; lean_object* l_Lean_Elab_Term_Do_getDoHaveVar(lean_object*); @@ -1117,7 +1153,6 @@ lean_object* l_Lean_Elab_Term_Do_mkContinue(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_Kind_isRegular___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getLetPatDeclVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___rarg(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandTermFor(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint_match__1___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__8; @@ -1125,7 +1160,6 @@ static lean_object* l_Lean_Elab_Term_Do_getLetDeclVars___closed__1; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getLetDeclVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__4; lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop(lean_object*, lean_object*); @@ -1141,10 +1175,10 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__7; lean_object* l_Lean_Elab_Term_Do_mkReassignCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__2; -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__9; static lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__3; lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_Do_attachJPs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint_match__2___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__2(lean_object*, size_t, size_t); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__8; @@ -1166,7 +1200,6 @@ lean_object* l_Lean_indentD(lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__7; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__3; uint8_t l_Lean_Syntax_isEscapedAntiquot(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__31; @@ -1177,14 +1210,15 @@ lean_object* l_Lean_Elab_Term_Do_getLetIdDeclVar___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__1; static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__11; uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_withFor___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__3; -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias___closed__7; lean_object* l_Lean_Elab_Term_Do_attachJP(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__1; lean_object* l_Lean_Elab_Term_Do_concat___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_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___boxed__const__1; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; @@ -1196,19 +1230,18 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimit lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_3629____spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Do_insertVars___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__20; lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkUVarTuple___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__4; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__8; lean_object* l_Lean_Elab_Term_Do_mkDoSeq(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_concatWith_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__8; static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__4; @@ -1220,36 +1253,33 @@ static lean_object* l_Lean_Elab_Term_Do_instInhabitedCode___closed__1; lean_object* l_Lean_Elab_Term_expandTermUnless(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__7; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__7; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__5; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__5; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__21; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; uint8_t l_Lean_Elab_Term_Do_ToTerm_mkNestedKind(uint8_t, uint8_t, uint8_t); static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__23; uint8_t l_List_isEmpty___rarg(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__2___closed__1; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__7; -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f___closed__2; lean_object* l_Lean_Elab_Term_Do_getDoReassignVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__10; static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__4; -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__1; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Do_mkJmp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__8; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__26; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__1; lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__19; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__2___closed__2; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; @@ -1258,10 +1288,13 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__2; static lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__2; lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__2; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__25; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; @@ -1271,7 +1304,6 @@ static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___cl static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__27; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__10; lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinueReturn___spec__1___boxed(lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__4; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_getDoHaveVar___closed__2; lean_object* l_Lean_mkConst(lean_object*, lean_object*); @@ -1284,8 +1316,11 @@ static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__8; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__15; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__3; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__37; lean_object* l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint_match__2(lean_object*); +lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__16; lean_object* l_Lean_Elab_Term_Do_mkFreshJP_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_mkReassignCore___spec__1(lean_object*, lean_object*, size_t, size_t); @@ -1301,7 +1336,6 @@ static lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__7; static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__9; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__5; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkUVarTuple___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__1; @@ -1309,34 +1343,35 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_tryCatchPred(lean_object*, lean_obj lean_object* l_Lean_Elab_Term_Do_pullExitPoints_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__1; -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getDoLetVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__7; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__12; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___boxed(lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__17; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__5; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux_match__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_any___at_Lean_Elab_Term_Do_extendUpdatedVars___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__22; lean_object* l_Lean_Elab_Term_Do_hasExitPoint___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__7; static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias___closed__5; +lean_object* l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1___boxed(lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__2; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33; static lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__6; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__8; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__13; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__2___closed__4; @@ -1362,38 +1397,16 @@ return x_2; } else { -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Lean_Syntax_getArg(x_4, x_6); -lean_dec(x_4); -x_8 = l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1(x_5); -lean_ctor_set(x_1, 1, x_8); -lean_ctor_set(x_1, 0, x_7); -return x_1; -} -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; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_1); -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Lean_Syntax_getArg(x_9, x_11); -lean_dec(x_9); -x_13 = l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1(x_10); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} +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); +x_4 = lean_ctor_get(x_1, 1); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_Syntax_getArg(x_3, x_5); +x_7 = l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1(x_4); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; } } } @@ -1518,6 +1531,7 @@ x_10 = l_Lean_Syntax_getArgs(x_9); lean_dec(x_9); x_11 = lean_array_to_list(lean_box(0), x_10); x_12 = l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1(x_11); +lean_dec(x_11); return x_12; } } @@ -1532,10 +1546,20 @@ x_15 = l_Lean_Syntax_getArgs(x_14); lean_dec(x_14); x_16 = lean_array_to_list(lean_box(0), x_15); x_17 = l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1(x_16); +lean_dec(x_16); return x_17; } } } +lean_object* l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeq(lean_object* x_1) { _start: { @@ -2458,15 +2482,15 @@ lean_inc(x_1); x_9 = l_Lean_Meta_getDecLevel(x_1, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_9) == 0) { -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -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; -x_11 = lean_ctor_get(x_9, 0); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); x_12 = lean_box(0); x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 0, x_10); lean_ctor_set(x_13, 1, x_12); x_14 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__2; lean_inc(x_13); @@ -2481,62 +2505,24 @@ lean_ctor_set(x_19, 0, x_15); lean_ctor_set(x_19, 1, x_1); lean_ctor_set(x_19, 2, x_17); lean_ctor_set(x_19, 3, x_18); -lean_ctor_set(x_9, 0, x_19); -return x_9; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_11); +return x_20; } else { -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; -x_20 = lean_ctor_get(x_9, 0); -x_21 = lean_ctor_get(x_9, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_9); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_20); -lean_ctor_set(x_23, 1, x_22); -x_24 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__2; -lean_inc(x_23); -x_25 = l_Lean_mkConst(x_24, x_23); -x_26 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__4; -x_27 = l_Lean_mkConst(x_26, x_23); -lean_inc(x_1); -lean_inc(x_25); -x_28 = l_Lean_mkApp(x_25, x_1); -x_29 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_29, 0, x_25); -lean_ctor_set(x_29, 1, x_1); -lean_ctor_set(x_29, 2, x_27); -lean_ctor_set(x_29, 3, x_28); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_21); -return x_30; -} -} -else -{ -uint8_t x_31; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_1); -x_31 = !lean_is_exclusive(x_9); -if (x_31 == 0) -{ -return x_9; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_9, 0); -x_33 = lean_ctor_get(x_9, 1); -lean_inc(x_33); -lean_inc(x_32); +x_21 = lean_ctor_get(x_9, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_9, 1); +lean_inc(x_22); lean_dec(x_9); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; } } } @@ -2693,21 +2679,20 @@ x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); if (lean_obj_tag(x_10) == 0) { -uint8_t x_11; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_11 = !lean_is_exclusive(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_9, 0); -lean_dec(x_12); -x_13 = lean_box(0); -lean_ctor_set(x_9, 0, x_13); -return x_9; +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; } else { @@ -2715,52 +2700,30 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; x_14 = lean_ctor_get(x_9, 1); lean_inc(x_14); lean_dec(x_9); -x_15 = lean_box(0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); +x_15 = lean_ctor_get(x_10, 0); +lean_inc(x_15); +lean_dec(x_10); +x_16 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f(x_2, x_15, x_4, x_5, x_6, x_7, x_14); return x_16; } } else { lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_9, 1); -lean_inc(x_17); -lean_dec(x_9); -x_18 = lean_ctor_get(x_10, 0); -lean_inc(x_18); -lean_dec(x_10); -x_19 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f(x_2, x_18, x_4, x_5, x_6, x_7, x_17); -return x_19; -} -} -else -{ -uint8_t x_20; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_20 = !lean_is_exclusive(x_9); -if (x_20 == 0) -{ -return x_9; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_9, 0); -x_22 = lean_ctor_get(x_9, 1); -lean_inc(x_22); -lean_inc(x_21); +x_17 = lean_ctor_get(x_9, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_9, 1); +lean_inc(x_18); lean_dec(x_9); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; } } } @@ -2840,7 +2803,7 @@ return x_19; } else { -lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec(x_12); lean_dec(x_1); x_20 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f___closed__2; @@ -2849,143 +2812,79 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -return x_21; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } else { -uint8_t x_26; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_26 = !lean_is_exclusive(x_11); -if (x_26 == 0) -{ -return x_11; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_11, 0); -x_28 = lean_ctor_get(x_11, 1); -lean_inc(x_28); -lean_inc(x_27); +x_25 = lean_ctor_get(x_11, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_11, 1); +lean_inc(x_26); lean_dec(x_11); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } else { -uint8_t x_30; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_30 = !lean_is_exclusive(x_8); -if (x_30 == 0) -{ -lean_object* x_31; uint8_t x_32; -x_31 = lean_ctor_get(x_8, 0); -lean_dec(x_31); -x_32 = !lean_is_exclusive(x_9); -if (x_32 == 0) -{ -return x_8; -} -else -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_9, 0); -lean_inc(x_33); +x_28 = lean_ctor_get(x_8, 1); +lean_inc(x_28); +lean_dec(x_8); +x_29 = lean_ctor_get(x_9, 0); +lean_inc(x_29); lean_dec(x_9); -x_34 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_8, 0, x_34); -return x_8; +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_28); +return x_31; } } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_35 = lean_ctor_get(x_8, 1); -lean_inc(x_35); -lean_dec(x_8); -x_36 = lean_ctor_get(x_9, 0); -lean_inc(x_36); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - x_37 = x_9; -} else { - lean_dec_ref(x_9); - x_37 = lean_box(0); -} -if (lean_is_scalar(x_37)) { - x_38 = lean_alloc_ctor(1, 1, 0); -} else { - x_38 = x_37; -} -lean_ctor_set(x_38, 0, x_36); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_35); -return x_39; -} -} -} -else -{ -uint8_t x_40; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_8); -if (x_40 == 0) -{ -return x_8; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_8, 0); -x_42 = lean_ctor_get(x_8, 1); -lean_inc(x_42); -lean_inc(x_41); +x_32 = lean_ctor_get(x_8, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_8, 1); +lean_inc(x_33); lean_dec(x_8); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } } @@ -3001,7 +2900,7 @@ return x_9; lean_object* l_Lean_throwError___at___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___spec__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) { _start: { -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; uint8_t x_16; +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; x_9 = lean_ctor_get(x_6, 3); x_10 = lean_ctor_get(x_2, 3); lean_inc(x_10); @@ -3016,34 +2915,18 @@ lean_dec(x_12); x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); lean_dec(x_2); lean_dec(x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 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); x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; } } static lean_object* _init_l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__1() { @@ -3105,75 +2988,42 @@ x_16 = lean_box(0); x_17 = l_Lean_Meta_synthInstance(x_14, x_16, x_3, x_4, x_5, x_6, x_15); if (lean_obj_tag(x_17) == 0) { -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +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_alloc_ctor(0, 4, 0); lean_ctor_set(x_20, 0, x_8); lean_ctor_set(x_20, 1, x_9); -lean_ctor_set(x_20, 2, x_19); +lean_ctor_set(x_20, 2, x_18); lean_ctor_set(x_20, 3, x_1); x_21 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_17, 0, x_21); -return x_17; +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_19); +return x_22; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_17, 0); -x_23 = lean_ctor_get(x_17, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_17); -x_24 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_24, 0, x_8); -lean_ctor_set(x_24, 1, x_9); -lean_ctor_set(x_24, 2, x_22); -lean_ctor_set(x_24, 3, x_1); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, 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_23); -return x_26; -} -} -else -{ -uint8_t x_27; +lean_object* x_23; lean_object* x_24; lean_dec(x_9); lean_dec(x_8); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_17); -if (x_27 == 0) -{ -lean_object* x_28; -x_28 = lean_ctor_get(x_17, 0); -lean_dec(x_28); -lean_ctor_set_tag(x_17, 0); -lean_ctor_set(x_17, 0, x_16); -return x_17; -} -else -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_17, 1); -lean_inc(x_29); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); lean_dec(x_17); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_16); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_16); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } else { -uint8_t x_31; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); @@ -3181,45 +3031,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_31 = !lean_is_exclusive(x_13); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_13, 0); -lean_dec(x_32); -x_33 = lean_box(0); -lean_ctor_set_tag(x_13, 0); -lean_ctor_set(x_13, 0, x_33); -return x_13; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_13, 1); -lean_inc(x_34); +x_25 = lean_ctor_get(x_13, 1); +lean_inc(x_25); lean_dec(x_13); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; -} +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } } else { -lean_object* x_37; lean_object* x_38; +lean_object* x_28; lean_object* x_29; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_37 = lean_box(0); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_7); -return x_38; +x_28 = lean_box(0); +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; } } } @@ -3269,68 +3104,43 @@ return x_16; } else { -uint8_t x_17; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_dec(x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_17 = !lean_is_exclusive(x_13); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_13, 0); -lean_dec(x_18); -x_19 = lean_ctor_get(x_14, 0); -lean_inc(x_19); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); lean_dec(x_14); -lean_ctor_set(x_13, 0, x_19); -return x_13; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} } else { lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_13, 1); -lean_inc(x_20); -lean_dec(x_13); -x_21 = lean_ctor_get(x_14, 0); -lean_inc(x_21); -lean_dec(x_14); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -else -{ -uint8_t x_23; lean_dec(x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_23 = !lean_is_exclusive(x_13); -if (x_23 == 0) -{ -return x_13; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_13, 0); -x_25 = lean_ctor_get(x_13, 1); -lean_inc(x_25); -lean_inc(x_24); +x_20 = lean_ctor_get(x_13, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); lean_dec(x_13); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } } @@ -3434,38 +3244,20 @@ return x_2; } else { -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = lean_simp_macro_scopes(x_4); -x_7 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_7, 0, x_6); -x_8 = l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData___spec__1(x_5); -lean_ctor_set(x_1, 1, x_8); -lean_ctor_set(x_1, 0, x_7); -return x_1; -} -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; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -lean_inc(x_9); +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_11 = lean_simp_macro_scopes(x_9); -x_12 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_12, 0, x_11); -x_13 = l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData___spec__1(x_10); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} +x_5 = lean_simp_macro_scopes(x_3); +x_6 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_6, 0, x_5); +x_7 = l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData___spec__1(x_4); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; } } } @@ -3915,36 +3707,17 @@ return x_2; } else { -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_6, 0, x_4); -x_7 = l_List_map___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__3(x_5); -lean_ctor_set(x_1, 1, x_7); -lean_ctor_set(x_1, 0, x_6); -return x_1; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_ctor_get(x_1, 0); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -lean_inc(x_8); -lean_dec(x_1); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_8); -x_11 = l_List_map___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__3(x_9); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +x_6 = l_List_map___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__3(x_4); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; } } } @@ -4511,6 +4284,7 @@ lean_ctor_set(x_126, 0, x_124); lean_ctor_set(x_126, 1, x_125); x_127 = lean_array_to_list(lean_box(0), x_120); x_128 = l_List_map___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__3(x_127); +lean_dec(x_127); x_129 = l_Lean_MessageData_ofList(x_128); lean_dec(x_128); x_130 = lean_alloc_ctor(10, 2, 0); @@ -4550,6 +4324,15 @@ lean_dec(x_2); return x_8; } } +lean_object* l_List_map___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__3___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_List_map___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__3(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData(lean_object* x_1) { _start: { @@ -6834,534 +6617,161 @@ goto _start; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___spec__2(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; lean_object* x_9; uint8_t x_10; +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; 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; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); x_6 = lean_ctor_get(x_3, 1); -x_7 = lean_ctor_get(x_3, 5); -x_8 = lean_ctor_get(x_3, 2); -lean_dec(x_8); -x_9 = l_Lean_replaceRef(x_1, x_7); -lean_dec(x_7); -x_10 = !lean_is_exclusive(x_4); -if (x_10 == 0) -{ -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_inc(x_6); +x_7 = lean_ctor_get(x_3, 3); +lean_inc(x_7); +x_8 = lean_ctor_get(x_3, 4); +lean_inc(x_8); +x_9 = lean_ctor_get(x_3, 5); +lean_inc(x_9); +lean_dec(x_3); +x_10 = l_Lean_replaceRef(x_1, x_9); +lean_dec(x_9); x_11 = lean_ctor_get(x_4, 0); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_add(x_11, x_12); -lean_ctor_set(x_4, 0, x_13); +lean_inc(x_11); +x_12 = lean_ctor_get(x_4, 1); +lean_inc(x_12); +lean_dec(x_4); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_11, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); lean_inc(x_11); lean_inc(x_6); -lean_ctor_set(x_3, 5, x_9); -lean_ctor_set(x_3, 2, x_11); -x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_4); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -x_18 = l_Lean_addMacroScope(x_6, x_17, x_11); -x_19 = lean_box(0); -x_20 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; +x_16 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_6); +lean_ctor_set(x_16, 2, x_11); +lean_ctor_set(x_16, 3, x_7); +lean_ctor_set(x_16, 4, x_8); +lean_ctor_set(x_16, 5, x_10); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_16, x_15); +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -x_21 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_21, 0, x_15); -lean_ctor_set(x_21, 1, x_20); -lean_ctor_set(x_21, 2, x_18); -lean_ctor_set(x_21, 3, x_19); -x_22 = l_Lean_Syntax_getId(x_21); -x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_16); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_24); -x_27 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_27, 0, x_24); -lean_ctor_set(x_27, 1, x_26); -lean_inc(x_24); -x_28 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_28, 0, x_24); -lean_ctor_set(x_28, 1, x_20); -lean_ctor_set(x_28, 2, x_18); -lean_ctor_set(x_28, 3, x_19); -x_29 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; +x_21 = l_Lean_addMacroScope(x_6, x_20, x_11); +x_22 = lean_box(0); +x_23 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; +lean_inc(x_21); +x_24 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_23); +lean_ctor_set(x_24, 2, x_21); +lean_ctor_set(x_24, 3, x_22); +x_25 = l_Lean_Syntax_getId(x_24); +x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_16, x_19); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_27); x_30 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_30, 0, x_24); +lean_ctor_set(x_30, 0, x_27); lean_ctor_set(x_30, 1, x_29); -x_31 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_32 = lean_array_push(x_31, x_1); -x_33 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -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_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_36 = lean_array_push(x_35, x_28); -x_37 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_38 = lean_array_push(x_36, x_37); -x_39 = lean_array_push(x_38, x_30); -x_40 = lean_array_push(x_39, x_34); -x_41 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -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_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_44 = lean_array_push(x_43, x_27); -x_45 = lean_array_push(x_44, x_37); -x_46 = lean_array_push(x_45, x_42); -x_47 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -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_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_25); -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); -x_52 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_50); -x_53 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_53, 0, x_50); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_50); -lean_ctor_set(x_55, 1, x_54); -x_56 = lean_array_push(x_31, x_55); -x_57 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -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 = lean_array_push(x_43, x_53); -x_60 = lean_array_push(x_59, x_58); -x_61 = lean_array_push(x_60, x_21); -x_62 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___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); -x_64 = lean_apply_3(x_2, x_63, x_3, x_51); -if (lean_obj_tag(x_64) == 0) +lean_inc(x_27); +x_31 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_23); +lean_ctor_set(x_31, 2, x_21); +lean_ctor_set(x_31, 3, x_22); +x_32 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +x_33 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_33, 0, x_27); +lean_ctor_set(x_33, 1, x_32); +x_34 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_35 = lean_array_push(x_34, x_1); +x_36 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_39 = lean_array_push(x_38, x_31); +x_40 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_41 = lean_array_push(x_39, x_40); +x_42 = lean_array_push(x_41, x_33); +x_43 = lean_array_push(x_42, x_37); +x_44 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_47 = lean_array_push(x_46, x_30); +x_48 = lean_array_push(x_47, x_40); +x_49 = lean_array_push(x_48, x_45); +x_50 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_16, x_28); +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); +x_55 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; +lean_inc(x_53); +x_56 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_53); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_array_push(x_34, x_58); +x_60 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +x_62 = lean_array_push(x_46, x_56); +x_63 = lean_array_push(x_62, x_61); +x_64 = lean_array_push(x_63, x_24); +x_65 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___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_apply_3(x_2, x_66, x_16, x_54); +if (lean_obj_tag(x_67) == 0) { -uint8_t x_65; -x_65 = !lean_is_exclusive(x_64); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_64, 0); -x_67 = lean_array_push(x_31, x_22); -x_68 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_48); -lean_ctor_set(x_68, 2, x_66); -lean_ctor_set(x_64, 0, x_68); -return x_64; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_69 = lean_ctor_get(x_64, 0); -x_70 = lean_ctor_get(x_64, 1); -lean_inc(x_70); +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); lean_inc(x_69); -lean_dec(x_64); -x_71 = lean_array_push(x_31, x_22); -x_72 = lean_alloc_ctor(0, 3, 0); +lean_dec(x_67); +x_70 = lean_array_push(x_34, x_25); +x_71 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_51); +lean_ctor_set(x_71, 2, x_68); +x_72 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_48); -lean_ctor_set(x_72, 2, x_69); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_70); -return x_73; -} +lean_ctor_set(x_72, 1, x_69); +return x_72; } else { -uint8_t x_74; -lean_dec(x_48); -lean_dec(x_22); -x_74 = !lean_is_exclusive(x_64); -if (x_74 == 0) -{ -return x_64; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_64, 0); -x_76 = lean_ctor_get(x_64, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_64); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} -} -} -else -{ -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; -x_78 = lean_ctor_get(x_4, 0); -x_79 = lean_ctor_get(x_4, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_4); -x_80 = lean_unsigned_to_nat(1u); -x_81 = lean_nat_add(x_78, x_80); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_79); -lean_inc(x_78); -lean_inc(x_6); -lean_ctor_set(x_3, 5, x_9); -lean_ctor_set(x_3, 2, x_78); -x_83 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_82); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -x_87 = l_Lean_addMacroScope(x_6, x_86, x_78); -x_88 = lean_box(0); -x_89 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_87); -x_90 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_90, 0, x_84); -lean_ctor_set(x_90, 1, x_89); -lean_ctor_set(x_90, 2, x_87); -lean_ctor_set(x_90, 3, x_88); -x_91 = l_Lean_Syntax_getId(x_90); -x_92 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_85); -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_93); -x_96 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_96, 0, x_93); -lean_ctor_set(x_96, 1, x_95); -lean_inc(x_93); -x_97 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_97, 0, x_93); -lean_ctor_set(x_97, 1, x_89); -lean_ctor_set(x_97, 2, x_87); -lean_ctor_set(x_97, 3, x_88); -x_98 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -x_99 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_99, 0, x_93); -lean_ctor_set(x_99, 1, x_98); -x_100 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_101 = lean_array_push(x_100, x_1); -x_102 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_101); -x_104 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_105 = lean_array_push(x_104, x_97); -x_106 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_107 = lean_array_push(x_105, x_106); -x_108 = lean_array_push(x_107, x_99); -x_109 = lean_array_push(x_108, x_103); -x_110 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_113 = lean_array_push(x_112, x_96); -x_114 = lean_array_push(x_113, x_106); -x_115 = lean_array_push(x_114, x_111); -x_116 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -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_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_94); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_121 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_119); -x_122 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_122, 0, x_119); -lean_ctor_set(x_122, 1, x_121); -x_123 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_119); -lean_ctor_set(x_124, 1, x_123); -x_125 = lean_array_push(x_100, x_124); -x_126 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_125); -x_128 = lean_array_push(x_112, x_122); -x_129 = lean_array_push(x_128, x_127); -x_130 = lean_array_push(x_129, x_90); -x_131 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_130); -x_133 = lean_apply_3(x_2, x_132, x_3, x_120); -if (lean_obj_tag(x_133) == 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; -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -if (lean_is_exclusive(x_133)) { - lean_ctor_release(x_133, 0); - lean_ctor_release(x_133, 1); - x_136 = x_133; -} else { - lean_dec_ref(x_133); - x_136 = lean_box(0); -} -x_137 = lean_array_push(x_100, x_91); -x_138 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_117); -lean_ctor_set(x_138, 2, x_134); -if (lean_is_scalar(x_136)) { - x_139 = lean_alloc_ctor(0, 2, 0); -} else { - x_139 = x_136; -} -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_135); -return x_139; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -lean_dec(x_117); -lean_dec(x_91); -x_140 = lean_ctor_get(x_133, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_133, 1); -lean_inc(x_141); -if (lean_is_exclusive(x_133)) { - lean_ctor_release(x_133, 0); - lean_ctor_release(x_133, 1); - x_142 = x_133; -} else { - lean_dec_ref(x_133); - x_142 = lean_box(0); -} -if (lean_is_scalar(x_142)) { - x_143 = lean_alloc_ctor(1, 2, 0); -} else { - x_143 = x_142; -} -lean_ctor_set(x_143, 0, x_140); -lean_ctor_set(x_143, 1, x_141); -return x_143; -} -} -} -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; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_144 = lean_ctor_get(x_3, 0); -x_145 = lean_ctor_get(x_3, 1); -x_146 = lean_ctor_get(x_3, 3); -x_147 = lean_ctor_get(x_3, 4); -x_148 = lean_ctor_get(x_3, 5); -lean_inc(x_148); -lean_inc(x_147); -lean_inc(x_146); -lean_inc(x_145); -lean_inc(x_144); -lean_dec(x_3); -x_149 = l_Lean_replaceRef(x_1, x_148); -lean_dec(x_148); -x_150 = lean_ctor_get(x_4, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_4, 1); -lean_inc(x_151); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - x_152 = x_4; -} else { - lean_dec_ref(x_4); - x_152 = lean_box(0); -} -x_153 = lean_unsigned_to_nat(1u); -x_154 = lean_nat_add(x_150, x_153); -if (lean_is_scalar(x_152)) { - x_155 = lean_alloc_ctor(0, 2, 0); -} else { - x_155 = x_152; -} -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_151); -lean_inc(x_150); -lean_inc(x_145); -x_156 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_156, 0, x_144); -lean_ctor_set(x_156, 1, x_145); -lean_ctor_set(x_156, 2, x_150); -lean_ctor_set(x_156, 3, x_146); -lean_ctor_set(x_156, 4, x_147); -lean_ctor_set(x_156, 5, x_149); -x_157 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_156, x_155); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -x_161 = l_Lean_addMacroScope(x_145, x_160, x_150); -x_162 = lean_box(0); -x_163 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_161); -x_164 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_164, 0, x_158); -lean_ctor_set(x_164, 1, x_163); -lean_ctor_set(x_164, 2, x_161); -lean_ctor_set(x_164, 3, x_162); -x_165 = l_Lean_Syntax_getId(x_164); -x_166 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_156, x_159); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -lean_dec(x_166); -x_169 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_167); -x_170 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_170, 0, x_167); -lean_ctor_set(x_170, 1, x_169); -lean_inc(x_167); -x_171 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_171, 0, x_167); -lean_ctor_set(x_171, 1, x_163); -lean_ctor_set(x_171, 2, x_161); -lean_ctor_set(x_171, 3, x_162); -x_172 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -x_173 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_173, 0, x_167); -lean_ctor_set(x_173, 1, x_172); -x_174 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_175 = lean_array_push(x_174, x_1); -x_176 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_175); -x_178 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_179 = lean_array_push(x_178, x_171); -x_180 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_181 = lean_array_push(x_179, x_180); -x_182 = lean_array_push(x_181, x_173); -x_183 = lean_array_push(x_182, x_177); -x_184 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_187 = lean_array_push(x_186, x_170); -x_188 = lean_array_push(x_187, x_180); -x_189 = lean_array_push(x_188, x_185); -x_190 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_189); -x_192 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_156, x_168); -x_193 = lean_ctor_get(x_192, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_192, 1); -lean_inc(x_194); -lean_dec(x_192); -x_195 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_193); -x_196 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_196, 0, x_193); -lean_ctor_set(x_196, 1, x_195); -x_197 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; -x_198 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_198, 0, x_193); -lean_ctor_set(x_198, 1, x_197); -x_199 = lean_array_push(x_174, x_198); -x_200 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_199); -x_202 = lean_array_push(x_186, x_196); -x_203 = lean_array_push(x_202, x_201); -x_204 = lean_array_push(x_203, x_164); -x_205 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set(x_206, 1, x_204); -x_207 = lean_apply_3(x_2, x_206, x_156, x_194); -if (lean_obj_tag(x_207) == 0) -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_208 = lean_ctor_get(x_207, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_207, 1); -lean_inc(x_209); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - x_210 = x_207; -} else { - lean_dec_ref(x_207); - x_210 = lean_box(0); -} -x_211 = lean_array_push(x_174, x_165); -x_212 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_191); -lean_ctor_set(x_212, 2, x_208); -if (lean_is_scalar(x_210)) { - x_213 = lean_alloc_ctor(0, 2, 0); -} else { - x_213 = x_210; -} -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_209); -return x_213; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; -lean_dec(x_191); -lean_dec(x_165); -x_214 = lean_ctor_get(x_207, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_207, 1); -lean_inc(x_215); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - x_216 = x_207; -} else { - lean_dec_ref(x_207); - x_216 = lean_box(0); -} -if (lean_is_scalar(x_216)) { - x_217 = lean_alloc_ctor(1, 2, 0); -} else { - x_217 = x_216; -} -lean_ctor_set(x_217, 0, x_214); -lean_ctor_set(x_217, 1, x_215); -return x_217; -} +lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_51); +lean_dec(x_25); +x_73 = lean_ctor_get(x_67, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_67, 1); +lean_inc(x_74); +lean_dec(x_67); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; } } } @@ -7384,141 +6794,65 @@ return x_10; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +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; x_11 = lean_array_uget(x_5, x_4); x_12 = lean_unsigned_to_nat(0u); x_13 = lean_array_uset(x_5, x_4, x_12); x_14 = x_11; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_14, 1); -x_18 = lean_ctor_get(x_14, 2); -x_19 = lean_ctor_get(x_14, 3); -lean_inc(x_6); -lean_inc(x_2); -lean_inc(x_1); -x_20 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_19, x_6, x_7); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -lean_ctor_set(x_14, 3, x_21); -x_23 = 1; -x_24 = x_4 + x_23; -x_25 = x_14; -x_26 = lean_array_uset(x_13, x_4, x_25); -x_4 = x_24; -x_5 = x_26; -x_7 = x_22; -goto _start; -} -else -{ -uint8_t x_28; -lean_free_object(x_14); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_28 = !lean_is_exclusive(x_20); -if (x_28 == 0) -{ -return x_20; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_20, 0); -x_30 = lean_ctor_get(x_20, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_20); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_14, 0); -x_33 = lean_ctor_get(x_14, 1); -x_34 = lean_ctor_get(x_14, 2); -x_35 = lean_ctor_get(x_14, 3); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 2); +lean_inc(x_17); +x_18 = lean_ctor_get(x_14, 3); +lean_inc(x_18); lean_dec(x_14); lean_inc(x_6); lean_inc(x_2); lean_inc(x_1); -x_36 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_35, x_6, x_7); -if (lean_obj_tag(x_36) == 0) +x_19 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_18, x_6, x_7); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; lean_object* x_42; lean_object* x_43; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_39, 0, x_32); -lean_ctor_set(x_39, 1, x_33); -lean_ctor_set(x_39, 2, x_34); -lean_ctor_set(x_39, 3, x_37); -x_40 = 1; -x_41 = x_4 + x_40; -x_42 = x_39; -x_43 = lean_array_uset(x_13, x_4, x_42); -x_4 = x_41; -x_5 = x_43; -x_7 = x_38; +lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; +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(0, 4, 0); +lean_ctor_set(x_22, 0, x_15); +lean_ctor_set(x_22, 1, x_16); +lean_ctor_set(x_22, 2, x_17); +lean_ctor_set(x_22, 3, x_20); +x_23 = 1; +x_24 = x_4 + x_23; +x_25 = x_22; +x_26 = lean_array_uset(x_13, x_4, x_25); +x_4 = x_24; +x_5 = x_26; +x_7 = x_21; goto _start; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_32); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_45 = lean_ctor_get(x_36, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_36, 1); -lean_inc(x_46); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - x_47 = x_36; -} else { - lean_dec_ref(x_36); - x_47 = lean_box(0); -} -if (lean_is_scalar(x_47)) { - x_48 = lean_alloc_ctor(1, 2, 0); -} else { - x_48 = x_47; -} -lean_ctor_set(x_48, 0, x_45); -lean_ctor_set(x_48, 1, x_46); -return x_48; -} +x_28 = lean_ctor_get(x_19, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_dec(x_19); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } @@ -7560,277 +6894,242 @@ _start: switch (lean_obj_tag(x_3)) { case 0: { -uint8_t x_6; -x_6 = !lean_is_exclusive(x_3); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = lean_ctor_get(x_3, 0); -x_8 = lean_ctor_get(x_3, 1); -x_9 = lean_ctor_get(x_3, 2); -x_10 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_9, x_4, x_5); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; -x_12 = lean_ctor_get(x_10, 0); -lean_ctor_set(x_3, 2, x_12); -lean_ctor_set(x_10, 0, x_3); -return x_10; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_10, 0); -x_14 = lean_ctor_get(x_10, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_10); -lean_ctor_set(x_3, 2, x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_3); -lean_ctor_set(x_15, 1, x_14); -return x_15; -} -} -else -{ -uint8_t x_16; -lean_free_object(x_3); -lean_dec(x_8); -lean_dec(x_7); -x_16 = !lean_is_exclusive(x_10); -if (x_16 == 0) -{ -return x_10; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_10, 0); -x_18 = lean_ctor_get(x_10, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_10); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_3, 0); -x_21 = lean_ctor_get(x_3, 1); -x_22 = lean_ctor_get(x_3, 2); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_3, 2); +lean_inc(x_8); lean_dec(x_3); -x_23 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_22, x_4, x_5); -if (lean_obj_tag(x_23) == 0) +x_9 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_8, x_4, x_5); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_26 = x_23; -} else { - lean_dec_ref(x_23); - x_26 = lean_box(0); -} -x_27 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_27, 0, x_20); -lean_ctor_set(x_27, 1, x_21); -lean_ctor_set(x_27, 2, x_24); -if (lean_is_scalar(x_26)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_26; -} -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_25); -return x_28; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_12, 0, x_6); +lean_ctor_set(x_12, 1, x_7); +lean_ctor_set(x_12, 2, x_10); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_21); -lean_dec(x_20); -x_29 = lean_ctor_get(x_23, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_23, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_31 = x_23; -} else { - lean_dec_ref(x_23); - x_31 = lean_box(0); -} -if (lean_is_scalar(x_31)) { - x_32 = lean_alloc_ctor(1, 2, 0); -} else { - x_32 = x_31; -} -lean_ctor_set(x_32, 0, x_29); -lean_ctor_set(x_32, 1, x_30); -return x_32; -} +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_7); +lean_dec(x_6); +x_14 = lean_ctor_get(x_9, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_dec(x_9); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; } } case 1: { -uint8_t x_33; -x_33 = !lean_is_exclusive(x_3); -if (x_33 == 0) +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_3, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_3, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_3, 2); +lean_inc(x_19); +lean_dec(x_3); +x_20 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_19, x_4, x_5); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_3, 0); -x_35 = lean_ctor_get(x_3, 1); -x_36 = lean_ctor_get(x_3, 2); -x_37 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_36, x_4, x_5); -if (lean_obj_tag(x_37) == 0) +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_23, 0, x_17); +lean_ctor_set(x_23, 1, x_18); +lean_ctor_set(x_23, 2, x_21); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; +} +else { -uint8_t x_38; -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) +lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_18); +lean_dec(x_17); +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_dec(x_20); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +case 2: { -lean_object* x_39; -x_39 = lean_ctor_get(x_37, 0); -lean_ctor_set(x_3, 2, x_39); -lean_ctor_set(x_37, 0, x_3); -return x_37; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_3, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_3, 1); +lean_inc(x_29); +x_30 = lean_ctor_get(x_3, 2); +lean_inc(x_30); +x_31 = lean_ctor_get(x_3, 3); +lean_inc(x_31); +lean_dec(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_32 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_30, x_4, x_5); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_31, x_4, x_34); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_alloc_ctor(2, 4, 0); +lean_ctor_set(x_38, 0, x_28); +lean_ctor_set(x_38, 1, x_29); +lean_ctor_set(x_38, 2, x_33); +lean_ctor_set(x_38, 3, x_36); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +return x_39; } else { lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_37, 0); -x_41 = lean_ctor_get(x_37, 1); -lean_inc(x_41); +lean_dec(x_33); +lean_dec(x_29); +lean_dec(x_28); +x_40 = lean_ctor_get(x_35, 0); lean_inc(x_40); -lean_dec(x_37); -lean_ctor_set(x_3, 2, x_40); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_3); +x_41 = lean_ctor_get(x_35, 1); +lean_inc(x_41); +lean_dec(x_35); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); lean_ctor_set(x_42, 1, x_41); return x_42; } } else { -uint8_t x_43; -lean_free_object(x_3); -lean_dec(x_35); -lean_dec(x_34); -x_43 = !lean_is_exclusive(x_37); -if (x_43 == 0) -{ -return x_37; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_37, 0); -x_45 = lean_ctor_get(x_37, 1); -lean_inc(x_45); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_31); +lean_dec(x_29); +lean_dec(x_28); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_43 = lean_ctor_get(x_32, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_32, 1); lean_inc(x_44); -lean_dec(x_37); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_dec(x_32); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } -} -else +case 3: { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_47 = lean_ctor_get(x_3, 0); -x_48 = lean_ctor_get(x_3, 1); -x_49 = lean_ctor_get(x_3, 2); -lean_inc(x_49); -lean_inc(x_48); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_3, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_3, 1); lean_inc(x_47); lean_dec(x_3); -x_50 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_49, x_4, x_5); -if (lean_obj_tag(x_50) == 0) +x_48 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_47, x_4, x_5); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_53 = x_50; -} else { - lean_dec_ref(x_50); - x_53 = lean_box(0); -} -x_54 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_54, 0, x_47); -lean_ctor_set(x_54, 1, x_48); -lean_ctor_set(x_54, 2, x_51); -if (lean_is_scalar(x_53)) { - x_55 = lean_alloc_ctor(0, 2, 0); -} else { - x_55 = x_53; -} -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_52); -return x_55; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_51, 0, x_46); +lean_ctor_set(x_51, 1, x_49); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +return x_52; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_dec(x_46); +x_53 = lean_ctor_get(x_48, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_48, 1); +lean_inc(x_54); lean_dec(x_48); -lean_dec(x_47); -x_56 = lean_ctor_get(x_50, 0); +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; +} +} +case 4: +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_3, 0); lean_inc(x_56); -x_57 = lean_ctor_get(x_50, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_58 = x_50; -} else { - lean_dec_ref(x_50); - x_58 = lean_box(0); +lean_dec(x_3); +lean_inc(x_56); +x_57 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___lambda__1___boxed), 6, 3); +lean_closure_set(x_57, 0, x_2); +lean_closure_set(x_57, 1, x_56); +lean_closure_set(x_57, 2, x_1); +x_58 = l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___spec__2(x_56, x_57, x_4, x_5); +return x_58; } -if (lean_is_scalar(x_58)) { - x_59 = lean_alloc_ctor(1, 2, 0); -} else { - x_59 = x_58; -} -lean_ctor_set(x_59, 0, x_56); -lean_ctor_set(x_59, 1, x_57); -return x_59; -} -} -} -case 2: +case 8: { -uint8_t x_60; -x_60 = !lean_is_exclusive(x_3); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_61 = lean_ctor_get(x_3, 0); -x_62 = lean_ctor_get(x_3, 1); -x_63 = lean_ctor_get(x_3, 2); -x_64 = lean_ctor_get(x_3, 3); +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; +x_59 = lean_ctor_get(x_3, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_3, 1); +lean_inc(x_60); +x_61 = lean_ctor_get(x_3, 2); +lean_inc(x_61); +x_62 = lean_ctor_get(x_3, 3); +lean_inc(x_62); +x_63 = lean_ctor_get(x_3, 4); +lean_inc(x_63); +x_64 = lean_ctor_get(x_3, 5); +lean_inc(x_64); +lean_dec(x_3); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); @@ -7846,762 +7145,140 @@ lean_dec(x_65); x_68 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_64, x_4, x_67); if (lean_obj_tag(x_68) == 0) { -uint8_t x_69; -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) -{ -lean_object* x_70; -x_70 = lean_ctor_get(x_68, 0); -lean_ctor_set(x_3, 3, x_70); -lean_ctor_set(x_3, 2, x_66); -lean_ctor_set(x_68, 0, x_3); -return x_68; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_68, 0); -x_72 = lean_ctor_get(x_68, 1); -lean_inc(x_72); -lean_inc(x_71); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); lean_dec(x_68); -lean_ctor_set(x_3, 3, x_71); -lean_ctor_set(x_3, 2, x_66); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_3); -lean_ctor_set(x_73, 1, x_72); -return x_73; -} +x_71 = lean_alloc_ctor(8, 6, 0); +lean_ctor_set(x_71, 0, x_59); +lean_ctor_set(x_71, 1, x_60); +lean_ctor_set(x_71, 2, x_61); +lean_ctor_set(x_71, 3, x_62); +lean_ctor_set(x_71, 4, x_66); +lean_ctor_set(x_71, 5, x_69); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +return x_72; } else { -uint8_t x_74; +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_dec(x_66); -lean_free_object(x_3); lean_dec(x_62); lean_dec(x_61); -x_74 = !lean_is_exclusive(x_68); -if (x_74 == 0) -{ -return x_68; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_68, 0); -x_76 = lean_ctor_get(x_68, 1); -lean_inc(x_76); -lean_inc(x_75); +lean_dec(x_60); +lean_dec(x_59); +x_73 = lean_ctor_get(x_68, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_68, 1); +lean_inc(x_74); lean_dec(x_68); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; } } else { -uint8_t x_78; -lean_free_object(x_3); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_dec(x_64); lean_dec(x_62); lean_dec(x_61); +lean_dec(x_60); +lean_dec(x_59); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_78 = !lean_is_exclusive(x_65); -if (x_78 == 0) -{ -return x_65; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_65, 0); -x_80 = lean_ctor_get(x_65, 1); -lean_inc(x_80); -lean_inc(x_79); +x_76 = lean_ctor_get(x_65, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_65, 1); +lean_inc(x_77); lean_dec(x_65); -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_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_82 = lean_ctor_get(x_3, 0); -x_83 = lean_ctor_get(x_3, 1); -x_84 = lean_ctor_get(x_3, 2); -x_85 = lean_ctor_get(x_3, 3); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_3); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_1); -x_86 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_84, x_4, x_5); -if (lean_obj_tag(x_86) == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_85, x_4, x_88); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_92 = x_89; -} else { - lean_dec_ref(x_89); - x_92 = lean_box(0); -} -x_93 = lean_alloc_ctor(2, 4, 0); -lean_ctor_set(x_93, 0, x_82); -lean_ctor_set(x_93, 1, x_83); -lean_ctor_set(x_93, 2, x_87); -lean_ctor_set(x_93, 3, x_90); -if (lean_is_scalar(x_92)) { - x_94 = lean_alloc_ctor(0, 2, 0); -} else { - x_94 = x_92; -} -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_91); -return x_94; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_87); -lean_dec(x_83); -lean_dec(x_82); -x_95 = lean_ctor_get(x_89, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_89, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_97 = x_89; -} else { - lean_dec_ref(x_89); - x_97 = lean_box(0); -} -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(1, 2, 0); -} else { - x_98 = x_97; -} -lean_ctor_set(x_98, 0, x_95); -lean_ctor_set(x_98, 1, x_96); -return x_98; -} -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_85); -lean_dec(x_83); -lean_dec(x_82); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_99 = lean_ctor_get(x_86, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_86, 1); -lean_inc(x_100); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_101 = x_86; -} else { - lean_dec_ref(x_86); - x_101 = lean_box(0); -} -if (lean_is_scalar(x_101)) { - x_102 = lean_alloc_ctor(1, 2, 0); -} else { - x_102 = x_101; -} -lean_ctor_set(x_102, 0, x_99); -lean_ctor_set(x_102, 1, x_100); -return x_102; -} -} -} -case 3: -{ -uint8_t x_103; -x_103 = !lean_is_exclusive(x_3); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_3, 0); -x_105 = lean_ctor_get(x_3, 1); -x_106 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_105, x_4, x_5); -if (lean_obj_tag(x_106) == 0) -{ -uint8_t x_107; -x_107 = !lean_is_exclusive(x_106); -if (x_107 == 0) -{ -lean_object* x_108; -x_108 = lean_ctor_get(x_106, 0); -lean_ctor_set(x_3, 1, x_108); -lean_ctor_set(x_106, 0, x_3); -return x_106; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_106, 0); -x_110 = lean_ctor_get(x_106, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_106); -lean_ctor_set(x_3, 1, x_109); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_3); -lean_ctor_set(x_111, 1, x_110); -return x_111; -} -} -else -{ -uint8_t x_112; -lean_free_object(x_3); -lean_dec(x_104); -x_112 = !lean_is_exclusive(x_106); -if (x_112 == 0) -{ -return x_106; -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_106, 0); -x_114 = lean_ctor_get(x_106, 1); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_106); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; -} -} -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_3, 0); -x_117 = lean_ctor_get(x_3, 1); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_3); -x_118 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_117, x_4, x_5); -if (lean_obj_tag(x_118) == 0) -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -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_118); - x_121 = lean_box(0); -} -x_122 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_122, 0, x_116); -lean_ctor_set(x_122, 1, x_119); -if (lean_is_scalar(x_121)) { - x_123 = lean_alloc_ctor(0, 2, 0); -} else { - x_123 = x_121; -} -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_120); -return x_123; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -lean_dec(x_116); -x_124 = lean_ctor_get(x_118, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_118, 1); -lean_inc(x_125); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_126 = x_118; -} else { - lean_dec_ref(x_118); - x_126 = lean_box(0); -} -if (lean_is_scalar(x_126)) { - x_127 = lean_alloc_ctor(1, 2, 0); -} else { - x_127 = x_126; -} -lean_ctor_set(x_127, 0, x_124); -lean_ctor_set(x_127, 1, x_125); -return x_127; -} -} -} -case 4: -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_128 = lean_ctor_get(x_3, 0); -lean_inc(x_128); -lean_dec(x_3); -lean_inc(x_128); -x_129 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___lambda__1___boxed), 6, 3); -lean_closure_set(x_129, 0, x_2); -lean_closure_set(x_129, 1, x_128); -lean_closure_set(x_129, 2, x_1); -x_130 = l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___spec__2(x_128, x_129, x_4, x_5); -return x_130; -} -case 8: -{ -uint8_t x_131; -x_131 = !lean_is_exclusive(x_3); -if (x_131 == 0) -{ -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; -x_132 = lean_ctor_get(x_3, 0); -x_133 = lean_ctor_get(x_3, 1); -x_134 = lean_ctor_get(x_3, 2); -x_135 = lean_ctor_get(x_3, 3); -x_136 = lean_ctor_get(x_3, 4); -x_137 = lean_ctor_get(x_3, 5); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_1); -x_138 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_136, x_4, x_5); -if (lean_obj_tag(x_138) == 0) -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_138, 1); -lean_inc(x_140); -lean_dec(x_138); -x_141 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_137, x_4, x_140); -if (lean_obj_tag(x_141) == 0) -{ -uint8_t x_142; -x_142 = !lean_is_exclusive(x_141); -if (x_142 == 0) -{ -lean_object* x_143; -x_143 = lean_ctor_get(x_141, 0); -lean_ctor_set(x_3, 5, x_143); -lean_ctor_set(x_3, 4, x_139); -lean_ctor_set(x_141, 0, x_3); -return x_141; -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_141, 0); -x_145 = lean_ctor_get(x_141, 1); -lean_inc(x_145); -lean_inc(x_144); -lean_dec(x_141); -lean_ctor_set(x_3, 5, x_144); -lean_ctor_set(x_3, 4, x_139); -x_146 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_146, 0, x_3); -lean_ctor_set(x_146, 1, x_145); -return x_146; -} -} -else -{ -uint8_t x_147; -lean_dec(x_139); -lean_free_object(x_3); -lean_dec(x_135); -lean_dec(x_134); -lean_dec(x_133); -lean_dec(x_132); -x_147 = !lean_is_exclusive(x_141); -if (x_147 == 0) -{ -return x_141; -} -else -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_148 = lean_ctor_get(x_141, 0); -x_149 = lean_ctor_get(x_141, 1); -lean_inc(x_149); -lean_inc(x_148); -lean_dec(x_141); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_148); -lean_ctor_set(x_150, 1, x_149); -return x_150; -} -} -} -else -{ -uint8_t x_151; -lean_free_object(x_3); -lean_dec(x_137); -lean_dec(x_135); -lean_dec(x_134); -lean_dec(x_133); -lean_dec(x_132); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_151 = !lean_is_exclusive(x_138); -if (x_151 == 0) -{ -return x_138; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_138, 0); -x_153 = lean_ctor_get(x_138, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_138); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); -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; -x_155 = lean_ctor_get(x_3, 0); -x_156 = lean_ctor_get(x_3, 1); -x_157 = lean_ctor_get(x_3, 2); -x_158 = lean_ctor_get(x_3, 3); -x_159 = lean_ctor_get(x_3, 4); -x_160 = lean_ctor_get(x_3, 5); -lean_inc(x_160); -lean_inc(x_159); -lean_inc(x_158); -lean_inc(x_157); -lean_inc(x_156); -lean_inc(x_155); -lean_dec(x_3); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_1); -x_161 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_159, x_4, x_5); -if (lean_obj_tag(x_161) == 0) -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_162 = lean_ctor_get(x_161, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_161, 1); -lean_inc(x_163); -lean_dec(x_161); -x_164 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_1, x_2, x_160, x_4, x_163); -if (lean_obj_tag(x_164) == 0) -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_167 = x_164; -} else { - lean_dec_ref(x_164); - x_167 = lean_box(0); -} -x_168 = lean_alloc_ctor(8, 6, 0); -lean_ctor_set(x_168, 0, x_155); -lean_ctor_set(x_168, 1, x_156); -lean_ctor_set(x_168, 2, x_157); -lean_ctor_set(x_168, 3, x_158); -lean_ctor_set(x_168, 4, x_162); -lean_ctor_set(x_168, 5, x_165); -if (lean_is_scalar(x_167)) { - x_169 = lean_alloc_ctor(0, 2, 0); -} else { - x_169 = x_167; -} -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_166); -return x_169; -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -lean_dec(x_162); -lean_dec(x_158); -lean_dec(x_157); -lean_dec(x_156); -lean_dec(x_155); -x_170 = lean_ctor_get(x_164, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_164, 1); -lean_inc(x_171); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_172 = x_164; -} else { - lean_dec_ref(x_164); - x_172 = lean_box(0); -} -if (lean_is_scalar(x_172)) { - x_173 = lean_alloc_ctor(1, 2, 0); -} else { - x_173 = x_172; -} -lean_ctor_set(x_173, 0, x_170); -lean_ctor_set(x_173, 1, x_171); -return x_173; -} -} -else -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -lean_dec(x_160); -lean_dec(x_158); -lean_dec(x_157); -lean_dec(x_156); -lean_dec(x_155); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_174 = lean_ctor_get(x_161, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_161, 1); -lean_inc(x_175); -if (lean_is_exclusive(x_161)) { - lean_ctor_release(x_161, 0); - lean_ctor_release(x_161, 1); - x_176 = x_161; -} else { - lean_dec_ref(x_161); - x_176 = lean_box(0); -} -if (lean_is_scalar(x_176)) { - x_177 = lean_alloc_ctor(1, 2, 0); -} else { - x_177 = x_176; -} -lean_ctor_set(x_177, 0, x_174); -lean_ctor_set(x_177, 1, x_175); -return x_177; -} +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; } } case 9: { -uint8_t x_178; -x_178 = !lean_is_exclusive(x_3); -if (x_178 == 0) -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; size_t 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; -x_179 = lean_ctor_get(x_3, 0); -x_180 = lean_ctor_get(x_3, 1); -x_181 = lean_ctor_get(x_3, 2); -x_182 = lean_ctor_get(x_3, 3); -x_183 = lean_ctor_get(x_3, 4); -x_184 = lean_array_get_size(x_183); -x_185 = lean_usize_of_nat(x_184); -lean_dec(x_184); -x_186 = x_183; -x_187 = lean_box_usize(x_185); -x_188 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___boxed__const__1; -x_189 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___spec__3___boxed), 7, 5); -lean_closure_set(x_189, 0, x_1); -lean_closure_set(x_189, 1, x_2); -lean_closure_set(x_189, 2, x_187); -lean_closure_set(x_189, 3, x_188); -lean_closure_set(x_189, 4, x_186); -x_190 = x_189; -x_191 = lean_apply_2(x_190, x_4, x_5); -if (lean_obj_tag(x_191) == 0) -{ -uint8_t x_192; -x_192 = !lean_is_exclusive(x_191); -if (x_192 == 0) -{ -lean_object* x_193; -x_193 = lean_ctor_get(x_191, 0); -lean_ctor_set(x_3, 4, x_193); -lean_ctor_set(x_191, 0, x_3); -return x_191; -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_194 = lean_ctor_get(x_191, 0); -x_195 = lean_ctor_get(x_191, 1); -lean_inc(x_195); -lean_inc(x_194); -lean_dec(x_191); -lean_ctor_set(x_3, 4, x_194); -x_196 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_196, 0, x_3); -lean_ctor_set(x_196, 1, x_195); -return x_196; -} -} -else -{ -uint8_t x_197; -lean_free_object(x_3); -lean_dec(x_182); -lean_dec(x_181); -lean_dec(x_180); -lean_dec(x_179); -x_197 = !lean_is_exclusive(x_191); -if (x_197 == 0) -{ -return x_191; -} -else -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_198 = lean_ctor_get(x_191, 0); -x_199 = lean_ctor_get(x_191, 1); -lean_inc(x_199); -lean_inc(x_198); -lean_dec(x_191); -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_198); -lean_ctor_set(x_200, 1, x_199); -return x_200; -} -} -} -else -{ -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; size_t 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; -x_201 = lean_ctor_get(x_3, 0); -x_202 = lean_ctor_get(x_3, 1); -x_203 = lean_ctor_get(x_3, 2); -x_204 = lean_ctor_get(x_3, 3); -x_205 = lean_ctor_get(x_3, 4); -lean_inc(x_205); -lean_inc(x_204); -lean_inc(x_203); -lean_inc(x_202); -lean_inc(x_201); +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; size_t 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_79 = lean_ctor_get(x_3, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_3, 1); +lean_inc(x_80); +x_81 = lean_ctor_get(x_3, 2); +lean_inc(x_81); +x_82 = lean_ctor_get(x_3, 3); +lean_inc(x_82); +x_83 = lean_ctor_get(x_3, 4); +lean_inc(x_83); lean_dec(x_3); -x_206 = lean_array_get_size(x_205); -x_207 = lean_usize_of_nat(x_206); -lean_dec(x_206); -x_208 = x_205; -x_209 = lean_box_usize(x_207); -x_210 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___boxed__const__1; -x_211 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___spec__3___boxed), 7, 5); -lean_closure_set(x_211, 0, x_1); -lean_closure_set(x_211, 1, x_2); -lean_closure_set(x_211, 2, x_209); -lean_closure_set(x_211, 3, x_210); -lean_closure_set(x_211, 4, x_208); -x_212 = x_211; -x_213 = lean_apply_2(x_212, x_4, x_5); -if (lean_obj_tag(x_213) == 0) +x_84 = lean_array_get_size(x_83); +x_85 = lean_usize_of_nat(x_84); +lean_dec(x_84); +x_86 = x_83; +x_87 = lean_box_usize(x_85); +x_88 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___boxed__const__1; +x_89 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___spec__3___boxed), 7, 5); +lean_closure_set(x_89, 0, x_1); +lean_closure_set(x_89, 1, x_2); +lean_closure_set(x_89, 2, x_87); +lean_closure_set(x_89, 3, x_88); +lean_closure_set(x_89, 4, x_86); +x_90 = x_89; +x_91 = lean_apply_2(x_90, x_4, x_5); +if (lean_obj_tag(x_91) == 0) { -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_214 = lean_ctor_get(x_213, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_213, 1); -lean_inc(x_215); -if (lean_is_exclusive(x_213)) { - lean_ctor_release(x_213, 0); - lean_ctor_release(x_213, 1); - x_216 = x_213; -} else { - lean_dec_ref(x_213); - x_216 = lean_box(0); -} -x_217 = lean_alloc_ctor(9, 5, 0); -lean_ctor_set(x_217, 0, x_201); -lean_ctor_set(x_217, 1, x_202); -lean_ctor_set(x_217, 2, x_203); -lean_ctor_set(x_217, 3, x_204); -lean_ctor_set(x_217, 4, x_214); -if (lean_is_scalar(x_216)) { - x_218 = lean_alloc_ctor(0, 2, 0); -} else { - x_218 = x_216; -} -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_215); -return x_218; +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_alloc_ctor(9, 5, 0); +lean_ctor_set(x_94, 0, x_79); +lean_ctor_set(x_94, 1, x_80); +lean_ctor_set(x_94, 2, x_81); +lean_ctor_set(x_94, 3, x_82); +lean_ctor_set(x_94, 4, x_92); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +return x_95; } else { -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; -lean_dec(x_204); -lean_dec(x_203); -lean_dec(x_202); -lean_dec(x_201); -x_219 = lean_ctor_get(x_213, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_213, 1); -lean_inc(x_220); -if (lean_is_exclusive(x_213)) { - lean_ctor_release(x_213, 0); - lean_ctor_release(x_213, 1); - x_221 = x_213; -} else { - lean_dec_ref(x_213); - x_221 = lean_box(0); -} -if (lean_is_scalar(x_221)) { - x_222 = lean_alloc_ctor(1, 2, 0); -} else { - x_222 = x_221; -} -lean_ctor_set(x_222, 0, x_219); -lean_ctor_set(x_222, 1, x_220); -return x_222; -} +lean_object* x_96; lean_object* x_97; lean_object* x_98; +lean_dec(x_82); +lean_dec(x_81); +lean_dec(x_80); +lean_dec(x_79); +x_96 = lean_ctor_get(x_91, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_91, 1); +lean_inc(x_97); +lean_dec(x_91); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; } } default: { -lean_object* x_223; +lean_object* x_99; lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_223 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_223, 0, x_3); -lean_ctor_set(x_223, 1, x_5); -return x_223; +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_3); +lean_ctor_set(x_99, 1, x_5); +return x_99; } } } @@ -8764,38 +7441,22 @@ return x_3; lean_object* l_Lean_Elab_Term_Do_mkFreshJP___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) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_10 = l_Lean_Elab_Term_Do_mkFreshJP___lambda__1___closed__2; x_11 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_10, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); x_14 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_2); lean_ctor_set(x_14, 2, x_1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -x_17 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_2); -lean_ctor_set(x_17, 2, x_1); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } } lean_object* l_Lean_Elab_Term_Do_mkFreshJP(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) { @@ -8937,7 +7598,7 @@ return x_10; lean_object* l_Lean_Elab_Term_Do_addFreshJP(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) { _start: { -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; uint8_t x_21; +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; x_11 = l_Lean_Elab_Term_Do_mkFreshJP(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); @@ -8957,32 +7618,16 @@ lean_dec(x_16); lean_inc(x_12); x_19 = lean_array_push(x_17, x_12); x_20 = lean_st_ref_set(x_3, x_19, x_18); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); -x_23 = lean_ctor_get(x_12, 0); -lean_inc(x_23); -lean_dec(x_12); -lean_ctor_set(x_20, 0, x_23); -return x_20; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); lean_dec(x_20); -x_25 = lean_ctor_get(x_12, 0); -lean_inc(x_25); +x_22 = lean_ctor_get(x_12, 0); +lean_inc(x_22); lean_dec(x_12); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -return x_26; -} +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +return x_23; } } lean_object* l_Lean_Elab_Term_Do_addFreshJP___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) { @@ -9313,7 +7958,7 @@ return x_3; lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp(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) { _start: { -lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_object* x_12; lean_object* x_13; size_t x_14; size_t 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_12 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_nameSetToArray(x_2); x_13 = lean_array_get_size(x_12); x_14 = lean_usize_of_nat(x_13); @@ -9325,32 +7970,32 @@ lean_inc(x_16); x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkFreshJP_x27___spec__1(x_14, x_15, x_16); x_18 = x_17; x_19 = l_Lean_Elab_Term_Do_addFreshJP(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_ctor_get(x_19, 1); -x_23 = l_Array_isEmpty___rarg(x_12); +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 = l_Array_isEmpty___rarg(x_12); lean_dec(x_12); -if (x_23 == 0) +if (x_22 == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__1(x_1, x_14, x_15, x_16); -x_25 = x_24; -x_26 = lean_alloc_ctor(10, 3, 0); -lean_ctor_set(x_26, 0, x_1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__1(x_1, x_14, x_15, x_16); +x_24 = x_23; +x_25 = lean_alloc_ctor(10, 3, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_20); +lean_ctor_set(x_25, 2, 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_21); -lean_ctor_set(x_26, 2, x_25); -lean_ctor_set(x_19, 0, x_26); -return x_19; +return x_26; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -lean_free_object(x_19); +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_dec(x_16); -x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__2___rarg(x_9, x_10, x_22); +x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__2___rarg(x_9, x_10, x_21); x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); @@ -9363,13 +8008,13 @@ x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); lean_dec(x_30); x_33 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_32); -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; -x_35 = lean_ctor_get(x_33, 0); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); x_36 = l_Lean_Elab_Term_Do_mkSimpleJmp___closed__7; -x_37 = l_Lean_addMacroScope(x_35, x_36, x_31); +x_37 = l_Lean_addMacroScope(x_34, x_36, x_31); x_38 = l_Lean_Elab_Term_Do_mkSimpleJmp___closed__3; x_39 = l_Lean_Elab_Term_Do_mkSimpleJmp___closed__9; x_40 = lean_alloc_ctor(3, 4, 0); @@ -9381,118 +8026,12 @@ x_41 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___clos x_42 = lean_array_push(x_41, x_40); x_43 = lean_alloc_ctor(10, 3, 0); lean_ctor_set(x_43, 0, x_1); -lean_ctor_set(x_43, 1, x_21); +lean_ctor_set(x_43, 1, x_20); lean_ctor_set(x_43, 2, x_42); -lean_ctor_set(x_33, 0, x_43); -return x_33; -} -else -{ -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; -x_44 = lean_ctor_get(x_33, 0); -x_45 = lean_ctor_get(x_33, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_33); -x_46 = l_Lean_Elab_Term_Do_mkSimpleJmp___closed__7; -x_47 = l_Lean_addMacroScope(x_44, x_46, x_31); -x_48 = l_Lean_Elab_Term_Do_mkSimpleJmp___closed__3; -x_49 = l_Lean_Elab_Term_Do_mkSimpleJmp___closed__9; -x_50 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_50, 0, x_28); -lean_ctor_set(x_50, 1, x_48); -lean_ctor_set(x_50, 2, x_47); -lean_ctor_set(x_50, 3, x_49); -x_51 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_52 = lean_array_push(x_51, x_50); -x_53 = lean_alloc_ctor(10, 3, 0); -lean_ctor_set(x_53, 0, x_1); -lean_ctor_set(x_53, 1, x_21); -lean_ctor_set(x_53, 2, x_52); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_45); -return x_54; -} -} -} -else -{ -lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_55 = lean_ctor_get(x_19, 0); -x_56 = lean_ctor_get(x_19, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_19); -x_57 = l_Array_isEmpty___rarg(x_12); -lean_dec(x_12); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_58 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__1(x_1, x_14, x_15, x_16); -x_59 = x_58; -x_60 = lean_alloc_ctor(10, 3, 0); -lean_ctor_set(x_60, 0, x_1); -lean_ctor_set(x_60, 1, x_55); -lean_ctor_set(x_60, 2, x_59); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_56); -return x_61; -} -else -{ -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_dec(x_16); -x_62 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__2___rarg(x_9, x_10, x_56); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_64); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_67); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_71 = x_68; -} else { - lean_dec_ref(x_68); - x_71 = lean_box(0); -} -x_72 = l_Lean_Elab_Term_Do_mkSimpleJmp___closed__7; -x_73 = l_Lean_addMacroScope(x_69, x_72, x_66); -x_74 = l_Lean_Elab_Term_Do_mkSimpleJmp___closed__3; -x_75 = l_Lean_Elab_Term_Do_mkSimpleJmp___closed__9; -x_76 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_76, 0, x_63); -lean_ctor_set(x_76, 1, x_74); -lean_ctor_set(x_76, 2, x_73); -lean_ctor_set(x_76, 3, x_75); -x_77 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_78 = lean_array_push(x_77, x_76); -x_79 = lean_alloc_ctor(10, 3, 0); -lean_ctor_set(x_79, 0, x_1); -lean_ctor_set(x_79, 1, x_55); -lean_ctor_set(x_79, 2, x_78); -if (lean_is_scalar(x_71)) { - x_80 = lean_alloc_ctor(0, 2, 0); -} else { - x_80 = x_71; -} -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_70); -return x_80; -} +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_35); +return x_44; } } } @@ -9576,7 +8115,7 @@ goto _start; } } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; @@ -9589,7 +8128,7 @@ lean_ctor_set(x_13, 1, x_9); return x_13; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__1() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__1() { _start: { lean_object* x_1; @@ -9597,16 +8136,16 @@ x_1 = lean_mk_string("["); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__2() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__1; +x_1 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__3() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__3() { _start: { lean_object* x_1; @@ -9614,19 +8153,19 @@ x_1 = lean_mk_string("] "); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__4() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__3; +x_1 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4(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) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +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; 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_11 = lean_ctor_get(x_8, 3); x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_6, x_7, x_8, x_9, x_10); x_13 = lean_ctor_get(x_12, 0); @@ -9642,61 +8181,55 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_15, 1); lean_inc(x_18); lean_dec(x_15); -x_19 = !lean_is_exclusive(x_16); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_16, 3); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) -{ -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; uint8_t x_35; -x_22 = lean_ctor_get(x_17, 0); +x_19 = lean_ctor_get(x_16, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +x_21 = lean_ctor_get(x_16, 2); +lean_inc(x_21); +lean_dec(x_16); +x_22 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); +x_23 = lean_ctor_get(x_17, 0); +lean_inc(x_23); +lean_dec(x_17); lean_inc(x_1); -x_23 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_23, 0, x_1); -x_24 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__2; -x_25 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__4; -x_27 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); +x_24 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_24, 0, x_1); +x_25 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__2; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__4; x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_13); -x_29 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_31, 0, x_1); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_13); +x_30 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); -lean_inc(x_11); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_11); +x_32 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_32, 0, x_1); lean_ctor_set(x_32, 1, x_31); -x_33 = l_Std_PersistentArray_push___rarg(x_22, x_32); -lean_ctor_set(x_17, 0, x_33); -x_34 = lean_st_ref_set(x_9, x_16, x_18); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -lean_dec(x_36); -x_37 = lean_box(0); -lean_ctor_set(x_34, 0, x_37); -return x_34; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_11); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_11); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Std_PersistentArray_push___rarg(x_23, x_33); +x_35 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set_uint8(x_35, sizeof(void*)*1, x_22); +x_36 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_36, 0, x_19); +lean_ctor_set(x_36, 1, x_20); +lean_ctor_set(x_36, 2, x_21); +lean_ctor_set(x_36, 3, x_35); +x_37 = lean_st_ref_set(x_9, x_36, x_18); +x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); -lean_dec(x_34); +lean_dec(x_37); x_39 = lean_box(0); x_40 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_40, 0, x_39); @@ -9704,147 +8237,7 @@ lean_ctor_set(x_40, 1, x_38); return x_40; } } -else -{ -uint8_t 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_41 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_42 = lean_ctor_get(x_17, 0); -lean_inc(x_42); -lean_dec(x_17); -lean_inc(x_1); -x_43 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_43, 0, x_1); -x_44 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__2; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__4; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_13); -x_49 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_51, 0, x_1); -lean_ctor_set(x_51, 1, x_50); -lean_inc(x_11); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_11); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Std_PersistentArray_push___rarg(x_42, x_52); -x_54 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set_uint8(x_54, sizeof(void*)*1, x_41); -lean_ctor_set(x_16, 3, x_54); -x_55 = lean_st_ref_set(x_9, x_16, x_18); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_57 = x_55; -} else { - lean_dec_ref(x_55); - x_57 = lean_box(0); -} -x_58 = lean_box(0); -if (lean_is_scalar(x_57)) { - x_59 = lean_alloc_ctor(0, 2, 0); -} else { - x_59 = x_57; -} -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_56); -return x_59; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t 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; -x_60 = lean_ctor_get(x_16, 0); -x_61 = lean_ctor_get(x_16, 1); -x_62 = lean_ctor_get(x_16, 2); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_16); -x_63 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_64 = lean_ctor_get(x_17, 0); -lean_inc(x_64); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - x_65 = x_17; -} else { - lean_dec_ref(x_17); - x_65 = lean_box(0); -} -lean_inc(x_1); -x_66 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_66, 0, x_1); -x_67 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__2; -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__4; -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_13); -x_72 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -x_74 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_74, 0, x_1); -lean_ctor_set(x_74, 1, x_73); -lean_inc(x_11); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_11); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Std_PersistentArray_push___rarg(x_64, x_75); -if (lean_is_scalar(x_65)) { - x_77 = lean_alloc_ctor(0, 1, 1); -} else { - x_77 = x_65; -} -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set_uint8(x_77, sizeof(void*)*1, x_63); -x_78 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_78, 0, x_60); -lean_ctor_set(x_78, 1, x_61); -lean_ctor_set(x_78, 2, x_62); -lean_ctor_set(x_78, 3, x_77); -x_79 = lean_st_ref_set(x_9, x_78, x_18); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_81 = x_79; -} else { - lean_dec_ref(x_79); - x_81 = lean_box(0); -} -x_82 = lean_box(0); -if (lean_is_scalar(x_81)) { - x_83 = lean_alloc_ctor(0, 2, 0); -} else { - x_83 = x_81; -} -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_80); -return x_83; -} -} -} -lean_object* l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__4(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* l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__5(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) { _start: { if (lean_obj_tag(x_1) == 0) @@ -9896,7 +8289,7 @@ x_22 = lean_ctor_get(x_16, 1); lean_inc(x_22); lean_dec(x_16); lean_inc(x_14); -x_23 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__2(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +x_23 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__3(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_unbox(x_24); @@ -9923,7 +8316,7 @@ x_29 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_29, 0, x_15); x_30 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_30, 0, x_29); -x_31 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3(x_14, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28); +x_31 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4(x_14, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28); x_32 = lean_ctor_get(x_31, 1); lean_inc(x_32); lean_dec(x_31); @@ -9935,98 +8328,62 @@ goto _start; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__6(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* l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__7(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) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_10 = lean_ctor_get(x_7, 3); x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); lean_inc(x_10); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } } -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__5(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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__6(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) { _start: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 3); -x_13 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 3, x_13); -x_14 = l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -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; lean_object* x_24; lean_object* x_25; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -x_17 = lean_ctor_get(x_8, 2); -x_18 = lean_ctor_get(x_8, 3); -x_19 = lean_ctor_get(x_8, 4); -x_20 = lean_ctor_get(x_8, 5); -x_21 = lean_ctor_get(x_8, 6); -x_22 = lean_ctor_get(x_8, 7); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); +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_11 = lean_ctor_get(x_8, 0); +x_12 = lean_ctor_get(x_8, 1); +x_13 = lean_ctor_get(x_8, 2); +x_14 = lean_ctor_get(x_8, 3); +x_15 = lean_ctor_get(x_8, 4); +x_16 = lean_ctor_get(x_8, 5); +x_17 = lean_ctor_get(x_8, 6); +x_18 = lean_ctor_get(x_8, 7); +x_19 = l_Lean_replaceRef(x_1, x_14); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_dec(x_8); -x_23 = l_Lean_replaceRef(x_1, x_18); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_24, 0, x_15); -lean_ctor_set(x_24, 1, x_16); -lean_ctor_set(x_24, 2, x_17); -lean_ctor_set(x_24, 3, x_23); -lean_ctor_set(x_24, 4, x_19); -lean_ctor_set(x_24, 5, x_20); -lean_ctor_set(x_24, 6, x_21); -lean_ctor_set(x_24, 7, x_22); -x_25 = l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); -lean_dec(x_24); -return x_25; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_20 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_12); +lean_ctor_set(x_20, 2, x_13); +lean_ctor_set(x_20, 3, x_19); +lean_ctor_set(x_20, 4, x_15); +lean_ctor_set(x_20, 5, x_16); +lean_ctor_set(x_20, 6, x_17); +lean_ctor_set(x_20, 7, x_18); +x_21 = l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__7(x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_10); +lean_dec(x_20); +return x_21; } } -} -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10038,26 +8395,83 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg), 1, 0); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg), 1, 0); return x_8; } } -lean_object* l_Lean_Elab_Term_Do_mkJmp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +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; lean_object* x_9; +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +lean_dec(x_5); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +lean_dec(x_5); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__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; lean_object* x_7; @@ -10069,7 +8483,7 @@ lean_ctor_set(x_7, 1, x_4); return x_7; } } -lean_object* l_Lean_Elab_Term_Do_mkJmp___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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___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) { _start: { lean_object* x_7; lean_object* x_8; @@ -10080,7 +8494,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -lean_object* l_Lean_Elab_Term_Do_mkJmp___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4(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; @@ -10091,10 +8505,168 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 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_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 4); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 5); +lean_inc(x_15); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__1___boxed), 4, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_13); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2___boxed), 4, 1); +lean_closure_set(x_18, 0, x_13); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__3___boxed), 6, 3); +lean_closure_set(x_19, 0, x_13); +lean_closure_set(x_19, 1, x_14); +lean_closure_set(x_19, 2, x_15); +lean_inc(x_13); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4___boxed), 6, 3); +lean_closure_set(x_20, 0, x_13); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_15); +x_21 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_17); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_19); +lean_ctor_set(x_21, 4, x_20); +x_22 = x_21; +x_23 = lean_ctor_get(x_7, 3); +lean_inc(x_23); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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_ctor_get(x_7, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_7, 2); +lean_inc(x_28); +x_29 = lean_st_ref_get(x_8, x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_environment_main_module(x_13); +x_34 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_25); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_23); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_apply_2(x_1, x_34, x_36); +if (lean_obj_tag(x_37) == 0) +{ +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; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_st_ref_take(x_8, x_31); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_42, 2); +lean_inc(x_45); +x_46 = lean_ctor_get(x_42, 3); +lean_inc(x_46); +lean_dec(x_42); +x_47 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_40); +lean_ctor_set(x_47, 2, x_45); +lean_ctor_set(x_47, 3, x_46); +x_48 = lean_st_ref_set(x_8, x_47, x_43); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_ctor_get(x_39, 1); +lean_inc(x_50); +lean_dec(x_39); +x_51 = l_List_reverse___rarg(x_50); +x_52 = l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__5(x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_49); +lean_dec(x_7); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_38); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +else +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_37, 0); +lean_inc(x_55); +lean_dec(x_37); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +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(2, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_59, 0, x_58); +x_60 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__6(x_56, x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_7); +lean_dec(x_56); +return x_60; +} +else +{ +lean_object* x_61; +lean_dec(x_7); +x_61 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg(x_31); +return x_61; +} +} +} +} lean_object* l_Lean_Elab_Term_Do_mkJmp(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; lean_object* x_14; size_t x_15; size_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; lean_object* x_26; uint8_t 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_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_13; lean_object* x_14; size_t x_15; size_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; lean_object* x_26; uint8_t 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_13 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_nameSetToArray(x_2); x_14 = lean_array_get_size(x_13); x_15 = lean_usize_of_nat(x_14); @@ -10122,253 +8694,49 @@ lean_ctor_set(x_29, 0, x_23); lean_ctor_set(x_29, 1, x_28); x_30 = lean_array_push(x_26, x_29); x_31 = l_Lean_mkIdentFrom(x_1, x_23); -x_43 = lean_st_ref_get(x_11, x_24); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_ctor_get(x_44, 0); -lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_ctor_get(x_10, 4); -lean_inc(x_47); -x_48 = lean_ctor_get(x_10, 5); -lean_inc(x_48); -lean_inc(x_46); -x_49 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_49, 0, x_46); -lean_inc(x_47); -x_50 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_50, 0, x_47); -lean_inc(x_46); -x_51 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_51, 0, x_46); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); -x_52 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_52, 0, x_46); -lean_closure_set(x_52, 1, x_47); -lean_closure_set(x_52, 2, x_48); -lean_inc(x_46); -x_53 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_53, 0, x_46); -lean_closure_set(x_53, 1, x_47); -lean_closure_set(x_53, 2, x_48); -x_54 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_54, 0, x_49); -lean_ctor_set(x_54, 1, x_50); -lean_ctor_set(x_54, 2, x_51); -lean_ctor_set(x_54, 3, x_52); -lean_ctor_set(x_54, 4, x_53); -x_55 = x_54; -x_56 = lean_ctor_get(x_10, 3); -lean_inc(x_56); -x_57 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_45); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_ctor_get(x_10, 1); -lean_inc(x_60); -x_61 = lean_ctor_get(x_10, 2); -lean_inc(x_61); -x_62 = lean_st_ref_get(x_11, x_59); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_environment_main_module(x_46); -x_67 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_67, 0, x_55); -lean_ctor_set(x_67, 1, x_66); -lean_ctor_set(x_67, 2, x_58); -lean_ctor_set(x_67, 3, x_60); -lean_ctor_set(x_67, 4, x_61); -lean_ctor_set(x_67, 5, x_56); -x_68 = lean_box(0); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_65); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_apply_3(x_4, x_31, x_67, x_69); -if (lean_obj_tag(x_70) == 0) +x_32 = lean_apply_1(x_4, x_31); +lean_inc(x_10); +x_33 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2(x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_st_ref_take(x_11, x_64); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = !lean_is_exclusive(x_75); -if (x_77 == 0) -{ -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; -x_78 = lean_ctor_get(x_75, 1); -lean_dec(x_78); -lean_ctor_set(x_75, 1, x_73); -x_79 = lean_st_ref_set(x_11, x_75, x_76); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_81 = lean_ctor_get(x_72, 1); -lean_inc(x_81); -lean_dec(x_72); -x_82 = l_List_reverse___rarg(x_81); -x_83 = l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__4(x_82, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_80); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_32 = x_71; -x_33 = x_84; -goto block_42; +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_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_Elab_Term_Do_addFreshJP(x_30, x_34, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_35); +lean_dec(x_10); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_alloc_ctor(10, 3, 0); +lean_ctor_set(x_39, 0, x_1); +lean_ctor_set(x_39, 1, x_37); +lean_ctor_set(x_39, 2, x_20); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +return x_40; } else { -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; -x_85 = lean_ctor_get(x_75, 0); -x_86 = lean_ctor_get(x_75, 2); -x_87 = lean_ctor_get(x_75, 3); -lean_inc(x_87); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_75); -x_88 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_88, 0, x_85); -lean_ctor_set(x_88, 1, x_73); -lean_ctor_set(x_88, 2, x_86); -lean_ctor_set(x_88, 3, x_87); -x_89 = lean_st_ref_set(x_11, x_88, x_76); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -x_91 = lean_ctor_get(x_72, 1); -lean_inc(x_91); -lean_dec(x_72); -x_92 = l_List_reverse___rarg(x_91); -x_93 = l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__4(x_92, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_90); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_32 = x_71; -x_33 = x_94; -goto block_42; -} -} -else -{ -lean_object* x_95; +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_dec(x_30); lean_dec(x_20); +lean_dec(x_10); lean_dec(x_1); -x_95 = lean_ctor_get(x_70, 0); -lean_inc(x_95); -lean_dec(x_70); -if (lean_obj_tag(x_95) == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_98 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_98, 0, x_97); -x_99 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_99, 0, x_98); -x_100 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__5(x_96, x_99, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_64); -lean_dec(x_96); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) -{ -return x_100; -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_100, 0); -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_100); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; -} -} -else -{ -lean_object* x_105; uint8_t x_106; -lean_dec(x_10); -x_105 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg(x_64); -x_106 = !lean_is_exclusive(x_105); -if (x_106 == 0) -{ -return x_105; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_105, 0); -x_108 = lean_ctor_get(x_105, 1); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_105); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -return x_109; -} -} -} -block_42: -{ -lean_object* x_34; uint8_t x_35; -x_34 = l_Lean_Elab_Term_Do_addFreshJP(x_30, x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_33); -lean_dec(x_10); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -x_37 = lean_alloc_ctor(10, 3, 0); -lean_ctor_set(x_37, 0, x_1); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 2, x_20); -lean_ctor_set(x_34, 0, x_37); -return x_34; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_34, 0); -x_39 = lean_ctor_get(x_34, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_34); -x_40 = lean_alloc_ctor(10, 3, 0); -lean_ctor_set(x_40, 0, x_1); -lean_ctor_set(x_40, 1, x_38); -lean_ctor_set(x_40, 2, x_20); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -return x_41; -} +x_41 = lean_ctor_get(x_33, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_33, 1); +lean_inc(x_42); +lean_dec(x_33); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } @@ -10385,11 +8753,11 @@ lean_dec(x_1); return x_7; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_mkJmp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -10400,11 +8768,11 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10415,11 +8783,11 @@ lean_dec(x_3); return x_11; } } -lean_object* l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__5___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) { _start: { lean_object* x_10; -x_10 = l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_List_forM___at_Lean_Elab_Term_Do_mkJmp___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -10430,11 +8798,11 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__7___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) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_mkJmp___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -10445,12 +8813,13 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__5___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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -10460,11 +8829,11 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -10475,21 +8844,30 @@ lean_dec(x_1); return x_8; } } -lean_object* l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___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_Elab_Term_Do_mkJmp___lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__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_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_Term_Do_mkJmp___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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_Term_Do_mkJmp___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -10497,16 +8875,30 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_Term_Do_mkJmp___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4___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_Do_mkJmp___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_2); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} lean_object* l_Lean_Elab_Term_Do_mkJmp___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: { @@ -10807,983 +9199,243 @@ return x_6; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__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) { _start: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_12 = lean_ctor_get(x_8, 3); -x_13 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 3, x_13); -x_14 = lean_st_ref_take(x_9, x_10); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +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; uint8_t x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_11 = lean_ctor_get(x_8, 0); +x_12 = lean_ctor_get(x_8, 1); +x_13 = lean_ctor_get(x_8, 2); +x_14 = lean_ctor_get(x_8, 3); +x_15 = lean_ctor_get(x_8, 4); +x_16 = lean_ctor_get(x_8, 5); +x_17 = lean_ctor_get(x_8, 6); +x_18 = lean_ctor_get(x_8, 7); +x_19 = l_Lean_replaceRef(x_1, x_14); +lean_inc(x_18); +lean_inc(x_17); lean_inc(x_16); -lean_dec(x_14); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = lean_ctor_get(x_15, 1); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_18, x_19); -lean_ctor_set(x_15, 1, x_20); -x_21 = lean_st_ref_set(x_9, x_15, x_16); -x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_15); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_20 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_12); +lean_ctor_set(x_20, 2, x_13); +lean_ctor_set(x_20, 3, x_19); +lean_ctor_set(x_20, 4, x_15); +lean_ctor_set(x_20, 5, x_16); +lean_ctor_set(x_20, 6, x_17); +lean_ctor_set(x_20, 7, x_18); +x_21 = lean_st_ref_take(x_9, x_10); +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); lean_dec(x_21); -x_23 = !lean_is_exclusive(x_4); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_24 = lean_ctor_get(x_4, 4); -lean_dec(x_24); -lean_ctor_set(x_4, 4, x_18); -x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_8, x_9, x_22); -x_26 = lean_ctor_get(x_25, 0); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_22, 2); lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +x_27 = lean_ctor_get(x_22, 3); lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, 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 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_30); -x_32 = lean_ctor_get(x_31, 0); +lean_dec(x_22); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_25, x_28); +x_30 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_30, 0, x_24); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_26); +lean_ctor_set(x_30, 3, x_27); +x_31 = lean_st_ref_set(x_9, x_30, x_23); +x_32 = lean_ctor_get(x_31, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); lean_dec(x_31); -x_34 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -x_35 = l_Lean_addMacroScope(x_32, x_34, x_29); -x_36 = lean_box(0); -x_37 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -x_38 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_38, 0, x_26); -lean_ctor_set(x_38, 1, x_37); -lean_ctor_set(x_38, 2, x_35); -lean_ctor_set(x_38, 3, x_36); -x_39 = l_Lean_Syntax_getId(x_38); -x_40 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_8, x_9, x_33); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); +x_33 = lean_ctor_get(x_4, 0); +x_34 = lean_ctor_get(x_4, 1); +x_35 = lean_ctor_get(x_4, 2); +x_36 = lean_ctor_get(x_4, 3); +x_37 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_38 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_39 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_40 = lean_ctor_get(x_4, 5); +x_41 = lean_ctor_get(x_4, 6); +x_42 = lean_ctor_get(x_4, 7); +x_43 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_45); -x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +x_44 = lean_alloc_ctor(0, 8, 4); +lean_ctor_set(x_44, 0, x_33); +lean_ctor_set(x_44, 1, x_34); +lean_ctor_set(x_44, 2, x_35); +lean_ctor_set(x_44, 3, x_36); +lean_ctor_set(x_44, 4, x_25); +lean_ctor_set(x_44, 5, x_40); +lean_ctor_set(x_44, 6, x_41); +lean_ctor_set(x_44, 7, x_42); +lean_ctor_set_uint8(x_44, sizeof(void*)*8, x_37); +lean_ctor_set_uint8(x_44, sizeof(void*)*8 + 1, x_38); +lean_ctor_set_uint8(x_44, sizeof(void*)*8 + 2, x_39); +lean_ctor_set_uint8(x_44, sizeof(void*)*8 + 3, x_43); +x_45 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_20, x_9, x_32); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_41); -x_50 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_50, 0, x_41); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_addMacroScope(x_47, x_34, x_44); -lean_inc(x_41); -x_52 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_52, 0, x_41); -lean_ctor_set(x_52, 1, x_37); -lean_ctor_set(x_52, 2, x_51); -lean_ctor_set(x_52, 3, x_36); -x_53 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -x_54 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_54, 0, x_41); -lean_ctor_set(x_54, 1, x_53); -x_55 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_56 = lean_array_push(x_55, x_1); -x_57 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -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_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_60 = lean_array_push(x_59, x_52); -x_61 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_62 = lean_array_push(x_60, x_61); -x_63 = lean_array_push(x_62, x_54); -x_64 = lean_array_push(x_63, x_58); -x_65 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_68 = lean_array_push(x_67, x_50); -x_69 = lean_array_push(x_68, x_61); -x_70 = lean_array_push(x_69, x_66); -x_71 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_8, x_9, x_48); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_76 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_75); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -lean_dec(x_76); -x_78 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_77); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_74); -x_81 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_81, 0, x_74); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; -x_83 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_83, 0, x_74); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_array_push(x_55, x_83); -x_85 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; +lean_dec(x_45); +x_48 = l_Lean_Elab_Term_getCurrMacroScope(x_44, x_5, x_6, x_7, x_20, x_9, x_47); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_50); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; +x_55 = l_Lean_addMacroScope(x_52, x_54, x_49); +x_56 = lean_box(0); +x_57 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; +x_58 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_58, 0, x_46); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_55); +lean_ctor_set(x_58, 3, x_56); +x_59 = l_Lean_Syntax_getId(x_58); +x_60 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_20, x_9, x_53); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = l_Lean_Elab_Term_getCurrMacroScope(x_44, x_5, x_6, x_7, x_20, x_9, x_62); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_65); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_61); +x_70 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_70, 0, x_61); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_Lean_addMacroScope(x_67, x_54, x_64); +lean_inc(x_61); +x_72 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_72, 0, x_61); +lean_ctor_set(x_72, 1, x_57); +lean_ctor_set(x_72, 2, x_71); +lean_ctor_set(x_72, 3, x_56); +x_73 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_61); +lean_ctor_set(x_74, 1, x_73); +x_75 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_76 = lean_array_push(x_75, x_1); +x_77 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +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_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_80 = lean_array_push(x_79, x_72); +x_81 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_82 = lean_array_push(x_80, x_81); +x_83 = lean_array_push(x_82, x_74); +x_84 = lean_array_push(x_83, x_78); +x_85 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); -x_87 = lean_array_push(x_67, x_81); -x_88 = lean_array_push(x_87, x_86); -x_89 = lean_array_push(x_88, x_38); -x_90 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = lean_apply_9(x_2, x_91, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_79); -if (lean_obj_tag(x_92) == 0) -{ -uint8_t x_93; -x_93 = !lean_is_exclusive(x_92); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_92, 0); -x_95 = lean_array_push(x_55, x_39); -x_96 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_72); -lean_ctor_set(x_96, 2, x_94); -lean_ctor_set(x_92, 0, x_96); -return x_92; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_97 = lean_ctor_get(x_92, 0); -x_98 = lean_ctor_get(x_92, 1); -lean_inc(x_98); +x_87 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_88 = lean_array_push(x_87, x_70); +x_89 = lean_array_push(x_88, x_81); +x_90 = lean_array_push(x_89, x_86); +x_91 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +x_93 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_20, x_9, x_68); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = l_Lean_Elab_Term_getCurrMacroScope(x_44, x_5, x_6, x_7, x_20, x_9, x_95); +x_97 = lean_ctor_get(x_96, 1); lean_inc(x_97); -lean_dec(x_92); -x_99 = lean_array_push(x_55, x_39); -x_100 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_72); -lean_ctor_set(x_100, 2, x_97); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_98); -return x_101; -} -} -else +lean_dec(x_96); +x_98 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_97); +x_99 = lean_ctor_get(x_98, 1); +lean_inc(x_99); +lean_dec(x_98); +x_100 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; +lean_inc(x_94); +x_101 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_101, 0, x_94); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_94); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_array_push(x_75, x_103); +x_105 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; +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 = lean_array_push(x_87, x_101); +x_108 = lean_array_push(x_107, x_106); +x_109 = lean_array_push(x_108, x_58); +x_110 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___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_apply_9(x_2, x_111, x_3, x_44, x_5, x_6, x_7, x_20, x_9, x_99); +if (lean_obj_tag(x_112) == 0) { -uint8_t x_102; -lean_dec(x_72); -lean_dec(x_39); -x_102 = !lean_is_exclusive(x_92); -if (x_102 == 0) -{ -return x_92; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_92, 0); -x_104 = lean_ctor_get(x_92, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_92); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); -return x_105; -} -} -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; uint8_t x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; 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; -x_106 = lean_ctor_get(x_4, 0); -x_107 = lean_ctor_get(x_4, 1); -x_108 = lean_ctor_get(x_4, 2); -x_109 = lean_ctor_get(x_4, 3); -x_110 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_111 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_112 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_113 = lean_ctor_get(x_4, 5); -x_114 = lean_ctor_get(x_4, 6); -x_115 = lean_ctor_get(x_4, 7); -x_116 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_inc(x_115); -lean_inc(x_114); +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_4); -x_117 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_117, 0, x_106); -lean_ctor_set(x_117, 1, x_107); -lean_ctor_set(x_117, 2, x_108); -lean_ctor_set(x_117, 3, x_109); -lean_ctor_set(x_117, 4, x_18); -lean_ctor_set(x_117, 5, x_113); -lean_ctor_set(x_117, 6, x_114); -lean_ctor_set(x_117, 7, x_115); -lean_ctor_set_uint8(x_117, sizeof(void*)*8, x_110); -lean_ctor_set_uint8(x_117, sizeof(void*)*8 + 1, x_111); -lean_ctor_set_uint8(x_117, sizeof(void*)*8 + 2, x_112); -lean_ctor_set_uint8(x_117, sizeof(void*)*8 + 3, x_116); -x_118 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_8, x_9, x_22); -x_119 = lean_ctor_get(x_118, 0); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_115 = lean_array_push(x_75, x_59); +x_116 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_92); +lean_ctor_set(x_116, 2, x_113); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_114); +return x_117; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_92); +lean_dec(x_59); +x_118 = lean_ctor_get(x_112, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_112, 1); lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_121 = l_Lean_Elab_Term_getCurrMacroScope(x_117, x_5, x_6, x_7, x_8, x_9, x_120); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_123); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -x_128 = l_Lean_addMacroScope(x_125, x_127, x_122); -x_129 = lean_box(0); -x_130 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -x_131 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_131, 0, x_119); -lean_ctor_set(x_131, 1, x_130); -lean_ctor_set(x_131, 2, x_128); -lean_ctor_set(x_131, 3, x_129); -x_132 = l_Lean_Syntax_getId(x_131); -x_133 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_8, x_9, x_126); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -x_136 = l_Lean_Elab_Term_getCurrMacroScope(x_117, x_5, x_6, x_7, x_8, x_9, x_135); -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 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_138); -x_140 = lean_ctor_get(x_139, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_139, 1); -lean_inc(x_141); -lean_dec(x_139); -x_142 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_134); -x_143 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_143, 0, x_134); -lean_ctor_set(x_143, 1, x_142); -x_144 = l_Lean_addMacroScope(x_140, x_127, x_137); -lean_inc(x_134); -x_145 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_145, 0, x_134); -lean_ctor_set(x_145, 1, x_130); -lean_ctor_set(x_145, 2, x_144); -lean_ctor_set(x_145, 3, x_129); -x_146 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -x_147 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_147, 0, x_134); -lean_ctor_set(x_147, 1, x_146); -x_148 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_149 = lean_array_push(x_148, x_1); -x_150 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_153 = lean_array_push(x_152, x_145); -x_154 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_155 = lean_array_push(x_153, x_154); -x_156 = lean_array_push(x_155, x_147); -x_157 = lean_array_push(x_156, x_151); -x_158 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -x_160 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_161 = lean_array_push(x_160, x_143); -x_162 = lean_array_push(x_161, x_154); -x_163 = lean_array_push(x_162, x_159); -x_164 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -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 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_8, x_9, x_141); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -lean_dec(x_166); -x_169 = l_Lean_Elab_Term_getCurrMacroScope(x_117, x_5, x_6, x_7, x_8, x_9, x_168); -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -lean_dec(x_169); -x_171 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_170); -x_172 = lean_ctor_get(x_171, 1); -lean_inc(x_172); -lean_dec(x_171); -x_173 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_167); -x_174 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_174, 0, x_167); -lean_ctor_set(x_174, 1, x_173); -x_175 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; -x_176 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_176, 0, x_167); -lean_ctor_set(x_176, 1, x_175); -x_177 = lean_array_push(x_148, x_176); -x_178 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -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_160, x_174); -x_181 = lean_array_push(x_180, x_179); -x_182 = lean_array_push(x_181, x_131); -x_183 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -x_184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_184, 0, x_183); -lean_ctor_set(x_184, 1, x_182); -x_185 = lean_apply_9(x_2, x_184, x_3, x_117, x_5, x_6, x_7, x_8, x_9, x_172); -if (lean_obj_tag(x_185) == 0) -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_185, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - lean_ctor_release(x_185, 1); - x_188 = x_185; -} else { - lean_dec_ref(x_185); - x_188 = lean_box(0); -} -x_189 = lean_array_push(x_148, x_132); -x_190 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_165); -lean_ctor_set(x_190, 2, x_186); -if (lean_is_scalar(x_188)) { - x_191 = lean_alloc_ctor(0, 2, 0); -} else { - x_191 = x_188; -} -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_187); -return x_191; -} -else -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -lean_dec(x_165); -lean_dec(x_132); -x_192 = lean_ctor_get(x_185, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_185, 1); -lean_inc(x_193); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - lean_ctor_release(x_185, 1); - x_194 = x_185; -} else { - lean_dec_ref(x_185); - x_194 = lean_box(0); -} -if (lean_is_scalar(x_194)) { - x_195 = lean_alloc_ctor(1, 2, 0); -} else { - x_195 = x_194; -} -lean_ctor_set(x_195, 0, x_192); -lean_ctor_set(x_195, 1, x_193); -return x_195; -} -} -} -else -{ -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; uint8_t x_209; uint8_t x_210; uint8_t x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_196 = lean_ctor_get(x_15, 0); -x_197 = lean_ctor_get(x_15, 1); -x_198 = lean_ctor_get(x_15, 2); -x_199 = lean_ctor_get(x_15, 3); -lean_inc(x_199); -lean_inc(x_198); -lean_inc(x_197); -lean_inc(x_196); -lean_dec(x_15); -x_200 = lean_unsigned_to_nat(1u); -x_201 = lean_nat_add(x_197, x_200); -x_202 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_202, 0, x_196); -lean_ctor_set(x_202, 1, x_201); -lean_ctor_set(x_202, 2, x_198); -lean_ctor_set(x_202, 3, x_199); -x_203 = lean_st_ref_set(x_9, x_202, x_16); -x_204 = lean_ctor_get(x_203, 1); -lean_inc(x_204); -lean_dec(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_uint8(x_4, sizeof(void*)*8); -x_210 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_211 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_212 = lean_ctor_get(x_4, 5); -lean_inc(x_212); -x_213 = lean_ctor_get(x_4, 6); -lean_inc(x_213); -x_214 = lean_ctor_get(x_4, 7); -lean_inc(x_214); -x_215 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -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); - x_216 = x_4; -} else { - lean_dec_ref(x_4); - x_216 = lean_box(0); -} -if (lean_is_scalar(x_216)) { - x_217 = lean_alloc_ctor(0, 8, 4); -} else { - x_217 = x_216; -} -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_197); -lean_ctor_set(x_217, 5, x_212); -lean_ctor_set(x_217, 6, x_213); -lean_ctor_set(x_217, 7, x_214); -lean_ctor_set_uint8(x_217, sizeof(void*)*8, x_209); -lean_ctor_set_uint8(x_217, sizeof(void*)*8 + 1, x_210); -lean_ctor_set_uint8(x_217, sizeof(void*)*8 + 2, x_211); -lean_ctor_set_uint8(x_217, sizeof(void*)*8 + 3, x_215); -x_218 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_8, x_9, x_204); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = l_Lean_Elab_Term_getCurrMacroScope(x_217, x_5, x_6, x_7, x_8, x_9, x_220); -x_222 = lean_ctor_get(x_221, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_221, 1); -lean_inc(x_223); -lean_dec(x_221); -x_224 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_223); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -lean_dec(x_224); -x_227 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -x_228 = l_Lean_addMacroScope(x_225, x_227, x_222); -x_229 = lean_box(0); -x_230 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -x_231 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_231, 0, x_219); -lean_ctor_set(x_231, 1, x_230); -lean_ctor_set(x_231, 2, x_228); -lean_ctor_set(x_231, 3, x_229); -x_232 = l_Lean_Syntax_getId(x_231); -x_233 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_8, x_9, x_226); -x_234 = lean_ctor_get(x_233, 0); -lean_inc(x_234); -x_235 = lean_ctor_get(x_233, 1); -lean_inc(x_235); -lean_dec(x_233); -x_236 = l_Lean_Elab_Term_getCurrMacroScope(x_217, x_5, x_6, x_7, x_8, x_9, x_235); -x_237 = lean_ctor_get(x_236, 0); -lean_inc(x_237); -x_238 = lean_ctor_get(x_236, 1); -lean_inc(x_238); -lean_dec(x_236); -x_239 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_238); -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_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_234); -x_243 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_243, 0, x_234); -lean_ctor_set(x_243, 1, x_242); -x_244 = l_Lean_addMacroScope(x_240, x_227, x_237); -lean_inc(x_234); -x_245 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_245, 0, x_234); -lean_ctor_set(x_245, 1, x_230); -lean_ctor_set(x_245, 2, x_244); -lean_ctor_set(x_245, 3, x_229); -x_246 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -x_247 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_247, 0, x_234); -lean_ctor_set(x_247, 1, x_246); -x_248 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_249 = lean_array_push(x_248, x_1); -x_250 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_251, 0, x_250); -lean_ctor_set(x_251, 1, x_249); -x_252 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_253 = lean_array_push(x_252, x_245); -x_254 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_255 = lean_array_push(x_253, x_254); -x_256 = lean_array_push(x_255, x_247); -x_257 = lean_array_push(x_256, x_251); -x_258 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_258); -lean_ctor_set(x_259, 1, x_257); -x_260 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_261 = lean_array_push(x_260, x_243); -x_262 = lean_array_push(x_261, x_254); -x_263 = lean_array_push(x_262, x_259); -x_264 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -x_266 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_8, x_9, x_241); -x_267 = lean_ctor_get(x_266, 0); -lean_inc(x_267); -x_268 = lean_ctor_get(x_266, 1); -lean_inc(x_268); -lean_dec(x_266); -x_269 = l_Lean_Elab_Term_getCurrMacroScope(x_217, x_5, x_6, x_7, x_8, x_9, x_268); -x_270 = lean_ctor_get(x_269, 1); -lean_inc(x_270); -lean_dec(x_269); -x_271 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_270); -x_272 = lean_ctor_get(x_271, 1); -lean_inc(x_272); -lean_dec(x_271); -x_273 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_267); -x_274 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_274, 0, x_267); -lean_ctor_set(x_274, 1, x_273); -x_275 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; -x_276 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_276, 0, x_267); -lean_ctor_set(x_276, 1, x_275); -x_277 = lean_array_push(x_248, x_276); -x_278 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -x_279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_277); -x_280 = lean_array_push(x_260, x_274); -x_281 = lean_array_push(x_280, x_279); -x_282 = lean_array_push(x_281, x_231); -x_283 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_283); -lean_ctor_set(x_284, 1, x_282); -x_285 = lean_apply_9(x_2, x_284, x_3, x_217, x_5, x_6, x_7, x_8, x_9, x_272); -if (lean_obj_tag(x_285) == 0) -{ -lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -x_286 = lean_ctor_get(x_285, 0); -lean_inc(x_286); -x_287 = lean_ctor_get(x_285, 1); -lean_inc(x_287); -if (lean_is_exclusive(x_285)) { - lean_ctor_release(x_285, 0); - lean_ctor_release(x_285, 1); - x_288 = x_285; -} else { - lean_dec_ref(x_285); - x_288 = lean_box(0); -} -x_289 = lean_array_push(x_248, x_232); -x_290 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_265); -lean_ctor_set(x_290, 2, x_286); -if (lean_is_scalar(x_288)) { - x_291 = lean_alloc_ctor(0, 2, 0); -} else { - x_291 = x_288; -} -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_287); -return x_291; -} -else -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; -lean_dec(x_265); -lean_dec(x_232); -x_292 = lean_ctor_get(x_285, 0); -lean_inc(x_292); -x_293 = lean_ctor_get(x_285, 1); -lean_inc(x_293); -if (lean_is_exclusive(x_285)) { - lean_ctor_release(x_285, 0); - lean_ctor_release(x_285, 1); - x_294 = x_285; -} else { - lean_dec_ref(x_285); - x_294 = lean_box(0); -} -if (lean_is_scalar(x_294)) { - x_295 = lean_alloc_ctor(1, 2, 0); -} else { - x_295 = x_294; -} -lean_ctor_set(x_295, 0, x_292); -lean_ctor_set(x_295, 1, x_293); -return x_295; -} -} -} -else -{ -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; uint8_t x_323; uint8_t x_324; uint8_t x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; uint8_t 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; -x_296 = lean_ctor_get(x_8, 0); -x_297 = lean_ctor_get(x_8, 1); -x_298 = lean_ctor_get(x_8, 2); -x_299 = lean_ctor_get(x_8, 3); -x_300 = lean_ctor_get(x_8, 4); -x_301 = lean_ctor_get(x_8, 5); -x_302 = lean_ctor_get(x_8, 6); -x_303 = lean_ctor_get(x_8, 7); -lean_inc(x_303); -lean_inc(x_302); -lean_inc(x_301); -lean_inc(x_300); -lean_inc(x_299); -lean_inc(x_298); -lean_inc(x_297); -lean_inc(x_296); -lean_dec(x_8); -x_304 = l_Lean_replaceRef(x_1, x_299); -lean_dec(x_299); -x_305 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_305, 0, x_296); -lean_ctor_set(x_305, 1, x_297); -lean_ctor_set(x_305, 2, x_298); -lean_ctor_set(x_305, 3, x_304); -lean_ctor_set(x_305, 4, x_300); -lean_ctor_set(x_305, 5, x_301); -lean_ctor_set(x_305, 6, x_302); -lean_ctor_set(x_305, 7, x_303); -x_306 = lean_st_ref_take(x_9, x_10); -x_307 = lean_ctor_get(x_306, 0); -lean_inc(x_307); -x_308 = lean_ctor_get(x_306, 1); -lean_inc(x_308); -lean_dec(x_306); -x_309 = lean_ctor_get(x_307, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_307, 1); -lean_inc(x_310); -x_311 = lean_ctor_get(x_307, 2); -lean_inc(x_311); -x_312 = lean_ctor_get(x_307, 3); -lean_inc(x_312); -if (lean_is_exclusive(x_307)) { - lean_ctor_release(x_307, 0); - lean_ctor_release(x_307, 1); - lean_ctor_release(x_307, 2); - lean_ctor_release(x_307, 3); - x_313 = x_307; -} else { - lean_dec_ref(x_307); - x_313 = lean_box(0); -} -x_314 = lean_unsigned_to_nat(1u); -x_315 = lean_nat_add(x_310, x_314); -if (lean_is_scalar(x_313)) { - x_316 = lean_alloc_ctor(0, 4, 0); -} else { - x_316 = x_313; -} -lean_ctor_set(x_316, 0, x_309); -lean_ctor_set(x_316, 1, x_315); -lean_ctor_set(x_316, 2, x_311); -lean_ctor_set(x_316, 3, x_312); -x_317 = lean_st_ref_set(x_9, x_316, x_308); -x_318 = lean_ctor_get(x_317, 1); -lean_inc(x_318); -lean_dec(x_317); -x_319 = lean_ctor_get(x_4, 0); -lean_inc(x_319); -x_320 = lean_ctor_get(x_4, 1); -lean_inc(x_320); -x_321 = lean_ctor_get(x_4, 2); -lean_inc(x_321); -x_322 = lean_ctor_get(x_4, 3); -lean_inc(x_322); -x_323 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_324 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_325 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_326 = lean_ctor_get(x_4, 5); -lean_inc(x_326); -x_327 = lean_ctor_get(x_4, 6); -lean_inc(x_327); -x_328 = lean_ctor_get(x_4, 7); -lean_inc(x_328); -x_329 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -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); - x_330 = x_4; -} else { - lean_dec_ref(x_4); - x_330 = lean_box(0); -} -if (lean_is_scalar(x_330)) { - x_331 = lean_alloc_ctor(0, 8, 4); -} else { - x_331 = x_330; -} -lean_ctor_set(x_331, 0, x_319); -lean_ctor_set(x_331, 1, x_320); -lean_ctor_set(x_331, 2, x_321); -lean_ctor_set(x_331, 3, x_322); -lean_ctor_set(x_331, 4, x_310); -lean_ctor_set(x_331, 5, x_326); -lean_ctor_set(x_331, 6, x_327); -lean_ctor_set(x_331, 7, x_328); -lean_ctor_set_uint8(x_331, sizeof(void*)*8, x_323); -lean_ctor_set_uint8(x_331, sizeof(void*)*8 + 1, x_324); -lean_ctor_set_uint8(x_331, sizeof(void*)*8 + 2, x_325); -lean_ctor_set_uint8(x_331, sizeof(void*)*8 + 3, x_329); -x_332 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_305, x_9, x_318); -x_333 = lean_ctor_get(x_332, 0); -lean_inc(x_333); -x_334 = lean_ctor_get(x_332, 1); -lean_inc(x_334); -lean_dec(x_332); -x_335 = l_Lean_Elab_Term_getCurrMacroScope(x_331, x_5, x_6, x_7, x_305, x_9, x_334); -x_336 = lean_ctor_get(x_335, 0); -lean_inc(x_336); -x_337 = lean_ctor_get(x_335, 1); -lean_inc(x_337); -lean_dec(x_335); -x_338 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_337); -x_339 = lean_ctor_get(x_338, 0); -lean_inc(x_339); -x_340 = lean_ctor_get(x_338, 1); -lean_inc(x_340); -lean_dec(x_338); -x_341 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -x_342 = l_Lean_addMacroScope(x_339, x_341, x_336); -x_343 = lean_box(0); -x_344 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -x_345 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_345, 0, x_333); -lean_ctor_set(x_345, 1, x_344); -lean_ctor_set(x_345, 2, x_342); -lean_ctor_set(x_345, 3, x_343); -x_346 = l_Lean_Syntax_getId(x_345); -x_347 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_305, x_9, x_340); -x_348 = lean_ctor_get(x_347, 0); -lean_inc(x_348); -x_349 = lean_ctor_get(x_347, 1); -lean_inc(x_349); -lean_dec(x_347); -x_350 = l_Lean_Elab_Term_getCurrMacroScope(x_331, x_5, x_6, x_7, x_305, x_9, x_349); -x_351 = lean_ctor_get(x_350, 0); -lean_inc(x_351); -x_352 = lean_ctor_get(x_350, 1); -lean_inc(x_352); -lean_dec(x_350); -x_353 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_352); -x_354 = lean_ctor_get(x_353, 0); -lean_inc(x_354); -x_355 = lean_ctor_get(x_353, 1); -lean_inc(x_355); -lean_dec(x_353); -x_356 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_348); -x_357 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_357, 0, x_348); -lean_ctor_set(x_357, 1, x_356); -x_358 = l_Lean_addMacroScope(x_354, x_341, x_351); -lean_inc(x_348); -x_359 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_359, 0, x_348); -lean_ctor_set(x_359, 1, x_344); -lean_ctor_set(x_359, 2, x_358); -lean_ctor_set(x_359, 3, x_343); -x_360 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -x_361 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_361, 0, x_348); -lean_ctor_set(x_361, 1, x_360); -x_362 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_363 = lean_array_push(x_362, x_1); -x_364 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_365, 0, x_364); -lean_ctor_set(x_365, 1, x_363); -x_366 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_367 = lean_array_push(x_366, x_359); -x_368 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_369 = lean_array_push(x_367, x_368); -x_370 = lean_array_push(x_369, x_361); -x_371 = lean_array_push(x_370, x_365); -x_372 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_373, 0, x_372); -lean_ctor_set(x_373, 1, x_371); -x_374 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_375 = lean_array_push(x_374, x_357); -x_376 = lean_array_push(x_375, x_368); -x_377 = lean_array_push(x_376, x_373); -x_378 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -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 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__2___rarg(x_305, x_9, x_355); -x_381 = lean_ctor_get(x_380, 0); -lean_inc(x_381); -x_382 = lean_ctor_get(x_380, 1); -lean_inc(x_382); -lean_dec(x_380); -x_383 = l_Lean_Elab_Term_getCurrMacroScope(x_331, x_5, x_6, x_7, x_305, x_9, x_382); -x_384 = lean_ctor_get(x_383, 1); -lean_inc(x_384); -lean_dec(x_383); -x_385 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_384); -x_386 = lean_ctor_get(x_385, 1); -lean_inc(x_386); -lean_dec(x_385); -x_387 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_381); -x_388 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_388, 0, x_381); -lean_ctor_set(x_388, 1, x_387); -x_389 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; -x_390 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_390, 0, x_381); -lean_ctor_set(x_390, 1, x_389); -x_391 = lean_array_push(x_362, x_390); -x_392 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -x_393 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_393, 0, x_392); -lean_ctor_set(x_393, 1, x_391); -x_394 = lean_array_push(x_374, x_388); -x_395 = lean_array_push(x_394, x_393); -x_396 = lean_array_push(x_395, x_345); -x_397 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -x_398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_398, 0, x_397); -lean_ctor_set(x_398, 1, x_396); -x_399 = lean_apply_9(x_2, x_398, x_3, x_331, x_5, x_6, x_7, x_305, x_9, x_386); -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; -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 = lean_array_push(x_362, x_346); -x_404 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_404, 0, x_403); -lean_ctor_set(x_404, 1, x_379); -lean_ctor_set(x_404, 2, x_400); -if (lean_is_scalar(x_402)) { - x_405 = lean_alloc_ctor(0, 2, 0); -} else { - x_405 = x_402; -} -lean_ctor_set(x_405, 0, x_404); -lean_ctor_set(x_405, 1, x_401); -return x_405; -} -else -{ -lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; -lean_dec(x_379); -lean_dec(x_346); -x_406 = lean_ctor_get(x_399, 0); -lean_inc(x_406); -x_407 = lean_ctor_get(x_399, 1); -lean_inc(x_407); -if (lean_is_exclusive(x_399)) { - lean_ctor_release(x_399, 0); - lean_ctor_release(x_399, 1); - x_408 = x_399; -} else { - lean_dec_ref(x_399); - x_408 = lean_box(0); -} -if (lean_is_scalar(x_408)) { - x_409 = lean_alloc_ctor(1, 2, 0); -} else { - x_409 = x_408; -} -lean_ctor_set(x_409, 0, x_406); -lean_ctor_set(x_409, 1, x_407); -return x_409; -} +lean_dec(x_112); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +return x_120; } } } @@ -11811,21 +9463,22 @@ return x_15; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +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; x_16 = lean_array_uget(x_4, x_3); x_17 = lean_unsigned_to_nat(0u); x_18 = lean_array_uset(x_4, x_3, x_17); x_19 = x_16; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_ctor_get(x_19, 1); -x_23 = lean_ctor_get(x_19, 2); -x_24 = lean_ctor_get(x_19, 3); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +x_22 = lean_ctor_get(x_19, 2); +lean_inc(x_22); +x_23 = lean_ctor_get(x_19, 3); +lean_inc(x_23); +lean_dec(x_19); lean_inc(x_1); -x_25 = l_Lean_Elab_Term_Do_eraseVars(x_1, x_22); +x_24 = l_Lean_Elab_Term_Do_eraseVars(x_1, x_21); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -11833,32 +9486,35 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_26 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_25, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_26) == 0) +x_25 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_24, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; -x_27 = lean_ctor_get(x_26, 0); +lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -lean_ctor_set(x_19, 3, x_27); +lean_dec(x_25); +x_28 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 2, x_22); +lean_ctor_set(x_28, 3, x_26); x_29 = 1; x_30 = x_3 + x_29; -x_31 = x_19; +x_31 = x_28; x_32 = lean_array_uset(x_18, x_3, x_31); x_3 = x_30; x_4 = x_32; -x_12 = x_28; +x_12 = x_27; goto _start; } else { -uint8_t x_34; -lean_free_object(x_19); -lean_dec(x_23); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_dec(x_22); lean_dec(x_21); +lean_dec(x_20); lean_dec(x_18); lean_dec(x_11); lean_dec(x_10); @@ -11868,106 +9524,15 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_26); -if (x_34 == 0) -{ -return x_26; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_26, 0); -x_36 = lean_ctor_get(x_26, 1); -lean_inc(x_36); +x_34 = lean_ctor_get(x_25, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_25, 1); lean_inc(x_35); -lean_dec(x_26); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_38 = lean_ctor_get(x_19, 0); -x_39 = lean_ctor_get(x_19, 1); -x_40 = lean_ctor_get(x_19, 2); -x_41 = lean_ctor_get(x_19, 3); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_19); -lean_inc(x_1); -x_42 = l_Lean_Elab_Term_Do_eraseVars(x_1, x_39); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_43 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_42, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; size_t x_47; size_t x_48; lean_object* x_49; lean_object* x_50; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_46, 0, x_38); -lean_ctor_set(x_46, 1, x_39); -lean_ctor_set(x_46, 2, x_40); -lean_ctor_set(x_46, 3, x_44); -x_47 = 1; -x_48 = x_3 + x_47; -x_49 = x_46; -x_50 = lean_array_uset(x_18, x_3, x_49); -x_3 = x_48; -x_4 = x_50; -x_12 = x_45; -goto _start; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_40); -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_18); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_52 = lean_ctor_get(x_43, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_43, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_54 = x_43; -} else { - lean_dec_ref(x_43); - x_54 = lean_box(0); -} -if (lean_is_scalar(x_54)) { - x_55 = lean_alloc_ctor(1, 2, 0); -} else { - x_55 = x_54; -} -lean_ctor_set(x_55, 0, x_52); -lean_ctor_set(x_55, 1, x_53); -return x_55; -} +lean_dec(x_25); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } @@ -12093,13 +9658,13 @@ return x_2; lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; uint8_t 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; 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_4 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -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; -x_6 = lean_ctor_get(x_4, 0); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_dec(x_4); x_7 = lean_ctor_get(x_2, 2); lean_inc(x_7); x_8 = lean_ctor_get(x_2, 1); @@ -12110,7 +9675,7 @@ x_10 = l_Lean_addMacroScope(x_8, x_9, x_7); x_11 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; x_12 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; x_13 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 0, x_5); lean_ctor_set(x_13, 1, x_11); lean_ctor_set(x_13, 2, x_10); lean_ctor_set(x_13, 3, x_12); @@ -12129,51 +9694,10 @@ lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); x_23 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_4, 0, x_23); -return x_4; -} -else -{ -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; -x_24 = lean_ctor_get(x_4, 0); -x_25 = lean_ctor_get(x_4, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_4); -x_26 = lean_ctor_get(x_2, 2); -lean_inc(x_26); -x_27 = lean_ctor_get(x_2, 1); -lean_inc(x_27); -lean_dec(x_2); -x_28 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -x_29 = l_Lean_addMacroScope(x_27, x_28, x_26); -x_30 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_31 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -x_32 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_32, 0, x_24); -lean_ctor_set(x_32, 1, x_30); -lean_ctor_set(x_32, 2, x_29); -lean_ctor_set(x_32, 3, x_31); -x_33 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_34 = lean_array_push(x_33, x_1); -x_35 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_38 = lean_array_push(x_37, x_32); -x_39 = lean_array_push(x_38, x_36); -x_40 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -x_42 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_42, 0, x_41); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_25); -return x_43; -} +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_6); +return x_24; } } static lean_object* _init_l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__2___closed__1() { @@ -12221,401 +9745,105 @@ _start: switch (lean_obj_tag(x_2)) { case 0: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_2); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_2, 0); -x_13 = lean_ctor_get(x_2, 1); -x_14 = lean_ctor_get(x_2, 2); -x_15 = l_Lean_Elab_Term_Do_eraseVars(x_1, x_12); -x_16 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_15, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_16, 0); -lean_ctor_set(x_2, 2, x_18); -lean_ctor_set(x_16, 0, x_2); -return x_16; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_16, 0); -x_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_16); -lean_ctor_set(x_2, 2, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_2); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -else -{ -uint8_t x_22; -lean_free_object(x_2); -lean_dec(x_13); -lean_dec(x_12); -x_22 = !lean_is_exclusive(x_16); -if (x_22 == 0) -{ -return x_16; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_16, 0); -x_24 = lean_ctor_get(x_16, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_16); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_2, 0); -x_27 = lean_ctor_get(x_2, 1); -x_28 = lean_ctor_get(x_2, 2); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_2, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_2, 2); +lean_inc(x_13); lean_dec(x_2); -x_29 = l_Lean_Elab_Term_Do_eraseVars(x_1, x_26); -x_30 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_29, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_30) == 0) +x_14 = l_Lean_Elab_Term_Do_eraseVars(x_1, x_11); +x_15 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_14, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_33 = x_30; -} else { - lean_dec_ref(x_30); - x_33 = lean_box(0); -} -x_34 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_34, 0, x_26); -lean_ctor_set(x_34, 1, x_27); -lean_ctor_set(x_34, 2, x_31); -if (lean_is_scalar(x_33)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_33; -} -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +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); +x_18 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_12); +lean_ctor_set(x_18, 2, x_16); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_27); -lean_dec(x_26); -x_36 = lean_ctor_get(x_30, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_30, 1); -lean_inc(x_37); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_38 = x_30; -} else { - lean_dec_ref(x_30); - x_38 = lean_box(0); -} -if (lean_is_scalar(x_38)) { - x_39 = lean_alloc_ctor(1, 2, 0); -} else { - x_39 = x_38; -} -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_37); -return x_39; -} +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_12); +lean_dec(x_11); +x_20 = lean_ctor_get(x_15, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_15, 1); +lean_inc(x_21); +lean_dec(x_15); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } case 1: { -uint8_t x_40; -x_40 = !lean_is_exclusive(x_2); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_41 = lean_ctor_get(x_2, 0); -x_42 = lean_ctor_get(x_2, 1); -x_43 = lean_ctor_get(x_2, 2); -x_44 = l_Lean_Elab_Term_Do_insertVars(x_1, x_41); -x_45 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_44, x_43, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_45) == 0) -{ -uint8_t x_46; -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; -x_47 = lean_ctor_get(x_45, 0); -lean_ctor_set(x_2, 2, x_47); -lean_ctor_set(x_45, 0, x_2); -return x_45; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_45, 0); -x_49 = lean_ctor_get(x_45, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_45); -lean_ctor_set(x_2, 2, x_48); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_2); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -else -{ -uint8_t x_51; -lean_free_object(x_2); -lean_dec(x_42); -lean_dec(x_41); -x_51 = !lean_is_exclusive(x_45); -if (x_51 == 0) -{ -return x_45; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_45, 0); -x_53 = lean_ctor_get(x_45, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_45); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_55 = lean_ctor_get(x_2, 0); -x_56 = lean_ctor_get(x_2, 1); -x_57 = lean_ctor_get(x_2, 2); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_2, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_2, 1); +lean_inc(x_24); +x_25 = lean_ctor_get(x_2, 2); +lean_inc(x_25); lean_dec(x_2); -x_58 = l_Lean_Elab_Term_Do_insertVars(x_1, x_55); -x_59 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_58, x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_59) == 0) +x_26 = l_Lean_Elab_Term_Do_insertVars(x_1, x_23); +x_27 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_26, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_62 = x_59; -} else { - lean_dec_ref(x_59); - x_62 = lean_box(0); -} -x_63 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_63, 0, x_55); -lean_ctor_set(x_63, 1, x_56); -lean_ctor_set(x_63, 2, x_60); -if (lean_is_scalar(x_62)) { - x_64 = lean_alloc_ctor(0, 2, 0); -} else { - x_64 = x_62; -} -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_61); -return x_64; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_30, 0, x_23); +lean_ctor_set(x_30, 1, x_24); +lean_ctor_set(x_30, 2, x_28); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_dec(x_56); -lean_dec(x_55); -x_65 = lean_ctor_get(x_59, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_59, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_67 = x_59; -} else { - lean_dec_ref(x_59); - x_67 = lean_box(0); -} -if (lean_is_scalar(x_67)) { - x_68 = lean_alloc_ctor(1, 2, 0); -} else { - x_68 = x_67; -} -lean_ctor_set(x_68, 0, x_65); -lean_ctor_set(x_68, 1, x_66); -return x_68; -} +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_24); +lean_dec(x_23); +x_32 = lean_ctor_get(x_27, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_27, 1); +lean_inc(x_33); +lean_dec(x_27); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } case 2: { -uint8_t x_69; -x_69 = !lean_is_exclusive(x_2); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_70 = lean_ctor_get(x_2, 0); -x_71 = lean_ctor_get(x_2, 1); -x_72 = lean_ctor_get(x_2, 2); -x_73 = lean_ctor_get(x_2, 3); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -x_74 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_1, x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_74) == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_1, x_73, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_76); -if (lean_obj_tag(x_77) == 0) -{ -uint8_t x_78; -x_78 = !lean_is_exclusive(x_77); -if (x_78 == 0) -{ -lean_object* x_79; -x_79 = lean_ctor_get(x_77, 0); -lean_ctor_set(x_2, 3, x_79); -lean_ctor_set(x_2, 2, x_75); -lean_ctor_set(x_77, 0, x_2); -return x_77; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_77, 0); -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_77); -lean_ctor_set(x_2, 3, x_80); -lean_ctor_set(x_2, 2, x_75); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_2); -lean_ctor_set(x_82, 1, x_81); -return x_82; -} -} -else -{ -uint8_t x_83; -lean_dec(x_75); -lean_free_object(x_2); -lean_dec(x_71); -lean_dec(x_70); -x_83 = !lean_is_exclusive(x_77); -if (x_83 == 0) -{ -return x_77; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_77, 0); -x_85 = lean_ctor_get(x_77, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_77); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; -} -} -} -else -{ -uint8_t x_87; -lean_free_object(x_2); -lean_dec(x_73); -lean_dec(x_71); -lean_dec(x_70); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_87 = !lean_is_exclusive(x_74); -if (x_87 == 0) -{ -return x_74; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_74, 0); -x_89 = lean_ctor_get(x_74, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_74); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; -} -} -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_91 = lean_ctor_get(x_2, 0); -x_92 = lean_ctor_get(x_2, 1); -x_93 = lean_ctor_get(x_2, 2); -x_94 = lean_ctor_get(x_2, 3); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_2, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_2, 1); +lean_inc(x_36); +x_37 = lean_ctor_get(x_2, 2); +lean_inc(x_37); +x_38 = lean_ctor_get(x_2, 3); +lean_inc(x_38); lean_dec(x_2); lean_inc(x_9); lean_inc(x_8); @@ -12625,79 +9853,57 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_95 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_1, x_93, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_95) == 0) +x_39 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_1, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_98 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_1, x_94, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_97); -if (lean_obj_tag(x_98) == 0) +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_1, x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_41); +if (lean_obj_tag(x_42) == 0) { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_101 = x_98; -} else { - lean_dec_ref(x_98); - x_101 = lean_box(0); -} -x_102 = lean_alloc_ctor(2, 4, 0); -lean_ctor_set(x_102, 0, x_91); -lean_ctor_set(x_102, 1, x_92); -lean_ctor_set(x_102, 2, x_96); -lean_ctor_set(x_102, 3, x_99); -if (lean_is_scalar(x_101)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_101; -} -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_100); -return x_103; +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_alloc_ctor(2, 4, 0); +lean_ctor_set(x_45, 0, x_35); +lean_ctor_set(x_45, 1, x_36); +lean_ctor_set(x_45, 2, x_40); +lean_ctor_set(x_45, 3, 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_44); +return x_46; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -lean_dec(x_96); -lean_dec(x_92); -lean_dec(x_91); -x_104 = lean_ctor_get(x_98, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_98, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_106 = x_98; -} else { - lean_dec_ref(x_98); - x_106 = lean_box(0); -} -if (lean_is_scalar(x_106)) { - x_107 = lean_alloc_ctor(1, 2, 0); -} else { - x_107 = x_106; -} -lean_ctor_set(x_107, 0, x_104); -lean_ctor_set(x_107, 1, x_105); -return x_107; +lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_40); +lean_dec(x_36); +lean_dec(x_35); +x_47 = lean_ctor_get(x_42, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_42, 1); +lean_inc(x_48); +lean_dec(x_42); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; } } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -lean_dec(x_94); -lean_dec(x_92); -lean_dec(x_91); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_38); +lean_dec(x_36); +lean_dec(x_35); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12706,196 +9912,82 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_108 = lean_ctor_get(x_95, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_95, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_110 = x_95; -} else { - lean_dec_ref(x_95); - x_110 = lean_box(0); -} -if (lean_is_scalar(x_110)) { - x_111 = lean_alloc_ctor(1, 2, 0); -} else { - x_111 = x_110; -} -lean_ctor_set(x_111, 0, x_108); -lean_ctor_set(x_111, 1, x_109); -return x_111; -} +x_50 = lean_ctor_get(x_39, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_39, 1); +lean_inc(x_51); +lean_dec(x_39); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } case 3: { -uint8_t x_112; -x_112 = !lean_is_exclusive(x_2); -if (x_112 == 0) -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_2, 0); -x_114 = lean_ctor_get(x_2, 1); -x_115 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_1, x_114, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_115) == 0) -{ -uint8_t x_116; -x_116 = !lean_is_exclusive(x_115); -if (x_116 == 0) -{ -lean_object* x_117; -x_117 = lean_ctor_get(x_115, 0); -lean_ctor_set(x_2, 1, x_117); -lean_ctor_set(x_115, 0, x_2); -return x_115; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_115, 0); -x_119 = lean_ctor_get(x_115, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_115); -lean_ctor_set(x_2, 1, x_118); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_2); -lean_ctor_set(x_120, 1, x_119); -return x_120; -} -} -else -{ -uint8_t x_121; -lean_free_object(x_2); -lean_dec(x_113); -x_121 = !lean_is_exclusive(x_115); -if (x_121 == 0) -{ -return x_115; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_115, 0); -x_123 = lean_ctor_get(x_115, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_115); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -return x_124; -} -} -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_2, 0); -x_126 = lean_ctor_get(x_2, 1); -lean_inc(x_126); -lean_inc(x_125); +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_2, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_2, 1); +lean_inc(x_54); lean_dec(x_2); -x_127 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_1, x_126, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_127) == 0) +x_55 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_1, x_54, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_55) == 0) { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_130 = x_127; -} else { - lean_dec_ref(x_127); - x_130 = lean_box(0); -} -x_131 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_131, 0, x_125); -lean_ctor_set(x_131, 1, x_128); -if (lean_is_scalar(x_130)) { - x_132 = lean_alloc_ctor(0, 2, 0); -} else { - x_132 = x_130; -} -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_129); -return x_132; +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(3, 2, 0); +lean_ctor_set(x_58, 0, x_53); +lean_ctor_set(x_58, 1, x_56); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +return x_59; } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -lean_dec(x_125); -x_133 = lean_ctor_get(x_127, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_127, 1); -lean_inc(x_134); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_135 = x_127; -} else { - lean_dec_ref(x_127); - x_135 = lean_box(0); -} -if (lean_is_scalar(x_135)) { - x_136 = lean_alloc_ctor(1, 2, 0); -} else { - x_136 = x_135; -} -lean_ctor_set(x_136, 0, x_133); -lean_ctor_set(x_136, 1, x_134); -return x_136; -} +lean_object* x_60; lean_object* x_61; lean_object* x_62; +lean_dec(x_53); +x_60 = lean_ctor_get(x_55, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_55, 1); +lean_inc(x_61); +lean_dec(x_55); +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; } } case 4: { -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_2, 0); -lean_inc(x_137); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_2, 0); +lean_inc(x_63); lean_dec(x_2); -lean_inc(x_137); -x_138 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__2___boxed), 11, 2); -lean_closure_set(x_138, 0, x_137); -lean_closure_set(x_138, 1, x_1); -x_139 = l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__1(x_137, x_138, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_139; +lean_inc(x_63); +x_64 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__2___boxed), 11, 2); +lean_closure_set(x_64, 0, x_63); +lean_closure_set(x_64, 1, x_1); +x_65 = l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__1(x_63, x_64, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_8); +lean_dec(x_4); +return x_65; } case 5: { -uint8_t x_140; -x_140 = !lean_is_exclusive(x_2); -if (x_140 == 0) -{ -lean_object* x_141; lean_object* x_142; -x_141 = lean_ctor_get(x_2, 0); -lean_inc(x_141); -x_142 = l_Lean_Elab_Term_Do_mkSimpleJmp(x_141, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_142; -} -else -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_143 = lean_ctor_get(x_2, 0); -lean_inc(x_143); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_2, 0); +lean_inc(x_66); lean_dec(x_2); -lean_inc(x_143); -x_144 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_144, 0, x_143); -x_145 = l_Lean_Elab_Term_Do_mkSimpleJmp(x_143, x_1, x_144, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_inc(x_66); +x_67 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_67, 0, x_66); +x_68 = l_Lean_Elab_Term_Do_mkSimpleJmp(x_66, x_1, x_67, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12903,38 +9995,18 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_145; -} +return x_68; } case 6: { -uint8_t x_146; -x_146 = !lean_is_exclusive(x_2); -if (x_146 == 0) -{ -lean_object* x_147; lean_object* x_148; -x_147 = lean_ctor_get(x_2, 0); -lean_inc(x_147); -x_148 = l_Lean_Elab_Term_Do_mkSimpleJmp(x_147, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_148; -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_149 = lean_ctor_get(x_2, 0); -lean_inc(x_149); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_2, 0); +lean_inc(x_69); lean_dec(x_2); -lean_inc(x_149); -x_150 = lean_alloc_ctor(6, 1, 0); -lean_ctor_set(x_150, 0, x_149); -x_151 = l_Lean_Elab_Term_Do_mkSimpleJmp(x_149, x_1, x_150, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_inc(x_69); +x_70 = lean_alloc_ctor(6, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_Elab_Term_Do_mkSimpleJmp(x_69, x_1, x_70, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12942,175 +10014,46 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_151; -} +return x_71; } case 7: { -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_152 = lean_ctor_get(x_2, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_2, 1); -lean_inc(x_153); +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_2, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_2, 1); +lean_inc(x_73); lean_dec(x_2); -lean_inc(x_152); -x_154 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__3___boxed), 4, 1); -lean_closure_set(x_154, 0, x_152); -x_155 = l_Lean_Elab_Term_Do_mkJmp(x_152, x_1, x_153, x_154, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_inc(x_72); +x_74 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__3___boxed), 4, 1); +lean_closure_set(x_74, 0, x_72); +x_75 = l_Lean_Elab_Term_Do_mkJmp(x_72, x_1, x_73, x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_155; +return x_75; } case 8: { -uint8_t x_156; -x_156 = !lean_is_exclusive(x_2); -if (x_156 == 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; -x_157 = lean_ctor_get(x_2, 0); -x_158 = lean_ctor_get(x_2, 1); -x_159 = lean_ctor_get(x_2, 2); -x_160 = lean_ctor_get(x_2, 3); -x_161 = lean_ctor_get(x_2, 4); -x_162 = lean_ctor_get(x_2, 5); -lean_inc(x_158); -x_163 = l_Lean_Elab_Term_Do_eraseOptVar(x_1, x_158); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_163); -x_164 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_163, x_161, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_164) == 0) -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); -lean_dec(x_164); -x_167 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_163, x_162, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_166); -if (lean_obj_tag(x_167) == 0) -{ -uint8_t x_168; -x_168 = !lean_is_exclusive(x_167); -if (x_168 == 0) -{ -lean_object* x_169; -x_169 = lean_ctor_get(x_167, 0); -lean_ctor_set(x_2, 5, x_169); -lean_ctor_set(x_2, 4, x_165); -lean_ctor_set(x_167, 0, x_2); -return x_167; -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_170 = lean_ctor_get(x_167, 0); -x_171 = lean_ctor_get(x_167, 1); -lean_inc(x_171); -lean_inc(x_170); -lean_dec(x_167); -lean_ctor_set(x_2, 5, x_170); -lean_ctor_set(x_2, 4, x_165); -x_172 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_172, 0, x_2); -lean_ctor_set(x_172, 1, x_171); -return x_172; -} -} -else -{ -uint8_t x_173; -lean_dec(x_165); -lean_free_object(x_2); -lean_dec(x_160); -lean_dec(x_159); -lean_dec(x_158); -lean_dec(x_157); -x_173 = !lean_is_exclusive(x_167); -if (x_173 == 0) -{ -return x_167; -} -else -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_174 = lean_ctor_get(x_167, 0); -x_175 = lean_ctor_get(x_167, 1); -lean_inc(x_175); -lean_inc(x_174); -lean_dec(x_167); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_174); -lean_ctor_set(x_176, 1, x_175); -return x_176; -} -} -} -else -{ -uint8_t x_177; -lean_dec(x_163); -lean_free_object(x_2); -lean_dec(x_162); -lean_dec(x_160); -lean_dec(x_159); -lean_dec(x_158); -lean_dec(x_157); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_177 = !lean_is_exclusive(x_164); -if (x_177 == 0) -{ -return x_164; -} -else -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_178 = lean_ctor_get(x_164, 0); -x_179 = lean_ctor_get(x_164, 1); -lean_inc(x_179); -lean_inc(x_178); -lean_dec(x_164); -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_178); -lean_ctor_set(x_180, 1, x_179); -return x_180; -} -} -} -else -{ -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; -x_181 = lean_ctor_get(x_2, 0); -x_182 = lean_ctor_get(x_2, 1); -x_183 = lean_ctor_get(x_2, 2); -x_184 = lean_ctor_get(x_2, 3); -x_185 = lean_ctor_get(x_2, 4); -x_186 = lean_ctor_get(x_2, 5); -lean_inc(x_186); -lean_inc(x_185); -lean_inc(x_184); -lean_inc(x_183); -lean_inc(x_182); -lean_inc(x_181); +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; +x_76 = lean_ctor_get(x_2, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_2, 1); +lean_inc(x_77); +x_78 = lean_ctor_get(x_2, 2); +lean_inc(x_78); +x_79 = lean_ctor_get(x_2, 3); +lean_inc(x_79); +x_80 = lean_ctor_get(x_2, 4); +lean_inc(x_80); +x_81 = lean_ctor_get(x_2, 5); +lean_inc(x_81); lean_dec(x_2); -lean_inc(x_182); -x_187 = l_Lean_Elab_Term_Do_eraseOptVar(x_1, x_182); +lean_inc(x_77); +x_82 = l_Lean_Elab_Term_Do_eraseOptVar(x_1, x_77); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -13118,87 +10061,65 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_187); -x_188 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_187, x_185, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_188) == 0) +lean_inc(x_82); +x_83 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_82, x_80, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_83) == 0) { -lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_189 = lean_ctor_get(x_188, 0); -lean_inc(x_189); -x_190 = lean_ctor_get(x_188, 1); -lean_inc(x_190); -lean_dec(x_188); -x_191 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_187, x_186, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_190); -if (lean_obj_tag(x_191) == 0) +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_86 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_82, x_81, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_85); +if (lean_obj_tag(x_86) == 0) { -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_192 = lean_ctor_get(x_191, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_191, 1); -lean_inc(x_193); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - x_194 = x_191; -} else { - lean_dec_ref(x_191); - x_194 = lean_box(0); -} -x_195 = lean_alloc_ctor(8, 6, 0); -lean_ctor_set(x_195, 0, x_181); -lean_ctor_set(x_195, 1, x_182); -lean_ctor_set(x_195, 2, x_183); -lean_ctor_set(x_195, 3, x_184); -lean_ctor_set(x_195, 4, x_189); -lean_ctor_set(x_195, 5, x_192); -if (lean_is_scalar(x_194)) { - x_196 = lean_alloc_ctor(0, 2, 0); -} else { - x_196 = x_194; -} -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_193); -return x_196; +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_alloc_ctor(8, 6, 0); +lean_ctor_set(x_89, 0, x_76); +lean_ctor_set(x_89, 1, x_77); +lean_ctor_set(x_89, 2, x_78); +lean_ctor_set(x_89, 3, x_79); +lean_ctor_set(x_89, 4, x_84); +lean_ctor_set(x_89, 5, x_87); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +return x_90; } else { -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; -lean_dec(x_189); -lean_dec(x_184); -lean_dec(x_183); -lean_dec(x_182); -lean_dec(x_181); -x_197 = lean_ctor_get(x_191, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_191, 1); -lean_inc(x_198); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - x_199 = x_191; -} else { - lean_dec_ref(x_191); - x_199 = lean_box(0); -} -if (lean_is_scalar(x_199)) { - x_200 = lean_alloc_ctor(1, 2, 0); -} else { - x_200 = x_199; -} -lean_ctor_set(x_200, 0, x_197); -lean_ctor_set(x_200, 1, x_198); -return x_200; +lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_84); +lean_dec(x_79); +lean_dec(x_78); +lean_dec(x_77); +lean_dec(x_76); +x_91 = lean_ctor_get(x_86, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_86, 1); +lean_inc(x_92); +lean_dec(x_86); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } else { -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -lean_dec(x_187); -lean_dec(x_186); -lean_dec(x_184); -lean_dec(x_183); -lean_dec(x_182); -lean_dec(x_181); +lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_dec(x_82); +lean_dec(x_81); +lean_dec(x_79); +lean_dec(x_78); +lean_dec(x_77); +lean_dec(x_76); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -13206,199 +10127,84 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_201 = lean_ctor_get(x_188, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_188, 1); -lean_inc(x_202); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_203 = x_188; -} else { - lean_dec_ref(x_188); - x_203 = lean_box(0); -} -if (lean_is_scalar(x_203)) { - x_204 = lean_alloc_ctor(1, 2, 0); -} else { - x_204 = x_203; -} -lean_ctor_set(x_204, 0, x_201); -lean_ctor_set(x_204, 1, x_202); -return x_204; -} +x_94 = lean_ctor_get(x_83, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_83, 1); +lean_inc(x_95); +lean_dec(x_83); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +return x_96; } } case 9: { -uint8_t x_205; -x_205 = !lean_is_exclusive(x_2); -if (x_205 == 0) -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; size_t 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; -x_206 = lean_ctor_get(x_2, 0); -x_207 = lean_ctor_get(x_2, 1); -x_208 = lean_ctor_get(x_2, 2); -x_209 = lean_ctor_get(x_2, 3); -x_210 = lean_ctor_get(x_2, 4); -x_211 = lean_array_get_size(x_210); -x_212 = lean_usize_of_nat(x_211); -lean_dec(x_211); -x_213 = x_210; -x_214 = lean_box_usize(x_212); -x_215 = l_Lean_Elab_Term_Do_pullExitPointsAux___boxed__const__1; -x_216 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__3___boxed), 12, 4); -lean_closure_set(x_216, 0, x_1); -lean_closure_set(x_216, 1, x_214); -lean_closure_set(x_216, 2, x_215); -lean_closure_set(x_216, 3, x_213); -x_217 = x_216; -x_218 = lean_apply_8(x_217, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_218) == 0) -{ -uint8_t x_219; -x_219 = !lean_is_exclusive(x_218); -if (x_219 == 0) -{ -lean_object* x_220; -x_220 = lean_ctor_get(x_218, 0); -lean_ctor_set(x_2, 4, x_220); -lean_ctor_set(x_218, 0, x_2); -return x_218; -} -else -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_221 = lean_ctor_get(x_218, 0); -x_222 = lean_ctor_get(x_218, 1); -lean_inc(x_222); -lean_inc(x_221); -lean_dec(x_218); -lean_ctor_set(x_2, 4, x_221); -x_223 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_223, 0, x_2); -lean_ctor_set(x_223, 1, x_222); -return x_223; -} -} -else -{ -uint8_t x_224; -lean_free_object(x_2); -lean_dec(x_209); -lean_dec(x_208); -lean_dec(x_207); -lean_dec(x_206); -x_224 = !lean_is_exclusive(x_218); -if (x_224 == 0) -{ -return x_218; -} -else -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get(x_218, 0); -x_226 = lean_ctor_get(x_218, 1); -lean_inc(x_226); -lean_inc(x_225); -lean_dec(x_218); -x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_225); -lean_ctor_set(x_227, 1, x_226); -return x_227; -} -} -} -else -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; size_t 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; -x_228 = lean_ctor_get(x_2, 0); -x_229 = lean_ctor_get(x_2, 1); -x_230 = lean_ctor_get(x_2, 2); -x_231 = lean_ctor_get(x_2, 3); -x_232 = lean_ctor_get(x_2, 4); -lean_inc(x_232); -lean_inc(x_231); -lean_inc(x_230); -lean_inc(x_229); -lean_inc(x_228); +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; size_t 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; +x_97 = lean_ctor_get(x_2, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_2, 1); +lean_inc(x_98); +x_99 = lean_ctor_get(x_2, 2); +lean_inc(x_99); +x_100 = lean_ctor_get(x_2, 3); +lean_inc(x_100); +x_101 = lean_ctor_get(x_2, 4); +lean_inc(x_101); lean_dec(x_2); -x_233 = lean_array_get_size(x_232); -x_234 = lean_usize_of_nat(x_233); -lean_dec(x_233); -x_235 = x_232; -x_236 = lean_box_usize(x_234); -x_237 = l_Lean_Elab_Term_Do_pullExitPointsAux___boxed__const__1; -x_238 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__3___boxed), 12, 4); -lean_closure_set(x_238, 0, x_1); -lean_closure_set(x_238, 1, x_236); -lean_closure_set(x_238, 2, x_237); -lean_closure_set(x_238, 3, x_235); -x_239 = x_238; -x_240 = lean_apply_8(x_239, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_240) == 0) +x_102 = lean_array_get_size(x_101); +x_103 = lean_usize_of_nat(x_102); +lean_dec(x_102); +x_104 = x_101; +x_105 = lean_box_usize(x_103); +x_106 = l_Lean_Elab_Term_Do_pullExitPointsAux___boxed__const__1; +x_107 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__3___boxed), 12, 4); +lean_closure_set(x_107, 0, x_1); +lean_closure_set(x_107, 1, x_105); +lean_closure_set(x_107, 2, x_106); +lean_closure_set(x_107, 3, x_104); +x_108 = x_107; +x_109 = lean_apply_8(x_108, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_109) == 0) { -lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -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; -} else { - lean_dec_ref(x_240); - x_243 = lean_box(0); -} -x_244 = lean_alloc_ctor(9, 5, 0); -lean_ctor_set(x_244, 0, x_228); -lean_ctor_set(x_244, 1, x_229); -lean_ctor_set(x_244, 2, x_230); -lean_ctor_set(x_244, 3, x_231); -lean_ctor_set(x_244, 4, x_241); -if (lean_is_scalar(x_243)) { - x_245 = lean_alloc_ctor(0, 2, 0); -} else { - x_245 = x_243; -} -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_242); -return x_245; +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = lean_alloc_ctor(9, 5, 0); +lean_ctor_set(x_112, 0, x_97); +lean_ctor_set(x_112, 1, x_98); +lean_ctor_set(x_112, 2, x_99); +lean_ctor_set(x_112, 3, x_100); +lean_ctor_set(x_112, 4, x_110); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_111); +return x_113; } else { -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -lean_dec(x_231); -lean_dec(x_230); -lean_dec(x_229); -lean_dec(x_228); -x_246 = lean_ctor_get(x_240, 0); -lean_inc(x_246); -x_247 = lean_ctor_get(x_240, 1); -lean_inc(x_247); -if (lean_is_exclusive(x_240)) { - lean_ctor_release(x_240, 0); - lean_ctor_release(x_240, 1); - x_248 = x_240; -} else { - lean_dec_ref(x_240); - x_248 = lean_box(0); -} -if (lean_is_scalar(x_248)) { - x_249 = lean_alloc_ctor(1, 2, 0); -} else { - x_249 = x_248; -} -lean_ctor_set(x_249, 0, x_246); -lean_ctor_set(x_249, 1, x_247); -return x_249; -} +lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_100); +lean_dec(x_99); +lean_dec(x_98); +lean_dec(x_97); +x_114 = lean_ctor_get(x_109, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_109, 1); +lean_inc(x_115); +lean_dec(x_109); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +return x_116; } } default: { -lean_object* x_250; +lean_object* x_117; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -13407,10 +10213,10 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_250 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_250, 0, x_2); -lean_ctor_set(x_250, 1, x_10); -return x_250; +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_2); +lean_ctor_set(x_117, 1, x_10); +return x_117; } } } @@ -13438,6 +10244,16 @@ lean_dec(x_1); return x_6; } } +lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Term_Do_mkAuxDeclFor___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_8); +lean_dec(x_4); +return x_11; +} +} lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -13533,7 +10349,7 @@ lean_inc(x_15); x_18 = l_Lean_Elab_Term_Do_pullExitPointsAux(x_17, x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_16); if (lean_obj_tag(x_18) == 0) { -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_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_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -13546,55 +10362,32 @@ lean_inc(x_22); lean_dec(x_21); x_23 = lean_st_ref_get(x_15, x_22); lean_dec(x_15); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -x_26 = l_Lean_Elab_Term_Do_attachJPs(x_25, x_19); -lean_dec(x_25); -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_inc(x_27); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); lean_dec(x_23); -x_29 = l_Lean_Elab_Term_Do_attachJPs(x_27, x_19); -lean_dec(x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} +x_26 = l_Lean_Elab_Term_Do_attachJPs(x_24, x_19); +lean_dec(x_24); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } else { -uint8_t x_31; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec(x_15); lean_dec(x_7); -x_31 = !lean_is_exclusive(x_18); -if (x_31 == 0) -{ -return x_18; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_18, 0); -x_33 = lean_ctor_get(x_18, 1); -lean_inc(x_33); -lean_inc(x_32); +x_28 = lean_ctor_get(x_18, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_18, 1); +lean_inc(x_29); lean_dec(x_18); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } @@ -13836,91 +10629,19 @@ return x_14; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +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; x_15 = lean_array_uget(x_4, x_3); x_16 = lean_unsigned_to_nat(0u); x_17 = lean_array_uset(x_4, x_3, x_16); x_18 = x_15; -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; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); -x_22 = lean_ctor_get(x_18, 2); -x_23 = lean_ctor_get(x_18, 3); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_1); -x_24 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; -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); -lean_ctor_set(x_18, 3, x_25); -x_27 = 1; -x_28 = x_3 + x_27; -x_29 = x_18; -x_30 = lean_array_uset(x_17, x_3, x_29); -x_3 = x_28; -x_4 = x_30; -x_11 = x_26; -goto _start; -} -else -{ -uint8_t x_32; -lean_free_object(x_18); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_17); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_32 = !lean_is_exclusive(x_24); -if (x_32 == 0) -{ -return x_24; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_24, 0); -x_34 = lean_ctor_get(x_24, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_24); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_36 = lean_ctor_get(x_18, 0); -x_37 = lean_ctor_get(x_18, 1); -x_38 = lean_ctor_get(x_18, 2); -x_39 = lean_ctor_get(x_18, 3); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 2); +lean_inc(x_21); +x_22 = lean_ctor_get(x_18, 3); +lean_inc(x_22); lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); @@ -13929,35 +10650,35 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); -x_40 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_40) == 0) +x_23 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; lean_object* x_46; lean_object* x_47; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_43, 0, x_36); -lean_ctor_set(x_43, 1, x_37); -lean_ctor_set(x_43, 2, x_38); -lean_ctor_set(x_43, 3, x_41); -x_44 = 1; -x_45 = x_3 + x_44; -x_46 = x_43; -x_47 = lean_array_uset(x_17, x_3, x_46); -x_3 = x_45; -x_4 = x_47; -x_11 = x_42; +lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_26, 0, x_19); +lean_ctor_set(x_26, 1, x_20); +lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_24); +x_27 = 1; +x_28 = x_3 + x_27; +x_29 = x_26; +x_30 = lean_array_uset(x_17, x_3, x_29); +x_3 = x_28; +x_4 = x_30; +x_11 = x_25; goto _start; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_38); -lean_dec(x_37); -lean_dec(x_36); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_17); lean_dec(x_10); lean_dec(x_9); @@ -13966,27 +10687,15 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_49 = lean_ctor_get(x_40, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_40, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_51 = x_40; -} else { - lean_dec_ref(x_40); - x_51 = lean_box(0); -} -if (lean_is_scalar(x_51)) { - x_52 = lean_alloc_ctor(1, 2, 0); -} else { - x_52 = x_51; -} -lean_ctor_set(x_52, 0, x_49); -lean_ctor_set(x_52, 1, x_50); -return x_52; -} +x_32 = lean_ctor_get(x_23, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_23, 1); +lean_inc(x_33); +lean_dec(x_23); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } } @@ -14124,674 +10833,199 @@ x_14 = lean_unsigned_to_nat(0u); x_15 = lean_nat_dec_lt(x_14, x_13); if (x_15 == 0) { -uint8_t x_16; +lean_object* x_16; lean_dec(x_13); -x_16 = !lean_is_exclusive(x_2); -if (x_16 == 0) +lean_dec(x_2); +x_16 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_16) == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_2, 2); -lean_dec(x_17); -x_18 = lean_ctor_get(x_2, 1); -lean_dec(x_18); -x_19 = lean_ctor_get(x_2, 0); -lean_dec(x_19); -x_20 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_20, 0); -lean_ctor_set(x_2, 2, x_22); -lean_ctor_set(x_20, 0, x_2); +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); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_10); +lean_ctor_set(x_19, 1, x_11); +lean_ctor_set(x_19, 2, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); return x_20; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_20, 0); -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_20); -lean_ctor_set(x_2, 2, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_2); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -else -{ -uint8_t x_26; -lean_free_object(x_2); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_11); lean_dec(x_10); -x_26 = !lean_is_exclusive(x_20); -if (x_26 == 0) -{ -return x_20; +x_21 = lean_ctor_get(x_16, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_dec(x_16); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); +uint8_t x_24; +x_24 = lean_nat_dec_le(x_13, x_13); +if (x_24 == 0) +{ +lean_object* x_25; +lean_dec(x_13); +lean_dec(x_2); +x_25 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); +lean_dec(x_25); +x_28 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_28, 0, x_10); +lean_ctor_set(x_28, 1, x_11); +lean_ctor_set(x_28, 2, x_26); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); return x_29; } -} -} else { -lean_object* x_30; -lean_dec(x_2); -x_30 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_31 = lean_ctor_get(x_30, 0); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_11); +lean_dec(x_10); +x_30 = lean_ctor_get(x_25, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_25, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_33 = x_30; -} else { - lean_dec_ref(x_30); - x_33 = lean_box(0); +lean_dec(x_25); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } -x_34 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_34, 0, x_10); -lean_ctor_set(x_34, 1, x_11); -lean_ctor_set(x_34, 2, x_31); -if (lean_is_scalar(x_33)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_33; -} -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_11); -lean_dec(x_10); -x_36 = lean_ctor_get(x_30, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_30, 1); +size_t x_33; size_t x_34; uint8_t x_35; +x_33 = 0; +x_34 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_35 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__1(x_1, x_10, x_33, x_34); +if (x_35 == 0) +{ +lean_object* x_36; +lean_dec(x_2); +x_36 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_38 = x_30; -} else { - lean_dec_ref(x_30); - x_38 = lean_box(0); -} -if (lean_is_scalar(x_38)) { - x_39 = lean_alloc_ctor(1, 2, 0); -} else { - x_39 = x_38; -} -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_37); -return x_39; -} -} +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_10); +lean_ctor_set(x_39, 1, x_11); +lean_ctor_set(x_39, 2, x_37); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +return x_40; } else { -uint8_t x_40; -x_40 = lean_nat_dec_le(x_13, x_13); -if (x_40 == 0) -{ -uint8_t x_41; -lean_dec(x_13); -x_41 = !lean_is_exclusive(x_2); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_42 = lean_ctor_get(x_2, 2); -lean_dec(x_42); -x_43 = lean_ctor_get(x_2, 1); -lean_dec(x_43); -x_44 = lean_ctor_get(x_2, 0); -lean_dec(x_44); -x_45 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_45) == 0) -{ -uint8_t x_46; -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; -x_47 = lean_ctor_get(x_45, 0); -lean_ctor_set(x_2, 2, x_47); -lean_ctor_set(x_45, 0, x_2); -return x_45; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_45, 0); -x_49 = lean_ctor_get(x_45, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_45); -lean_ctor_set(x_2, 2, x_48); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_2); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -else -{ -uint8_t x_51; -lean_free_object(x_2); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_dec(x_11); lean_dec(x_10); -x_51 = !lean_is_exclusive(x_45); -if (x_51 == 0) -{ -return x_45; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_45, 0); -x_53 = lean_ctor_get(x_45, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_45); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -} -else -{ -lean_object* x_55; -lean_dec(x_2); -x_55 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_58 = x_55; -} else { - lean_dec_ref(x_55); - x_58 = lean_box(0); -} -x_59 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_59, 0, x_10); -lean_ctor_set(x_59, 1, x_11); -lean_ctor_set(x_59, 2, x_56); -if (lean_is_scalar(x_58)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_58; -} -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_57); -return x_60; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -lean_dec(x_11); -lean_dec(x_10); -x_61 = lean_ctor_get(x_55, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_55, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_63 = x_55; -} else { - lean_dec_ref(x_55); - x_63 = lean_box(0); -} -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(1, 2, 0); -} else { - x_64 = x_63; -} -lean_ctor_set(x_64, 0, x_61); -lean_ctor_set(x_64, 1, x_62); -return x_64; -} -} -} -else -{ -size_t x_65; size_t x_66; uint8_t x_67; -x_65 = 0; -x_66 = lean_usize_of_nat(x_13); -lean_dec(x_13); -x_67 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__1(x_1, x_10, x_65, x_66); -if (x_67 == 0) -{ -uint8_t x_68; -x_68 = !lean_is_exclusive(x_2); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = lean_ctor_get(x_2, 2); -lean_dec(x_69); -x_70 = lean_ctor_get(x_2, 1); -lean_dec(x_70); -x_71 = lean_ctor_get(x_2, 0); -lean_dec(x_71); -x_72 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_72) == 0) -{ -uint8_t x_73; -x_73 = !lean_is_exclusive(x_72); -if (x_73 == 0) -{ -lean_object* x_74; -x_74 = lean_ctor_get(x_72, 0); -lean_ctor_set(x_2, 2, x_74); -lean_ctor_set(x_72, 0, x_2); -return x_72; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_72, 0); -x_76 = lean_ctor_get(x_72, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_72); -lean_ctor_set(x_2, 2, x_75); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_2); -lean_ctor_set(x_77, 1, x_76); -return x_77; +x_41 = lean_ctor_get(x_36, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_dec(x_36); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } else { -uint8_t x_78; -lean_free_object(x_2); -lean_dec(x_11); -lean_dec(x_10); -x_78 = !lean_is_exclusive(x_72); -if (x_78 == 0) -{ -return x_72; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_72, 0); -x_80 = lean_ctor_get(x_72, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_72); -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_82; -lean_dec(x_2); -x_82 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_85 = x_82; -} else { - lean_dec_ref(x_82); - x_85 = lean_box(0); -} -x_86 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_86, 0, x_10); -lean_ctor_set(x_86, 1, x_11); -lean_ctor_set(x_86, 2, x_83); -if (lean_is_scalar(x_85)) { - x_87 = lean_alloc_ctor(0, 2, 0); -} else { - x_87 = x_85; -} -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_84); -return x_87; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_11); -lean_dec(x_10); -x_88 = lean_ctor_get(x_82, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_82, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_90 = x_82; -} else { - lean_dec_ref(x_82); - x_90 = lean_box(0); -} -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(1, 2, 0); -} else { - x_91 = x_90; -} -lean_ctor_set(x_91, 0, x_88); -lean_ctor_set(x_91, 1, x_89); -return x_91; -} -} -} -else -{ -lean_object* x_92; +lean_object* x_44; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_1); -x_92 = l_Lean_Elab_Term_Do_pullExitPoints(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_92; +x_44 = l_Lean_Elab_Term_Do_pullExitPoints(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_44; } } } } case 1: { -uint8_t x_93; -x_93 = !lean_is_exclusive(x_2); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_94 = lean_ctor_get(x_2, 0); -x_95 = lean_ctor_get(x_2, 1); -x_96 = lean_ctor_get(x_2, 2); -x_97 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_96, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_97) == 0) -{ -uint8_t x_98; -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) -{ -lean_object* x_99; -x_99 = lean_ctor_get(x_97, 0); -lean_ctor_set(x_2, 2, x_99); -lean_ctor_set(x_97, 0, x_2); -return x_97; -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_97, 0); -x_101 = lean_ctor_get(x_97, 1); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_97); -lean_ctor_set(x_2, 2, x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_2); -lean_ctor_set(x_102, 1, x_101); -return x_102; -} -} -else -{ -uint8_t x_103; -lean_free_object(x_2); -lean_dec(x_95); -lean_dec(x_94); -x_103 = !lean_is_exclusive(x_97); -if (x_103 == 0) -{ -return x_97; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_97, 0); -x_105 = lean_ctor_get(x_97, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_97); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; -} -} -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_2, 0); -x_108 = lean_ctor_get(x_2, 1); -x_109 = lean_ctor_get(x_2, 2); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_2, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_2, 1); +lean_inc(x_46); +x_47 = lean_ctor_get(x_2, 2); +lean_inc(x_47); lean_dec(x_2); -x_110 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_109, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_110) == 0) +x_48 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_113 = x_110; -} else { - lean_dec_ref(x_110); - x_113 = lean_box(0); -} -x_114 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_114, 0, x_107); -lean_ctor_set(x_114, 1, x_108); -lean_ctor_set(x_114, 2, x_111); -if (lean_is_scalar(x_113)) { - x_115 = lean_alloc_ctor(0, 2, 0); -} else { - x_115 = x_113; -} -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_112); -return x_115; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_51, 0, x_45); +lean_ctor_set(x_51, 1, x_46); +lean_ctor_set(x_51, 2, x_49); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +return x_52; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -lean_dec(x_108); -lean_dec(x_107); -x_116 = lean_ctor_get(x_110, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_110, 1); -lean_inc(x_117); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_118 = x_110; -} else { - lean_dec_ref(x_110); - x_118 = lean_box(0); -} -if (lean_is_scalar(x_118)) { - x_119 = lean_alloc_ctor(1, 2, 0); -} else { - x_119 = x_118; -} -lean_ctor_set(x_119, 0, x_116); -lean_ctor_set(x_119, 1, x_117); -return x_119; -} +lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_dec(x_46); +lean_dec(x_45); +x_53 = lean_ctor_get(x_48, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_48, 1); +lean_inc(x_54); +lean_dec(x_48); +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; } } case 2: { -uint8_t x_120; -x_120 = !lean_is_exclusive(x_2); -if (x_120 == 0) -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_121 = lean_ctor_get(x_2, 0); -x_122 = lean_ctor_get(x_2, 1); -x_123 = lean_ctor_get(x_2, 2); -x_124 = lean_ctor_get(x_2, 3); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -x_125 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_123, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_125) == 0) -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); -lean_inc(x_127); -lean_dec(x_125); -x_128 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_124, x_3, x_4, x_5, x_6, x_7, x_8, x_127); -if (lean_obj_tag(x_128) == 0) -{ -uint8_t x_129; -x_129 = !lean_is_exclusive(x_128); -if (x_129 == 0) -{ -lean_object* x_130; -x_130 = lean_ctor_get(x_128, 0); -lean_ctor_set(x_2, 3, x_130); -lean_ctor_set(x_2, 2, x_126); -lean_ctor_set(x_128, 0, x_2); -return x_128; -} -else -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_128, 0); -x_132 = lean_ctor_get(x_128, 1); -lean_inc(x_132); -lean_inc(x_131); -lean_dec(x_128); -lean_ctor_set(x_2, 3, x_131); -lean_ctor_set(x_2, 2, x_126); -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_2); -lean_ctor_set(x_133, 1, x_132); -return x_133; -} -} -else -{ -uint8_t x_134; -lean_dec(x_126); -lean_free_object(x_2); -lean_dec(x_122); -lean_dec(x_121); -x_134 = !lean_is_exclusive(x_128); -if (x_134 == 0) -{ -return x_128; -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_135 = lean_ctor_get(x_128, 0); -x_136 = lean_ctor_get(x_128, 1); -lean_inc(x_136); -lean_inc(x_135); -lean_dec(x_128); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); -return x_137; -} -} -} -else -{ -uint8_t x_138; -lean_free_object(x_2); -lean_dec(x_124); -lean_dec(x_122); -lean_dec(x_121); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_138 = !lean_is_exclusive(x_125); -if (x_138 == 0) -{ -return x_125; -} -else -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_125, 0); -x_140 = lean_ctor_get(x_125, 1); -lean_inc(x_140); -lean_inc(x_139); -lean_dec(x_125); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set(x_141, 1, x_140); -return x_141; -} -} -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_142 = lean_ctor_get(x_2, 0); -x_143 = lean_ctor_get(x_2, 1); -x_144 = lean_ctor_get(x_2, 2); -x_145 = lean_ctor_get(x_2, 3); -lean_inc(x_145); -lean_inc(x_144); -lean_inc(x_143); -lean_inc(x_142); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_56 = lean_ctor_get(x_2, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_2, 1); +lean_inc(x_57); +x_58 = lean_ctor_get(x_2, 2); +lean_inc(x_58); +x_59 = lean_ctor_get(x_2, 3); +lean_inc(x_59); lean_dec(x_2); lean_inc(x_8); lean_inc(x_7); @@ -14800,79 +11034,57 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_146 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_144, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_146) == 0) +x_60 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_58, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_60) == 0) { -lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_147 = lean_ctor_get(x_146, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_146, 1); -lean_inc(x_148); -lean_dec(x_146); -x_149 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_145, x_3, x_4, x_5, x_6, x_7, x_8, x_148); -if (lean_obj_tag(x_149) == 0) +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_59, x_3, x_4, x_5, x_6, x_7, x_8, x_62); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_150 = lean_ctor_get(x_149, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); -if (lean_is_exclusive(x_149)) { - lean_ctor_release(x_149, 0); - lean_ctor_release(x_149, 1); - x_152 = x_149; -} else { - lean_dec_ref(x_149); - x_152 = lean_box(0); -} -x_153 = lean_alloc_ctor(2, 4, 0); -lean_ctor_set(x_153, 0, x_142); -lean_ctor_set(x_153, 1, x_143); -lean_ctor_set(x_153, 2, x_147); -lean_ctor_set(x_153, 3, x_150); -if (lean_is_scalar(x_152)) { - x_154 = lean_alloc_ctor(0, 2, 0); -} else { - x_154 = x_152; -} -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_151); -return x_154; +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = lean_alloc_ctor(2, 4, 0); +lean_ctor_set(x_66, 0, x_56); +lean_ctor_set(x_66, 1, x_57); +lean_ctor_set(x_66, 2, x_61); +lean_ctor_set(x_66, 3, x_64); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +return x_67; } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -lean_dec(x_147); -lean_dec(x_143); -lean_dec(x_142); -x_155 = lean_ctor_get(x_149, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_149, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_149)) { - lean_ctor_release(x_149, 0); - lean_ctor_release(x_149, 1); - x_157 = x_149; -} else { - lean_dec_ref(x_149); - x_157 = lean_box(0); -} -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(1, 2, 0); -} else { - x_158 = x_157; -} -lean_ctor_set(x_158, 0, x_155); -lean_ctor_set(x_158, 1, x_156); -return x_158; +lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_61); +lean_dec(x_57); +lean_dec(x_56); +x_68 = lean_ctor_get(x_63, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_63, 1); +lean_inc(x_69); +lean_dec(x_63); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } else { -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -lean_dec(x_145); -lean_dec(x_143); -lean_dec(x_142); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_59); +lean_dec(x_57); +lean_dec(x_56); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -14880,299 +11092,75 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_159 = lean_ctor_get(x_146, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_146, 1); -lean_inc(x_160); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - x_161 = x_146; -} else { - lean_dec_ref(x_146); - x_161 = lean_box(0); -} -if (lean_is_scalar(x_161)) { - x_162 = lean_alloc_ctor(1, 2, 0); -} else { - x_162 = x_161; -} -lean_ctor_set(x_162, 0, x_159); -lean_ctor_set(x_162, 1, x_160); -return x_162; -} +x_71 = lean_ctor_get(x_60, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_60, 1); +lean_inc(x_72); +lean_dec(x_60); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; } } case 3: { -uint8_t x_163; -x_163 = !lean_is_exclusive(x_2); -if (x_163 == 0) -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_2, 0); -x_165 = lean_ctor_get(x_2, 1); -x_166 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_165, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_166) == 0) -{ -uint8_t x_167; -x_167 = !lean_is_exclusive(x_166); -if (x_167 == 0) -{ -lean_object* x_168; -x_168 = lean_ctor_get(x_166, 0); -lean_ctor_set(x_2, 1, x_168); -lean_ctor_set(x_166, 0, x_2); -return x_166; -} -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_166, 0); -x_170 = lean_ctor_get(x_166, 1); -lean_inc(x_170); -lean_inc(x_169); -lean_dec(x_166); -lean_ctor_set(x_2, 1, x_169); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_2); -lean_ctor_set(x_171, 1, x_170); -return x_171; -} -} -else -{ -uint8_t x_172; -lean_free_object(x_2); -lean_dec(x_164); -x_172 = !lean_is_exclusive(x_166); -if (x_172 == 0) -{ -return x_166; -} -else -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_173 = lean_ctor_get(x_166, 0); -x_174 = lean_ctor_get(x_166, 1); -lean_inc(x_174); -lean_inc(x_173); -lean_dec(x_166); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -return x_175; -} -} -} -else -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_176 = lean_ctor_get(x_2, 0); -x_177 = lean_ctor_get(x_2, 1); -lean_inc(x_177); -lean_inc(x_176); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_2, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_2, 1); +lean_inc(x_75); lean_dec(x_2); -x_178 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_177, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_178) == 0) +x_76 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_75, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_76) == 0) { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); -lean_inc(x_180); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_181 = x_178; -} else { - lean_dec_ref(x_178); - x_181 = lean_box(0); -} -x_182 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_182, 0, x_176); -lean_ctor_set(x_182, 1, x_179); -if (lean_is_scalar(x_181)) { - x_183 = lean_alloc_ctor(0, 2, 0); -} else { - x_183 = x_181; -} -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_180); -return x_183; +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_79, 0, x_74); +lean_ctor_set(x_79, 1, x_77); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +return x_80; } else { -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_176); -x_184 = lean_ctor_get(x_178, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_178, 1); -lean_inc(x_185); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_186 = x_178; -} else { - lean_dec_ref(x_178); - x_186 = lean_box(0); -} -if (lean_is_scalar(x_186)) { - x_187 = lean_alloc_ctor(1, 2, 0); -} else { - x_187 = x_186; -} -lean_ctor_set(x_187, 0, x_184); -lean_ctor_set(x_187, 1, x_185); -return x_187; -} +lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_dec(x_74); +x_81 = lean_ctor_get(x_76, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_76, 1); +lean_inc(x_82); +lean_dec(x_76); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } case 8: { -lean_object* x_188; -x_188 = lean_ctor_get(x_2, 1); -lean_inc(x_188); -if (lean_obj_tag(x_188) == 0) +lean_object* x_84; +x_84 = lean_ctor_get(x_2, 1); +lean_inc(x_84); +if (lean_obj_tag(x_84) == 0) { -uint8_t x_189; -x_189 = !lean_is_exclusive(x_2); -if (x_189 == 0) -{ -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; -x_190 = lean_ctor_get(x_2, 0); -x_191 = lean_ctor_get(x_2, 2); -x_192 = lean_ctor_get(x_2, 3); -x_193 = lean_ctor_get(x_2, 4); -x_194 = lean_ctor_get(x_2, 5); -x_195 = lean_ctor_get(x_2, 1); -lean_dec(x_195); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -x_196 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_193, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_196) == 0) -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_197 = lean_ctor_get(x_196, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_196, 1); -lean_inc(x_198); -lean_dec(x_196); -x_199 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_194, x_3, x_4, x_5, x_6, x_7, x_8, x_198); -if (lean_obj_tag(x_199) == 0) -{ -uint8_t x_200; -x_200 = !lean_is_exclusive(x_199); -if (x_200 == 0) -{ -lean_object* x_201; lean_object* x_202; -x_201 = lean_ctor_get(x_199, 0); -x_202 = lean_box(0); -lean_ctor_set(x_2, 5, x_201); -lean_ctor_set(x_2, 4, x_197); -lean_ctor_set(x_2, 1, x_202); -lean_ctor_set(x_199, 0, x_2); -return x_199; -} -else -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_203 = lean_ctor_get(x_199, 0); -x_204 = lean_ctor_get(x_199, 1); -lean_inc(x_204); -lean_inc(x_203); -lean_dec(x_199); -x_205 = lean_box(0); -lean_ctor_set(x_2, 5, x_203); -lean_ctor_set(x_2, 4, x_197); -lean_ctor_set(x_2, 1, x_205); -x_206 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_206, 0, x_2); -lean_ctor_set(x_206, 1, x_204); -return x_206; -} -} -else -{ -uint8_t x_207; -lean_dec(x_197); -lean_free_object(x_2); -lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_190); -x_207 = !lean_is_exclusive(x_199); -if (x_207 == 0) -{ -return x_199; -} -else -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; -x_208 = lean_ctor_get(x_199, 0); -x_209 = lean_ctor_get(x_199, 1); -lean_inc(x_209); -lean_inc(x_208); -lean_dec(x_199); -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_208); -lean_ctor_set(x_210, 1, x_209); -return x_210; -} -} -} -else -{ -uint8_t x_211; -lean_free_object(x_2); -lean_dec(x_194); -lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_190); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_211 = !lean_is_exclusive(x_196); -if (x_211 == 0) -{ -return x_196; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_212 = lean_ctor_get(x_196, 0); -x_213 = lean_ctor_get(x_196, 1); -lean_inc(x_213); -lean_inc(x_212); -lean_dec(x_196); -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_212); -lean_ctor_set(x_214, 1, x_213); -return x_214; -} -} -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_215 = lean_ctor_get(x_2, 0); -x_216 = lean_ctor_get(x_2, 2); -x_217 = lean_ctor_get(x_2, 3); -x_218 = lean_ctor_get(x_2, 4); -x_219 = lean_ctor_get(x_2, 5); -lean_inc(x_219); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); -lean_inc(x_215); +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_85 = lean_ctor_get(x_2, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_2, 2); +lean_inc(x_86); +x_87 = lean_ctor_get(x_2, 3); +lean_inc(x_87); +x_88 = lean_ctor_get(x_2, 4); +lean_inc(x_88); +x_89 = lean_ctor_get(x_2, 5); +lean_inc(x_89); lean_dec(x_2); lean_inc(x_8); lean_inc(x_7); @@ -15181,84 +11169,62 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_220 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_218, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_220) == 0) +x_90 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_90) == 0) { -lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); -lean_inc(x_222); -lean_dec(x_220); -x_223 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_219, x_3, x_4, x_5, x_6, x_7, x_8, x_222); -if (lean_obj_tag(x_223) == 0) +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_92); +if (lean_obj_tag(x_93) == 0) { -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_224 = lean_ctor_get(x_223, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_223, 1); -lean_inc(x_225); -if (lean_is_exclusive(x_223)) { - lean_ctor_release(x_223, 0); - lean_ctor_release(x_223, 1); - x_226 = x_223; -} else { - lean_dec_ref(x_223); - x_226 = lean_box(0); -} -x_227 = lean_box(0); -x_228 = lean_alloc_ctor(8, 6, 0); -lean_ctor_set(x_228, 0, x_215); -lean_ctor_set(x_228, 1, x_227); -lean_ctor_set(x_228, 2, x_216); -lean_ctor_set(x_228, 3, x_217); -lean_ctor_set(x_228, 4, x_221); -lean_ctor_set(x_228, 5, x_224); -if (lean_is_scalar(x_226)) { - x_229 = lean_alloc_ctor(0, 2, 0); -} else { - x_229 = x_226; -} -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_225); -return x_229; +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = lean_box(0); +x_97 = lean_alloc_ctor(8, 6, 0); +lean_ctor_set(x_97, 0, x_85); +lean_ctor_set(x_97, 1, x_96); +lean_ctor_set(x_97, 2, x_86); +lean_ctor_set(x_97, 3, x_87); +lean_ctor_set(x_97, 4, x_91); +lean_ctor_set(x_97, 5, x_94); +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_95); +return x_98; } else { -lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; -lean_dec(x_221); -lean_dec(x_217); -lean_dec(x_216); -lean_dec(x_215); -x_230 = lean_ctor_get(x_223, 0); -lean_inc(x_230); -x_231 = lean_ctor_get(x_223, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_223)) { - lean_ctor_release(x_223, 0); - lean_ctor_release(x_223, 1); - x_232 = x_223; -} else { - lean_dec_ref(x_223); - x_232 = lean_box(0); -} -if (lean_is_scalar(x_232)) { - x_233 = lean_alloc_ctor(1, 2, 0); -} else { - x_233 = x_232; -} -lean_ctor_set(x_233, 0, x_230); -lean_ctor_set(x_233, 1, x_231); -return x_233; +lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_91); +lean_dec(x_87); +lean_dec(x_86); +lean_dec(x_85); +x_99 = lean_ctor_get(x_93, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_93, 1); +lean_inc(x_100); +lean_dec(x_93); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; } } else { -lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; -lean_dec(x_219); -lean_dec(x_217); -lean_dec(x_216); -lean_dec(x_215); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec(x_89); +lean_dec(x_87); +lean_dec(x_86); +lean_dec(x_85); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -15266,183 +11232,37 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_234 = lean_ctor_get(x_220, 0); -lean_inc(x_234); -x_235 = lean_ctor_get(x_220, 1); -lean_inc(x_235); -if (lean_is_exclusive(x_220)) { - lean_ctor_release(x_220, 0); - lean_ctor_release(x_220, 1); - x_236 = x_220; -} else { - lean_dec_ref(x_220); - x_236 = lean_box(0); -} -if (lean_is_scalar(x_236)) { - x_237 = lean_alloc_ctor(1, 2, 0); -} else { - x_237 = x_236; -} -lean_ctor_set(x_237, 0, x_234); -lean_ctor_set(x_237, 1, x_235); -return x_237; -} -} -} -else -{ -lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; -x_238 = lean_ctor_get(x_2, 0); -lean_inc(x_238); -x_239 = lean_ctor_get(x_2, 2); -lean_inc(x_239); -x_240 = lean_ctor_get(x_2, 3); -lean_inc(x_240); -x_241 = lean_ctor_get(x_2, 4); -lean_inc(x_241); -x_242 = lean_ctor_get(x_2, 5); -lean_inc(x_242); -x_243 = !lean_is_exclusive(x_188); -if (x_243 == 0) -{ -lean_object* x_244; uint8_t x_245; -x_244 = lean_ctor_get(x_188, 0); -x_245 = l_Lean_NameSet_contains(x_1, x_244); -if (x_245 == 0) -{ -uint8_t x_246; -x_246 = !lean_is_exclusive(x_2); -if (x_246 == 0) -{ -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; -x_247 = lean_ctor_get(x_2, 5); -lean_dec(x_247); -x_248 = lean_ctor_get(x_2, 4); -lean_dec(x_248); -x_249 = lean_ctor_get(x_2, 3); -lean_dec(x_249); -x_250 = lean_ctor_get(x_2, 2); -lean_dec(x_250); -x_251 = lean_ctor_get(x_2, 1); -lean_dec(x_251); -x_252 = lean_ctor_get(x_2, 0); -lean_dec(x_252); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -x_253 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_241, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_253) == 0) -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_254 = lean_ctor_get(x_253, 0); -lean_inc(x_254); -x_255 = lean_ctor_get(x_253, 1); -lean_inc(x_255); -lean_dec(x_253); -x_256 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_242, x_3, x_4, x_5, x_6, x_7, x_8, x_255); -if (lean_obj_tag(x_256) == 0) -{ -uint8_t x_257; -x_257 = !lean_is_exclusive(x_256); -if (x_257 == 0) -{ -lean_object* x_258; -x_258 = lean_ctor_get(x_256, 0); -lean_ctor_set(x_2, 5, x_258); -lean_ctor_set(x_2, 4, x_254); -lean_ctor_set(x_256, 0, x_2); -return x_256; -} -else -{ -lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_259 = lean_ctor_get(x_256, 0); -x_260 = lean_ctor_get(x_256, 1); -lean_inc(x_260); -lean_inc(x_259); -lean_dec(x_256); -lean_ctor_set(x_2, 5, x_259); -lean_ctor_set(x_2, 4, x_254); -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_2); -lean_ctor_set(x_261, 1, x_260); -return x_261; +x_102 = lean_ctor_get(x_90, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_90, 1); +lean_inc(x_103); +lean_dec(x_90); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; } } else { -uint8_t x_262; -lean_dec(x_254); -lean_free_object(x_2); -lean_free_object(x_188); -lean_dec(x_244); -lean_dec(x_240); -lean_dec(x_239); -lean_dec(x_238); -x_262 = !lean_is_exclusive(x_256); -if (x_262 == 0) +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_105 = lean_ctor_get(x_2, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_2, 2); +lean_inc(x_106); +x_107 = lean_ctor_get(x_2, 3); +lean_inc(x_107); +x_108 = lean_ctor_get(x_2, 4); +lean_inc(x_108); +x_109 = lean_ctor_get(x_2, 5); +lean_inc(x_109); +x_110 = lean_ctor_get(x_84, 0); +lean_inc(x_110); +lean_dec(x_84); +x_111 = l_Lean_NameSet_contains(x_1, x_110); +if (x_111 == 0) { -return x_256; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_256, 0); -x_264 = lean_ctor_get(x_256, 1); -lean_inc(x_264); -lean_inc(x_263); -lean_dec(x_256); -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_263); -lean_ctor_set(x_265, 1, x_264); -return x_265; -} -} -} -else -{ -uint8_t x_266; -lean_free_object(x_2); -lean_free_object(x_188); -lean_dec(x_244); -lean_dec(x_242); -lean_dec(x_240); -lean_dec(x_239); -lean_dec(x_238); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_266 = !lean_is_exclusive(x_253); -if (x_266 == 0) -{ -return x_253; -} -else -{ -lean_object* x_267; lean_object* x_268; lean_object* x_269; -x_267 = lean_ctor_get(x_253, 0); -x_268 = lean_ctor_get(x_253, 1); -lean_inc(x_268); -lean_inc(x_267); -lean_dec(x_253); -x_269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_269, 0, x_267); -lean_ctor_set(x_269, 1, x_268); -return x_269; -} -} -} -else -{ -lean_object* x_270; +lean_object* x_112; lean_dec(x_2); lean_inc(x_8); lean_inc(x_7); @@ -15451,87 +11271,65 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_270 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_241, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_270) == 0) +x_112 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_108, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_112) == 0) { -lean_object* x_271; lean_object* x_272; lean_object* x_273; -x_271 = lean_ctor_get(x_270, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_270, 1); -lean_inc(x_272); -lean_dec(x_270); -x_273 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_242, x_3, x_4, x_5, x_6, x_7, x_8, x_272); -if (lean_obj_tag(x_273) == 0) +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_115 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_109, x_3, x_4, x_5, x_6, x_7, x_8, x_114); +if (lean_obj_tag(x_115) == 0) { -lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_274 = lean_ctor_get(x_273, 0); -lean_inc(x_274); -x_275 = lean_ctor_get(x_273, 1); -lean_inc(x_275); -if (lean_is_exclusive(x_273)) { - lean_ctor_release(x_273, 0); - lean_ctor_release(x_273, 1); - x_276 = x_273; -} else { - lean_dec_ref(x_273); - x_276 = lean_box(0); -} -x_277 = lean_alloc_ctor(8, 6, 0); -lean_ctor_set(x_277, 0, x_238); -lean_ctor_set(x_277, 1, x_188); -lean_ctor_set(x_277, 2, x_239); -lean_ctor_set(x_277, 3, x_240); -lean_ctor_set(x_277, 4, x_271); -lean_ctor_set(x_277, 5, x_274); -if (lean_is_scalar(x_276)) { - x_278 = lean_alloc_ctor(0, 2, 0); -} else { - x_278 = x_276; -} -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_275); -return x_278; +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_118, 0, x_110); +x_119 = lean_alloc_ctor(8, 6, 0); +lean_ctor_set(x_119, 0, x_105); +lean_ctor_set(x_119, 1, x_118); +lean_ctor_set(x_119, 2, x_106); +lean_ctor_set(x_119, 3, x_107); +lean_ctor_set(x_119, 4, x_113); +lean_ctor_set(x_119, 5, x_116); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_117); +return x_120; } else { -lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; -lean_dec(x_271); -lean_free_object(x_188); -lean_dec(x_244); -lean_dec(x_240); -lean_dec(x_239); -lean_dec(x_238); -x_279 = lean_ctor_get(x_273, 0); -lean_inc(x_279); -x_280 = lean_ctor_get(x_273, 1); -lean_inc(x_280); -if (lean_is_exclusive(x_273)) { - lean_ctor_release(x_273, 0); - lean_ctor_release(x_273, 1); - x_281 = x_273; -} else { - lean_dec_ref(x_273); - x_281 = lean_box(0); -} -if (lean_is_scalar(x_281)) { - x_282 = lean_alloc_ctor(1, 2, 0); -} else { - x_282 = x_281; -} -lean_ctor_set(x_282, 0, x_279); -lean_ctor_set(x_282, 1, x_280); -return x_282; +lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_113); +lean_dec(x_110); +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_105); +x_121 = lean_ctor_get(x_115, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_115, 1); +lean_inc(x_122); +lean_dec(x_115); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; } } else { -lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; -lean_free_object(x_188); -lean_dec(x_244); -lean_dec(x_242); -lean_dec(x_240); -lean_dec(x_239); -lean_dec(x_238); +lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_110); +lean_dec(x_109); +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_105); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -15539,357 +11337,157 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_283 = lean_ctor_get(x_270, 0); -lean_inc(x_283); -x_284 = lean_ctor_get(x_270, 1); -lean_inc(x_284); -if (lean_is_exclusive(x_270)) { - lean_ctor_release(x_270, 0); - lean_ctor_release(x_270, 1); - x_285 = x_270; -} else { - lean_dec_ref(x_270); - x_285 = lean_box(0); -} -if (lean_is_scalar(x_285)) { - x_286 = lean_alloc_ctor(1, 2, 0); -} else { - x_286 = x_285; -} -lean_ctor_set(x_286, 0, x_283); -lean_ctor_set(x_286, 1, x_284); -return x_286; -} +x_124 = lean_ctor_get(x_112, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_112, 1); +lean_inc(x_125); +lean_dec(x_112); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; } } else { -lean_object* x_287; -lean_free_object(x_188); -lean_dec(x_244); -lean_dec(x_242); -lean_dec(x_241); -lean_dec(x_240); -lean_dec(x_239); -lean_dec(x_238); +lean_object* x_127; +lean_dec(x_110); +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_105); lean_dec(x_1); -x_287 = l_Lean_Elab_Term_Do_pullExitPoints(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_287; -} -} -else -{ -lean_object* x_288; uint8_t x_289; -x_288 = lean_ctor_get(x_188, 0); -lean_inc(x_288); -lean_dec(x_188); -x_289 = l_Lean_NameSet_contains(x_1, x_288); -if (x_289 == 0) -{ -lean_object* x_290; lean_object* x_291; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - x_290 = x_2; -} else { - lean_dec_ref(x_2); - x_290 = lean_box(0); -} -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -x_291 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_241, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_291) == 0) -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_292 = lean_ctor_get(x_291, 0); -lean_inc(x_292); -x_293 = lean_ctor_get(x_291, 1); -lean_inc(x_293); -lean_dec(x_291); -x_294 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_1, x_242, x_3, x_4, x_5, x_6, x_7, x_8, x_293); -if (lean_obj_tag(x_294) == 0) -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_295 = lean_ctor_get(x_294, 0); -lean_inc(x_295); -x_296 = lean_ctor_get(x_294, 1); -lean_inc(x_296); -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_alloc_ctor(1, 1, 0); -lean_ctor_set(x_298, 0, x_288); -if (lean_is_scalar(x_290)) { - x_299 = lean_alloc_ctor(8, 6, 0); -} else { - x_299 = x_290; -} -lean_ctor_set(x_299, 0, x_238); -lean_ctor_set(x_299, 1, x_298); -lean_ctor_set(x_299, 2, x_239); -lean_ctor_set(x_299, 3, x_240); -lean_ctor_set(x_299, 4, x_292); -lean_ctor_set(x_299, 5, x_295); -if (lean_is_scalar(x_297)) { - x_300 = lean_alloc_ctor(0, 2, 0); -} else { - x_300 = x_297; -} -lean_ctor_set(x_300, 0, x_299); -lean_ctor_set(x_300, 1, x_296); -return x_300; -} -else -{ -lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; -lean_dec(x_292); -lean_dec(x_290); -lean_dec(x_288); -lean_dec(x_240); -lean_dec(x_239); -lean_dec(x_238); -x_301 = lean_ctor_get(x_294, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_294, 1); -lean_inc(x_302); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_303 = x_294; -} else { - lean_dec_ref(x_294); - x_303 = lean_box(0); -} -if (lean_is_scalar(x_303)) { - x_304 = lean_alloc_ctor(1, 2, 0); -} else { - x_304 = x_303; -} -lean_ctor_set(x_304, 0, x_301); -lean_ctor_set(x_304, 1, x_302); -return x_304; -} -} -else -{ -lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; -lean_dec(x_290); -lean_dec(x_288); -lean_dec(x_242); -lean_dec(x_240); -lean_dec(x_239); -lean_dec(x_238); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_305 = lean_ctor_get(x_291, 0); -lean_inc(x_305); -x_306 = lean_ctor_get(x_291, 1); -lean_inc(x_306); -if (lean_is_exclusive(x_291)) { - lean_ctor_release(x_291, 0); - lean_ctor_release(x_291, 1); - x_307 = x_291; -} else { - lean_dec_ref(x_291); - x_307 = lean_box(0); -} -if (lean_is_scalar(x_307)) { - x_308 = lean_alloc_ctor(1, 2, 0); -} else { - x_308 = x_307; -} -lean_ctor_set(x_308, 0, x_305); -lean_ctor_set(x_308, 1, x_306); -return x_308; -} -} -else -{ -lean_object* x_309; -lean_dec(x_288); -lean_dec(x_242); -lean_dec(x_241); -lean_dec(x_240); -lean_dec(x_239); -lean_dec(x_238); -lean_dec(x_1); -x_309 = l_Lean_Elab_Term_Do_pullExitPoints(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_309; -} +x_127 = l_Lean_Elab_Term_Do_pullExitPoints(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_127; } } } case 9: { -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_336; lean_object* x_337; uint8_t x_338; -x_310 = lean_ctor_get(x_2, 0); -lean_inc(x_310); -x_311 = lean_ctor_get(x_2, 1); -lean_inc(x_311); -x_312 = lean_ctor_get(x_2, 2); -lean_inc(x_312); -x_313 = lean_ctor_get(x_2, 3); -lean_inc(x_313); -x_314 = lean_ctor_get(x_2, 4); -lean_inc(x_314); -x_336 = lean_array_get_size(x_314); -x_337 = lean_unsigned_to_nat(0u); -x_338 = lean_nat_dec_lt(x_337, x_336); -if (x_338 == 0) +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_150; lean_object* x_151; uint8_t x_152; +x_128 = lean_ctor_get(x_2, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_2, 1); +lean_inc(x_129); +x_130 = lean_ctor_get(x_2, 2); +lean_inc(x_130); +x_131 = lean_ctor_get(x_2, 3); +lean_inc(x_131); +x_132 = lean_ctor_get(x_2, 4); +lean_inc(x_132); +x_150 = lean_array_get_size(x_132); +x_151 = lean_unsigned_to_nat(0u); +x_152 = lean_nat_dec_lt(x_151, x_150); +if (x_152 == 0) { -lean_object* x_339; -lean_dec(x_336); +lean_object* x_153; +lean_dec(x_150); lean_dec(x_2); -x_339 = lean_box(0); -x_315 = x_339; -goto block_335; +x_153 = lean_box(0); +x_133 = x_153; +goto block_149; } else { -uint8_t x_340; -x_340 = lean_nat_dec_le(x_336, x_336); -if (x_340 == 0) +uint8_t x_154; +x_154 = lean_nat_dec_le(x_150, x_150); +if (x_154 == 0) { -lean_object* x_341; -lean_dec(x_336); +lean_object* x_155; +lean_dec(x_150); lean_dec(x_2); -x_341 = lean_box(0); -x_315 = x_341; -goto block_335; +x_155 = lean_box(0); +x_133 = x_155; +goto block_149; } else { -size_t x_342; size_t x_343; uint8_t x_344; -x_342 = 0; -x_343 = lean_usize_of_nat(x_336); -lean_dec(x_336); -x_344 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__4(x_1, x_314, x_342, x_343); -if (x_344 == 0) +size_t x_156; size_t x_157; uint8_t x_158; +x_156 = 0; +x_157 = lean_usize_of_nat(x_150); +lean_dec(x_150); +x_158 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__4(x_1, x_132, x_156, x_157); +if (x_158 == 0) { -lean_object* x_345; +lean_object* x_159; lean_dec(x_2); -x_345 = lean_box(0); -x_315 = x_345; -goto block_335; +x_159 = lean_box(0); +x_133 = x_159; +goto block_149; } else { -lean_object* x_346; -lean_dec(x_314); -lean_dec(x_313); -lean_dec(x_312); -lean_dec(x_311); -lean_dec(x_310); +lean_object* x_160; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_130); +lean_dec(x_129); +lean_dec(x_128); lean_dec(x_1); -x_346 = l_Lean_Elab_Term_Do_pullExitPoints(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_346; +x_160 = l_Lean_Elab_Term_Do_pullExitPoints(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_160; } } } -block_335: +block_149: { -lean_object* x_316; size_t x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; -lean_dec(x_315); -x_316 = lean_array_get_size(x_314); -x_317 = lean_usize_of_nat(x_316); -lean_dec(x_316); -x_318 = x_314; -x_319 = lean_box_usize(x_317); -x_320 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___boxed__const__1; -x_321 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__2___boxed), 11, 4); -lean_closure_set(x_321, 0, x_1); -lean_closure_set(x_321, 1, x_319); -lean_closure_set(x_321, 2, x_320); -lean_closure_set(x_321, 3, x_318); -x_322 = x_321; -x_323 = lean_apply_7(x_322, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_323) == 0) +lean_object* x_134; size_t 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_dec(x_133); +x_134 = lean_array_get_size(x_132); +x_135 = lean_usize_of_nat(x_134); +lean_dec(x_134); +x_136 = x_132; +x_137 = lean_box_usize(x_135); +x_138 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___boxed__const__1; +x_139 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__2___boxed), 11, 4); +lean_closure_set(x_139, 0, x_1); +lean_closure_set(x_139, 1, x_137); +lean_closure_set(x_139, 2, x_138); +lean_closure_set(x_139, 3, x_136); +x_140 = x_139; +x_141 = lean_apply_7(x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_141) == 0) { -uint8_t x_324; -x_324 = !lean_is_exclusive(x_323); -if (x_324 == 0) -{ -lean_object* x_325; lean_object* x_326; -x_325 = lean_ctor_get(x_323, 0); -x_326 = lean_alloc_ctor(9, 5, 0); -lean_ctor_set(x_326, 0, x_310); -lean_ctor_set(x_326, 1, x_311); -lean_ctor_set(x_326, 2, x_312); -lean_ctor_set(x_326, 3, x_313); -lean_ctor_set(x_326, 4, x_325); -lean_ctor_set(x_323, 0, x_326); -return x_323; +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +x_144 = lean_alloc_ctor(9, 5, 0); +lean_ctor_set(x_144, 0, x_128); +lean_ctor_set(x_144, 1, x_129); +lean_ctor_set(x_144, 2, x_130); +lean_ctor_set(x_144, 3, x_131); +lean_ctor_set(x_144, 4, 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_143); +return x_145; } else { -lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_327 = lean_ctor_get(x_323, 0); -x_328 = lean_ctor_get(x_323, 1); -lean_inc(x_328); -lean_inc(x_327); -lean_dec(x_323); -x_329 = lean_alloc_ctor(9, 5, 0); -lean_ctor_set(x_329, 0, x_310); -lean_ctor_set(x_329, 1, x_311); -lean_ctor_set(x_329, 2, x_312); -lean_ctor_set(x_329, 3, x_313); -lean_ctor_set(x_329, 4, x_327); -x_330 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_330, 0, x_329); -lean_ctor_set(x_330, 1, x_328); -return x_330; -} -} -else -{ -uint8_t x_331; -lean_dec(x_313); -lean_dec(x_312); -lean_dec(x_311); -lean_dec(x_310); -x_331 = !lean_is_exclusive(x_323); -if (x_331 == 0) -{ -return x_323; -} -else -{ -lean_object* x_332; lean_object* x_333; lean_object* x_334; -x_332 = lean_ctor_get(x_323, 0); -x_333 = lean_ctor_get(x_323, 1); -lean_inc(x_333); -lean_inc(x_332); -lean_dec(x_323); -x_334 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_334, 0, x_332); -lean_ctor_set(x_334, 1, x_333); -return x_334; -} +lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_131); +lean_dec(x_130); +lean_dec(x_129); +lean_dec(x_128); +x_146 = lean_ctor_get(x_141, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_141, 1); +lean_inc(x_147); +lean_dec(x_141); +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; } } } default: { -lean_object* x_347; +lean_object* x_161; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -15897,10 +11495,10 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_347 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_347, 0, x_2); -lean_ctor_set(x_347, 1, x_9); -return x_347; +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_2); +lean_ctor_set(x_161, 1, x_9); +return x_161; } } } @@ -16019,166 +11617,61 @@ uint8_t x_10; x_10 = l_Std_RBNode_any___at_Lean_Elab_Term_Do_extendUpdatedVars___spec__1(x_1, x_2); if (x_10 == 0) { -uint8_t x_11; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_11 = !lean_is_exclusive(x_1); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_1, 1); -lean_dec(x_12); -lean_ctor_set(x_1, 1, x_2); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_2); x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_9); return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; x_14 = lean_ctor_get(x_1, 0); lean_inc(x_14); lean_dec(x_1); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_2); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_9); -return x_16; -} -} -else -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_1); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_1, 0); -x_19 = lean_ctor_get(x_1, 1); -lean_dec(x_19); lean_inc(x_2); -x_20 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_2, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_20) == 0) +x_15 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_2, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) { -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_20, 0); -lean_ctor_set(x_1, 1, x_2); -lean_ctor_set(x_1, 0, x_22); -lean_ctor_set(x_20, 0, x_1); -return x_20; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +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); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, 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_17); +return x_19; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_20, 0); -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_20); -lean_ctor_set(x_1, 1, x_2); -lean_ctor_set(x_1, 0, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_1); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -else -{ -uint8_t x_26; -lean_free_object(x_1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_dec(x_2); -x_26 = !lean_is_exclusive(x_20); -if (x_26 == 0) -{ -return x_20; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_1, 0); -lean_inc(x_30); -lean_dec(x_1); -lean_inc(x_2); -x_31 = l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update(x_2, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - x_34 = x_31; -} else { - lean_dec_ref(x_31); - x_34 = lean_box(0); -} -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_32); -lean_ctor_set(x_35, 1, x_2); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_dec(x_2); -x_37 = lean_ctor_get(x_31, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_31, 1); -lean_inc(x_38); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - x_39 = x_31; -} else { - lean_dec_ref(x_31); - x_39 = lean_box(0); -} -if (lean_is_scalar(x_39)) { - x_40 = lean_alloc_ctor(1, 2, 0); -} else { - x_40 = x_39; -} -lean_ctor_set(x_40, 0, x_37); -lean_ctor_set(x_40, 1, x_38); -return x_40; -} +x_20 = lean_ctor_get(x_15, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_15, 1); +lean_inc(x_21); +lean_dec(x_15); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } } @@ -16256,62 +11749,38 @@ lean_dec(x_13); x_16 = l_Lean_Elab_Term_Do_extendUpdatedVars(x_2, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_15); if (lean_obj_tag(x_16) == 0) { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_16, 0); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +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); x_19 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_19, 0, x_14); -lean_ctor_set(x_19, 1, x_18); -lean_ctor_set(x_16, 0, x_19); -return x_16; +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_16, 0); -x_21 = lean_ctor_get(x_16, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_14); +x_21 = lean_ctor_get(x_16, 0); lean_inc(x_21); -lean_inc(x_20); +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); lean_dec(x_16); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_14); -lean_ctor_set(x_22, 1, x_20); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); return x_23; } } else { -uint8_t x_24; -lean_dec(x_14); -x_24 = !lean_is_exclusive(x_16); -if (x_24 == 0) -{ -return x_16; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_16, 0); -x_26 = lean_ctor_get(x_16, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_16); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -} -else -{ -uint8_t x_28; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); @@ -16320,24 +11789,15 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_28 = !lean_is_exclusive(x_13); -if (x_28 == 0) -{ -return x_13; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_13, 0); -x_30 = lean_ctor_get(x_13, 1); -lean_inc(x_30); -lean_inc(x_29); +x_24 = lean_ctor_get(x_13, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_13, 1); +lean_inc(x_25); lean_dec(x_13); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } } @@ -16519,7 +11979,7 @@ return x_30; } else { -uint8_t x_31; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); @@ -16529,24 +11989,15 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_31 = !lean_is_exclusive(x_27); -if (x_31 == 0) -{ -return x_27; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_27, 0); -x_33 = lean_ctor_get(x_27, 1); -lean_inc(x_33); +x_31 = lean_ctor_get(x_27, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_27, 1); lean_inc(x_32); lean_dec(x_27); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } @@ -16585,34 +12036,27 @@ return x_12; lean_object* l_Lean_Elab_Term_Do_mkSeq(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; -x_4 = lean_ctor_get(x_2, 0); +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_3); x_5 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_4); -lean_ctor_set(x_2, 0, x_5); -return x_2; +lean_ctor_set(x_5, 1, x_3); +lean_inc(x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +return x_6; } -else +} +lean_object* l_Lean_Elab_Term_Do_mkSeq___boxed(lean_object* x_1, lean_object* x_2) { +_start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_ctor_get(x_2, 1); -lean_inc(x_7); -lean_inc(x_6); +lean_object* x_3; +x_3 = l_Lean_Elab_Term_Do_mkSeq(x_1, x_2); lean_dec(x_2); -x_8 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_8, 0, x_1); -lean_ctor_set(x_8, 1, x_6); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} +return x_3; } } lean_object* l_Lean_Elab_Term_Do_mkTerminalAction(lean_object* x_1) { @@ -16699,28 +12143,28 @@ if (x_13 == 0) { if (lean_obj_tag(x_14) == 0) { -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_16 = lean_ctor_get(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; lean_object* x_28; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); x_17 = lean_unsigned_to_nat(0u); x_18 = l_Lean_Syntax_getArg(x_2, x_17); x_19 = l_Lean_Syntax_getId(x_18); lean_dec(x_18); x_20 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_20, 0, x_19); -x_21 = lean_ctor_get(x_16, 0); +x_21 = lean_ctor_get(x_15, 0); lean_inc(x_21); -x_22 = lean_ctor_get(x_16, 1); +x_22 = lean_ctor_get(x_15, 1); lean_inc(x_22); -lean_dec(x_16); -x_23 = !lean_is_exclusive(x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_21, 0); +lean_dec(x_15); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); x_25 = lean_ctor_get(x_22, 0); lean_inc(x_25); lean_dec(x_22); @@ -16729,250 +12173,87 @@ lean_ctor_set(x_26, 0, x_1); lean_ctor_set(x_26, 1, x_20); lean_ctor_set(x_26, 2, x_2); lean_ctor_set(x_26, 3, x_3); -lean_ctor_set(x_26, 4, x_24); +lean_ctor_set(x_26, 4, x_23); lean_ctor_set(x_26, 5, x_25); -lean_ctor_set(x_21, 0, x_26); -lean_ctor_set(x_14, 0, x_21); -return x_14; +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_24); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_16); +return x_28; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_21, 0); -x_28 = lean_ctor_get(x_21, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_21); -x_29 = lean_ctor_get(x_22, 0); -lean_inc(x_29); -lean_dec(x_22); -x_30 = lean_alloc_ctor(8, 6, 0); -lean_ctor_set(x_30, 0, x_1); -lean_ctor_set(x_30, 1, x_20); -lean_ctor_set(x_30, 2, x_2); -lean_ctor_set(x_30, 3, x_3); -lean_ctor_set(x_30, 4, x_27); -lean_ctor_set(x_30, 5, x_29); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_28); -lean_ctor_set(x_14, 0, x_31); -return x_14; -} -} -else -{ -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_32 = lean_ctor_get(x_14, 0); -x_33 = lean_ctor_get(x_14, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_14); -x_34 = lean_unsigned_to_nat(0u); -x_35 = l_Lean_Syntax_getArg(x_2, x_34); -x_36 = l_Lean_Syntax_getId(x_35); -lean_dec(x_35); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_36); -x_38 = lean_ctor_get(x_32, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_32, 1); -lean_inc(x_39); -lean_dec(x_32); -x_40 = lean_ctor_get(x_38, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_42 = x_38; -} else { - lean_dec_ref(x_38); - x_42 = lean_box(0); -} -x_43 = lean_ctor_get(x_39, 0); -lean_inc(x_43); -lean_dec(x_39); -x_44 = lean_alloc_ctor(8, 6, 0); -lean_ctor_set(x_44, 0, x_1); -lean_ctor_set(x_44, 1, x_37); -lean_ctor_set(x_44, 2, x_2); -lean_ctor_set(x_44, 3, x_3); -lean_ctor_set(x_44, 4, x_40); -lean_ctor_set(x_44, 5, x_43); -if (lean_is_scalar(x_42)) { - x_45 = lean_alloc_ctor(0, 2, 0); -} else { - x_45 = x_42; -} -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_41); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_33); -return x_46; -} -} -else -{ -uint8_t x_47; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_47 = !lean_is_exclusive(x_14); -if (x_47 == 0) -{ -return x_14; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_14, 0); -x_49 = lean_ctor_get(x_14, 1); -lean_inc(x_49); -lean_inc(x_48); +x_29 = lean_ctor_get(x_14, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_14, 1); +lean_inc(x_30); lean_dec(x_14); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } else { if (lean_obj_tag(x_14) == 0) { -uint8_t x_51; -x_51 = !lean_is_exclusive(x_14); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_52 = lean_ctor_get(x_14, 0); -x_53 = lean_box(0); -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_52, 1); -lean_inc(x_55); -lean_dec(x_52); -x_56 = !lean_is_exclusive(x_54); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_54, 0); -x_58 = lean_ctor_get(x_55, 0); -lean_inc(x_58); -lean_dec(x_55); -x_59 = lean_alloc_ctor(8, 6, 0); -lean_ctor_set(x_59, 0, x_1); -lean_ctor_set(x_59, 1, x_53); -lean_ctor_set(x_59, 2, x_2); -lean_ctor_set(x_59, 3, x_3); -lean_ctor_set(x_59, 4, x_57); -lean_ctor_set(x_59, 5, x_58); -lean_ctor_set(x_54, 0, x_59); -lean_ctor_set(x_14, 0, x_54); -return x_14; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_60 = lean_ctor_get(x_54, 0); -x_61 = lean_ctor_get(x_54, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_54); -x_62 = lean_ctor_get(x_55, 0); -lean_inc(x_62); -lean_dec(x_55); -x_63 = lean_alloc_ctor(8, 6, 0); -lean_ctor_set(x_63, 0, x_1); -lean_ctor_set(x_63, 1, x_53); -lean_ctor_set(x_63, 2, x_2); -lean_ctor_set(x_63, 3, x_3); -lean_ctor_set(x_63, 4, x_60); -lean_ctor_set(x_63, 5, x_62); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_61); -lean_ctor_set(x_14, 0, x_64); -return x_14; -} -} -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; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_65 = lean_ctor_get(x_14, 0); -x_66 = lean_ctor_get(x_14, 1); -lean_inc(x_66); -lean_inc(x_65); +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_32 = lean_ctor_get(x_14, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_14, 1); +lean_inc(x_33); lean_dec(x_14); -x_67 = lean_box(0); -x_68 = lean_ctor_get(x_65, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_65, 1); -lean_inc(x_69); -lean_dec(x_65); -x_70 = lean_ctor_get(x_68, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_68, 1); -lean_inc(x_71); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_72 = x_68; -} else { - lean_dec_ref(x_68); - x_72 = lean_box(0); -} -x_73 = lean_ctor_get(x_69, 0); -lean_inc(x_73); -lean_dec(x_69); -x_74 = lean_alloc_ctor(8, 6, 0); -lean_ctor_set(x_74, 0, x_1); -lean_ctor_set(x_74, 1, x_67); -lean_ctor_set(x_74, 2, x_2); -lean_ctor_set(x_74, 3, x_3); -lean_ctor_set(x_74, 4, x_70); -lean_ctor_set(x_74, 5, x_73); -if (lean_is_scalar(x_72)) { - x_75 = lean_alloc_ctor(0, 2, 0); -} else { - x_75 = x_72; -} -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_71); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_66); -return x_76; -} +x_34 = lean_box(0); +x_35 = lean_ctor_get(x_32, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +lean_dec(x_32); +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_ctor_get(x_36, 0); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_alloc_ctor(8, 6, 0); +lean_ctor_set(x_40, 0, x_1); +lean_ctor_set(x_40, 1, x_34); +lean_ctor_set(x_40, 2, x_2); +lean_ctor_set(x_40, 3, x_3); +lean_ctor_set(x_40, 4, x_37); +lean_ctor_set(x_40, 5, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_33); +return x_42; } else { -uint8_t x_77; +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_77 = !lean_is_exclusive(x_14); -if (x_77 == 0) -{ -return x_14; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_14, 0); -x_79 = lean_ctor_get(x_14, 1); -lean_inc(x_79); -lean_inc(x_78); +x_43 = lean_ctor_get(x_14, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_14, 1); +lean_inc(x_44); lean_dec(x_14); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; -} +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } @@ -17139,32 +12420,32 @@ return x_1; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; uint8_t x_4; +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; 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_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_1, x_2); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -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, 0); +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_ctor_get(x_1, 2); lean_inc(x_6); x_7 = lean_ctor_get(x_1, 1); lean_inc(x_7); lean_dec(x_1); x_8 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_5); +lean_inc(x_4); x_9 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 0, x_4); lean_ctor_set(x_9, 1, x_8); x_10 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__6; -lean_inc(x_5); +lean_inc(x_4); x_11 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 0, x_4); lean_ctor_set(x_11, 1, x_10); x_12 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__7; -lean_inc(x_5); +lean_inc(x_4); x_13 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_13, 0, x_5); +lean_ctor_set(x_13, 0, x_4); lean_ctor_set(x_13, 1, x_12); x_14 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; x_15 = lean_array_push(x_14, x_11); @@ -17176,17 +12457,17 @@ 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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_5); +lean_inc(x_4); x_22 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_22, 0, x_5); +lean_ctor_set(x_22, 0, x_4); lean_ctor_set(x_22, 1, x_21); x_23 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; x_24 = l_Lean_addMacroScope(x_7, x_23, x_6); x_25 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; x_26 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__16; -lean_inc(x_5); +lean_inc(x_4); x_27 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_27, 0, x_5); +lean_ctor_set(x_27, 0, x_4); lean_ctor_set(x_27, 1, x_25); lean_ctor_set(x_27, 2, x_24); lean_ctor_set(x_27, 3, x_26); @@ -17210,7 +12491,7 @@ lean_ctor_set(x_39, 0, x_35); lean_ctor_set(x_39, 1, x_38); x_40 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_5); +lean_ctor_set(x_41, 0, x_4); lean_ctor_set(x_41, 1, x_40); x_42 = lean_array_push(x_14, x_9); x_43 = lean_array_push(x_42, x_39); @@ -17219,95 +12500,10 @@ x_45 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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_3, 0, x_46); -return x_3; -} -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; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_47 = lean_ctor_get(x_3, 0); -x_48 = lean_ctor_get(x_3, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_3); -x_49 = lean_ctor_get(x_1, 2); -lean_inc(x_49); -x_50 = lean_ctor_get(x_1, 1); -lean_inc(x_50); -lean_dec(x_1); -x_51 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_47); -x_52 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_52, 0, x_47); -lean_ctor_set(x_52, 1, x_51); -x_53 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__6; -lean_inc(x_47); -x_54 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_54, 0, x_47); -lean_ctor_set(x_54, 1, x_53); -x_55 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__7; -lean_inc(x_47); -x_56 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_56, 0, x_47); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_58 = lean_array_push(x_57, x_54); -x_59 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_60 = lean_array_push(x_58, x_59); -x_61 = lean_array_push(x_60, x_56); -x_62 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__5; -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_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_47); -x_65 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_65, 0, x_47); -lean_ctor_set(x_65, 1, x_64); -x_66 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; -x_67 = l_Lean_addMacroScope(x_50, x_66, x_49); -x_68 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; -x_69 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__16; -lean_inc(x_47); -x_70 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_70, 0, x_47); -lean_ctor_set(x_70, 1, x_68); -lean_ctor_set(x_70, 2, x_67); -lean_ctor_set(x_70, 3, x_69); -x_71 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_72 = lean_array_push(x_71, x_65); -x_73 = lean_array_push(x_72, x_70); -x_74 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -x_76 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_array_push(x_71, x_63); -x_81 = lean_array_push(x_80, x_79); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_78); -lean_ctor_set(x_82, 1, x_81); -x_83 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_84 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_84, 0, x_47); -lean_ctor_set(x_84, 1, x_83); -x_85 = lean_array_push(x_57, x_52); -x_86 = lean_array_push(x_85, x_82); -x_87 = lean_array_push(x_86, x_84); -x_88 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_87); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_48); -return x_90; -} +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_5); +return x_47; } } static lean_object* _init_l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__1() { @@ -17411,13 +12607,13 @@ return x_3; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; uint8_t x_4; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_3 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_1, x_2); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -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; -x_5 = lean_ctor_get(x_3, 0); +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_ctor_get(x_1, 2); lean_inc(x_6); x_7 = lean_ctor_get(x_1, 1); @@ -17429,9 +12625,9 @@ lean_inc(x_7); x_9 = l_Lean_addMacroScope(x_7, x_8, x_6); x_10 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; x_11 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_5); +lean_inc(x_4); x_12 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_12, 0, x_5); +lean_ctor_set(x_12, 0, x_4); lean_ctor_set(x_12, 1, x_10); lean_ctor_set(x_12, 2, x_9); lean_ctor_set(x_12, 3, x_11); @@ -17440,7 +12636,7 @@ x_14 = l_Lean_addMacroScope(x_7, x_13, x_6); x_15 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; x_16 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; x_17 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 0, x_4); lean_ctor_set(x_17, 1, x_15); lean_ctor_set(x_17, 2, x_14); lean_ctor_set(x_17, 3, x_16); @@ -17457,91 +12653,27 @@ x_25 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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); -lean_ctor_set(x_3, 0, x_26); -return x_3; -} -else -{ -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; -x_27 = lean_ctor_get(x_3, 0); -x_28 = lean_ctor_get(x_3, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_3); -x_29 = lean_ctor_get(x_1, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_1, 1); -lean_inc(x_30); -lean_dec(x_1); -x_31 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -lean_inc(x_29); -lean_inc(x_30); -x_32 = l_Lean_addMacroScope(x_30, x_31, x_29); -x_33 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_34 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_27); -x_35 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_35, 0, x_27); -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___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; -x_37 = l_Lean_addMacroScope(x_30, x_36, x_29); -x_38 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -x_39 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; -x_40 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_40, 0, x_27); -lean_ctor_set(x_40, 1, x_38); -lean_ctor_set(x_40, 2, x_37); -lean_ctor_set(x_40, 3, x_39); -x_41 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_42 = lean_array_push(x_41, x_40); -x_43 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_46 = lean_array_push(x_45, x_35); -x_47 = lean_array_push(x_46, x_44); -x_48 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_28); -return x_50; -} +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_5); +return x_27; } } lean_object* l_Lean_Elab_Term_Do_mkPureUnitAction(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; uint8_t x_4; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_3 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit(x_1, x_2); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_3, 0); -x_6 = l_Lean_Elab_Term_Do_mkTerminalAction(x_5); -lean_ctor_set(x_3, 0, x_6); -return x_3; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = lean_ctor_get(x_3, 0); -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); -lean_inc(x_7); +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_9 = l_Lean_Elab_Term_Do_mkTerminalAction(x_7); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_8); -return x_10; -} +x_6 = l_Lean_Elab_Term_Do_mkTerminalAction(x_4); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +return x_7; } } static lean_object* _init_l_Lean_Elab_Term_Do_mkUnless___closed__1() { @@ -17559,110 +12691,51 @@ return x_3; lean_object* l_Lean_Elab_Term_Do_mkUnless(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; uint8_t x_6; +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_inc(x_3); x_5 = l_Lean_Elab_Term_Do_mkPureUnitAction(x_3, x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_7 = lean_ctor_get(x_5, 0); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); x_8 = lean_ctor_get(x_3, 5); lean_inc(x_8); lean_dec(x_3); x_9 = lean_box(0); -x_10 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_6, 0); lean_inc(x_10); -lean_dec(x_7); -x_11 = !lean_is_exclusive(x_2); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_2, 0); +lean_dec(x_6); +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); x_13 = l_Lean_Elab_Term_Do_mkUnless___closed__1; +lean_inc(x_11); x_14 = lean_alloc_ctor(8, 6, 0); lean_ctor_set(x_14, 0, x_8); lean_ctor_set(x_14, 1, x_9); lean_ctor_set(x_14, 2, x_13); lean_ctor_set(x_14, 3, x_1); lean_ctor_set(x_14, 4, x_10); -lean_ctor_set(x_14, 5, x_12); -lean_ctor_set(x_2, 0, x_14); -lean_ctor_set(x_5, 0, x_2); -return x_5; +lean_ctor_set(x_14, 5, x_11); +lean_inc(x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_7); +return x_16; } -else +} +lean_object* l_Lean_Elab_Term_Do_mkUnless___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_2, 0); -x_16 = lean_ctor_get(x_2, 1); -lean_inc(x_16); -lean_inc(x_15); +lean_object* x_5; +x_5 = l_Lean_Elab_Term_Do_mkUnless(x_1, x_2, x_3, x_4); lean_dec(x_2); -x_17 = l_Lean_Elab_Term_Do_mkUnless___closed__1; -x_18 = lean_alloc_ctor(8, 6, 0); -lean_ctor_set(x_18, 0, x_8); -lean_ctor_set(x_18, 1, x_9); -lean_ctor_set(x_18, 2, x_17); -lean_ctor_set(x_18, 3, x_1); -lean_ctor_set(x_18, 4, x_10); -lean_ctor_set(x_18, 5, x_15); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_16); -lean_ctor_set(x_5, 0, x_19); return x_5; } } -else -{ -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; -x_20 = lean_ctor_get(x_5, 0); -x_21 = lean_ctor_get(x_5, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_5); -x_22 = lean_ctor_get(x_3, 5); -lean_inc(x_22); -lean_dec(x_3); -x_23 = lean_box(0); -x_24 = lean_ctor_get(x_20, 0); -lean_inc(x_24); -lean_dec(x_20); -x_25 = lean_ctor_get(x_2, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_2, 1); -lean_inc(x_26); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - x_27 = x_2; -} else { - lean_dec_ref(x_2); - x_27 = lean_box(0); -} -x_28 = l_Lean_Elab_Term_Do_mkUnless___closed__1; -x_29 = lean_alloc_ctor(8, 6, 0); -lean_ctor_set(x_29, 0, x_22); -lean_ctor_set(x_29, 1, x_23); -lean_ctor_set(x_29, 2, x_28); -lean_ctor_set(x_29, 3, x_1); -lean_ctor_set(x_29, 4, x_24); -lean_ctor_set(x_29, 5, x_25); -if (lean_is_scalar(x_27)) { - x_30 = lean_alloc_ctor(0, 2, 0); -} else { - x_30 = x_27; -} -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_26); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_21); -return x_31; -} -} -} lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkMatch___spec__1(lean_object* x_1, size_t x_2, size_t 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) { _start: { @@ -17686,94 +12759,19 @@ return x_14; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +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; x_15 = lean_array_uget(x_4, x_3); x_16 = lean_unsigned_to_nat(0u); x_17 = lean_array_uset(x_4, x_3, x_16); x_18 = x_15; -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; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); -x_22 = lean_ctor_get(x_18, 2); -x_23 = lean_ctor_get(x_18, 3); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_1); -x_24 = l_Lean_Elab_Term_Do_extendUpdatedVars(x_23, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; -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_ctor_get(x_25, 0); -lean_inc(x_27); -lean_dec(x_25); -lean_ctor_set(x_18, 3, x_27); -x_28 = 1; -x_29 = x_3 + x_28; -x_30 = x_18; -x_31 = lean_array_uset(x_17, x_3, x_30); -x_3 = x_29; -x_4 = x_31; -x_11 = x_26; -goto _start; -} -else -{ -uint8_t x_33; -lean_free_object(x_18); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_17); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_33 = !lean_is_exclusive(x_24); -if (x_33 == 0) -{ -return x_24; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_24, 0); -x_35 = lean_ctor_get(x_24, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_24); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_37 = lean_ctor_get(x_18, 0); -x_38 = lean_ctor_get(x_18, 1); -x_39 = lean_ctor_get(x_18, 2); -x_40 = lean_ctor_get(x_18, 3); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 2); +lean_inc(x_21); +x_22 = lean_ctor_get(x_18, 3); +lean_inc(x_22); lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); @@ -17782,38 +12780,38 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); -x_41 = l_Lean_Elab_Term_Do_extendUpdatedVars(x_40, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_41) == 0) +x_23 = l_Lean_Elab_Term_Do_extendUpdatedVars(x_22, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; size_t x_46; size_t x_47; lean_object* x_48; lean_object* x_49; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_42, 0); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_45, 0, x_37); -lean_ctor_set(x_45, 1, x_38); -lean_ctor_set(x_45, 2, x_39); -lean_ctor_set(x_45, 3, x_44); -x_46 = 1; -x_47 = x_3 + x_46; -x_48 = x_45; -x_49 = lean_array_uset(x_17, x_3, x_48); -x_3 = x_47; -x_4 = x_49; -x_11 = x_43; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_27, 0, x_19); +lean_ctor_set(x_27, 1, x_20); +lean_ctor_set(x_27, 2, x_21); +lean_ctor_set(x_27, 3, x_26); +x_28 = 1; +x_29 = x_3 + x_28; +x_30 = x_27; +x_31 = lean_array_uset(x_17, x_3, x_30); +x_3 = x_29; +x_4 = x_31; +x_11 = x_25; goto _start; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_37); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_17); lean_dec(x_10); lean_dec(x_9); @@ -17822,27 +12820,15 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_51 = lean_ctor_get(x_41, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_41, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_53 = x_41; -} else { - lean_dec_ref(x_41); - x_53 = lean_box(0); -} -if (lean_is_scalar(x_53)) { - x_54 = lean_alloc_ctor(1, 2, 0); -} else { - x_54 = x_53; -} -lean_ctor_set(x_54, 0, x_51); -lean_ctor_set(x_54, 1, x_52); -return x_54; -} +x_33 = lean_ctor_get(x_23, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_23, 1); +lean_inc(x_34); +lean_dec(x_23); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } @@ -17897,37 +12883,37 @@ lean_inc(x_5); x_18 = x_5; if (x_15 == 0) { -lean_object* x_39; +lean_object* x_34; lean_dec(x_13); lean_dec(x_5); -x_39 = l_Lean_NameSet_empty; -x_19 = x_39; -goto block_38; +x_34 = l_Lean_NameSet_empty; +x_19 = x_34; +goto block_33; } else { -uint8_t x_40; -x_40 = lean_nat_dec_le(x_13, x_13); +uint8_t x_35; +x_35 = lean_nat_dec_le(x_13, x_13); lean_dec(x_13); -if (x_40 == 0) +if (x_35 == 0) { -lean_object* x_41; +lean_object* x_36; lean_dec(x_5); -x_41 = l_Lean_NameSet_empty; -x_19 = x_41; -goto block_38; +x_36 = l_Lean_NameSet_empty; +x_19 = x_36; +goto block_33; } else { -lean_object* x_42; lean_object* x_43; -x_42 = l_Lean_NameSet_empty; -x_43 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_mkMatch___spec__2(x_5, x_17, x_16, x_42); +lean_object* x_37; lean_object* x_38; +x_37 = l_Lean_NameSet_empty; +x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_mkMatch___spec__2(x_5, x_17, x_16, x_37); lean_dec(x_5); -x_19 = x_43; -goto block_38; +x_19 = x_38; +goto block_33; } } -block_38: +block_33: { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; x_20 = lean_box_usize(x_16); @@ -17942,73 +12928,43 @@ x_23 = x_22; x_24 = lean_apply_7(x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_24) == 0) { -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_24, 0); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = lean_ctor_get(x_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_alloc_ctor(9, 5, 0); lean_ctor_set(x_27, 0, x_1); lean_ctor_set(x_27, 1, x_2); lean_ctor_set(x_27, 2, x_3); lean_ctor_set(x_27, 3, x_4); -lean_ctor_set(x_27, 4, x_26); +lean_ctor_set(x_27, 4, x_25); x_28 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_19); -lean_ctor_set(x_24, 0, x_28); -return x_24; +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_26); +return x_29; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_29 = lean_ctor_get(x_24, 0); -x_30 = lean_ctor_get(x_24, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_24); -x_31 = lean_alloc_ctor(9, 5, 0); -lean_ctor_set(x_31, 0, x_1); -lean_ctor_set(x_31, 1, x_2); -lean_ctor_set(x_31, 2, x_3); -lean_ctor_set(x_31, 3, x_4); -lean_ctor_set(x_31, 4, x_29); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_19); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -return x_33; -} -} -else -{ -uint8_t x_34; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_19); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_24); -if (x_34 == 0) -{ -return x_24; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_24, 0); -x_36 = lean_ctor_get(x_24, 1); -lean_inc(x_36); -lean_inc(x_35); +x_30 = lean_ctor_get(x_24, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_24, 1); +lean_inc(x_31); lean_dec(x_24); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } } @@ -18069,10 +13025,10 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_concat_match__1___rarg), 3, return x_2; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -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; uint8_t x_16; +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; x_9 = lean_ctor_get(x_6, 3); x_10 = lean_ctor_get(x_2, 3); lean_inc(x_10); @@ -18087,112 +13043,237 @@ lean_dec(x_12); x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); lean_dec(x_2); lean_dec(x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 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); x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; } } -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_7, 3); -x_12 = l_Lean_replaceRef(x_1, x_11); -lean_dec(x_11); -lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -return x_13; -} -else -{ -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_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -x_16 = lean_ctor_get(x_7, 2); -x_17 = lean_ctor_get(x_7, 3); -x_18 = lean_ctor_get(x_7, 4); -x_19 = lean_ctor_get(x_7, 5); -x_20 = lean_ctor_get(x_7, 6); -x_21 = lean_ctor_get(x_7, 7); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); +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; +x_10 = lean_ctor_get(x_7, 0); +x_11 = lean_ctor_get(x_7, 1); +x_12 = lean_ctor_get(x_7, 2); +x_13 = lean_ctor_get(x_7, 3); +x_14 = lean_ctor_get(x_7, 4); +x_15 = lean_ctor_get(x_7, 5); +x_16 = lean_ctor_get(x_7, 6); +x_17 = lean_ctor_get(x_7, 7); +x_18 = l_Lean_replaceRef(x_1, x_13); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); -lean_dec(x_7); -x_22 = l_Lean_replaceRef(x_1, x_17); -lean_dec(x_17); -x_23 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_23, 1, x_15); -lean_ctor_set(x_23, 2, x_16); -lean_ctor_set(x_23, 3, x_22); -lean_ctor_set(x_23, 4, x_18); -lean_ctor_set(x_23, 5, x_19); -lean_ctor_set(x_23, 6, x_20); -lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__2(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); -lean_dec(x_23); -return x_24; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_19 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_19, 0, x_10); +lean_ctor_set(x_19, 1, x_11); +lean_ctor_set(x_19, 2, x_12); +lean_ctor_set(x_19, 3, x_18); +lean_ctor_set(x_19, 4, x_14); +lean_ctor_set(x_19, 5, x_15); +lean_ctor_set(x_19, 6, x_16); +lean_ctor_set(x_19, 7, x_17); +x_20 = l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__3(x_2, x_3, x_4, x_5, x_6, x_19, x_8, x_9); +lean_dec(x_19); +return x_20; } } -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__3___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__3___rarg), 1, 0); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4___rarg), 1, 0); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_concat___spec__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) { +_start: +{ +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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 5); +lean_inc(x_14); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2___boxed), 4, 1); +lean_closure_set(x_17, 0, x_12); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__3___boxed), 6, 3); +lean_closure_set(x_18, 0, x_12); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_14); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4___boxed), 6, 3); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_14); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = x_20; +x_22 = lean_ctor_get(x_6, 3); +lean_inc(x_22); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_6, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 2); +lean_inc(x_27); +x_28 = lean_st_ref_get(x_7, x_25); +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_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_environment_main_module(x_12); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_24); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_27); +lean_ctor_set(x_33, 5, x_22); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_2(x_1, x_33, x_35); +if (lean_obj_tag(x_36) == 0) +{ +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; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_st_ref_take(x_7, x_30); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_ctor_get(x_41, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_41, 2); +lean_inc(x_44); +x_45 = lean_ctor_get(x_41, 3); +lean_inc(x_45); +lean_dec(x_41); +x_46 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_39); +lean_ctor_set(x_46, 2, x_44); +lean_ctor_set(x_46, 3, x_45); +x_47 = lean_st_ref_set(x_7, x_46, x_42); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get(x_38, 1); +lean_inc(x_49); +lean_dec(x_38); +x_50 = l_List_reverse___rarg(x_49); +x_51 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_48); +lean_dec(x_6); +lean_dec(x_2); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +else +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_36, 0); +lean_inc(x_54); +lean_dec(x_36); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_57, 0, x_56); +x_58 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__2(x_55, x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +lean_dec(x_6); +lean_dec(x_55); +return x_59; +} +else +{ +lean_object* x_60; +lean_dec(x_6); +lean_dec(x_2); +x_60 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4___rarg(x_30); +return x_60; +} +} +} +} lean_object* l_Lean_Elab_Term_Do_concat___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_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t 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_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t 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; x_13 = lean_array_get_size(x_1); x_14 = lean_usize_of_nat(x_13); lean_dec(x_13); @@ -18221,263 +13302,43 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_3, 0); lean_inc(x_28); lean_dec(x_3); -x_29 = lean_st_ref_get(x_11, x_26); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); +x_29 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp), 5, 3); +lean_closure_set(x_29, 0, x_28); +lean_closure_set(x_29, 1, x_27); +lean_closure_set(x_29, 2, x_1); +x_30 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_concat___spec__1(x_29, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_30, 0); +x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); lean_dec(x_30); -x_33 = lean_ctor_get(x_10, 4); -lean_inc(x_33); -x_34 = lean_ctor_get(x_10, 5); -lean_inc(x_34); -lean_inc(x_32); -x_35 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_35, 0, x_32); -lean_inc(x_33); -x_36 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_36, 0, x_33); -lean_inc(x_32); -x_37 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_37, 0, x_32); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -x_38 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_38, 0, x_32); -lean_closure_set(x_38, 1, x_33); -lean_closure_set(x_38, 2, x_34); -lean_inc(x_32); -x_39 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_39, 0, x_32); -lean_closure_set(x_39, 1, x_33); -lean_closure_set(x_39, 2, x_34); -x_40 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_40, 0, x_35); -lean_ctor_set(x_40, 1, x_36); -lean_ctor_set(x_40, 2, x_37); -lean_ctor_set(x_40, 3, x_38); -lean_ctor_set(x_40, 4, x_39); -x_41 = x_40; -x_42 = lean_ctor_get(x_10, 3); -lean_inc(x_42); -x_43 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_31); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_ctor_get(x_10, 1); -lean_inc(x_46); -x_47 = lean_ctor_get(x_10, 2); -lean_inc(x_47); -x_48 = lean_st_ref_get(x_11, x_45); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_environment_main_module(x_32); -x_53 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_53, 0, x_41); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_53, 2, x_44); -lean_ctor_set(x_53, 3, x_46); -lean_ctor_set(x_53, 4, x_47); -lean_ctor_set(x_53, 5, x_42); -x_54 = lean_box(0); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_51); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_27, x_1, x_28, x_53, x_55); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_st_ref_take(x_11, x_50); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = !lean_is_exclusive(x_61); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_64 = lean_ctor_get(x_61, 1); -lean_dec(x_64); -lean_ctor_set(x_61, 1, x_59); -x_65 = lean_st_ref_set(x_11, x_61, x_62); -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_ctor_get(x_58, 1); -lean_inc(x_67); -lean_dec(x_58); -x_68 = l_List_reverse___rarg(x_67); -x_69 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_68, x_6, x_7, x_8, x_9, x_10, x_11, x_66); -lean_dec(x_10); -lean_dec(x_6); -x_70 = !lean_is_exclusive(x_69); -if (x_70 == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_69, 0); -lean_dec(x_71); -x_72 = l_Lean_Elab_Term_Do_attachJP(x_25, x_57); +x_33 = l_Lean_Elab_Term_Do_attachJP(x_25, x_31); lean_dec(x_25); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_4); -lean_ctor_set(x_69, 0, x_73); -return x_69; +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_4); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_74 = lean_ctor_get(x_69, 1); -lean_inc(x_74); -lean_dec(x_69); -x_75 = l_Lean_Elab_Term_Do_attachJP(x_25, x_57); -lean_dec(x_25); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_4); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_74); -return x_77; -} -} -else -{ -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_78 = lean_ctor_get(x_61, 0); -x_79 = lean_ctor_get(x_61, 2); -x_80 = lean_ctor_get(x_61, 3); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_61); -x_81 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_81, 0, x_78); -lean_ctor_set(x_81, 1, x_59); -lean_ctor_set(x_81, 2, x_79); -lean_ctor_set(x_81, 3, x_80); -x_82 = lean_st_ref_set(x_11, x_81, x_62); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = lean_ctor_get(x_58, 1); -lean_inc(x_84); -lean_dec(x_58); -x_85 = l_List_reverse___rarg(x_84); -x_86 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_85, x_6, x_7, x_8, x_9, x_10, x_11, x_83); -lean_dec(x_10); -lean_dec(x_6); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_88 = x_86; -} else { - lean_dec_ref(x_86); - x_88 = lean_box(0); -} -x_89 = l_Lean_Elab_Term_Do_attachJP(x_25, x_57); -lean_dec(x_25); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_4); -if (lean_is_scalar(x_88)) { - x_91 = lean_alloc_ctor(0, 2, 0); -} else { - x_91 = x_88; -} -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_87); -return x_91; -} -} -else -{ -lean_object* x_92; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_dec(x_25); lean_dec(x_4); -x_92 = lean_ctor_get(x_56, 0); -lean_inc(x_92); -lean_dec(x_56); -if (lean_obj_tag(x_92) == 0) -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_95, 0, x_94); -x_96 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_96, 0, x_95); -x_97 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__1(x_93, x_96, x_6, x_7, x_8, x_9, x_10, x_11, x_50); -lean_dec(x_93); -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) -{ -return x_97; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_97, 0); -x_100 = lean_ctor_get(x_97, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_97); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; -} -} -else -{ -lean_object* x_102; uint8_t x_103; -lean_dec(x_10); -lean_dec(x_6); -x_102 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__3___rarg(x_50); -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) -{ -return x_102; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_102, 0); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_102); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; -} -} +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +lean_dec(x_30); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } @@ -18542,7 +13403,7 @@ return x_25; } else { -uint8_t x_26; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -18550,24 +13411,15 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_26 = !lean_is_exclusive(x_12); -if (x_26 == 0) -{ -return x_12; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_12, 0); -x_28 = lean_ctor_get(x_12, 1); -lean_inc(x_28); +x_26 = lean_ctor_get(x_12, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_12, 1); lean_inc(x_27); lean_dec(x_12); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } @@ -18598,7 +13450,7 @@ x_13 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasTermi lean_dec(x_12); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; uint8_t x_16; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); @@ -18608,39 +13460,30 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -return x_15; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); +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); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_box(0); -x_21 = l_Lean_Elab_Term_Do_concat___lambda__2(x_1, x_4, x_3, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_21; +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = l_Lean_Elab_Term_Do_concat___lambda__2(x_1, x_4, x_3, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_20; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at_Lean_Elab_Term_Do_concat___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -18649,12 +13492,13 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -18662,11 +13506,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -18676,6 +13520,18 @@ lean_dec(x_1); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_concat___spec__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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_concat___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} lean_object* l_Lean_Elab_Term_Do_concat___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: { @@ -18770,7 +13626,7 @@ lean_inc(x_1); x_9 = l_Lean_Elab_Term_getPatternVars(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_9) == 0) { -uint8_t x_10; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -18778,99 +13634,57 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Elab_Term_getPatternVarNames(x_11); -lean_dec(x_11); -lean_ctor_set(x_9, 0, x_12); -return x_9; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Elab_Term_getPatternVarNames(x_10); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); +lean_object* x_14; lean_object* x_15; x_14 = lean_ctor_get(x_9, 1); lean_inc(x_14); -lean_inc(x_13); lean_dec(x_9); -x_15 = l_Lean_Elab_Term_getPatternVarNames(x_13); -lean_dec(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_14); -return x_16; -} -} -else +x_15 = l_Lean_Elab_Term_Quotation_getPatternVars(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_9, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +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_9); -x_18 = l_Lean_Elab_Term_Quotation_getPatternVars(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_17); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_array_get_size(x_20); -x_22 = lean_usize_of_nat(x_21); -lean_dec(x_21); -x_23 = 0; -x_24 = x_20; -x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_getPatternVarsEx___spec__1(x_22, x_23, x_24); -x_26 = x_25; -lean_ctor_set(x_18, 0, x_26); -return x_18; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_27 = lean_ctor_get(x_18, 0); -x_28 = lean_ctor_get(x_18, 1); -lean_inc(x_28); -lean_inc(x_27); +lean_dec(x_15); +x_18 = lean_array_get_size(x_16); +x_19 = lean_usize_of_nat(x_18); lean_dec(x_18); -x_29 = lean_array_get_size(x_27); -x_30 = lean_usize_of_nat(x_29); -lean_dec(x_29); -x_31 = 0; -x_32 = x_27; -x_33 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_getPatternVarsEx___spec__1(x_30, x_31, x_32); -x_34 = x_33; -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_28); -return x_35; -} +x_20 = 0; +x_21 = x_16; +x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_getPatternVarsEx___spec__1(x_19, x_20, x_21); +x_23 = 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_17); +return x_24; } else { -uint8_t x_36; -x_36 = !lean_is_exclusive(x_18); -if (x_36 == 0) -{ -return x_18; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_18, 0); -x_38 = lean_ctor_get(x_18, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_18); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_15, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_15, 1); +lean_inc(x_26); +lean_dec(x_15); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } @@ -18900,106 +13714,64 @@ lean_inc(x_2); x_9 = l_Lean_Elab_Term_getPatternsVars(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_9) == 0) { -uint8_t x_10; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Elab_Term_getPatternVarNames(x_11); -lean_dec(x_11); -lean_ctor_set(x_9, 0, x_12); -return x_9; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Elab_Term_getPatternVarNames(x_10); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); +lean_object* x_14; lean_object* x_15; x_14 = lean_ctor_get(x_9, 1); lean_inc(x_14); -lean_inc(x_13); lean_dec(x_9); -x_15 = l_Lean_Elab_Term_getPatternVarNames(x_13); -lean_dec(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_14); -return x_16; -} -} -else +x_15 = l_Lean_Elab_Term_Quotation_getPatternsVars(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_9, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +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_9); -x_18 = l_Lean_Elab_Term_Quotation_getPatternsVars(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_17); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_array_get_size(x_20); -x_22 = lean_usize_of_nat(x_21); -lean_dec(x_21); -x_23 = 0; -x_24 = x_20; -x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_getPatternVarsEx___spec__1(x_22, x_23, x_24); -x_26 = x_25; -lean_ctor_set(x_18, 0, x_26); -return x_18; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_27 = lean_ctor_get(x_18, 0); -x_28 = lean_ctor_get(x_18, 1); -lean_inc(x_28); -lean_inc(x_27); +lean_dec(x_15); +x_18 = lean_array_get_size(x_16); +x_19 = lean_usize_of_nat(x_18); lean_dec(x_18); -x_29 = lean_array_get_size(x_27); -x_30 = lean_usize_of_nat(x_29); -lean_dec(x_29); -x_31 = 0; -x_32 = x_27; -x_33 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_getPatternVarsEx___spec__1(x_30, x_31, x_32); -x_34 = x_33; -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_28); -return x_35; -} +x_20 = 0; +x_21 = x_16; +x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_getPatternVarsEx___spec__1(x_19, x_20, x_21); +x_23 = 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_17); +return x_24; } else { -uint8_t x_36; -x_36 = !lean_is_exclusive(x_18); -if (x_36 == 0) -{ -return x_18; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_18, 0); -x_38 = lean_ctor_get(x_18, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_18); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_15, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_15, 1); +lean_inc(x_26); +lean_dec(x_15); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } @@ -19055,7 +13827,7 @@ return x_2; lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_getLetDeclVars___spec__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) { _start: { -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; uint8_t x_16; +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; x_9 = lean_ctor_get(x_6, 3); x_10 = lean_ctor_get(x_2, 3); lean_inc(x_10); @@ -19070,34 +13842,18 @@ lean_dec(x_12); x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); lean_dec(x_2); lean_dec(x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 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); x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; } } static lean_object* _init_l_Lean_Elab_Term_Do_getLetDeclVars___closed__1() { @@ -19378,7 +14134,7 @@ goto _start; } else { -uint8_t x_22; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -19386,24 +14142,15 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_22 = !lean_is_exclusive(x_15); -if (x_22 == 0) -{ -return x_15; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_15, 0); -x_24 = lean_ctor_get(x_15, 1); -lean_inc(x_24); +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_15, 1); lean_inc(x_23); lean_dec(x_15); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } @@ -19434,47 +14181,29 @@ x_23 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_getDoLetRecVars___spec__2 lean_dec(x_19); if (lean_obj_tag(x_23) == 0) { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -return x_23; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } else { -uint8_t x_28; -x_28 = !lean_is_exclusive(x_23); -if (x_28 == 0) -{ -return x_23; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_23, 0); -x_30 = lean_ctor_get(x_23, 1); -lean_inc(x_30); -lean_inc(x_29); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_23, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_23, 1); +lean_inc(x_28); lean_dec(x_23); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } @@ -20208,1240 +14937,628 @@ return x_1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___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, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_16; lean_object* x_17; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; +lean_object* x_16; lean_object* x_17; lean_object* x_24; lean_object* x_25; uint8_t 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_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__1; lean_inc(x_2); x_25 = lean_name_mk_string(x_2, x_24); lean_inc(x_1); x_26 = l_Lean_Syntax_isOfKind(x_1, x_25); lean_dec(x_25); -x_27 = !lean_is_exclusive(x_14); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_14, 5); -x_29 = l_Lean_replaceRef(x_1, x_28); -lean_dec(x_28); -lean_ctor_set(x_14, 5, x_29); +x_27 = lean_ctor_get(x_14, 0); +x_28 = lean_ctor_get(x_14, 1); +x_29 = lean_ctor_get(x_14, 2); +x_30 = lean_ctor_get(x_14, 3); +x_31 = lean_ctor_get(x_14, 4); +x_32 = lean_ctor_get(x_14, 5); +x_33 = l_Lean_replaceRef(x_1, x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +x_34 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_34, 0, x_27); +lean_ctor_set(x_34, 1, x_28); +lean_ctor_set(x_34, 2, x_29); +lean_ctor_set(x_34, 3, x_30); +lean_ctor_set(x_34, 4, x_31); +lean_ctor_set(x_34, 5, x_33); if (x_26 == 0) { -uint8_t x_30; +uint8_t x_35; lean_dec(x_10); lean_dec(x_2); lean_inc(x_1); -x_30 = l_Lean_Syntax_isOfKind(x_1, x_3); -if (x_30 == 0) +x_35 = l_Lean_Syntax_isOfKind(x_1, x_3); +if (x_35 == 0) { -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_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_dec(x_1); -x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_15); -lean_dec(x_14); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_Syntax_getHeadInfo_x3f(x_4); +x_36 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_34, x_15); +lean_dec(x_34); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Syntax_getHeadInfo_x3f(x_4); lean_inc(x_6); lean_inc(x_5); -x_35 = lean_array_push(x_5, x_6); -x_36 = lean_box(0); -x_37 = lean_array_push(x_35, x_36); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_3); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__2; -lean_inc(x_32); -x_40 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_40, 0, x_32); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__3; -lean_inc(x_32); -x_42 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_42, 0, x_32); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_array_push(x_5, x_42); -x_44 = lean_array_push(x_43, x_13); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_7); +x_40 = lean_array_push(x_5, x_6); +x_41 = lean_box(0); +x_42 = lean_array_push(x_40, x_41); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_3); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__2; +lean_inc(x_37); +x_45 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_45, 0, x_37); lean_ctor_set(x_45, 1, x_44); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; +x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__3; +lean_inc(x_37); x_47 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_47, 0, x_32); +lean_ctor_set(x_47, 0, x_37); lean_ctor_set(x_47, 1, x_46); -x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_49 = lean_array_push(x_48, x_47); -x_50 = lean_array_push(x_49, x_38); -x_51 = lean_array_push(x_50, x_40); -x_52 = lean_array_push(x_51, x_8); -x_53 = lean_array_push(x_52, x_6); -x_54 = lean_array_push(x_53, x_45); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_9); -lean_ctor_set(x_55, 1, x_54); -x_16 = x_55; -x_17 = x_33; +x_48 = lean_array_push(x_5, x_47); +x_49 = lean_array_push(x_48, x_13); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_7); +lean_ctor_set(x_50, 1, x_49); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_51 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_37); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_54 = lean_array_push(x_53, x_52); +x_55 = lean_array_push(x_54, x_43); +x_56 = lean_array_push(x_55, x_45); +x_57 = lean_array_push(x_56, x_8); +x_58 = lean_array_push(x_57, x_6); +x_59 = lean_array_push(x_58, x_50); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_9); +lean_ctor_set(x_60, 1, x_59); +x_16 = x_60; +x_17 = x_38; goto block_23; } 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_65; lean_object* x_66; -lean_dec(x_32); -x_56 = lean_ctor_get(x_34, 0); -lean_inc(x_56); -lean_dec(x_34); -x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_60 = lean_array_push(x_59, x_58); -x_61 = lean_array_push(x_60, x_38); -x_62 = lean_array_push(x_61, x_40); -x_63 = lean_array_push(x_62, x_8); -x_64 = lean_array_push(x_63, x_6); -x_65 = lean_array_push(x_64, x_45); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_9); -lean_ctor_set(x_66, 1, x_65); -x_16 = x_66; -x_17 = x_33; +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_dec(x_37); +x_61 = lean_ctor_get(x_39, 0); +lean_inc(x_61); +lean_dec(x_39); +x_62 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; +x_63 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_65 = lean_array_push(x_64, x_63); +x_66 = lean_array_push(x_65, x_43); +x_67 = lean_array_push(x_66, x_45); +x_68 = lean_array_push(x_67, x_8); +x_69 = lean_array_push(x_68, x_6); +x_70 = lean_array_push(x_69, x_50); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_9); +lean_ctor_set(x_71, 1, x_70); +x_16 = x_71; +x_17 = x_38; goto block_23; } } else { -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_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_3); -x_67 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_15); -lean_dec(x_14); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l_Lean_Syntax_getHeadInfo_x3f(x_4); -x_71 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__2; -lean_inc(x_68); -x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_68); -lean_ctor_set(x_72, 1, x_71); -x_73 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__3; -lean_inc(x_68); -x_74 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_74, 0, x_68); -lean_ctor_set(x_74, 1, x_73); -x_75 = lean_array_push(x_5, x_74); -x_76 = lean_array_push(x_75, x_13); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_7); +x_72 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_34, x_15); +lean_dec(x_34); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = l_Lean_Syntax_getHeadInfo_x3f(x_4); +x_76 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__2; +lean_inc(x_73); +x_77 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_77, 0, x_73); lean_ctor_set(x_77, 1, x_76); -if (lean_obj_tag(x_70) == 0) -{ -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; -x_78 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; +x_78 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__3; +lean_inc(x_73); x_79 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_79, 0, x_68); +lean_ctor_set(x_79, 0, x_73); lean_ctor_set(x_79, 1, x_78); -x_80 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_81 = lean_array_push(x_80, x_79); -x_82 = lean_array_push(x_81, x_1); -x_83 = lean_array_push(x_82, x_72); -x_84 = lean_array_push(x_83, x_8); -x_85 = lean_array_push(x_84, x_6); -x_86 = lean_array_push(x_85, x_77); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_9); -lean_ctor_set(x_87, 1, x_86); -x_16 = x_87; -x_17 = x_69; +x_80 = lean_array_push(x_5, x_79); +x_81 = lean_array_push(x_80, x_13); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_7); +lean_ctor_set(x_82, 1, x_81); +if (lean_obj_tag(x_75) == 0) +{ +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; +x_83 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; +x_84 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_84, 0, x_73); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_86 = lean_array_push(x_85, x_84); +x_87 = lean_array_push(x_86, x_1); +x_88 = lean_array_push(x_87, x_77); +x_89 = lean_array_push(x_88, x_8); +x_90 = lean_array_push(x_89, x_6); +x_91 = lean_array_push(x_90, x_82); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_9); +lean_ctor_set(x_92, 1, x_91); +x_16 = x_92; +x_17 = x_74; goto block_23; } else { -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_dec(x_68); -x_88 = lean_ctor_get(x_70, 0); -lean_inc(x_88); -lean_dec(x_70); -x_89 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; -x_90 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -x_91 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_92 = lean_array_push(x_91, x_90); -x_93 = lean_array_push(x_92, x_1); -x_94 = lean_array_push(x_93, x_72); -x_95 = lean_array_push(x_94, x_8); -x_96 = lean_array_push(x_95, x_6); -x_97 = lean_array_push(x_96, x_77); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_9); -lean_ctor_set(x_98, 1, x_97); -x_16 = x_98; -x_17 = x_69; +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_dec(x_73); +x_93 = lean_ctor_get(x_75, 0); +lean_inc(x_93); +lean_dec(x_75); +x_94 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; +x_95 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +x_96 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_97 = lean_array_push(x_96, x_95); +x_98 = lean_array_push(x_97, x_1); +x_99 = lean_array_push(x_98, x_77); +x_100 = lean_array_push(x_99, x_8); +x_101 = lean_array_push(x_100, x_6); +x_102 = lean_array_push(x_101, x_82); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_9); +lean_ctor_set(x_103, 1, x_102); +x_16 = x_103; +x_17 = x_74; goto block_23; } } } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; -x_99 = lean_unsigned_to_nat(1u); -x_100 = l_Lean_Syntax_getArg(x_1, x_99); -x_101 = lean_unsigned_to_nat(2u); -x_102 = l_Lean_Syntax_getArg(x_1, x_101); +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; +x_104 = lean_unsigned_to_nat(1u); +x_105 = l_Lean_Syntax_getArg(x_1, x_104); +x_106 = lean_unsigned_to_nat(2u); +x_107 = l_Lean_Syntax_getArg(x_1, x_106); lean_dec(x_1); -x_103 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__6; +x_108 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__6; lean_inc(x_2); -x_104 = lean_name_mk_string(x_2, x_103); -lean_inc(x_102); -x_105 = l_Lean_Syntax_isOfKind(x_102, x_104); -lean_dec(x_104); -if (x_105 == 0) +x_109 = lean_name_mk_string(x_2, x_108); +lean_inc(x_107); +x_110 = l_Lean_Syntax_isOfKind(x_107, x_109); +lean_dec(x_109); +if (x_110 == 0) { -lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_106 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__7; +lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_111 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__7; lean_inc(x_2); -x_107 = lean_name_mk_string(x_2, x_106); -lean_inc(x_102); -x_108 = l_Lean_Syntax_isOfKind(x_102, x_107); +x_112 = lean_name_mk_string(x_2, x_111); +lean_inc(x_107); +x_113 = l_Lean_Syntax_isOfKind(x_107, x_112); +lean_dec(x_112); +if (x_113 == 0) +{ +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_dec(x_107); -if (x_108 == 0) -{ -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_dec(x_102); -lean_dec(x_100); +lean_dec(x_105); lean_dec(x_10); lean_dec(x_2); -x_109 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_15); -lean_dec(x_14); -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_112 = l_Lean_Syntax_getHeadInfo_x3f(x_4); +x_114 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_34, x_15); +lean_dec(x_34); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = l_Lean_Syntax_getHeadInfo_x3f(x_4); lean_inc(x_6); lean_inc(x_5); -x_113 = lean_array_push(x_5, x_6); -x_114 = lean_box(0); -x_115 = lean_array_push(x_113, x_114); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_3); -lean_ctor_set(x_116, 1, x_115); -x_117 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__2; -lean_inc(x_110); -x_118 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_118, 0, x_110); -lean_ctor_set(x_118, 1, x_117); -x_119 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__3; -lean_inc(x_110); -x_120 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_120, 0, x_110); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_array_push(x_5, x_120); -x_122 = lean_array_push(x_121, x_13); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_7); +x_118 = lean_array_push(x_5, x_6); +x_119 = lean_box(0); +x_120 = lean_array_push(x_118, x_119); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_3); +lean_ctor_set(x_121, 1, x_120); +x_122 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__2; +lean_inc(x_115); +x_123 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_123, 0, x_115); lean_ctor_set(x_123, 1, x_122); -if (lean_obj_tag(x_112) == 0) -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_124 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; +x_124 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__3; +lean_inc(x_115); x_125 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_125, 0, x_110); +lean_ctor_set(x_125, 0, x_115); lean_ctor_set(x_125, 1, x_124); -x_126 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_127 = lean_array_push(x_126, x_125); -x_128 = lean_array_push(x_127, x_116); -x_129 = lean_array_push(x_128, x_118); -x_130 = lean_array_push(x_129, x_8); -x_131 = lean_array_push(x_130, x_6); -x_132 = lean_array_push(x_131, x_123); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_9); -lean_ctor_set(x_133, 1, x_132); -x_16 = x_133; -x_17 = x_111; +x_126 = lean_array_push(x_5, x_125); +x_127 = lean_array_push(x_126, x_13); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_7); +lean_ctor_set(x_128, 1, x_127); +if (lean_obj_tag(x_117) == 0) +{ +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; +x_129 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; +x_130 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_130, 0, x_115); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_132 = lean_array_push(x_131, x_130); +x_133 = lean_array_push(x_132, x_121); +x_134 = lean_array_push(x_133, x_123); +x_135 = lean_array_push(x_134, x_8); +x_136 = lean_array_push(x_135, x_6); +x_137 = lean_array_push(x_136, x_128); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_9); +lean_ctor_set(x_138, 1, x_137); +x_16 = x_138; +x_17 = x_116; goto block_23; } else { -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_dec(x_110); -x_134 = lean_ctor_get(x_112, 0); -lean_inc(x_134); -lean_dec(x_112); -x_135 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; -x_136 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_136, 0, x_134); -lean_ctor_set(x_136, 1, x_135); -x_137 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_138 = lean_array_push(x_137, x_136); -x_139 = lean_array_push(x_138, x_116); -x_140 = lean_array_push(x_139, x_118); -x_141 = lean_array_push(x_140, x_8); -x_142 = lean_array_push(x_141, x_6); -x_143 = lean_array_push(x_142, x_123); -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_9); -lean_ctor_set(x_144, 1, x_143); -x_16 = x_144; -x_17 = x_111; +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_dec(x_115); +x_139 = lean_ctor_get(x_117, 0); +lean_inc(x_139); +lean_dec(x_117); +x_140 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; +x_141 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_140); +x_142 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_143 = lean_array_push(x_142, x_141); +x_144 = lean_array_push(x_143, x_121); +x_145 = lean_array_push(x_144, x_123); +x_146 = lean_array_push(x_145, x_8); +x_147 = lean_array_push(x_146, x_6); +x_148 = lean_array_push(x_147, x_128); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_9); +lean_ctor_set(x_149, 1, x_148); +x_16 = x_149; +x_17 = x_116; goto block_23; } } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; 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_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_dec(x_9); lean_dec(x_3); -x_145 = l_Lean_Syntax_getArg(x_102, x_99); -lean_dec(x_102); -x_146 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_15); -lean_dec(x_14); -x_147 = lean_ctor_get(x_146, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_146, 1); -lean_inc(x_148); -lean_dec(x_146); -x_149 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__8; -lean_inc(x_2); -x_150 = lean_name_mk_string(x_2, x_149); -x_151 = l_Lean_Syntax_getHeadInfo_x3f(x_4); -x_152 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__9; -lean_inc(x_2); -x_153 = lean_name_mk_string(x_2, x_152); -x_154 = l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__1; +x_150 = l_Lean_Syntax_getArg(x_107, x_104); +lean_dec(x_107); +x_151 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_34, x_15); +lean_dec(x_34); +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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__8; lean_inc(x_2); x_155 = lean_name_mk_string(x_2, x_154); -x_156 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_147); -x_157 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_157, 0, x_147); -lean_ctor_set(x_157, 1, x_156); +x_156 = l_Lean_Syntax_getHeadInfo_x3f(x_4); +x_157 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__9; +lean_inc(x_2); +x_158 = lean_name_mk_string(x_2, x_157); +x_159 = l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__1; +lean_inc(x_2); +x_160 = lean_name_mk_string(x_2, x_159); +x_161 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_152); +x_162 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_162, 0, x_152); +lean_ctor_set(x_162, 1, x_161); lean_inc(x_5); -x_158 = lean_array_push(x_5, x_157); -x_159 = lean_array_push(x_158, x_145); -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_155); -lean_ctor_set(x_160, 1, x_159); -lean_inc(x_6); -lean_inc(x_5); -x_161 = lean_array_push(x_5, x_6); -x_162 = lean_array_push(x_161, x_160); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_153); -lean_ctor_set(x_163, 1, x_162); -lean_inc(x_10); -x_164 = lean_array_push(x_10, x_163); -lean_inc(x_7); +x_163 = lean_array_push(x_5, x_162); +x_164 = lean_array_push(x_163, x_150); x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_7); +lean_ctor_set(x_165, 0, x_160); lean_ctor_set(x_165, 1, x_164); -x_166 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_147); -x_167 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_167, 0, x_147); -lean_ctor_set(x_167, 1, x_166); -x_168 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__3; -lean_inc(x_2); -x_169 = lean_name_mk_string(x_2, x_168); -x_170 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__11; -lean_inc(x_2); -x_171 = lean_name_mk_string(x_2, x_170); -x_172 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_147); -x_173 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_173, 0, x_147); -lean_ctor_set(x_173, 1, x_172); +lean_inc(x_6); +lean_inc(x_5); +x_166 = lean_array_push(x_5, x_6); +x_167 = lean_array_push(x_166, x_165); +x_168 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_168, 0, x_158); +lean_ctor_set(x_168, 1, x_167); lean_inc(x_10); -x_174 = lean_array_push(x_10, x_100); +x_169 = lean_array_push(x_10, x_168); lean_inc(x_7); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_7); -lean_ctor_set(x_175, 1, x_174); -x_176 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_147); -x_177 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_177, 0, x_147); -lean_ctor_set(x_177, 1, x_176); -x_178 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_179 = lean_array_push(x_178, x_173); -lean_inc(x_179); -x_180 = lean_array_push(x_179, x_175); -lean_inc(x_177); -x_181 = lean_array_push(x_180, x_177); -x_182 = lean_array_push(x_181, x_8); -lean_inc(x_171); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_171); -lean_ctor_set(x_183, 1, x_182); -x_184 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__14; -x_185 = lean_name_mk_string(x_2, x_184); -x_186 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_147); -x_187 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_187, 0, x_147); -lean_ctor_set(x_187, 1, x_186); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_7); +lean_ctor_set(x_170, 1, x_169); +x_171 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +lean_inc(x_152); +x_172 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_172, 0, x_152); +lean_ctor_set(x_172, 1, x_171); +x_173 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__3; +lean_inc(x_2); +x_174 = lean_name_mk_string(x_2, x_173); +x_175 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__11; +lean_inc(x_2); +x_176 = lean_name_mk_string(x_2, x_175); +x_177 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; +lean_inc(x_152); +x_178 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_178, 0, x_152); +lean_ctor_set(x_178, 1, x_177); lean_inc(x_10); -x_188 = lean_array_push(x_10, x_187); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_185); -lean_ctor_set(x_189, 1, x_188); -lean_inc(x_10); -x_190 = lean_array_push(x_10, x_189); +x_179 = lean_array_push(x_10, x_105); lean_inc(x_7); -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_7); -lean_ctor_set(x_191, 1, x_190); -x_192 = lean_array_push(x_179, x_191); -x_193 = lean_array_push(x_192, x_177); -x_194 = lean_array_push(x_193, x_13); -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_171); -lean_ctor_set(x_195, 1, x_194); -x_196 = lean_array_push(x_5, x_183); -x_197 = lean_array_push(x_196, x_195); -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_7); -lean_ctor_set(x_198, 1, x_197); -x_199 = lean_array_push(x_10, x_198); +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_7); +lean_ctor_set(x_180, 1, x_179); +x_181 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_152); +x_182 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_182, 0, x_152); +lean_ctor_set(x_182, 1, x_181); +x_183 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_184 = lean_array_push(x_183, x_178); +lean_inc(x_184); +x_185 = lean_array_push(x_184, x_180); +lean_inc(x_182); +x_186 = lean_array_push(x_185, x_182); +x_187 = lean_array_push(x_186, x_8); +lean_inc(x_176); +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_176); +lean_ctor_set(x_188, 1, x_187); +x_189 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__14; +x_190 = lean_name_mk_string(x_2, x_189); +x_191 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; +lean_inc(x_152); +x_192 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_192, 0, x_152); +lean_ctor_set(x_192, 1, x_191); +lean_inc(x_10); +x_193 = lean_array_push(x_10, x_192); +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_190); +lean_ctor_set(x_194, 1, x_193); +lean_inc(x_10); +x_195 = lean_array_push(x_10, x_194); +lean_inc(x_7); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_7); +lean_ctor_set(x_196, 1, x_195); +x_197 = lean_array_push(x_184, x_196); +x_198 = lean_array_push(x_197, x_182); +x_199 = lean_array_push(x_198, x_13); x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_169); +lean_ctor_set(x_200, 0, x_176); lean_ctor_set(x_200, 1, x_199); -if (lean_obj_tag(x_151) == 0) +x_201 = lean_array_push(x_5, x_188); +x_202 = lean_array_push(x_201, x_200); +x_203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_203, 0, x_7); +lean_ctor_set(x_203, 1, x_202); +x_204 = lean_array_push(x_10, x_203); +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_174); +lean_ctor_set(x_205, 1, x_204); +if (lean_obj_tag(x_156) == 0) { -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; -x_201 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -x_202 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_202, 0, x_147); -lean_ctor_set(x_202, 1, x_201); -x_203 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_204 = lean_array_push(x_203, x_202); +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; +x_206 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +x_207 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_207, 0, x_152); +lean_ctor_set(x_207, 1, x_206); +x_208 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_209 = lean_array_push(x_208, x_207); lean_inc(x_6); -x_205 = lean_array_push(x_204, x_6); -x_206 = lean_array_push(x_205, x_165); -x_207 = lean_array_push(x_206, x_6); -x_208 = lean_array_push(x_207, x_167); -x_209 = lean_array_push(x_208, x_200); -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_150); -lean_ctor_set(x_210, 1, x_209); -x_16 = x_210; -x_17 = x_148; +x_210 = lean_array_push(x_209, x_6); +x_211 = lean_array_push(x_210, x_170); +x_212 = lean_array_push(x_211, x_6); +x_213 = lean_array_push(x_212, x_172); +x_214 = lean_array_push(x_213, x_205); +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_155); +lean_ctor_set(x_215, 1, x_214); +x_16 = x_215; +x_17 = x_153; goto block_23; } else { -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_dec(x_147); -x_211 = lean_ctor_get(x_151, 0); -lean_inc(x_211); -lean_dec(x_151); -x_212 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -x_213 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_213, 0, x_211); -lean_ctor_set(x_213, 1, x_212); -x_214 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_215 = lean_array_push(x_214, x_213); +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_dec(x_152); +x_216 = lean_ctor_get(x_156, 0); +lean_inc(x_216); +lean_dec(x_156); +x_217 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +x_218 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_218, 0, x_216); +lean_ctor_set(x_218, 1, x_217); +x_219 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_220 = lean_array_push(x_219, x_218); lean_inc(x_6); -x_216 = lean_array_push(x_215, x_6); -x_217 = lean_array_push(x_216, x_165); -x_218 = lean_array_push(x_217, x_6); -x_219 = lean_array_push(x_218, x_167); -x_220 = lean_array_push(x_219, x_200); -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_150); -lean_ctor_set(x_221, 1, x_220); -x_16 = x_221; -x_17 = x_148; +x_221 = lean_array_push(x_220, x_6); +x_222 = lean_array_push(x_221, x_170); +x_223 = lean_array_push(x_222, x_6); +x_224 = lean_array_push(x_223, x_172); +x_225 = lean_array_push(x_224, x_205); +x_226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_226, 0, x_155); +lean_ctor_set(x_226, 1, x_225); +x_16 = x_226; +x_17 = x_153; goto block_23; } } } else { -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_dec(x_9); lean_dec(x_3); -x_222 = l_Lean_Syntax_getArg(x_102, x_99); -lean_dec(x_102); -x_223 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_15); -lean_dec(x_14); -x_224 = lean_ctor_get(x_223, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_223, 1); -lean_inc(x_225); -lean_dec(x_223); -x_226 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__8; -lean_inc(x_2); -x_227 = lean_name_mk_string(x_2, x_226); -x_228 = l_Lean_Syntax_getHeadInfo_x3f(x_4); -x_229 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__9; -lean_inc(x_2); -x_230 = lean_name_mk_string(x_2, x_229); -lean_inc(x_6); -lean_inc(x_5); -x_231 = lean_array_push(x_5, x_6); -x_232 = lean_array_push(x_231, x_222); -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_230); -lean_ctor_set(x_233, 1, x_232); -lean_inc(x_10); -x_234 = lean_array_push(x_10, x_233); -lean_inc(x_7); -x_235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_235, 0, x_7); -lean_ctor_set(x_235, 1, x_234); -x_236 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_224); -x_237 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_237, 0, x_224); -lean_ctor_set(x_237, 1, x_236); -x_238 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__3; -lean_inc(x_2); -x_239 = lean_name_mk_string(x_2, x_238); -x_240 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__11; -lean_inc(x_2); -x_241 = lean_name_mk_string(x_2, x_240); -x_242 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_224); -x_243 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_243, 0, x_224); -lean_ctor_set(x_243, 1, x_242); -lean_inc(x_10); -x_244 = lean_array_push(x_10, x_100); -lean_inc(x_7); -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_7); -lean_ctor_set(x_245, 1, x_244); -x_246 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_224); -x_247 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_247, 0, x_224); -lean_ctor_set(x_247, 1, x_246); -x_248 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_249 = lean_array_push(x_248, x_243); -lean_inc(x_249); -x_250 = lean_array_push(x_249, x_245); -lean_inc(x_247); -x_251 = lean_array_push(x_250, x_247); -x_252 = lean_array_push(x_251, x_8); -lean_inc(x_241); -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_241); -lean_ctor_set(x_253, 1, x_252); -x_254 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__14; -x_255 = lean_name_mk_string(x_2, x_254); -x_256 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_224); -x_257 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_257, 0, x_224); -lean_ctor_set(x_257, 1, x_256); -lean_inc(x_10); -x_258 = lean_array_push(x_10, x_257); -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_255); -lean_ctor_set(x_259, 1, x_258); -lean_inc(x_10); -x_260 = lean_array_push(x_10, x_259); -lean_inc(x_7); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_7); -lean_ctor_set(x_261, 1, x_260); -x_262 = lean_array_push(x_249, x_261); -x_263 = lean_array_push(x_262, x_247); -x_264 = lean_array_push(x_263, x_13); -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_241); -lean_ctor_set(x_265, 1, x_264); -x_266 = lean_array_push(x_5, x_253); -x_267 = lean_array_push(x_266, x_265); -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_7); -lean_ctor_set(x_268, 1, x_267); -x_269 = lean_array_push(x_10, x_268); -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_239); -lean_ctor_set(x_270, 1, x_269); -if (lean_obj_tag(x_228) == 0) -{ -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; -x_271 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -x_272 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_272, 0, x_224); -lean_ctor_set(x_272, 1, x_271); -x_273 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_274 = lean_array_push(x_273, x_272); -lean_inc(x_6); -x_275 = lean_array_push(x_274, x_6); -x_276 = lean_array_push(x_275, x_235); -x_277 = lean_array_push(x_276, x_6); -x_278 = lean_array_push(x_277, x_237); -x_279 = lean_array_push(x_278, x_270); -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_227); -lean_ctor_set(x_280, 1, x_279); -x_16 = x_280; -x_17 = x_225; -goto block_23; -} -else -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -lean_dec(x_224); -x_281 = lean_ctor_get(x_228, 0); -lean_inc(x_281); +x_227 = l_Lean_Syntax_getArg(x_107, x_104); +lean_dec(x_107); +x_228 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_34, x_15); +lean_dec(x_34); +x_229 = lean_ctor_get(x_228, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_228, 1); +lean_inc(x_230); lean_dec(x_228); -x_282 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -x_283 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_283, 0, x_281); -lean_ctor_set(x_283, 1, x_282); -x_284 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_285 = lean_array_push(x_284, x_283); -lean_inc(x_6); -x_286 = lean_array_push(x_285, x_6); -x_287 = lean_array_push(x_286, x_235); -x_288 = lean_array_push(x_287, x_6); -x_289 = lean_array_push(x_288, x_237); -x_290 = lean_array_push(x_289, x_270); -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_227); -lean_ctor_set(x_291, 1, x_290); -x_16 = x_291; -x_17 = x_225; -goto block_23; -} -} -} -} -else -{ -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; -x_292 = lean_ctor_get(x_14, 0); -x_293 = lean_ctor_get(x_14, 1); -x_294 = lean_ctor_get(x_14, 2); -x_295 = lean_ctor_get(x_14, 3); -x_296 = lean_ctor_get(x_14, 4); -x_297 = lean_ctor_get(x_14, 5); -lean_inc(x_297); -lean_inc(x_296); -lean_inc(x_295); -lean_inc(x_294); -lean_inc(x_293); -lean_inc(x_292); -lean_dec(x_14); -x_298 = l_Lean_replaceRef(x_1, x_297); -lean_dec(x_297); -x_299 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_299, 0, x_292); -lean_ctor_set(x_299, 1, x_293); -lean_ctor_set(x_299, 2, x_294); -lean_ctor_set(x_299, 3, x_295); -lean_ctor_set(x_299, 4, x_296); -lean_ctor_set(x_299, 5, x_298); -if (x_26 == 0) -{ -uint8_t x_300; -lean_dec(x_10); -lean_dec(x_2); -lean_inc(x_1); -x_300 = l_Lean_Syntax_isOfKind(x_1, x_3); -if (x_300 == 0) -{ -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_dec(x_1); -x_301 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_299, x_15); -lean_dec(x_299); -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); -x_303 = lean_ctor_get(x_301, 1); -lean_inc(x_303); -lean_dec(x_301); -x_304 = l_Lean_Syntax_getHeadInfo_x3f(x_4); +x_231 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__8; +lean_inc(x_2); +x_232 = lean_name_mk_string(x_2, x_231); +x_233 = l_Lean_Syntax_getHeadInfo_x3f(x_4); +x_234 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__9; +lean_inc(x_2); +x_235 = lean_name_mk_string(x_2, x_234); lean_inc(x_6); lean_inc(x_5); -x_305 = lean_array_push(x_5, x_6); -x_306 = lean_box(0); -x_307 = lean_array_push(x_305, x_306); -x_308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_308, 0, x_3); -lean_ctor_set(x_308, 1, x_307); -x_309 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__2; -lean_inc(x_302); -x_310 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_310, 0, x_302); -lean_ctor_set(x_310, 1, x_309); -x_311 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__3; -lean_inc(x_302); -x_312 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_312, 0, x_302); -lean_ctor_set(x_312, 1, x_311); -x_313 = lean_array_push(x_5, x_312); -x_314 = lean_array_push(x_313, x_13); -x_315 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_315, 0, x_7); -lean_ctor_set(x_315, 1, x_314); -if (lean_obj_tag(x_304) == 0) -{ -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; -x_316 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; -x_317 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_317, 0, x_302); -lean_ctor_set(x_317, 1, x_316); -x_318 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_319 = lean_array_push(x_318, x_317); -x_320 = lean_array_push(x_319, x_308); -x_321 = lean_array_push(x_320, x_310); -x_322 = lean_array_push(x_321, x_8); -x_323 = lean_array_push(x_322, x_6); -x_324 = lean_array_push(x_323, x_315); -x_325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_325, 0, x_9); -lean_ctor_set(x_325, 1, x_324); -x_16 = x_325; -x_17 = x_303; -goto block_23; -} -else -{ -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_302); -x_326 = lean_ctor_get(x_304, 0); -lean_inc(x_326); -lean_dec(x_304); -x_327 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; -x_328 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_328, 0, x_326); -lean_ctor_set(x_328, 1, x_327); -x_329 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_330 = lean_array_push(x_329, x_328); -x_331 = lean_array_push(x_330, x_308); -x_332 = lean_array_push(x_331, x_310); -x_333 = lean_array_push(x_332, x_8); -x_334 = lean_array_push(x_333, x_6); -x_335 = lean_array_push(x_334, x_315); -x_336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_336, 0, x_9); -lean_ctor_set(x_336, 1, x_335); -x_16 = x_336; -x_17 = x_303; -goto block_23; -} -} -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_dec(x_3); -x_337 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_299, x_15); -lean_dec(x_299); -x_338 = lean_ctor_get(x_337, 0); -lean_inc(x_338); -x_339 = lean_ctor_get(x_337, 1); -lean_inc(x_339); -lean_dec(x_337); -x_340 = l_Lean_Syntax_getHeadInfo_x3f(x_4); -x_341 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__2; -lean_inc(x_338); -x_342 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_342, 0, x_338); -lean_ctor_set(x_342, 1, x_341); -x_343 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__3; -lean_inc(x_338); -x_344 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_344, 0, x_338); -lean_ctor_set(x_344, 1, x_343); -x_345 = lean_array_push(x_5, x_344); -x_346 = lean_array_push(x_345, x_13); -x_347 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_347, 0, x_7); -lean_ctor_set(x_347, 1, x_346); -if (lean_obj_tag(x_340) == 0) -{ -lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; -x_348 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; -x_349 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_349, 0, x_338); -lean_ctor_set(x_349, 1, x_348); -x_350 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_351 = lean_array_push(x_350, x_349); -x_352 = lean_array_push(x_351, x_1); -x_353 = lean_array_push(x_352, x_342); -x_354 = lean_array_push(x_353, x_8); -x_355 = lean_array_push(x_354, x_6); -x_356 = lean_array_push(x_355, x_347); -x_357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_357, 0, x_9); -lean_ctor_set(x_357, 1, x_356); -x_16 = x_357; -x_17 = x_339; -goto block_23; -} -else -{ -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_dec(x_338); -x_358 = lean_ctor_get(x_340, 0); -lean_inc(x_358); -lean_dec(x_340); -x_359 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; -x_360 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_360, 0, x_358); -lean_ctor_set(x_360, 1, x_359); -x_361 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_362 = lean_array_push(x_361, x_360); -x_363 = lean_array_push(x_362, x_1); -x_364 = lean_array_push(x_363, x_342); -x_365 = lean_array_push(x_364, x_8); -x_366 = lean_array_push(x_365, x_6); -x_367 = lean_array_push(x_366, x_347); -x_368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_368, 0, x_9); -lean_ctor_set(x_368, 1, x_367); -x_16 = x_368; -x_17 = x_339; -goto block_23; -} -} -} -else -{ -lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; uint8_t x_375; -x_369 = lean_unsigned_to_nat(1u); -x_370 = l_Lean_Syntax_getArg(x_1, x_369); -x_371 = lean_unsigned_to_nat(2u); -x_372 = l_Lean_Syntax_getArg(x_1, x_371); -lean_dec(x_1); -x_373 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__6; -lean_inc(x_2); -x_374 = lean_name_mk_string(x_2, x_373); -lean_inc(x_372); -x_375 = l_Lean_Syntax_isOfKind(x_372, x_374); -lean_dec(x_374); -if (x_375 == 0) -{ -lean_object* x_376; lean_object* x_377; uint8_t x_378; -x_376 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__7; -lean_inc(x_2); -x_377 = lean_name_mk_string(x_2, x_376); -lean_inc(x_372); -x_378 = l_Lean_Syntax_isOfKind(x_372, x_377); -lean_dec(x_377); -if (x_378 == 0) -{ -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_dec(x_372); -lean_dec(x_370); -lean_dec(x_10); -lean_dec(x_2); -x_379 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_299, x_15); -lean_dec(x_299); -x_380 = lean_ctor_get(x_379, 0); -lean_inc(x_380); -x_381 = lean_ctor_get(x_379, 1); -lean_inc(x_381); -lean_dec(x_379); -x_382 = l_Lean_Syntax_getHeadInfo_x3f(x_4); -lean_inc(x_6); -lean_inc(x_5); -x_383 = lean_array_push(x_5, x_6); -x_384 = lean_box(0); -x_385 = lean_array_push(x_383, x_384); -x_386 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_386, 0, x_3); -lean_ctor_set(x_386, 1, x_385); -x_387 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__2; -lean_inc(x_380); -x_388 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_388, 0, x_380); -lean_ctor_set(x_388, 1, x_387); -x_389 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__3; -lean_inc(x_380); -x_390 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_390, 0, x_380); -lean_ctor_set(x_390, 1, x_389); -x_391 = lean_array_push(x_5, x_390); -x_392 = lean_array_push(x_391, x_13); -x_393 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_393, 0, x_7); -lean_ctor_set(x_393, 1, x_392); -if (lean_obj_tag(x_382) == 0) -{ -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; -x_394 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; -x_395 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_395, 0, x_380); -lean_ctor_set(x_395, 1, x_394); -x_396 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_397 = lean_array_push(x_396, x_395); -x_398 = lean_array_push(x_397, x_386); -x_399 = lean_array_push(x_398, x_388); -x_400 = lean_array_push(x_399, x_8); -x_401 = lean_array_push(x_400, x_6); -x_402 = lean_array_push(x_401, x_393); -x_403 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_403, 0, x_9); -lean_ctor_set(x_403, 1, x_402); -x_16 = x_403; -x_17 = x_381; -goto block_23; -} -else -{ -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_dec(x_380); -x_404 = lean_ctor_get(x_382, 0); -lean_inc(x_404); -lean_dec(x_382); -x_405 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__5; -x_406 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_406, 0, x_404); -lean_ctor_set(x_406, 1, x_405); -x_407 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_408 = lean_array_push(x_407, x_406); -x_409 = lean_array_push(x_408, x_386); -x_410 = lean_array_push(x_409, x_388); -x_411 = lean_array_push(x_410, x_8); -x_412 = lean_array_push(x_411, x_6); -x_413 = lean_array_push(x_412, x_393); -x_414 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_414, 0, x_9); -lean_ctor_set(x_414, 1, x_413); -x_16 = x_414; -x_17 = x_381; -goto block_23; -} -} -else -{ -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_dec(x_9); -lean_dec(x_3); -x_415 = l_Lean_Syntax_getArg(x_372, x_369); -lean_dec(x_372); -x_416 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_299, x_15); -lean_dec(x_299); -x_417 = lean_ctor_get(x_416, 0); -lean_inc(x_417); -x_418 = lean_ctor_get(x_416, 1); -lean_inc(x_418); -lean_dec(x_416); -x_419 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__8; -lean_inc(x_2); -x_420 = lean_name_mk_string(x_2, x_419); -x_421 = l_Lean_Syntax_getHeadInfo_x3f(x_4); -x_422 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__9; -lean_inc(x_2); -x_423 = lean_name_mk_string(x_2, x_422); -x_424 = l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__1; -lean_inc(x_2); -x_425 = lean_name_mk_string(x_2, x_424); -x_426 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_417); -x_427 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_427, 0, x_417); -lean_ctor_set(x_427, 1, x_426); -lean_inc(x_5); -x_428 = lean_array_push(x_5, x_427); -x_429 = lean_array_push(x_428, x_415); -x_430 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_430, 0, x_425); -lean_ctor_set(x_430, 1, x_429); -lean_inc(x_6); -lean_inc(x_5); -x_431 = lean_array_push(x_5, x_6); -x_432 = lean_array_push(x_431, x_430); -x_433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_433, 0, x_423); -lean_ctor_set(x_433, 1, x_432); +x_236 = lean_array_push(x_5, x_6); +x_237 = lean_array_push(x_236, x_227); +x_238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_238, 0, x_235); +lean_ctor_set(x_238, 1, x_237); lean_inc(x_10); -x_434 = lean_array_push(x_10, x_433); +x_239 = lean_array_push(x_10, x_238); lean_inc(x_7); -x_435 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_435, 0, x_7); -lean_ctor_set(x_435, 1, x_434); -x_436 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_417); -x_437 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_437, 0, x_417); -lean_ctor_set(x_437, 1, x_436); -x_438 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__3; +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_7); +lean_ctor_set(x_240, 1, x_239); +x_241 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +lean_inc(x_229); +x_242 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_242, 0, x_229); +lean_ctor_set(x_242, 1, x_241); +x_243 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__3; lean_inc(x_2); -x_439 = lean_name_mk_string(x_2, x_438); -x_440 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__11; +x_244 = lean_name_mk_string(x_2, x_243); +x_245 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__11; lean_inc(x_2); -x_441 = lean_name_mk_string(x_2, x_440); -x_442 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_417); -x_443 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_443, 0, x_417); -lean_ctor_set(x_443, 1, x_442); +x_246 = lean_name_mk_string(x_2, x_245); +x_247 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; +lean_inc(x_229); +x_248 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_248, 0, x_229); +lean_ctor_set(x_248, 1, x_247); lean_inc(x_10); -x_444 = lean_array_push(x_10, x_370); +x_249 = lean_array_push(x_10, x_105); lean_inc(x_7); -x_445 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_445, 0, x_7); -lean_ctor_set(x_445, 1, x_444); -x_446 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_417); -x_447 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_447, 0, x_417); -lean_ctor_set(x_447, 1, x_446); -x_448 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_449 = lean_array_push(x_448, x_443); -lean_inc(x_449); -x_450 = lean_array_push(x_449, x_445); -lean_inc(x_447); -x_451 = lean_array_push(x_450, x_447); -x_452 = lean_array_push(x_451, x_8); -lean_inc(x_441); -x_453 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_453, 0, x_441); -lean_ctor_set(x_453, 1, x_452); -x_454 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__14; -x_455 = lean_name_mk_string(x_2, x_454); -x_456 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_417); -x_457 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_457, 0, x_417); -lean_ctor_set(x_457, 1, x_456); +x_250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_250, 0, x_7); +lean_ctor_set(x_250, 1, x_249); +x_251 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_229); +x_252 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_252, 0, x_229); +lean_ctor_set(x_252, 1, x_251); +x_253 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_254 = lean_array_push(x_253, x_248); +lean_inc(x_254); +x_255 = lean_array_push(x_254, x_250); +lean_inc(x_252); +x_256 = lean_array_push(x_255, x_252); +x_257 = lean_array_push(x_256, x_8); +lean_inc(x_246); +x_258 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_258, 0, x_246); +lean_ctor_set(x_258, 1, x_257); +x_259 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__14; +x_260 = lean_name_mk_string(x_2, x_259); +x_261 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; +lean_inc(x_229); +x_262 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_262, 0, x_229); +lean_ctor_set(x_262, 1, x_261); lean_inc(x_10); -x_458 = lean_array_push(x_10, x_457); -x_459 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_459, 0, x_455); -lean_ctor_set(x_459, 1, x_458); +x_263 = lean_array_push(x_10, x_262); +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_260); +lean_ctor_set(x_264, 1, x_263); lean_inc(x_10); -x_460 = lean_array_push(x_10, x_459); +x_265 = lean_array_push(x_10, x_264); lean_inc(x_7); -x_461 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_461, 0, x_7); -lean_ctor_set(x_461, 1, x_460); -x_462 = lean_array_push(x_449, x_461); -x_463 = lean_array_push(x_462, x_447); -x_464 = lean_array_push(x_463, x_13); -x_465 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_465, 0, x_441); -lean_ctor_set(x_465, 1, x_464); -x_466 = lean_array_push(x_5, x_453); -x_467 = lean_array_push(x_466, x_465); -x_468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_468, 0, x_7); -lean_ctor_set(x_468, 1, x_467); -x_469 = lean_array_push(x_10, x_468); -x_470 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_470, 0, x_439); -lean_ctor_set(x_470, 1, x_469); -if (lean_obj_tag(x_421) == 0) +x_266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_7); +lean_ctor_set(x_266, 1, x_265); +x_267 = lean_array_push(x_254, x_266); +x_268 = lean_array_push(x_267, x_252); +x_269 = lean_array_push(x_268, x_13); +x_270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_246); +lean_ctor_set(x_270, 1, x_269); +x_271 = lean_array_push(x_5, x_258); +x_272 = lean_array_push(x_271, x_270); +x_273 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_273, 0, x_7); +lean_ctor_set(x_273, 1, x_272); +x_274 = lean_array_push(x_10, x_273); +x_275 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_275, 0, x_244); +lean_ctor_set(x_275, 1, x_274); +if (lean_obj_tag(x_233) == 0) { -lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; -x_471 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -x_472 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_472, 0, x_417); -lean_ctor_set(x_472, 1, x_471); -x_473 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_474 = lean_array_push(x_473, x_472); +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; +x_276 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +x_277 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_277, 0, x_229); +lean_ctor_set(x_277, 1, x_276); +x_278 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_279 = lean_array_push(x_278, x_277); lean_inc(x_6); -x_475 = lean_array_push(x_474, x_6); -x_476 = lean_array_push(x_475, x_435); -x_477 = lean_array_push(x_476, x_6); -x_478 = lean_array_push(x_477, x_437); -x_479 = lean_array_push(x_478, x_470); -x_480 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_480, 0, x_420); -lean_ctor_set(x_480, 1, x_479); -x_16 = x_480; -x_17 = x_418; +x_280 = lean_array_push(x_279, x_6); +x_281 = lean_array_push(x_280, x_240); +x_282 = lean_array_push(x_281, x_6); +x_283 = lean_array_push(x_282, x_242); +x_284 = lean_array_push(x_283, x_275); +x_285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_285, 0, x_232); +lean_ctor_set(x_285, 1, x_284); +x_16 = x_285; +x_17 = x_230; goto block_23; } else { -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_dec(x_417); -x_481 = lean_ctor_get(x_421, 0); -lean_inc(x_481); -lean_dec(x_421); -x_482 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -x_483 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_483, 0, x_481); -lean_ctor_set(x_483, 1, x_482); -x_484 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_485 = lean_array_push(x_484, x_483); +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_dec(x_229); +x_286 = lean_ctor_get(x_233, 0); +lean_inc(x_286); +lean_dec(x_233); +x_287 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +x_288 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_288, 0, x_286); +lean_ctor_set(x_288, 1, x_287); +x_289 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_290 = lean_array_push(x_289, x_288); lean_inc(x_6); -x_486 = lean_array_push(x_485, x_6); -x_487 = lean_array_push(x_486, x_435); -x_488 = lean_array_push(x_487, x_6); -x_489 = lean_array_push(x_488, x_437); -x_490 = lean_array_push(x_489, x_470); -x_491 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_491, 0, x_420); -lean_ctor_set(x_491, 1, x_490); -x_16 = x_491; -x_17 = x_418; +x_291 = lean_array_push(x_290, x_6); +x_292 = lean_array_push(x_291, x_240); +x_293 = lean_array_push(x_292, x_6); +x_294 = lean_array_push(x_293, x_242); +x_295 = lean_array_push(x_294, x_275); +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_232); +lean_ctor_set(x_296, 1, x_295); +x_16 = x_296; +x_17 = x_230; goto block_23; } } } -else -{ -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_dec(x_9); -lean_dec(x_3); -x_492 = l_Lean_Syntax_getArg(x_372, x_369); -lean_dec(x_372); -x_493 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_299, x_15); -lean_dec(x_299); -x_494 = lean_ctor_get(x_493, 0); -lean_inc(x_494); -x_495 = lean_ctor_get(x_493, 1); -lean_inc(x_495); -lean_dec(x_493); -x_496 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__8; -lean_inc(x_2); -x_497 = lean_name_mk_string(x_2, x_496); -x_498 = l_Lean_Syntax_getHeadInfo_x3f(x_4); -x_499 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__9; -lean_inc(x_2); -x_500 = lean_name_mk_string(x_2, x_499); -lean_inc(x_6); -lean_inc(x_5); -x_501 = lean_array_push(x_5, x_6); -x_502 = lean_array_push(x_501, x_492); -x_503 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_503, 0, x_500); -lean_ctor_set(x_503, 1, x_502); -lean_inc(x_10); -x_504 = lean_array_push(x_10, x_503); -lean_inc(x_7); -x_505 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_505, 0, x_7); -lean_ctor_set(x_505, 1, x_504); -x_506 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_494); -x_507 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_507, 0, x_494); -lean_ctor_set(x_507, 1, x_506); -x_508 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__3; -lean_inc(x_2); -x_509 = lean_name_mk_string(x_2, x_508); -x_510 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__11; -lean_inc(x_2); -x_511 = lean_name_mk_string(x_2, x_510); -x_512 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_494); -x_513 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_513, 0, x_494); -lean_ctor_set(x_513, 1, x_512); -lean_inc(x_10); -x_514 = lean_array_push(x_10, x_370); -lean_inc(x_7); -x_515 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_515, 0, x_7); -lean_ctor_set(x_515, 1, x_514); -x_516 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_494); -x_517 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_517, 0, x_494); -lean_ctor_set(x_517, 1, x_516); -x_518 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_519 = lean_array_push(x_518, x_513); -lean_inc(x_519); -x_520 = lean_array_push(x_519, x_515); -lean_inc(x_517); -x_521 = lean_array_push(x_520, x_517); -x_522 = lean_array_push(x_521, x_8); -lean_inc(x_511); -x_523 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_523, 0, x_511); -lean_ctor_set(x_523, 1, x_522); -x_524 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__14; -x_525 = lean_name_mk_string(x_2, x_524); -x_526 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_494); -x_527 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_527, 0, x_494); -lean_ctor_set(x_527, 1, x_526); -lean_inc(x_10); -x_528 = lean_array_push(x_10, x_527); -x_529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_529, 0, x_525); -lean_ctor_set(x_529, 1, x_528); -lean_inc(x_10); -x_530 = lean_array_push(x_10, x_529); -lean_inc(x_7); -x_531 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_531, 0, x_7); -lean_ctor_set(x_531, 1, x_530); -x_532 = lean_array_push(x_519, x_531); -x_533 = lean_array_push(x_532, x_517); -x_534 = lean_array_push(x_533, x_13); -x_535 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_535, 0, x_511); -lean_ctor_set(x_535, 1, x_534); -x_536 = lean_array_push(x_5, x_523); -x_537 = lean_array_push(x_536, x_535); -x_538 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_538, 0, x_7); -lean_ctor_set(x_538, 1, x_537); -x_539 = lean_array_push(x_10, x_538); -x_540 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_540, 0, x_509); -lean_ctor_set(x_540, 1, x_539); -if (lean_obj_tag(x_498) == 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; lean_object* x_548; lean_object* x_549; lean_object* x_550; -x_541 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -x_542 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_542, 0, x_494); -lean_ctor_set(x_542, 1, x_541); -x_543 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_544 = lean_array_push(x_543, x_542); -lean_inc(x_6); -x_545 = lean_array_push(x_544, x_6); -x_546 = lean_array_push(x_545, x_505); -x_547 = lean_array_push(x_546, x_6); -x_548 = lean_array_push(x_547, x_507); -x_549 = lean_array_push(x_548, x_540); -x_550 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_550, 0, x_497); -lean_ctor_set(x_550, 1, x_549); -x_16 = x_550; -x_17 = x_495; -goto block_23; -} -else -{ -lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; -lean_dec(x_494); -x_551 = lean_ctor_get(x_498, 0); -lean_inc(x_551); -lean_dec(x_498); -x_552 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -x_553 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_553, 0, x_551); -lean_ctor_set(x_553, 1, x_552); -x_554 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_555 = lean_array_push(x_554, x_553); -lean_inc(x_6); -x_556 = lean_array_push(x_555, x_6); -x_557 = lean_array_push(x_556, x_505); -x_558 = lean_array_push(x_557, x_6); -x_559 = lean_array_push(x_558, x_507); -x_560 = lean_array_push(x_559, x_540); -x_561 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_561, 0, x_497); -lean_ctor_set(x_561, 1, x_560); -x_16 = x_561; -x_17 = x_495; -goto block_23; -} -} -} -} block_23: { uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; @@ -21467,7 +15584,6 @@ x_16 = x_12 < x_11; if (x_16 == 0) { lean_object* x_17; -lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -21532,7 +15648,6 @@ lean_ctor_set(x_34, 0, x_4); lean_ctor_set(x_34, 1, x_33); x_35 = lean_unbox(x_20); lean_dec(x_20); -lean_inc(x_14); lean_inc(x_7); lean_inc(x_2); lean_inc(x_5); @@ -21574,7 +15689,6 @@ lean_inc(x_46); lean_dec(x_13); x_47 = lean_unbox(x_20); lean_dec(x_20); -lean_inc(x_14); lean_inc(x_46); lean_inc(x_7); lean_inc(x_2); @@ -21612,7 +15726,6 @@ x_16 = x_12 < x_11; if (x_16 == 0) { lean_object* x_17; -lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -21677,7 +15790,6 @@ lean_ctor_set(x_34, 0, x_4); lean_ctor_set(x_34, 1, x_33); x_35 = lean_unbox(x_20); lean_dec(x_20); -lean_inc(x_14); lean_inc(x_7); lean_inc(x_2); lean_inc(x_5); @@ -21719,7 +15831,6 @@ lean_inc(x_46); lean_dec(x_13); x_47 = lean_unbox(x_20); lean_dec(x_20); -lean_inc(x_14); lean_inc(x_46); lean_inc(x_7); lean_inc(x_2); @@ -21757,7 +15868,6 @@ x_16 = x_12 < x_11; if (x_16 == 0) { lean_object* x_17; -lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -21822,7 +15932,6 @@ lean_ctor_set(x_34, 0, x_4); lean_ctor_set(x_34, 1, x_33); x_35 = lean_unbox(x_20); lean_dec(x_20); -lean_inc(x_14); lean_inc(x_7); lean_inc(x_2); lean_inc(x_5); @@ -21864,7 +15973,6 @@ lean_inc(x_46); lean_dec(x_13); x_47 = lean_unbox(x_20); lean_dec(x_20); -lean_inc(x_14); lean_inc(x_46); lean_inc(x_7); lean_inc(x_2); @@ -21902,7 +16010,6 @@ x_16 = x_12 < x_11; if (x_16 == 0) { lean_object* x_17; -lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -21967,7 +16074,6 @@ lean_ctor_set(x_34, 0, x_4); lean_ctor_set(x_34, 1, x_33); x_35 = lean_unbox(x_20); lean_dec(x_20); -lean_inc(x_14); lean_inc(x_7); lean_inc(x_2); lean_inc(x_5); @@ -22009,7 +16115,6 @@ lean_inc(x_46); lean_dec(x_13); x_47 = lean_unbox(x_20); lean_dec(x_20); -lean_inc(x_14); lean_inc(x_46); lean_inc(x_7); lean_inc(x_2); @@ -22120,570 +16225,133 @@ return x_1; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_16; -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) -{ -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; size_t x_69; +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; size_t x_72; +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); x_18 = lean_ctor_get(x_14, 2); -x_19 = lean_ctor_get(x_14, 5); -x_20 = l_Lean_replaceRef(x_1, x_19); -lean_dec(x_19); lean_inc(x_18); -lean_inc(x_17); -lean_ctor_set(x_14, 5, x_20); -x_21 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_14, x_15); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__9; -lean_inc(x_2); -x_25 = lean_name_mk_string(x_2, x_24); -x_26 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__1; -lean_inc(x_2); -x_27 = lean_name_mk_string(x_2, x_26); -x_28 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__7; -lean_inc(x_2); -x_29 = lean_name_mk_string(x_2, x_28); -x_30 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__1; -lean_inc(x_2); -x_31 = lean_name_mk_string(x_2, x_30); -x_32 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -lean_inc(x_18); -lean_inc(x_17); -x_33 = l_Lean_addMacroScope(x_17, x_32, x_18); -x_34 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_35 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_22); -x_36 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_36, 0, x_22); -lean_ctor_set(x_36, 1, x_34); -lean_ctor_set(x_36, 2, x_33); -lean_ctor_set(x_36, 3, x_35); -x_37 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; -x_38 = l_Lean_addMacroScope(x_17, x_37, x_18); -x_39 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -x_40 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; -x_41 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_41, 0, x_22); -lean_ctor_set(x_41, 1, x_39); -lean_ctor_set(x_41, 2, x_38); -lean_ctor_set(x_41, 3, x_40); -x_42 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_43 = lean_array_push(x_42, x_41); -x_44 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_47 = lean_array_push(x_46, x_36); -x_48 = lean_array_push(x_47, x_45); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_31); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_array_push(x_42, x_49); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_29); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_array_push(x_46, x_51); -x_53 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_54 = lean_array_push(x_52, x_53); -lean_inc(x_27); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_27); -lean_ctor_set(x_55, 1, x_54); -x_56 = lean_array_push(x_42, x_55); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_44); -lean_ctor_set(x_57, 1, x_56); -x_58 = lean_array_push(x_42, x_57); -lean_inc(x_25); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_25); -lean_ctor_set(x_59, 1, x_58); -x_60 = l_Array_reverse___rarg(x_3); -x_61 = lean_array_push(x_60, x_4); -x_62 = l_Array_reverse___rarg(x_5); -x_63 = lean_array_push(x_62, x_6); -x_64 = l_Array_reverse___rarg(x_7); -x_65 = lean_array_push(x_64, x_8); -x_66 = l_Array_zip___rarg(x_63, x_65); -lean_dec(x_65); -lean_dec(x_63); -x_67 = l_Array_zip___rarg(x_61, x_66); -lean_dec(x_66); -lean_dec(x_61); -x_68 = lean_array_get_size(x_67); -x_69 = lean_usize_of_nat(x_68); -lean_dec(x_68); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_70 = 1; -x_71 = lean_box(x_70); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_59); -x_73 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6(x_2, x_9, x_10, x_25, x_44, x_27, x_42, x_46, x_53, x_67, x_69, x_11, x_72, x_14, x_23); -lean_dec(x_67); -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_73, 0); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_77 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_73, 0, x_77); -return x_73; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_78 = lean_ctor_get(x_73, 0); -x_79 = lean_ctor_get(x_73, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_73); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec(x_78); -x_81 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_81, 0, x_80); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_79); -return x_82; -} -} -else -{ -uint8_t x_83; -lean_dec(x_59); -x_83 = !lean_is_exclusive(x_13); -if (x_83 == 0) -{ -lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; -x_84 = lean_ctor_get(x_13, 0); -x_85 = 1; -x_86 = lean_box(x_85); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_84); -x_88 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__7(x_2, x_9, x_10, x_25, x_44, x_27, x_42, x_46, x_53, x_67, x_69, x_11, x_87, x_14, x_23); -lean_dec(x_67); -x_89 = !lean_is_exclusive(x_88); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_ctor_get(x_88, 0); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -lean_ctor_set(x_13, 0, x_91); -lean_ctor_set(x_88, 0, x_13); -return x_88; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_88, 0); -x_93 = lean_ctor_get(x_88, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_88); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -lean_ctor_set(x_13, 0, x_94); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_13); -lean_ctor_set(x_95, 1, x_93); -return x_95; -} -} -else -{ -lean_object* x_96; uint8_t 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; -x_96 = lean_ctor_get(x_13, 0); -lean_inc(x_96); -lean_dec(x_13); -x_97 = 1; -x_98 = lean_box(x_97); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_96); -x_100 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__7(x_2, x_9, x_10, x_25, x_44, x_27, x_42, x_46, x_53, x_67, x_69, x_11, x_99, x_14, x_23); -lean_dec(x_67); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_103 = x_100; -} else { - lean_dec_ref(x_100); - x_103 = lean_box(0); -} -x_104 = lean_ctor_get(x_101, 1); -lean_inc(x_104); -lean_dec(x_101); -x_105 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_105, 0, x_104); -if (lean_is_scalar(x_103)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_103; -} -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_102); -return x_106; -} -} -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; 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; size_t x_163; -x_107 = lean_ctor_get(x_14, 0); -x_108 = lean_ctor_get(x_14, 1); -x_109 = lean_ctor_get(x_14, 2); -x_110 = lean_ctor_get(x_14, 3); -x_111 = lean_ctor_get(x_14, 4); -x_112 = lean_ctor_get(x_14, 5); -lean_inc(x_112); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_14); -x_113 = l_Lean_replaceRef(x_1, x_112); -lean_dec(x_112); -lean_inc(x_109); -lean_inc(x_108); -x_114 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_114, 0, x_107); -lean_ctor_set(x_114, 1, x_108); -lean_ctor_set(x_114, 2, x_109); -lean_ctor_set(x_114, 3, x_110); -lean_ctor_set(x_114, 4, x_111); -lean_ctor_set(x_114, 5, x_113); -x_115 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_114, x_15); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__9; -lean_inc(x_2); -x_119 = lean_name_mk_string(x_2, x_118); -x_120 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__1; -lean_inc(x_2); -x_121 = lean_name_mk_string(x_2, x_120); -x_122 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__7; -lean_inc(x_2); -x_123 = lean_name_mk_string(x_2, x_122); -x_124 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__1; -lean_inc(x_2); -x_125 = lean_name_mk_string(x_2, x_124); -x_126 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -lean_inc(x_109); -lean_inc(x_108); -x_127 = l_Lean_addMacroScope(x_108, x_126, x_109); -x_128 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_129 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_116); -x_130 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_130, 0, x_116); -lean_ctor_set(x_130, 1, x_128); -lean_ctor_set(x_130, 2, x_127); -lean_ctor_set(x_130, 3, x_129); -x_131 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; -x_132 = l_Lean_addMacroScope(x_108, x_131, x_109); -x_133 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -x_134 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; -x_135 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_135, 0, x_116); -lean_ctor_set(x_135, 1, x_133); -lean_ctor_set(x_135, 2, x_132); -lean_ctor_set(x_135, 3, x_134); -x_136 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_137 = lean_array_push(x_136, x_135); -x_138 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_137); -x_140 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_141 = lean_array_push(x_140, x_130); -x_142 = lean_array_push(x_141, x_139); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_125); -lean_ctor_set(x_143, 1, x_142); -x_144 = lean_array_push(x_136, x_143); -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_123); -lean_ctor_set(x_145, 1, x_144); -x_146 = lean_array_push(x_140, x_145); -x_147 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_148 = lean_array_push(x_146, x_147); -lean_inc(x_121); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_121); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_array_push(x_136, x_149); -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_138); -lean_ctor_set(x_151, 1, x_150); -x_152 = lean_array_push(x_136, x_151); -lean_inc(x_119); -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_119); -lean_ctor_set(x_153, 1, x_152); -x_154 = l_Array_reverse___rarg(x_3); -x_155 = lean_array_push(x_154, x_4); -x_156 = l_Array_reverse___rarg(x_5); -x_157 = lean_array_push(x_156, x_6); -x_158 = l_Array_reverse___rarg(x_7); -x_159 = lean_array_push(x_158, x_8); -x_160 = l_Array_zip___rarg(x_157, x_159); -lean_dec(x_159); -lean_dec(x_157); -x_161 = l_Array_zip___rarg(x_155, x_160); -lean_dec(x_160); -lean_dec(x_155); -x_162 = lean_array_get_size(x_161); -x_163 = lean_usize_of_nat(x_162); -lean_dec(x_162); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t 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; -x_164 = 1; -x_165 = lean_box(x_164); -x_166 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_153); -x_167 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6(x_2, x_9, x_10, x_119, x_138, x_121, x_136, x_140, x_147, x_161, x_163, x_11, x_166, x_114, x_117); -lean_dec(x_161); -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_167, 1); -lean_inc(x_169); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - x_170 = x_167; -} else { - lean_dec_ref(x_167); - x_170 = lean_box(0); -} -x_171 = lean_ctor_get(x_168, 1); -lean_inc(x_171); -lean_dec(x_168); -x_172 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_172, 0, x_171); -if (lean_is_scalar(x_170)) { - x_173 = lean_alloc_ctor(0, 2, 0); -} else { - x_173 = x_170; -} -lean_ctor_set(x_173, 0, x_172); -lean_ctor_set(x_173, 1, x_169); -return x_173; -} -else -{ -lean_object* x_174; lean_object* x_175; uint8_t 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_dec(x_153); -x_174 = lean_ctor_get(x_13, 0); -lean_inc(x_174); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - x_175 = x_13; -} else { - lean_dec_ref(x_13); - x_175 = lean_box(0); -} -x_176 = 1; -x_177 = lean_box(x_176); -x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_174); -x_179 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__7(x_2, x_9, x_10, x_119, x_138, x_121, x_136, x_140, x_147, x_161, x_163, x_11, x_178, x_114, x_117); -lean_dec(x_161); -x_180 = lean_ctor_get(x_179, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_179, 1); -lean_inc(x_181); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - lean_ctor_release(x_179, 1); - x_182 = x_179; -} else { - lean_dec_ref(x_179); - x_182 = lean_box(0); -} -x_183 = lean_ctor_get(x_180, 1); -lean_inc(x_183); -lean_dec(x_180); -if (lean_is_scalar(x_175)) { - x_184 = lean_alloc_ctor(1, 1, 0); -} else { - x_184 = x_175; -} -lean_ctor_set(x_184, 0, x_183); -if (lean_is_scalar(x_182)) { - x_185 = lean_alloc_ctor(0, 2, 0); -} else { - x_185 = x_182; -} -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_181); -return x_185; -} -} -} -} -lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_12); -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; 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; size_t x_67; size_t x_68; -x_15 = lean_ctor_get(x_12, 1); -x_16 = lean_ctor_get(x_12, 2); -x_17 = lean_ctor_get(x_12, 5); -x_18 = l_Lean_replaceRef(x_1, x_17); -lean_dec(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_ctor_set(x_12, 5, x_18); -x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_12, x_13); -x_20 = lean_ctor_get(x_19, 0); +x_19 = lean_ctor_get(x_14, 3); +lean_inc(x_19); +x_20 = lean_ctor_get(x_14, 4); lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +x_21 = lean_ctor_get(x_14, 5); lean_inc(x_21); -lean_dec(x_19); -x_22 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__9; +lean_dec(x_14); +x_22 = l_Lean_replaceRef(x_1, x_21); +lean_dec(x_21); +lean_inc(x_18); +lean_inc(x_17); +x_23 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_23, 0, x_16); +lean_ctor_set(x_23, 1, x_17); +lean_ctor_set(x_23, 2, x_18); +lean_ctor_set(x_23, 3, x_19); +lean_ctor_set(x_23, 4, x_20); +lean_ctor_set(x_23, 5, x_22); +x_24 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_23, x_15); +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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__9; lean_inc(x_2); -x_23 = lean_name_mk_string(x_2, x_22); -x_24 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__1; +x_28 = lean_name_mk_string(x_2, x_27); +x_29 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__1; lean_inc(x_2); -x_25 = lean_name_mk_string(x_2, x_24); -x_26 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__7; +x_30 = lean_name_mk_string(x_2, x_29); +x_31 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__7; lean_inc(x_2); -x_27 = lean_name_mk_string(x_2, x_26); -x_28 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__1; +x_32 = lean_name_mk_string(x_2, x_31); +x_33 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__1; lean_inc(x_2); -x_29 = lean_name_mk_string(x_2, x_28); -x_30 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -lean_inc(x_16); -lean_inc(x_15); -x_31 = l_Lean_addMacroScope(x_15, x_30, x_16); -x_32 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_33 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_20); -x_34 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_34, 0, x_20); -lean_ctor_set(x_34, 1, x_32); -lean_ctor_set(x_34, 2, x_31); -lean_ctor_set(x_34, 3, x_33); -x_35 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; -x_36 = l_Lean_addMacroScope(x_15, x_35, x_16); -x_37 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -x_38 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; +x_34 = lean_name_mk_string(x_2, x_33); +x_35 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; +lean_inc(x_18); +lean_inc(x_17); +x_36 = l_Lean_addMacroScope(x_17, x_35, x_18); +x_37 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; +x_38 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_25); x_39 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_39, 0, x_20); +lean_ctor_set(x_39, 0, x_25); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_41 = lean_array_push(x_40, x_39); -x_42 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -x_44 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_45 = lean_array_push(x_44, x_34); -x_46 = lean_array_push(x_45, x_43); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_29); -lean_ctor_set(x_47, 1, x_46); -x_48 = lean_array_push(x_40, x_47); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_27); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_array_push(x_44, x_49); -x_51 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_52 = lean_array_push(x_50, x_51); -lean_inc(x_25); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_25); -lean_ctor_set(x_53, 1, x_52); -x_54 = lean_array_push(x_40, x_53); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_42); -lean_ctor_set(x_55, 1, x_54); -x_56 = lean_array_push(x_40, x_55); -lean_inc(x_23); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_23); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Array_reverse___rarg(x_8); -x_59 = lean_array_push(x_58, x_3); -x_60 = l_Array_reverse___rarg(x_9); -x_61 = lean_array_push(x_60, x_4); -x_62 = l_Array_reverse___rarg(x_10); -x_63 = lean_array_push(x_62, x_5); -x_64 = l_Array_zip___rarg(x_61, x_63); -lean_dec(x_63); -lean_dec(x_61); -x_65 = l_Array_zip___rarg(x_59, x_64); -lean_dec(x_64); -lean_dec(x_59); -x_66 = lean_array_get_size(x_65); -x_67 = lean_usize_of_nat(x_66); +x_40 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; +x_41 = l_Lean_addMacroScope(x_17, x_40, x_18); +x_42 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; +x_43 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; +x_44 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_44, 0, x_25); +lean_ctor_set(x_44, 1, x_42); +lean_ctor_set(x_44, 2, x_41); +lean_ctor_set(x_44, 3, x_43); +x_45 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_46 = lean_array_push(x_45, x_44); +x_47 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_50 = lean_array_push(x_49, x_39); +x_51 = lean_array_push(x_50, x_48); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_34); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_array_push(x_45, x_52); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_32); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_array_push(x_49, x_54); +x_56 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_57 = lean_array_push(x_55, x_56); +lean_inc(x_30); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_30); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_array_push(x_45, x_58); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_47); +lean_ctor_set(x_60, 1, x_59); +x_61 = lean_array_push(x_45, x_60); +lean_inc(x_28); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_28); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Array_reverse___rarg(x_3); +x_64 = lean_array_push(x_63, x_4); +x_65 = l_Array_reverse___rarg(x_5); +x_66 = lean_array_push(x_65, x_6); +x_67 = l_Array_reverse___rarg(x_7); +x_68 = lean_array_push(x_67, x_8); +x_69 = l_Array_zip___rarg(x_66, x_68); +lean_dec(x_68); lean_dec(x_66); -x_68 = 0; -if (lean_obj_tag(x_11) == 0) +x_70 = l_Array_zip___rarg(x_64, x_69); +lean_dec(x_69); +lean_dec(x_64); +x_71 = lean_array_get_size(x_70); +x_72 = lean_usize_of_nat(x_71); +lean_dec(x_71); +if (lean_obj_tag(x_13) == 0) { -uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_69 = 1; -x_70 = lean_box(x_69); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_57); -x_72 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__8(x_2, x_6, x_7, x_23, x_42, x_25, x_40, x_44, x_51, x_65, x_67, x_68, x_71, x_12, x_21); -lean_dec(x_65); -x_73 = !lean_is_exclusive(x_72); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_72, 0); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_76 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_72, 0, x_76); -return x_72; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_77 = lean_ctor_get(x_72, 0); -x_78 = lean_ctor_get(x_72, 1); -lean_inc(x_78); +uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_73 = 1; +x_74 = lean_box(x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_62); +x_76 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6(x_2, x_9, x_10, x_28, x_47, x_30, x_45, x_49, x_56, x_70, x_72, x_11, x_75, x_23, x_26); +lean_dec(x_23); +lean_dec(x_70); +x_77 = lean_ctor_get(x_76, 0); lean_inc(x_77); -lean_dec(x_72); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); x_79 = lean_ctor_get(x_77, 1); lean_inc(x_79); lean_dec(x_77); @@ -22694,294 +16362,206 @@ lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_78); return x_81; } -} else { -uint8_t x_82; -lean_dec(x_57); -x_82 = !lean_is_exclusive(x_11); -if (x_82 == 0) -{ -lean_object* x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_83 = lean_ctor_get(x_11, 0); -x_84 = 1; -x_85 = lean_box(x_84); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_83); -x_87 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__9(x_2, x_6, x_7, x_23, x_42, x_25, x_40, x_44, x_51, x_65, x_67, x_68, x_86, x_12, x_21); -lean_dec(x_65); -x_88 = !lean_is_exclusive(x_87); -if (x_88 == 0) -{ -lean_object* x_89; lean_object* x_90; -x_89 = lean_ctor_get(x_87, 0); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -lean_ctor_set(x_11, 0, x_90); -lean_ctor_set(x_87, 0, x_11); -return x_87; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_91 = lean_ctor_get(x_87, 0); -x_92 = lean_ctor_get(x_87, 1); -lean_inc(x_92); -lean_inc(x_91); +lean_object* x_82; uint8_t 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_dec(x_62); +x_82 = lean_ctor_get(x_13, 0); +x_83 = 1; +x_84 = lean_box(x_83); +lean_inc(x_82); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_82); +x_86 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__7(x_2, x_9, x_10, x_28, x_47, x_30, x_45, x_49, x_56, x_70, x_72, x_11, x_85, x_23, x_26); +lean_dec(x_23); +lean_dec(x_70); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); lean_dec(x_87); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -lean_ctor_set(x_11, 0, x_93); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_11); -lean_ctor_set(x_94, 1, x_92); -return x_94; +x_90 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_90, 0, x_89); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_88); +return x_91; } } -else +} +lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: { -lean_object* x_95; uint8_t 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; -x_95 = lean_ctor_get(x_11, 0); -lean_inc(x_95); -lean_dec(x_11); -x_96 = 1; -x_97 = lean_box(x_96); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_95); -x_99 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__9(x_2, x_6, x_7, x_23, x_42, x_25, x_40, x_44, x_51, x_65, x_67, x_68, x_98, x_12, x_21); -lean_dec(x_65); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_102 = x_99; -} else { - lean_dec_ref(x_99); - x_102 = lean_box(0); -} -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -lean_dec(x_100); -x_104 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_104, 0, x_103); -if (lean_is_scalar(x_102)) { - x_105 = lean_alloc_ctor(0, 2, 0); -} else { - x_105 = x_102; -} -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_101); -return x_105; -} -} -} -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; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; 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; size_t x_162; size_t x_163; -x_106 = lean_ctor_get(x_12, 0); -x_107 = lean_ctor_get(x_12, 1); -x_108 = lean_ctor_get(x_12, 2); -x_109 = lean_ctor_get(x_12, 3); -x_110 = lean_ctor_get(x_12, 4); -x_111 = lean_ctor_get(x_12, 5); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); +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; size_t x_70; size_t x_71; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +x_16 = lean_ctor_get(x_12, 2); +lean_inc(x_16); +x_17 = lean_ctor_get(x_12, 3); +lean_inc(x_17); +x_18 = lean_ctor_get(x_12, 4); +lean_inc(x_18); +x_19 = lean_ctor_get(x_12, 5); +lean_inc(x_19); lean_dec(x_12); -x_112 = l_Lean_replaceRef(x_1, x_111); -lean_dec(x_111); -lean_inc(x_108); -lean_inc(x_107); -x_113 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_113, 0, x_106); -lean_ctor_set(x_113, 1, x_107); -lean_ctor_set(x_113, 2, x_108); -lean_ctor_set(x_113, 3, x_109); -lean_ctor_set(x_113, 4, x_110); -lean_ctor_set(x_113, 5, x_112); -x_114 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_113, x_13); -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -lean_dec(x_114); -x_117 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__9; +x_20 = l_Lean_replaceRef(x_1, x_19); +lean_dec(x_19); +lean_inc(x_16); +lean_inc(x_15); +x_21 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_15); +lean_ctor_set(x_21, 2, x_16); +lean_ctor_set(x_21, 3, x_17); +lean_ctor_set(x_21, 4, x_18); +lean_ctor_set(x_21, 5, x_20); +x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_21, x_13); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__9; lean_inc(x_2); -x_118 = lean_name_mk_string(x_2, x_117); -x_119 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__1; +x_26 = lean_name_mk_string(x_2, x_25); +x_27 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__1; lean_inc(x_2); -x_120 = lean_name_mk_string(x_2, x_119); -x_121 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__7; +x_28 = lean_name_mk_string(x_2, x_27); +x_29 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__7; lean_inc(x_2); -x_122 = lean_name_mk_string(x_2, x_121); -x_123 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__1; +x_30 = lean_name_mk_string(x_2, x_29); +x_31 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__1; lean_inc(x_2); -x_124 = lean_name_mk_string(x_2, x_123); -x_125 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -lean_inc(x_108); -lean_inc(x_107); -x_126 = l_Lean_addMacroScope(x_107, x_125, x_108); -x_127 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_128 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_115); -x_129 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_129, 0, x_115); -lean_ctor_set(x_129, 1, x_127); -lean_ctor_set(x_129, 2, x_126); -lean_ctor_set(x_129, 3, x_128); -x_130 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; -x_131 = l_Lean_addMacroScope(x_107, x_130, x_108); -x_132 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -x_133 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; -x_134 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_134, 0, x_115); -lean_ctor_set(x_134, 1, x_132); -lean_ctor_set(x_134, 2, x_131); -lean_ctor_set(x_134, 3, x_133); -x_135 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_136 = lean_array_push(x_135, x_134); -x_137 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_140 = lean_array_push(x_139, x_129); -x_141 = lean_array_push(x_140, x_138); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_124); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_array_push(x_135, x_142); -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_122); -lean_ctor_set(x_144, 1, x_143); -x_145 = lean_array_push(x_139, x_144); -x_146 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_147 = lean_array_push(x_145, x_146); -lean_inc(x_120); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_120); -lean_ctor_set(x_148, 1, x_147); -x_149 = lean_array_push(x_135, x_148); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_137); -lean_ctor_set(x_150, 1, x_149); -x_151 = lean_array_push(x_135, x_150); -lean_inc(x_118); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_118); -lean_ctor_set(x_152, 1, x_151); -x_153 = l_Array_reverse___rarg(x_8); -x_154 = lean_array_push(x_153, x_3); -x_155 = l_Array_reverse___rarg(x_9); -x_156 = lean_array_push(x_155, x_4); -x_157 = l_Array_reverse___rarg(x_10); -x_158 = lean_array_push(x_157, x_5); -x_159 = l_Array_zip___rarg(x_156, x_158); -lean_dec(x_158); -lean_dec(x_156); -x_160 = l_Array_zip___rarg(x_154, x_159); -lean_dec(x_159); -lean_dec(x_154); -x_161 = lean_array_get_size(x_160); -x_162 = lean_usize_of_nat(x_161); -lean_dec(x_161); -x_163 = 0; +x_32 = lean_name_mk_string(x_2, x_31); +x_33 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; +lean_inc(x_16); +lean_inc(x_15); +x_34 = l_Lean_addMacroScope(x_15, x_33, x_16); +x_35 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; +x_36 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_23); +x_37 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_37, 0, x_23); +lean_ctor_set(x_37, 1, x_35); +lean_ctor_set(x_37, 2, x_34); +lean_ctor_set(x_37, 3, x_36); +x_38 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; +x_39 = l_Lean_addMacroScope(x_15, x_38, x_16); +x_40 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; +x_41 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; +x_42 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_42, 0, x_23); +lean_ctor_set(x_42, 1, x_40); +lean_ctor_set(x_42, 2, x_39); +lean_ctor_set(x_42, 3, x_41); +x_43 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_44 = lean_array_push(x_43, x_42); +x_45 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); +x_47 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_48 = lean_array_push(x_47, x_37); +x_49 = lean_array_push(x_48, x_46); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_32); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_array_push(x_43, x_50); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_30); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_array_push(x_47, x_52); +x_54 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_55 = lean_array_push(x_53, x_54); +lean_inc(x_28); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_28); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_array_push(x_43, x_56); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_45); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_array_push(x_43, x_58); +lean_inc(x_26); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_26); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Array_reverse___rarg(x_8); +x_62 = lean_array_push(x_61, x_3); +x_63 = l_Array_reverse___rarg(x_9); +x_64 = lean_array_push(x_63, x_4); +x_65 = l_Array_reverse___rarg(x_10); +x_66 = lean_array_push(x_65, x_5); +x_67 = l_Array_zip___rarg(x_64, x_66); +lean_dec(x_66); +lean_dec(x_64); +x_68 = l_Array_zip___rarg(x_62, x_67); +lean_dec(x_67); +lean_dec(x_62); +x_69 = lean_array_get_size(x_68); +x_70 = lean_usize_of_nat(x_69); +lean_dec(x_69); +x_71 = 0; if (lean_obj_tag(x_11) == 0) { -uint8_t 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; -x_164 = 1; -x_165 = lean_box(x_164); -x_166 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_152); -x_167 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__8(x_2, x_6, x_7, x_118, x_137, x_120, x_135, x_139, x_146, x_160, x_162, x_163, x_166, x_113, x_116); -lean_dec(x_160); -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_167, 1); -lean_inc(x_169); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - x_170 = x_167; -} else { - lean_dec_ref(x_167); - x_170 = lean_box(0); -} -x_171 = lean_ctor_get(x_168, 1); -lean_inc(x_171); -lean_dec(x_168); -x_172 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_172, 0, x_171); -if (lean_is_scalar(x_170)) { - x_173 = lean_alloc_ctor(0, 2, 0); -} else { - x_173 = x_170; -} -lean_ctor_set(x_173, 0, x_172); -lean_ctor_set(x_173, 1, x_169); -return x_173; +uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_72 = 1; +x_73 = lean_box(x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_60); +x_75 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__8(x_2, x_6, x_7, x_26, x_45, x_28, x_43, x_47, x_54, x_68, x_70, x_71, x_74, x_21, x_24); +lean_dec(x_21); +lean_dec(x_68); +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_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_79, 0, x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_77); +return x_80; } else { -lean_object* x_174; lean_object* x_175; uint8_t 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_dec(x_152); -x_174 = lean_ctor_get(x_11, 0); -lean_inc(x_174); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - x_175 = x_11; -} else { - lean_dec_ref(x_11); - x_175 = lean_box(0); -} -x_176 = 1; -x_177 = lean_box(x_176); -x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_174); -x_179 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__9(x_2, x_6, x_7, x_118, x_137, x_120, x_135, x_139, x_146, x_160, x_162, x_163, x_178, x_113, x_116); -lean_dec(x_160); -x_180 = lean_ctor_get(x_179, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_179, 1); -lean_inc(x_181); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - lean_ctor_release(x_179, 1); - x_182 = x_179; -} else { - lean_dec_ref(x_179); - x_182 = lean_box(0); -} -x_183 = lean_ctor_get(x_180, 1); -lean_inc(x_183); -lean_dec(x_180); -if (lean_is_scalar(x_175)) { - x_184 = lean_alloc_ctor(1, 1, 0); -} else { - x_184 = x_175; -} -lean_ctor_set(x_184, 0, x_183); -if (lean_is_scalar(x_182)) { - x_185 = lean_alloc_ctor(0, 2, 0); -} else { - x_185 = x_182; -} -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_181); -return x_185; -} +lean_object* x_81; uint8_t 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_dec(x_60); +x_81 = lean_ctor_get(x_11, 0); +x_82 = 1; +x_83 = lean_box(x_82); +lean_inc(x_81); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_81); +x_85 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__9(x_2, x_6, x_7, x_26, x_45, x_28, x_43, x_47, x_54, x_68, x_70, x_71, x_84, x_21, x_24); +lean_dec(x_21); +lean_dec(x_68); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_87); +return x_90; } } } @@ -23093,63 +16673,62 @@ return x_22; } else { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_20); -if (x_23 == 0) +lean_object* x_23; lean_object* x_24; size_t x_25; size_t 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; uint8_t x_36; +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_array_get_size(x_23); +x_25 = lean_usize_of_nat(x_24); +lean_dec(x_24); +x_26 = 0; +x_27 = x_23; +lean_inc(x_27); +x_28 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__3(x_25, x_26, x_27); +x_29 = x_28; +lean_inc(x_27); +x_30 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__4(x_25, x_26, x_27); +x_31 = x_30; +x_32 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5(x_25, x_26, x_27); +x_33 = x_32; +x_34 = lean_unsigned_to_nat(5u); +x_35 = l_Lean_Syntax_getArg(x_1, x_34); +x_36 = l_Lean_Syntax_isNone(x_35); +if (x_36 == 0) { -lean_object* x_24; lean_object* x_25; size_t x_26; size_t 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; uint8_t x_37; -x_24 = lean_ctor_get(x_20, 0); -x_25 = lean_array_get_size(x_24); -x_26 = lean_usize_of_nat(x_25); -lean_dec(x_25); -x_27 = 0; -x_28 = x_24; -lean_inc(x_28); -x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__3(x_26, x_27, x_28); -x_30 = x_29; -lean_inc(x_28); -x_31 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__4(x_26, x_27, x_28); -x_32 = x_31; -x_33 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5(x_26, x_27, x_28); -x_34 = x_33; -x_35 = lean_unsigned_to_nat(5u); -x_36 = l_Lean_Syntax_getArg(x_1, x_35); -x_37 = l_Lean_Syntax_isNone(x_36); -if (x_37 == 0) +lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_37 = l_Lean_nullKind; +x_38 = lean_unsigned_to_nat(2u); +lean_inc(x_35); +x_39 = l_Lean_Syntax_isNodeOf(x_35, x_37, x_38); +if (x_39 == 0) { -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = l_Lean_nullKind; -x_39 = lean_unsigned_to_nat(2u); -lean_inc(x_36); -x_40 = l_Lean_Syntax_isNodeOf(x_36, x_38, x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; -lean_dec(x_36); -lean_dec(x_34); -lean_dec(x_32); -lean_dec(x_30); -lean_free_object(x_20); +lean_object* x_40; lean_object* x_41; +lean_dec(x_35); +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_29); lean_dec(x_15); lean_dec(x_11); lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_41 = lean_box(0); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_3); -return x_42; +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_3); +return x_41; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = l_Lean_Syntax_getArg(x_36, x_10); -lean_dec(x_36); -lean_ctor_set(x_20, 0, x_43); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_42 = l_Lean_Syntax_getArg(x_35, x_10); +lean_dec(x_35); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_42); x_44 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; x_45 = lean_box(0); -x_46 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2(x_1, x_44, x_34, x_9, x_32, x_11, x_30, x_15, x_4, x_12, x_27, x_45, x_20, x_2, x_3); +x_46 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2(x_1, x_44, x_33, x_9, x_31, x_11, x_29, x_15, x_4, x_12, x_26, x_45, x_43, x_2, x_3); +lean_dec(x_43); lean_dec(x_1); return x_46; } @@ -23157,453 +16736,235 @@ return x_46; else { lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -lean_dec(x_36); -lean_free_object(x_20); +lean_dec(x_35); x_47 = lean_box(0); x_48 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; x_49 = lean_box(0); -x_50 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2(x_1, x_48, x_34, x_9, x_32, x_11, x_30, x_15, x_4, x_12, x_27, x_49, x_47, x_2, x_3); +x_50 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2(x_1, x_48, x_33, x_9, x_31, x_11, x_29, x_15, x_4, x_12, x_26, x_49, x_47, x_2, x_3); lean_dec(x_1); return x_50; } } +} else { -lean_object* x_51; lean_object* x_52; size_t x_53; size_t 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; uint8_t x_64; -x_51 = lean_ctor_get(x_20, 0); -lean_inc(x_51); -lean_dec(x_20); -x_52 = lean_array_get_size(x_51); -x_53 = lean_usize_of_nat(x_52); -lean_dec(x_52); -x_54 = 0; -x_55 = x_51; -lean_inc(x_55); -x_56 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__3(x_53, x_54, x_55); -x_57 = x_56; -lean_inc(x_55); -x_58 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__4(x_53, x_54, x_55); -x_59 = x_58; -x_60 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5(x_53, x_54, x_55); -x_61 = x_60; -x_62 = lean_unsigned_to_nat(5u); -x_63 = l_Lean_Syntax_getArg(x_1, x_62); -x_64 = l_Lean_Syntax_isNone(x_63); -if (x_64 == 0) +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_51 = lean_unsigned_to_nat(3u); +x_52 = l_Lean_Syntax_getArg(x_1, x_51); +x_53 = lean_unsigned_to_nat(4u); +x_54 = l_Lean_Syntax_getArg(x_1, x_53); +x_55 = l_Lean_nullKind; +lean_inc(x_54); +x_56 = l_Lean_Syntax_isNodeOf(x_54, x_55, x_8); +if (x_56 == 0) { -lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_65 = l_Lean_nullKind; -x_66 = lean_unsigned_to_nat(2u); -lean_inc(x_63); -x_67 = l_Lean_Syntax_isNodeOf(x_63, x_65, x_66); -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; -lean_dec(x_63); -lean_dec(x_61); -lean_dec(x_59); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = l_Lean_Syntax_getArgs(x_54); +lean_dec(x_54); +x_58 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__5; +x_59 = l_Array_sequenceMap___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__1(x_57, x_58); lean_dec(x_57); -lean_dec(x_15); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_52); lean_dec(x_11); lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_68 = lean_box(0); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_3); -return x_69; +x_60 = lean_box(0); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_3); +return x_61; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_70 = l_Lean_Syntax_getArg(x_63, x_10); +lean_object* x_62; lean_object* x_63; size_t x_64; size_t 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; uint8_t x_75; +x_62 = lean_ctor_get(x_59, 0); +lean_inc(x_62); +lean_dec(x_59); +x_63 = lean_array_get_size(x_62); +x_64 = lean_usize_of_nat(x_63); lean_dec(x_63); -x_71 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_71, 0, x_70); -x_72 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_73 = lean_box(0); -x_74 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2(x_1, x_72, x_61, x_9, x_59, x_11, x_57, x_15, x_4, x_12, x_54, x_73, x_71, x_2, x_3); -lean_dec(x_1); -return x_74; -} -} -else +x_65 = 0; +x_66 = x_62; +lean_inc(x_66); +x_67 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__3(x_64, x_65, x_66); +x_68 = x_67; +lean_inc(x_66); +x_69 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__4(x_64, x_65, x_66); +x_70 = x_69; +x_71 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5(x_64, x_65, x_66); +x_72 = x_71; +x_73 = lean_unsigned_to_nat(5u); +x_74 = l_Lean_Syntax_getArg(x_1, x_73); +x_75 = l_Lean_Syntax_isNone(x_74); +if (x_75 == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_63); -x_75 = lean_box(0); -x_76 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_77 = lean_box(0); -x_78 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2(x_1, x_76, x_61, x_9, x_59, x_11, x_57, x_15, x_4, x_12, x_54, x_77, x_75, x_2, x_3); -lean_dec(x_1); -return x_78; -} -} -} -} -else +lean_object* x_76; uint8_t x_77; +x_76 = lean_unsigned_to_nat(2u); +lean_inc(x_74); +x_77 = l_Lean_Syntax_isNodeOf(x_74, x_55, x_76); +if (x_77 == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_79 = lean_unsigned_to_nat(3u); -x_80 = l_Lean_Syntax_getArg(x_1, x_79); -x_81 = lean_unsigned_to_nat(4u); -x_82 = l_Lean_Syntax_getArg(x_1, x_81); -x_83 = l_Lean_nullKind; -lean_inc(x_82); -x_84 = l_Lean_Syntax_isNodeOf(x_82, x_83, x_8); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = l_Lean_Syntax_getArgs(x_82); -lean_dec(x_82); -x_86 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__5; -x_87 = l_Array_sequenceMap___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__1(x_85, x_86); -lean_dec(x_85); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; -lean_dec(x_80); +lean_object* x_78; lean_object* x_79; +lean_dec(x_74); +lean_dec(x_72); +lean_dec(x_70); +lean_dec(x_68); +lean_dec(x_52); lean_dec(x_11); lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_88 = lean_box(0); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_3); -return x_89; +x_78 = lean_box(0); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_3); +return x_79; } else { -uint8_t x_90; -x_90 = !lean_is_exclusive(x_87); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_80 = l_Lean_Syntax_getArg(x_74, x_10); +lean_dec(x_74); +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; +x_83 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_82, x_9, x_11, x_52, x_4, x_12, x_72, x_70, x_68, x_81, x_2, x_3); +lean_dec(x_81); +lean_dec(x_1); +return x_83; +} +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_74); +x_84 = lean_box(0); +x_85 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; +x_86 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_85, x_9, x_11, x_52, x_4, x_12, x_72, x_70, x_68, x_84, x_2, x_3); +lean_dec(x_1); +return x_86; +} +} +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_87 = lean_unsigned_to_nat(5u); +x_88 = l_Lean_Syntax_getArg(x_1, x_87); +x_89 = lean_unsigned_to_nat(2u); +lean_inc(x_88); +x_90 = l_Lean_Syntax_isNodeOf(x_88, x_55, x_89); if (x_90 == 0) { -lean_object* x_91; lean_object* x_92; size_t x_93; size_t 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; uint8_t x_104; -x_91 = lean_ctor_get(x_87, 0); -x_92 = lean_array_get_size(x_91); -x_93 = lean_usize_of_nat(x_92); -lean_dec(x_92); -x_94 = 0; -x_95 = x_91; -lean_inc(x_95); -x_96 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__3(x_93, x_94, x_95); -x_97 = x_96; -lean_inc(x_95); -x_98 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__4(x_93, x_94, x_95); -x_99 = x_98; -x_100 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5(x_93, x_94, x_95); -x_101 = x_100; -x_102 = lean_unsigned_to_nat(5u); -x_103 = l_Lean_Syntax_getArg(x_1, x_102); -x_104 = l_Lean_Syntax_isNone(x_103); -if (x_104 == 0) +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = l_Lean_Syntax_getArgs(x_54); +lean_dec(x_54); +x_92 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__5; +x_93 = l_Array_sequenceMap___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__1(x_91, x_92); +lean_dec(x_91); +if (lean_obj_tag(x_93) == 0) { -lean_object* x_105; uint8_t x_106; -x_105 = lean_unsigned_to_nat(2u); -lean_inc(x_103); -x_106 = l_Lean_Syntax_isNodeOf(x_103, x_83, x_105); -if (x_106 == 0) -{ -lean_object* x_107; lean_object* x_108; -lean_dec(x_103); -lean_dec(x_101); -lean_dec(x_99); -lean_dec(x_97); -lean_free_object(x_87); -lean_dec(x_80); +lean_object* x_94; lean_object* x_95; +lean_dec(x_88); +lean_dec(x_52); lean_dec(x_11); lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_107 = lean_box(0); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_3); -return x_108; +x_94 = lean_box(0); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_3); +return x_95; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = l_Lean_Syntax_getArg(x_103, x_10); -lean_dec(x_103); -lean_ctor_set(x_87, 0, x_109); -x_110 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_111 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_110, x_9, x_11, x_80, x_4, x_12, x_101, x_99, x_97, x_87, x_2, x_3); +lean_object* x_96; lean_object* x_97; size_t x_98; size_t 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; uint8_t x_107; +x_96 = lean_ctor_get(x_93, 0); +lean_inc(x_96); +lean_dec(x_93); +x_97 = lean_array_get_size(x_96); +x_98 = lean_usize_of_nat(x_97); +lean_dec(x_97); +x_99 = 0; +x_100 = x_96; +lean_inc(x_100); +x_101 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__3(x_98, x_99, x_100); +x_102 = x_101; +lean_inc(x_100); +x_103 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__4(x_98, x_99, x_100); +x_104 = x_103; +x_105 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5(x_98, x_99, x_100); +x_106 = x_105; +x_107 = l_Lean_Syntax_isNone(x_88); +if (x_107 == 0) +{ +uint8_t x_108; +lean_inc(x_88); +x_108 = l_Lean_Syntax_isNodeOf(x_88, x_55, x_89); +if (x_108 == 0) +{ +lean_object* x_109; lean_object* x_110; +lean_dec(x_106); +lean_dec(x_104); +lean_dec(x_102); +lean_dec(x_88); +lean_dec(x_52); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_2); lean_dec(x_1); -return x_111; -} +x_109 = lean_box(0); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_3); +return x_110; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -lean_dec(x_103); -lean_free_object(x_87); -x_112 = lean_box(0); +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_111 = l_Lean_Syntax_getArg(x_88, x_10); +lean_dec(x_88); +x_112 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_112, 0, x_111); x_113 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_114 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_113, x_9, x_11, x_80, x_4, x_12, x_101, x_99, x_97, x_112, x_2, x_3); +x_114 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_113, x_9, x_11, x_52, x_4, x_12, x_106, x_104, x_102, x_112, x_2, x_3); +lean_dec(x_112); lean_dec(x_1); return x_114; } } else { -lean_object* x_115; lean_object* x_116; size_t x_117; size_t 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; uint8_t x_128; -x_115 = lean_ctor_get(x_87, 0); -lean_inc(x_115); -lean_dec(x_87); -x_116 = lean_array_get_size(x_115); -x_117 = lean_usize_of_nat(x_116); -lean_dec(x_116); -x_118 = 0; -x_119 = x_115; -lean_inc(x_119); -x_120 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__3(x_117, x_118, x_119); -x_121 = x_120; -lean_inc(x_119); -x_122 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__4(x_117, x_118, x_119); -x_123 = x_122; -x_124 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5(x_117, x_118, x_119); -x_125 = x_124; -x_126 = lean_unsigned_to_nat(5u); -x_127 = l_Lean_Syntax_getArg(x_1, x_126); -x_128 = l_Lean_Syntax_isNone(x_127); -if (x_128 == 0) +lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_88); +x_115 = lean_box(0); +x_116 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; +x_117 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_116, x_9, x_11, x_52, x_4, x_12, x_106, x_104, x_102, x_115, x_2, x_3); +lean_dec(x_1); +return x_117; +} +} +} +else { -lean_object* x_129; uint8_t x_130; -x_129 = lean_unsigned_to_nat(2u); -lean_inc(x_127); -x_130 = l_Lean_Syntax_isNodeOf(x_127, x_83, x_129); -if (x_130 == 0) -{ -lean_object* x_131; lean_object* x_132; -lean_dec(x_127); -lean_dec(x_125); -lean_dec(x_123); -lean_dec(x_121); -lean_dec(x_80); +lean_object* x_118; lean_object* x_119; +lean_dec(x_88); +lean_dec(x_54); +lean_dec(x_52); lean_dec(x_11); lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_131 = lean_box(0); -x_132 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_3); -return x_132; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_133 = l_Lean_Syntax_getArg(x_127, x_10); -lean_dec(x_127); -x_134 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_134, 0, x_133); -x_135 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_136 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_135, x_9, x_11, x_80, x_4, x_12, x_125, x_123, x_121, x_134, x_2, x_3); -lean_dec(x_1); -return x_136; -} -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; -lean_dec(x_127); -x_137 = lean_box(0); -x_138 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_139 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_138, x_9, x_11, x_80, x_4, x_12, x_125, x_123, x_121, x_137, x_2, x_3); -lean_dec(x_1); -return x_139; -} -} -} -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; -x_140 = lean_unsigned_to_nat(5u); -x_141 = l_Lean_Syntax_getArg(x_1, x_140); -x_142 = lean_unsigned_to_nat(2u); -lean_inc(x_141); -x_143 = l_Lean_Syntax_isNodeOf(x_141, x_83, x_142); -if (x_143 == 0) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = l_Lean_Syntax_getArgs(x_82); -lean_dec(x_82); -x_145 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__5; -x_146 = l_Array_sequenceMap___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__1(x_144, x_145); -lean_dec(x_144); -if (lean_obj_tag(x_146) == 0) -{ -lean_object* x_147; lean_object* x_148; -lean_dec(x_141); -lean_dec(x_80); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_147 = lean_box(0); -x_148 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_3); -return x_148; -} -else -{ -uint8_t x_149; -x_149 = !lean_is_exclusive(x_146); -if (x_149 == 0) -{ -lean_object* x_150; lean_object* x_151; size_t x_152; size_t 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; uint8_t x_161; -x_150 = lean_ctor_get(x_146, 0); -x_151 = lean_array_get_size(x_150); -x_152 = lean_usize_of_nat(x_151); -lean_dec(x_151); -x_153 = 0; -x_154 = x_150; -lean_inc(x_154); -x_155 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__3(x_152, x_153, x_154); -x_156 = x_155; -lean_inc(x_154); -x_157 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__4(x_152, x_153, x_154); -x_158 = x_157; -x_159 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5(x_152, x_153, x_154); -x_160 = x_159; -x_161 = l_Lean_Syntax_isNone(x_141); -if (x_161 == 0) -{ -uint8_t x_162; -lean_inc(x_141); -x_162 = l_Lean_Syntax_isNodeOf(x_141, x_83, x_142); -if (x_162 == 0) -{ -lean_object* x_163; lean_object* x_164; -lean_dec(x_160); -lean_dec(x_158); -lean_dec(x_156); -lean_free_object(x_146); -lean_dec(x_141); -lean_dec(x_80); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_163 = lean_box(0); -x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_3); -return x_164; -} -else -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_165 = l_Lean_Syntax_getArg(x_141, x_10); -lean_dec(x_141); -lean_ctor_set(x_146, 0, x_165); -x_166 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_167 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_166, x_9, x_11, x_80, x_4, x_12, x_160, x_158, x_156, x_146, x_2, x_3); -lean_dec(x_1); -return x_167; -} -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; -lean_free_object(x_146); -lean_dec(x_141); -x_168 = lean_box(0); -x_169 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_170 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_169, x_9, x_11, x_80, x_4, x_12, x_160, x_158, x_156, x_168, x_2, x_3); -lean_dec(x_1); -return x_170; -} -} -else -{ -lean_object* x_171; lean_object* x_172; size_t x_173; size_t 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; uint8_t x_182; -x_171 = lean_ctor_get(x_146, 0); -lean_inc(x_171); -lean_dec(x_146); -x_172 = lean_array_get_size(x_171); -x_173 = lean_usize_of_nat(x_172); -lean_dec(x_172); -x_174 = 0; -x_175 = x_171; -lean_inc(x_175); -x_176 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__3(x_173, x_174, x_175); -x_177 = x_176; -lean_inc(x_175); -x_178 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__4(x_173, x_174, x_175); -x_179 = x_178; -x_180 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5(x_173, x_174, x_175); -x_181 = x_180; -x_182 = l_Lean_Syntax_isNone(x_141); -if (x_182 == 0) -{ -uint8_t x_183; -lean_inc(x_141); -x_183 = l_Lean_Syntax_isNodeOf(x_141, x_83, x_142); -if (x_183 == 0) -{ -lean_object* x_184; lean_object* x_185; -lean_dec(x_181); -lean_dec(x_179); -lean_dec(x_177); -lean_dec(x_141); -lean_dec(x_80); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_184 = lean_box(0); -x_185 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_3); -return x_185; -} -else -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_186 = l_Lean_Syntax_getArg(x_141, x_10); -lean_dec(x_141); -x_187 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_187, 0, x_186); -x_188 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_189 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_188, x_9, x_11, x_80, x_4, x_12, x_181, x_179, x_177, x_187, x_2, x_3); -lean_dec(x_1); -return x_189; -} -} -else -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; -lean_dec(x_141); -x_190 = lean_box(0); -x_191 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_192 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_191, x_9, x_11, x_80, x_4, x_12, x_181, x_179, x_177, x_190, x_2, x_3); -lean_dec(x_1); -return x_192; -} -} -} -} -else -{ -lean_object* x_193; lean_object* x_194; -lean_dec(x_141); -lean_dec(x_82); -lean_dec(x_80); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_193 = lean_box(0); -x_194 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_3); -return x_194; +x_118 = lean_box(0); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_3); +return x_119; } } } @@ -23671,6 +17032,7 @@ uint8_t x_16; lean_object* x_17; x_16 = lean_unbox(x_11); lean_dec(x_11); x_17 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16, x_12, x_13, x_14, x_15); +lean_dec(x_14); lean_dec(x_12); lean_dec(x_4); return x_17; @@ -23685,6 +17047,7 @@ lean_dec(x_11); x_17 = lean_unbox_usize(x_12); lean_dec(x_12); x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16, x_17, x_13, x_14, x_15); +lean_dec(x_14); lean_dec(x_10); return x_18; } @@ -23698,6 +17061,7 @@ lean_dec(x_11); x_17 = lean_unbox_usize(x_12); lean_dec(x_12); x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16, x_17, x_13, x_14, x_15); +lean_dec(x_14); lean_dec(x_10); return x_18; } @@ -23711,6 +17075,7 @@ lean_dec(x_11); x_17 = lean_unbox_usize(x_12); lean_dec(x_12); x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16, x_17, x_13, x_14, x_15); +lean_dec(x_14); lean_dec(x_10); return x_18; } @@ -23724,6 +17089,7 @@ lean_dec(x_11); x_17 = lean_unbox_usize(x_12); lean_dec(x_12); x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16, x_17, x_13, x_14, x_15); +lean_dec(x_14); lean_dec(x_10); return x_18; } @@ -23735,6 +17101,7 @@ size_t x_16; lean_object* x_17; x_16 = lean_unbox_usize(x_11); lean_dec(x_11); x_17 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16, x_12, x_13, x_14, x_15); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_1); return x_17; @@ -23745,6 +17112,7 @@ _start: { lean_object* x_14; x_14 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_11); lean_dec(x_1); return x_14; } @@ -24191,7 +17559,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__4; x_2 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__5; -x_3 = lean_unsigned_to_nat(764u); +x_3 = lean_unsigned_to_nat(767u); x_4 = lean_unsigned_to_nat(13u); x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -24363,1827 +17731,558 @@ x_10 = lean_ctor_get(x_1, 1); lean_inc(x_10); if (lean_obj_tag(x_10) == 0) { -lean_object* x_11; uint8_t x_12; +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; x_11 = lean_ctor_get(x_1, 0); lean_inc(x_11); lean_dec(x_1); -x_12 = !lean_is_exclusive(x_5); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_5, 0); -x_14 = lean_unsigned_to_nat(1u); -x_15 = lean_nat_add(x_13, x_14); -lean_ctor_set(x_5, 0, x_15); -x_16 = !lean_is_exclusive(x_4); -if (x_16 == 0) -{ -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_17 = lean_ctor_get(x_4, 1); -x_18 = lean_ctor_get(x_4, 2); -lean_dec(x_18); +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_5, 1); lean_inc(x_13); +lean_dec(x_5); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_12, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +x_17 = lean_ctor_get(x_4, 0); lean_inc(x_17); -lean_ctor_set(x_4, 2, x_13); -x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_5); -x_20 = lean_ctor_get(x_19, 0); +x_18 = lean_ctor_get(x_4, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_4, 3); +lean_inc(x_19); +x_20 = lean_ctor_get(x_4, 4); lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +x_21 = lean_ctor_get(x_4, 5); lean_inc(x_21); -lean_dec(x_19); -x_22 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; -x_23 = l_Lean_addMacroScope(x_17, x_22, x_13); -x_24 = lean_box(0); -x_25 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__10; -lean_inc(x_23); -x_26 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_26, 0, x_20); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_26, 2, x_23); -lean_ctor_set(x_26, 3, x_24); -lean_inc(x_4); -x_27 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct(x_10, x_26, x_3, x_4, x_21); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(x_11, x_4, x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_32); lean_dec(x_4); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) +lean_inc(x_12); +lean_inc(x_18); +x_22 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_12); +lean_ctor_set(x_22, 3, x_19); +lean_ctor_set(x_22, 4, x_20); +lean_ctor_set(x_22, 5, x_21); +x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_22, x_16); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; +x_27 = l_Lean_addMacroScope(x_18, x_26, x_12); +x_28 = lean_box(0); +x_29 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__10; +lean_inc(x_27); +x_30 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_30, 0, x_24); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_27); +lean_ctor_set(x_30, 3, x_28); +lean_inc(x_22); +x_31 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct(x_10, x_30, x_3, x_22, x_25); +if (lean_obj_tag(x_31) == 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_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_35 = lean_ctor_get(x_33, 0); -x_36 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(x_11, x_22, x_33); +x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); -x_37 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_35); -x_39 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_39, 1, x_38); -x_40 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_35); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_35); -lean_ctor_set(x_41, 1, x_40); -x_42 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_35); -x_43 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_43, 0, x_35); -lean_ctor_set(x_43, 1, x_42); -x_44 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_45 = lean_array_push(x_44, x_43); -x_46 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -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_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_49 = lean_array_push(x_48, x_2); -x_50 = lean_array_push(x_49, x_41); -lean_inc(x_50); -x_51 = lean_array_push(x_50, x_47); -x_52 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -x_54 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_55 = lean_array_push(x_54, x_31); -x_56 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_57 = lean_array_push(x_55, x_56); -x_58 = lean_array_push(x_57, x_56); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_22, x_36); +lean_dec(x_22); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); -x_59 = lean_array_push(x_58, x_39); -x_60 = lean_array_push(x_59, x_53); -x_61 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -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_44, x_62); -x_64 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_35); -x_67 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_67, 0, x_35); -lean_ctor_set(x_67, 1, x_66); -x_68 = lean_array_push(x_44, x_67); -x_69 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -lean_inc(x_35); -x_71 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_71, 0, x_35); -lean_ctor_set(x_71, 1, x_25); -lean_ctor_set(x_71, 2, x_23); -lean_ctor_set(x_71, 3, x_24); -x_72 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -x_73 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_73, 0, x_35); -lean_ctor_set(x_73, 1, x_72); -x_74 = lean_array_push(x_44, x_73); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_46); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_array_push(x_50, x_75); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_52); +lean_dec(x_37); +x_40 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_38); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_40); +x_42 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_38); +x_43 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_43, 0, x_38); +lean_ctor_set(x_43, 1, x_42); +x_44 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; +lean_inc(x_38); +x_45 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_45, 0, x_38); +lean_ctor_set(x_45, 1, x_44); +x_46 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; +lean_inc(x_38); +x_47 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_47, 0, x_38); +lean_ctor_set(x_47, 1, x_46); +x_48 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_49 = lean_array_push(x_48, x_47); +x_50 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_53 = lean_array_push(x_52, x_2); +x_54 = lean_array_push(x_53, x_45); +lean_inc(x_54); +x_55 = lean_array_push(x_54, x_51); +x_56 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_59 = lean_array_push(x_58, x_35); +x_60 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_61 = lean_array_push(x_59, x_60); +x_62 = lean_array_push(x_61, x_60); +lean_inc(x_43); +x_63 = lean_array_push(x_62, x_43); +x_64 = lean_array_push(x_63, x_57); +x_65 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; +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_array_push(x_48, x_66); +x_68 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_38); +x_71 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_71, 0, x_38); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_array_push(x_48, x_71); +x_73 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); +lean_inc(x_38); +x_75 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_75, 0, x_38); +lean_ctor_set(x_75, 1, x_29); +lean_ctor_set(x_75, 2, x_27); +lean_ctor_set(x_75, 3, x_28); +x_76 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; +x_77 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_77, 0, x_38); lean_ctor_set(x_77, 1, x_76); -x_78 = lean_array_push(x_54, x_71); -x_79 = lean_array_push(x_78, x_56); -x_80 = lean_array_push(x_79, x_56); -x_81 = lean_array_push(x_80, x_39); -x_82 = lean_array_push(x_81, x_77); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_61); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_array_push(x_44, x_83); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_64); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_87 = lean_array_push(x_86, x_37); -lean_inc(x_87); -x_88 = lean_array_push(x_87, x_85); -lean_inc(x_70); -x_89 = lean_array_push(x_88, x_70); -x_90 = lean_array_push(x_89, x_28); -x_91 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = lean_array_push(x_87, x_65); -x_94 = lean_array_push(x_93, x_70); -x_95 = lean_array_push(x_94, x_92); +x_78 = lean_array_push(x_48, x_77); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_50); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_array_push(x_54, x_79); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_56); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_array_push(x_58, x_75); +x_83 = lean_array_push(x_82, x_60); +x_84 = lean_array_push(x_83, x_60); +x_85 = lean_array_push(x_84, x_43); +x_86 = lean_array_push(x_85, x_81); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_65); +lean_ctor_set(x_87, 1, x_86); +x_88 = lean_array_push(x_48, x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_68); +lean_ctor_set(x_89, 1, x_88); +x_90 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_91 = lean_array_push(x_90, x_41); +lean_inc(x_91); +x_92 = lean_array_push(x_91, x_89); +lean_inc(x_74); +x_93 = lean_array_push(x_92, x_74); +x_94 = lean_array_push(x_93, x_32); +x_95 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_91); -lean_ctor_set(x_96, 1, x_95); -lean_ctor_set(x_33, 0, x_96); -return x_33; +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = lean_array_push(x_91, x_69); +x_98 = lean_array_push(x_97, x_74); +x_99 = lean_array_push(x_98, x_96); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_95); +lean_ctor_set(x_100, 1, x_99); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_39); +return x_101; } 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; 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; -x_97 = lean_ctor_get(x_33, 0); -x_98 = lean_ctor_get(x_33, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_33); -x_99 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_97); -x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_97); -lean_ctor_set(x_100, 1, x_99); -x_101 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_97); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_97); -lean_ctor_set(x_102, 1, x_101); -x_103 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_97); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_97); -lean_ctor_set(x_104, 1, x_103); -x_105 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_97); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_97); -lean_ctor_set(x_106, 1, x_105); -x_107 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_108 = lean_array_push(x_107, x_106); -x_109 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_112 = lean_array_push(x_111, x_2); -x_113 = lean_array_push(x_112, x_104); -lean_inc(x_113); -x_114 = lean_array_push(x_113, x_110); -x_115 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_114); -x_117 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_118 = lean_array_push(x_117, x_31); -x_119 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_120 = lean_array_push(x_118, x_119); -x_121 = lean_array_push(x_120, x_119); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec(x_27); +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_2); +x_102 = lean_ctor_get(x_31, 0); lean_inc(x_102); -x_122 = lean_array_push(x_121, x_102); -x_123 = lean_array_push(x_122, x_116); -x_124 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_123); -x_126 = lean_array_push(x_107, x_125); -x_127 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; +x_103 = lean_ctor_get(x_31, 1); +lean_inc(x_103); +lean_dec(x_31); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +else +{ +lean_object* x_105; +x_105 = lean_ctor_get(x_10, 1); +lean_inc(x_105); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; 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_106 = lean_ctor_get(x_1, 0); +lean_inc(x_106); +lean_dec(x_1); +x_107 = lean_ctor_get(x_10, 0); +lean_inc(x_107); +lean_dec(x_10); +x_108 = l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(x_106, x_4, x_5); +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec(x_108); +x_111 = l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(x_107, x_4, x_110); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_113); +lean_dec(x_4); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_115); +x_118 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_117); +x_119 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_115); +x_120 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_120, 0, x_115); +lean_ctor_set(x_120, 1, x_119); +x_121 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; +lean_inc(x_115); +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_115); +lean_ctor_set(x_122, 1, x_121); +x_123 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; +lean_inc(x_115); +x_124 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_124, 0, x_115); +lean_ctor_set(x_124, 1, x_123); +x_125 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_126 = lean_array_push(x_125, x_124); +x_127 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; x_128 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_128, 0, x_127); lean_ctor_set(x_128, 1, x_126); -x_129 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_97); -x_130 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_130, 0, x_97); -lean_ctor_set(x_130, 1, x_129); -x_131 = lean_array_push(x_107, x_130); -x_132 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -lean_inc(x_97); -x_134 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_134, 0, x_97); -lean_ctor_set(x_134, 1, x_25); -lean_ctor_set(x_134, 2, x_23); -lean_ctor_set(x_134, 3, x_24); -x_135 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -x_136 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_136, 0, x_97); -lean_ctor_set(x_136, 1, x_135); -x_137 = lean_array_push(x_107, x_136); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_109); -lean_ctor_set(x_138, 1, x_137); -x_139 = lean_array_push(x_113, x_138); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_115); -lean_ctor_set(x_140, 1, x_139); -x_141 = lean_array_push(x_117, x_134); -x_142 = lean_array_push(x_141, x_119); -x_143 = lean_array_push(x_142, x_119); -x_144 = lean_array_push(x_143, x_102); -x_145 = lean_array_push(x_144, x_140); +x_129 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_130 = lean_array_push(x_129, x_2); +x_131 = lean_array_push(x_130, x_122); +lean_inc(x_131); +x_132 = lean_array_push(x_131, x_128); +x_133 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_132); +x_135 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_136 = lean_array_push(x_135, x_109); +x_137 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_138 = lean_array_push(x_136, x_137); +x_139 = lean_array_push(x_138, x_137); +lean_inc(x_120); +x_140 = lean_array_push(x_139, x_120); +x_141 = lean_array_push(x_140, x_134); +x_142 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; +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 = lean_array_push(x_125, x_143); +x_145 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_124); -lean_ctor_set(x_146, 1, x_145); -x_147 = lean_array_push(x_107, x_146); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_127); +lean_ctor_set(x_146, 0, x_145); +lean_ctor_set(x_146, 1, x_144); +x_147 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_115); +x_148 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_148, 0, x_115); lean_ctor_set(x_148, 1, x_147); -x_149 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_150 = lean_array_push(x_149, x_100); -lean_inc(x_150); -x_151 = lean_array_push(x_150, x_148); -lean_inc(x_133); -x_152 = lean_array_push(x_151, x_133); -x_153 = lean_array_push(x_152, x_28); -x_154 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; +x_149 = lean_array_push(x_125, x_148); +x_150 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +x_152 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; +x_153 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_153, 0, x_115); +lean_ctor_set(x_153, 1, x_152); +x_154 = lean_array_push(x_125, x_153); x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_153); -x_156 = lean_array_push(x_150, x_128); -x_157 = lean_array_push(x_156, x_133); -x_158 = lean_array_push(x_157, x_155); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_154); -lean_ctor_set(x_159, 1, x_158); -x_160 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_98); -return x_160; -} -} -else -{ -uint8_t x_161; -lean_dec(x_23); -lean_dec(x_4); -lean_dec(x_11); -lean_dec(x_2); -x_161 = !lean_is_exclusive(x_27); -if (x_161 == 0) -{ -return x_27; -} -else -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_162 = lean_ctor_get(x_27, 0); -x_163 = lean_ctor_get(x_27, 1); -lean_inc(x_163); -lean_inc(x_162); -lean_dec(x_27); -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_162); -lean_ctor_set(x_164, 1, x_163); -return x_164; -} -} -} -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_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_165 = lean_ctor_get(x_4, 0); -x_166 = lean_ctor_get(x_4, 1); -x_167 = lean_ctor_get(x_4, 3); -x_168 = lean_ctor_get(x_4, 4); -x_169 = lean_ctor_get(x_4, 5); -lean_inc(x_169); -lean_inc(x_168); +lean_ctor_set(x_155, 0, x_127); +lean_ctor_set(x_155, 1, x_154); +x_156 = lean_array_push(x_131, x_155); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_133); +lean_ctor_set(x_157, 1, x_156); +x_158 = lean_array_push(x_135, x_112); +x_159 = lean_array_push(x_158, x_137); +x_160 = lean_array_push(x_159, x_137); +x_161 = lean_array_push(x_160, x_120); +x_162 = lean_array_push(x_161, x_157); +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_142); +lean_ctor_set(x_163, 1, x_162); +x_164 = lean_array_push(x_125, x_163); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_145); +lean_ctor_set(x_165, 1, x_164); +x_166 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_167 = lean_array_push(x_166, x_118); lean_inc(x_167); -lean_inc(x_166); -lean_inc(x_165); -lean_dec(x_4); -lean_inc(x_13); -lean_inc(x_166); -x_170 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_170, 0, x_165); -lean_ctor_set(x_170, 1, x_166); -lean_ctor_set(x_170, 2, x_13); -lean_ctor_set(x_170, 3, x_167); -lean_ctor_set(x_170, 4, x_168); -lean_ctor_set(x_170, 5, x_169); -x_171 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_170, x_5); -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_171, 1); -lean_inc(x_173); -lean_dec(x_171); -x_174 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; -x_175 = l_Lean_addMacroScope(x_166, x_174, x_13); -x_176 = lean_box(0); -x_177 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__10; -lean_inc(x_175); -x_178 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_178, 0, x_172); -lean_ctor_set(x_178, 1, x_177); -lean_ctor_set(x_178, 2, x_175); -lean_ctor_set(x_178, 3, x_176); -lean_inc(x_170); -x_179 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct(x_10, x_178, x_3, x_170, x_173); -if (lean_obj_tag(x_179) == 0) -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; -x_180 = lean_ctor_get(x_179, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_179, 1); -lean_inc(x_181); -lean_dec(x_179); -x_182 = l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(x_11, x_170, x_181); -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_182, 1); -lean_inc(x_184); -lean_dec(x_182); -x_185 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_170, x_184); -lean_dec(x_170); -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_185, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - lean_ctor_release(x_185, 1); - x_188 = x_185; -} else { - lean_dec_ref(x_185); - x_188 = lean_box(0); +x_168 = lean_array_push(x_167, x_165); +lean_inc(x_151); +x_169 = lean_array_push(x_168, x_151); +x_170 = lean_array_push(x_169, x_3); +x_171 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = lean_array_push(x_167, x_146); +x_174 = lean_array_push(x_173, x_151); +x_175 = lean_array_push(x_174, x_172); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_171); +lean_ctor_set(x_176, 1, x_175); +x_177 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_116); +return x_177; } -x_189 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +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_dec(x_105); +x_178 = lean_ctor_get(x_1, 0); +lean_inc(x_178); +lean_dec(x_1); +x_179 = lean_ctor_get(x_5, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_5, 1); +lean_inc(x_180); +lean_dec(x_5); +x_181 = lean_unsigned_to_nat(1u); +x_182 = lean_nat_add(x_179, x_181); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_180); +x_184 = lean_ctor_get(x_4, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_4, 1); +lean_inc(x_185); +x_186 = lean_ctor_get(x_4, 3); lean_inc(x_186); -x_190 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_190, 0, x_186); -lean_ctor_set(x_190, 1, x_189); -x_191 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_186); -x_192 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_192, 0, x_186); -lean_ctor_set(x_192, 1, x_191); -x_193 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_186); -x_194 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_194, 0, x_186); -lean_ctor_set(x_194, 1, x_193); -x_195 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_186); -x_196 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_196, 0, x_186); -lean_ctor_set(x_196, 1, x_195); -x_197 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_198 = lean_array_push(x_197, x_196); -x_199 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -x_201 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_202 = lean_array_push(x_201, x_2); -x_203 = lean_array_push(x_202, x_194); -lean_inc(x_203); -x_204 = lean_array_push(x_203, x_200); -x_205 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set(x_206, 1, x_204); -x_207 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_208 = lean_array_push(x_207, x_183); -x_209 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_210 = lean_array_push(x_208, x_209); -x_211 = lean_array_push(x_210, x_209); +x_187 = lean_ctor_get(x_4, 4); +lean_inc(x_187); +x_188 = lean_ctor_get(x_4, 5); +lean_inc(x_188); +lean_dec(x_4); +lean_inc(x_179); +lean_inc(x_185); +x_189 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_189, 0, x_184); +lean_ctor_set(x_189, 1, x_185); +lean_ctor_set(x_189, 2, x_179); +lean_ctor_set(x_189, 3, x_186); +lean_ctor_set(x_189, 4, x_187); +lean_ctor_set(x_189, 5, x_188); +x_190 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_189, x_183); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_190, 1); lean_inc(x_192); -x_212 = lean_array_push(x_211, x_192); -x_213 = lean_array_push(x_212, x_206); -x_214 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_213); -x_216 = lean_array_push(x_197, x_215); -x_217 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; +lean_dec(x_190); +x_193 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; +x_194 = l_Lean_addMacroScope(x_185, x_193, x_179); +x_195 = lean_box(0); +x_196 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__10; +lean_inc(x_194); +x_197 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_197, 0, x_191); +lean_ctor_set(x_197, 1, x_196); +lean_ctor_set(x_197, 2, x_194); +lean_ctor_set(x_197, 3, x_195); +lean_inc(x_189); +x_198 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct(x_10, x_197, x_3, x_189, x_192); +if (lean_obj_tag(x_198) == 0) +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +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 = l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(x_178, x_189, x_200); +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_201, 1); +lean_inc(x_203); +lean_dec(x_201); +x_204 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_189, x_203); +lean_dec(x_189); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_205); +x_208 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_208, 0, x_205); +lean_ctor_set(x_208, 1, x_207); +x_209 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_205); +x_210 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_210, 0, x_205); +lean_ctor_set(x_210, 1, x_209); +x_211 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; +lean_inc(x_205); +x_212 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_212, 0, x_205); +lean_ctor_set(x_212, 1, x_211); +x_213 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; +lean_inc(x_205); +x_214 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_214, 0, x_205); +lean_ctor_set(x_214, 1, x_213); +x_215 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_216 = lean_array_push(x_215, x_214); +x_217 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; x_218 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_218, 0, x_217); lean_ctor_set(x_218, 1, x_216); -x_219 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_186); -x_220 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_220, 0, x_186); -lean_ctor_set(x_220, 1, x_219); -x_221 = lean_array_push(x_197, x_220); -x_222 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); -lean_inc(x_186); -x_224 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_224, 0, x_186); -lean_ctor_set(x_224, 1, x_177); -lean_ctor_set(x_224, 2, x_175); -lean_ctor_set(x_224, 3, x_176); -x_225 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -x_226 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_226, 0, x_186); -lean_ctor_set(x_226, 1, x_225); -x_227 = lean_array_push(x_197, x_226); -x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_199); -lean_ctor_set(x_228, 1, x_227); -x_229 = lean_array_push(x_203, x_228); -x_230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_230, 0, x_205); -lean_ctor_set(x_230, 1, x_229); -x_231 = lean_array_push(x_207, x_224); -x_232 = lean_array_push(x_231, x_209); -x_233 = lean_array_push(x_232, x_209); -x_234 = lean_array_push(x_233, x_192); -x_235 = lean_array_push(x_234, x_230); +x_219 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_220 = lean_array_push(x_219, x_2); +x_221 = lean_array_push(x_220, x_212); +lean_inc(x_221); +x_222 = lean_array_push(x_221, x_218); +x_223 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_222); +x_225 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_226 = lean_array_push(x_225, x_202); +x_227 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_228 = lean_array_push(x_226, x_227); +x_229 = lean_array_push(x_228, x_227); +lean_inc(x_210); +x_230 = lean_array_push(x_229, x_210); +x_231 = lean_array_push(x_230, x_224); +x_232 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_231); +x_234 = lean_array_push(x_215, x_233); +x_235 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_214); -lean_ctor_set(x_236, 1, x_235); -x_237 = lean_array_push(x_197, x_236); -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_217); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_234); +x_237 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_205); +x_238 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_238, 0, x_205); lean_ctor_set(x_238, 1, x_237); -x_239 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_240 = lean_array_push(x_239, x_190); -lean_inc(x_240); -x_241 = lean_array_push(x_240, x_238); -lean_inc(x_223); -x_242 = lean_array_push(x_241, x_223); -x_243 = lean_array_push(x_242, x_180); -x_244 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_243); -x_246 = lean_array_push(x_240, x_218); -x_247 = lean_array_push(x_246, x_223); -x_248 = lean_array_push(x_247, x_245); -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_244); -lean_ctor_set(x_249, 1, x_248); -if (lean_is_scalar(x_188)) { - x_250 = lean_alloc_ctor(0, 2, 0); -} else { - x_250 = x_188; -} -lean_ctor_set(x_250, 0, x_249); -lean_ctor_set(x_250, 1, x_187); -return x_250; +x_239 = lean_array_push(x_215, x_238); +x_240 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_239); +lean_inc(x_205); +x_242 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_242, 0, x_205); +lean_ctor_set(x_242, 1, x_196); +lean_ctor_set(x_242, 2, x_194); +lean_ctor_set(x_242, 3, x_195); +x_243 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; +x_244 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_244, 0, x_205); +lean_ctor_set(x_244, 1, x_243); +x_245 = lean_array_push(x_215, x_244); +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_217); +lean_ctor_set(x_246, 1, x_245); +x_247 = lean_array_push(x_221, x_246); +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_223); +lean_ctor_set(x_248, 1, x_247); +x_249 = lean_array_push(x_225, x_242); +x_250 = lean_array_push(x_249, x_227); +x_251 = lean_array_push(x_250, x_227); +x_252 = lean_array_push(x_251, x_210); +x_253 = lean_array_push(x_252, x_248); +x_254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_254, 0, x_232); +lean_ctor_set(x_254, 1, x_253); +x_255 = lean_array_push(x_215, x_254); +x_256 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_256, 0, x_235); +lean_ctor_set(x_256, 1, x_255); +x_257 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_258 = lean_array_push(x_257, x_208); +lean_inc(x_258); +x_259 = lean_array_push(x_258, x_256); +lean_inc(x_241); +x_260 = lean_array_push(x_259, x_241); +x_261 = lean_array_push(x_260, x_199); +x_262 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; +x_263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_261); +x_264 = lean_array_push(x_258, x_236); +x_265 = lean_array_push(x_264, x_241); +x_266 = lean_array_push(x_265, x_263); +x_267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_267, 0, x_262); +lean_ctor_set(x_267, 1, x_266); +x_268 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_206); +return x_268; } else { -lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; -lean_dec(x_175); -lean_dec(x_170); -lean_dec(x_11); +lean_object* x_269; lean_object* x_270; lean_object* x_271; +lean_dec(x_194); +lean_dec(x_189); +lean_dec(x_178); lean_dec(x_2); -x_251 = lean_ctor_get(x_179, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_179, 1); -lean_inc(x_252); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - lean_ctor_release(x_179, 1); - x_253 = x_179; -} else { - lean_dec_ref(x_179); - x_253 = lean_box(0); -} -if (lean_is_scalar(x_253)) { - x_254 = lean_alloc_ctor(1, 2, 0); -} else { - x_254 = x_253; -} -lean_ctor_set(x_254, 0, x_251); -lean_ctor_set(x_254, 1, x_252); -return x_254; -} -} -} -else -{ -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; -x_255 = lean_ctor_get(x_5, 0); -x_256 = lean_ctor_get(x_5, 1); -lean_inc(x_256); -lean_inc(x_255); -lean_dec(x_5); -x_257 = lean_unsigned_to_nat(1u); -x_258 = lean_nat_add(x_255, x_257); -x_259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_259, 0, x_258); -lean_ctor_set(x_259, 1, x_256); -x_260 = lean_ctor_get(x_4, 0); -lean_inc(x_260); -x_261 = lean_ctor_get(x_4, 1); -lean_inc(x_261); -x_262 = lean_ctor_get(x_4, 3); -lean_inc(x_262); -x_263 = lean_ctor_get(x_4, 4); -lean_inc(x_263); -x_264 = lean_ctor_get(x_4, 5); -lean_inc(x_264); -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); - x_265 = x_4; -} else { - lean_dec_ref(x_4); - x_265 = lean_box(0); -} -lean_inc(x_255); -lean_inc(x_261); -if (lean_is_scalar(x_265)) { - x_266 = lean_alloc_ctor(0, 6, 0); -} else { - x_266 = x_265; -} -lean_ctor_set(x_266, 0, x_260); -lean_ctor_set(x_266, 1, x_261); -lean_ctor_set(x_266, 2, x_255); -lean_ctor_set(x_266, 3, x_262); -lean_ctor_set(x_266, 4, x_263); -lean_ctor_set(x_266, 5, x_264); -x_267 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_266, x_259); -x_268 = lean_ctor_get(x_267, 0); -lean_inc(x_268); -x_269 = lean_ctor_get(x_267, 1); +x_269 = lean_ctor_get(x_198, 0); lean_inc(x_269); -lean_dec(x_267); -x_270 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; -x_271 = l_Lean_addMacroScope(x_261, x_270, x_255); -x_272 = lean_box(0); -x_273 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__10; -lean_inc(x_271); -x_274 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_274, 0, x_268); -lean_ctor_set(x_274, 1, x_273); -lean_ctor_set(x_274, 2, x_271); -lean_ctor_set(x_274, 3, x_272); -lean_inc(x_266); -x_275 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct(x_10, x_274, x_3, x_266, x_269); -if (lean_obj_tag(x_275) == 0) -{ -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; -x_276 = lean_ctor_get(x_275, 0); -lean_inc(x_276); -x_277 = lean_ctor_get(x_275, 1); -lean_inc(x_277); -lean_dec(x_275); -x_278 = l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(x_11, x_266, x_277); -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 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_266, x_280); -lean_dec(x_266); -x_282 = lean_ctor_get(x_281, 0); -lean_inc(x_282); -x_283 = lean_ctor_get(x_281, 1); -lean_inc(x_283); -if (lean_is_exclusive(x_281)) { - lean_ctor_release(x_281, 0); - lean_ctor_release(x_281, 1); - x_284 = x_281; -} else { - lean_dec_ref(x_281); - x_284 = lean_box(0); -} -x_285 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_282); -x_286 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_286, 0, x_282); -lean_ctor_set(x_286, 1, x_285); -x_287 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_282); -x_288 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_288, 0, x_282); -lean_ctor_set(x_288, 1, x_287); -x_289 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_282); -x_290 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_290, 0, x_282); -lean_ctor_set(x_290, 1, x_289); -x_291 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_282); -x_292 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_292, 0, x_282); -lean_ctor_set(x_292, 1, x_291); -x_293 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_294 = lean_array_push(x_293, x_292); -x_295 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_294); -x_297 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_298 = lean_array_push(x_297, x_2); -x_299 = lean_array_push(x_298, x_290); -lean_inc(x_299); -x_300 = lean_array_push(x_299, x_296); -x_301 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_302 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_302, 0, x_301); -lean_ctor_set(x_302, 1, x_300); -x_303 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_304 = lean_array_push(x_303, x_279); -x_305 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_306 = lean_array_push(x_304, x_305); -x_307 = lean_array_push(x_306, x_305); -lean_inc(x_288); -x_308 = lean_array_push(x_307, x_288); -x_309 = lean_array_push(x_308, x_302); -x_310 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_311 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_311, 0, x_310); -lean_ctor_set(x_311, 1, x_309); -x_312 = lean_array_push(x_293, x_311); -x_313 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_312); -x_315 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_282); -x_316 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_316, 0, x_282); -lean_ctor_set(x_316, 1, x_315); -x_317 = lean_array_push(x_293, x_316); -x_318 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_317); -lean_inc(x_282); -x_320 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_320, 0, x_282); -lean_ctor_set(x_320, 1, x_273); -lean_ctor_set(x_320, 2, x_271); -lean_ctor_set(x_320, 3, x_272); -x_321 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -x_322 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_322, 0, x_282); -lean_ctor_set(x_322, 1, x_321); -x_323 = lean_array_push(x_293, x_322); -x_324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_324, 0, x_295); -lean_ctor_set(x_324, 1, x_323); -x_325 = lean_array_push(x_299, x_324); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_301); -lean_ctor_set(x_326, 1, x_325); -x_327 = lean_array_push(x_303, x_320); -x_328 = lean_array_push(x_327, x_305); -x_329 = lean_array_push(x_328, x_305); -x_330 = lean_array_push(x_329, x_288); -x_331 = lean_array_push(x_330, x_326); -x_332 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_332, 0, x_310); -lean_ctor_set(x_332, 1, x_331); -x_333 = lean_array_push(x_293, x_332); -x_334 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_334, 0, x_313); -lean_ctor_set(x_334, 1, x_333); -x_335 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_336 = lean_array_push(x_335, x_286); -lean_inc(x_336); -x_337 = lean_array_push(x_336, x_334); -lean_inc(x_319); -x_338 = lean_array_push(x_337, x_319); -x_339 = lean_array_push(x_338, x_276); -x_340 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_341, 0, x_340); -lean_ctor_set(x_341, 1, x_339); -x_342 = lean_array_push(x_336, x_314); -x_343 = lean_array_push(x_342, x_319); -x_344 = lean_array_push(x_343, x_341); -x_345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_345, 0, x_340); -lean_ctor_set(x_345, 1, x_344); -if (lean_is_scalar(x_284)) { - x_346 = lean_alloc_ctor(0, 2, 0); -} else { - x_346 = x_284; -} -lean_ctor_set(x_346, 0, x_345); -lean_ctor_set(x_346, 1, x_283); -return x_346; -} -else -{ -lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; -lean_dec(x_271); -lean_dec(x_266); -lean_dec(x_11); -lean_dec(x_2); -x_347 = lean_ctor_get(x_275, 0); -lean_inc(x_347); -x_348 = lean_ctor_get(x_275, 1); -lean_inc(x_348); -if (lean_is_exclusive(x_275)) { - lean_ctor_release(x_275, 0); - lean_ctor_release(x_275, 1); - x_349 = x_275; -} else { - lean_dec_ref(x_275); - x_349 = lean_box(0); -} -if (lean_is_scalar(x_349)) { - x_350 = lean_alloc_ctor(1, 2, 0); -} else { - x_350 = x_349; -} -lean_ctor_set(x_350, 0, x_347); -lean_ctor_set(x_350, 1, x_348); -return x_350; -} -} -} -else -{ -lean_object* x_351; -x_351 = lean_ctor_get(x_10, 1); -lean_inc(x_351); -if (lean_obj_tag(x_351) == 0) -{ -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; uint8_t x_361; -x_352 = lean_ctor_get(x_1, 0); -lean_inc(x_352); -lean_dec(x_1); -x_353 = lean_ctor_get(x_10, 0); -lean_inc(x_353); -lean_dec(x_10); -x_354 = l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(x_352, x_4, x_5); -x_355 = lean_ctor_get(x_354, 0); -lean_inc(x_355); -x_356 = lean_ctor_get(x_354, 1); -lean_inc(x_356); -lean_dec(x_354); -x_357 = l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(x_353, x_4, x_356); -x_358 = lean_ctor_get(x_357, 0); -lean_inc(x_358); -x_359 = lean_ctor_get(x_357, 1); -lean_inc(x_359); -lean_dec(x_357); -x_360 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_359); -lean_dec(x_4); -x_361 = !lean_is_exclusive(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_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; -x_362 = lean_ctor_get(x_360, 0); -x_363 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_362); -x_364 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_364, 0, x_362); -lean_ctor_set(x_364, 1, x_363); -x_365 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_362); -x_366 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_366, 0, x_362); -lean_ctor_set(x_366, 1, x_365); -x_367 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_362); -x_368 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_368, 0, x_362); -lean_ctor_set(x_368, 1, x_367); -x_369 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_362); -x_370 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_370, 0, x_362); -lean_ctor_set(x_370, 1, x_369); -x_371 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_372 = lean_array_push(x_371, x_370); -x_373 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_374, 0, x_373); -lean_ctor_set(x_374, 1, x_372); -x_375 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_376 = lean_array_push(x_375, x_2); -x_377 = lean_array_push(x_376, x_368); -lean_inc(x_377); -x_378 = lean_array_push(x_377, x_374); -x_379 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_380 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_380, 0, x_379); -lean_ctor_set(x_380, 1, x_378); -x_381 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_382 = lean_array_push(x_381, x_355); -x_383 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_384 = lean_array_push(x_382, x_383); -x_385 = lean_array_push(x_384, x_383); -lean_inc(x_366); -x_386 = lean_array_push(x_385, x_366); -x_387 = lean_array_push(x_386, x_380); -x_388 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_389 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_389, 0, x_388); -lean_ctor_set(x_389, 1, x_387); -x_390 = lean_array_push(x_371, x_389); -x_391 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_392, 0, x_391); -lean_ctor_set(x_392, 1, x_390); -x_393 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_362); -x_394 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_394, 0, x_362); -lean_ctor_set(x_394, 1, x_393); -x_395 = lean_array_push(x_371, x_394); -x_396 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -x_399 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_399, 0, x_362); -lean_ctor_set(x_399, 1, x_398); -x_400 = lean_array_push(x_371, x_399); -x_401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_401, 0, x_373); -lean_ctor_set(x_401, 1, x_400); -x_402 = lean_array_push(x_377, x_401); -x_403 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_403, 0, x_379); -lean_ctor_set(x_403, 1, x_402); -x_404 = lean_array_push(x_381, x_358); -x_405 = lean_array_push(x_404, x_383); -x_406 = lean_array_push(x_405, x_383); -x_407 = lean_array_push(x_406, x_366); -x_408 = lean_array_push(x_407, x_403); -x_409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_409, 0, x_388); -lean_ctor_set(x_409, 1, x_408); -x_410 = lean_array_push(x_371, x_409); -x_411 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_411, 0, x_391); -lean_ctor_set(x_411, 1, x_410); -x_412 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_413 = lean_array_push(x_412, x_364); -lean_inc(x_413); -x_414 = lean_array_push(x_413, x_411); -lean_inc(x_397); -x_415 = lean_array_push(x_414, x_397); -x_416 = lean_array_push(x_415, x_3); -x_417 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_418 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_418, 0, x_417); -lean_ctor_set(x_418, 1, x_416); -x_419 = lean_array_push(x_413, x_392); -x_420 = lean_array_push(x_419, x_397); -x_421 = lean_array_push(x_420, x_418); -x_422 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_422, 0, x_417); -lean_ctor_set(x_422, 1, x_421); -lean_ctor_set(x_360, 0, x_422); -return x_360; -} -else -{ -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; -x_423 = lean_ctor_get(x_360, 0); -x_424 = lean_ctor_get(x_360, 1); -lean_inc(x_424); -lean_inc(x_423); -lean_dec(x_360); -x_425 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_423); -x_426 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_426, 0, x_423); -lean_ctor_set(x_426, 1, x_425); -x_427 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_423); -x_428 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_428, 0, x_423); -lean_ctor_set(x_428, 1, x_427); -x_429 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_423); -x_430 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_430, 0, x_423); -lean_ctor_set(x_430, 1, x_429); -x_431 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_423); -x_432 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_432, 0, x_423); -lean_ctor_set(x_432, 1, x_431); -x_433 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_434 = lean_array_push(x_433, x_432); -x_435 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_436 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_436, 0, x_435); -lean_ctor_set(x_436, 1, x_434); -x_437 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_438 = lean_array_push(x_437, x_2); -x_439 = lean_array_push(x_438, x_430); -lean_inc(x_439); -x_440 = lean_array_push(x_439, x_436); -x_441 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_442 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_442, 0, x_441); -lean_ctor_set(x_442, 1, x_440); -x_443 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_444 = lean_array_push(x_443, x_355); -x_445 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_446 = lean_array_push(x_444, x_445); -x_447 = lean_array_push(x_446, x_445); -lean_inc(x_428); -x_448 = lean_array_push(x_447, x_428); -x_449 = lean_array_push(x_448, x_442); -x_450 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_451, 0, x_450); -lean_ctor_set(x_451, 1, x_449); -x_452 = lean_array_push(x_433, x_451); -x_453 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_454 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_454, 0, x_453); -lean_ctor_set(x_454, 1, x_452); -x_455 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_423); -x_456 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_456, 0, x_423); -lean_ctor_set(x_456, 1, x_455); -x_457 = lean_array_push(x_433, x_456); -x_458 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_459 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_459, 0, x_458); -lean_ctor_set(x_459, 1, x_457); -x_460 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -x_461 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_461, 0, x_423); -lean_ctor_set(x_461, 1, x_460); -x_462 = lean_array_push(x_433, x_461); -x_463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_463, 0, x_435); -lean_ctor_set(x_463, 1, x_462); -x_464 = lean_array_push(x_439, x_463); -x_465 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_465, 0, x_441); -lean_ctor_set(x_465, 1, x_464); -x_466 = lean_array_push(x_443, x_358); -x_467 = lean_array_push(x_466, x_445); -x_468 = lean_array_push(x_467, x_445); -x_469 = lean_array_push(x_468, x_428); -x_470 = lean_array_push(x_469, x_465); -x_471 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_471, 0, x_450); -lean_ctor_set(x_471, 1, x_470); -x_472 = lean_array_push(x_433, x_471); -x_473 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_473, 0, x_453); -lean_ctor_set(x_473, 1, x_472); -x_474 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_475 = lean_array_push(x_474, x_426); -lean_inc(x_475); -x_476 = lean_array_push(x_475, x_473); -lean_inc(x_459); -x_477 = lean_array_push(x_476, x_459); -x_478 = lean_array_push(x_477, x_3); -x_479 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_480 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_480, 0, x_479); -lean_ctor_set(x_480, 1, x_478); -x_481 = lean_array_push(x_475, x_454); -x_482 = lean_array_push(x_481, x_459); -x_483 = lean_array_push(x_482, x_480); -x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_479); -lean_ctor_set(x_484, 1, x_483); -x_485 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_485, 0, x_484); -lean_ctor_set(x_485, 1, x_424); -return x_485; -} -} -else -{ -lean_object* x_486; uint8_t x_487; -lean_dec(x_351); -x_486 = lean_ctor_get(x_1, 0); -lean_inc(x_486); -lean_dec(x_1); -x_487 = !lean_is_exclusive(x_5); -if (x_487 == 0) -{ -lean_object* x_488; lean_object* x_489; lean_object* x_490; uint8_t x_491; -x_488 = lean_ctor_get(x_5, 0); -x_489 = lean_unsigned_to_nat(1u); -x_490 = lean_nat_add(x_488, x_489); -lean_ctor_set(x_5, 0, x_490); -x_491 = !lean_is_exclusive(x_4); -if (x_491 == 0) -{ -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; -x_492 = lean_ctor_get(x_4, 1); -x_493 = lean_ctor_get(x_4, 2); -lean_dec(x_493); -lean_inc(x_488); -lean_inc(x_492); -lean_ctor_set(x_4, 2, x_488); -x_494 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_5); -x_495 = lean_ctor_get(x_494, 0); -lean_inc(x_495); -x_496 = lean_ctor_get(x_494, 1); -lean_inc(x_496); -lean_dec(x_494); -x_497 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; -x_498 = l_Lean_addMacroScope(x_492, x_497, x_488); -x_499 = lean_box(0); -x_500 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__10; -lean_inc(x_498); -x_501 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_501, 0, x_495); -lean_ctor_set(x_501, 1, x_500); -lean_ctor_set(x_501, 2, x_498); -lean_ctor_set(x_501, 3, x_499); -lean_inc(x_4); -x_502 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct(x_10, x_501, x_3, x_4, x_496); -if (lean_obj_tag(x_502) == 0) -{ -lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; uint8_t x_509; -x_503 = lean_ctor_get(x_502, 0); -lean_inc(x_503); -x_504 = lean_ctor_get(x_502, 1); -lean_inc(x_504); -lean_dec(x_502); -x_505 = l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(x_486, x_4, x_504); -x_506 = lean_ctor_get(x_505, 0); -lean_inc(x_506); -x_507 = lean_ctor_get(x_505, 1); -lean_inc(x_507); -lean_dec(x_505); -x_508 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_507); -lean_dec(x_4); -x_509 = !lean_is_exclusive(x_508); -if (x_509 == 0) -{ -lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; 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; -x_510 = lean_ctor_get(x_508, 0); -x_511 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_510); -x_512 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_512, 0, x_510); -lean_ctor_set(x_512, 1, x_511); -x_513 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_510); -x_514 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_514, 0, x_510); -lean_ctor_set(x_514, 1, x_513); -x_515 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_510); -x_516 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_516, 0, x_510); -lean_ctor_set(x_516, 1, x_515); -x_517 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_510); -x_518 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_518, 0, x_510); -lean_ctor_set(x_518, 1, x_517); -x_519 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_520 = lean_array_push(x_519, x_518); -x_521 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_522 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_522, 0, x_521); -lean_ctor_set(x_522, 1, x_520); -x_523 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_524 = lean_array_push(x_523, x_2); -x_525 = lean_array_push(x_524, x_516); -lean_inc(x_525); -x_526 = lean_array_push(x_525, x_522); -x_527 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_528 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_528, 0, x_527); -lean_ctor_set(x_528, 1, x_526); -x_529 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_530 = lean_array_push(x_529, x_506); -x_531 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_532 = lean_array_push(x_530, x_531); -x_533 = lean_array_push(x_532, x_531); -lean_inc(x_514); -x_534 = lean_array_push(x_533, x_514); -x_535 = lean_array_push(x_534, x_528); -x_536 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_537 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_537, 0, x_536); -lean_ctor_set(x_537, 1, x_535); -x_538 = lean_array_push(x_519, x_537); -x_539 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -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_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_510); -x_542 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_542, 0, x_510); -lean_ctor_set(x_542, 1, x_541); -x_543 = lean_array_push(x_519, x_542); -x_544 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_545 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_545, 0, x_544); -lean_ctor_set(x_545, 1, x_543); -lean_inc(x_510); -x_546 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_546, 0, x_510); -lean_ctor_set(x_546, 1, x_500); -lean_ctor_set(x_546, 2, x_498); -lean_ctor_set(x_546, 3, x_499); -x_547 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -x_548 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_548, 0, x_510); -lean_ctor_set(x_548, 1, x_547); -x_549 = lean_array_push(x_519, x_548); -x_550 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_550, 0, x_521); -lean_ctor_set(x_550, 1, x_549); -x_551 = lean_array_push(x_525, x_550); -x_552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_552, 0, x_527); -lean_ctor_set(x_552, 1, x_551); -x_553 = lean_array_push(x_529, x_546); -x_554 = lean_array_push(x_553, x_531); -x_555 = lean_array_push(x_554, x_531); -x_556 = lean_array_push(x_555, x_514); -x_557 = lean_array_push(x_556, x_552); -x_558 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_558, 0, x_536); -lean_ctor_set(x_558, 1, x_557); -x_559 = lean_array_push(x_519, x_558); -x_560 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_560, 0, x_539); -lean_ctor_set(x_560, 1, x_559); -x_561 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_562 = lean_array_push(x_561, x_512); -lean_inc(x_562); -x_563 = lean_array_push(x_562, x_560); -lean_inc(x_545); -x_564 = lean_array_push(x_563, x_545); -x_565 = lean_array_push(x_564, x_503); -x_566 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_567 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_567, 0, x_566); -lean_ctor_set(x_567, 1, x_565); -x_568 = lean_array_push(x_562, x_540); -x_569 = lean_array_push(x_568, x_545); -x_570 = lean_array_push(x_569, x_567); -x_571 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_571, 0, x_566); -lean_ctor_set(x_571, 1, x_570); -lean_ctor_set(x_508, 0, x_571); -return x_508; -} -else -{ -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; lean_object* x_633; lean_object* x_634; lean_object* x_635; -x_572 = lean_ctor_get(x_508, 0); -x_573 = lean_ctor_get(x_508, 1); -lean_inc(x_573); -lean_inc(x_572); -lean_dec(x_508); -x_574 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_572); -x_575 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_575, 0, x_572); -lean_ctor_set(x_575, 1, x_574); -x_576 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_572); -x_577 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_577, 0, x_572); -lean_ctor_set(x_577, 1, x_576); -x_578 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_572); -x_579 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_579, 0, x_572); -lean_ctor_set(x_579, 1, x_578); -x_580 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_572); -x_581 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_581, 0, x_572); -lean_ctor_set(x_581, 1, x_580); -x_582 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_583 = lean_array_push(x_582, x_581); -x_584 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_585 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_585, 0, x_584); -lean_ctor_set(x_585, 1, x_583); -x_586 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_587 = lean_array_push(x_586, x_2); -x_588 = lean_array_push(x_587, x_579); -lean_inc(x_588); -x_589 = lean_array_push(x_588, x_585); -x_590 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_591 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_591, 0, x_590); -lean_ctor_set(x_591, 1, x_589); -x_592 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_593 = lean_array_push(x_592, x_506); -x_594 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_595 = lean_array_push(x_593, x_594); -x_596 = lean_array_push(x_595, x_594); -lean_inc(x_577); -x_597 = lean_array_push(x_596, x_577); -x_598 = lean_array_push(x_597, x_591); -x_599 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_600 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_600, 0, x_599); -lean_ctor_set(x_600, 1, x_598); -x_601 = lean_array_push(x_582, x_600); -x_602 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_603, 0, x_602); -lean_ctor_set(x_603, 1, x_601); -x_604 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_572); -x_605 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_605, 0, x_572); -lean_ctor_set(x_605, 1, x_604); -x_606 = lean_array_push(x_582, x_605); -x_607 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); -lean_inc(x_572); -x_609 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_609, 0, x_572); -lean_ctor_set(x_609, 1, x_500); -lean_ctor_set(x_609, 2, x_498); -lean_ctor_set(x_609, 3, x_499); -x_610 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -x_611 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_611, 0, x_572); -lean_ctor_set(x_611, 1, x_610); -x_612 = lean_array_push(x_582, x_611); -x_613 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_613, 0, x_584); -lean_ctor_set(x_613, 1, x_612); -x_614 = lean_array_push(x_588, x_613); -x_615 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_615, 0, x_590); -lean_ctor_set(x_615, 1, x_614); -x_616 = lean_array_push(x_592, x_609); -x_617 = lean_array_push(x_616, x_594); -x_618 = lean_array_push(x_617, x_594); -x_619 = lean_array_push(x_618, x_577); -x_620 = lean_array_push(x_619, x_615); -x_621 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_621, 0, x_599); -lean_ctor_set(x_621, 1, x_620); -x_622 = lean_array_push(x_582, x_621); -x_623 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_623, 0, x_602); -lean_ctor_set(x_623, 1, x_622); -x_624 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_625 = lean_array_push(x_624, x_575); -lean_inc(x_625); -x_626 = lean_array_push(x_625, x_623); -lean_inc(x_608); -x_627 = lean_array_push(x_626, x_608); -x_628 = lean_array_push(x_627, x_503); -x_629 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_630, 0, x_629); -lean_ctor_set(x_630, 1, x_628); -x_631 = lean_array_push(x_625, x_603); -x_632 = lean_array_push(x_631, x_608); -x_633 = lean_array_push(x_632, x_630); -x_634 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_634, 0, x_629); -lean_ctor_set(x_634, 1, x_633); -x_635 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_635, 0, x_634); -lean_ctor_set(x_635, 1, x_573); -return x_635; -} -} -else -{ -uint8_t x_636; -lean_dec(x_498); -lean_dec(x_4); -lean_dec(x_486); -lean_dec(x_2); -x_636 = !lean_is_exclusive(x_502); -if (x_636 == 0) -{ -return x_502; -} -else -{ -lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_637 = lean_ctor_get(x_502, 0); -x_638 = lean_ctor_get(x_502, 1); -lean_inc(x_638); -lean_inc(x_637); -lean_dec(x_502); -x_639 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_639, 0, x_637); -lean_ctor_set(x_639, 1, x_638); -return x_639; -} -} -} -else -{ -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; -x_640 = lean_ctor_get(x_4, 0); -x_641 = lean_ctor_get(x_4, 1); -x_642 = lean_ctor_get(x_4, 3); -x_643 = lean_ctor_get(x_4, 4); -x_644 = lean_ctor_get(x_4, 5); -lean_inc(x_644); -lean_inc(x_643); -lean_inc(x_642); -lean_inc(x_641); -lean_inc(x_640); -lean_dec(x_4); -lean_inc(x_488); -lean_inc(x_641); -x_645 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_645, 0, x_640); -lean_ctor_set(x_645, 1, x_641); -lean_ctor_set(x_645, 2, x_488); -lean_ctor_set(x_645, 3, x_642); -lean_ctor_set(x_645, 4, x_643); -lean_ctor_set(x_645, 5, x_644); -x_646 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_645, x_5); -x_647 = lean_ctor_get(x_646, 0); -lean_inc(x_647); -x_648 = lean_ctor_get(x_646, 1); -lean_inc(x_648); -lean_dec(x_646); -x_649 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; -x_650 = l_Lean_addMacroScope(x_641, x_649, x_488); -x_651 = lean_box(0); -x_652 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__10; -lean_inc(x_650); -x_653 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_653, 0, x_647); -lean_ctor_set(x_653, 1, x_652); -lean_ctor_set(x_653, 2, x_650); -lean_ctor_set(x_653, 3, x_651); -lean_inc(x_645); -x_654 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct(x_10, x_653, x_3, x_645, x_648); -if (lean_obj_tag(x_654) == 0) -{ -lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; 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; -x_655 = lean_ctor_get(x_654, 0); -lean_inc(x_655); -x_656 = lean_ctor_get(x_654, 1); -lean_inc(x_656); -lean_dec(x_654); -x_657 = l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(x_486, x_645, x_656); -x_658 = lean_ctor_get(x_657, 0); -lean_inc(x_658); -x_659 = lean_ctor_get(x_657, 1); -lean_inc(x_659); -lean_dec(x_657); -x_660 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_645, x_659); -lean_dec(x_645); -x_661 = lean_ctor_get(x_660, 0); -lean_inc(x_661); -x_662 = lean_ctor_get(x_660, 1); -lean_inc(x_662); -if (lean_is_exclusive(x_660)) { - lean_ctor_release(x_660, 0); - lean_ctor_release(x_660, 1); - x_663 = x_660; -} else { - lean_dec_ref(x_660); - x_663 = lean_box(0); -} -x_664 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_661); -x_665 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_665, 0, x_661); -lean_ctor_set(x_665, 1, x_664); -x_666 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_661); -x_667 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_667, 0, x_661); -lean_ctor_set(x_667, 1, x_666); -x_668 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_661); -x_669 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_669, 0, x_661); -lean_ctor_set(x_669, 1, x_668); -x_670 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_661); -x_671 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_671, 0, x_661); -lean_ctor_set(x_671, 1, x_670); -x_672 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_673 = lean_array_push(x_672, x_671); -x_674 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_675 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_675, 0, x_674); -lean_ctor_set(x_675, 1, x_673); -x_676 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_677 = lean_array_push(x_676, x_2); -x_678 = lean_array_push(x_677, x_669); -lean_inc(x_678); -x_679 = lean_array_push(x_678, x_675); -x_680 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_681 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_681, 0, x_680); -lean_ctor_set(x_681, 1, x_679); -x_682 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_683 = lean_array_push(x_682, x_658); -x_684 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_685 = lean_array_push(x_683, x_684); -x_686 = lean_array_push(x_685, x_684); -lean_inc(x_667); -x_687 = lean_array_push(x_686, x_667); -x_688 = lean_array_push(x_687, x_681); -x_689 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_690, 0, x_689); -lean_ctor_set(x_690, 1, x_688); -x_691 = lean_array_push(x_672, x_690); -x_692 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_693 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_693, 0, x_692); -lean_ctor_set(x_693, 1, x_691); -x_694 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_661); -x_695 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_695, 0, x_661); -lean_ctor_set(x_695, 1, x_694); -x_696 = lean_array_push(x_672, x_695); -x_697 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_698 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_698, 0, x_697); -lean_ctor_set(x_698, 1, x_696); -lean_inc(x_661); -x_699 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_699, 0, x_661); -lean_ctor_set(x_699, 1, x_652); -lean_ctor_set(x_699, 2, x_650); -lean_ctor_set(x_699, 3, x_651); -x_700 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -x_701 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_701, 0, x_661); -lean_ctor_set(x_701, 1, x_700); -x_702 = lean_array_push(x_672, x_701); -x_703 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_703, 0, x_674); -lean_ctor_set(x_703, 1, x_702); -x_704 = lean_array_push(x_678, x_703); -x_705 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_705, 0, x_680); -lean_ctor_set(x_705, 1, x_704); -x_706 = lean_array_push(x_682, x_699); -x_707 = lean_array_push(x_706, x_684); -x_708 = lean_array_push(x_707, x_684); -x_709 = lean_array_push(x_708, x_667); -x_710 = lean_array_push(x_709, x_705); -x_711 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_711, 0, x_689); -lean_ctor_set(x_711, 1, x_710); -x_712 = lean_array_push(x_672, x_711); -x_713 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_713, 0, x_692); -lean_ctor_set(x_713, 1, x_712); -x_714 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_715 = lean_array_push(x_714, x_665); -lean_inc(x_715); -x_716 = lean_array_push(x_715, x_713); -lean_inc(x_698); -x_717 = lean_array_push(x_716, x_698); -x_718 = lean_array_push(x_717, x_655); -x_719 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_720 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_720, 0, x_719); -lean_ctor_set(x_720, 1, x_718); -x_721 = lean_array_push(x_715, x_693); -x_722 = lean_array_push(x_721, x_698); -x_723 = lean_array_push(x_722, x_720); -x_724 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_724, 0, x_719); -lean_ctor_set(x_724, 1, x_723); -if (lean_is_scalar(x_663)) { - x_725 = lean_alloc_ctor(0, 2, 0); -} else { - x_725 = x_663; -} -lean_ctor_set(x_725, 0, x_724); -lean_ctor_set(x_725, 1, x_662); -return x_725; -} -else -{ -lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; -lean_dec(x_650); -lean_dec(x_645); -lean_dec(x_486); -lean_dec(x_2); -x_726 = lean_ctor_get(x_654, 0); -lean_inc(x_726); -x_727 = lean_ctor_get(x_654, 1); -lean_inc(x_727); -if (lean_is_exclusive(x_654)) { - lean_ctor_release(x_654, 0); - lean_ctor_release(x_654, 1); - x_728 = x_654; -} else { - lean_dec_ref(x_654); - x_728 = lean_box(0); -} -if (lean_is_scalar(x_728)) { - x_729 = lean_alloc_ctor(1, 2, 0); -} else { - x_729 = x_728; -} -lean_ctor_set(x_729, 0, x_726); -lean_ctor_set(x_729, 1, x_727); -return x_729; -} -} -} -else -{ -lean_object* x_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; -x_730 = lean_ctor_get(x_5, 0); -x_731 = lean_ctor_get(x_5, 1); -lean_inc(x_731); -lean_inc(x_730); -lean_dec(x_5); -x_732 = lean_unsigned_to_nat(1u); -x_733 = lean_nat_add(x_730, x_732); -x_734 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_734, 0, x_733); -lean_ctor_set(x_734, 1, x_731); -x_735 = lean_ctor_get(x_4, 0); -lean_inc(x_735); -x_736 = lean_ctor_get(x_4, 1); -lean_inc(x_736); -x_737 = lean_ctor_get(x_4, 3); -lean_inc(x_737); -x_738 = lean_ctor_get(x_4, 4); -lean_inc(x_738); -x_739 = lean_ctor_get(x_4, 5); -lean_inc(x_739); -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); - x_740 = x_4; -} else { - lean_dec_ref(x_4); - x_740 = lean_box(0); -} -lean_inc(x_730); -lean_inc(x_736); -if (lean_is_scalar(x_740)) { - x_741 = lean_alloc_ctor(0, 6, 0); -} else { - x_741 = x_740; -} -lean_ctor_set(x_741, 0, x_735); -lean_ctor_set(x_741, 1, x_736); -lean_ctor_set(x_741, 2, x_730); -lean_ctor_set(x_741, 3, x_737); -lean_ctor_set(x_741, 4, x_738); -lean_ctor_set(x_741, 5, x_739); -x_742 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_741, x_734); -x_743 = lean_ctor_get(x_742, 0); -lean_inc(x_743); -x_744 = lean_ctor_get(x_742, 1); -lean_inc(x_744); -lean_dec(x_742); -x_745 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; -x_746 = l_Lean_addMacroScope(x_736, x_745, x_730); -x_747 = lean_box(0); -x_748 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__10; -lean_inc(x_746); -x_749 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_749, 0, x_743); -lean_ctor_set(x_749, 1, x_748); -lean_ctor_set(x_749, 2, x_746); -lean_ctor_set(x_749, 3, x_747); -lean_inc(x_741); -x_750 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct(x_10, x_749, x_3, x_741, x_744); -if (lean_obj_tag(x_750) == 0) -{ -lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; -x_751 = lean_ctor_get(x_750, 0); -lean_inc(x_751); -x_752 = lean_ctor_get(x_750, 1); -lean_inc(x_752); -lean_dec(x_750); -x_753 = l_Lean_mkIdentFromRef___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___spec__1(x_486, x_741, x_752); -x_754 = lean_ctor_get(x_753, 0); -lean_inc(x_754); -x_755 = lean_ctor_get(x_753, 1); -lean_inc(x_755); -lean_dec(x_753); -x_756 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_741, x_755); -lean_dec(x_741); -x_757 = lean_ctor_get(x_756, 0); -lean_inc(x_757); -x_758 = lean_ctor_get(x_756, 1); -lean_inc(x_758); -if (lean_is_exclusive(x_756)) { - lean_ctor_release(x_756, 0); - lean_ctor_release(x_756, 1); - x_759 = x_756; -} else { - lean_dec_ref(x_756); - x_759 = lean_box(0); -} -x_760 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_757); -x_761 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_761, 0, x_757); -lean_ctor_set(x_761, 1, x_760); -x_762 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_757); -x_763 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_763, 0, x_757); -lean_ctor_set(x_763, 1, x_762); -x_764 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_757); -x_765 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_765, 0, x_757); -lean_ctor_set(x_765, 1, x_764); -x_766 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_757); -x_767 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_767, 0, x_757); -lean_ctor_set(x_767, 1, x_766); -x_768 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_769 = lean_array_push(x_768, x_767); -x_770 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_771 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_771, 0, x_770); -lean_ctor_set(x_771, 1, x_769); -x_772 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_773 = lean_array_push(x_772, x_2); -x_774 = lean_array_push(x_773, x_765); -lean_inc(x_774); -x_775 = lean_array_push(x_774, x_771); -x_776 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_777 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_777, 0, x_776); -lean_ctor_set(x_777, 1, x_775); -x_778 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_779 = lean_array_push(x_778, x_754); -x_780 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_781 = lean_array_push(x_779, x_780); -x_782 = lean_array_push(x_781, x_780); -lean_inc(x_763); -x_783 = lean_array_push(x_782, x_763); -x_784 = lean_array_push(x_783, x_777); -x_785 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_786 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_786, 0, x_785); -lean_ctor_set(x_786, 1, x_784); -x_787 = lean_array_push(x_768, x_786); -x_788 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_789 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_789, 0, x_788); -lean_ctor_set(x_789, 1, x_787); -x_790 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_757); -x_791 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_791, 0, x_757); -lean_ctor_set(x_791, 1, x_790); -x_792 = lean_array_push(x_768, x_791); -x_793 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); -lean_inc(x_757); -x_795 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_795, 0, x_757); -lean_ctor_set(x_795, 1, x_748); -lean_ctor_set(x_795, 2, x_746); -lean_ctor_set(x_795, 3, x_747); -x_796 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -x_797 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_797, 0, x_757); -lean_ctor_set(x_797, 1, x_796); -x_798 = lean_array_push(x_768, x_797); -x_799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_799, 0, x_770); -lean_ctor_set(x_799, 1, x_798); -x_800 = lean_array_push(x_774, x_799); -x_801 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_801, 0, x_776); -lean_ctor_set(x_801, 1, x_800); -x_802 = lean_array_push(x_778, x_795); -x_803 = lean_array_push(x_802, x_780); -x_804 = lean_array_push(x_803, x_780); -x_805 = lean_array_push(x_804, x_763); -x_806 = lean_array_push(x_805, x_801); -x_807 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_807, 0, x_785); -lean_ctor_set(x_807, 1, x_806); -x_808 = lean_array_push(x_768, x_807); -x_809 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_809, 0, x_788); -lean_ctor_set(x_809, 1, x_808); -x_810 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_811 = lean_array_push(x_810, x_761); -lean_inc(x_811); -x_812 = lean_array_push(x_811, x_809); -lean_inc(x_794); -x_813 = lean_array_push(x_812, x_794); -x_814 = lean_array_push(x_813, x_751); -x_815 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_816 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_816, 0, x_815); -lean_ctor_set(x_816, 1, x_814); -x_817 = lean_array_push(x_811, x_789); -x_818 = lean_array_push(x_817, x_794); -x_819 = lean_array_push(x_818, x_816); -x_820 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_820, 0, x_815); -lean_ctor_set(x_820, 1, x_819); -if (lean_is_scalar(x_759)) { - x_821 = lean_alloc_ctor(0, 2, 0); -} else { - x_821 = x_759; -} -lean_ctor_set(x_821, 0, x_820); -lean_ctor_set(x_821, 1, x_758); -return x_821; -} -else -{ -lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; -lean_dec(x_746); -lean_dec(x_741); -lean_dec(x_486); -lean_dec(x_2); -x_822 = lean_ctor_get(x_750, 0); -lean_inc(x_822); -x_823 = lean_ctor_get(x_750, 1); -lean_inc(x_823); -if (lean_is_exclusive(x_750)) { - lean_ctor_release(x_750, 0); - lean_ctor_release(x_750, 1); - x_824 = x_750; -} else { - lean_dec_ref(x_750); - x_824 = lean_box(0); -} -if (lean_is_scalar(x_824)) { - x_825 = lean_alloc_ctor(1, 2, 0); -} else { - x_825 = x_824; -} -lean_ctor_set(x_825, 0, x_822); -lean_ctor_set(x_825, 1, x_823); -return x_825; -} +x_270 = lean_ctor_get(x_198, 1); +lean_inc(x_270); +lean_dec(x_198); +x_271 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_271, 0, x_269); +lean_ctor_set(x_271, 1, x_270); +return x_271; } } } @@ -26221,7 +18320,7 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +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; x_13 = l_Lean_instInhabitedName; x_14 = lean_array_get(x_13, x_1, x_7); lean_dec(x_1); @@ -26233,20 +18332,20 @@ lean_inc(x_17); lean_dec(x_15); x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_4, x_17); lean_dec(x_4); -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_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; -x_20 = lean_ctor_get(x_18, 0); -x_21 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); +lean_dec(x_18); +x_21 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_19); x_22 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 0, x_19); lean_ctor_set(x_22, 1, x_21); x_23 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_20); +lean_inc(x_19); x_24 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_24, 0, x_20); +lean_ctor_set(x_24, 0, x_19); lean_ctor_set(x_24, 1, x_23); x_25 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; x_26 = lean_array_push(x_25, x_16); @@ -26267,7 +18366,7 @@ lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; x_39 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_39, 0, x_20); +lean_ctor_set(x_39, 0, x_19); lean_ctor_set(x_39, 1, x_38); x_40 = lean_array_push(x_34, x_39); x_41 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; @@ -26283,80 +18382,23 @@ x_48 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___cl x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); -lean_ctor_set(x_18, 0, x_49); -return x_18; -} -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; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_50 = lean_ctor_get(x_18, 0); -x_51 = lean_ctor_get(x_18, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_18); -x_52 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_50); -x_53 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_53, 0, x_50); -lean_ctor_set(x_53, 1, x_52); -x_54 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_50); -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_50); -lean_ctor_set(x_55, 1, x_54); -x_56 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_57 = lean_array_push(x_56, x_16); -x_58 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_59 = lean_array_push(x_57, x_58); -x_60 = lean_array_push(x_59, x_58); -x_61 = lean_array_push(x_60, x_55); -x_62 = lean_array_push(x_61, x_2); -x_63 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -x_65 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_66 = lean_array_push(x_65, x_64); -x_67 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_70 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_70, 0, x_50); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_array_push(x_65, x_70); -x_72 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_75 = lean_array_push(x_74, x_53); -x_76 = lean_array_push(x_75, x_68); -x_77 = lean_array_push(x_76, x_73); -x_78 = lean_array_push(x_77, x_3); -x_79 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_51); -return x_81; -} +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_20); +return x_50; } } else { -lean_object* x_82; +lean_object* x_51; lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_3); -lean_ctor_set(x_82, 1, x_5); -return x_82; +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_3); +lean_ctor_set(x_51, 1, x_5); +return x_51; } } } @@ -26532,26 +18574,17 @@ return x_15; } else { -uint8_t x_16; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_2); -x_16 = !lean_is_exclusive(x_12); -if (x_16 == 0) -{ -return x_12; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_12, 0); -x_18 = lean_ctor_get(x_12, 1); -lean_inc(x_18); +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_12, 1); lean_inc(x_17); lean_dec(x_12); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; } } } @@ -26947,7 +18980,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__4; x_2 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__22; -x_3 = lean_unsigned_to_nat(883u); +x_3 = lean_unsigned_to_nat(886u); x_4 = lean_unsigned_to_nat(28u); x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -27246,13 +19279,13 @@ x_10 = l_Array_isEmpty___rarg(x_9); lean_dec(x_9); if (x_10 == 0) { -lean_object* x_11; uint8_t x_12; +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; x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_8); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -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; -x_13 = lean_ctor_get(x_11, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); x_14 = lean_ctor_get(x_3, 2); lean_inc(x_14); x_15 = lean_ctor_get(x_3, 1); @@ -27264,24 +19297,24 @@ lean_inc(x_15); x_17 = l_Lean_addMacroScope(x_15, x_16, x_14); x_18 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; x_19 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_13); +lean_inc(x_12); x_20 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_20, 0, x_12); 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___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_13); +lean_inc(x_12); x_22 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_22, 0, x_13); +lean_ctor_set(x_22, 0, x_12); lean_ctor_set(x_22, 1, x_21); x_23 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; x_24 = l_Lean_addMacroScope(x_15, x_23, x_14); x_25 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; x_26 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_13); +lean_inc(x_12); x_27 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_27, 0, x_13); +lean_ctor_set(x_27, 0, x_12); lean_ctor_set(x_27, 1, x_25); lean_ctor_set(x_27, 2, x_24); lean_ctor_set(x_27, 3, x_26); @@ -27306,7 +19339,7 @@ lean_ctor_set(x_40, 0, x_31); lean_ctor_set(x_40, 1, x_39); x_41 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; x_42 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_42, 0, x_13); +lean_ctor_set(x_42, 0, x_12); lean_ctor_set(x_42, 1, x_41); x_43 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; x_44 = lean_array_push(x_43, x_22); @@ -27326,520 +19359,520 @@ x_53 = lean_array_push(x_52, x_51); x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_35); lean_ctor_set(x_54, 1, x_53); -lean_ctor_set(x_11, 0, x_54); -return x_11; +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_13); +return x_55; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_55 = lean_ctor_get(x_11, 0); -x_56 = lean_ctor_get(x_11, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_11); -x_57 = lean_ctor_get(x_3, 2); -lean_inc(x_57); -x_58 = lean_ctor_get(x_3, 1); -lean_inc(x_58); -lean_dec(x_3); -x_59 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_57); -lean_inc(x_58); -x_60 = l_Lean_addMacroScope(x_58, x_59, x_57); -x_61 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_62 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_55); -x_63 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_63, 0, x_55); -lean_ctor_set(x_63, 1, x_61); -lean_ctor_set(x_63, 2, x_60); -lean_ctor_set(x_63, 3, x_62); -x_64 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_55); -x_65 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_65, 0, x_55); -lean_ctor_set(x_65, 1, x_64); -x_66 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -x_67 = l_Lean_addMacroScope(x_58, x_66, x_57); -x_68 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_69 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_55); -x_70 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_70, 0, x_55); -lean_ctor_set(x_70, 1, x_68); -lean_ctor_set(x_70, 2, x_67); -lean_ctor_set(x_70, 3, x_69); -x_71 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_72 = lean_array_push(x_71, x_1); -x_73 = lean_array_push(x_72, x_7); -x_74 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -x_76 = lean_array_push(x_71, x_70); -x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_array_push(x_71, x_79); -x_81 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_82 = lean_array_push(x_80, x_81); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_74); -lean_ctor_set(x_83, 1, x_82); -x_84 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_85 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_85, 0, x_55); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_87 = lean_array_push(x_86, x_65); -x_88 = lean_array_push(x_87, x_83); -x_89 = lean_array_push(x_88, x_85); -x_90 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_93 = lean_array_push(x_92, x_91); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_74); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_array_push(x_71, x_63); -x_96 = lean_array_push(x_95, x_94); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_78); -lean_ctor_set(x_97, 1, x_96); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_56); -return x_98; -} -} -else -{ -lean_object* x_99; uint8_t x_100; +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_dec(x_7); -x_99 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_8); -x_100 = !lean_is_exclusive(x_99); -if (x_100 == 0) -{ -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; -x_101 = lean_ctor_get(x_99, 0); -x_102 = lean_ctor_get(x_3, 2); -lean_inc(x_102); -x_103 = lean_ctor_get(x_3, 1); -lean_inc(x_103); +x_56 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_8); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = lean_ctor_get(x_3, 2); +lean_inc(x_59); +x_60 = lean_ctor_get(x_3, 1); +lean_inc(x_60); lean_dec(x_3); -x_104 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -x_105 = l_Lean_addMacroScope(x_103, x_104, x_102); -x_106 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_107 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -x_108 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_108, 0, x_101); -lean_ctor_set(x_108, 1, x_106); -lean_ctor_set(x_108, 2, x_105); -lean_ctor_set(x_108, 3, x_107); -x_109 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_110 = lean_array_push(x_109, x_1); -x_111 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_110); -x_113 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_114 = lean_array_push(x_113, x_108); -x_115 = lean_array_push(x_114, x_112); -x_116 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_115); -lean_ctor_set(x_99, 0, x_117); -return x_99; -} -else -{ -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; -x_118 = lean_ctor_get(x_99, 0); -x_119 = lean_ctor_get(x_99, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_99); -x_120 = lean_ctor_get(x_3, 2); -lean_inc(x_120); -x_121 = lean_ctor_get(x_3, 1); -lean_inc(x_121); -lean_dec(x_3); -x_122 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -x_123 = l_Lean_addMacroScope(x_121, x_122, x_120); -x_124 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_125 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -x_126 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_126, 0, x_118); -lean_ctor_set(x_126, 1, x_124); -lean_ctor_set(x_126, 2, x_123); -lean_ctor_set(x_126, 3, x_125); -x_127 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_128 = lean_array_push(x_127, x_1); -x_129 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_128); -x_131 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_132 = lean_array_push(x_131, x_126); -x_133 = lean_array_push(x_132, x_130); -x_134 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_119); -return x_136; -} +x_61 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +x_62 = l_Lean_addMacroScope(x_60, x_61, x_59); +x_63 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_64 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +x_65 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_65, 0, x_57); +lean_ctor_set(x_65, 1, x_63); +lean_ctor_set(x_65, 2, x_62); +lean_ctor_set(x_65, 3, x_64); +x_66 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_67 = lean_array_push(x_66, x_1); +x_68 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_71 = lean_array_push(x_70, x_65); +x_72 = lean_array_push(x_71, x_69); +x_73 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_58); +return x_75; } } case 1: { -lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_dec(x_2); lean_dec(x_1); -x_137 = lean_ctor_get(x_5, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_5, 1); -lean_inc(x_138); +x_76 = lean_ctor_get(x_5, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_5, 1); +lean_inc(x_77); lean_dec(x_5); -x_139 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_138); -x_140 = !lean_is_exclusive(x_139); -if (x_140 == 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; 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; -x_141 = lean_ctor_get(x_139, 0); -x_142 = lean_ctor_get(x_3, 2); -lean_inc(x_142); -x_143 = lean_ctor_get(x_3, 1); -lean_inc(x_143); +x_78 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_77); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_ctor_get(x_3, 2); +lean_inc(x_81); +x_82 = lean_ctor_get(x_3, 1); +lean_inc(x_82); lean_dec(x_3); -x_144 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_142); -lean_inc(x_143); -x_145 = l_Lean_addMacroScope(x_143, x_144, x_142); -x_146 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_147 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_141); -x_148 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_148, 0, x_141); -lean_ctor_set(x_148, 1, x_146); -lean_ctor_set(x_148, 2, x_145); -lean_ctor_set(x_148, 3, x_147); -x_149 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_141); -x_150 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_150, 0, x_141); -lean_ctor_set(x_150, 1, x_149); -x_151 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__9; -x_152 = l_Lean_addMacroScope(x_143, x_151, x_142); -x_153 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; -x_154 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__11; -lean_inc(x_141); -x_155 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_155, 0, x_141); -lean_ctor_set(x_155, 1, x_153); -lean_ctor_set(x_155, 2, x_152); -lean_ctor_set(x_155, 3, x_154); -x_156 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_157 = lean_array_push(x_156, x_137); -x_158 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -x_160 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_161 = lean_array_push(x_160, x_155); -x_162 = lean_array_push(x_161, x_159); -x_163 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_162); -x_165 = lean_array_push(x_160, x_164); -x_166 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_167 = lean_array_push(x_165, x_166); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_158); -lean_ctor_set(x_168, 1, x_167); -x_169 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_170 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_170, 0, x_141); -lean_ctor_set(x_170, 1, x_169); -x_171 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_172 = lean_array_push(x_171, x_150); -x_173 = lean_array_push(x_172, x_168); -x_174 = lean_array_push(x_173, x_170); -x_175 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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 = lean_array_push(x_156, x_176); -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_158); -lean_ctor_set(x_178, 1, x_177); -x_179 = lean_array_push(x_160, x_148); -x_180 = lean_array_push(x_179, x_178); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_163); -lean_ctor_set(x_181, 1, x_180); -lean_ctor_set(x_139, 0, x_181); -return x_139; -} -else -{ -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_182 = lean_ctor_get(x_139, 0); -x_183 = lean_ctor_get(x_139, 1); -lean_inc(x_183); -lean_inc(x_182); -lean_dec(x_139); -x_184 = lean_ctor_get(x_3, 2); -lean_inc(x_184); -x_185 = lean_ctor_get(x_3, 1); -lean_inc(x_185); -lean_dec(x_3); -x_186 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_184); -lean_inc(x_185); -x_187 = l_Lean_addMacroScope(x_185, x_186, x_184); -x_188 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_189 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_182); -x_190 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_190, 0, x_182); -lean_ctor_set(x_190, 1, x_188); -lean_ctor_set(x_190, 2, x_187); -lean_ctor_set(x_190, 3, x_189); -x_191 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_182); -x_192 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_192, 0, x_182); -lean_ctor_set(x_192, 1, x_191); -x_193 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__9; -x_194 = l_Lean_addMacroScope(x_185, x_193, x_184); -x_195 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; -x_196 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__11; -lean_inc(x_182); -x_197 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_197, 0, x_182); -lean_ctor_set(x_197, 1, x_195); -lean_ctor_set(x_197, 2, x_194); -lean_ctor_set(x_197, 3, x_196); -x_198 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_199 = lean_array_push(x_198, x_137); -x_200 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_199); -x_202 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_203 = lean_array_push(x_202, x_197); -x_204 = lean_array_push(x_203, x_201); -x_205 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set(x_206, 1, x_204); -x_207 = lean_array_push(x_202, x_206); -x_208 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_209 = lean_array_push(x_207, x_208); -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_200); -lean_ctor_set(x_210, 1, x_209); -x_211 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_212 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_212, 0, x_182); -lean_ctor_set(x_212, 1, x_211); -x_213 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_214 = lean_array_push(x_213, x_192); -x_215 = lean_array_push(x_214, x_210); -x_216 = lean_array_push(x_215, x_212); -x_217 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_216); -x_219 = lean_array_push(x_198, x_218); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_200); -lean_ctor_set(x_220, 1, x_219); -x_221 = lean_array_push(x_202, x_190); -x_222 = lean_array_push(x_221, x_220); -x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_205); -lean_ctor_set(x_223, 1, x_222); -x_224 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_183); -return x_224; -} +x_83 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_81); +lean_inc(x_82); +x_84 = l_Lean_addMacroScope(x_82, x_83, x_81); +x_85 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_86 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_79); +x_87 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_87, 0, x_79); +lean_ctor_set(x_87, 1, x_85); +lean_ctor_set(x_87, 2, x_84); +lean_ctor_set(x_87, 3, x_86); +x_88 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_79); +x_89 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_89, 0, x_79); +lean_ctor_set(x_89, 1, x_88); +x_90 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__9; +x_91 = l_Lean_addMacroScope(x_82, x_90, x_81); +x_92 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; +x_93 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__11; +lean_inc(x_79); +x_94 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_94, 0, x_79); +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___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_96 = lean_array_push(x_95, x_76); +x_97 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_96); +x_99 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_100 = lean_array_push(x_99, x_94); +x_101 = lean_array_push(x_100, x_98); +x_102 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_101); +x_104 = lean_array_push(x_99, x_103); +x_105 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_106 = lean_array_push(x_104, x_105); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_97); +lean_ctor_set(x_107, 1, x_106); +x_108 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_79); +lean_ctor_set(x_109, 1, x_108); +x_110 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_111 = lean_array_push(x_110, x_89); +x_112 = lean_array_push(x_111, x_107); +x_113 = lean_array_push(x_112, x_109); +x_114 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_113); +x_116 = lean_array_push(x_95, x_115); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_97); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_array_push(x_99, x_87); +x_119 = lean_array_push(x_118, x_117); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_102); +lean_ctor_set(x_120, 1, x_119); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_80); +return x_121; } case 2: { -lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_dec(x_2); -x_225 = lean_ctor_get(x_5, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_5, 1); -lean_inc(x_226); +x_122 = lean_ctor_get(x_5, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_5, 1); +lean_inc(x_123); lean_dec(x_5); -x_227 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_226); -x_228 = !lean_is_exclusive(x_227); -if (x_228 == 0) -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 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; -x_229 = lean_ctor_get(x_227, 0); -x_230 = lean_ctor_get(x_3, 2); -lean_inc(x_230); -x_231 = lean_ctor_get(x_3, 1); -lean_inc(x_231); +x_124 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_123); +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_127 = lean_ctor_get(x_3, 2); +lean_inc(x_127); +x_128 = lean_ctor_get(x_3, 1); +lean_inc(x_128); lean_dec(x_3); -x_232 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_230); -lean_inc(x_231); -x_233 = l_Lean_addMacroScope(x_231, x_232, x_230); -x_234 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_235 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_229); -x_236 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_236, 0, x_229); -lean_ctor_set(x_236, 1, x_234); -lean_ctor_set(x_236, 2, x_233); -lean_ctor_set(x_236, 3, x_235); -x_237 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_229); -x_238 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_238, 0, x_229); -lean_ctor_set(x_238, 1, x_237); -x_239 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__9; -lean_inc(x_230); -lean_inc(x_231); -x_240 = l_Lean_addMacroScope(x_231, x_239, x_230); -x_241 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; -x_242 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__11; -lean_inc(x_229); -x_243 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_243, 0, x_229); -lean_ctor_set(x_243, 1, x_241); -lean_ctor_set(x_243, 2, x_240); -lean_ctor_set(x_243, 3, x_242); -x_244 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -lean_inc(x_230); -lean_inc(x_231); -x_245 = l_Lean_addMacroScope(x_231, x_244, x_230); -x_246 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_247 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_229); -x_248 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_248, 0, x_229); -lean_ctor_set(x_248, 1, x_246); -lean_ctor_set(x_248, 2, x_245); -lean_ctor_set(x_248, 3, x_247); -x_249 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -x_250 = l_Lean_addMacroScope(x_231, x_249, x_230); -x_251 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; -x_252 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; -lean_inc(x_229); -x_253 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_253, 0, x_229); -lean_ctor_set(x_253, 1, x_251); -lean_ctor_set(x_253, 2, x_250); -lean_ctor_set(x_253, 3, x_252); -x_254 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_255 = lean_array_push(x_254, x_1); -x_256 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_256); -lean_ctor_set(x_257, 1, x_255); -x_258 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_259 = lean_array_push(x_258, x_253); -x_260 = lean_array_push(x_259, x_257); -x_261 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_261); -lean_ctor_set(x_262, 1, x_260); -x_263 = lean_array_push(x_258, x_262); -x_264 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_265 = lean_array_push(x_263, x_264); -x_266 = lean_alloc_ctor(1, 2, 0); +x_129 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_127); +lean_inc(x_128); +x_130 = l_Lean_addMacroScope(x_128, x_129, x_127); +x_131 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_132 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_125); +x_133 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_133, 0, x_125); +lean_ctor_set(x_133, 1, x_131); +lean_ctor_set(x_133, 2, x_130); +lean_ctor_set(x_133, 3, x_132); +x_134 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_125); +x_135 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_135, 0, x_125); +lean_ctor_set(x_135, 1, x_134); +x_136 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__9; +lean_inc(x_127); +lean_inc(x_128); +x_137 = l_Lean_addMacroScope(x_128, x_136, x_127); +x_138 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; +x_139 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__11; +lean_inc(x_125); +x_140 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_140, 0, x_125); +lean_ctor_set(x_140, 1, x_138); +lean_ctor_set(x_140, 2, x_137); +lean_ctor_set(x_140, 3, x_139); +x_141 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; +lean_inc(x_127); +lean_inc(x_128); +x_142 = l_Lean_addMacroScope(x_128, x_141, x_127); +x_143 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; +x_144 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; +lean_inc(x_125); +x_145 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_145, 0, x_125); +lean_ctor_set(x_145, 1, x_143); +lean_ctor_set(x_145, 2, x_142); +lean_ctor_set(x_145, 3, x_144); +x_146 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; +x_147 = l_Lean_addMacroScope(x_128, x_146, x_127); +x_148 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; +x_149 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; +lean_inc(x_125); +x_150 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_150, 0, x_125); +lean_ctor_set(x_150, 1, x_148); +lean_ctor_set(x_150, 2, x_147); +lean_ctor_set(x_150, 3, x_149); +x_151 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_152 = lean_array_push(x_151, x_1); +x_153 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_152); +x_155 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_156 = lean_array_push(x_155, x_150); +x_157 = lean_array_push(x_156, x_154); +x_158 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_157); +x_160 = lean_array_push(x_155, x_159); +x_161 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_162 = lean_array_push(x_160, x_161); +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_153); +lean_ctor_set(x_163, 1, x_162); +x_164 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_165 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_165, 0, x_125); +lean_ctor_set(x_165, 1, x_164); +x_166 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_167 = lean_array_push(x_166, x_135); +lean_inc(x_167); +x_168 = lean_array_push(x_167, x_163); +lean_inc(x_165); +x_169 = lean_array_push(x_168, x_165); +x_170 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_169); +x_172 = lean_array_push(x_155, x_171); +x_173 = lean_array_push(x_172, x_122); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_153); +lean_ctor_set(x_174, 1, x_173); +x_175 = lean_array_push(x_155, x_145); +x_176 = lean_array_push(x_175, x_174); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_158); +lean_ctor_set(x_177, 1, x_176); +x_178 = lean_array_push(x_155, x_177); +x_179 = lean_array_push(x_178, x_161); +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_153); +lean_ctor_set(x_180, 1, x_179); +lean_inc(x_167); +x_181 = lean_array_push(x_167, x_180); +lean_inc(x_165); +x_182 = lean_array_push(x_181, x_165); +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_170); +lean_ctor_set(x_183, 1, x_182); +x_184 = lean_array_push(x_151, x_183); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_153); +lean_ctor_set(x_185, 1, x_184); +x_186 = lean_array_push(x_155, x_140); +x_187 = lean_array_push(x_186, x_185); +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_158); +lean_ctor_set(x_188, 1, x_187); +x_189 = lean_array_push(x_155, x_188); +x_190 = lean_array_push(x_189, x_161); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_153); +lean_ctor_set(x_191, 1, x_190); +x_192 = lean_array_push(x_167, x_191); +x_193 = lean_array_push(x_192, x_165); +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_170); +lean_ctor_set(x_194, 1, x_193); +x_195 = lean_array_push(x_151, x_194); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_153); +lean_ctor_set(x_196, 1, x_195); +x_197 = lean_array_push(x_155, x_133); +x_198 = lean_array_push(x_197, x_196); +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_158); +lean_ctor_set(x_199, 1, x_198); +x_200 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_126); +return x_200; +} +case 3: +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +lean_dec(x_1); +x_201 = lean_ctor_get(x_5, 1); +lean_inc(x_201); +lean_dec(x_5); +x_202 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__21; +x_203 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__23; +x_204 = lean_panic_fn(x_202, x_203); +x_205 = lean_apply_3(x_204, x_2, x_3, x_201); +return x_205; +} +case 4: +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +lean_dec(x_2); +x_206 = lean_ctor_get(x_5, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_5, 1); +lean_inc(x_207); +lean_dec(x_5); +x_208 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_207); +x_209 = lean_ctor_get(x_208, 0); +lean_inc(x_209); +x_210 = lean_ctor_get(x_208, 1); +lean_inc(x_210); +lean_dec(x_208); +x_211 = lean_ctor_get(x_3, 2); +lean_inc(x_211); +x_212 = lean_ctor_get(x_3, 1); +lean_inc(x_212); +lean_dec(x_3); +x_213 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_211); +lean_inc(x_212); +x_214 = l_Lean_addMacroScope(x_212, x_213, x_211); +x_215 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_216 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_209); +x_217 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_217, 0, x_209); +lean_ctor_set(x_217, 1, x_215); +lean_ctor_set(x_217, 2, x_214); +lean_ctor_set(x_217, 3, x_216); +x_218 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_209); +x_219 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_219, 0, x_209); +lean_ctor_set(x_219, 1, x_218); +x_220 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__30; +x_221 = l_Lean_addMacroScope(x_212, x_220, x_211); +x_222 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__26; +x_223 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__32; +lean_inc(x_209); +x_224 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_224, 0, x_209); +lean_ctor_set(x_224, 1, x_222); +lean_ctor_set(x_224, 2, x_221); +lean_ctor_set(x_224, 3, x_223); +x_225 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_226 = lean_array_push(x_225, x_1); +x_227 = lean_array_push(x_226, x_206); +x_228 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_227); +x_230 = lean_array_push(x_225, x_224); +x_231 = lean_array_push(x_230, x_229); +x_232 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_231); +x_234 = lean_array_push(x_225, x_233); +x_235 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_236 = lean_array_push(x_234, x_235); +x_237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_237, 0, x_228); +lean_ctor_set(x_237, 1, x_236); +x_238 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_239 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_239, 0, x_209); +lean_ctor_set(x_239, 1, x_238); +x_240 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_241 = lean_array_push(x_240, x_219); +x_242 = lean_array_push(x_241, x_237); +x_243 = lean_array_push(x_242, x_239); +x_244 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_245, 0, x_244); +lean_ctor_set(x_245, 1, x_243); +x_246 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_247 = lean_array_push(x_246, x_245); +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_228); +lean_ctor_set(x_248, 1, x_247); +x_249 = lean_array_push(x_225, x_217); +x_250 = lean_array_push(x_249, x_248); +x_251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_251, 0, x_232); +lean_ctor_set(x_251, 1, x_250); +x_252 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_252, 0, x_251); +lean_ctor_set(x_252, 1, x_210); +return x_252; +} +case 5: +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +lean_dec(x_2); +x_253 = lean_ctor_get(x_5, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_5, 1); +lean_inc(x_254); +lean_dec(x_5); +x_255 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_254); +x_256 = lean_ctor_get(x_255, 0); +lean_inc(x_256); +x_257 = lean_ctor_get(x_255, 1); +lean_inc(x_257); +lean_dec(x_255); +x_258 = lean_ctor_get(x_3, 2); +lean_inc(x_258); +x_259 = lean_ctor_get(x_3, 1); +lean_inc(x_259); +lean_dec(x_3); +x_260 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_258); +lean_inc(x_259); +x_261 = l_Lean_addMacroScope(x_259, x_260, x_258); +x_262 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_263 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_256); +x_264 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_264, 0, x_256); +lean_ctor_set(x_264, 1, x_262); +lean_ctor_set(x_264, 2, x_261); +lean_ctor_set(x_264, 3, x_263); +x_265 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_256); +x_266 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_266, 0, x_256); lean_ctor_set(x_266, 1, x_265); -x_267 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_268 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_268, 0, x_229); -lean_ctor_set(x_268, 1, x_267); -x_269 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_270 = lean_array_push(x_269, x_238); -lean_inc(x_270); -x_271 = lean_array_push(x_270, x_266); -lean_inc(x_268); -x_272 = lean_array_push(x_271, x_268); -x_273 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_273); -lean_ctor_set(x_274, 1, x_272); -x_275 = lean_array_push(x_258, x_274); -x_276 = lean_array_push(x_275, x_225); -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_256); -lean_ctor_set(x_277, 1, x_276); -x_278 = lean_array_push(x_258, x_248); -x_279 = lean_array_push(x_278, x_277); +x_267 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; +x_268 = l_Lean_addMacroScope(x_259, x_267, x_258); +x_269 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; +x_270 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; +lean_inc(x_256); +x_271 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_271, 0, x_256); +lean_ctor_set(x_271, 1, x_269); +lean_ctor_set(x_271, 2, x_268); +lean_ctor_set(x_271, 3, x_270); +x_272 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_273 = lean_array_push(x_272, x_1); +x_274 = lean_array_push(x_273, x_253); +x_275 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_276, 0, x_275); +lean_ctor_set(x_276, 1, x_274); +x_277 = lean_array_push(x_272, x_271); +x_278 = lean_array_push(x_277, x_276); +x_279 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_261); -lean_ctor_set(x_280, 1, x_279); -x_281 = lean_array_push(x_258, x_280); -x_282 = lean_array_push(x_281, x_264); -x_283 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_283, 0, x_256); -lean_ctor_set(x_283, 1, x_282); -lean_inc(x_270); -x_284 = lean_array_push(x_270, x_283); -lean_inc(x_268); -x_285 = lean_array_push(x_284, x_268); -x_286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_286, 0, x_273); +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_278); +x_281 = lean_array_push(x_272, x_280); +x_282 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_283 = lean_array_push(x_281, x_282); +x_284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_284, 0, x_275); +lean_ctor_set(x_284, 1, x_283); +x_285 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_286 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_286, 0, x_256); lean_ctor_set(x_286, 1, x_285); -x_287 = lean_array_push(x_254, x_286); -x_288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_288, 0, x_256); -lean_ctor_set(x_288, 1, x_287); -x_289 = lean_array_push(x_258, x_243); -x_290 = lean_array_push(x_289, x_288); -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_261); -lean_ctor_set(x_291, 1, x_290); -x_292 = lean_array_push(x_258, x_291); -x_293 = lean_array_push(x_292, x_264); -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_256); -lean_ctor_set(x_294, 1, x_293); -x_295 = lean_array_push(x_270, x_294); -x_296 = lean_array_push(x_295, x_268); -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_273); -lean_ctor_set(x_297, 1, x_296); -x_298 = lean_array_push(x_254, x_297); -x_299 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_299, 0, x_256); -lean_ctor_set(x_299, 1, x_298); -x_300 = lean_array_push(x_258, x_236); -x_301 = lean_array_push(x_300, x_299); -x_302 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_302, 0, x_261); -lean_ctor_set(x_302, 1, x_301); -lean_ctor_set(x_227, 0, x_302); -return x_227; +x_287 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_288 = lean_array_push(x_287, x_266); +x_289 = lean_array_push(x_288, x_284); +x_290 = lean_array_push(x_289, x_286); +x_291 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_290); +x_293 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_294 = lean_array_push(x_293, x_292); +x_295 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_295, 0, x_275); +lean_ctor_set(x_295, 1, x_294); +x_296 = lean_array_push(x_272, x_264); +x_297 = lean_array_push(x_296, x_295); +x_298 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_298, 0, x_279); +lean_ctor_set(x_298, 1, x_297); +x_299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_257); +return x_299; } -else +default: { -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; -x_303 = lean_ctor_get(x_227, 0); -x_304 = lean_ctor_get(x_227, 1); -lean_inc(x_304); +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_dec(x_2); +x_300 = lean_ctor_get(x_5, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_5, 1); +lean_inc(x_301); +lean_dec(x_5); +x_302 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_301); +x_303 = lean_ctor_get(x_302, 0); lean_inc(x_303); -lean_dec(x_227); +x_304 = lean_ctor_get(x_302, 1); +lean_inc(x_304); +lean_dec(x_302); x_305 = lean_ctor_get(x_3, 2); lean_inc(x_305); x_306 = lean_ctor_get(x_3, 1); @@ -27862,702 +19895,79 @@ lean_inc(x_303); x_313 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_313, 0, x_303); lean_ctor_set(x_313, 1, x_312); -x_314 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__9; -lean_inc(x_305); -lean_inc(x_306); +x_314 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__47; x_315 = l_Lean_addMacroScope(x_306, x_314, x_305); -x_316 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; -x_317 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__11; +x_316 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__44; +x_317 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__49; lean_inc(x_303); x_318 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_318, 0, x_303); 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 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -lean_inc(x_305); -lean_inc(x_306); -x_320 = l_Lean_addMacroScope(x_306, x_319, x_305); -x_321 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_322 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_303); -x_323 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_323, 0, x_303); +x_319 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_320 = lean_array_push(x_319, x_1); +x_321 = lean_array_push(x_320, x_300); +x_322 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); -lean_ctor_set(x_323, 2, x_320); -lean_ctor_set(x_323, 3, x_322); -x_324 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -x_325 = l_Lean_addMacroScope(x_306, x_324, x_305); -x_326 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; -x_327 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; -lean_inc(x_303); -x_328 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_328, 0, x_303); -lean_ctor_set(x_328, 1, x_326); -lean_ctor_set(x_328, 2, x_325); -lean_ctor_set(x_328, 3, x_327); -x_329 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_330 = lean_array_push(x_329, x_1); -x_331 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_332 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_332, 0, x_331); -lean_ctor_set(x_332, 1, x_330); -x_333 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_334 = lean_array_push(x_333, x_328); -x_335 = lean_array_push(x_334, x_332); -x_336 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_337 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_337, 0, x_336); -lean_ctor_set(x_337, 1, x_335); -x_338 = lean_array_push(x_333, x_337); -x_339 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_340 = lean_array_push(x_338, x_339); -x_341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_341, 0, x_331); -lean_ctor_set(x_341, 1, x_340); -x_342 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_343 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_343, 0, x_303); -lean_ctor_set(x_343, 1, x_342); -x_344 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_345 = lean_array_push(x_344, x_313); -lean_inc(x_345); -x_346 = lean_array_push(x_345, x_341); -lean_inc(x_343); -x_347 = lean_array_push(x_346, x_343); -x_348 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_324 = lean_array_push(x_319, x_318); +x_325 = lean_array_push(x_324, x_323); +x_326 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_327 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_327, 0, x_326); +lean_ctor_set(x_327, 1, x_325); +x_328 = lean_array_push(x_319, x_327); +x_329 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_330 = lean_array_push(x_328, x_329); +x_331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_331, 0, x_322); +lean_ctor_set(x_331, 1, x_330); +x_332 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_333 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_333, 0, x_303); +lean_ctor_set(x_333, 1, x_332); +x_334 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_335 = lean_array_push(x_334, x_313); +x_336 = lean_array_push(x_335, x_331); +x_337 = lean_array_push(x_336, x_333); +x_338 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_339 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_339, 0, x_338); +lean_ctor_set(x_339, 1, x_337); +x_340 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_341 = lean_array_push(x_340, x_339); +x_342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_342, 0, x_322); +lean_ctor_set(x_342, 1, x_341); +x_343 = lean_array_push(x_319, x_311); +x_344 = lean_array_push(x_343, x_342); +x_345 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_345, 0, x_326); +lean_ctor_set(x_345, 1, x_344); +x_346 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_346, 0, x_345); +lean_ctor_set(x_346, 1, x_304); +return x_346; +} +} +} +else +{ +lean_object* x_347; lean_object* x_348; lean_object* x_349; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_347 = lean_ctor_get(x_5, 0); +lean_inc(x_347); +x_348 = lean_ctor_get(x_5, 1); +lean_inc(x_348); +lean_dec(x_5); x_349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_349, 0, x_348); -lean_ctor_set(x_349, 1, x_347); -x_350 = lean_array_push(x_333, x_349); -x_351 = lean_array_push(x_350, x_225); -x_352 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_352, 0, x_331); -lean_ctor_set(x_352, 1, x_351); -x_353 = lean_array_push(x_333, x_323); -x_354 = lean_array_push(x_353, x_352); -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_336); -lean_ctor_set(x_355, 1, x_354); -x_356 = lean_array_push(x_333, x_355); -x_357 = lean_array_push(x_356, x_339); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_331); -lean_ctor_set(x_358, 1, x_357); -lean_inc(x_345); -x_359 = lean_array_push(x_345, x_358); -lean_inc(x_343); -x_360 = lean_array_push(x_359, x_343); -x_361 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_361, 0, x_348); -lean_ctor_set(x_361, 1, x_360); -x_362 = lean_array_push(x_329, x_361); -x_363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_363, 0, x_331); -lean_ctor_set(x_363, 1, x_362); -x_364 = lean_array_push(x_333, x_318); -x_365 = lean_array_push(x_364, x_363); -x_366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_366, 0, x_336); -lean_ctor_set(x_366, 1, x_365); -x_367 = lean_array_push(x_333, x_366); -x_368 = lean_array_push(x_367, x_339); -x_369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_369, 0, x_331); -lean_ctor_set(x_369, 1, x_368); -x_370 = lean_array_push(x_345, x_369); -x_371 = lean_array_push(x_370, x_343); -x_372 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_372, 0, x_348); -lean_ctor_set(x_372, 1, x_371); -x_373 = lean_array_push(x_329, x_372); -x_374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_374, 0, x_331); -lean_ctor_set(x_374, 1, x_373); -x_375 = lean_array_push(x_333, x_311); -x_376 = lean_array_push(x_375, x_374); -x_377 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_377, 0, x_336); -lean_ctor_set(x_377, 1, x_376); -x_378 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_304); -return x_378; -} -} -case 3: -{ -lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; -lean_dec(x_1); -x_379 = lean_ctor_get(x_5, 1); -lean_inc(x_379); -lean_dec(x_5); -x_380 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__21; -x_381 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__23; -x_382 = lean_panic_fn(x_380, x_381); -x_383 = lean_apply_3(x_382, x_2, x_3, x_379); -return x_383; -} -case 4: -{ -lean_object* x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; -lean_dec(x_2); -x_384 = lean_ctor_get(x_5, 0); -lean_inc(x_384); -x_385 = lean_ctor_get(x_5, 1); -lean_inc(x_385); -lean_dec(x_5); -x_386 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_385); -x_387 = !lean_is_exclusive(x_386); -if (x_387 == 0) -{ -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; -x_388 = lean_ctor_get(x_386, 0); -x_389 = lean_ctor_get(x_3, 2); -lean_inc(x_389); -x_390 = lean_ctor_get(x_3, 1); -lean_inc(x_390); -lean_dec(x_3); -x_391 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_389); -lean_inc(x_390); -x_392 = l_Lean_addMacroScope(x_390, x_391, x_389); -x_393 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_394 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_388); -x_395 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_395, 0, x_388); -lean_ctor_set(x_395, 1, x_393); -lean_ctor_set(x_395, 2, x_392); -lean_ctor_set(x_395, 3, x_394); -x_396 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_388); -x_397 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_397, 0, x_388); -lean_ctor_set(x_397, 1, x_396); -x_398 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__30; -x_399 = l_Lean_addMacroScope(x_390, x_398, x_389); -x_400 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__26; -x_401 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__32; -lean_inc(x_388); -x_402 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_402, 0, x_388); -lean_ctor_set(x_402, 1, x_400); -lean_ctor_set(x_402, 2, x_399); -lean_ctor_set(x_402, 3, x_401); -x_403 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_404 = lean_array_push(x_403, x_1); -x_405 = lean_array_push(x_404, x_384); -x_406 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_407 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_407, 0, x_406); -lean_ctor_set(x_407, 1, x_405); -x_408 = lean_array_push(x_403, x_402); -x_409 = lean_array_push(x_408, x_407); -x_410 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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 = lean_array_push(x_403, x_411); -x_413 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_414 = lean_array_push(x_412, x_413); -x_415 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_415, 0, x_406); -lean_ctor_set(x_415, 1, x_414); -x_416 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_417 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_417, 0, x_388); -lean_ctor_set(x_417, 1, x_416); -x_418 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_419 = lean_array_push(x_418, x_397); -x_420 = lean_array_push(x_419, x_415); -x_421 = lean_array_push(x_420, x_417); -x_422 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_423 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_423, 0, x_422); -lean_ctor_set(x_423, 1, x_421); -x_424 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_425 = lean_array_push(x_424, x_423); -x_426 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_426, 0, x_406); -lean_ctor_set(x_426, 1, x_425); -x_427 = lean_array_push(x_403, x_395); -x_428 = lean_array_push(x_427, x_426); -x_429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_429, 0, x_410); -lean_ctor_set(x_429, 1, x_428); -lean_ctor_set(x_386, 0, x_429); -return x_386; -} -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; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; -x_430 = lean_ctor_get(x_386, 0); -x_431 = lean_ctor_get(x_386, 1); -lean_inc(x_431); -lean_inc(x_430); -lean_dec(x_386); -x_432 = lean_ctor_get(x_3, 2); -lean_inc(x_432); -x_433 = lean_ctor_get(x_3, 1); -lean_inc(x_433); -lean_dec(x_3); -x_434 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_432); -lean_inc(x_433); -x_435 = l_Lean_addMacroScope(x_433, x_434, x_432); -x_436 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_437 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_430); -x_438 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_438, 0, x_430); -lean_ctor_set(x_438, 1, x_436); -lean_ctor_set(x_438, 2, x_435); -lean_ctor_set(x_438, 3, x_437); -x_439 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_430); -x_440 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_440, 0, x_430); -lean_ctor_set(x_440, 1, x_439); -x_441 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__30; -x_442 = l_Lean_addMacroScope(x_433, x_441, x_432); -x_443 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__26; -x_444 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__32; -lean_inc(x_430); -x_445 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_445, 0, x_430); -lean_ctor_set(x_445, 1, x_443); -lean_ctor_set(x_445, 2, x_442); -lean_ctor_set(x_445, 3, x_444); -x_446 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_447 = lean_array_push(x_446, x_1); -x_448 = lean_array_push(x_447, x_384); -x_449 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_450 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_450, 0, x_449); -lean_ctor_set(x_450, 1, x_448); -x_451 = lean_array_push(x_446, x_445); -x_452 = lean_array_push(x_451, x_450); -x_453 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_454 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_454, 0, x_453); -lean_ctor_set(x_454, 1, x_452); -x_455 = lean_array_push(x_446, x_454); -x_456 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_457 = lean_array_push(x_455, x_456); -x_458 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_458, 0, x_449); -lean_ctor_set(x_458, 1, x_457); -x_459 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_460 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_460, 0, x_430); -lean_ctor_set(x_460, 1, x_459); -x_461 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_462 = lean_array_push(x_461, x_440); -x_463 = lean_array_push(x_462, x_458); -x_464 = lean_array_push(x_463, x_460); -x_465 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_468 = lean_array_push(x_467, x_466); -x_469 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_469, 0, x_449); -lean_ctor_set(x_469, 1, x_468); -x_470 = lean_array_push(x_446, x_438); -x_471 = lean_array_push(x_470, x_469); -x_472 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_472, 0, x_453); -lean_ctor_set(x_472, 1, x_471); -x_473 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_473, 0, x_472); -lean_ctor_set(x_473, 1, x_431); -return x_473; -} -} -case 5: -{ -lean_object* x_474; lean_object* x_475; lean_object* x_476; uint8_t x_477; -lean_dec(x_2); -x_474 = lean_ctor_get(x_5, 0); -lean_inc(x_474); -x_475 = lean_ctor_get(x_5, 1); -lean_inc(x_475); -lean_dec(x_5); -x_476 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_475); -x_477 = !lean_is_exclusive(x_476); -if (x_477 == 0) -{ -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; -x_478 = lean_ctor_get(x_476, 0); -x_479 = lean_ctor_get(x_3, 2); -lean_inc(x_479); -x_480 = lean_ctor_get(x_3, 1); -lean_inc(x_480); -lean_dec(x_3); -x_481 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_479); -lean_inc(x_480); -x_482 = l_Lean_addMacroScope(x_480, x_481, x_479); -x_483 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_484 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_478); -x_485 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_485, 0, x_478); -lean_ctor_set(x_485, 1, x_483); -lean_ctor_set(x_485, 2, x_482); -lean_ctor_set(x_485, 3, x_484); -x_486 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_478); -x_487 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_487, 0, x_478); -lean_ctor_set(x_487, 1, x_486); -x_488 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; -x_489 = l_Lean_addMacroScope(x_480, x_488, x_479); -x_490 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; -x_491 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; -lean_inc(x_478); -x_492 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_492, 0, x_478); -lean_ctor_set(x_492, 1, x_490); -lean_ctor_set(x_492, 2, x_489); -lean_ctor_set(x_492, 3, x_491); -x_493 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_494 = lean_array_push(x_493, x_1); -x_495 = lean_array_push(x_494, x_474); -x_496 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_497 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_497, 0, x_496); -lean_ctor_set(x_497, 1, x_495); -x_498 = lean_array_push(x_493, x_492); -x_499 = lean_array_push(x_498, x_497); -x_500 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_501 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_501, 0, x_500); -lean_ctor_set(x_501, 1, x_499); -x_502 = lean_array_push(x_493, x_501); -x_503 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_504 = lean_array_push(x_502, x_503); -x_505 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_505, 0, x_496); -lean_ctor_set(x_505, 1, x_504); -x_506 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_507 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_507, 0, x_478); -lean_ctor_set(x_507, 1, x_506); -x_508 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_509 = lean_array_push(x_508, x_487); -x_510 = lean_array_push(x_509, x_505); -x_511 = lean_array_push(x_510, x_507); -x_512 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_513 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_513, 0, x_512); -lean_ctor_set(x_513, 1, x_511); -x_514 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_515 = lean_array_push(x_514, x_513); -x_516 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_516, 0, x_496); -lean_ctor_set(x_516, 1, x_515); -x_517 = lean_array_push(x_493, x_485); -x_518 = lean_array_push(x_517, x_516); -x_519 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_519, 0, x_500); -lean_ctor_set(x_519, 1, x_518); -lean_ctor_set(x_476, 0, x_519); -return x_476; -} -else -{ -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; lean_object* x_563; -x_520 = lean_ctor_get(x_476, 0); -x_521 = lean_ctor_get(x_476, 1); -lean_inc(x_521); -lean_inc(x_520); -lean_dec(x_476); -x_522 = lean_ctor_get(x_3, 2); -lean_inc(x_522); -x_523 = lean_ctor_get(x_3, 1); -lean_inc(x_523); -lean_dec(x_3); -x_524 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_522); -lean_inc(x_523); -x_525 = l_Lean_addMacroScope(x_523, x_524, x_522); -x_526 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_527 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_520); -x_528 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_528, 0, x_520); -lean_ctor_set(x_528, 1, x_526); -lean_ctor_set(x_528, 2, x_525); -lean_ctor_set(x_528, 3, x_527); -x_529 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_520); -x_530 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_530, 0, x_520); -lean_ctor_set(x_530, 1, x_529); -x_531 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; -x_532 = l_Lean_addMacroScope(x_523, x_531, x_522); -x_533 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; -x_534 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; -lean_inc(x_520); -x_535 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_535, 0, x_520); -lean_ctor_set(x_535, 1, x_533); -lean_ctor_set(x_535, 2, x_532); -lean_ctor_set(x_535, 3, x_534); -x_536 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_537 = lean_array_push(x_536, x_1); -x_538 = lean_array_push(x_537, x_474); -x_539 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = lean_array_push(x_536, x_535); -x_542 = lean_array_push(x_541, x_540); -x_543 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_544 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_544, 0, x_543); -lean_ctor_set(x_544, 1, x_542); -x_545 = lean_array_push(x_536, x_544); -x_546 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_547 = lean_array_push(x_545, x_546); -x_548 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_548, 0, x_539); -lean_ctor_set(x_548, 1, x_547); -x_549 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_550 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_550, 0, x_520); -lean_ctor_set(x_550, 1, x_549); -x_551 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_552 = lean_array_push(x_551, x_530); -x_553 = lean_array_push(x_552, x_548); -x_554 = lean_array_push(x_553, x_550); -x_555 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_556 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_556, 0, x_555); -lean_ctor_set(x_556, 1, x_554); -x_557 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_558 = lean_array_push(x_557, x_556); -x_559 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_559, 0, x_539); -lean_ctor_set(x_559, 1, x_558); -x_560 = lean_array_push(x_536, x_528); -x_561 = lean_array_push(x_560, x_559); -x_562 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_562, 0, x_543); -lean_ctor_set(x_562, 1, x_561); -x_563 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_563, 0, x_562); -lean_ctor_set(x_563, 1, x_521); -return x_563; -} -} -default: -{ -lean_object* x_564; lean_object* x_565; lean_object* x_566; uint8_t x_567; -lean_dec(x_2); -x_564 = lean_ctor_get(x_5, 0); -lean_inc(x_564); -x_565 = lean_ctor_get(x_5, 1); -lean_inc(x_565); -lean_dec(x_5); -x_566 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_565); -x_567 = !lean_is_exclusive(x_566); -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; 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; -x_568 = lean_ctor_get(x_566, 0); -x_569 = lean_ctor_get(x_3, 2); -lean_inc(x_569); -x_570 = lean_ctor_get(x_3, 1); -lean_inc(x_570); -lean_dec(x_3); -x_571 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_569); -lean_inc(x_570); -x_572 = l_Lean_addMacroScope(x_570, x_571, x_569); -x_573 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_574 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_568); -x_575 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_575, 0, x_568); -lean_ctor_set(x_575, 1, x_573); -lean_ctor_set(x_575, 2, x_572); -lean_ctor_set(x_575, 3, x_574); -x_576 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_568); -x_577 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_577, 0, x_568); -lean_ctor_set(x_577, 1, x_576); -x_578 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__47; -x_579 = l_Lean_addMacroScope(x_570, x_578, x_569); -x_580 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__44; -x_581 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__49; -lean_inc(x_568); -x_582 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_582, 0, x_568); -lean_ctor_set(x_582, 1, x_580); -lean_ctor_set(x_582, 2, x_579); -lean_ctor_set(x_582, 3, x_581); -x_583 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_584 = lean_array_push(x_583, x_1); -x_585 = lean_array_push(x_584, x_564); -x_586 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); -x_588 = lean_array_push(x_583, x_582); -x_589 = lean_array_push(x_588, x_587); -x_590 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_591 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_591, 0, x_590); -lean_ctor_set(x_591, 1, x_589); -x_592 = lean_array_push(x_583, x_591); -x_593 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_594 = lean_array_push(x_592, x_593); -x_595 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_595, 0, x_586); -lean_ctor_set(x_595, 1, x_594); -x_596 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_597 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_597, 0, x_568); -lean_ctor_set(x_597, 1, x_596); -x_598 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_599 = lean_array_push(x_598, x_577); -x_600 = lean_array_push(x_599, x_595); -x_601 = lean_array_push(x_600, x_597); -x_602 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_603, 0, x_602); -lean_ctor_set(x_603, 1, x_601); -x_604 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_605 = lean_array_push(x_604, x_603); -x_606 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_606, 0, x_586); -lean_ctor_set(x_606, 1, x_605); -x_607 = lean_array_push(x_583, x_575); -x_608 = lean_array_push(x_607, x_606); -x_609 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_609, 0, x_590); -lean_ctor_set(x_609, 1, x_608); -lean_ctor_set(x_566, 0, x_609); -return x_566; -} -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; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; -x_610 = lean_ctor_get(x_566, 0); -x_611 = lean_ctor_get(x_566, 1); -lean_inc(x_611); -lean_inc(x_610); -lean_dec(x_566); -x_612 = lean_ctor_get(x_3, 2); -lean_inc(x_612); -x_613 = lean_ctor_get(x_3, 1); -lean_inc(x_613); -lean_dec(x_3); -x_614 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_612); -lean_inc(x_613); -x_615 = l_Lean_addMacroScope(x_613, x_614, x_612); -x_616 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_617 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_610); -x_618 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_618, 0, x_610); -lean_ctor_set(x_618, 1, x_616); -lean_ctor_set(x_618, 2, x_615); -lean_ctor_set(x_618, 3, x_617); -x_619 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_610); -x_620 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_620, 0, x_610); -lean_ctor_set(x_620, 1, x_619); -x_621 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__47; -x_622 = l_Lean_addMacroScope(x_613, x_621, x_612); -x_623 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__44; -x_624 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__49; -lean_inc(x_610); -x_625 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_625, 0, x_610); -lean_ctor_set(x_625, 1, x_623); -lean_ctor_set(x_625, 2, x_622); -lean_ctor_set(x_625, 3, x_624); -x_626 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_627 = lean_array_push(x_626, x_1); -x_628 = lean_array_push(x_627, x_564); -x_629 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_630, 0, x_629); -lean_ctor_set(x_630, 1, x_628); -x_631 = lean_array_push(x_626, x_625); -x_632 = lean_array_push(x_631, x_630); -x_633 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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_array_push(x_626, x_634); -x_636 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_637 = lean_array_push(x_635, x_636); -x_638 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_638, 0, x_629); -lean_ctor_set(x_638, 1, x_637); -x_639 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_640 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_640, 0, x_610); -lean_ctor_set(x_640, 1, x_639); -x_641 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_642 = lean_array_push(x_641, x_620); -x_643 = lean_array_push(x_642, x_638); -x_644 = lean_array_push(x_643, x_640); -x_645 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_648 = lean_array_push(x_647, x_646); -x_649 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_649, 0, x_629); -lean_ctor_set(x_649, 1, x_648); -x_650 = lean_array_push(x_626, x_618); -x_651 = lean_array_push(x_650, x_649); -x_652 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_652, 0, x_633); -lean_ctor_set(x_652, 1, x_651); -x_653 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_653, 0, x_652); -lean_ctor_set(x_653, 1, x_611); -return x_653; -} -} -} -} -else -{ -uint8_t x_654; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_654 = !lean_is_exclusive(x_5); -if (x_654 == 0) -{ -return x_5; -} -else -{ -lean_object* x_655; lean_object* x_656; lean_object* x_657; -x_655 = lean_ctor_get(x_5, 0); -x_656 = lean_ctor_get(x_5, 1); -lean_inc(x_656); -lean_inc(x_655); -lean_dec(x_5); -x_657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_657, 0, x_655); -lean_ctor_set(x_657, 1, x_656); -return x_657; -} +lean_ctor_set(x_349, 0, x_347); +lean_ctor_set(x_349, 1, x_348); +return x_349; } } } @@ -28593,7 +20003,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__4; x_2 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__1; -x_3 = lean_unsigned_to_nat(892u); +x_3 = lean_unsigned_to_nat(895u); x_4 = lean_unsigned_to_nat(28u); x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -28845,7 +20255,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__4; x_2 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__1; -x_3 = lean_unsigned_to_nat(896u); +x_3 = lean_unsigned_to_nat(899u); x_4 = lean_unsigned_to_nat(28u); x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -29008,7 +20418,7 @@ return x_10; } case 1: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +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_dec(x_1); x_11 = lean_ctor_get(x_4, 0); lean_inc(x_11); @@ -29016,11 +20426,11 @@ x_12 = lean_ctor_get(x_4, 1); lean_inc(x_12); lean_dec(x_4); x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_12); -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; 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; -x_15 = lean_ctor_get(x_13, 0); +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); x_16 = lean_ctor_get(x_2, 2); lean_inc(x_16); x_17 = lean_ctor_get(x_2, 1); @@ -29032,24 +20442,24 @@ lean_inc(x_17); x_19 = l_Lean_addMacroScope(x_17, x_18, x_16); x_20 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; x_21 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_15); +lean_inc(x_14); x_22 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_22, 0, x_15); +lean_ctor_set(x_22, 0, x_14); lean_ctor_set(x_22, 1, x_20); lean_ctor_set(x_22, 2, x_19); lean_ctor_set(x_22, 3, x_21); x_23 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_15); +lean_inc(x_14); x_24 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_24, 0, x_15); +lean_ctor_set(x_24, 0, x_14); lean_ctor_set(x_24, 1, x_23); x_25 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; x_26 = l_Lean_addMacroScope(x_17, x_25, x_16); x_27 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; x_28 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; -lean_inc(x_15); +lean_inc(x_14); x_29 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_29, 0, x_15); +lean_ctor_set(x_29, 0, x_14); lean_ctor_set(x_29, 1, x_27); lean_ctor_set(x_29, 2, x_26); lean_ctor_set(x_29, 3, x_28); @@ -29074,7 +20484,7 @@ lean_ctor_set(x_42, 0, x_32); lean_ctor_set(x_42, 1, x_41); x_43 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; x_44 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_44, 0, x_15); +lean_ctor_set(x_44, 0, x_14); lean_ctor_set(x_44, 1, x_43); x_45 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; x_46 = lean_array_push(x_45, x_24); @@ -29093,928 +20503,453 @@ x_54 = lean_array_push(x_53, x_52); x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_37); lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_13, 0, x_55); -return x_13; -} -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_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; -x_56 = lean_ctor_get(x_13, 0); -x_57 = lean_ctor_get(x_13, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_13); -x_58 = lean_ctor_get(x_2, 2); -lean_inc(x_58); -x_59 = lean_ctor_get(x_2, 1); -lean_inc(x_59); -lean_dec(x_2); -x_60 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_58); -lean_inc(x_59); -x_61 = l_Lean_addMacroScope(x_59, x_60, x_58); -x_62 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_63 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_56); -x_64 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_64, 0, x_56); -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___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_56); -x_66 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_66, 0, x_56); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; -x_68 = l_Lean_addMacroScope(x_59, x_67, x_58); -x_69 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; -x_70 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; -lean_inc(x_56); -x_71 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_71, 0, x_56); -lean_ctor_set(x_71, 1, x_69); -lean_ctor_set(x_71, 2, x_68); -lean_ctor_set(x_71, 3, x_70); -x_72 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_73 = lean_array_push(x_72, x_11); -x_74 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -x_76 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_77 = lean_array_push(x_76, x_71); -x_78 = lean_array_push(x_77, x_75); -x_79 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -x_81 = lean_array_push(x_76, x_80); -x_82 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_83 = lean_array_push(x_81, x_82); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_74); -lean_ctor_set(x_84, 1, x_83); -x_85 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_86 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_86, 0, x_56); -lean_ctor_set(x_86, 1, x_85); -x_87 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_88 = lean_array_push(x_87, x_66); -x_89 = lean_array_push(x_88, x_84); -x_90 = lean_array_push(x_89, x_86); -x_91 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = lean_array_push(x_72, x_92); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_74); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_array_push(x_76, x_64); -x_96 = lean_array_push(x_95, x_94); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_79); -lean_ctor_set(x_97, 1, x_96); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_57); -return x_98; -} +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_15); +return x_56; } case 2: { -lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_dec(x_1); -x_99 = lean_ctor_get(x_4, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_4, 1); -lean_inc(x_100); +x_57 = lean_ctor_get(x_4, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_4, 1); +lean_inc(x_58); lean_dec(x_4); -x_101 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_100); -x_102 = !lean_is_exclusive(x_101); -if (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; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_103 = lean_ctor_get(x_101, 0); -x_104 = lean_ctor_get(x_2, 2); -lean_inc(x_104); -x_105 = lean_ctor_get(x_2, 1); -lean_inc(x_105); +x_59 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_58); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_ctor_get(x_2, 2); +lean_inc(x_62); +x_63 = lean_ctor_get(x_2, 1); +lean_inc(x_63); lean_dec(x_2); -x_106 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_104); -lean_inc(x_105); -x_107 = l_Lean_addMacroScope(x_105, x_106, x_104); -x_108 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_109 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_103); -x_110 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_110, 0, x_103); -lean_ctor_set(x_110, 1, x_108); -lean_ctor_set(x_110, 2, x_107); -lean_ctor_set(x_110, 3, x_109); -x_111 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_103); -x_112 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_112, 0, x_103); +x_64 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_62); +lean_inc(x_63); +x_65 = l_Lean_addMacroScope(x_63, x_64, x_62); +x_66 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_67 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_60); +x_68 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_68, 0, x_60); +lean_ctor_set(x_68, 1, x_66); +lean_ctor_set(x_68, 2, x_65); +lean_ctor_set(x_68, 3, x_67); +x_69 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_60); +x_70 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_70, 0, x_60); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; +lean_inc(x_62); +lean_inc(x_63); +x_72 = l_Lean_addMacroScope(x_63, x_71, x_62); +x_73 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; +x_74 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; +lean_inc(x_60); +x_75 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_75, 0, x_60); +lean_ctor_set(x_75, 1, x_73); +lean_ctor_set(x_75, 2, x_72); +lean_ctor_set(x_75, 3, x_74); +x_76 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; +lean_inc(x_62); +lean_inc(x_63); +x_77 = l_Lean_addMacroScope(x_63, x_76, x_62); +x_78 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; +x_79 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; +lean_inc(x_60); +x_80 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_80, 0, x_60); +lean_ctor_set(x_80, 1, x_78); +lean_ctor_set(x_80, 2, x_77); +lean_ctor_set(x_80, 3, x_79); +x_81 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; +x_82 = l_Lean_addMacroScope(x_63, x_81, x_62); +x_83 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; +x_84 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; +lean_inc(x_60); +x_85 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_85, 0, x_60); +lean_ctor_set(x_85, 1, x_83); +lean_ctor_set(x_85, 2, x_82); +lean_ctor_set(x_85, 3, x_84); +x_86 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_87 = lean_array_push(x_86, x_85); +x_88 = lean_array_push(x_87, x_57); +x_89 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); +x_91 = lean_array_push(x_86, x_80); +x_92 = lean_array_push(x_91, x_90); +x_93 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = lean_array_push(x_86, x_94); +x_96 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_97 = lean_array_push(x_95, x_96); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_89); +lean_ctor_set(x_98, 1, x_97); +x_99 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_100, 0, x_60); +lean_ctor_set(x_100, 1, x_99); +x_101 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_102 = lean_array_push(x_101, x_70); +lean_inc(x_102); +x_103 = lean_array_push(x_102, x_98); +lean_inc(x_100); +x_104 = lean_array_push(x_103, x_100); +x_105 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_108 = lean_array_push(x_107, x_106); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_89); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_array_push(x_86, x_75); +x_111 = lean_array_push(x_110, x_109); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_93); lean_ctor_set(x_112, 1, x_111); -x_113 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; -lean_inc(x_104); -lean_inc(x_105); -x_114 = l_Lean_addMacroScope(x_105, x_113, x_104); -x_115 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; -x_116 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; -lean_inc(x_103); -x_117 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_117, 0, x_103); -lean_ctor_set(x_117, 1, x_115); -lean_ctor_set(x_117, 2, x_114); -lean_ctor_set(x_117, 3, x_116); -x_118 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -lean_inc(x_104); -lean_inc(x_105); -x_119 = l_Lean_addMacroScope(x_105, x_118, x_104); -x_120 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_121 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_103); -x_122 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_122, 0, x_103); -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 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -x_124 = l_Lean_addMacroScope(x_105, x_123, x_104); -x_125 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_126 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -lean_inc(x_103); -x_127 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_127, 0, x_103); -lean_ctor_set(x_127, 1, x_125); -lean_ctor_set(x_127, 2, x_124); -lean_ctor_set(x_127, 3, x_126); -x_128 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_129 = lean_array_push(x_128, x_127); -x_130 = lean_array_push(x_129, x_99); -x_131 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_130); -x_133 = lean_array_push(x_128, x_122); -x_134 = lean_array_push(x_133, x_132); -x_135 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_134); -x_137 = lean_array_push(x_128, x_136); -x_138 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_139 = lean_array_push(x_137, x_138); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_131); -lean_ctor_set(x_140, 1, x_139); -x_141 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_142 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_142, 0, x_103); -lean_ctor_set(x_142, 1, x_141); -x_143 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_144 = lean_array_push(x_143, x_112); -lean_inc(x_144); -x_145 = lean_array_push(x_144, x_140); -lean_inc(x_142); -x_146 = lean_array_push(x_145, x_142); -x_147 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -x_149 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_150 = lean_array_push(x_149, x_148); -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_131); -lean_ctor_set(x_151, 1, x_150); -x_152 = lean_array_push(x_128, x_117); -x_153 = lean_array_push(x_152, x_151); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_135); -lean_ctor_set(x_154, 1, x_153); -x_155 = lean_array_push(x_128, x_154); -x_156 = lean_array_push(x_155, x_138); -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_131); -lean_ctor_set(x_157, 1, x_156); -x_158 = lean_array_push(x_144, x_157); -x_159 = lean_array_push(x_158, x_142); -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_147); -lean_ctor_set(x_160, 1, x_159); -x_161 = lean_array_push(x_149, x_160); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_131); -lean_ctor_set(x_162, 1, x_161); -x_163 = lean_array_push(x_128, x_110); -x_164 = lean_array_push(x_163, x_162); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_135); -lean_ctor_set(x_165, 1, x_164); -lean_ctor_set(x_101, 0, x_165); -return x_101; -} -else -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_166 = lean_ctor_get(x_101, 0); -x_167 = lean_ctor_get(x_101, 1); -lean_inc(x_167); -lean_inc(x_166); -lean_dec(x_101); -x_168 = lean_ctor_get(x_2, 2); -lean_inc(x_168); -x_169 = lean_ctor_get(x_2, 1); -lean_inc(x_169); -lean_dec(x_2); -x_170 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_168); -lean_inc(x_169); -x_171 = l_Lean_addMacroScope(x_169, x_170, x_168); -x_172 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_173 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_166); -x_174 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_174, 0, x_166); -lean_ctor_set(x_174, 1, x_172); -lean_ctor_set(x_174, 2, x_171); -lean_ctor_set(x_174, 3, x_173); -x_175 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_166); -x_176 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_176, 0, x_166); -lean_ctor_set(x_176, 1, x_175); -x_177 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; -lean_inc(x_168); -lean_inc(x_169); -x_178 = l_Lean_addMacroScope(x_169, x_177, x_168); -x_179 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; -x_180 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; -lean_inc(x_166); -x_181 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_181, 0, x_166); -lean_ctor_set(x_181, 1, x_179); -lean_ctor_set(x_181, 2, x_178); -lean_ctor_set(x_181, 3, x_180); -x_182 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -lean_inc(x_168); -lean_inc(x_169); -x_183 = l_Lean_addMacroScope(x_169, x_182, x_168); -x_184 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_185 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_166); -x_186 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_186, 0, x_166); -lean_ctor_set(x_186, 1, x_184); -lean_ctor_set(x_186, 2, x_183); -lean_ctor_set(x_186, 3, x_185); -x_187 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -x_188 = l_Lean_addMacroScope(x_169, x_187, x_168); -x_189 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_190 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -lean_inc(x_166); -x_191 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_191, 0, x_166); -lean_ctor_set(x_191, 1, x_189); -lean_ctor_set(x_191, 2, x_188); -lean_ctor_set(x_191, 3, x_190); -x_192 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_193 = lean_array_push(x_192, x_191); -x_194 = lean_array_push(x_193, x_99); -x_195 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_194); -x_197 = lean_array_push(x_192, x_186); -x_198 = lean_array_push(x_197, x_196); -x_199 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -x_201 = lean_array_push(x_192, x_200); -x_202 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_203 = lean_array_push(x_201, x_202); -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_195); -lean_ctor_set(x_204, 1, x_203); -x_205 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_206 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_206, 0, x_166); -lean_ctor_set(x_206, 1, x_205); -x_207 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_208 = lean_array_push(x_207, x_176); -lean_inc(x_208); -x_209 = lean_array_push(x_208, x_204); -lean_inc(x_206); -x_210 = lean_array_push(x_209, x_206); -x_211 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_210); -x_213 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_214 = lean_array_push(x_213, x_212); -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_195); -lean_ctor_set(x_215, 1, x_214); -x_216 = lean_array_push(x_192, x_181); -x_217 = lean_array_push(x_216, x_215); -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_199); -lean_ctor_set(x_218, 1, x_217); -x_219 = lean_array_push(x_192, x_218); -x_220 = lean_array_push(x_219, x_202); -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_195); -lean_ctor_set(x_221, 1, x_220); -x_222 = lean_array_push(x_208, x_221); -x_223 = lean_array_push(x_222, x_206); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_211); -lean_ctor_set(x_224, 1, x_223); -x_225 = lean_array_push(x_213, x_224); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_195); -lean_ctor_set(x_226, 1, x_225); -x_227 = lean_array_push(x_192, x_174); -x_228 = lean_array_push(x_227, x_226); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_199); -lean_ctor_set(x_229, 1, x_228); -x_230 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_167); -return x_230; -} +x_113 = lean_array_push(x_86, x_112); +x_114 = lean_array_push(x_113, x_96); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_89); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_array_push(x_102, x_115); +x_117 = lean_array_push(x_116, x_100); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_105); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_array_push(x_107, x_118); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_89); +lean_ctor_set(x_120, 1, x_119); +x_121 = lean_array_push(x_86, x_68); +x_122 = lean_array_push(x_121, x_120); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_93); +lean_ctor_set(x_123, 1, x_122); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_61); +return x_124; } case 3: { -lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_234; +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; 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_dec(x_1); -x_231 = lean_ctor_get(x_4, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_4, 1); -lean_inc(x_232); +x_125 = lean_ctor_get(x_4, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_4, 1); +lean_inc(x_126); lean_dec(x_4); -x_233 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_232); -x_234 = !lean_is_exclusive(x_233); -if (x_234 == 0) -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_235 = lean_ctor_get(x_233, 0); -x_236 = lean_ctor_get(x_2, 2); -lean_inc(x_236); -x_237 = lean_ctor_get(x_2, 1); -lean_inc(x_237); +x_127 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_126); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +lean_dec(x_127); +x_130 = lean_ctor_get(x_2, 2); +lean_inc(x_130); +x_131 = lean_ctor_get(x_2, 1); +lean_inc(x_131); lean_dec(x_2); -x_238 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_236); -lean_inc(x_237); -x_239 = l_Lean_addMacroScope(x_237, x_238, x_236); -x_240 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_241 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_235); -x_242 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_242, 0, x_235); -lean_ctor_set(x_242, 1, x_240); -lean_ctor_set(x_242, 2, x_239); -lean_ctor_set(x_242, 3, x_241); -x_243 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_235); -x_244 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_244, 0, x_235); -lean_ctor_set(x_244, 1, x_243); -x_245 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__23; -x_246 = l_Lean_addMacroScope(x_237, x_245, x_236); -x_247 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__19; -x_248 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__25; -lean_inc(x_235); -x_249 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_249, 0, x_235); -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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_251 = lean_array_push(x_250, x_231); -x_252 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); -x_254 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_255 = lean_array_push(x_254, x_249); -x_256 = lean_array_push(x_255, x_253); -x_257 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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_254, x_258); -x_260 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_261 = lean_array_push(x_259, x_260); -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_252); -lean_ctor_set(x_262, 1, x_261); -x_263 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_264 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_264, 0, x_235); -lean_ctor_set(x_264, 1, x_263); -x_265 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_266 = lean_array_push(x_265, x_244); -x_267 = lean_array_push(x_266, x_262); -x_268 = lean_array_push(x_267, x_264); -x_269 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -x_271 = lean_array_push(x_250, x_270); -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_252); -lean_ctor_set(x_272, 1, x_271); -x_273 = lean_array_push(x_254, x_242); -x_274 = lean_array_push(x_273, x_272); -x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_257); -lean_ctor_set(x_275, 1, x_274); -lean_ctor_set(x_233, 0, x_275); -return x_233; -} -else -{ -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; -x_276 = lean_ctor_get(x_233, 0); -x_277 = lean_ctor_get(x_233, 1); -lean_inc(x_277); -lean_inc(x_276); -lean_dec(x_233); -x_278 = lean_ctor_get(x_2, 2); -lean_inc(x_278); -x_279 = lean_ctor_get(x_2, 1); -lean_inc(x_279); -lean_dec(x_2); -x_280 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_278); -lean_inc(x_279); -x_281 = l_Lean_addMacroScope(x_279, x_280, x_278); -x_282 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_283 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_276); -x_284 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_284, 0, x_276); -lean_ctor_set(x_284, 1, x_282); -lean_ctor_set(x_284, 2, x_281); -lean_ctor_set(x_284, 3, x_283); -x_285 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_276); -x_286 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_286, 0, x_276); -lean_ctor_set(x_286, 1, x_285); -x_287 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__23; -x_288 = l_Lean_addMacroScope(x_279, x_287, x_278); -x_289 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__19; -x_290 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__25; -lean_inc(x_276); -x_291 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_291, 0, x_276); -lean_ctor_set(x_291, 1, x_289); -lean_ctor_set(x_291, 2, x_288); -lean_ctor_set(x_291, 3, x_290); -x_292 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_293 = lean_array_push(x_292, x_231); -x_294 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_295, 0, x_294); -lean_ctor_set(x_295, 1, x_293); -x_296 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_297 = lean_array_push(x_296, x_291); -x_298 = lean_array_push(x_297, x_295); -x_299 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_299); -lean_ctor_set(x_300, 1, x_298); -x_301 = lean_array_push(x_296, x_300); -x_302 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_303 = lean_array_push(x_301, x_302); -x_304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_304, 0, x_294); -lean_ctor_set(x_304, 1, x_303); -x_305 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_306 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_306, 0, x_276); -lean_ctor_set(x_306, 1, x_305); -x_307 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_308 = lean_array_push(x_307, x_286); -x_309 = lean_array_push(x_308, x_304); -x_310 = lean_array_push(x_309, x_306); -x_311 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_312, 0, x_311); -lean_ctor_set(x_312, 1, x_310); -x_313 = lean_array_push(x_292, x_312); -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_294); -lean_ctor_set(x_314, 1, x_313); -x_315 = lean_array_push(x_296, x_284); -x_316 = lean_array_push(x_315, x_314); -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_299); -lean_ctor_set(x_317, 1, x_316); -x_318 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_318, 0, x_317); -lean_ctor_set(x_318, 1, x_277); -return x_318; -} +x_132 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_130); +lean_inc(x_131); +x_133 = l_Lean_addMacroScope(x_131, x_132, x_130); +x_134 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_135 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_128); +x_136 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_136, 0, x_128); +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___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_128); +x_138 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_138, 0, x_128); +lean_ctor_set(x_138, 1, x_137); +x_139 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__23; +x_140 = l_Lean_addMacroScope(x_131, x_139, x_130); +x_141 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__19; +x_142 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__25; +lean_inc(x_128); +x_143 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_143, 0, x_128); +lean_ctor_set(x_143, 1, x_141); +lean_ctor_set(x_143, 2, x_140); +lean_ctor_set(x_143, 3, x_142); +x_144 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_145 = lean_array_push(x_144, x_125); +x_146 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_145); +x_148 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_149 = lean_array_push(x_148, x_143); +x_150 = lean_array_push(x_149, x_147); +x_151 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +x_153 = lean_array_push(x_148, x_152); +x_154 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_155 = lean_array_push(x_153, x_154); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_146); +lean_ctor_set(x_156, 1, x_155); +x_157 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_158 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_158, 0, x_128); +lean_ctor_set(x_158, 1, x_157); +x_159 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_160 = lean_array_push(x_159, x_138); +x_161 = lean_array_push(x_160, x_156); +x_162 = lean_array_push(x_161, x_158); +x_163 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_163); +lean_ctor_set(x_164, 1, x_162); +x_165 = lean_array_push(x_144, x_164); +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_146); +lean_ctor_set(x_166, 1, x_165); +x_167 = lean_array_push(x_148, x_136); +x_168 = lean_array_push(x_167, x_166); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_151); +lean_ctor_set(x_169, 1, x_168); +x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_129); +return x_170; } case 4: { -lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; -x_319 = lean_ctor_get(x_4, 1); -lean_inc(x_319); +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_171 = lean_ctor_get(x_4, 1); +lean_inc(x_171); lean_dec(x_4); -x_320 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__21; -x_321 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__26; -x_322 = lean_panic_fn(x_320, x_321); -x_323 = lean_apply_3(x_322, x_1, x_2, x_319); -return x_323; +x_172 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__21; +x_173 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__26; +x_174 = lean_panic_fn(x_172, x_173); +x_175 = lean_apply_3(x_174, x_1, x_2, x_171); +return x_175; } case 5: { -lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_dec(x_1); -x_324 = lean_ctor_get(x_4, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_4, 1); -lean_inc(x_325); +x_176 = lean_ctor_get(x_4, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_4, 1); +lean_inc(x_177); lean_dec(x_4); -x_326 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_325); -x_327 = !lean_is_exclusive(x_326); -if (x_327 == 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; 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; -x_328 = lean_ctor_get(x_326, 0); -x_329 = lean_ctor_get(x_2, 2); -lean_inc(x_329); -x_330 = lean_ctor_get(x_2, 1); -lean_inc(x_330); +x_178 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_177); +x_179 = lean_ctor_get(x_178, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_178, 1); +lean_inc(x_180); +lean_dec(x_178); +x_181 = lean_ctor_get(x_2, 2); +lean_inc(x_181); +x_182 = lean_ctor_get(x_2, 1); +lean_inc(x_182); lean_dec(x_2); -x_331 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_329); -lean_inc(x_330); -x_332 = l_Lean_addMacroScope(x_330, x_331, x_329); -x_333 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_334 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_328); -x_335 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_335, 0, x_328); -lean_ctor_set(x_335, 1, x_333); -lean_ctor_set(x_335, 2, x_332); -lean_ctor_set(x_335, 3, x_334); -x_336 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_328); -x_337 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_337, 0, x_328); -lean_ctor_set(x_337, 1, x_336); -x_338 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__30; -x_339 = l_Lean_addMacroScope(x_330, x_338, x_329); -x_340 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__29; -x_341 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__32; -lean_inc(x_328); -x_342 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_342, 0, x_328); -lean_ctor_set(x_342, 1, x_340); -lean_ctor_set(x_342, 2, x_339); -lean_ctor_set(x_342, 3, x_341); -x_343 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_344 = lean_array_push(x_343, x_324); -x_345 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_348 = lean_array_push(x_347, x_342); -x_349 = lean_array_push(x_348, x_346); -x_350 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_350); -lean_ctor_set(x_351, 1, x_349); -x_352 = lean_array_push(x_347, x_351); -x_353 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_354 = lean_array_push(x_352, x_353); -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_345); -lean_ctor_set(x_355, 1, x_354); -x_356 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_357 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_357, 0, x_328); -lean_ctor_set(x_357, 1, x_356); -x_358 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_359 = lean_array_push(x_358, x_337); -x_360 = lean_array_push(x_359, x_355); -x_361 = lean_array_push(x_360, x_357); -x_362 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_363, 0, x_362); -lean_ctor_set(x_363, 1, x_361); -x_364 = lean_array_push(x_343, x_363); -x_365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_365, 0, x_345); -lean_ctor_set(x_365, 1, x_364); -x_366 = lean_array_push(x_347, x_335); -x_367 = lean_array_push(x_366, x_365); -x_368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_368, 0, x_350); -lean_ctor_set(x_368, 1, x_367); -lean_ctor_set(x_326, 0, x_368); -return x_326; -} -else -{ -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; -x_369 = lean_ctor_get(x_326, 0); -x_370 = lean_ctor_get(x_326, 1); -lean_inc(x_370); -lean_inc(x_369); -lean_dec(x_326); -x_371 = lean_ctor_get(x_2, 2); -lean_inc(x_371); -x_372 = lean_ctor_get(x_2, 1); -lean_inc(x_372); -lean_dec(x_2); -x_373 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_371); -lean_inc(x_372); -x_374 = l_Lean_addMacroScope(x_372, x_373, x_371); -x_375 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_376 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_369); -x_377 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_377, 0, x_369); -lean_ctor_set(x_377, 1, x_375); -lean_ctor_set(x_377, 2, x_374); -lean_ctor_set(x_377, 3, x_376); -x_378 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_369); -x_379 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_379, 0, x_369); -lean_ctor_set(x_379, 1, x_378); -x_380 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__30; -x_381 = l_Lean_addMacroScope(x_372, x_380, x_371); -x_382 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__29; -x_383 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__32; -lean_inc(x_369); -x_384 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_384, 0, x_369); -lean_ctor_set(x_384, 1, x_382); -lean_ctor_set(x_384, 2, x_381); -lean_ctor_set(x_384, 3, x_383); -x_385 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_386 = lean_array_push(x_385, x_324); -x_387 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_390 = lean_array_push(x_389, x_384); -x_391 = lean_array_push(x_390, x_388); -x_392 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_393 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_393, 0, x_392); -lean_ctor_set(x_393, 1, x_391); -x_394 = lean_array_push(x_389, x_393); -x_395 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_396 = lean_array_push(x_394, x_395); -x_397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_397, 0, x_387); -lean_ctor_set(x_397, 1, x_396); -x_398 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_399 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_399, 0, x_369); -lean_ctor_set(x_399, 1, x_398); -x_400 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_401 = lean_array_push(x_400, x_379); -x_402 = lean_array_push(x_401, x_397); -x_403 = lean_array_push(x_402, x_399); -x_404 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_405 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_405, 0, x_404); -lean_ctor_set(x_405, 1, x_403); -x_406 = lean_array_push(x_385, x_405); -x_407 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_407, 0, x_387); -lean_ctor_set(x_407, 1, x_406); -x_408 = lean_array_push(x_389, x_377); -x_409 = lean_array_push(x_408, x_407); -x_410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_410, 0, x_392); -lean_ctor_set(x_410, 1, x_409); -x_411 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_411, 0, x_410); -lean_ctor_set(x_411, 1, x_370); -return x_411; -} +x_183 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_181); +lean_inc(x_182); +x_184 = l_Lean_addMacroScope(x_182, x_183, x_181); +x_185 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_186 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_179); +x_187 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_187, 0, x_179); +lean_ctor_set(x_187, 1, x_185); +lean_ctor_set(x_187, 2, x_184); +lean_ctor_set(x_187, 3, x_186); +x_188 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_179); +x_189 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_189, 0, x_179); +lean_ctor_set(x_189, 1, x_188); +x_190 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__30; +x_191 = l_Lean_addMacroScope(x_182, x_190, x_181); +x_192 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__29; +x_193 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__32; +lean_inc(x_179); +x_194 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_194, 0, x_179); +lean_ctor_set(x_194, 1, x_192); +lean_ctor_set(x_194, 2, x_191); +lean_ctor_set(x_194, 3, x_193); +x_195 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_196 = lean_array_push(x_195, x_176); +x_197 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_200 = lean_array_push(x_199, x_194); +x_201 = lean_array_push(x_200, x_198); +x_202 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_201); +x_204 = lean_array_push(x_199, x_203); +x_205 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_206 = lean_array_push(x_204, x_205); +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_197); +lean_ctor_set(x_207, 1, x_206); +x_208 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_209 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_209, 0, x_179); +lean_ctor_set(x_209, 1, x_208); +x_210 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_211 = lean_array_push(x_210, x_189); +x_212 = lean_array_push(x_211, x_207); +x_213 = lean_array_push(x_212, x_209); +x_214 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_213); +x_216 = lean_array_push(x_195, x_215); +x_217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_217, 0, x_197); +lean_ctor_set(x_217, 1, x_216); +x_218 = lean_array_push(x_199, x_187); +x_219 = lean_array_push(x_218, x_217); +x_220 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_220, 0, x_202); +lean_ctor_set(x_220, 1, x_219); +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_220); +lean_ctor_set(x_221, 1, x_180); +return x_221; } default: { -lean_object* x_412; lean_object* x_413; lean_object* x_414; uint8_t x_415; +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_dec(x_1); -x_412 = lean_ctor_get(x_4, 0); -lean_inc(x_412); -x_413 = lean_ctor_get(x_4, 1); -lean_inc(x_413); +x_222 = lean_ctor_get(x_4, 0); +lean_inc(x_222); +x_223 = lean_ctor_get(x_4, 1); +lean_inc(x_223); lean_dec(x_4); -x_414 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_413); -x_415 = !lean_is_exclusive(x_414); -if (x_415 == 0) -{ -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; -x_416 = lean_ctor_get(x_414, 0); -x_417 = lean_ctor_get(x_2, 2); -lean_inc(x_417); -x_418 = lean_ctor_get(x_2, 1); -lean_inc(x_418); +x_224 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_223); +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_224, 1); +lean_inc(x_226); +lean_dec(x_224); +x_227 = lean_ctor_get(x_2, 2); +lean_inc(x_227); +x_228 = lean_ctor_get(x_2, 1); +lean_inc(x_228); lean_dec(x_2); -x_419 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_417); -lean_inc(x_418); -x_420 = l_Lean_addMacroScope(x_418, x_419, x_417); -x_421 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_422 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_416); -x_423 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_423, 0, x_416); -lean_ctor_set(x_423, 1, x_421); -lean_ctor_set(x_423, 2, x_420); -lean_ctor_set(x_423, 3, x_422); -x_424 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_416); -x_425 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_425, 0, x_416); -lean_ctor_set(x_425, 1, x_424); -x_426 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__36; -x_427 = l_Lean_addMacroScope(x_418, x_426, x_417); -x_428 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__35; -x_429 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__38; -lean_inc(x_416); -x_430 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_430, 0, x_416); -lean_ctor_set(x_430, 1, x_428); -lean_ctor_set(x_430, 2, x_427); -lean_ctor_set(x_430, 3, x_429); -x_431 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_432 = lean_array_push(x_431, x_412); -x_433 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_434 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_434, 0, x_433); -lean_ctor_set(x_434, 1, x_432); -x_435 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_436 = lean_array_push(x_435, x_430); -x_437 = lean_array_push(x_436, x_434); -x_438 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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 = lean_array_push(x_435, x_439); -x_441 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_442 = lean_array_push(x_440, x_441); -x_443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_443, 0, x_433); -lean_ctor_set(x_443, 1, x_442); -x_444 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_445 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_445, 0, x_416); -lean_ctor_set(x_445, 1, x_444); -x_446 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_447 = lean_array_push(x_446, x_425); -x_448 = lean_array_push(x_447, x_443); -x_449 = lean_array_push(x_448, x_445); -x_450 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_451, 0, x_450); -lean_ctor_set(x_451, 1, x_449); -x_452 = lean_array_push(x_431, x_451); -x_453 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_453, 0, x_433); -lean_ctor_set(x_453, 1, x_452); -x_454 = lean_array_push(x_435, x_423); -x_455 = lean_array_push(x_454, x_453); -x_456 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_456, 0, x_438); -lean_ctor_set(x_456, 1, x_455); -lean_ctor_set(x_414, 0, x_456); -return x_414; -} -else -{ -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; -x_457 = lean_ctor_get(x_414, 0); -x_458 = lean_ctor_get(x_414, 1); -lean_inc(x_458); -lean_inc(x_457); -lean_dec(x_414); -x_459 = lean_ctor_get(x_2, 2); -lean_inc(x_459); -x_460 = lean_ctor_get(x_2, 1); -lean_inc(x_460); -lean_dec(x_2); -x_461 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_459); -lean_inc(x_460); -x_462 = l_Lean_addMacroScope(x_460, x_461, x_459); -x_463 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_464 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_457); -x_465 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_465, 0, x_457); -lean_ctor_set(x_465, 1, x_463); -lean_ctor_set(x_465, 2, x_462); -lean_ctor_set(x_465, 3, x_464); -x_466 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_457); -x_467 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_467, 0, x_457); -lean_ctor_set(x_467, 1, x_466); -x_468 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__36; -x_469 = l_Lean_addMacroScope(x_460, x_468, x_459); -x_470 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__35; -x_471 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__38; -lean_inc(x_457); -x_472 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_472, 0, x_457); -lean_ctor_set(x_472, 1, x_470); -lean_ctor_set(x_472, 2, x_469); -lean_ctor_set(x_472, 3, x_471); -x_473 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_474 = lean_array_push(x_473, x_412); -x_475 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_476 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_476, 0, x_475); -lean_ctor_set(x_476, 1, x_474); -x_477 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_478 = lean_array_push(x_477, x_472); -x_479 = lean_array_push(x_478, x_476); -x_480 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_481 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_481, 0, x_480); -lean_ctor_set(x_481, 1, x_479); -x_482 = lean_array_push(x_477, x_481); -x_483 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_484 = lean_array_push(x_482, x_483); -x_485 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_485, 0, x_475); -lean_ctor_set(x_485, 1, x_484); -x_486 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_487 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_487, 0, x_457); -lean_ctor_set(x_487, 1, x_486); -x_488 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_489 = lean_array_push(x_488, x_467); -x_490 = lean_array_push(x_489, x_485); -x_491 = lean_array_push(x_490, x_487); -x_492 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_493 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_493, 0, x_492); -lean_ctor_set(x_493, 1, x_491); -x_494 = lean_array_push(x_473, x_493); -x_495 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_495, 0, x_475); -lean_ctor_set(x_495, 1, x_494); -x_496 = lean_array_push(x_477, x_465); -x_497 = lean_array_push(x_496, x_495); -x_498 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_498, 0, x_480); -lean_ctor_set(x_498, 1, x_497); -x_499 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_499, 0, x_498); -lean_ctor_set(x_499, 1, x_458); -return x_499; -} +x_229 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_227); +lean_inc(x_228); +x_230 = l_Lean_addMacroScope(x_228, x_229, x_227); +x_231 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_232 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_225); +x_233 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_233, 0, x_225); +lean_ctor_set(x_233, 1, x_231); +lean_ctor_set(x_233, 2, x_230); +lean_ctor_set(x_233, 3, x_232); +x_234 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_225); +x_235 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_235, 0, x_225); +lean_ctor_set(x_235, 1, x_234); +x_236 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__36; +x_237 = l_Lean_addMacroScope(x_228, x_236, x_227); +x_238 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__35; +x_239 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__38; +lean_inc(x_225); +x_240 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_240, 0, x_225); +lean_ctor_set(x_240, 1, x_238); +lean_ctor_set(x_240, 2, x_237); +lean_ctor_set(x_240, 3, x_239); +x_241 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_242 = lean_array_push(x_241, x_222); +x_243 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_242); +x_245 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_246 = lean_array_push(x_245, x_240); +x_247 = lean_array_push(x_246, x_244); +x_248 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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_array_push(x_245, x_249); +x_251 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_252 = lean_array_push(x_250, x_251); +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_243); +lean_ctor_set(x_253, 1, x_252); +x_254 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_255 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_255, 0, x_225); +lean_ctor_set(x_255, 1, x_254); +x_256 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_257 = lean_array_push(x_256, x_235); +x_258 = lean_array_push(x_257, x_253); +x_259 = lean_array_push(x_258, x_255); +x_260 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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 = lean_array_push(x_241, x_261); +x_263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_263, 0, x_243); +lean_ctor_set(x_263, 1, x_262); +x_264 = lean_array_push(x_245, x_233); +x_265 = lean_array_push(x_264, x_263); +x_266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_248); +lean_ctor_set(x_266, 1, x_265); +x_267 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_226); +return x_267; } } } else { -uint8_t x_500; +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_dec(x_2); lean_dec(x_1); -x_500 = !lean_is_exclusive(x_4); -if (x_500 == 0) -{ -return x_4; -} -else -{ -lean_object* x_501; lean_object* x_502; lean_object* x_503; -x_501 = lean_ctor_get(x_4, 0); -x_502 = lean_ctor_get(x_4, 1); -lean_inc(x_502); -lean_inc(x_501); +x_268 = lean_ctor_get(x_4, 0); +lean_inc(x_268); +x_269 = lean_ctor_get(x_4, 1); +lean_inc(x_269); lean_dec(x_4); -x_503 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_503, 0, x_501); -lean_ctor_set(x_503, 1, x_502); -return x_503; -} +x_270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_268); +lean_ctor_set(x_270, 1, x_269); +return x_270; } } } @@ -30032,7 +20967,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__4; x_2 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__1; -x_3 = lean_unsigned_to_nat(904u); +x_3 = lean_unsigned_to_nat(907u); x_4 = lean_unsigned_to_nat(28u); x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -30118,7 +21053,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__4; x_2 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__1; -x_3 = lean_unsigned_to_nat(908u); +x_3 = lean_unsigned_to_nat(911u); x_4 = lean_unsigned_to_nat(28u); x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -30281,7 +21216,7 @@ return x_10; } case 1: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +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_dec(x_1); x_11 = lean_ctor_get(x_4, 0); lean_inc(x_11); @@ -30289,11 +21224,11 @@ x_12 = lean_ctor_get(x_4, 1); lean_inc(x_12); lean_dec(x_4); x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_12); -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; 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; -x_15 = lean_ctor_get(x_13, 0); +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); x_16 = lean_ctor_get(x_2, 2); lean_inc(x_16); x_17 = lean_ctor_get(x_2, 1); @@ -30305,24 +21240,24 @@ lean_inc(x_17); x_19 = l_Lean_addMacroScope(x_17, x_18, x_16); x_20 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; x_21 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_15); +lean_inc(x_14); x_22 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_22, 0, x_15); +lean_ctor_set(x_22, 0, x_14); lean_ctor_set(x_22, 1, x_20); lean_ctor_set(x_22, 2, x_19); lean_ctor_set(x_22, 3, x_21); x_23 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_15); +lean_inc(x_14); x_24 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_24, 0, x_15); +lean_ctor_set(x_24, 0, x_14); lean_ctor_set(x_24, 1, x_23); x_25 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__9; x_26 = l_Lean_addMacroScope(x_17, x_25, x_16); x_27 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; x_28 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__11; -lean_inc(x_15); +lean_inc(x_14); x_29 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_29, 0, x_15); +lean_ctor_set(x_29, 0, x_14); lean_ctor_set(x_29, 1, x_27); lean_ctor_set(x_29, 2, x_26); lean_ctor_set(x_29, 3, x_28); @@ -30347,7 +21282,7 @@ lean_ctor_set(x_42, 0, x_32); lean_ctor_set(x_42, 1, x_41); x_43 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; x_44 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_44, 0, x_15); +lean_ctor_set(x_44, 0, x_14); lean_ctor_set(x_44, 1, x_43); x_45 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; x_46 = lean_array_push(x_45, x_24); @@ -30366,928 +21301,453 @@ x_54 = lean_array_push(x_53, x_52); x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_37); lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_13, 0, x_55); -return x_13; -} -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_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; -x_56 = lean_ctor_get(x_13, 0); -x_57 = lean_ctor_get(x_13, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_13); -x_58 = lean_ctor_get(x_2, 2); -lean_inc(x_58); -x_59 = lean_ctor_get(x_2, 1); -lean_inc(x_59); -lean_dec(x_2); -x_60 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_58); -lean_inc(x_59); -x_61 = l_Lean_addMacroScope(x_59, x_60, x_58); -x_62 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_63 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_56); -x_64 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_64, 0, x_56); -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___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_56); -x_66 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_66, 0, x_56); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__9; -x_68 = l_Lean_addMacroScope(x_59, x_67, x_58); -x_69 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; -x_70 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__11; -lean_inc(x_56); -x_71 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_71, 0, x_56); -lean_ctor_set(x_71, 1, x_69); -lean_ctor_set(x_71, 2, x_68); -lean_ctor_set(x_71, 3, x_70); -x_72 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_73 = lean_array_push(x_72, x_11); -x_74 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -x_76 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_77 = lean_array_push(x_76, x_71); -x_78 = lean_array_push(x_77, x_75); -x_79 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -x_81 = lean_array_push(x_76, x_80); -x_82 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_83 = lean_array_push(x_81, x_82); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_74); -lean_ctor_set(x_84, 1, x_83); -x_85 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_86 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_86, 0, x_56); -lean_ctor_set(x_86, 1, x_85); -x_87 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_88 = lean_array_push(x_87, x_66); -x_89 = lean_array_push(x_88, x_84); -x_90 = lean_array_push(x_89, x_86); -x_91 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = lean_array_push(x_72, x_92); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_74); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_array_push(x_76, x_64); -x_96 = lean_array_push(x_95, x_94); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_79); -lean_ctor_set(x_97, 1, x_96); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_57); -return x_98; -} +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_15); +return x_56; } case 2: { -lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_dec(x_1); -x_99 = lean_ctor_get(x_4, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_4, 1); -lean_inc(x_100); +x_57 = lean_ctor_get(x_4, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_4, 1); +lean_inc(x_58); lean_dec(x_4); -x_101 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_100); -x_102 = !lean_is_exclusive(x_101); -if (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; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_103 = lean_ctor_get(x_101, 0); -x_104 = lean_ctor_get(x_2, 2); -lean_inc(x_104); -x_105 = lean_ctor_get(x_2, 1); -lean_inc(x_105); +x_59 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_58); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_ctor_get(x_2, 2); +lean_inc(x_62); +x_63 = lean_ctor_get(x_2, 1); +lean_inc(x_63); lean_dec(x_2); -x_106 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_104); -lean_inc(x_105); -x_107 = l_Lean_addMacroScope(x_105, x_106, x_104); -x_108 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_109 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_103); -x_110 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_110, 0, x_103); -lean_ctor_set(x_110, 1, x_108); -lean_ctor_set(x_110, 2, x_107); -lean_ctor_set(x_110, 3, x_109); -x_111 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_103); -x_112 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_112, 0, x_103); +x_64 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_62); +lean_inc(x_63); +x_65 = l_Lean_addMacroScope(x_63, x_64, x_62); +x_66 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_67 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_60); +x_68 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_68, 0, x_60); +lean_ctor_set(x_68, 1, x_66); +lean_ctor_set(x_68, 2, x_65); +lean_ctor_set(x_68, 3, x_67); +x_69 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_60); +x_70 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_70, 0, x_60); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__9; +lean_inc(x_62); +lean_inc(x_63); +x_72 = l_Lean_addMacroScope(x_63, x_71, x_62); +x_73 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; +x_74 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__11; +lean_inc(x_60); +x_75 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_75, 0, x_60); +lean_ctor_set(x_75, 1, x_73); +lean_ctor_set(x_75, 2, x_72); +lean_ctor_set(x_75, 3, x_74); +x_76 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; +lean_inc(x_62); +lean_inc(x_63); +x_77 = l_Lean_addMacroScope(x_63, x_76, x_62); +x_78 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; +x_79 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; +lean_inc(x_60); +x_80 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_80, 0, x_60); +lean_ctor_set(x_80, 1, x_78); +lean_ctor_set(x_80, 2, x_77); +lean_ctor_set(x_80, 3, x_79); +x_81 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; +x_82 = l_Lean_addMacroScope(x_63, x_81, x_62); +x_83 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; +x_84 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; +lean_inc(x_60); +x_85 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_85, 0, x_60); +lean_ctor_set(x_85, 1, x_83); +lean_ctor_set(x_85, 2, x_82); +lean_ctor_set(x_85, 3, x_84); +x_86 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_87 = lean_array_push(x_86, x_85); +x_88 = lean_array_push(x_87, x_57); +x_89 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); +x_91 = lean_array_push(x_86, x_80); +x_92 = lean_array_push(x_91, x_90); +x_93 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = lean_array_push(x_86, x_94); +x_96 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_97 = lean_array_push(x_95, x_96); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_89); +lean_ctor_set(x_98, 1, x_97); +x_99 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_100, 0, x_60); +lean_ctor_set(x_100, 1, x_99); +x_101 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_102 = lean_array_push(x_101, x_70); +lean_inc(x_102); +x_103 = lean_array_push(x_102, x_98); +lean_inc(x_100); +x_104 = lean_array_push(x_103, x_100); +x_105 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_108 = lean_array_push(x_107, x_106); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_89); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_array_push(x_86, x_75); +x_111 = lean_array_push(x_110, x_109); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_93); lean_ctor_set(x_112, 1, x_111); -x_113 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__9; -lean_inc(x_104); -lean_inc(x_105); -x_114 = l_Lean_addMacroScope(x_105, x_113, x_104); -x_115 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; -x_116 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__11; -lean_inc(x_103); -x_117 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_117, 0, x_103); -lean_ctor_set(x_117, 1, x_115); -lean_ctor_set(x_117, 2, x_114); -lean_ctor_set(x_117, 3, x_116); -x_118 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -lean_inc(x_104); -lean_inc(x_105); -x_119 = l_Lean_addMacroScope(x_105, x_118, x_104); -x_120 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_121 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_103); -x_122 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_122, 0, x_103); -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 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -x_124 = l_Lean_addMacroScope(x_105, x_123, x_104); -x_125 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_126 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -lean_inc(x_103); -x_127 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_127, 0, x_103); -lean_ctor_set(x_127, 1, x_125); -lean_ctor_set(x_127, 2, x_124); -lean_ctor_set(x_127, 3, x_126); -x_128 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_129 = lean_array_push(x_128, x_127); -x_130 = lean_array_push(x_129, x_99); -x_131 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_130); -x_133 = lean_array_push(x_128, x_122); -x_134 = lean_array_push(x_133, x_132); -x_135 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_134); -x_137 = lean_array_push(x_128, x_136); -x_138 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_139 = lean_array_push(x_137, x_138); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_131); -lean_ctor_set(x_140, 1, x_139); -x_141 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_142 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_142, 0, x_103); -lean_ctor_set(x_142, 1, x_141); -x_143 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_144 = lean_array_push(x_143, x_112); -lean_inc(x_144); -x_145 = lean_array_push(x_144, x_140); -lean_inc(x_142); -x_146 = lean_array_push(x_145, x_142); -x_147 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -x_149 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_150 = lean_array_push(x_149, x_148); -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_131); -lean_ctor_set(x_151, 1, x_150); -x_152 = lean_array_push(x_128, x_117); -x_153 = lean_array_push(x_152, x_151); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_135); -lean_ctor_set(x_154, 1, x_153); -x_155 = lean_array_push(x_128, x_154); -x_156 = lean_array_push(x_155, x_138); -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_131); -lean_ctor_set(x_157, 1, x_156); -x_158 = lean_array_push(x_144, x_157); -x_159 = lean_array_push(x_158, x_142); -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_147); -lean_ctor_set(x_160, 1, x_159); -x_161 = lean_array_push(x_149, x_160); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_131); -lean_ctor_set(x_162, 1, x_161); -x_163 = lean_array_push(x_128, x_110); -x_164 = lean_array_push(x_163, x_162); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_135); -lean_ctor_set(x_165, 1, x_164); -lean_ctor_set(x_101, 0, x_165); -return x_101; -} -else -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_166 = lean_ctor_get(x_101, 0); -x_167 = lean_ctor_get(x_101, 1); -lean_inc(x_167); -lean_inc(x_166); -lean_dec(x_101); -x_168 = lean_ctor_get(x_2, 2); -lean_inc(x_168); -x_169 = lean_ctor_get(x_2, 1); -lean_inc(x_169); -lean_dec(x_2); -x_170 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_168); -lean_inc(x_169); -x_171 = l_Lean_addMacroScope(x_169, x_170, x_168); -x_172 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_173 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_166); -x_174 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_174, 0, x_166); -lean_ctor_set(x_174, 1, x_172); -lean_ctor_set(x_174, 2, x_171); -lean_ctor_set(x_174, 3, x_173); -x_175 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_166); -x_176 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_176, 0, x_166); -lean_ctor_set(x_176, 1, x_175); -x_177 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__9; -lean_inc(x_168); -lean_inc(x_169); -x_178 = l_Lean_addMacroScope(x_169, x_177, x_168); -x_179 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__5; -x_180 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__11; -lean_inc(x_166); -x_181 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_181, 0, x_166); -lean_ctor_set(x_181, 1, x_179); -lean_ctor_set(x_181, 2, x_178); -lean_ctor_set(x_181, 3, x_180); -x_182 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -lean_inc(x_168); -lean_inc(x_169); -x_183 = l_Lean_addMacroScope(x_169, x_182, x_168); -x_184 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_185 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_166); -x_186 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_186, 0, x_166); -lean_ctor_set(x_186, 1, x_184); -lean_ctor_set(x_186, 2, x_183); -lean_ctor_set(x_186, 3, x_185); -x_187 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -x_188 = l_Lean_addMacroScope(x_169, x_187, x_168); -x_189 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_190 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -lean_inc(x_166); -x_191 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_191, 0, x_166); -lean_ctor_set(x_191, 1, x_189); -lean_ctor_set(x_191, 2, x_188); -lean_ctor_set(x_191, 3, x_190); -x_192 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_193 = lean_array_push(x_192, x_191); -x_194 = lean_array_push(x_193, x_99); -x_195 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_194); -x_197 = lean_array_push(x_192, x_186); -x_198 = lean_array_push(x_197, x_196); -x_199 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -x_201 = lean_array_push(x_192, x_200); -x_202 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_203 = lean_array_push(x_201, x_202); -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_195); -lean_ctor_set(x_204, 1, x_203); -x_205 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_206 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_206, 0, x_166); -lean_ctor_set(x_206, 1, x_205); -x_207 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_208 = lean_array_push(x_207, x_176); -lean_inc(x_208); -x_209 = lean_array_push(x_208, x_204); -lean_inc(x_206); -x_210 = lean_array_push(x_209, x_206); -x_211 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_210); -x_213 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_214 = lean_array_push(x_213, x_212); -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_195); -lean_ctor_set(x_215, 1, x_214); -x_216 = lean_array_push(x_192, x_181); -x_217 = lean_array_push(x_216, x_215); -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_199); -lean_ctor_set(x_218, 1, x_217); -x_219 = lean_array_push(x_192, x_218); -x_220 = lean_array_push(x_219, x_202); -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_195); -lean_ctor_set(x_221, 1, x_220); -x_222 = lean_array_push(x_208, x_221); -x_223 = lean_array_push(x_222, x_206); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_211); -lean_ctor_set(x_224, 1, x_223); -x_225 = lean_array_push(x_213, x_224); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_195); -lean_ctor_set(x_226, 1, x_225); -x_227 = lean_array_push(x_192, x_174); -x_228 = lean_array_push(x_227, x_226); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_199); -lean_ctor_set(x_229, 1, x_228); -x_230 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_167); -return x_230; -} +x_113 = lean_array_push(x_86, x_112); +x_114 = lean_array_push(x_113, x_96); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_89); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_array_push(x_102, x_115); +x_117 = lean_array_push(x_116, x_100); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_105); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_array_push(x_107, x_118); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_89); +lean_ctor_set(x_120, 1, x_119); +x_121 = lean_array_push(x_86, x_68); +x_122 = lean_array_push(x_121, x_120); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_93); +lean_ctor_set(x_123, 1, x_122); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_61); +return x_124; } case 3: { -lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_234; +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; 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_dec(x_1); -x_231 = lean_ctor_get(x_4, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_4, 1); -lean_inc(x_232); +x_125 = lean_ctor_get(x_4, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_4, 1); +lean_inc(x_126); lean_dec(x_4); -x_233 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_232); -x_234 = !lean_is_exclusive(x_233); -if (x_234 == 0) -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_235 = lean_ctor_get(x_233, 0); -x_236 = lean_ctor_get(x_2, 2); -lean_inc(x_236); -x_237 = lean_ctor_get(x_2, 1); -lean_inc(x_237); +x_127 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_126); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +lean_dec(x_127); +x_130 = lean_ctor_get(x_2, 2); +lean_inc(x_130); +x_131 = lean_ctor_get(x_2, 1); +lean_inc(x_131); lean_dec(x_2); -x_238 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_236); -lean_inc(x_237); -x_239 = l_Lean_addMacroScope(x_237, x_238, x_236); -x_240 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_241 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_235); -x_242 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_242, 0, x_235); -lean_ctor_set(x_242, 1, x_240); -lean_ctor_set(x_242, 2, x_239); -lean_ctor_set(x_242, 3, x_241); -x_243 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_235); -x_244 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_244, 0, x_235); -lean_ctor_set(x_244, 1, x_243); -x_245 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__7; -x_246 = l_Lean_addMacroScope(x_237, x_245, x_236); -x_247 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__5; -x_248 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__9; -lean_inc(x_235); -x_249 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_249, 0, x_235); -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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_251 = lean_array_push(x_250, x_231); -x_252 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); -x_254 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_255 = lean_array_push(x_254, x_249); -x_256 = lean_array_push(x_255, x_253); -x_257 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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_254, x_258); -x_260 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_261 = lean_array_push(x_259, x_260); -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_252); -lean_ctor_set(x_262, 1, x_261); -x_263 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_264 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_264, 0, x_235); -lean_ctor_set(x_264, 1, x_263); -x_265 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_266 = lean_array_push(x_265, x_244); -x_267 = lean_array_push(x_266, x_262); -x_268 = lean_array_push(x_267, x_264); -x_269 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -x_271 = lean_array_push(x_250, x_270); -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_252); -lean_ctor_set(x_272, 1, x_271); -x_273 = lean_array_push(x_254, x_242); -x_274 = lean_array_push(x_273, x_272); -x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_257); -lean_ctor_set(x_275, 1, x_274); -lean_ctor_set(x_233, 0, x_275); -return x_233; -} -else -{ -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; -x_276 = lean_ctor_get(x_233, 0); -x_277 = lean_ctor_get(x_233, 1); -lean_inc(x_277); -lean_inc(x_276); -lean_dec(x_233); -x_278 = lean_ctor_get(x_2, 2); -lean_inc(x_278); -x_279 = lean_ctor_get(x_2, 1); -lean_inc(x_279); -lean_dec(x_2); -x_280 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_278); -lean_inc(x_279); -x_281 = l_Lean_addMacroScope(x_279, x_280, x_278); -x_282 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_283 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_276); -x_284 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_284, 0, x_276); -lean_ctor_set(x_284, 1, x_282); -lean_ctor_set(x_284, 2, x_281); -lean_ctor_set(x_284, 3, x_283); -x_285 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_276); -x_286 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_286, 0, x_276); -lean_ctor_set(x_286, 1, x_285); -x_287 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__7; -x_288 = l_Lean_addMacroScope(x_279, x_287, x_278); -x_289 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__5; -x_290 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__9; -lean_inc(x_276); -x_291 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_291, 0, x_276); -lean_ctor_set(x_291, 1, x_289); -lean_ctor_set(x_291, 2, x_288); -lean_ctor_set(x_291, 3, x_290); -x_292 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_293 = lean_array_push(x_292, x_231); -x_294 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_295, 0, x_294); -lean_ctor_set(x_295, 1, x_293); -x_296 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_297 = lean_array_push(x_296, x_291); -x_298 = lean_array_push(x_297, x_295); -x_299 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_299); -lean_ctor_set(x_300, 1, x_298); -x_301 = lean_array_push(x_296, x_300); -x_302 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_303 = lean_array_push(x_301, x_302); -x_304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_304, 0, x_294); -lean_ctor_set(x_304, 1, x_303); -x_305 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_306 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_306, 0, x_276); -lean_ctor_set(x_306, 1, x_305); -x_307 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_308 = lean_array_push(x_307, x_286); -x_309 = lean_array_push(x_308, x_304); -x_310 = lean_array_push(x_309, x_306); -x_311 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_312, 0, x_311); -lean_ctor_set(x_312, 1, x_310); -x_313 = lean_array_push(x_292, x_312); -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_294); -lean_ctor_set(x_314, 1, x_313); -x_315 = lean_array_push(x_296, x_284); -x_316 = lean_array_push(x_315, x_314); -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_299); -lean_ctor_set(x_317, 1, x_316); -x_318 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_318, 0, x_317); -lean_ctor_set(x_318, 1, x_277); -return x_318; -} +x_132 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_130); +lean_inc(x_131); +x_133 = l_Lean_addMacroScope(x_131, x_132, x_130); +x_134 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_135 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_128); +x_136 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_136, 0, x_128); +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___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_128); +x_138 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_138, 0, x_128); +lean_ctor_set(x_138, 1, x_137); +x_139 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__7; +x_140 = l_Lean_addMacroScope(x_131, x_139, x_130); +x_141 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__5; +x_142 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__9; +lean_inc(x_128); +x_143 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_143, 0, x_128); +lean_ctor_set(x_143, 1, x_141); +lean_ctor_set(x_143, 2, x_140); +lean_ctor_set(x_143, 3, x_142); +x_144 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_145 = lean_array_push(x_144, x_125); +x_146 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_145); +x_148 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_149 = lean_array_push(x_148, x_143); +x_150 = lean_array_push(x_149, x_147); +x_151 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +x_153 = lean_array_push(x_148, x_152); +x_154 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_155 = lean_array_push(x_153, x_154); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_146); +lean_ctor_set(x_156, 1, x_155); +x_157 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_158 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_158, 0, x_128); +lean_ctor_set(x_158, 1, x_157); +x_159 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_160 = lean_array_push(x_159, x_138); +x_161 = lean_array_push(x_160, x_156); +x_162 = lean_array_push(x_161, x_158); +x_163 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_163); +lean_ctor_set(x_164, 1, x_162); +x_165 = lean_array_push(x_144, x_164); +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_146); +lean_ctor_set(x_166, 1, x_165); +x_167 = lean_array_push(x_148, x_136); +x_168 = lean_array_push(x_167, x_166); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_151); +lean_ctor_set(x_169, 1, x_168); +x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_129); +return x_170; } case 4: { -lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; -x_319 = lean_ctor_get(x_4, 1); -lean_inc(x_319); +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_171 = lean_ctor_get(x_4, 1); +lean_inc(x_171); lean_dec(x_4); -x_320 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__21; -x_321 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__10; -x_322 = lean_panic_fn(x_320, x_321); -x_323 = lean_apply_3(x_322, x_1, x_2, x_319); -return x_323; +x_172 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__21; +x_173 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__10; +x_174 = lean_panic_fn(x_172, x_173); +x_175 = lean_apply_3(x_174, x_1, x_2, x_171); +return x_175; } case 5: { -lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_dec(x_1); -x_324 = lean_ctor_get(x_4, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_4, 1); -lean_inc(x_325); +x_176 = lean_ctor_get(x_4, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_4, 1); +lean_inc(x_177); lean_dec(x_4); -x_326 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_325); -x_327 = !lean_is_exclusive(x_326); -if (x_327 == 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; 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; -x_328 = lean_ctor_get(x_326, 0); -x_329 = lean_ctor_get(x_2, 2); -lean_inc(x_329); -x_330 = lean_ctor_get(x_2, 1); -lean_inc(x_330); +x_178 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_177); +x_179 = lean_ctor_get(x_178, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_178, 1); +lean_inc(x_180); +lean_dec(x_178); +x_181 = lean_ctor_get(x_2, 2); +lean_inc(x_181); +x_182 = lean_ctor_get(x_2, 1); +lean_inc(x_182); lean_dec(x_2); -x_331 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_329); -lean_inc(x_330); -x_332 = l_Lean_addMacroScope(x_330, x_331, x_329); -x_333 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_334 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_328); -x_335 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_335, 0, x_328); -lean_ctor_set(x_335, 1, x_333); -lean_ctor_set(x_335, 2, x_332); -lean_ctor_set(x_335, 3, x_334); -x_336 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_328); -x_337 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_337, 0, x_328); -lean_ctor_set(x_337, 1, x_336); -x_338 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__14; -x_339 = l_Lean_addMacroScope(x_330, x_338, x_329); -x_340 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__13; -x_341 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__16; -lean_inc(x_328); -x_342 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_342, 0, x_328); -lean_ctor_set(x_342, 1, x_340); -lean_ctor_set(x_342, 2, x_339); -lean_ctor_set(x_342, 3, x_341); -x_343 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_344 = lean_array_push(x_343, x_324); -x_345 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_348 = lean_array_push(x_347, x_342); -x_349 = lean_array_push(x_348, x_346); -x_350 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_350); -lean_ctor_set(x_351, 1, x_349); -x_352 = lean_array_push(x_347, x_351); -x_353 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_354 = lean_array_push(x_352, x_353); -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_345); -lean_ctor_set(x_355, 1, x_354); -x_356 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_357 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_357, 0, x_328); -lean_ctor_set(x_357, 1, x_356); -x_358 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_359 = lean_array_push(x_358, x_337); -x_360 = lean_array_push(x_359, x_355); -x_361 = lean_array_push(x_360, x_357); -x_362 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_363, 0, x_362); -lean_ctor_set(x_363, 1, x_361); -x_364 = lean_array_push(x_343, x_363); -x_365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_365, 0, x_345); -lean_ctor_set(x_365, 1, x_364); -x_366 = lean_array_push(x_347, x_335); -x_367 = lean_array_push(x_366, x_365); -x_368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_368, 0, x_350); -lean_ctor_set(x_368, 1, x_367); -lean_ctor_set(x_326, 0, x_368); -return x_326; -} -else -{ -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; -x_369 = lean_ctor_get(x_326, 0); -x_370 = lean_ctor_get(x_326, 1); -lean_inc(x_370); -lean_inc(x_369); -lean_dec(x_326); -x_371 = lean_ctor_get(x_2, 2); -lean_inc(x_371); -x_372 = lean_ctor_get(x_2, 1); -lean_inc(x_372); -lean_dec(x_2); -x_373 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_371); -lean_inc(x_372); -x_374 = l_Lean_addMacroScope(x_372, x_373, x_371); -x_375 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_376 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_369); -x_377 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_377, 0, x_369); -lean_ctor_set(x_377, 1, x_375); -lean_ctor_set(x_377, 2, x_374); -lean_ctor_set(x_377, 3, x_376); -x_378 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_369); -x_379 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_379, 0, x_369); -lean_ctor_set(x_379, 1, x_378); -x_380 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__14; -x_381 = l_Lean_addMacroScope(x_372, x_380, x_371); -x_382 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__13; -x_383 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__16; -lean_inc(x_369); -x_384 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_384, 0, x_369); -lean_ctor_set(x_384, 1, x_382); -lean_ctor_set(x_384, 2, x_381); -lean_ctor_set(x_384, 3, x_383); -x_385 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_386 = lean_array_push(x_385, x_324); -x_387 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_390 = lean_array_push(x_389, x_384); -x_391 = lean_array_push(x_390, x_388); -x_392 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_393 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_393, 0, x_392); -lean_ctor_set(x_393, 1, x_391); -x_394 = lean_array_push(x_389, x_393); -x_395 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_396 = lean_array_push(x_394, x_395); -x_397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_397, 0, x_387); -lean_ctor_set(x_397, 1, x_396); -x_398 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_399 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_399, 0, x_369); -lean_ctor_set(x_399, 1, x_398); -x_400 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_401 = lean_array_push(x_400, x_379); -x_402 = lean_array_push(x_401, x_397); -x_403 = lean_array_push(x_402, x_399); -x_404 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_405 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_405, 0, x_404); -lean_ctor_set(x_405, 1, x_403); -x_406 = lean_array_push(x_385, x_405); -x_407 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_407, 0, x_387); -lean_ctor_set(x_407, 1, x_406); -x_408 = lean_array_push(x_389, x_377); -x_409 = lean_array_push(x_408, x_407); -x_410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_410, 0, x_392); -lean_ctor_set(x_410, 1, x_409); -x_411 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_411, 0, x_410); -lean_ctor_set(x_411, 1, x_370); -return x_411; -} +x_183 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_181); +lean_inc(x_182); +x_184 = l_Lean_addMacroScope(x_182, x_183, x_181); +x_185 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_186 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_179); +x_187 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_187, 0, x_179); +lean_ctor_set(x_187, 1, x_185); +lean_ctor_set(x_187, 2, x_184); +lean_ctor_set(x_187, 3, x_186); +x_188 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_179); +x_189 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_189, 0, x_179); +lean_ctor_set(x_189, 1, x_188); +x_190 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__14; +x_191 = l_Lean_addMacroScope(x_182, x_190, x_181); +x_192 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__13; +x_193 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__16; +lean_inc(x_179); +x_194 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_194, 0, x_179); +lean_ctor_set(x_194, 1, x_192); +lean_ctor_set(x_194, 2, x_191); +lean_ctor_set(x_194, 3, x_193); +x_195 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_196 = lean_array_push(x_195, x_176); +x_197 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_200 = lean_array_push(x_199, x_194); +x_201 = lean_array_push(x_200, x_198); +x_202 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_201); +x_204 = lean_array_push(x_199, x_203); +x_205 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_206 = lean_array_push(x_204, x_205); +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_197); +lean_ctor_set(x_207, 1, x_206); +x_208 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_209 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_209, 0, x_179); +lean_ctor_set(x_209, 1, x_208); +x_210 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_211 = lean_array_push(x_210, x_189); +x_212 = lean_array_push(x_211, x_207); +x_213 = lean_array_push(x_212, x_209); +x_214 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_213); +x_216 = lean_array_push(x_195, x_215); +x_217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_217, 0, x_197); +lean_ctor_set(x_217, 1, x_216); +x_218 = lean_array_push(x_199, x_187); +x_219 = lean_array_push(x_218, x_217); +x_220 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_220, 0, x_202); +lean_ctor_set(x_220, 1, x_219); +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_220); +lean_ctor_set(x_221, 1, x_180); +return x_221; } default: { -lean_object* x_412; lean_object* x_413; lean_object* x_414; uint8_t x_415; +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_dec(x_1); -x_412 = lean_ctor_get(x_4, 0); -lean_inc(x_412); -x_413 = lean_ctor_get(x_4, 1); -lean_inc(x_413); +x_222 = lean_ctor_get(x_4, 0); +lean_inc(x_222); +x_223 = lean_ctor_get(x_4, 1); +lean_inc(x_223); lean_dec(x_4); -x_414 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_413); -x_415 = !lean_is_exclusive(x_414); -if (x_415 == 0) -{ -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; -x_416 = lean_ctor_get(x_414, 0); -x_417 = lean_ctor_get(x_2, 2); -lean_inc(x_417); -x_418 = lean_ctor_get(x_2, 1); -lean_inc(x_418); +x_224 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_2, x_223); +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_224, 1); +lean_inc(x_226); +lean_dec(x_224); +x_227 = lean_ctor_get(x_2, 2); +lean_inc(x_227); +x_228 = lean_ctor_get(x_2, 1); +lean_inc(x_228); lean_dec(x_2); -x_419 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_417); -lean_inc(x_418); -x_420 = l_Lean_addMacroScope(x_418, x_419, x_417); -x_421 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_422 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_416); -x_423 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_423, 0, x_416); -lean_ctor_set(x_423, 1, x_421); -lean_ctor_set(x_423, 2, x_420); -lean_ctor_set(x_423, 3, x_422); -x_424 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_416); -x_425 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_425, 0, x_416); -lean_ctor_set(x_425, 1, x_424); -x_426 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__20; -x_427 = l_Lean_addMacroScope(x_418, x_426, x_417); -x_428 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__19; -x_429 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__22; -lean_inc(x_416); -x_430 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_430, 0, x_416); -lean_ctor_set(x_430, 1, x_428); -lean_ctor_set(x_430, 2, x_427); -lean_ctor_set(x_430, 3, x_429); -x_431 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_432 = lean_array_push(x_431, x_412); -x_433 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_434 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_434, 0, x_433); -lean_ctor_set(x_434, 1, x_432); -x_435 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_436 = lean_array_push(x_435, x_430); -x_437 = lean_array_push(x_436, x_434); -x_438 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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 = lean_array_push(x_435, x_439); -x_441 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_442 = lean_array_push(x_440, x_441); -x_443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_443, 0, x_433); -lean_ctor_set(x_443, 1, x_442); -x_444 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_445 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_445, 0, x_416); -lean_ctor_set(x_445, 1, x_444); -x_446 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_447 = lean_array_push(x_446, x_425); -x_448 = lean_array_push(x_447, x_443); -x_449 = lean_array_push(x_448, x_445); -x_450 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_451, 0, x_450); -lean_ctor_set(x_451, 1, x_449); -x_452 = lean_array_push(x_431, x_451); -x_453 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_453, 0, x_433); -lean_ctor_set(x_453, 1, x_452); -x_454 = lean_array_push(x_435, x_423); -x_455 = lean_array_push(x_454, x_453); -x_456 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_456, 0, x_438); -lean_ctor_set(x_456, 1, x_455); -lean_ctor_set(x_414, 0, x_456); -return x_414; -} -else -{ -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; -x_457 = lean_ctor_get(x_414, 0); -x_458 = lean_ctor_get(x_414, 1); -lean_inc(x_458); -lean_inc(x_457); -lean_dec(x_414); -x_459 = lean_ctor_get(x_2, 2); -lean_inc(x_459); -x_460 = lean_ctor_get(x_2, 1); -lean_inc(x_460); -lean_dec(x_2); -x_461 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_459); -lean_inc(x_460); -x_462 = l_Lean_addMacroScope(x_460, x_461, x_459); -x_463 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_464 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; -lean_inc(x_457); -x_465 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_465, 0, x_457); -lean_ctor_set(x_465, 1, x_463); -lean_ctor_set(x_465, 2, x_462); -lean_ctor_set(x_465, 3, x_464); -x_466 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_457); -x_467 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_467, 0, x_457); -lean_ctor_set(x_467, 1, x_466); -x_468 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__20; -x_469 = l_Lean_addMacroScope(x_460, x_468, x_459); -x_470 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__19; -x_471 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__22; -lean_inc(x_457); -x_472 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_472, 0, x_457); -lean_ctor_set(x_472, 1, x_470); -lean_ctor_set(x_472, 2, x_469); -lean_ctor_set(x_472, 3, x_471); -x_473 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_474 = lean_array_push(x_473, x_412); -x_475 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_476 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_476, 0, x_475); -lean_ctor_set(x_476, 1, x_474); -x_477 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_478 = lean_array_push(x_477, x_472); -x_479 = lean_array_push(x_478, x_476); -x_480 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_481 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_481, 0, x_480); -lean_ctor_set(x_481, 1, x_479); -x_482 = lean_array_push(x_477, x_481); -x_483 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_484 = lean_array_push(x_482, x_483); -x_485 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_485, 0, x_475); -lean_ctor_set(x_485, 1, x_484); -x_486 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_487 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_487, 0, x_457); -lean_ctor_set(x_487, 1, x_486); -x_488 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_489 = lean_array_push(x_488, x_467); -x_490 = lean_array_push(x_489, x_485); -x_491 = lean_array_push(x_490, x_487); -x_492 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_493 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_493, 0, x_492); -lean_ctor_set(x_493, 1, x_491); -x_494 = lean_array_push(x_473, x_493); -x_495 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_495, 0, x_475); -lean_ctor_set(x_495, 1, x_494); -x_496 = lean_array_push(x_477, x_465); -x_497 = lean_array_push(x_496, x_495); -x_498 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_498, 0, x_480); -lean_ctor_set(x_498, 1, x_497); -x_499 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_499, 0, x_498); -lean_ctor_set(x_499, 1, x_458); -return x_499; -} +x_229 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_227); +lean_inc(x_228); +x_230 = l_Lean_addMacroScope(x_228, x_229, x_227); +x_231 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_232 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__11; +lean_inc(x_225); +x_233 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_233, 0, x_225); +lean_ctor_set(x_233, 1, x_231); +lean_ctor_set(x_233, 2, x_230); +lean_ctor_set(x_233, 3, x_232); +x_234 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_225); +x_235 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_235, 0, x_225); +lean_ctor_set(x_235, 1, x_234); +x_236 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__20; +x_237 = l_Lean_addMacroScope(x_228, x_236, x_227); +x_238 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__19; +x_239 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__22; +lean_inc(x_225); +x_240 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_240, 0, x_225); +lean_ctor_set(x_240, 1, x_238); +lean_ctor_set(x_240, 2, x_237); +lean_ctor_set(x_240, 3, x_239); +x_241 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_242 = lean_array_push(x_241, x_222); +x_243 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_242); +x_245 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_246 = lean_array_push(x_245, x_240); +x_247 = lean_array_push(x_246, x_244); +x_248 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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_array_push(x_245, x_249); +x_251 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_252 = lean_array_push(x_250, x_251); +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_243); +lean_ctor_set(x_253, 1, x_252); +x_254 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_255 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_255, 0, x_225); +lean_ctor_set(x_255, 1, x_254); +x_256 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_257 = lean_array_push(x_256, x_235); +x_258 = lean_array_push(x_257, x_253); +x_259 = lean_array_push(x_258, x_255); +x_260 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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 = lean_array_push(x_241, x_261); +x_263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_263, 0, x_243); +lean_ctor_set(x_263, 1, x_262); +x_264 = lean_array_push(x_245, x_233); +x_265 = lean_array_push(x_264, x_263); +x_266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_248); +lean_ctor_set(x_266, 1, x_265); +x_267 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_226); +return x_267; } } } else { -uint8_t x_500; +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_dec(x_2); lean_dec(x_1); -x_500 = !lean_is_exclusive(x_4); -if (x_500 == 0) -{ -return x_4; -} -else -{ -lean_object* x_501; lean_object* x_502; lean_object* x_503; -x_501 = lean_ctor_get(x_4, 0); -x_502 = lean_ctor_get(x_4, 1); -lean_inc(x_502); -lean_inc(x_501); +x_268 = lean_ctor_get(x_4, 0); +lean_inc(x_268); +x_269 = lean_ctor_get(x_4, 1); +lean_inc(x_269); lean_dec(x_4); -x_503 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_503, 0, x_501); -lean_ctor_set(x_503, 1, x_502); -return x_503; -} +x_270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_268); +lean_ctor_set(x_270, 1, x_269); +return x_270; } } } @@ -31454,7 +21914,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__4; x_2 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__15; -x_3 = lean_unsigned_to_nat(919u); +x_3 = lean_unsigned_to_nat(922u); x_4 = lean_unsigned_to_nat(28u); x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -31594,4831 +22054,1159 @@ return x_3; lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm(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; lean_object* x_9; uint8_t x_10; +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; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); x_6 = lean_ctor_get(x_3, 1); -x_7 = lean_ctor_get(x_3, 5); -x_8 = lean_ctor_get(x_3, 2); -lean_dec(x_8); -x_9 = l_Lean_replaceRef(x_1, x_7); -lean_dec(x_7); -x_10 = !lean_is_exclusive(x_4); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 3); +lean_inc(x_7); +x_8 = lean_ctor_get(x_3, 4); +lean_inc(x_8); +x_9 = lean_ctor_get(x_3, 5); +lean_inc(x_9); +lean_dec(x_3); +x_10 = l_Lean_replaceRef(x_1, x_9); +lean_dec(x_9); x_11 = lean_ctor_get(x_4, 0); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_add(x_11, x_12); -lean_ctor_set(x_4, 0, x_13); +lean_inc(x_11); +x_12 = lean_ctor_get(x_4, 1); +lean_inc(x_12); +lean_dec(x_4); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_11, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); lean_inc(x_11); lean_inc(x_6); -lean_ctor_set(x_3, 5, x_9); -lean_ctor_set(x_3, 2, x_11); -lean_inc(x_3); +x_16 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_6); +lean_ctor_set(x_16, 2, x_11); +lean_ctor_set(x_16, 3, x_7); +lean_ctor_set(x_16, 4, x_8); +lean_ctor_set(x_16, 5, x_10); +lean_inc(x_16); lean_inc(x_2); -x_14 = l_Lean_Elab_Term_Do_ToTerm_mkUVarTuple(x_2, x_3, x_4); -if (lean_obj_tag(x_14) == 0) +x_17 = l_Lean_Elab_Term_Do_ToTerm_mkUVarTuple(x_2, x_16, x_15); +if (lean_obj_tag(x_17) == 0) { -uint8_t x_15; -x_15 = lean_ctor_get_uint8(x_2, sizeof(void*)*2); -switch (x_15) { +uint8_t x_18; +x_18 = lean_ctor_get_uint8(x_2, sizeof(void*)*2); +switch (x_18) { case 0: { -uint8_t x_16; -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = lean_ctor_get(x_14, 0); -x_18 = lean_ctor_get(x_14, 1); -x_19 = lean_ctor_get(x_2, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_ctor_get(x_2, 1); +lean_inc(x_21); lean_dec(x_2); -x_20 = l_Array_isEmpty___rarg(x_19); -lean_dec(x_19); -if (x_20 == 0) -{ -lean_object* x_21; uint8_t x_22; -lean_free_object(x_14); -x_21 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_18); -lean_dec(x_3); -x_22 = !lean_is_exclusive(x_21); +x_22 = l_Array_isEmpty___rarg(x_21); +lean_dec(x_21); if (x_22 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_23 = lean_ctor_get(x_21, 0); -x_24 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__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; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_16, x_20); +lean_dec(x_16); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; lean_inc(x_11); lean_inc(x_6); -x_25 = l_Lean_addMacroScope(x_6, x_24, x_11); -x_26 = lean_box(0); -x_27 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_28 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_23); -x_29 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_29, 0, x_23); -lean_ctor_set(x_29, 1, x_27); -lean_ctor_set(x_29, 2, x_25); -lean_ctor_set(x_29, 3, x_28); -x_30 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_23); -x_31 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_31, 0, x_23); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; +x_27 = l_Lean_addMacroScope(x_6, x_26, x_11); +x_28 = lean_box(0); +x_29 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; +x_30 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; +lean_inc(x_24); +x_31 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_31, 0, x_24); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_31, 2, x_27); +lean_ctor_set(x_31, 3, x_30); +x_32 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; +lean_inc(x_24); +x_33 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_33, 0, x_24); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; lean_inc(x_11); lean_inc(x_6); -x_33 = l_Lean_addMacroScope(x_6, x_32, x_11); -x_34 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_23); -x_35 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_35, 0, x_23); -lean_ctor_set(x_35, 1, x_34); -lean_ctor_set(x_35, 2, x_33); -lean_ctor_set(x_35, 3, x_26); -x_36 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_35); -x_37 = lean_array_push(x_36, x_35); -x_38 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_23); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_23); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +x_35 = l_Lean_addMacroScope(x_6, x_34, x_11); +x_36 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; +lean_inc(x_24); +x_37 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_37, 0, x_24); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_28); +x_38 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +lean_inc(x_37); +x_39 = lean_array_push(x_38, x_37); +x_40 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_24); +x_43 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_43, 0, x_24); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; lean_inc(x_11); lean_inc(x_6); -x_43 = l_Lean_addMacroScope(x_6, x_42, x_11); -x_44 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_45 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_23); -x_46 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_46, 0, x_23); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_46, 2, x_43); -lean_ctor_set(x_46, 3, x_45); -x_47 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_23); -x_48 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_48, 0, x_23); -lean_ctor_set(x_48, 1, x_47); -x_49 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -x_50 = l_Lean_addMacroScope(x_6, x_49, x_11); -x_51 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_52 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_23); -x_53 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_53, 0, x_23); -lean_ctor_set(x_53, 1, x_51); -lean_ctor_set(x_53, 2, x_50); -lean_ctor_set(x_53, 3, x_52); -x_54 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_55 = lean_array_push(x_54, x_35); -x_56 = lean_array_push(x_55, x_17); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_38); -lean_ctor_set(x_57, 1, x_56); -x_58 = lean_array_push(x_54, x_53); -x_59 = lean_array_push(x_58, x_57); -x_60 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -x_62 = lean_array_push(x_54, x_61); -x_63 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_64 = lean_array_push(x_62, x_63); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_38); -lean_ctor_set(x_65, 1, x_64); -x_66 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_67 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_67, 0, x_23); +x_45 = l_Lean_addMacroScope(x_6, x_44, x_11); +x_46 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_47 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_24); +x_48 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_48, 0, x_24); +lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 2, x_45); +lean_ctor_set(x_48, 3, x_47); +x_49 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_24); +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_24); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; +x_52 = l_Lean_addMacroScope(x_6, x_51, x_11); +x_53 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; +x_54 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; +lean_inc(x_24); +x_55 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_55, 0, x_24); +lean_ctor_set(x_55, 1, x_53); +lean_ctor_set(x_55, 2, x_52); +lean_ctor_set(x_55, 3, x_54); +x_56 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_57 = lean_array_push(x_56, x_37); +x_58 = lean_array_push(x_57, x_19); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_40); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_array_push(x_56, x_55); +x_61 = lean_array_push(x_60, x_59); +x_62 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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); +x_64 = lean_array_push(x_56, x_63); +x_65 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_66 = lean_array_push(x_64, x_65); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_40); lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_69 = lean_array_push(x_68, x_48); -x_70 = lean_array_push(x_69, x_65); -x_71 = lean_array_push(x_70, x_67); -x_72 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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_36, x_73); +x_68 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_69 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_69, 0, x_24); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_71 = lean_array_push(x_70, x_50); +x_72 = lean_array_push(x_71, x_67); +x_73 = lean_array_push(x_72, x_69); +x_74 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_38); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_array_push(x_54, x_46); -x_77 = lean_array_push(x_76, x_75); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_60); -lean_ctor_set(x_78, 1, x_77); -x_79 = lean_array_push(x_68, x_39); -x_80 = lean_array_push(x_79, x_41); -x_81 = lean_array_push(x_80, x_78); -x_82 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -x_84 = lean_array_push(x_54, x_31); -x_85 = lean_array_push(x_84, x_83); -x_86 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___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 = lean_array_push(x_54, x_1); -x_89 = lean_array_push(x_88, x_87); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_38); -lean_ctor_set(x_90, 1, x_89); -x_91 = lean_array_push(x_54, x_29); -x_92 = lean_array_push(x_91, x_90); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_60); -lean_ctor_set(x_93, 1, x_92); -lean_ctor_set(x_21, 0, x_93); -return x_21; +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_73); +x_76 = lean_array_push(x_38, x_75); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_40); +lean_ctor_set(x_77, 1, x_76); +x_78 = lean_array_push(x_56, x_48); +x_79 = lean_array_push(x_78, x_77); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_62); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_array_push(x_70, x_41); +x_82 = lean_array_push(x_81, x_43); +x_83 = lean_array_push(x_82, x_80); +x_84 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; +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_array_push(x_56, x_33); +x_87 = lean_array_push(x_86, x_85); +x_88 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = lean_array_push(x_56, x_1); +x_91 = lean_array_push(x_90, x_89); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_40); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_array_push(x_56, x_31); +x_94 = lean_array_push(x_93, x_92); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_62); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_25); +return x_96; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_94 = lean_ctor_get(x_21, 0); -x_95 = lean_ctor_get(x_21, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_21); -x_96 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_11); -lean_inc(x_6); -x_97 = l_Lean_addMacroScope(x_6, x_96, x_11); -x_98 = lean_box(0); -x_99 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_100 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_94); -x_101 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_101, 0, x_94); -lean_ctor_set(x_101, 1, x_99); -lean_ctor_set(x_101, 2, x_97); -lean_ctor_set(x_101, 3, x_100); -x_102 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_94); -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_94); -lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_11); -lean_inc(x_6); -x_105 = l_Lean_addMacroScope(x_6, x_104, x_11); -x_106 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_94); -x_107 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_107, 0, x_94); -lean_ctor_set(x_107, 1, x_106); -lean_ctor_set(x_107, 2, x_105); -lean_ctor_set(x_107, 3, x_98); -x_108 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_107); -x_109 = lean_array_push(x_108, x_107); -x_110 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_94); -x_113 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_113, 0, x_94); -lean_ctor_set(x_113, 1, x_112); -x_114 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_11); -lean_inc(x_6); -x_115 = l_Lean_addMacroScope(x_6, x_114, x_11); -x_116 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_117 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_94); -x_118 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_118, 0, x_94); -lean_ctor_set(x_118, 1, x_116); -lean_ctor_set(x_118, 2, x_115); -lean_ctor_set(x_118, 3, x_117); -x_119 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_94); -x_120 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_120, 0, x_94); -lean_ctor_set(x_120, 1, x_119); -x_121 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -x_122 = l_Lean_addMacroScope(x_6, x_121, x_11); -x_123 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_124 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_94); -x_125 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_125, 0, x_94); -lean_ctor_set(x_125, 1, x_123); -lean_ctor_set(x_125, 2, x_122); -lean_ctor_set(x_125, 3, x_124); -x_126 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_127 = lean_array_push(x_126, x_107); -x_128 = lean_array_push(x_127, x_17); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_110); -lean_ctor_set(x_129, 1, x_128); -x_130 = lean_array_push(x_126, x_125); -x_131 = lean_array_push(x_130, x_129); -x_132 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -x_134 = lean_array_push(x_126, x_133); -x_135 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_136 = lean_array_push(x_134, x_135); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_110); -lean_ctor_set(x_137, 1, x_136); -x_138 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_139 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_139, 0, x_94); -lean_ctor_set(x_139, 1, x_138); -x_140 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_141 = lean_array_push(x_140, x_120); -x_142 = lean_array_push(x_141, x_137); -x_143 = lean_array_push(x_142, x_139); -x_144 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_143); -x_146 = lean_array_push(x_108, x_145); -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_110); -lean_ctor_set(x_147, 1, x_146); -x_148 = lean_array_push(x_126, x_118); -x_149 = lean_array_push(x_148, x_147); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_132); -lean_ctor_set(x_150, 1, x_149); -x_151 = lean_array_push(x_140, x_111); -x_152 = lean_array_push(x_151, x_113); -x_153 = lean_array_push(x_152, x_150); -x_154 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_153); -x_156 = lean_array_push(x_126, x_103); -x_157 = lean_array_push(x_156, x_155); -x_158 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -x_160 = lean_array_push(x_126, x_1); -x_161 = lean_array_push(x_160, x_159); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_110); -lean_ctor_set(x_162, 1, x_161); -x_163 = lean_array_push(x_126, x_101); -x_164 = lean_array_push(x_163, x_162); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_132); -lean_ctor_set(x_165, 1, x_164); -x_166 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_95); -return x_166; -} -} -else -{ -lean_dec(x_17); -lean_dec(x_3); +lean_object* x_97; +lean_dec(x_19); +lean_dec(x_16); lean_dec(x_11); lean_dec(x_6); -lean_ctor_set(x_14, 0, x_1); -return x_14; -} -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; -x_167 = lean_ctor_get(x_14, 0); -x_168 = lean_ctor_get(x_14, 1); -lean_inc(x_168); -lean_inc(x_167); -lean_dec(x_14); -x_169 = lean_ctor_get(x_2, 1); -lean_inc(x_169); -lean_dec(x_2); -x_170 = l_Array_isEmpty___rarg(x_169); -lean_dec(x_169); -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; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_171 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_168); -lean_dec(x_3); -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_171, 1); -lean_inc(x_173); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - lean_ctor_release(x_171, 1); - x_174 = x_171; -} else { - lean_dec_ref(x_171); - x_174 = lean_box(0); -} -x_175 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_11); -lean_inc(x_6); -x_176 = l_Lean_addMacroScope(x_6, x_175, x_11); -x_177 = lean_box(0); -x_178 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_179 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_172); -x_180 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_180, 0, x_172); -lean_ctor_set(x_180, 1, x_178); -lean_ctor_set(x_180, 2, x_176); -lean_ctor_set(x_180, 3, x_179); -x_181 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_172); -x_182 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_182, 0, x_172); -lean_ctor_set(x_182, 1, x_181); -x_183 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_11); -lean_inc(x_6); -x_184 = l_Lean_addMacroScope(x_6, x_183, x_11); -x_185 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_172); -x_186 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_186, 0, x_172); -lean_ctor_set(x_186, 1, x_185); -lean_ctor_set(x_186, 2, x_184); -lean_ctor_set(x_186, 3, x_177); -x_187 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_186); -x_188 = lean_array_push(x_187, x_186); -x_189 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_172); -x_192 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_192, 0, x_172); -lean_ctor_set(x_192, 1, x_191); -x_193 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_11); -lean_inc(x_6); -x_194 = l_Lean_addMacroScope(x_6, x_193, x_11); -x_195 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_196 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_172); -x_197 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_197, 0, x_172); -lean_ctor_set(x_197, 1, x_195); -lean_ctor_set(x_197, 2, x_194); -lean_ctor_set(x_197, 3, x_196); -x_198 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_172); -x_199 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_199, 0, x_172); -lean_ctor_set(x_199, 1, x_198); -x_200 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -x_201 = l_Lean_addMacroScope(x_6, x_200, x_11); -x_202 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_203 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_172); -x_204 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_204, 0, x_172); -lean_ctor_set(x_204, 1, x_202); -lean_ctor_set(x_204, 2, x_201); -lean_ctor_set(x_204, 3, x_203); -x_205 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_206 = lean_array_push(x_205, x_186); -x_207 = lean_array_push(x_206, x_167); -x_208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_208, 0, x_189); -lean_ctor_set(x_208, 1, x_207); -x_209 = lean_array_push(x_205, x_204); -x_210 = lean_array_push(x_209, x_208); -x_211 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_210); -x_213 = lean_array_push(x_205, x_212); -x_214 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_215 = lean_array_push(x_213, x_214); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_189); -lean_ctor_set(x_216, 1, x_215); -x_217 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_218 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_218, 0, x_172); -lean_ctor_set(x_218, 1, x_217); -x_219 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_220 = lean_array_push(x_219, x_199); -x_221 = lean_array_push(x_220, x_216); -x_222 = lean_array_push(x_221, x_218); -x_223 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_225 = lean_array_push(x_187, x_224); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_189); -lean_ctor_set(x_226, 1, x_225); -x_227 = lean_array_push(x_205, x_197); -x_228 = lean_array_push(x_227, x_226); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_211); -lean_ctor_set(x_229, 1, x_228); -x_230 = lean_array_push(x_219, x_190); -x_231 = lean_array_push(x_230, x_192); -x_232 = lean_array_push(x_231, x_229); -x_233 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_232); -x_235 = lean_array_push(x_205, x_182); -x_236 = lean_array_push(x_235, x_234); -x_237 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_236); -x_239 = lean_array_push(x_205, x_1); -x_240 = lean_array_push(x_239, x_238); -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_189); -lean_ctor_set(x_241, 1, x_240); -x_242 = lean_array_push(x_205, x_180); -x_243 = lean_array_push(x_242, x_241); -x_244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_244, 0, x_211); -lean_ctor_set(x_244, 1, x_243); -if (lean_is_scalar(x_174)) { - x_245 = lean_alloc_ctor(0, 2, 0); -} else { - x_245 = x_174; -} -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_173); -return x_245; -} -else -{ -lean_object* x_246; -lean_dec(x_167); -lean_dec(x_3); -lean_dec(x_11); -lean_dec(x_6); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_1); -lean_ctor_set(x_246, 1, x_168); -return x_246; -} +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_1); +lean_ctor_set(x_97, 1, x_20); +return x_97; } } case 1: { -lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_dec(x_2); -x_247 = lean_ctor_get(x_14, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_14, 1); -lean_inc(x_248); -lean_dec(x_14); -x_249 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_248); -lean_dec(x_3); -x_250 = !lean_is_exclusive(x_249); -if (x_250 == 0) +x_98 = lean_ctor_get(x_17, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_17, 1); +lean_inc(x_99); +lean_dec(x_17); +x_100 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_16, x_99); +lean_dec(x_16); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +x_103 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; +lean_inc(x_11); +lean_inc(x_6); +x_104 = l_Lean_addMacroScope(x_6, x_103, x_11); +x_105 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; +x_106 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; +lean_inc(x_101); +x_107 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_107, 0, x_101); +lean_ctor_set(x_107, 1, x_105); +lean_ctor_set(x_107, 2, x_104); +lean_ctor_set(x_107, 3, x_106); +x_108 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; +lean_inc(x_101); +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_101); +lean_ctor_set(x_109, 1, x_108); +x_110 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_101); +x_111 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_111, 0, x_101); +lean_ctor_set(x_111, 1, x_110); +x_112 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; +lean_inc(x_101); +x_113 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_113, 0, x_101); +lean_ctor_set(x_113, 1, x_112); +x_114 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_115 = lean_array_push(x_114, x_113); +x_116 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; +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___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; +lean_inc(x_101); +x_119 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_119, 0, x_101); +lean_ctor_set(x_119, 1, x_118); +x_120 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; +lean_inc(x_11); +lean_inc(x_6); +x_121 = l_Lean_addMacroScope(x_6, x_120, x_11); +x_122 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; +x_123 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__14; +lean_inc(x_101); +x_124 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_124, 0, x_101); +lean_ctor_set(x_124, 1, x_122); +lean_ctor_set(x_124, 2, x_121); +lean_ctor_set(x_124, 3, x_123); +x_125 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_126 = lean_array_push(x_125, x_119); +x_127 = lean_array_push(x_126, x_124); +x_128 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; +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 = lean_array_push(x_114, x_129); +x_131 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_130); +x_133 = lean_array_push(x_125, x_117); +x_134 = lean_array_push(x_133, x_132); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_131); +lean_ctor_set(x_135, 1, x_134); +x_136 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +lean_inc(x_101); +x_137 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_137, 0, x_101); +lean_ctor_set(x_137, 1, x_136); +x_138 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_139 = lean_array_push(x_138, x_111); +lean_inc(x_139); +x_140 = lean_array_push(x_139, x_135); +lean_inc(x_137); +x_141 = lean_array_push(x_140, x_137); +x_142 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +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 = lean_array_push(x_114, x_143); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_131); +lean_ctor_set(x_145, 1, x_144); +x_146 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_101); +x_147 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_147, 0, x_101); +lean_ctor_set(x_147, 1, x_146); +x_148 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_11); +lean_inc(x_6); +x_149 = l_Lean_addMacroScope(x_6, x_148, x_11); +x_150 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_151 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_101); +x_152 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_152, 0, x_101); +lean_ctor_set(x_152, 1, x_150); +lean_ctor_set(x_152, 2, x_149); +lean_ctor_set(x_152, 3, x_151); +x_153 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; +x_154 = l_Lean_addMacroScope(x_6, x_153, x_11); +x_155 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; +x_156 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; +x_157 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_157, 0, x_101); +lean_ctor_set(x_157, 1, x_155); +lean_ctor_set(x_157, 2, x_154); +lean_ctor_set(x_157, 3, x_156); +x_158 = lean_array_push(x_114, x_98); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_131); +lean_ctor_set(x_159, 1, x_158); +x_160 = lean_array_push(x_125, x_157); +x_161 = lean_array_push(x_160, x_159); +x_162 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_161); +x_164 = lean_array_push(x_125, x_163); +x_165 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_166 = lean_array_push(x_164, x_165); +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_131); +lean_ctor_set(x_167, 1, x_166); +x_168 = lean_array_push(x_139, x_167); +x_169 = lean_array_push(x_168, x_137); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_142); +lean_ctor_set(x_170, 1, x_169); +x_171 = lean_array_push(x_114, x_170); +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_131); +lean_ctor_set(x_172, 1, x_171); +x_173 = lean_array_push(x_125, x_152); +x_174 = lean_array_push(x_173, x_172); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_162); +lean_ctor_set(x_175, 1, x_174); +x_176 = lean_array_push(x_138, x_145); +x_177 = lean_array_push(x_176, x_147); +x_178 = lean_array_push(x_177, x_175); +x_179 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_178); +x_181 = lean_array_push(x_125, x_109); +x_182 = lean_array_push(x_181, x_180); +x_183 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_182); +x_185 = lean_array_push(x_125, x_1); +x_186 = lean_array_push(x_185, x_184); +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_131); +lean_ctor_set(x_187, 1, x_186); +x_188 = lean_array_push(x_125, x_107); +x_189 = lean_array_push(x_188, x_187); +x_190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_190, 0, x_162); +lean_ctor_set(x_190, 1, x_189); +x_191 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_102); +return x_191; +} +case 2: { -lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_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; -x_251 = lean_ctor_get(x_249, 0); -x_252 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 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_dec(x_2); +x_192 = lean_ctor_get(x_17, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_17, 1); +lean_inc(x_193); +lean_dec(x_17); +x_194 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_16, x_193); +lean_dec(x_16); +x_195 = lean_ctor_get(x_194, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_194, 1); +lean_inc(x_196); +lean_dec(x_194); +x_197 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; +lean_inc(x_11); +lean_inc(x_6); +x_198 = l_Lean_addMacroScope(x_6, x_197, x_11); +x_199 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; +x_200 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; +lean_inc(x_195); +x_201 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_201, 0, x_195); +lean_ctor_set(x_201, 1, x_199); +lean_ctor_set(x_201, 2, x_198); +lean_ctor_set(x_201, 3, x_200); +x_202 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; +lean_inc(x_195); +x_203 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_203, 0, x_195); +lean_ctor_set(x_203, 1, x_202); +x_204 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_195); +x_205 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_205, 0, x_195); +lean_ctor_set(x_205, 1, x_204); +x_206 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; +lean_inc(x_195); +x_207 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_207, 0, x_195); +lean_ctor_set(x_207, 1, x_206); +x_208 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_209 = lean_array_push(x_208, x_207); +x_210 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; +x_211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_209); +x_212 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; +lean_inc(x_195); +x_213 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_213, 0, x_195); +lean_ctor_set(x_213, 1, x_212); +x_214 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; +lean_inc(x_11); +lean_inc(x_6); +x_215 = l_Lean_addMacroScope(x_6, x_214, x_11); +x_216 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; +x_217 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__14; +lean_inc(x_195); +x_218 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_218, 0, x_195); +lean_ctor_set(x_218, 1, x_216); +lean_ctor_set(x_218, 2, x_215); +lean_ctor_set(x_218, 3, x_217); +x_219 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_220 = lean_array_push(x_219, x_213); +x_221 = lean_array_push(x_220, x_218); +x_222 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; +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 = lean_array_push(x_208, x_223); +x_225 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_219, x_211); +x_228 = lean_array_push(x_227, x_226); +x_229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_229, 0, x_225); +lean_ctor_set(x_229, 1, x_228); +x_230 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +lean_inc(x_195); +x_231 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_231, 0, x_195); +lean_ctor_set(x_231, 1, x_230); +x_232 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_233 = lean_array_push(x_232, x_205); +lean_inc(x_233); +x_234 = lean_array_push(x_233, x_229); +lean_inc(x_231); +x_235 = lean_array_push(x_234, x_231); +x_236 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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_array_push(x_208, x_237); +x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_239, 0, x_225); +lean_ctor_set(x_239, 1, x_238); +x_240 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_195); +x_241 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_241, 0, x_195); +lean_ctor_set(x_241, 1, x_240); +x_242 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_11); +lean_inc(x_6); +x_243 = l_Lean_addMacroScope(x_6, x_242, x_11); +x_244 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_245 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_195); +x_246 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_246, 0, x_195); +lean_ctor_set(x_246, 1, x_244); +lean_ctor_set(x_246, 2, x_243); +lean_ctor_set(x_246, 3, x_245); +x_247 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; +lean_inc(x_11); +lean_inc(x_6); +x_248 = l_Lean_addMacroScope(x_6, x_247, x_11); +x_249 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; +x_250 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; +lean_inc(x_195); +x_251 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_251, 0, x_195); +lean_ctor_set(x_251, 1, x_249); +lean_ctor_set(x_251, 2, x_248); +lean_ctor_set(x_251, 3, x_250); +x_252 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; lean_inc(x_11); lean_inc(x_6); x_253 = l_Lean_addMacroScope(x_6, x_252, x_11); -x_254 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_255 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_251); +x_254 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; +x_255 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; +lean_inc(x_195); x_256 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_256, 0, x_251); +lean_ctor_set(x_256, 0, x_195); lean_ctor_set(x_256, 1, x_254); lean_ctor_set(x_256, 2, x_253); lean_ctor_set(x_256, 3, x_255); -x_257 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_251); -x_258 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_258, 0, x_251); -lean_ctor_set(x_258, 1, x_257); -x_259 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_251); -x_260 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_260, 0, x_251); -lean_ctor_set(x_260, 1, x_259); -x_261 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_251); -x_262 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_262, 0, x_251); -lean_ctor_set(x_262, 1, x_261); -x_263 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_264 = lean_array_push(x_263, x_262); -x_265 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -x_266 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_266, 0, x_265); -lean_ctor_set(x_266, 1, x_264); -x_267 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_251); -x_268 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_268, 0, x_251); -lean_ctor_set(x_268, 1, x_267); -x_269 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; -lean_inc(x_11); -lean_inc(x_6); -x_270 = l_Lean_addMacroScope(x_6, x_269, x_11); -x_271 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; -x_272 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__14; -lean_inc(x_251); -x_273 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_273, 0, x_251); -lean_ctor_set(x_273, 1, x_271); -lean_ctor_set(x_273, 2, x_270); -lean_ctor_set(x_273, 3, x_272); -x_274 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_275 = lean_array_push(x_274, x_268); -x_276 = lean_array_push(x_275, x_273); -x_277 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_278 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_276); -x_279 = lean_array_push(x_263, x_278); -x_280 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_280); -lean_ctor_set(x_281, 1, x_279); -x_282 = lean_array_push(x_274, x_266); -x_283 = lean_array_push(x_282, x_281); -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_280); -lean_ctor_set(x_284, 1, x_283); -x_285 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -lean_inc(x_251); -x_286 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_286, 0, x_251); +x_257 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; +x_258 = l_Lean_addMacroScope(x_6, x_257, x_11); +x_259 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; +x_260 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; +x_261 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_261, 0, x_195); +lean_ctor_set(x_261, 1, x_259); +lean_ctor_set(x_261, 2, x_258); +lean_ctor_set(x_261, 3, x_260); +x_262 = lean_array_push(x_219, x_261); +x_263 = lean_array_push(x_262, x_192); +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_225); +lean_ctor_set(x_264, 1, x_263); +x_265 = lean_array_push(x_219, x_256); +x_266 = lean_array_push(x_265, x_264); +x_267 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_266); +x_269 = lean_array_push(x_219, x_268); +x_270 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_271 = lean_array_push(x_269, x_270); +x_272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_272, 0, x_225); +lean_ctor_set(x_272, 1, x_271); +lean_inc(x_233); +x_273 = lean_array_push(x_233, x_272); +lean_inc(x_231); +x_274 = lean_array_push(x_273, x_231); +x_275 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_275, 0, x_236); +lean_ctor_set(x_275, 1, x_274); +x_276 = lean_array_push(x_208, x_275); +x_277 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_277, 0, x_225); +lean_ctor_set(x_277, 1, x_276); +x_278 = lean_array_push(x_219, x_251); +x_279 = lean_array_push(x_278, x_277); +x_280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_280, 0, x_267); +lean_ctor_set(x_280, 1, x_279); +x_281 = lean_array_push(x_219, x_280); +x_282 = lean_array_push(x_281, x_270); +x_283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_283, 0, x_225); +lean_ctor_set(x_283, 1, x_282); +x_284 = lean_array_push(x_233, x_283); +x_285 = lean_array_push(x_284, x_231); +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_236); lean_ctor_set(x_286, 1, x_285); -x_287 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_288 = lean_array_push(x_287, x_260); -lean_inc(x_288); -x_289 = lean_array_push(x_288, x_284); -lean_inc(x_286); -x_290 = lean_array_push(x_289, x_286); -x_291 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_290); -x_293 = lean_array_push(x_263, x_292); -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_280); -lean_ctor_set(x_294, 1, x_293); -x_295 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_251); -x_296 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_296, 0, x_251); -lean_ctor_set(x_296, 1, x_295); -x_297 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +x_287 = lean_array_push(x_208, x_286); +x_288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_288, 0, x_225); +lean_ctor_set(x_288, 1, x_287); +x_289 = lean_array_push(x_219, x_246); +x_290 = lean_array_push(x_289, x_288); +x_291 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_291, 0, x_267); +lean_ctor_set(x_291, 1, x_290); +x_292 = lean_array_push(x_232, x_239); +x_293 = lean_array_push(x_292, x_241); +x_294 = lean_array_push(x_293, x_291); +x_295 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_295); +lean_ctor_set(x_296, 1, x_294); +x_297 = lean_array_push(x_219, x_203); +x_298 = lean_array_push(x_297, x_296); +x_299 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; +x_300 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_300, 0, x_299); +lean_ctor_set(x_300, 1, x_298); +x_301 = lean_array_push(x_219, x_1); +x_302 = lean_array_push(x_301, x_300); +x_303 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_303, 0, x_225); +lean_ctor_set(x_303, 1, x_302); +x_304 = lean_array_push(x_219, x_201); +x_305 = lean_array_push(x_304, x_303); +x_306 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_306, 0, x_267); +lean_ctor_set(x_306, 1, x_305); +x_307 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_307, 0, x_306); +lean_ctor_set(x_307, 1, x_196); +return x_307; +} +case 3: +{ +lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_1); +x_308 = lean_ctor_get(x_17, 1); +lean_inc(x_308); +lean_dec(x_17); +x_309 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__21; +x_310 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__16; +x_311 = lean_panic_fn(x_309, x_310); +x_312 = lean_apply_3(x_311, x_2, x_16, x_308); +return x_312; +} +case 4: +{ +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_dec(x_2); +x_313 = lean_ctor_get(x_17, 0); +lean_inc(x_313); +x_314 = lean_ctor_get(x_17, 1); +lean_inc(x_314); +lean_dec(x_17); +x_315 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_16, x_314); +lean_dec(x_16); +x_316 = lean_ctor_get(x_315, 0); +lean_inc(x_316); +x_317 = lean_ctor_get(x_315, 1); +lean_inc(x_317); +lean_dec(x_315); +x_318 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; lean_inc(x_11); lean_inc(x_6); -x_298 = l_Lean_addMacroScope(x_6, x_297, x_11); -x_299 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_300 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_251); -x_301 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_301, 0, x_251); -lean_ctor_set(x_301, 1, x_299); -lean_ctor_set(x_301, 2, x_298); -lean_ctor_set(x_301, 3, x_300); -x_302 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; -x_303 = l_Lean_addMacroScope(x_6, x_302, x_11); -x_304 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; -x_305 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; -x_306 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_306, 0, x_251); -lean_ctor_set(x_306, 1, x_304); -lean_ctor_set(x_306, 2, x_303); -lean_ctor_set(x_306, 3, x_305); -x_307 = lean_array_push(x_263, x_247); -x_308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_308, 0, x_280); -lean_ctor_set(x_308, 1, x_307); -x_309 = lean_array_push(x_274, x_306); -x_310 = lean_array_push(x_309, x_308); -x_311 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_312, 0, x_311); -lean_ctor_set(x_312, 1, x_310); -x_313 = lean_array_push(x_274, x_312); -x_314 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_315 = lean_array_push(x_313, x_314); -x_316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_316, 0, x_280); -lean_ctor_set(x_316, 1, x_315); -x_317 = lean_array_push(x_288, x_316); -x_318 = lean_array_push(x_317, x_286); -x_319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_319, 0, x_291); -lean_ctor_set(x_319, 1, x_318); -x_320 = lean_array_push(x_263, x_319); -x_321 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_321, 0, x_280); -lean_ctor_set(x_321, 1, x_320); -x_322 = lean_array_push(x_274, x_301); -x_323 = lean_array_push(x_322, x_321); -x_324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_324, 0, x_311); -lean_ctor_set(x_324, 1, x_323); -x_325 = lean_array_push(x_287, x_294); -x_326 = lean_array_push(x_325, x_296); -x_327 = lean_array_push(x_326, x_324); -x_328 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_329, 0, x_328); -lean_ctor_set(x_329, 1, x_327); -x_330 = lean_array_push(x_274, x_258); +x_319 = l_Lean_addMacroScope(x_6, x_318, x_11); +x_320 = lean_box(0); +x_321 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; +x_322 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; +lean_inc(x_316); +x_323 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_323, 0, x_316); +lean_ctor_set(x_323, 1, x_321); +lean_ctor_set(x_323, 2, x_319); +lean_ctor_set(x_323, 3, x_322); +x_324 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; +lean_inc(x_316); +x_325 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_325, 0, x_316); +lean_ctor_set(x_325, 1, x_324); +x_326 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; +lean_inc(x_11); +lean_inc(x_6); +x_327 = l_Lean_addMacroScope(x_6, x_326, x_11); +x_328 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; +lean_inc(x_316); +x_329 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_329, 0, x_316); +lean_ctor_set(x_329, 1, x_328); +lean_ctor_set(x_329, 2, x_327); +lean_ctor_set(x_329, 3, x_320); +x_330 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +lean_inc(x_329); x_331 = lean_array_push(x_330, x_329); -x_332 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; +x_332 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_array_push(x_274, x_1); -x_335 = lean_array_push(x_334, x_333); -x_336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_336, 0, x_280); -lean_ctor_set(x_336, 1, x_335); -x_337 = lean_array_push(x_274, x_256); -x_338 = lean_array_push(x_337, x_336); -x_339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_339, 0, x_311); -lean_ctor_set(x_339, 1, x_338); -lean_ctor_set(x_249, 0, x_339); -return x_249; +x_334 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_316); +x_335 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_335, 0, x_316); +lean_ctor_set(x_335, 1, x_334); +x_336 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_316); +x_337 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_337, 0, x_316); +lean_ctor_set(x_337, 1, x_336); +x_338 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_11); +lean_inc(x_6); +x_339 = l_Lean_addMacroScope(x_6, x_338, x_11); +x_340 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_341 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_316); +x_342 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_342, 0, x_316); +lean_ctor_set(x_342, 1, x_340); +lean_ctor_set(x_342, 2, x_339); +lean_ctor_set(x_342, 3, x_341); +x_343 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__20; +x_344 = l_Lean_addMacroScope(x_6, x_343, x_11); +x_345 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__19; +x_346 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__22; +lean_inc(x_316); +x_347 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_347, 0, x_316); +lean_ctor_set(x_347, 1, x_345); +lean_ctor_set(x_347, 2, x_344); +lean_ctor_set(x_347, 3, x_346); +x_348 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_349 = lean_array_push(x_348, x_329); +x_350 = lean_array_push(x_349, x_313); +x_351 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_351, 0, x_332); +lean_ctor_set(x_351, 1, x_350); +x_352 = lean_array_push(x_348, x_347); +x_353 = lean_array_push(x_352, x_351); +x_354 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_355 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_355, 0, x_354); +lean_ctor_set(x_355, 1, x_353); +x_356 = lean_array_push(x_348, x_355); +x_357 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_358 = lean_array_push(x_356, x_357); +x_359 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_359, 0, x_332); +lean_ctor_set(x_359, 1, x_358); +x_360 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_361 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_361, 0, x_316); +lean_ctor_set(x_361, 1, x_360); +x_362 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_363 = lean_array_push(x_362, x_337); +lean_inc(x_363); +x_364 = lean_array_push(x_363, x_359); +lean_inc(x_361); +x_365 = lean_array_push(x_364, x_361); +x_366 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_367 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_367, 0, x_366); +lean_ctor_set(x_367, 1, x_365); +x_368 = lean_array_push(x_330, x_367); +x_369 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_369, 0, x_332); +lean_ctor_set(x_369, 1, x_368); +x_370 = lean_array_push(x_348, x_342); +x_371 = lean_array_push(x_370, x_369); +x_372 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_372, 0, x_354); +lean_ctor_set(x_372, 1, x_371); +x_373 = lean_array_push(x_348, x_372); +x_374 = lean_array_push(x_373, x_357); +x_375 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_375, 0, x_332); +lean_ctor_set(x_375, 1, x_374); +x_376 = lean_array_push(x_363, x_375); +x_377 = lean_array_push(x_376, x_361); +x_378 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_378, 0, x_366); +lean_ctor_set(x_378, 1, x_377); +x_379 = lean_array_push(x_362, x_333); +x_380 = lean_array_push(x_379, x_335); +x_381 = lean_array_push(x_380, x_378); +x_382 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; +x_383 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_383, 0, x_382); +lean_ctor_set(x_383, 1, x_381); +x_384 = lean_array_push(x_348, x_325); +x_385 = lean_array_push(x_384, x_383); +x_386 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___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 = lean_array_push(x_348, x_1); +x_389 = lean_array_push(x_388, x_387); +x_390 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_390, 0, x_332); +lean_ctor_set(x_390, 1, x_389); +x_391 = lean_array_push(x_348, x_323); +x_392 = lean_array_push(x_391, x_390); +x_393 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_393, 0, x_354); +lean_ctor_set(x_393, 1, x_392); +x_394 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_394, 0, x_393); +lean_ctor_set(x_394, 1, x_317); +return x_394; } -else +case 5: { -lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; -x_340 = lean_ctor_get(x_249, 0); -x_341 = lean_ctor_get(x_249, 1); -lean_inc(x_341); -lean_inc(x_340); -lean_dec(x_249); -x_342 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_11); -lean_inc(x_6); -x_343 = l_Lean_addMacroScope(x_6, x_342, x_11); -x_344 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_345 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_340); -x_346 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_346, 0, x_340); -lean_ctor_set(x_346, 1, x_344); -lean_ctor_set(x_346, 2, x_343); -lean_ctor_set(x_346, 3, x_345); -x_347 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_340); -x_348 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_348, 0, x_340); -lean_ctor_set(x_348, 1, x_347); -x_349 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_340); -x_350 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_350, 0, x_340); -lean_ctor_set(x_350, 1, x_349); -x_351 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_340); -x_352 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_352, 0, x_340); -lean_ctor_set(x_352, 1, x_351); -x_353 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_354 = lean_array_push(x_353, x_352); -x_355 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -x_356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_356, 0, x_355); -lean_ctor_set(x_356, 1, x_354); -x_357 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_340); -x_358 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_358, 0, x_340); -lean_ctor_set(x_358, 1, x_357); -x_359 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; -lean_inc(x_11); -lean_inc(x_6); -x_360 = l_Lean_addMacroScope(x_6, x_359, x_11); -x_361 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; -x_362 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__14; -lean_inc(x_340); -x_363 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_363, 0, x_340); -lean_ctor_set(x_363, 1, x_361); -lean_ctor_set(x_363, 2, x_360); -lean_ctor_set(x_363, 3, x_362); -x_364 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_365 = lean_array_push(x_364, x_358); -x_366 = lean_array_push(x_365, x_363); -x_367 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_368, 0, x_367); -lean_ctor_set(x_368, 1, x_366); -x_369 = lean_array_push(x_353, x_368); -x_370 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_371 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_369); -x_372 = lean_array_push(x_364, x_356); -x_373 = lean_array_push(x_372, x_371); -x_374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_374, 0, x_370); -lean_ctor_set(x_374, 1, x_373); -x_375 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -lean_inc(x_340); -x_376 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_376, 0, x_340); -lean_ctor_set(x_376, 1, x_375); -x_377 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_378 = lean_array_push(x_377, x_350); -lean_inc(x_378); -x_379 = lean_array_push(x_378, x_374); -lean_inc(x_376); -x_380 = lean_array_push(x_379, x_376); -x_381 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_382 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_382, 0, x_381); -lean_ctor_set(x_382, 1, x_380); -x_383 = lean_array_push(x_353, x_382); -x_384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_384, 0, x_370); -lean_ctor_set(x_384, 1, x_383); -x_385 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_340); -x_386 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_386, 0, x_340); -lean_ctor_set(x_386, 1, x_385); -x_387 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_11); -lean_inc(x_6); -x_388 = l_Lean_addMacroScope(x_6, x_387, x_11); -x_389 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_390 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_340); -x_391 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_391, 0, x_340); -lean_ctor_set(x_391, 1, x_389); -lean_ctor_set(x_391, 2, x_388); -lean_ctor_set(x_391, 3, x_390); -x_392 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; -x_393 = l_Lean_addMacroScope(x_6, x_392, x_11); -x_394 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; -x_395 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; -x_396 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_396, 0, x_340); -lean_ctor_set(x_396, 1, x_394); -lean_ctor_set(x_396, 2, x_393); -lean_ctor_set(x_396, 3, x_395); -x_397 = lean_array_push(x_353, x_247); -x_398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_398, 0, x_370); -lean_ctor_set(x_398, 1, x_397); -x_399 = lean_array_push(x_364, x_396); -x_400 = lean_array_push(x_399, x_398); -x_401 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___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_400); -x_403 = lean_array_push(x_364, x_402); -x_404 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_405 = lean_array_push(x_403, x_404); -x_406 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_406, 0, x_370); -lean_ctor_set(x_406, 1, x_405); -x_407 = lean_array_push(x_378, x_406); -x_408 = lean_array_push(x_407, x_376); -x_409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_409, 0, x_381); -lean_ctor_set(x_409, 1, x_408); -x_410 = lean_array_push(x_353, x_409); -x_411 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_411, 0, x_370); -lean_ctor_set(x_411, 1, x_410); -x_412 = lean_array_push(x_364, x_391); -x_413 = lean_array_push(x_412, x_411); -x_414 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_414, 0, x_401); -lean_ctor_set(x_414, 1, x_413); -x_415 = lean_array_push(x_377, x_384); -x_416 = lean_array_push(x_415, x_386); -x_417 = lean_array_push(x_416, x_414); -x_418 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_419 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_419, 0, x_418); -lean_ctor_set(x_419, 1, x_417); -x_420 = lean_array_push(x_364, x_348); -x_421 = lean_array_push(x_420, x_419); -x_422 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_423 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_423, 0, x_422); -lean_ctor_set(x_423, 1, x_421); -x_424 = lean_array_push(x_364, x_1); -x_425 = lean_array_push(x_424, x_423); -x_426 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_426, 0, x_370); -lean_ctor_set(x_426, 1, x_425); -x_427 = lean_array_push(x_364, x_346); -x_428 = lean_array_push(x_427, x_426); -x_429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_429, 0, x_401); -lean_ctor_set(x_429, 1, x_428); -x_430 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_430, 0, x_429); -lean_ctor_set(x_430, 1, x_341); -return x_430; -} -} -case 2: -{ -lean_object* x_431; lean_object* x_432; lean_object* x_433; uint8_t x_434; +lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_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_dec(x_2); -x_431 = lean_ctor_get(x_14, 0); -lean_inc(x_431); -x_432 = lean_ctor_get(x_14, 1); -lean_inc(x_432); -lean_dec(x_14); -x_433 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_432); -lean_dec(x_3); -x_434 = !lean_is_exclusive(x_433); -if (x_434 == 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; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; -x_435 = lean_ctor_get(x_433, 0); -x_436 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; +x_395 = lean_ctor_get(x_17, 0); +lean_inc(x_395); +x_396 = lean_ctor_get(x_17, 1); +lean_inc(x_396); +lean_dec(x_17); +x_397 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_16, x_396); +lean_dec(x_16); +x_398 = lean_ctor_get(x_397, 0); +lean_inc(x_398); +x_399 = lean_ctor_get(x_397, 1); +lean_inc(x_399); +lean_dec(x_397); +x_400 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; lean_inc(x_11); lean_inc(x_6); -x_437 = l_Lean_addMacroScope(x_6, x_436, x_11); -x_438 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_439 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_435); -x_440 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_440, 0, x_435); -lean_ctor_set(x_440, 1, x_438); -lean_ctor_set(x_440, 2, x_437); -lean_ctor_set(x_440, 3, x_439); -x_441 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_435); -x_442 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_442, 0, x_435); -lean_ctor_set(x_442, 1, x_441); -x_443 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_435); -x_444 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_444, 0, x_435); -lean_ctor_set(x_444, 1, x_443); -x_445 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_435); -x_446 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_446, 0, x_435); -lean_ctor_set(x_446, 1, x_445); -x_447 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_448 = lean_array_push(x_447, x_446); -x_449 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -x_450 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_450, 0, x_449); -lean_ctor_set(x_450, 1, x_448); -x_451 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_435); -x_452 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_452, 0, x_435); -lean_ctor_set(x_452, 1, x_451); -x_453 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; +x_401 = l_Lean_addMacroScope(x_6, x_400, x_11); +x_402 = lean_box(0); +x_403 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; +x_404 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; +lean_inc(x_398); +x_405 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_405, 0, x_398); +lean_ctor_set(x_405, 1, x_403); +lean_ctor_set(x_405, 2, x_401); +lean_ctor_set(x_405, 3, x_404); +x_406 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; +lean_inc(x_398); +x_407 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_407, 0, x_398); +lean_ctor_set(x_407, 1, x_406); +x_408 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; lean_inc(x_11); lean_inc(x_6); -x_454 = l_Lean_addMacroScope(x_6, x_453, x_11); -x_455 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; -x_456 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__14; -lean_inc(x_435); -x_457 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_457, 0, x_435); -lean_ctor_set(x_457, 1, x_455); -lean_ctor_set(x_457, 2, x_454); -lean_ctor_set(x_457, 3, x_456); -x_458 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_459 = lean_array_push(x_458, x_452); -x_460 = lean_array_push(x_459, x_457); -x_461 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_462 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_462, 0, x_461); -lean_ctor_set(x_462, 1, x_460); -x_463 = lean_array_push(x_447, x_462); -x_464 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_409 = l_Lean_addMacroScope(x_6, x_408, x_11); +x_410 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; +lean_inc(x_398); +x_411 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_411, 0, x_398); +lean_ctor_set(x_411, 1, x_410); +lean_ctor_set(x_411, 2, x_409); +lean_ctor_set(x_411, 3, x_402); +x_412 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +lean_inc(x_411); +x_413 = lean_array_push(x_412, x_411); +x_414 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_415 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_415, 0, x_414); +lean_ctor_set(x_415, 1, x_413); +x_416 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_398); +x_417 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_417, 0, x_398); +lean_ctor_set(x_417, 1, x_416); +x_418 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_398); +x_419 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_419, 0, x_398); +lean_ctor_set(x_419, 1, x_418); +x_420 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_11); +lean_inc(x_6); +x_421 = l_Lean_addMacroScope(x_6, x_420, x_11); +x_422 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_423 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_398); +x_424 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_424, 0, x_398); +lean_ctor_set(x_424, 1, x_422); +lean_ctor_set(x_424, 2, x_421); +lean_ctor_set(x_424, 3, x_423); +x_425 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; +x_426 = l_Lean_addMacroScope(x_6, x_425, x_11); +x_427 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; +x_428 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; +lean_inc(x_398); +x_429 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_429, 0, x_398); +lean_ctor_set(x_429, 1, x_427); +lean_ctor_set(x_429, 2, x_426); +lean_ctor_set(x_429, 3, x_428); +x_430 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_431 = lean_array_push(x_430, x_411); +x_432 = lean_array_push(x_431, x_395); +x_433 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_433, 0, x_414); +lean_ctor_set(x_433, 1, x_432); +x_434 = lean_array_push(x_430, x_429); +x_435 = lean_array_push(x_434, x_433); +x_436 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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_430, x_437); +x_439 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_440 = lean_array_push(x_438, x_439); +x_441 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_441, 0, x_414); +lean_ctor_set(x_441, 1, x_440); +x_442 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_443 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_443, 0, x_398); +lean_ctor_set(x_443, 1, x_442); +x_444 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_445 = lean_array_push(x_444, x_419); +lean_inc(x_445); +x_446 = lean_array_push(x_445, x_441); +lean_inc(x_443); +x_447 = lean_array_push(x_446, x_443); +x_448 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_449, 0, x_448); +lean_ctor_set(x_449, 1, x_447); +x_450 = lean_array_push(x_412, x_449); +x_451 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_451, 0, x_414); +lean_ctor_set(x_451, 1, x_450); +x_452 = lean_array_push(x_430, x_424); +x_453 = lean_array_push(x_452, x_451); +x_454 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_454, 0, x_436); +lean_ctor_set(x_454, 1, x_453); +x_455 = lean_array_push(x_430, x_454); +x_456 = lean_array_push(x_455, x_439); +x_457 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_457, 0, x_414); +lean_ctor_set(x_457, 1, x_456); +x_458 = lean_array_push(x_445, x_457); +x_459 = lean_array_push(x_458, x_443); +x_460 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_460, 0, x_448); +lean_ctor_set(x_460, 1, x_459); +x_461 = lean_array_push(x_444, x_415); +x_462 = lean_array_push(x_461, x_417); +x_463 = lean_array_push(x_462, x_460); +x_464 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; x_465 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_465, 0, x_464); lean_ctor_set(x_465, 1, x_463); -x_466 = lean_array_push(x_458, x_450); +x_466 = lean_array_push(x_430, x_407); x_467 = lean_array_push(x_466, x_465); -x_468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_468, 0, x_464); -lean_ctor_set(x_468, 1, x_467); -x_469 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -lean_inc(x_435); -x_470 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_470, 0, x_435); -lean_ctor_set(x_470, 1, x_469); -x_471 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_472 = lean_array_push(x_471, x_444); -lean_inc(x_472); -x_473 = lean_array_push(x_472, x_468); -lean_inc(x_470); -x_474 = lean_array_push(x_473, x_470); -x_475 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_476 = lean_alloc_ctor(1, 2, 0); +x_468 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___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_array_push(x_430, x_1); +x_471 = lean_array_push(x_470, x_469); +x_472 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_472, 0, x_414); +lean_ctor_set(x_472, 1, x_471); +x_473 = lean_array_push(x_430, x_405); +x_474 = lean_array_push(x_473, x_472); +x_475 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_475, 0, x_436); +lean_ctor_set(x_475, 1, x_474); +x_476 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_476, 0, x_475); -lean_ctor_set(x_476, 1, x_474); -x_477 = lean_array_push(x_447, x_476); -x_478 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_478, 0, x_464); -lean_ctor_set(x_478, 1, x_477); -x_479 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_435); -x_480 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_480, 0, x_435); -lean_ctor_set(x_480, 1, x_479); -x_481 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_ctor_set(x_476, 1, x_399); +return x_476; +} +default: +{ +lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; +lean_dec(x_2); +x_477 = lean_ctor_get(x_17, 0); +lean_inc(x_477); +x_478 = lean_ctor_get(x_17, 1); +lean_inc(x_478); +lean_dec(x_17); +x_479 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_16, x_478); +lean_dec(x_16); +x_480 = lean_ctor_get(x_479, 0); +lean_inc(x_480); +x_481 = lean_ctor_get(x_479, 1); +lean_inc(x_481); +lean_dec(x_479); +x_482 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; lean_inc(x_11); lean_inc(x_6); -x_482 = l_Lean_addMacroScope(x_6, x_481, x_11); -x_483 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_484 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_435); -x_485 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_485, 0, x_435); -lean_ctor_set(x_485, 1, x_483); -lean_ctor_set(x_485, 2, x_482); -lean_ctor_set(x_485, 3, x_484); -x_486 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; +x_483 = l_Lean_addMacroScope(x_6, x_482, x_11); +x_484 = lean_box(0); +x_485 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; +x_486 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; +lean_inc(x_480); +x_487 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_487, 0, x_480); +lean_ctor_set(x_487, 1, x_485); +lean_ctor_set(x_487, 2, x_483); +lean_ctor_set(x_487, 3, x_486); +x_488 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; +lean_inc(x_480); +x_489 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_489, 0, x_480); +lean_ctor_set(x_489, 1, x_488); +x_490 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; lean_inc(x_11); lean_inc(x_6); -x_487 = l_Lean_addMacroScope(x_6, x_486, x_11); -x_488 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; -x_489 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; -lean_inc(x_435); -x_490 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_490, 0, x_435); -lean_ctor_set(x_490, 1, x_488); -lean_ctor_set(x_490, 2, x_487); -lean_ctor_set(x_490, 3, x_489); -x_491 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; +x_491 = l_Lean_addMacroScope(x_6, x_490, x_11); +x_492 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; +lean_inc(x_480); +x_493 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_493, 0, x_480); +lean_ctor_set(x_493, 1, x_492); +lean_ctor_set(x_493, 2, x_491); +lean_ctor_set(x_493, 3, x_484); +x_494 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +lean_inc(x_493); +x_495 = lean_array_push(x_494, x_493); +x_496 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_497 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_497, 0, x_496); +lean_ctor_set(x_497, 1, x_495); +x_498 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_480); +x_499 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_499, 0, x_480); +lean_ctor_set(x_499, 1, x_498); +x_500 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_480); +x_501 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_501, 0, x_480); +lean_ctor_set(x_501, 1, x_500); +x_502 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; lean_inc(x_11); lean_inc(x_6); -x_492 = l_Lean_addMacroScope(x_6, x_491, x_11); -x_493 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_494 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_435); -x_495 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_495, 0, x_435); -lean_ctor_set(x_495, 1, x_493); -lean_ctor_set(x_495, 2, x_492); -lean_ctor_set(x_495, 3, x_494); -x_496 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -x_497 = l_Lean_addMacroScope(x_6, x_496, x_11); -x_498 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_499 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -x_500 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_500, 0, x_435); -lean_ctor_set(x_500, 1, x_498); -lean_ctor_set(x_500, 2, x_497); -lean_ctor_set(x_500, 3, x_499); -x_501 = lean_array_push(x_458, x_500); -x_502 = lean_array_push(x_501, x_431); -x_503 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_503, 0, x_464); -lean_ctor_set(x_503, 1, x_502); -x_504 = lean_array_push(x_458, x_495); -x_505 = lean_array_push(x_504, x_503); -x_506 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_507 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_507, 0, x_506); -lean_ctor_set(x_507, 1, x_505); -x_508 = lean_array_push(x_458, x_507); -x_509 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_510 = lean_array_push(x_508, x_509); -x_511 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_511, 0, x_464); -lean_ctor_set(x_511, 1, x_510); -lean_inc(x_472); -x_512 = lean_array_push(x_472, x_511); -lean_inc(x_470); -x_513 = lean_array_push(x_512, x_470); -x_514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_514, 0, x_475); -lean_ctor_set(x_514, 1, x_513); -x_515 = lean_array_push(x_447, x_514); -x_516 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_516, 0, x_464); -lean_ctor_set(x_516, 1, x_515); -x_517 = lean_array_push(x_458, x_490); -x_518 = lean_array_push(x_517, x_516); +x_503 = l_Lean_addMacroScope(x_6, x_502, x_11); +x_504 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_505 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_480); +x_506 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_506, 0, x_480); +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 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__26; +x_508 = l_Lean_addMacroScope(x_6, x_507, x_11); +x_509 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__25; +x_510 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__28; +lean_inc(x_480); +x_511 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_511, 0, x_480); +lean_ctor_set(x_511, 1, x_509); +lean_ctor_set(x_511, 2, x_508); +lean_ctor_set(x_511, 3, x_510); +x_512 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_513 = lean_array_push(x_512, x_493); +x_514 = lean_array_push(x_513, x_477); +x_515 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_515, 0, x_496); +lean_ctor_set(x_515, 1, x_514); +x_516 = lean_array_push(x_512, x_511); +x_517 = lean_array_push(x_516, x_515); +x_518 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; x_519 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_519, 0, x_506); -lean_ctor_set(x_519, 1, x_518); -x_520 = lean_array_push(x_458, x_519); -x_521 = lean_array_push(x_520, x_509); -x_522 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_522, 0, x_464); -lean_ctor_set(x_522, 1, x_521); -x_523 = lean_array_push(x_472, x_522); -x_524 = lean_array_push(x_523, x_470); -x_525 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_525, 0, x_475); +lean_ctor_set(x_519, 0, x_518); +lean_ctor_set(x_519, 1, x_517); +x_520 = lean_array_push(x_512, x_519); +x_521 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_522 = lean_array_push(x_520, x_521); +x_523 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_523, 0, x_496); +lean_ctor_set(x_523, 1, x_522); +x_524 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_525 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_525, 0, x_480); lean_ctor_set(x_525, 1, x_524); -x_526 = lean_array_push(x_447, x_525); -x_527 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_527, 0, x_464); -lean_ctor_set(x_527, 1, x_526); -x_528 = lean_array_push(x_458, x_485); -x_529 = lean_array_push(x_528, x_527); -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_506); -lean_ctor_set(x_530, 1, x_529); -x_531 = lean_array_push(x_471, x_478); -x_532 = lean_array_push(x_531, x_480); -x_533 = lean_array_push(x_532, x_530); -x_534 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_535 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_535, 0, x_534); -lean_ctor_set(x_535, 1, x_533); -x_536 = lean_array_push(x_458, x_442); -x_537 = lean_array_push(x_536, x_535); -x_538 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; +x_526 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_527 = lean_array_push(x_526, x_501); +lean_inc(x_527); +x_528 = lean_array_push(x_527, x_523); +lean_inc(x_525); +x_529 = lean_array_push(x_528, x_525); +x_530 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_531 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_531, 0, x_530); +lean_ctor_set(x_531, 1, x_529); +x_532 = lean_array_push(x_494, x_531); +x_533 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_533, 0, x_496); +lean_ctor_set(x_533, 1, x_532); +x_534 = lean_array_push(x_512, x_506); +x_535 = lean_array_push(x_534, x_533); +x_536 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_536, 0, x_518); +lean_ctor_set(x_536, 1, x_535); +x_537 = lean_array_push(x_512, x_536); +x_538 = lean_array_push(x_537, x_521); x_539 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_539, 0, x_538); -lean_ctor_set(x_539, 1, x_537); -x_540 = lean_array_push(x_458, x_1); -x_541 = lean_array_push(x_540, x_539); +lean_ctor_set(x_539, 0, x_496); +lean_ctor_set(x_539, 1, x_538); +x_540 = lean_array_push(x_527, x_539); +x_541 = lean_array_push(x_540, x_525); x_542 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_542, 0, x_464); +lean_ctor_set(x_542, 0, x_530); lean_ctor_set(x_542, 1, x_541); -x_543 = lean_array_push(x_458, x_440); -x_544 = lean_array_push(x_543, x_542); -x_545 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_545, 0, x_506); -lean_ctor_set(x_545, 1, x_544); -lean_ctor_set(x_433, 0, x_545); -return x_433; -} -else -{ -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; 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; -x_546 = lean_ctor_get(x_433, 0); -x_547 = lean_ctor_get(x_433, 1); -lean_inc(x_547); -lean_inc(x_546); -lean_dec(x_433); -x_548 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_11); -lean_inc(x_6); -x_549 = l_Lean_addMacroScope(x_6, x_548, x_11); -x_550 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_551 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_546); -x_552 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_552, 0, x_546); -lean_ctor_set(x_552, 1, x_550); -lean_ctor_set(x_552, 2, x_549); -lean_ctor_set(x_552, 3, x_551); -x_553 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_546); -x_554 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_554, 0, x_546); +x_543 = lean_array_push(x_526, x_497); +x_544 = lean_array_push(x_543, x_499); +x_545 = lean_array_push(x_544, x_542); +x_546 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; +x_547 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_547, 0, x_546); +lean_ctor_set(x_547, 1, x_545); +x_548 = lean_array_push(x_512, x_489); +x_549 = lean_array_push(x_548, x_547); +x_550 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; +x_551 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_551, 0, x_550); +lean_ctor_set(x_551, 1, x_549); +x_552 = lean_array_push(x_512, x_1); +x_553 = lean_array_push(x_552, x_551); +x_554 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_554, 0, x_496); lean_ctor_set(x_554, 1, x_553); -x_555 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_546); -x_556 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_556, 0, x_546); -lean_ctor_set(x_556, 1, x_555); -x_557 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_546); -x_558 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_558, 0, x_546); -lean_ctor_set(x_558, 1, x_557); -x_559 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_560 = lean_array_push(x_559, x_558); -x_561 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -x_562 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_562, 0, x_561); -lean_ctor_set(x_562, 1, x_560); -x_563 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_546); -x_564 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_564, 0, x_546); -lean_ctor_set(x_564, 1, x_563); -x_565 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; -lean_inc(x_11); -lean_inc(x_6); -x_566 = l_Lean_addMacroScope(x_6, x_565, x_11); -x_567 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; -x_568 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__14; -lean_inc(x_546); -x_569 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_569, 0, x_546); -lean_ctor_set(x_569, 1, x_567); -lean_ctor_set(x_569, 2, x_566); -lean_ctor_set(x_569, 3, x_568); -x_570 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_571 = lean_array_push(x_570, x_564); -x_572 = lean_array_push(x_571, x_569); -x_573 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_574 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_574, 0, x_573); -lean_ctor_set(x_574, 1, x_572); -x_575 = lean_array_push(x_559, x_574); -x_576 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_577, 0, x_576); -lean_ctor_set(x_577, 1, x_575); -x_578 = lean_array_push(x_570, x_562); -x_579 = lean_array_push(x_578, x_577); -x_580 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_580, 0, x_576); -lean_ctor_set(x_580, 1, x_579); -x_581 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -lean_inc(x_546); -x_582 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_582, 0, x_546); -lean_ctor_set(x_582, 1, x_581); -x_583 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_584 = lean_array_push(x_583, x_556); -lean_inc(x_584); -x_585 = lean_array_push(x_584, x_580); -lean_inc(x_582); -x_586 = lean_array_push(x_585, x_582); -x_587 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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 = lean_array_push(x_559, x_588); -x_590 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_590, 0, x_576); -lean_ctor_set(x_590, 1, x_589); -x_591 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_546); -x_592 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_592, 0, x_546); -lean_ctor_set(x_592, 1, x_591); -x_593 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_11); -lean_inc(x_6); -x_594 = l_Lean_addMacroScope(x_6, x_593, x_11); -x_595 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_596 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_546); -x_597 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_597, 0, x_546); -lean_ctor_set(x_597, 1, x_595); -lean_ctor_set(x_597, 2, x_594); -lean_ctor_set(x_597, 3, x_596); -x_598 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; -lean_inc(x_11); -lean_inc(x_6); -x_599 = l_Lean_addMacroScope(x_6, x_598, x_11); -x_600 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; -x_601 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; -lean_inc(x_546); -x_602 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_602, 0, x_546); -lean_ctor_set(x_602, 1, x_600); -lean_ctor_set(x_602, 2, x_599); -lean_ctor_set(x_602, 3, x_601); -x_603 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -lean_inc(x_11); -lean_inc(x_6); -x_604 = l_Lean_addMacroScope(x_6, x_603, x_11); -x_605 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_606 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_546); -x_607 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_607, 0, x_546); -lean_ctor_set(x_607, 1, x_605); -lean_ctor_set(x_607, 2, x_604); -lean_ctor_set(x_607, 3, x_606); -x_608 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -x_609 = l_Lean_addMacroScope(x_6, x_608, x_11); -x_610 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_611 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -x_612 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_612, 0, x_546); -lean_ctor_set(x_612, 1, x_610); -lean_ctor_set(x_612, 2, x_609); -lean_ctor_set(x_612, 3, x_611); -x_613 = lean_array_push(x_570, x_612); -x_614 = lean_array_push(x_613, x_431); -x_615 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_615, 0, x_576); -lean_ctor_set(x_615, 1, x_614); -x_616 = lean_array_push(x_570, x_607); -x_617 = lean_array_push(x_616, x_615); -x_618 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_619 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_619, 0, x_618); -lean_ctor_set(x_619, 1, x_617); -x_620 = lean_array_push(x_570, x_619); -x_621 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_622 = lean_array_push(x_620, x_621); -x_623 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_623, 0, x_576); -lean_ctor_set(x_623, 1, x_622); -lean_inc(x_584); -x_624 = lean_array_push(x_584, x_623); -lean_inc(x_582); -x_625 = lean_array_push(x_624, x_582); -x_626 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_626, 0, x_587); -lean_ctor_set(x_626, 1, x_625); -x_627 = lean_array_push(x_559, x_626); -x_628 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_628, 0, x_576); -lean_ctor_set(x_628, 1, x_627); -x_629 = lean_array_push(x_570, x_602); -x_630 = lean_array_push(x_629, x_628); -x_631 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_631, 0, x_618); -lean_ctor_set(x_631, 1, x_630); -x_632 = lean_array_push(x_570, x_631); -x_633 = lean_array_push(x_632, x_621); -x_634 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_634, 0, x_576); -lean_ctor_set(x_634, 1, x_633); -x_635 = lean_array_push(x_584, x_634); -x_636 = lean_array_push(x_635, x_582); -x_637 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_637, 0, x_587); -lean_ctor_set(x_637, 1, x_636); -x_638 = lean_array_push(x_559, x_637); -x_639 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_639, 0, x_576); -lean_ctor_set(x_639, 1, x_638); -x_640 = lean_array_push(x_570, x_597); -x_641 = lean_array_push(x_640, x_639); -x_642 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_642, 0, x_618); -lean_ctor_set(x_642, 1, x_641); -x_643 = lean_array_push(x_583, x_590); -x_644 = lean_array_push(x_643, x_592); -x_645 = lean_array_push(x_644, x_642); -x_646 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_647 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_647, 0, x_646); -lean_ctor_set(x_647, 1, x_645); -x_648 = lean_array_push(x_570, x_554); -x_649 = lean_array_push(x_648, x_647); -x_650 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_651 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_651, 0, x_650); -lean_ctor_set(x_651, 1, x_649); -x_652 = lean_array_push(x_570, x_1); -x_653 = lean_array_push(x_652, x_651); -x_654 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_654, 0, x_576); -lean_ctor_set(x_654, 1, x_653); -x_655 = lean_array_push(x_570, x_552); -x_656 = lean_array_push(x_655, x_654); -x_657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_657, 0, x_618); -lean_ctor_set(x_657, 1, x_656); -x_658 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_658, 0, x_657); -lean_ctor_set(x_658, 1, x_547); -return x_658; -} -} -case 3: -{ -lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_1); -x_659 = lean_ctor_get(x_14, 1); -lean_inc(x_659); -lean_dec(x_14); -x_660 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__21; -x_661 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__16; -x_662 = lean_panic_fn(x_660, x_661); -x_663 = lean_apply_3(x_662, x_2, x_3, x_659); -return x_663; -} -case 4: -{ -lean_object* x_664; lean_object* x_665; lean_object* x_666; uint8_t x_667; -lean_dec(x_2); -x_664 = lean_ctor_get(x_14, 0); -lean_inc(x_664); -x_665 = lean_ctor_get(x_14, 1); -lean_inc(x_665); -lean_dec(x_14); -x_666 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_665); -lean_dec(x_3); -x_667 = !lean_is_exclusive(x_666); -if (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; 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; -x_668 = lean_ctor_get(x_666, 0); -x_669 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_11); -lean_inc(x_6); -x_670 = l_Lean_addMacroScope(x_6, x_669, x_11); -x_671 = lean_box(0); -x_672 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_673 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_668); -x_674 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_674, 0, x_668); -lean_ctor_set(x_674, 1, x_672); -lean_ctor_set(x_674, 2, x_670); -lean_ctor_set(x_674, 3, x_673); -x_675 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_668); -x_676 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_676, 0, x_668); -lean_ctor_set(x_676, 1, x_675); -x_677 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_11); -lean_inc(x_6); -x_678 = l_Lean_addMacroScope(x_6, x_677, x_11); -x_679 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_668); -x_680 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_680, 0, x_668); -lean_ctor_set(x_680, 1, x_679); -lean_ctor_set(x_680, 2, x_678); -lean_ctor_set(x_680, 3, x_671); -x_681 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_680); -x_682 = lean_array_push(x_681, x_680); -x_683 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_668); -x_686 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_686, 0, x_668); -lean_ctor_set(x_686, 1, x_685); -x_687 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_668); -x_688 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_688, 0, x_668); -lean_ctor_set(x_688, 1, x_687); -x_689 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_11); -lean_inc(x_6); -x_690 = l_Lean_addMacroScope(x_6, x_689, x_11); -x_691 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_692 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_668); -x_693 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_693, 0, x_668); -lean_ctor_set(x_693, 1, x_691); -lean_ctor_set(x_693, 2, x_690); -lean_ctor_set(x_693, 3, x_692); -x_694 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__20; -x_695 = l_Lean_addMacroScope(x_6, x_694, x_11); -x_696 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__19; -x_697 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__22; -lean_inc(x_668); -x_698 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_698, 0, x_668); -lean_ctor_set(x_698, 1, x_696); -lean_ctor_set(x_698, 2, x_695); -lean_ctor_set(x_698, 3, x_697); -x_699 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_700 = lean_array_push(x_699, x_680); -x_701 = lean_array_push(x_700, x_664); -x_702 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_702, 0, x_683); -lean_ctor_set(x_702, 1, x_701); -x_703 = lean_array_push(x_699, x_698); -x_704 = lean_array_push(x_703, x_702); -x_705 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_706 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_706, 0, x_705); -lean_ctor_set(x_706, 1, x_704); -x_707 = lean_array_push(x_699, x_706); -x_708 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_709 = lean_array_push(x_707, x_708); -x_710 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_710, 0, x_683); -lean_ctor_set(x_710, 1, x_709); -x_711 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_712 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_712, 0, x_668); -lean_ctor_set(x_712, 1, x_711); -x_713 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_714 = lean_array_push(x_713, x_688); -lean_inc(x_714); -x_715 = lean_array_push(x_714, x_710); -lean_inc(x_712); -x_716 = lean_array_push(x_715, x_712); -x_717 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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_array_push(x_681, x_718); -x_720 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_720, 0, x_683); -lean_ctor_set(x_720, 1, x_719); -x_721 = lean_array_push(x_699, x_693); -x_722 = lean_array_push(x_721, x_720); -x_723 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_723, 0, x_705); -lean_ctor_set(x_723, 1, x_722); -x_724 = lean_array_push(x_699, x_723); -x_725 = lean_array_push(x_724, x_708); -x_726 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_726, 0, x_683); -lean_ctor_set(x_726, 1, x_725); -x_727 = lean_array_push(x_714, x_726); -x_728 = lean_array_push(x_727, x_712); -x_729 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_729, 0, x_717); -lean_ctor_set(x_729, 1, x_728); -x_730 = lean_array_push(x_713, x_684); -x_731 = lean_array_push(x_730, x_686); -x_732 = lean_array_push(x_731, x_729); -x_733 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -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 = lean_array_push(x_699, x_676); -x_736 = lean_array_push(x_735, x_734); -x_737 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -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 = lean_array_push(x_699, x_1); -x_740 = lean_array_push(x_739, x_738); -x_741 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_741, 0, x_683); -lean_ctor_set(x_741, 1, x_740); -x_742 = lean_array_push(x_699, x_674); -x_743 = lean_array_push(x_742, x_741); -x_744 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_744, 0, x_705); -lean_ctor_set(x_744, 1, x_743); -lean_ctor_set(x_666, 0, x_744); -return x_666; -} -else -{ -lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; -x_745 = lean_ctor_get(x_666, 0); -x_746 = lean_ctor_get(x_666, 1); -lean_inc(x_746); -lean_inc(x_745); -lean_dec(x_666); -x_747 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_11); -lean_inc(x_6); -x_748 = l_Lean_addMacroScope(x_6, x_747, x_11); -x_749 = lean_box(0); -x_750 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_751 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_745); -x_752 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_752, 0, x_745); -lean_ctor_set(x_752, 1, x_750); -lean_ctor_set(x_752, 2, x_748); -lean_ctor_set(x_752, 3, x_751); -x_753 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_745); -x_754 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_754, 0, x_745); -lean_ctor_set(x_754, 1, x_753); -x_755 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_11); -lean_inc(x_6); -x_756 = l_Lean_addMacroScope(x_6, x_755, x_11); -x_757 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_745); -x_758 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_758, 0, x_745); -lean_ctor_set(x_758, 1, x_757); -lean_ctor_set(x_758, 2, x_756); -lean_ctor_set(x_758, 3, x_749); -x_759 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_758); -x_760 = lean_array_push(x_759, x_758); -x_761 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_745); -x_764 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_764, 0, x_745); -lean_ctor_set(x_764, 1, x_763); -x_765 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_745); -x_766 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_766, 0, x_745); -lean_ctor_set(x_766, 1, x_765); -x_767 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_11); -lean_inc(x_6); -x_768 = l_Lean_addMacroScope(x_6, x_767, x_11); -x_769 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_770 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_745); -x_771 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_771, 0, x_745); -lean_ctor_set(x_771, 1, x_769); -lean_ctor_set(x_771, 2, x_768); -lean_ctor_set(x_771, 3, x_770); -x_772 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__20; -x_773 = l_Lean_addMacroScope(x_6, x_772, x_11); -x_774 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__19; -x_775 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__22; -lean_inc(x_745); -x_776 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_776, 0, x_745); -lean_ctor_set(x_776, 1, x_774); -lean_ctor_set(x_776, 2, x_773); -lean_ctor_set(x_776, 3, x_775); -x_777 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_778 = lean_array_push(x_777, x_758); -x_779 = lean_array_push(x_778, x_664); -x_780 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_780, 0, x_761); -lean_ctor_set(x_780, 1, x_779); -x_781 = lean_array_push(x_777, x_776); -x_782 = lean_array_push(x_781, x_780); -x_783 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_784 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_784, 0, x_783); -lean_ctor_set(x_784, 1, x_782); -x_785 = lean_array_push(x_777, x_784); -x_786 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_787 = lean_array_push(x_785, x_786); -x_788 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_788, 0, x_761); -lean_ctor_set(x_788, 1, x_787); -x_789 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_790 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_790, 0, x_745); -lean_ctor_set(x_790, 1, x_789); -x_791 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_792 = lean_array_push(x_791, x_766); -lean_inc(x_792); -x_793 = lean_array_push(x_792, x_788); -lean_inc(x_790); -x_794 = lean_array_push(x_793, x_790); -x_795 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_796 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_796, 0, x_795); -lean_ctor_set(x_796, 1, x_794); -x_797 = lean_array_push(x_759, x_796); -x_798 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_798, 0, x_761); -lean_ctor_set(x_798, 1, x_797); -x_799 = lean_array_push(x_777, x_771); -x_800 = lean_array_push(x_799, x_798); -x_801 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_801, 0, x_783); -lean_ctor_set(x_801, 1, x_800); -x_802 = lean_array_push(x_777, x_801); -x_803 = lean_array_push(x_802, x_786); -x_804 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_804, 0, x_761); -lean_ctor_set(x_804, 1, x_803); -x_805 = lean_array_push(x_792, x_804); -x_806 = lean_array_push(x_805, x_790); -x_807 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_807, 0, x_795); -lean_ctor_set(x_807, 1, x_806); -x_808 = lean_array_push(x_791, x_762); -x_809 = lean_array_push(x_808, x_764); -x_810 = lean_array_push(x_809, x_807); -x_811 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_812 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_812, 0, x_811); -lean_ctor_set(x_812, 1, x_810); -x_813 = lean_array_push(x_777, x_754); -x_814 = lean_array_push(x_813, x_812); -x_815 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_816 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_816, 0, x_815); -lean_ctor_set(x_816, 1, x_814); -x_817 = lean_array_push(x_777, x_1); -x_818 = lean_array_push(x_817, x_816); -x_819 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_819, 0, x_761); -lean_ctor_set(x_819, 1, x_818); -x_820 = lean_array_push(x_777, x_752); -x_821 = lean_array_push(x_820, x_819); -x_822 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_822, 0, x_783); -lean_ctor_set(x_822, 1, x_821); -x_823 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_823, 0, x_822); -lean_ctor_set(x_823, 1, x_746); -return x_823; -} -} -case 5: -{ -lean_object* x_824; lean_object* x_825; lean_object* x_826; uint8_t x_827; -lean_dec(x_2); -x_824 = lean_ctor_get(x_14, 0); -lean_inc(x_824); -x_825 = lean_ctor_get(x_14, 1); -lean_inc(x_825); -lean_dec(x_14); -x_826 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_825); -lean_dec(x_3); -x_827 = !lean_is_exclusive(x_826); -if (x_827 == 0) -{ -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; -x_828 = lean_ctor_get(x_826, 0); -x_829 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_11); -lean_inc(x_6); -x_830 = l_Lean_addMacroScope(x_6, x_829, x_11); -x_831 = lean_box(0); -x_832 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_833 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_828); -x_834 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_834, 0, x_828); -lean_ctor_set(x_834, 1, x_832); -lean_ctor_set(x_834, 2, x_830); -lean_ctor_set(x_834, 3, x_833); -x_835 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_828); -x_836 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_836, 0, x_828); -lean_ctor_set(x_836, 1, x_835); -x_837 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_11); -lean_inc(x_6); -x_838 = l_Lean_addMacroScope(x_6, x_837, x_11); -x_839 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_828); -x_840 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_840, 0, x_828); -lean_ctor_set(x_840, 1, x_839); -lean_ctor_set(x_840, 2, x_838); -lean_ctor_set(x_840, 3, x_831); -x_841 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_840); -x_842 = lean_array_push(x_841, x_840); -x_843 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_844 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_844, 0, x_843); -lean_ctor_set(x_844, 1, x_842); -x_845 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_828); -x_846 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_846, 0, x_828); -lean_ctor_set(x_846, 1, x_845); -x_847 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_828); -x_848 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_848, 0, x_828); -lean_ctor_set(x_848, 1, x_847); -x_849 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_11); -lean_inc(x_6); -x_850 = l_Lean_addMacroScope(x_6, x_849, x_11); -x_851 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_852 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_828); -x_853 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_853, 0, x_828); -lean_ctor_set(x_853, 1, x_851); -lean_ctor_set(x_853, 2, x_850); -lean_ctor_set(x_853, 3, x_852); -x_854 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; -x_855 = l_Lean_addMacroScope(x_6, x_854, x_11); -x_856 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; -x_857 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; -lean_inc(x_828); -x_858 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_858, 0, x_828); -lean_ctor_set(x_858, 1, x_856); -lean_ctor_set(x_858, 2, x_855); -lean_ctor_set(x_858, 3, x_857); -x_859 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_860 = lean_array_push(x_859, x_840); -x_861 = lean_array_push(x_860, x_824); -x_862 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_862, 0, x_843); -lean_ctor_set(x_862, 1, x_861); -x_863 = lean_array_push(x_859, x_858); -x_864 = lean_array_push(x_863, x_862); -x_865 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_866 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_866, 0, x_865); -lean_ctor_set(x_866, 1, x_864); -x_867 = lean_array_push(x_859, x_866); -x_868 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_869 = lean_array_push(x_867, x_868); -x_870 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_870, 0, x_843); -lean_ctor_set(x_870, 1, x_869); -x_871 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_872 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_872, 0, x_828); -lean_ctor_set(x_872, 1, x_871); -x_873 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_874 = lean_array_push(x_873, x_848); -lean_inc(x_874); -x_875 = lean_array_push(x_874, x_870); -lean_inc(x_872); -x_876 = lean_array_push(x_875, x_872); -x_877 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_878 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_878, 0, x_877); -lean_ctor_set(x_878, 1, x_876); -x_879 = lean_array_push(x_841, x_878); -x_880 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_880, 0, x_843); -lean_ctor_set(x_880, 1, x_879); -x_881 = lean_array_push(x_859, x_853); -x_882 = lean_array_push(x_881, x_880); -x_883 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_883, 0, x_865); -lean_ctor_set(x_883, 1, x_882); -x_884 = lean_array_push(x_859, x_883); -x_885 = lean_array_push(x_884, x_868); -x_886 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_886, 0, x_843); -lean_ctor_set(x_886, 1, x_885); -x_887 = lean_array_push(x_874, x_886); -x_888 = lean_array_push(x_887, x_872); -x_889 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_889, 0, x_877); -lean_ctor_set(x_889, 1, x_888); -x_890 = lean_array_push(x_873, x_844); -x_891 = lean_array_push(x_890, x_846); -x_892 = lean_array_push(x_891, x_889); -x_893 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_894 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_894, 0, x_893); -lean_ctor_set(x_894, 1, x_892); -x_895 = lean_array_push(x_859, x_836); -x_896 = lean_array_push(x_895, x_894); -x_897 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_898 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_898, 0, x_897); -lean_ctor_set(x_898, 1, x_896); -x_899 = lean_array_push(x_859, x_1); -x_900 = lean_array_push(x_899, x_898); -x_901 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_901, 0, x_843); -lean_ctor_set(x_901, 1, x_900); -x_902 = lean_array_push(x_859, x_834); -x_903 = lean_array_push(x_902, x_901); -x_904 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_904, 0, x_865); -lean_ctor_set(x_904, 1, x_903); -lean_ctor_set(x_826, 0, x_904); -return x_826; -} -else -{ -lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; 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; 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; 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; -x_905 = lean_ctor_get(x_826, 0); -x_906 = lean_ctor_get(x_826, 1); -lean_inc(x_906); -lean_inc(x_905); -lean_dec(x_826); -x_907 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_11); -lean_inc(x_6); -x_908 = l_Lean_addMacroScope(x_6, x_907, x_11); -x_909 = lean_box(0); -x_910 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_911 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_905); -x_912 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_912, 0, x_905); -lean_ctor_set(x_912, 1, x_910); -lean_ctor_set(x_912, 2, x_908); -lean_ctor_set(x_912, 3, x_911); -x_913 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_905); -x_914 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_914, 0, x_905); -lean_ctor_set(x_914, 1, x_913); -x_915 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_11); -lean_inc(x_6); -x_916 = l_Lean_addMacroScope(x_6, x_915, x_11); -x_917 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_905); -x_918 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_918, 0, x_905); -lean_ctor_set(x_918, 1, x_917); -lean_ctor_set(x_918, 2, x_916); -lean_ctor_set(x_918, 3, x_909); -x_919 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_918); -x_920 = lean_array_push(x_919, x_918); -x_921 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_922 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_922, 0, x_921); -lean_ctor_set(x_922, 1, x_920); -x_923 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_905); -x_924 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_924, 0, x_905); -lean_ctor_set(x_924, 1, x_923); -x_925 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_905); -x_926 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_926, 0, x_905); -lean_ctor_set(x_926, 1, x_925); -x_927 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_11); -lean_inc(x_6); -x_928 = l_Lean_addMacroScope(x_6, x_927, x_11); -x_929 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_930 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_905); -x_931 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_931, 0, x_905); -lean_ctor_set(x_931, 1, x_929); -lean_ctor_set(x_931, 2, x_928); -lean_ctor_set(x_931, 3, x_930); -x_932 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; -x_933 = l_Lean_addMacroScope(x_6, x_932, x_11); -x_934 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; -x_935 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; -lean_inc(x_905); -x_936 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_936, 0, x_905); -lean_ctor_set(x_936, 1, x_934); -lean_ctor_set(x_936, 2, x_933); -lean_ctor_set(x_936, 3, x_935); -x_937 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_938 = lean_array_push(x_937, x_918); -x_939 = lean_array_push(x_938, x_824); -x_940 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_940, 0, x_921); -lean_ctor_set(x_940, 1, x_939); -x_941 = lean_array_push(x_937, x_936); -x_942 = lean_array_push(x_941, x_940); -x_943 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_944 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_944, 0, x_943); -lean_ctor_set(x_944, 1, x_942); -x_945 = lean_array_push(x_937, x_944); -x_946 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_947 = lean_array_push(x_945, x_946); -x_948 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_948, 0, x_921); -lean_ctor_set(x_948, 1, x_947); -x_949 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_950 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_950, 0, x_905); -lean_ctor_set(x_950, 1, x_949); -x_951 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_952 = lean_array_push(x_951, x_926); -lean_inc(x_952); -x_953 = lean_array_push(x_952, x_948); -lean_inc(x_950); -x_954 = lean_array_push(x_953, x_950); -x_955 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_956 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_956, 0, x_955); -lean_ctor_set(x_956, 1, x_954); -x_957 = lean_array_push(x_919, x_956); -x_958 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_958, 0, x_921); -lean_ctor_set(x_958, 1, x_957); -x_959 = lean_array_push(x_937, x_931); -x_960 = lean_array_push(x_959, x_958); -x_961 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_961, 0, x_943); -lean_ctor_set(x_961, 1, x_960); -x_962 = lean_array_push(x_937, x_961); -x_963 = lean_array_push(x_962, x_946); -x_964 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_964, 0, x_921); -lean_ctor_set(x_964, 1, x_963); -x_965 = lean_array_push(x_952, x_964); -x_966 = lean_array_push(x_965, x_950); -x_967 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_967, 0, x_955); -lean_ctor_set(x_967, 1, x_966); -x_968 = lean_array_push(x_951, x_922); -x_969 = lean_array_push(x_968, x_924); -x_970 = lean_array_push(x_969, x_967); -x_971 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_972 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_972, 0, x_971); -lean_ctor_set(x_972, 1, x_970); -x_973 = lean_array_push(x_937, x_914); -x_974 = lean_array_push(x_973, x_972); -x_975 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_976 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_976, 0, x_975); -lean_ctor_set(x_976, 1, x_974); -x_977 = lean_array_push(x_937, x_1); -x_978 = lean_array_push(x_977, x_976); -x_979 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_979, 0, x_921); -lean_ctor_set(x_979, 1, x_978); -x_980 = lean_array_push(x_937, x_912); -x_981 = lean_array_push(x_980, x_979); -x_982 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_982, 0, x_943); -lean_ctor_set(x_982, 1, x_981); -x_983 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_983, 0, x_982); -lean_ctor_set(x_983, 1, x_906); -return x_983; -} -} -default: -{ -lean_object* x_984; lean_object* x_985; lean_object* x_986; uint8_t x_987; -lean_dec(x_2); -x_984 = lean_ctor_get(x_14, 0); -lean_inc(x_984); -x_985 = lean_ctor_get(x_14, 1); -lean_inc(x_985); -lean_dec(x_14); -x_986 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_985); -lean_dec(x_3); -x_987 = !lean_is_exclusive(x_986); -if (x_987 == 0) -{ -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; -x_988 = lean_ctor_get(x_986, 0); -x_989 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_11); -lean_inc(x_6); -x_990 = l_Lean_addMacroScope(x_6, x_989, x_11); -x_991 = lean_box(0); -x_992 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_993 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_988); -x_994 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_994, 0, x_988); -lean_ctor_set(x_994, 1, x_992); -lean_ctor_set(x_994, 2, x_990); -lean_ctor_set(x_994, 3, x_993); -x_995 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_988); -x_996 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_996, 0, x_988); -lean_ctor_set(x_996, 1, x_995); -x_997 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_11); -lean_inc(x_6); -x_998 = l_Lean_addMacroScope(x_6, x_997, x_11); -x_999 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_988); -x_1000 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1000, 0, x_988); -lean_ctor_set(x_1000, 1, x_999); -lean_ctor_set(x_1000, 2, x_998); -lean_ctor_set(x_1000, 3, x_991); -x_1001 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_1000); -x_1002 = lean_array_push(x_1001, x_1000); -x_1003 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1004 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1004, 0, x_1003); -lean_ctor_set(x_1004, 1, x_1002); -x_1005 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_988); -x_1006 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1006, 0, x_988); -lean_ctor_set(x_1006, 1, x_1005); -x_1007 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_988); -x_1008 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1008, 0, x_988); -lean_ctor_set(x_1008, 1, x_1007); -x_1009 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_11); -lean_inc(x_6); -x_1010 = l_Lean_addMacroScope(x_6, x_1009, x_11); -x_1011 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1012 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_988); -x_1013 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1013, 0, x_988); -lean_ctor_set(x_1013, 1, x_1011); -lean_ctor_set(x_1013, 2, x_1010); -lean_ctor_set(x_1013, 3, x_1012); -x_1014 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__26; -x_1015 = l_Lean_addMacroScope(x_6, x_1014, x_11); -x_1016 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__25; -x_1017 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__28; -lean_inc(x_988); -x_1018 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1018, 0, x_988); -lean_ctor_set(x_1018, 1, x_1016); -lean_ctor_set(x_1018, 2, x_1015); -lean_ctor_set(x_1018, 3, x_1017); -x_1019 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1020 = lean_array_push(x_1019, x_1000); -x_1021 = lean_array_push(x_1020, x_984); -x_1022 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1022, 0, x_1003); -lean_ctor_set(x_1022, 1, x_1021); -x_1023 = lean_array_push(x_1019, x_1018); -x_1024 = lean_array_push(x_1023, x_1022); -x_1025 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1026 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1026, 0, x_1025); -lean_ctor_set(x_1026, 1, x_1024); -x_1027 = lean_array_push(x_1019, x_1026); -x_1028 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1029 = lean_array_push(x_1027, x_1028); -x_1030 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1030, 0, x_1003); -lean_ctor_set(x_1030, 1, x_1029); -x_1031 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_1032 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1032, 0, x_988); -lean_ctor_set(x_1032, 1, x_1031); -x_1033 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1034 = lean_array_push(x_1033, x_1008); -lean_inc(x_1034); -x_1035 = lean_array_push(x_1034, x_1030); -lean_inc(x_1032); -x_1036 = lean_array_push(x_1035, x_1032); -x_1037 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1038 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1038, 0, x_1037); -lean_ctor_set(x_1038, 1, x_1036); -x_1039 = lean_array_push(x_1001, x_1038); -x_1040 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1040, 0, x_1003); -lean_ctor_set(x_1040, 1, x_1039); -x_1041 = lean_array_push(x_1019, x_1013); -x_1042 = lean_array_push(x_1041, x_1040); -x_1043 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1043, 0, x_1025); -lean_ctor_set(x_1043, 1, x_1042); -x_1044 = lean_array_push(x_1019, x_1043); -x_1045 = lean_array_push(x_1044, x_1028); -x_1046 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1046, 0, x_1003); -lean_ctor_set(x_1046, 1, x_1045); -x_1047 = lean_array_push(x_1034, x_1046); -x_1048 = lean_array_push(x_1047, x_1032); -x_1049 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1049, 0, x_1037); -lean_ctor_set(x_1049, 1, x_1048); -x_1050 = lean_array_push(x_1033, x_1004); -x_1051 = lean_array_push(x_1050, x_1006); -x_1052 = lean_array_push(x_1051, x_1049); -x_1053 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -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_1019, x_996); -x_1056 = lean_array_push(x_1055, x_1054); -x_1057 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_1058 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1058, 0, x_1057); -lean_ctor_set(x_1058, 1, x_1056); -x_1059 = lean_array_push(x_1019, x_1); -x_1060 = lean_array_push(x_1059, x_1058); -x_1061 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1061, 0, x_1003); -lean_ctor_set(x_1061, 1, x_1060); -x_1062 = lean_array_push(x_1019, x_994); -x_1063 = lean_array_push(x_1062, x_1061); -x_1064 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1064, 0, x_1025); -lean_ctor_set(x_1064, 1, x_1063); -lean_ctor_set(x_986, 0, x_1064); -return x_986; -} -else -{ -lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; 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_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; -x_1065 = lean_ctor_get(x_986, 0); -x_1066 = lean_ctor_get(x_986, 1); -lean_inc(x_1066); -lean_inc(x_1065); -lean_dec(x_986); -x_1067 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_11); -lean_inc(x_6); -x_1068 = l_Lean_addMacroScope(x_6, x_1067, x_11); -x_1069 = lean_box(0); -x_1070 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_1071 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_1065); -x_1072 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1072, 0, x_1065); -lean_ctor_set(x_1072, 1, x_1070); -lean_ctor_set(x_1072, 2, x_1068); -lean_ctor_set(x_1072, 3, x_1071); -x_1073 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_1065); -x_1074 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1074, 0, x_1065); -lean_ctor_set(x_1074, 1, x_1073); -x_1075 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_11); -lean_inc(x_6); -x_1076 = l_Lean_addMacroScope(x_6, x_1075, x_11); -x_1077 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_1065); -x_1078 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1078, 0, x_1065); -lean_ctor_set(x_1078, 1, x_1077); -lean_ctor_set(x_1078, 2, x_1076); -lean_ctor_set(x_1078, 3, x_1069); -x_1079 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_1078); -x_1080 = lean_array_push(x_1079, x_1078); -x_1081 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1082 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1082, 0, x_1081); -lean_ctor_set(x_1082, 1, x_1080); -x_1083 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1065); -x_1084 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1084, 0, x_1065); -lean_ctor_set(x_1084, 1, x_1083); -x_1085 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1065); -x_1086 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1086, 0, x_1065); -lean_ctor_set(x_1086, 1, x_1085); -x_1087 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_11); -lean_inc(x_6); -x_1088 = l_Lean_addMacroScope(x_6, x_1087, x_11); -x_1089 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1090 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1065); -x_1091 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1091, 0, x_1065); -lean_ctor_set(x_1091, 1, x_1089); -lean_ctor_set(x_1091, 2, x_1088); -lean_ctor_set(x_1091, 3, x_1090); -x_1092 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__26; -x_1093 = l_Lean_addMacroScope(x_6, x_1092, x_11); -x_1094 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__25; -x_1095 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__28; -lean_inc(x_1065); -x_1096 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1096, 0, x_1065); -lean_ctor_set(x_1096, 1, x_1094); -lean_ctor_set(x_1096, 2, x_1093); -lean_ctor_set(x_1096, 3, x_1095); -x_1097 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1098 = lean_array_push(x_1097, x_1078); -x_1099 = lean_array_push(x_1098, x_984); -x_1100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1100, 0, x_1081); -lean_ctor_set(x_1100, 1, x_1099); -x_1101 = lean_array_push(x_1097, x_1096); -x_1102 = lean_array_push(x_1101, x_1100); -x_1103 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1104, 0, x_1103); -lean_ctor_set(x_1104, 1, x_1102); -x_1105 = lean_array_push(x_1097, x_1104); -x_1106 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1107 = lean_array_push(x_1105, x_1106); -x_1108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1108, 0, x_1081); -lean_ctor_set(x_1108, 1, x_1107); -x_1109 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_1110 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1110, 0, x_1065); -lean_ctor_set(x_1110, 1, x_1109); -x_1111 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1112 = lean_array_push(x_1111, x_1086); -lean_inc(x_1112); -x_1113 = lean_array_push(x_1112, x_1108); -lean_inc(x_1110); -x_1114 = lean_array_push(x_1113, x_1110); -x_1115 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1116, 0, x_1115); -lean_ctor_set(x_1116, 1, x_1114); -x_1117 = lean_array_push(x_1079, x_1116); -x_1118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1118, 0, x_1081); -lean_ctor_set(x_1118, 1, x_1117); -x_1119 = lean_array_push(x_1097, x_1091); -x_1120 = lean_array_push(x_1119, x_1118); -x_1121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1121, 0, x_1103); -lean_ctor_set(x_1121, 1, x_1120); -x_1122 = lean_array_push(x_1097, x_1121); -x_1123 = lean_array_push(x_1122, x_1106); -x_1124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1124, 0, x_1081); -lean_ctor_set(x_1124, 1, x_1123); -x_1125 = lean_array_push(x_1112, x_1124); -x_1126 = lean_array_push(x_1125, x_1110); -x_1127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1127, 0, x_1115); -lean_ctor_set(x_1127, 1, x_1126); -x_1128 = lean_array_push(x_1111, x_1082); -x_1129 = lean_array_push(x_1128, x_1084); -x_1130 = lean_array_push(x_1129, x_1127); -x_1131 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_1132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1132, 0, x_1131); -lean_ctor_set(x_1132, 1, x_1130); -x_1133 = lean_array_push(x_1097, x_1074); -x_1134 = lean_array_push(x_1133, x_1132); -x_1135 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_1136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1136, 0, x_1135); -lean_ctor_set(x_1136, 1, x_1134); -x_1137 = lean_array_push(x_1097, x_1); -x_1138 = lean_array_push(x_1137, x_1136); -x_1139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1139, 0, x_1081); -lean_ctor_set(x_1139, 1, x_1138); -x_1140 = lean_array_push(x_1097, x_1072); -x_1141 = lean_array_push(x_1140, x_1139); -x_1142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1142, 0, x_1103); -lean_ctor_set(x_1142, 1, x_1141); -x_1143 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1143, 0, x_1142); -lean_ctor_set(x_1143, 1, x_1066); -return x_1143; -} +x_555 = lean_array_push(x_512, x_487); +x_556 = lean_array_push(x_555, x_554); +x_557 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_557, 0, x_518); +lean_ctor_set(x_557, 1, x_556); +x_558 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_558, 0, x_557); +lean_ctor_set(x_558, 1, x_481); +return x_558; } } } else { -uint8_t x_1144; -lean_dec(x_3); +lean_object* x_559; lean_object* x_560; lean_object* x_561; +lean_dec(x_16); lean_dec(x_11); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_1144 = !lean_is_exclusive(x_14); -if (x_1144 == 0) -{ -return x_14; -} -else -{ -lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; -x_1145 = lean_ctor_get(x_14, 0); -x_1146 = lean_ctor_get(x_14, 1); -lean_inc(x_1146); -lean_inc(x_1145); -lean_dec(x_14); -x_1147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1147, 0, x_1145); -lean_ctor_set(x_1147, 1, x_1146); -return x_1147; -} -} -} -else -{ -lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; -x_1148 = lean_ctor_get(x_4, 0); -x_1149 = lean_ctor_get(x_4, 1); -lean_inc(x_1149); -lean_inc(x_1148); -lean_dec(x_4); -x_1150 = lean_unsigned_to_nat(1u); -x_1151 = lean_nat_add(x_1148, x_1150); -x_1152 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1152, 0, x_1151); -lean_ctor_set(x_1152, 1, x_1149); -lean_inc(x_1148); -lean_inc(x_6); -lean_ctor_set(x_3, 5, x_9); -lean_ctor_set(x_3, 2, x_1148); -lean_inc(x_3); -lean_inc(x_2); -x_1153 = l_Lean_Elab_Term_Do_ToTerm_mkUVarTuple(x_2, x_3, x_1152); -if (lean_obj_tag(x_1153) == 0) -{ -uint8_t x_1154; -x_1154 = lean_ctor_get_uint8(x_2, sizeof(void*)*2); -switch (x_1154) { -case 0: -{ -lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; uint8_t x_1159; -x_1155 = lean_ctor_get(x_1153, 0); -lean_inc(x_1155); -x_1156 = lean_ctor_get(x_1153, 1); -lean_inc(x_1156); -if (lean_is_exclusive(x_1153)) { - lean_ctor_release(x_1153, 0); - lean_ctor_release(x_1153, 1); - x_1157 = x_1153; -} else { - lean_dec_ref(x_1153); - x_1157 = lean_box(0); -} -x_1158 = lean_ctor_get(x_2, 1); -lean_inc(x_1158); -lean_dec(x_2); -x_1159 = l_Array_isEmpty___rarg(x_1158); -lean_dec(x_1158); -if (x_1159 == 0) -{ -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_dec(x_1157); -x_1160 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_1156); -lean_dec(x_3); -x_1161 = lean_ctor_get(x_1160, 0); -lean_inc(x_1161); -x_1162 = lean_ctor_get(x_1160, 1); -lean_inc(x_1162); -if (lean_is_exclusive(x_1160)) { - lean_ctor_release(x_1160, 0); - lean_ctor_release(x_1160, 1); - x_1163 = x_1160; -} else { - lean_dec_ref(x_1160); - x_1163 = lean_box(0); -} -x_1164 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_1148); -lean_inc(x_6); -x_1165 = l_Lean_addMacroScope(x_6, x_1164, x_1148); -x_1166 = lean_box(0); -x_1167 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_1168 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_1161); -x_1169 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1169, 0, x_1161); -lean_ctor_set(x_1169, 1, x_1167); -lean_ctor_set(x_1169, 2, x_1165); -lean_ctor_set(x_1169, 3, x_1168); -x_1170 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_1161); -x_1171 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1171, 0, x_1161); -lean_ctor_set(x_1171, 1, x_1170); -x_1172 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_1148); -lean_inc(x_6); -x_1173 = l_Lean_addMacroScope(x_6, x_1172, x_1148); -x_1174 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_1161); -x_1175 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1175, 0, x_1161); -lean_ctor_set(x_1175, 1, x_1174); -lean_ctor_set(x_1175, 2, x_1173); -lean_ctor_set(x_1175, 3, x_1166); -x_1176 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_1175); -x_1177 = lean_array_push(x_1176, x_1175); -x_1178 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1179, 0, x_1178); -lean_ctor_set(x_1179, 1, x_1177); -x_1180 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1161); -x_1181 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1181, 0, x_1161); -lean_ctor_set(x_1181, 1, x_1180); -x_1182 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1148); -lean_inc(x_6); -x_1183 = l_Lean_addMacroScope(x_6, x_1182, x_1148); -x_1184 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1185 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1161); -x_1186 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1186, 0, x_1161); -lean_ctor_set(x_1186, 1, x_1184); -lean_ctor_set(x_1186, 2, x_1183); -lean_ctor_set(x_1186, 3, x_1185); -x_1187 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1161); -x_1188 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1188, 0, x_1161); -lean_ctor_set(x_1188, 1, x_1187); -x_1189 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -x_1190 = l_Lean_addMacroScope(x_6, x_1189, x_1148); -x_1191 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_1192 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_1161); -x_1193 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1193, 0, x_1161); -lean_ctor_set(x_1193, 1, x_1191); -lean_ctor_set(x_1193, 2, x_1190); -lean_ctor_set(x_1193, 3, x_1192); -x_1194 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1195 = lean_array_push(x_1194, x_1175); -x_1196 = lean_array_push(x_1195, x_1155); -x_1197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1197, 0, x_1178); -lean_ctor_set(x_1197, 1, x_1196); -x_1198 = lean_array_push(x_1194, x_1193); -x_1199 = lean_array_push(x_1198, x_1197); -x_1200 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1201, 0, x_1200); -lean_ctor_set(x_1201, 1, x_1199); -x_1202 = lean_array_push(x_1194, x_1201); -x_1203 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1204 = lean_array_push(x_1202, x_1203); -x_1205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1205, 0, x_1178); -lean_ctor_set(x_1205, 1, x_1204); -x_1206 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_1207 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1207, 0, x_1161); -lean_ctor_set(x_1207, 1, x_1206); -x_1208 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1209 = lean_array_push(x_1208, x_1188); -x_1210 = lean_array_push(x_1209, x_1205); -x_1211 = lean_array_push(x_1210, x_1207); -x_1212 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1213, 0, x_1212); -lean_ctor_set(x_1213, 1, x_1211); -x_1214 = lean_array_push(x_1176, x_1213); -x_1215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1215, 0, x_1178); -lean_ctor_set(x_1215, 1, x_1214); -x_1216 = lean_array_push(x_1194, x_1186); -x_1217 = lean_array_push(x_1216, x_1215); -x_1218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1218, 0, x_1200); -lean_ctor_set(x_1218, 1, x_1217); -x_1219 = lean_array_push(x_1208, x_1179); -x_1220 = lean_array_push(x_1219, x_1181); -x_1221 = lean_array_push(x_1220, x_1218); -x_1222 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_1223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1223, 0, x_1222); -lean_ctor_set(x_1223, 1, x_1221); -x_1224 = lean_array_push(x_1194, x_1171); -x_1225 = lean_array_push(x_1224, x_1223); -x_1226 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_1227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1227, 0, x_1226); -lean_ctor_set(x_1227, 1, x_1225); -x_1228 = lean_array_push(x_1194, x_1); -x_1229 = lean_array_push(x_1228, x_1227); -x_1230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1230, 0, x_1178); -lean_ctor_set(x_1230, 1, x_1229); -x_1231 = lean_array_push(x_1194, x_1169); -x_1232 = lean_array_push(x_1231, x_1230); -x_1233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1233, 0, x_1200); -lean_ctor_set(x_1233, 1, x_1232); -if (lean_is_scalar(x_1163)) { - x_1234 = lean_alloc_ctor(0, 2, 0); -} else { - x_1234 = x_1163; -} -lean_ctor_set(x_1234, 0, x_1233); -lean_ctor_set(x_1234, 1, x_1162); -return x_1234; -} -else -{ -lean_object* x_1235; -lean_dec(x_1155); -lean_dec(x_3); -lean_dec(x_1148); -lean_dec(x_6); -if (lean_is_scalar(x_1157)) { - x_1235 = lean_alloc_ctor(0, 2, 0); -} else { - x_1235 = x_1157; -} -lean_ctor_set(x_1235, 0, x_1); -lean_ctor_set(x_1235, 1, x_1156); -return x_1235; -} -} -case 1: -{ -lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; 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; 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; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; -lean_dec(x_2); -x_1236 = lean_ctor_get(x_1153, 0); -lean_inc(x_1236); -x_1237 = lean_ctor_get(x_1153, 1); -lean_inc(x_1237); -lean_dec(x_1153); -x_1238 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_1237); -lean_dec(x_3); -x_1239 = lean_ctor_get(x_1238, 0); -lean_inc(x_1239); -x_1240 = lean_ctor_get(x_1238, 1); -lean_inc(x_1240); -if (lean_is_exclusive(x_1238)) { - lean_ctor_release(x_1238, 0); - lean_ctor_release(x_1238, 1); - x_1241 = x_1238; -} else { - lean_dec_ref(x_1238); - x_1241 = lean_box(0); -} -x_1242 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_1148); -lean_inc(x_6); -x_1243 = l_Lean_addMacroScope(x_6, x_1242, x_1148); -x_1244 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_1245 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_1239); -x_1246 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1246, 0, x_1239); -lean_ctor_set(x_1246, 1, x_1244); -lean_ctor_set(x_1246, 2, x_1243); -lean_ctor_set(x_1246, 3, x_1245); -x_1247 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_1239); -x_1248 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1248, 0, x_1239); -lean_ctor_set(x_1248, 1, x_1247); -x_1249 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1239); -x_1250 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1250, 0, x_1239); -lean_ctor_set(x_1250, 1, x_1249); -x_1251 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_1239); -x_1252 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1252, 0, x_1239); -lean_ctor_set(x_1252, 1, x_1251); -x_1253 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1254 = lean_array_push(x_1253, x_1252); -x_1255 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -x_1256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1256, 0, x_1255); -lean_ctor_set(x_1256, 1, x_1254); -x_1257 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_1239); -x_1258 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1258, 0, x_1239); -lean_ctor_set(x_1258, 1, x_1257); -x_1259 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; -lean_inc(x_1148); -lean_inc(x_6); -x_1260 = l_Lean_addMacroScope(x_6, x_1259, x_1148); -x_1261 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; -x_1262 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__14; -lean_inc(x_1239); -x_1263 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1263, 0, x_1239); -lean_ctor_set(x_1263, 1, x_1261); -lean_ctor_set(x_1263, 2, x_1260); -lean_ctor_set(x_1263, 3, x_1262); -x_1264 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1265 = lean_array_push(x_1264, x_1258); -x_1266 = lean_array_push(x_1265, x_1263); -x_1267 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_1268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1268, 0, x_1267); -lean_ctor_set(x_1268, 1, x_1266); -x_1269 = lean_array_push(x_1253, x_1268); -x_1270 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1271, 0, x_1270); -lean_ctor_set(x_1271, 1, x_1269); -x_1272 = lean_array_push(x_1264, x_1256); -x_1273 = lean_array_push(x_1272, x_1271); -x_1274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1274, 0, x_1270); -lean_ctor_set(x_1274, 1, x_1273); -x_1275 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -lean_inc(x_1239); -x_1276 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1276, 0, x_1239); -lean_ctor_set(x_1276, 1, x_1275); -x_1277 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1278 = lean_array_push(x_1277, x_1250); -lean_inc(x_1278); -x_1279 = lean_array_push(x_1278, x_1274); -lean_inc(x_1276); -x_1280 = lean_array_push(x_1279, x_1276); -x_1281 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1282, 0, x_1281); -lean_ctor_set(x_1282, 1, x_1280); -x_1283 = lean_array_push(x_1253, x_1282); -x_1284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1284, 0, x_1270); -lean_ctor_set(x_1284, 1, x_1283); -x_1285 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1239); -x_1286 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1286, 0, x_1239); -lean_ctor_set(x_1286, 1, x_1285); -x_1287 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1148); -lean_inc(x_6); -x_1288 = l_Lean_addMacroScope(x_6, x_1287, x_1148); -x_1289 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1290 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1239); -x_1291 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1291, 0, x_1239); -lean_ctor_set(x_1291, 1, x_1289); -lean_ctor_set(x_1291, 2, x_1288); -lean_ctor_set(x_1291, 3, x_1290); -x_1292 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; -x_1293 = l_Lean_addMacroScope(x_6, x_1292, x_1148); -x_1294 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; -x_1295 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; -x_1296 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1296, 0, x_1239); -lean_ctor_set(x_1296, 1, x_1294); -lean_ctor_set(x_1296, 2, x_1293); -lean_ctor_set(x_1296, 3, x_1295); -x_1297 = lean_array_push(x_1253, x_1236); -x_1298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1298, 0, x_1270); -lean_ctor_set(x_1298, 1, x_1297); -x_1299 = lean_array_push(x_1264, x_1296); -x_1300 = lean_array_push(x_1299, x_1298); -x_1301 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___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); -x_1303 = lean_array_push(x_1264, x_1302); -x_1304 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1305 = lean_array_push(x_1303, x_1304); -x_1306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1306, 0, x_1270); -lean_ctor_set(x_1306, 1, x_1305); -x_1307 = lean_array_push(x_1278, x_1306); -x_1308 = lean_array_push(x_1307, x_1276); -x_1309 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1309, 0, x_1281); -lean_ctor_set(x_1309, 1, x_1308); -x_1310 = lean_array_push(x_1253, x_1309); -x_1311 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1311, 0, x_1270); -lean_ctor_set(x_1311, 1, x_1310); -x_1312 = lean_array_push(x_1264, x_1291); -x_1313 = lean_array_push(x_1312, x_1311); -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 = lean_array_push(x_1277, x_1284); -x_1316 = lean_array_push(x_1315, x_1286); -x_1317 = lean_array_push(x_1316, x_1314); -x_1318 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_1319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1319, 0, x_1318); -lean_ctor_set(x_1319, 1, x_1317); -x_1320 = lean_array_push(x_1264, x_1248); -x_1321 = lean_array_push(x_1320, x_1319); -x_1322 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___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); -x_1324 = lean_array_push(x_1264, x_1); -x_1325 = lean_array_push(x_1324, x_1323); -x_1326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1326, 0, x_1270); -lean_ctor_set(x_1326, 1, x_1325); -x_1327 = lean_array_push(x_1264, x_1246); -x_1328 = lean_array_push(x_1327, x_1326); -x_1329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1329, 0, x_1301); -lean_ctor_set(x_1329, 1, x_1328); -if (lean_is_scalar(x_1241)) { - x_1330 = lean_alloc_ctor(0, 2, 0); -} else { - x_1330 = x_1241; -} -lean_ctor_set(x_1330, 0, x_1329); -lean_ctor_set(x_1330, 1, x_1240); -return x_1330; -} -case 2: -{ -lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; -lean_dec(x_2); -x_1331 = lean_ctor_get(x_1153, 0); -lean_inc(x_1331); -x_1332 = lean_ctor_get(x_1153, 1); -lean_inc(x_1332); -lean_dec(x_1153); -x_1333 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_1332); -lean_dec(x_3); -x_1334 = lean_ctor_get(x_1333, 0); -lean_inc(x_1334); -x_1335 = lean_ctor_get(x_1333, 1); -lean_inc(x_1335); -if (lean_is_exclusive(x_1333)) { - lean_ctor_release(x_1333, 0); - lean_ctor_release(x_1333, 1); - x_1336 = x_1333; -} else { - lean_dec_ref(x_1333); - x_1336 = lean_box(0); -} -x_1337 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_1148); -lean_inc(x_6); -x_1338 = l_Lean_addMacroScope(x_6, x_1337, x_1148); -x_1339 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_1340 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_1334); -x_1341 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1341, 0, x_1334); -lean_ctor_set(x_1341, 1, x_1339); -lean_ctor_set(x_1341, 2, x_1338); -lean_ctor_set(x_1341, 3, x_1340); -x_1342 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_1334); -x_1343 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1343, 0, x_1334); -lean_ctor_set(x_1343, 1, x_1342); -x_1344 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1334); -x_1345 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1345, 0, x_1334); -lean_ctor_set(x_1345, 1, x_1344); -x_1346 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_1334); -x_1347 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1347, 0, x_1334); -lean_ctor_set(x_1347, 1, x_1346); -x_1348 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1349 = lean_array_push(x_1348, x_1347); -x_1350 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -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_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_1334); -x_1353 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1353, 0, x_1334); -lean_ctor_set(x_1353, 1, x_1352); -x_1354 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; -lean_inc(x_1148); -lean_inc(x_6); -x_1355 = l_Lean_addMacroScope(x_6, x_1354, x_1148); -x_1356 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; -x_1357 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__14; -lean_inc(x_1334); -x_1358 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1358, 0, x_1334); -lean_ctor_set(x_1358, 1, x_1356); -lean_ctor_set(x_1358, 2, x_1355); -lean_ctor_set(x_1358, 3, x_1357); -x_1359 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1360 = lean_array_push(x_1359, x_1353); -x_1361 = lean_array_push(x_1360, x_1358); -x_1362 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_1363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1363, 0, x_1362); -lean_ctor_set(x_1363, 1, x_1361); -x_1364 = lean_array_push(x_1348, x_1363); -x_1365 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1366, 0, x_1365); -lean_ctor_set(x_1366, 1, x_1364); -x_1367 = lean_array_push(x_1359, x_1351); -x_1368 = lean_array_push(x_1367, x_1366); -x_1369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1369, 0, x_1365); -lean_ctor_set(x_1369, 1, x_1368); -x_1370 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -lean_inc(x_1334); -x_1371 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1371, 0, x_1334); -lean_ctor_set(x_1371, 1, x_1370); -x_1372 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1373 = lean_array_push(x_1372, x_1345); -lean_inc(x_1373); -x_1374 = lean_array_push(x_1373, x_1369); -lean_inc(x_1371); -x_1375 = lean_array_push(x_1374, x_1371); -x_1376 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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_1348, x_1377); -x_1379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1379, 0, x_1365); -lean_ctor_set(x_1379, 1, x_1378); -x_1380 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1334); -x_1381 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1381, 0, x_1334); -lean_ctor_set(x_1381, 1, x_1380); -x_1382 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1148); -lean_inc(x_6); -x_1383 = l_Lean_addMacroScope(x_6, x_1382, x_1148); -x_1384 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1385 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1334); -x_1386 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1386, 0, x_1334); -lean_ctor_set(x_1386, 1, x_1384); -lean_ctor_set(x_1386, 2, x_1383); -lean_ctor_set(x_1386, 3, x_1385); -x_1387 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; -lean_inc(x_1148); -lean_inc(x_6); -x_1388 = l_Lean_addMacroScope(x_6, x_1387, x_1148); -x_1389 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; -x_1390 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; -lean_inc(x_1334); -x_1391 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1391, 0, x_1334); -lean_ctor_set(x_1391, 1, x_1389); -lean_ctor_set(x_1391, 2, x_1388); -lean_ctor_set(x_1391, 3, x_1390); -x_1392 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -lean_inc(x_1148); -lean_inc(x_6); -x_1393 = l_Lean_addMacroScope(x_6, x_1392, x_1148); -x_1394 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_1395 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_1334); -x_1396 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1396, 0, x_1334); -lean_ctor_set(x_1396, 1, x_1394); -lean_ctor_set(x_1396, 2, x_1393); -lean_ctor_set(x_1396, 3, x_1395); -x_1397 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -x_1398 = l_Lean_addMacroScope(x_6, x_1397, x_1148); -x_1399 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_1400 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -x_1401 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1401, 0, x_1334); -lean_ctor_set(x_1401, 1, x_1399); -lean_ctor_set(x_1401, 2, x_1398); -lean_ctor_set(x_1401, 3, x_1400); -x_1402 = lean_array_push(x_1359, x_1401); -x_1403 = lean_array_push(x_1402, x_1331); -x_1404 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1404, 0, x_1365); -lean_ctor_set(x_1404, 1, x_1403); -x_1405 = lean_array_push(x_1359, x_1396); -x_1406 = lean_array_push(x_1405, x_1404); -x_1407 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1408 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1408, 0, x_1407); -lean_ctor_set(x_1408, 1, x_1406); -x_1409 = lean_array_push(x_1359, x_1408); -x_1410 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1411 = lean_array_push(x_1409, x_1410); -x_1412 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1412, 0, x_1365); -lean_ctor_set(x_1412, 1, x_1411); -lean_inc(x_1373); -x_1413 = lean_array_push(x_1373, x_1412); -lean_inc(x_1371); -x_1414 = lean_array_push(x_1413, x_1371); -x_1415 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1415, 0, x_1376); -lean_ctor_set(x_1415, 1, x_1414); -x_1416 = lean_array_push(x_1348, x_1415); -x_1417 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1417, 0, x_1365); -lean_ctor_set(x_1417, 1, x_1416); -x_1418 = lean_array_push(x_1359, x_1391); -x_1419 = lean_array_push(x_1418, x_1417); -x_1420 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1420, 0, x_1407); -lean_ctor_set(x_1420, 1, x_1419); -x_1421 = lean_array_push(x_1359, x_1420); -x_1422 = lean_array_push(x_1421, x_1410); -x_1423 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1423, 0, x_1365); -lean_ctor_set(x_1423, 1, x_1422); -x_1424 = lean_array_push(x_1373, x_1423); -x_1425 = lean_array_push(x_1424, x_1371); -x_1426 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1426, 0, x_1376); -lean_ctor_set(x_1426, 1, x_1425); -x_1427 = lean_array_push(x_1348, x_1426); -x_1428 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1428, 0, x_1365); -lean_ctor_set(x_1428, 1, x_1427); -x_1429 = lean_array_push(x_1359, x_1386); -x_1430 = lean_array_push(x_1429, x_1428); -x_1431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1431, 0, x_1407); -lean_ctor_set(x_1431, 1, x_1430); -x_1432 = lean_array_push(x_1372, x_1379); -x_1433 = lean_array_push(x_1432, x_1381); -x_1434 = lean_array_push(x_1433, x_1431); -x_1435 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_1436 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1436, 0, x_1435); -lean_ctor_set(x_1436, 1, x_1434); -x_1437 = lean_array_push(x_1359, x_1343); -x_1438 = lean_array_push(x_1437, x_1436); -x_1439 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_1440 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1440, 0, x_1439); -lean_ctor_set(x_1440, 1, x_1438); -x_1441 = lean_array_push(x_1359, x_1); -x_1442 = lean_array_push(x_1441, x_1440); -x_1443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1443, 0, x_1365); -lean_ctor_set(x_1443, 1, x_1442); -x_1444 = lean_array_push(x_1359, x_1341); -x_1445 = lean_array_push(x_1444, x_1443); -x_1446 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1446, 0, x_1407); -lean_ctor_set(x_1446, 1, x_1445); -if (lean_is_scalar(x_1336)) { - x_1447 = lean_alloc_ctor(0, 2, 0); -} else { - x_1447 = x_1336; -} -lean_ctor_set(x_1447, 0, x_1446); -lean_ctor_set(x_1447, 1, x_1335); -return x_1447; -} -case 3: -{ -lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; -lean_dec(x_1148); -lean_dec(x_6); -lean_dec(x_1); -x_1448 = lean_ctor_get(x_1153, 1); -lean_inc(x_1448); -lean_dec(x_1153); -x_1449 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__21; -x_1450 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__16; -x_1451 = lean_panic_fn(x_1449, x_1450); -x_1452 = lean_apply_3(x_1451, x_2, x_3, x_1448); -return x_1452; -} -case 4: -{ -lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; 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_dec(x_2); -x_1453 = lean_ctor_get(x_1153, 0); -lean_inc(x_1453); -x_1454 = lean_ctor_get(x_1153, 1); -lean_inc(x_1454); -lean_dec(x_1153); -x_1455 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_1454); -lean_dec(x_3); -x_1456 = lean_ctor_get(x_1455, 0); -lean_inc(x_1456); -x_1457 = lean_ctor_get(x_1455, 1); -lean_inc(x_1457); -if (lean_is_exclusive(x_1455)) { - lean_ctor_release(x_1455, 0); - lean_ctor_release(x_1455, 1); - x_1458 = x_1455; -} else { - lean_dec_ref(x_1455); - x_1458 = lean_box(0); -} -x_1459 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_1148); -lean_inc(x_6); -x_1460 = l_Lean_addMacroScope(x_6, x_1459, x_1148); -x_1461 = lean_box(0); -x_1462 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_1463 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_1456); -x_1464 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1464, 0, x_1456); -lean_ctor_set(x_1464, 1, x_1462); -lean_ctor_set(x_1464, 2, x_1460); -lean_ctor_set(x_1464, 3, x_1463); -x_1465 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_1456); -x_1466 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1466, 0, x_1456); -lean_ctor_set(x_1466, 1, x_1465); -x_1467 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_1148); -lean_inc(x_6); -x_1468 = l_Lean_addMacroScope(x_6, x_1467, x_1148); -x_1469 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_1456); -x_1470 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1470, 0, x_1456); -lean_ctor_set(x_1470, 1, x_1469); -lean_ctor_set(x_1470, 2, x_1468); -lean_ctor_set(x_1470, 3, x_1461); -x_1471 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_1470); -x_1472 = lean_array_push(x_1471, x_1470); -x_1473 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1474 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1474, 0, x_1473); -lean_ctor_set(x_1474, 1, x_1472); -x_1475 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1456); -x_1476 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1476, 0, x_1456); -lean_ctor_set(x_1476, 1, x_1475); -x_1477 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1456); -x_1478 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1478, 0, x_1456); -lean_ctor_set(x_1478, 1, x_1477); -x_1479 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1148); -lean_inc(x_6); -x_1480 = l_Lean_addMacroScope(x_6, x_1479, x_1148); -x_1481 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1482 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1456); -x_1483 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1483, 0, x_1456); -lean_ctor_set(x_1483, 1, x_1481); -lean_ctor_set(x_1483, 2, x_1480); -lean_ctor_set(x_1483, 3, x_1482); -x_1484 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__20; -x_1485 = l_Lean_addMacroScope(x_6, x_1484, x_1148); -x_1486 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__19; -x_1487 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__22; -lean_inc(x_1456); -x_1488 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1488, 0, x_1456); -lean_ctor_set(x_1488, 1, x_1486); -lean_ctor_set(x_1488, 2, x_1485); -lean_ctor_set(x_1488, 3, x_1487); -x_1489 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1490 = lean_array_push(x_1489, x_1470); -x_1491 = lean_array_push(x_1490, x_1453); -x_1492 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1492, 0, x_1473); -lean_ctor_set(x_1492, 1, x_1491); -x_1493 = lean_array_push(x_1489, x_1488); -x_1494 = lean_array_push(x_1493, x_1492); -x_1495 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1496 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1496, 0, x_1495); -lean_ctor_set(x_1496, 1, x_1494); -x_1497 = lean_array_push(x_1489, x_1496); -x_1498 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1499 = lean_array_push(x_1497, x_1498); -x_1500 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1500, 0, x_1473); -lean_ctor_set(x_1500, 1, x_1499); -x_1501 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_1502 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1502, 0, x_1456); -lean_ctor_set(x_1502, 1, x_1501); -x_1503 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1504 = lean_array_push(x_1503, x_1478); -lean_inc(x_1504); -x_1505 = lean_array_push(x_1504, x_1500); -lean_inc(x_1502); -x_1506 = lean_array_push(x_1505, x_1502); -x_1507 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1508 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1508, 0, x_1507); -lean_ctor_set(x_1508, 1, x_1506); -x_1509 = lean_array_push(x_1471, x_1508); -x_1510 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1510, 0, x_1473); -lean_ctor_set(x_1510, 1, x_1509); -x_1511 = lean_array_push(x_1489, x_1483); -x_1512 = lean_array_push(x_1511, x_1510); -x_1513 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1513, 0, x_1495); -lean_ctor_set(x_1513, 1, x_1512); -x_1514 = lean_array_push(x_1489, x_1513); -x_1515 = lean_array_push(x_1514, x_1498); -x_1516 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1516, 0, x_1473); -lean_ctor_set(x_1516, 1, x_1515); -x_1517 = lean_array_push(x_1504, x_1516); -x_1518 = lean_array_push(x_1517, x_1502); -x_1519 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1519, 0, x_1507); -lean_ctor_set(x_1519, 1, x_1518); -x_1520 = lean_array_push(x_1503, x_1474); -x_1521 = lean_array_push(x_1520, x_1476); -x_1522 = lean_array_push(x_1521, x_1519); -x_1523 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_1524 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1524, 0, x_1523); -lean_ctor_set(x_1524, 1, x_1522); -x_1525 = lean_array_push(x_1489, x_1466); -x_1526 = lean_array_push(x_1525, x_1524); -x_1527 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_1528 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1528, 0, x_1527); -lean_ctor_set(x_1528, 1, x_1526); -x_1529 = lean_array_push(x_1489, x_1); -x_1530 = lean_array_push(x_1529, x_1528); -x_1531 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1531, 0, x_1473); -lean_ctor_set(x_1531, 1, x_1530); -x_1532 = lean_array_push(x_1489, x_1464); -x_1533 = lean_array_push(x_1532, x_1531); -x_1534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1534, 0, x_1495); -lean_ctor_set(x_1534, 1, x_1533); -if (lean_is_scalar(x_1458)) { - x_1535 = lean_alloc_ctor(0, 2, 0); -} else { - x_1535 = x_1458; -} -lean_ctor_set(x_1535, 0, x_1534); -lean_ctor_set(x_1535, 1, x_1457); -return x_1535; -} -case 5: -{ -lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; 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_dec(x_2); -x_1536 = lean_ctor_get(x_1153, 0); -lean_inc(x_1536); -x_1537 = lean_ctor_get(x_1153, 1); -lean_inc(x_1537); -lean_dec(x_1153); -x_1538 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_1537); -lean_dec(x_3); -x_1539 = lean_ctor_get(x_1538, 0); -lean_inc(x_1539); -x_1540 = lean_ctor_get(x_1538, 1); -lean_inc(x_1540); -if (lean_is_exclusive(x_1538)) { - lean_ctor_release(x_1538, 0); - lean_ctor_release(x_1538, 1); - x_1541 = x_1538; -} else { - lean_dec_ref(x_1538); - x_1541 = lean_box(0); -} -x_1542 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_1148); -lean_inc(x_6); -x_1543 = l_Lean_addMacroScope(x_6, x_1542, x_1148); -x_1544 = lean_box(0); -x_1545 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_1546 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_1539); -x_1547 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1547, 0, x_1539); -lean_ctor_set(x_1547, 1, x_1545); -lean_ctor_set(x_1547, 2, x_1543); -lean_ctor_set(x_1547, 3, x_1546); -x_1548 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_1539); -x_1549 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1549, 0, x_1539); -lean_ctor_set(x_1549, 1, x_1548); -x_1550 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_1148); -lean_inc(x_6); -x_1551 = l_Lean_addMacroScope(x_6, x_1550, x_1148); -x_1552 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_1539); -x_1553 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1553, 0, x_1539); -lean_ctor_set(x_1553, 1, x_1552); -lean_ctor_set(x_1553, 2, x_1551); -lean_ctor_set(x_1553, 3, x_1544); -x_1554 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_1553); -x_1555 = lean_array_push(x_1554, x_1553); -x_1556 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1557 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1557, 0, x_1556); -lean_ctor_set(x_1557, 1, x_1555); -x_1558 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1539); -x_1559 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1559, 0, x_1539); -lean_ctor_set(x_1559, 1, x_1558); -x_1560 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1539); -x_1561 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1561, 0, x_1539); -lean_ctor_set(x_1561, 1, x_1560); -x_1562 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1148); -lean_inc(x_6); -x_1563 = l_Lean_addMacroScope(x_6, x_1562, x_1148); -x_1564 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1565 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1539); -x_1566 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1566, 0, x_1539); -lean_ctor_set(x_1566, 1, x_1564); -lean_ctor_set(x_1566, 2, x_1563); -lean_ctor_set(x_1566, 3, x_1565); -x_1567 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; -x_1568 = l_Lean_addMacroScope(x_6, x_1567, x_1148); -x_1569 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; -x_1570 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; -lean_inc(x_1539); -x_1571 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1571, 0, x_1539); -lean_ctor_set(x_1571, 1, x_1569); -lean_ctor_set(x_1571, 2, x_1568); -lean_ctor_set(x_1571, 3, x_1570); -x_1572 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1573 = lean_array_push(x_1572, x_1553); -x_1574 = lean_array_push(x_1573, x_1536); -x_1575 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1575, 0, x_1556); -lean_ctor_set(x_1575, 1, x_1574); -x_1576 = lean_array_push(x_1572, x_1571); -x_1577 = lean_array_push(x_1576, x_1575); -x_1578 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1579 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1579, 0, x_1578); -lean_ctor_set(x_1579, 1, x_1577); -x_1580 = lean_array_push(x_1572, x_1579); -x_1581 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1582 = lean_array_push(x_1580, x_1581); -x_1583 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1583, 0, x_1556); -lean_ctor_set(x_1583, 1, x_1582); -x_1584 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_1585 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1585, 0, x_1539); -lean_ctor_set(x_1585, 1, x_1584); -x_1586 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1587 = lean_array_push(x_1586, x_1561); -lean_inc(x_1587); -x_1588 = lean_array_push(x_1587, x_1583); -lean_inc(x_1585); -x_1589 = lean_array_push(x_1588, x_1585); -x_1590 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1591 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1591, 0, x_1590); -lean_ctor_set(x_1591, 1, x_1589); -x_1592 = lean_array_push(x_1554, x_1591); -x_1593 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1593, 0, x_1556); -lean_ctor_set(x_1593, 1, x_1592); -x_1594 = lean_array_push(x_1572, x_1566); -x_1595 = lean_array_push(x_1594, x_1593); -x_1596 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1596, 0, x_1578); -lean_ctor_set(x_1596, 1, x_1595); -x_1597 = lean_array_push(x_1572, x_1596); -x_1598 = lean_array_push(x_1597, x_1581); -x_1599 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1599, 0, x_1556); -lean_ctor_set(x_1599, 1, x_1598); -x_1600 = lean_array_push(x_1587, x_1599); -x_1601 = lean_array_push(x_1600, x_1585); -x_1602 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1602, 0, x_1590); -lean_ctor_set(x_1602, 1, x_1601); -x_1603 = lean_array_push(x_1586, x_1557); -x_1604 = lean_array_push(x_1603, x_1559); -x_1605 = lean_array_push(x_1604, x_1602); -x_1606 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_1607 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1607, 0, x_1606); -lean_ctor_set(x_1607, 1, x_1605); -x_1608 = lean_array_push(x_1572, x_1549); -x_1609 = lean_array_push(x_1608, x_1607); -x_1610 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_1611 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1611, 0, x_1610); -lean_ctor_set(x_1611, 1, x_1609); -x_1612 = lean_array_push(x_1572, x_1); -x_1613 = lean_array_push(x_1612, x_1611); -x_1614 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1614, 0, x_1556); -lean_ctor_set(x_1614, 1, x_1613); -x_1615 = lean_array_push(x_1572, x_1547); -x_1616 = lean_array_push(x_1615, x_1614); -x_1617 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1617, 0, x_1578); -lean_ctor_set(x_1617, 1, x_1616); -if (lean_is_scalar(x_1541)) { - x_1618 = lean_alloc_ctor(0, 2, 0); -} else { - x_1618 = x_1541; -} -lean_ctor_set(x_1618, 0, x_1617); -lean_ctor_set(x_1618, 1, x_1540); -return x_1618; -} -default: -{ -lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; 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; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; -lean_dec(x_2); -x_1619 = lean_ctor_get(x_1153, 0); -lean_inc(x_1619); -x_1620 = lean_ctor_get(x_1153, 1); -lean_inc(x_1620); -lean_dec(x_1153); -x_1621 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_3, x_1620); -lean_dec(x_3); -x_1622 = lean_ctor_get(x_1621, 0); -lean_inc(x_1622); -x_1623 = lean_ctor_get(x_1621, 1); -lean_inc(x_1623); -if (lean_is_exclusive(x_1621)) { - lean_ctor_release(x_1621, 0); - lean_ctor_release(x_1621, 1); - x_1624 = x_1621; -} else { - lean_dec_ref(x_1621); - x_1624 = lean_box(0); -} -x_1625 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_1148); -lean_inc(x_6); -x_1626 = l_Lean_addMacroScope(x_6, x_1625, x_1148); -x_1627 = lean_box(0); -x_1628 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_1629 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_1622); -x_1630 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1630, 0, x_1622); -lean_ctor_set(x_1630, 1, x_1628); -lean_ctor_set(x_1630, 2, x_1626); -lean_ctor_set(x_1630, 3, x_1629); -x_1631 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_1622); -x_1632 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1632, 0, x_1622); -lean_ctor_set(x_1632, 1, x_1631); -x_1633 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_1148); -lean_inc(x_6); -x_1634 = l_Lean_addMacroScope(x_6, x_1633, x_1148); -x_1635 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_1622); -x_1636 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1636, 0, x_1622); -lean_ctor_set(x_1636, 1, x_1635); -lean_ctor_set(x_1636, 2, x_1634); -lean_ctor_set(x_1636, 3, x_1627); -x_1637 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_1636); -x_1638 = lean_array_push(x_1637, x_1636); -x_1639 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1640 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1640, 0, x_1639); -lean_ctor_set(x_1640, 1, x_1638); -x_1641 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1622); -x_1642 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1642, 0, x_1622); -lean_ctor_set(x_1642, 1, x_1641); -x_1643 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1622); -x_1644 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1644, 0, x_1622); -lean_ctor_set(x_1644, 1, x_1643); -x_1645 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1148); -lean_inc(x_6); -x_1646 = l_Lean_addMacroScope(x_6, x_1645, x_1148); -x_1647 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1648 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1622); -x_1649 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1649, 0, x_1622); -lean_ctor_set(x_1649, 1, x_1647); -lean_ctor_set(x_1649, 2, x_1646); -lean_ctor_set(x_1649, 3, x_1648); -x_1650 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__26; -x_1651 = l_Lean_addMacroScope(x_6, x_1650, x_1148); -x_1652 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__25; -x_1653 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__28; -lean_inc(x_1622); -x_1654 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1654, 0, x_1622); -lean_ctor_set(x_1654, 1, x_1652); -lean_ctor_set(x_1654, 2, x_1651); -lean_ctor_set(x_1654, 3, x_1653); -x_1655 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1656 = lean_array_push(x_1655, x_1636); -x_1657 = lean_array_push(x_1656, x_1619); -x_1658 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1658, 0, x_1639); -lean_ctor_set(x_1658, 1, x_1657); -x_1659 = lean_array_push(x_1655, x_1654); -x_1660 = lean_array_push(x_1659, x_1658); -x_1661 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1662 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1662, 0, x_1661); -lean_ctor_set(x_1662, 1, x_1660); -x_1663 = lean_array_push(x_1655, x_1662); -x_1664 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1665 = lean_array_push(x_1663, x_1664); -x_1666 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1666, 0, x_1639); -lean_ctor_set(x_1666, 1, x_1665); -x_1667 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_1668 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1668, 0, x_1622); -lean_ctor_set(x_1668, 1, x_1667); -x_1669 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1670 = lean_array_push(x_1669, x_1644); -lean_inc(x_1670); -x_1671 = lean_array_push(x_1670, x_1666); -lean_inc(x_1668); -x_1672 = lean_array_push(x_1671, x_1668); -x_1673 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1674 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1674, 0, x_1673); -lean_ctor_set(x_1674, 1, x_1672); -x_1675 = lean_array_push(x_1637, x_1674); -x_1676 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1676, 0, x_1639); -lean_ctor_set(x_1676, 1, x_1675); -x_1677 = lean_array_push(x_1655, x_1649); -x_1678 = lean_array_push(x_1677, x_1676); -x_1679 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1679, 0, x_1661); -lean_ctor_set(x_1679, 1, x_1678); -x_1680 = lean_array_push(x_1655, x_1679); -x_1681 = lean_array_push(x_1680, x_1664); -x_1682 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1682, 0, x_1639); -lean_ctor_set(x_1682, 1, x_1681); -x_1683 = lean_array_push(x_1670, x_1682); -x_1684 = lean_array_push(x_1683, x_1668); -x_1685 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1685, 0, x_1673); -lean_ctor_set(x_1685, 1, x_1684); -x_1686 = lean_array_push(x_1669, x_1640); -x_1687 = lean_array_push(x_1686, x_1642); -x_1688 = lean_array_push(x_1687, x_1685); -x_1689 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_1690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1690, 0, x_1689); -lean_ctor_set(x_1690, 1, x_1688); -x_1691 = lean_array_push(x_1655, x_1632); -x_1692 = lean_array_push(x_1691, x_1690); -x_1693 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_1694 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1694, 0, x_1693); -lean_ctor_set(x_1694, 1, x_1692); -x_1695 = lean_array_push(x_1655, x_1); -x_1696 = lean_array_push(x_1695, x_1694); -x_1697 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1697, 0, x_1639); -lean_ctor_set(x_1697, 1, x_1696); -x_1698 = lean_array_push(x_1655, x_1630); -x_1699 = lean_array_push(x_1698, x_1697); -x_1700 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1700, 0, x_1661); -lean_ctor_set(x_1700, 1, x_1699); -if (lean_is_scalar(x_1624)) { - x_1701 = lean_alloc_ctor(0, 2, 0); -} else { - x_1701 = x_1624; -} -lean_ctor_set(x_1701, 0, x_1700); -lean_ctor_set(x_1701, 1, x_1623); -return x_1701; -} -} -} -else -{ -lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; -lean_dec(x_3); -lean_dec(x_1148); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_1702 = lean_ctor_get(x_1153, 0); -lean_inc(x_1702); -x_1703 = lean_ctor_get(x_1153, 1); -lean_inc(x_1703); -if (lean_is_exclusive(x_1153)) { - lean_ctor_release(x_1153, 0); - lean_ctor_release(x_1153, 1); - x_1704 = x_1153; -} else { - lean_dec_ref(x_1153); - x_1704 = lean_box(0); -} -if (lean_is_scalar(x_1704)) { - x_1705 = lean_alloc_ctor(1, 2, 0); -} else { - x_1705 = x_1704; -} -lean_ctor_set(x_1705, 0, x_1702); -lean_ctor_set(x_1705, 1, x_1703); -return x_1705; -} -} -} -else -{ -lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; -x_1706 = lean_ctor_get(x_3, 0); -x_1707 = lean_ctor_get(x_3, 1); -x_1708 = lean_ctor_get(x_3, 3); -x_1709 = lean_ctor_get(x_3, 4); -x_1710 = lean_ctor_get(x_3, 5); -lean_inc(x_1710); -lean_inc(x_1709); -lean_inc(x_1708); -lean_inc(x_1707); -lean_inc(x_1706); -lean_dec(x_3); -x_1711 = l_Lean_replaceRef(x_1, x_1710); -lean_dec(x_1710); -x_1712 = lean_ctor_get(x_4, 0); -lean_inc(x_1712); -x_1713 = lean_ctor_get(x_4, 1); -lean_inc(x_1713); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - x_1714 = x_4; -} else { - lean_dec_ref(x_4); - x_1714 = lean_box(0); -} -x_1715 = lean_unsigned_to_nat(1u); -x_1716 = lean_nat_add(x_1712, x_1715); -if (lean_is_scalar(x_1714)) { - x_1717 = lean_alloc_ctor(0, 2, 0); -} else { - x_1717 = x_1714; -} -lean_ctor_set(x_1717, 0, x_1716); -lean_ctor_set(x_1717, 1, x_1713); -lean_inc(x_1712); -lean_inc(x_1707); -x_1718 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_1718, 0, x_1706); -lean_ctor_set(x_1718, 1, x_1707); -lean_ctor_set(x_1718, 2, x_1712); -lean_ctor_set(x_1718, 3, x_1708); -lean_ctor_set(x_1718, 4, x_1709); -lean_ctor_set(x_1718, 5, x_1711); -lean_inc(x_1718); -lean_inc(x_2); -x_1719 = l_Lean_Elab_Term_Do_ToTerm_mkUVarTuple(x_2, x_1718, x_1717); -if (lean_obj_tag(x_1719) == 0) -{ -uint8_t x_1720; -x_1720 = lean_ctor_get_uint8(x_2, sizeof(void*)*2); -switch (x_1720) { -case 0: -{ -lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; uint8_t x_1725; -x_1721 = lean_ctor_get(x_1719, 0); -lean_inc(x_1721); -x_1722 = lean_ctor_get(x_1719, 1); -lean_inc(x_1722); -if (lean_is_exclusive(x_1719)) { - lean_ctor_release(x_1719, 0); - lean_ctor_release(x_1719, 1); - x_1723 = x_1719; -} else { - lean_dec_ref(x_1719); - x_1723 = lean_box(0); -} -x_1724 = lean_ctor_get(x_2, 1); -lean_inc(x_1724); -lean_dec(x_2); -x_1725 = l_Array_isEmpty___rarg(x_1724); -lean_dec(x_1724); -if (x_1725 == 0) -{ -lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; -lean_dec(x_1723); -x_1726 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_1718, x_1722); -lean_dec(x_1718); -x_1727 = lean_ctor_get(x_1726, 0); -lean_inc(x_1727); -x_1728 = lean_ctor_get(x_1726, 1); -lean_inc(x_1728); -if (lean_is_exclusive(x_1726)) { - lean_ctor_release(x_1726, 0); - lean_ctor_release(x_1726, 1); - x_1729 = x_1726; -} else { - lean_dec_ref(x_1726); - x_1729 = lean_box(0); -} -x_1730 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_1712); -lean_inc(x_1707); -x_1731 = l_Lean_addMacroScope(x_1707, x_1730, x_1712); -x_1732 = lean_box(0); -x_1733 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_1734 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_1727); -x_1735 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1735, 0, x_1727); -lean_ctor_set(x_1735, 1, x_1733); -lean_ctor_set(x_1735, 2, x_1731); -lean_ctor_set(x_1735, 3, x_1734); -x_1736 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_1727); -x_1737 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1737, 0, x_1727); -lean_ctor_set(x_1737, 1, x_1736); -x_1738 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_1712); -lean_inc(x_1707); -x_1739 = l_Lean_addMacroScope(x_1707, x_1738, x_1712); -x_1740 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_1727); -x_1741 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1741, 0, x_1727); -lean_ctor_set(x_1741, 1, x_1740); -lean_ctor_set(x_1741, 2, x_1739); -lean_ctor_set(x_1741, 3, x_1732); -x_1742 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_1741); -x_1743 = lean_array_push(x_1742, x_1741); -x_1744 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1745 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1745, 0, x_1744); -lean_ctor_set(x_1745, 1, x_1743); -x_1746 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1727); -x_1747 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1747, 0, x_1727); -lean_ctor_set(x_1747, 1, x_1746); -x_1748 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1712); -lean_inc(x_1707); -x_1749 = l_Lean_addMacroScope(x_1707, x_1748, x_1712); -x_1750 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1751 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1727); -x_1752 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1752, 0, x_1727); -lean_ctor_set(x_1752, 1, x_1750); -lean_ctor_set(x_1752, 2, x_1749); -lean_ctor_set(x_1752, 3, x_1751); -x_1753 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1727); -x_1754 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1754, 0, x_1727); -lean_ctor_set(x_1754, 1, x_1753); -x_1755 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -x_1756 = l_Lean_addMacroScope(x_1707, x_1755, x_1712); -x_1757 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_1758 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_1727); -x_1759 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1759, 0, x_1727); -lean_ctor_set(x_1759, 1, x_1757); -lean_ctor_set(x_1759, 2, x_1756); -lean_ctor_set(x_1759, 3, x_1758); -x_1760 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1761 = lean_array_push(x_1760, x_1741); -x_1762 = lean_array_push(x_1761, x_1721); -x_1763 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1763, 0, x_1744); -lean_ctor_set(x_1763, 1, x_1762); -x_1764 = lean_array_push(x_1760, x_1759); -x_1765 = lean_array_push(x_1764, x_1763); -x_1766 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1767 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1767, 0, x_1766); -lean_ctor_set(x_1767, 1, x_1765); -x_1768 = lean_array_push(x_1760, x_1767); -x_1769 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1770 = lean_array_push(x_1768, x_1769); -x_1771 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1771, 0, x_1744); -lean_ctor_set(x_1771, 1, x_1770); -x_1772 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_1773 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1773, 0, x_1727); -lean_ctor_set(x_1773, 1, x_1772); -x_1774 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1775 = lean_array_push(x_1774, x_1754); -x_1776 = lean_array_push(x_1775, x_1771); -x_1777 = lean_array_push(x_1776, x_1773); -x_1778 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1779 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1779, 0, x_1778); -lean_ctor_set(x_1779, 1, x_1777); -x_1780 = lean_array_push(x_1742, x_1779); -x_1781 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1781, 0, x_1744); -lean_ctor_set(x_1781, 1, x_1780); -x_1782 = lean_array_push(x_1760, x_1752); -x_1783 = lean_array_push(x_1782, x_1781); -x_1784 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1784, 0, x_1766); -lean_ctor_set(x_1784, 1, x_1783); -x_1785 = lean_array_push(x_1774, x_1745); -x_1786 = lean_array_push(x_1785, x_1747); -x_1787 = lean_array_push(x_1786, x_1784); -x_1788 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_1789 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1789, 0, x_1788); -lean_ctor_set(x_1789, 1, x_1787); -x_1790 = lean_array_push(x_1760, x_1737); -x_1791 = lean_array_push(x_1790, x_1789); -x_1792 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_1793 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1793, 0, x_1792); -lean_ctor_set(x_1793, 1, x_1791); -x_1794 = lean_array_push(x_1760, x_1); -x_1795 = lean_array_push(x_1794, x_1793); -x_1796 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1796, 0, x_1744); -lean_ctor_set(x_1796, 1, x_1795); -x_1797 = lean_array_push(x_1760, x_1735); -x_1798 = lean_array_push(x_1797, x_1796); -x_1799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1799, 0, x_1766); -lean_ctor_set(x_1799, 1, x_1798); -if (lean_is_scalar(x_1729)) { - x_1800 = lean_alloc_ctor(0, 2, 0); -} else { - x_1800 = x_1729; -} -lean_ctor_set(x_1800, 0, x_1799); -lean_ctor_set(x_1800, 1, x_1728); -return x_1800; -} -else -{ -lean_object* x_1801; -lean_dec(x_1721); -lean_dec(x_1718); -lean_dec(x_1712); -lean_dec(x_1707); -if (lean_is_scalar(x_1723)) { - x_1801 = lean_alloc_ctor(0, 2, 0); -} else { - x_1801 = x_1723; -} -lean_ctor_set(x_1801, 0, x_1); -lean_ctor_set(x_1801, 1, x_1722); -return x_1801; -} -} -case 1: -{ -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; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; 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; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; -lean_dec(x_2); -x_1802 = lean_ctor_get(x_1719, 0); -lean_inc(x_1802); -x_1803 = lean_ctor_get(x_1719, 1); -lean_inc(x_1803); -lean_dec(x_1719); -x_1804 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_1718, x_1803); -lean_dec(x_1718); -x_1805 = lean_ctor_get(x_1804, 0); -lean_inc(x_1805); -x_1806 = lean_ctor_get(x_1804, 1); -lean_inc(x_1806); -if (lean_is_exclusive(x_1804)) { - lean_ctor_release(x_1804, 0); - lean_ctor_release(x_1804, 1); - x_1807 = x_1804; -} else { - lean_dec_ref(x_1804); - x_1807 = lean_box(0); -} -x_1808 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_1712); -lean_inc(x_1707); -x_1809 = l_Lean_addMacroScope(x_1707, x_1808, x_1712); -x_1810 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_1811 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_1805); -x_1812 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1812, 0, x_1805); -lean_ctor_set(x_1812, 1, x_1810); -lean_ctor_set(x_1812, 2, x_1809); -lean_ctor_set(x_1812, 3, x_1811); -x_1813 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_1805); -x_1814 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1814, 0, x_1805); -lean_ctor_set(x_1814, 1, x_1813); -x_1815 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1805); -x_1816 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1816, 0, x_1805); -lean_ctor_set(x_1816, 1, x_1815); -x_1817 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_1805); -x_1818 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1818, 0, x_1805); -lean_ctor_set(x_1818, 1, x_1817); -x_1819 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1820 = lean_array_push(x_1819, x_1818); -x_1821 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -x_1822 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1822, 0, x_1821); -lean_ctor_set(x_1822, 1, x_1820); -x_1823 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_1805); -x_1824 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1824, 0, x_1805); -lean_ctor_set(x_1824, 1, x_1823); -x_1825 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; -lean_inc(x_1712); -lean_inc(x_1707); -x_1826 = l_Lean_addMacroScope(x_1707, x_1825, x_1712); -x_1827 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; -x_1828 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__14; -lean_inc(x_1805); -x_1829 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1829, 0, x_1805); -lean_ctor_set(x_1829, 1, x_1827); -lean_ctor_set(x_1829, 2, x_1826); -lean_ctor_set(x_1829, 3, x_1828); -x_1830 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1831 = lean_array_push(x_1830, x_1824); -x_1832 = lean_array_push(x_1831, x_1829); -x_1833 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_1834 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1834, 0, x_1833); -lean_ctor_set(x_1834, 1, x_1832); -x_1835 = lean_array_push(x_1819, x_1834); -x_1836 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1837 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1837, 0, x_1836); -lean_ctor_set(x_1837, 1, x_1835); -x_1838 = lean_array_push(x_1830, x_1822); -x_1839 = lean_array_push(x_1838, x_1837); -x_1840 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1840, 0, x_1836); -lean_ctor_set(x_1840, 1, x_1839); -x_1841 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -lean_inc(x_1805); -x_1842 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1842, 0, x_1805); -lean_ctor_set(x_1842, 1, x_1841); -x_1843 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1844 = lean_array_push(x_1843, x_1816); -lean_inc(x_1844); -x_1845 = lean_array_push(x_1844, x_1840); -lean_inc(x_1842); -x_1846 = lean_array_push(x_1845, x_1842); -x_1847 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1848 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1848, 0, x_1847); -lean_ctor_set(x_1848, 1, x_1846); -x_1849 = lean_array_push(x_1819, x_1848); -x_1850 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1850, 0, x_1836); -lean_ctor_set(x_1850, 1, x_1849); -x_1851 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1805); -x_1852 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1852, 0, x_1805); -lean_ctor_set(x_1852, 1, x_1851); -x_1853 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1712); -lean_inc(x_1707); -x_1854 = l_Lean_addMacroScope(x_1707, x_1853, x_1712); -x_1855 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1856 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1805); -x_1857 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1857, 0, x_1805); -lean_ctor_set(x_1857, 1, x_1855); -lean_ctor_set(x_1857, 2, x_1854); -lean_ctor_set(x_1857, 3, x_1856); -x_1858 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; -x_1859 = l_Lean_addMacroScope(x_1707, x_1858, x_1712); -x_1860 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; -x_1861 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; -x_1862 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1862, 0, x_1805); -lean_ctor_set(x_1862, 1, x_1860); -lean_ctor_set(x_1862, 2, x_1859); -lean_ctor_set(x_1862, 3, x_1861); -x_1863 = lean_array_push(x_1819, x_1802); -x_1864 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1864, 0, x_1836); -lean_ctor_set(x_1864, 1, x_1863); -x_1865 = lean_array_push(x_1830, x_1862); -x_1866 = lean_array_push(x_1865, x_1864); -x_1867 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1868 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1868, 0, x_1867); -lean_ctor_set(x_1868, 1, x_1866); -x_1869 = lean_array_push(x_1830, x_1868); -x_1870 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1871 = lean_array_push(x_1869, x_1870); -x_1872 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1872, 0, x_1836); -lean_ctor_set(x_1872, 1, x_1871); -x_1873 = lean_array_push(x_1844, x_1872); -x_1874 = lean_array_push(x_1873, x_1842); -x_1875 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1875, 0, x_1847); -lean_ctor_set(x_1875, 1, x_1874); -x_1876 = lean_array_push(x_1819, x_1875); -x_1877 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1877, 0, x_1836); -lean_ctor_set(x_1877, 1, x_1876); -x_1878 = lean_array_push(x_1830, x_1857); -x_1879 = lean_array_push(x_1878, x_1877); -x_1880 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1880, 0, x_1867); -lean_ctor_set(x_1880, 1, x_1879); -x_1881 = lean_array_push(x_1843, x_1850); -x_1882 = lean_array_push(x_1881, x_1852); -x_1883 = lean_array_push(x_1882, x_1880); -x_1884 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_1885 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1885, 0, x_1884); -lean_ctor_set(x_1885, 1, x_1883); -x_1886 = lean_array_push(x_1830, x_1814); -x_1887 = lean_array_push(x_1886, x_1885); -x_1888 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_1889 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1889, 0, x_1888); -lean_ctor_set(x_1889, 1, x_1887); -x_1890 = lean_array_push(x_1830, x_1); -x_1891 = lean_array_push(x_1890, x_1889); -x_1892 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1892, 0, x_1836); -lean_ctor_set(x_1892, 1, x_1891); -x_1893 = lean_array_push(x_1830, x_1812); -x_1894 = lean_array_push(x_1893, x_1892); -x_1895 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1895, 0, x_1867); -lean_ctor_set(x_1895, 1, x_1894); -if (lean_is_scalar(x_1807)) { - x_1896 = lean_alloc_ctor(0, 2, 0); -} else { - x_1896 = x_1807; -} -lean_ctor_set(x_1896, 0, x_1895); -lean_ctor_set(x_1896, 1, x_1806); -return x_1896; -} -case 2: -{ -lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; -lean_dec(x_2); -x_1897 = lean_ctor_get(x_1719, 0); -lean_inc(x_1897); -x_1898 = lean_ctor_get(x_1719, 1); -lean_inc(x_1898); -lean_dec(x_1719); -x_1899 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_1718, x_1898); -lean_dec(x_1718); -x_1900 = lean_ctor_get(x_1899, 0); -lean_inc(x_1900); -x_1901 = lean_ctor_get(x_1899, 1); -lean_inc(x_1901); -if (lean_is_exclusive(x_1899)) { - lean_ctor_release(x_1899, 0); - lean_ctor_release(x_1899, 1); - x_1902 = x_1899; -} else { - lean_dec_ref(x_1899); - x_1902 = lean_box(0); -} -x_1903 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_1712); -lean_inc(x_1707); -x_1904 = l_Lean_addMacroScope(x_1707, x_1903, x_1712); -x_1905 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_1906 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_1900); -x_1907 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1907, 0, x_1900); -lean_ctor_set(x_1907, 1, x_1905); -lean_ctor_set(x_1907, 2, x_1904); -lean_ctor_set(x_1907, 3, x_1906); -x_1908 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_1900); -x_1909 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1909, 0, x_1900); -lean_ctor_set(x_1909, 1, x_1908); -x_1910 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1900); -x_1911 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1911, 0, x_1900); -lean_ctor_set(x_1911, 1, x_1910); -x_1912 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_1900); -x_1913 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1913, 0, x_1900); -lean_ctor_set(x_1913, 1, x_1912); -x_1914 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1915 = lean_array_push(x_1914, x_1913); -x_1916 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -x_1917 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1917, 0, x_1916); -lean_ctor_set(x_1917, 1, x_1915); -x_1918 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_1900); -x_1919 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1919, 0, x_1900); -lean_ctor_set(x_1919, 1, x_1918); -x_1920 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; -lean_inc(x_1712); -lean_inc(x_1707); -x_1921 = l_Lean_addMacroScope(x_1707, x_1920, x_1712); -x_1922 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; -x_1923 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__14; -lean_inc(x_1900); -x_1924 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1924, 0, x_1900); -lean_ctor_set(x_1924, 1, x_1922); -lean_ctor_set(x_1924, 2, x_1921); -lean_ctor_set(x_1924, 3, x_1923); -x_1925 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1926 = lean_array_push(x_1925, x_1919); -x_1927 = lean_array_push(x_1926, x_1924); -x_1928 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_1929 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1929, 0, x_1928); -lean_ctor_set(x_1929, 1, x_1927); -x_1930 = lean_array_push(x_1914, x_1929); -x_1931 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1932 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1932, 0, x_1931); -lean_ctor_set(x_1932, 1, x_1930); -x_1933 = lean_array_push(x_1925, x_1917); -x_1934 = lean_array_push(x_1933, x_1932); -x_1935 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1935, 0, x_1931); -lean_ctor_set(x_1935, 1, x_1934); -x_1936 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -lean_inc(x_1900); -x_1937 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1937, 0, x_1900); -lean_ctor_set(x_1937, 1, x_1936); -x_1938 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1939 = lean_array_push(x_1938, x_1911); -lean_inc(x_1939); -x_1940 = lean_array_push(x_1939, x_1935); -lean_inc(x_1937); -x_1941 = lean_array_push(x_1940, x_1937); -x_1942 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1943 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1943, 0, x_1942); -lean_ctor_set(x_1943, 1, x_1941); -x_1944 = lean_array_push(x_1914, x_1943); -x_1945 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1945, 0, x_1931); -lean_ctor_set(x_1945, 1, x_1944); -x_1946 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1900); -x_1947 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1947, 0, x_1900); -lean_ctor_set(x_1947, 1, x_1946); -x_1948 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1712); -lean_inc(x_1707); -x_1949 = l_Lean_addMacroScope(x_1707, x_1948, x_1712); -x_1950 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1951 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1900); -x_1952 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1952, 0, x_1900); -lean_ctor_set(x_1952, 1, x_1950); -lean_ctor_set(x_1952, 2, x_1949); -lean_ctor_set(x_1952, 3, x_1951); -x_1953 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__7; -lean_inc(x_1712); -lean_inc(x_1707); -x_1954 = l_Lean_addMacroScope(x_1707, x_1953, x_1712); -x_1955 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; -x_1956 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__9; -lean_inc(x_1900); -x_1957 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1957, 0, x_1900); -lean_ctor_set(x_1957, 1, x_1955); -lean_ctor_set(x_1957, 2, x_1954); -lean_ctor_set(x_1957, 3, x_1956); -x_1958 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -lean_inc(x_1712); -lean_inc(x_1707); -x_1959 = l_Lean_addMacroScope(x_1707, x_1958, x_1712); -x_1960 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_1961 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_1900); -x_1962 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1962, 0, x_1900); -lean_ctor_set(x_1962, 1, x_1960); -lean_ctor_set(x_1962, 2, x_1959); -lean_ctor_set(x_1962, 3, x_1961); -x_1963 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -x_1964 = l_Lean_addMacroScope(x_1707, x_1963, x_1712); -x_1965 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_1966 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -x_1967 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1967, 0, x_1900); -lean_ctor_set(x_1967, 1, x_1965); -lean_ctor_set(x_1967, 2, x_1964); -lean_ctor_set(x_1967, 3, x_1966); -x_1968 = lean_array_push(x_1925, x_1967); -x_1969 = lean_array_push(x_1968, x_1897); -x_1970 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1970, 0, x_1931); -lean_ctor_set(x_1970, 1, x_1969); -x_1971 = lean_array_push(x_1925, x_1962); -x_1972 = lean_array_push(x_1971, x_1970); -x_1973 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1974 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1974, 0, x_1973); -lean_ctor_set(x_1974, 1, x_1972); -x_1975 = lean_array_push(x_1925, x_1974); -x_1976 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1977 = lean_array_push(x_1975, x_1976); -x_1978 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1978, 0, x_1931); -lean_ctor_set(x_1978, 1, x_1977); -lean_inc(x_1939); -x_1979 = lean_array_push(x_1939, x_1978); -lean_inc(x_1937); -x_1980 = lean_array_push(x_1979, x_1937); -x_1981 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1981, 0, x_1942); -lean_ctor_set(x_1981, 1, x_1980); -x_1982 = lean_array_push(x_1914, x_1981); -x_1983 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1983, 0, x_1931); -lean_ctor_set(x_1983, 1, x_1982); -x_1984 = lean_array_push(x_1925, x_1957); -x_1985 = lean_array_push(x_1984, x_1983); -x_1986 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1986, 0, x_1973); -lean_ctor_set(x_1986, 1, x_1985); -x_1987 = lean_array_push(x_1925, x_1986); -x_1988 = lean_array_push(x_1987, x_1976); -x_1989 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1989, 0, x_1931); -lean_ctor_set(x_1989, 1, x_1988); -x_1990 = lean_array_push(x_1939, x_1989); -x_1991 = lean_array_push(x_1990, x_1937); -x_1992 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1992, 0, x_1942); -lean_ctor_set(x_1992, 1, x_1991); -x_1993 = lean_array_push(x_1914, x_1992); -x_1994 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1994, 0, x_1931); -lean_ctor_set(x_1994, 1, x_1993); -x_1995 = lean_array_push(x_1925, x_1952); -x_1996 = lean_array_push(x_1995, x_1994); -x_1997 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1997, 0, x_1973); -lean_ctor_set(x_1997, 1, x_1996); -x_1998 = lean_array_push(x_1938, x_1945); -x_1999 = lean_array_push(x_1998, x_1947); -x_2000 = lean_array_push(x_1999, x_1997); -x_2001 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_2002 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2002, 0, x_2001); -lean_ctor_set(x_2002, 1, x_2000); -x_2003 = lean_array_push(x_1925, x_1909); -x_2004 = lean_array_push(x_2003, x_2002); -x_2005 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_2006 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2006, 0, x_2005); -lean_ctor_set(x_2006, 1, x_2004); -x_2007 = lean_array_push(x_1925, x_1); -x_2008 = lean_array_push(x_2007, x_2006); -x_2009 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2009, 0, x_1931); -lean_ctor_set(x_2009, 1, x_2008); -x_2010 = lean_array_push(x_1925, x_1907); -x_2011 = lean_array_push(x_2010, x_2009); -x_2012 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2012, 0, x_1973); -lean_ctor_set(x_2012, 1, x_2011); -if (lean_is_scalar(x_1902)) { - x_2013 = lean_alloc_ctor(0, 2, 0); -} else { - x_2013 = x_1902; -} -lean_ctor_set(x_2013, 0, x_2012); -lean_ctor_set(x_2013, 1, x_1901); -return x_2013; -} -case 3: -{ -lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; -lean_dec(x_1712); -lean_dec(x_1707); -lean_dec(x_1); -x_2014 = lean_ctor_get(x_1719, 1); -lean_inc(x_2014); -lean_dec(x_1719); -x_2015 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__21; -x_2016 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__16; -x_2017 = lean_panic_fn(x_2015, x_2016); -x_2018 = lean_apply_3(x_2017, x_2, x_1718, x_2014); -return x_2018; -} -case 4: -{ -lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; -lean_dec(x_2); -x_2019 = lean_ctor_get(x_1719, 0); -lean_inc(x_2019); -x_2020 = lean_ctor_get(x_1719, 1); -lean_inc(x_2020); -lean_dec(x_1719); -x_2021 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_1718, x_2020); -lean_dec(x_1718); -x_2022 = lean_ctor_get(x_2021, 0); -lean_inc(x_2022); -x_2023 = lean_ctor_get(x_2021, 1); -lean_inc(x_2023); -if (lean_is_exclusive(x_2021)) { - lean_ctor_release(x_2021, 0); - lean_ctor_release(x_2021, 1); - x_2024 = x_2021; -} else { - lean_dec_ref(x_2021); - x_2024 = lean_box(0); -} -x_2025 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_1712); -lean_inc(x_1707); -x_2026 = l_Lean_addMacroScope(x_1707, x_2025, x_1712); -x_2027 = lean_box(0); -x_2028 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_2029 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_2022); -x_2030 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2030, 0, x_2022); -lean_ctor_set(x_2030, 1, x_2028); -lean_ctor_set(x_2030, 2, x_2026); -lean_ctor_set(x_2030, 3, x_2029); -x_2031 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_2022); -x_2032 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2032, 0, x_2022); -lean_ctor_set(x_2032, 1, x_2031); -x_2033 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_1712); -lean_inc(x_1707); -x_2034 = l_Lean_addMacroScope(x_1707, x_2033, x_1712); -x_2035 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_2022); -x_2036 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2036, 0, x_2022); -lean_ctor_set(x_2036, 1, x_2035); -lean_ctor_set(x_2036, 2, x_2034); -lean_ctor_set(x_2036, 3, x_2027); -x_2037 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_2036); -x_2038 = lean_array_push(x_2037, x_2036); -x_2039 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_2040 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2040, 0, x_2039); -lean_ctor_set(x_2040, 1, x_2038); -x_2041 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_2022); -x_2042 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2042, 0, x_2022); -lean_ctor_set(x_2042, 1, x_2041); -x_2043 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_2022); -x_2044 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2044, 0, x_2022); -lean_ctor_set(x_2044, 1, x_2043); -x_2045 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1712); -lean_inc(x_1707); -x_2046 = l_Lean_addMacroScope(x_1707, x_2045, x_1712); -x_2047 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_2048 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_2022); -x_2049 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2049, 0, x_2022); -lean_ctor_set(x_2049, 1, x_2047); -lean_ctor_set(x_2049, 2, x_2046); -lean_ctor_set(x_2049, 3, x_2048); -x_2050 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__20; -x_2051 = l_Lean_addMacroScope(x_1707, x_2050, x_1712); -x_2052 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__19; -x_2053 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__22; -lean_inc(x_2022); -x_2054 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2054, 0, x_2022); -lean_ctor_set(x_2054, 1, x_2052); -lean_ctor_set(x_2054, 2, x_2051); -lean_ctor_set(x_2054, 3, x_2053); -x_2055 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_2056 = lean_array_push(x_2055, x_2036); -x_2057 = lean_array_push(x_2056, x_2019); -x_2058 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2058, 0, x_2039); -lean_ctor_set(x_2058, 1, x_2057); -x_2059 = lean_array_push(x_2055, x_2054); -x_2060 = lean_array_push(x_2059, x_2058); -x_2061 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_2062 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2062, 0, x_2061); -lean_ctor_set(x_2062, 1, x_2060); -x_2063 = lean_array_push(x_2055, x_2062); -x_2064 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_2065 = lean_array_push(x_2063, x_2064); -x_2066 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2066, 0, x_2039); -lean_ctor_set(x_2066, 1, x_2065); -x_2067 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_2068 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2068, 0, x_2022); -lean_ctor_set(x_2068, 1, x_2067); -x_2069 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_2070 = lean_array_push(x_2069, x_2044); -lean_inc(x_2070); -x_2071 = lean_array_push(x_2070, x_2066); -lean_inc(x_2068); -x_2072 = lean_array_push(x_2071, x_2068); -x_2073 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_2074 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2074, 0, x_2073); -lean_ctor_set(x_2074, 1, x_2072); -x_2075 = lean_array_push(x_2037, x_2074); -x_2076 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2076, 0, x_2039); -lean_ctor_set(x_2076, 1, x_2075); -x_2077 = lean_array_push(x_2055, x_2049); -x_2078 = lean_array_push(x_2077, x_2076); -x_2079 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2079, 0, x_2061); -lean_ctor_set(x_2079, 1, x_2078); -x_2080 = lean_array_push(x_2055, x_2079); -x_2081 = lean_array_push(x_2080, x_2064); -x_2082 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2082, 0, x_2039); -lean_ctor_set(x_2082, 1, x_2081); -x_2083 = lean_array_push(x_2070, x_2082); -x_2084 = lean_array_push(x_2083, x_2068); -x_2085 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2085, 0, x_2073); -lean_ctor_set(x_2085, 1, x_2084); -x_2086 = lean_array_push(x_2069, x_2040); -x_2087 = lean_array_push(x_2086, x_2042); -x_2088 = lean_array_push(x_2087, x_2085); -x_2089 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_2090 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2090, 0, x_2089); -lean_ctor_set(x_2090, 1, x_2088); -x_2091 = lean_array_push(x_2055, x_2032); -x_2092 = lean_array_push(x_2091, x_2090); -x_2093 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_2094 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2094, 0, x_2093); -lean_ctor_set(x_2094, 1, x_2092); -x_2095 = lean_array_push(x_2055, x_1); -x_2096 = lean_array_push(x_2095, x_2094); -x_2097 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2097, 0, x_2039); -lean_ctor_set(x_2097, 1, x_2096); -x_2098 = lean_array_push(x_2055, x_2030); -x_2099 = lean_array_push(x_2098, x_2097); -x_2100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2100, 0, x_2061); -lean_ctor_set(x_2100, 1, x_2099); -if (lean_is_scalar(x_2024)) { - x_2101 = lean_alloc_ctor(0, 2, 0); -} else { - x_2101 = x_2024; -} -lean_ctor_set(x_2101, 0, x_2100); -lean_ctor_set(x_2101, 1, x_2023); -return x_2101; -} -case 5: -{ -lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; -lean_dec(x_2); -x_2102 = lean_ctor_get(x_1719, 0); -lean_inc(x_2102); -x_2103 = lean_ctor_get(x_1719, 1); -lean_inc(x_2103); -lean_dec(x_1719); -x_2104 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_1718, x_2103); -lean_dec(x_1718); -x_2105 = lean_ctor_get(x_2104, 0); -lean_inc(x_2105); -x_2106 = lean_ctor_get(x_2104, 1); -lean_inc(x_2106); -if (lean_is_exclusive(x_2104)) { - lean_ctor_release(x_2104, 0); - lean_ctor_release(x_2104, 1); - x_2107 = x_2104; -} else { - lean_dec_ref(x_2104); - x_2107 = lean_box(0); -} -x_2108 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_1712); -lean_inc(x_1707); -x_2109 = l_Lean_addMacroScope(x_1707, x_2108, x_1712); -x_2110 = lean_box(0); -x_2111 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_2112 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_2105); -x_2113 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2113, 0, x_2105); -lean_ctor_set(x_2113, 1, x_2111); -lean_ctor_set(x_2113, 2, x_2109); -lean_ctor_set(x_2113, 3, x_2112); -x_2114 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_2105); -x_2115 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2115, 0, x_2105); -lean_ctor_set(x_2115, 1, x_2114); -x_2116 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_1712); -lean_inc(x_1707); -x_2117 = l_Lean_addMacroScope(x_1707, x_2116, x_1712); -x_2118 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_2105); -x_2119 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2119, 0, x_2105); -lean_ctor_set(x_2119, 1, x_2118); -lean_ctor_set(x_2119, 2, x_2117); -lean_ctor_set(x_2119, 3, x_2110); -x_2120 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_2119); -x_2121 = lean_array_push(x_2120, x_2119); -x_2122 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_2123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2123, 0, x_2122); -lean_ctor_set(x_2123, 1, x_2121); -x_2124 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_2105); -x_2125 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2125, 0, x_2105); -lean_ctor_set(x_2125, 1, x_2124); -x_2126 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_2105); -x_2127 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2127, 0, x_2105); -lean_ctor_set(x_2127, 1, x_2126); -x_2128 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1712); -lean_inc(x_1707); -x_2129 = l_Lean_addMacroScope(x_1707, x_2128, x_1712); -x_2130 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_2131 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_2105); -x_2132 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2132, 0, x_2105); -lean_ctor_set(x_2132, 1, x_2130); -lean_ctor_set(x_2132, 2, x_2129); -lean_ctor_set(x_2132, 3, x_2131); -x_2133 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; -x_2134 = l_Lean_addMacroScope(x_1707, x_2133, x_1712); -x_2135 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; -x_2136 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; -lean_inc(x_2105); -x_2137 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2137, 0, x_2105); -lean_ctor_set(x_2137, 1, x_2135); -lean_ctor_set(x_2137, 2, x_2134); -lean_ctor_set(x_2137, 3, x_2136); -x_2138 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_2139 = lean_array_push(x_2138, x_2119); -x_2140 = lean_array_push(x_2139, x_2102); -x_2141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2141, 0, x_2122); -lean_ctor_set(x_2141, 1, x_2140); -x_2142 = lean_array_push(x_2138, x_2137); -x_2143 = lean_array_push(x_2142, x_2141); -x_2144 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_2145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2145, 0, x_2144); -lean_ctor_set(x_2145, 1, x_2143); -x_2146 = lean_array_push(x_2138, x_2145); -x_2147 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_2148 = lean_array_push(x_2146, x_2147); -x_2149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2149, 0, x_2122); -lean_ctor_set(x_2149, 1, x_2148); -x_2150 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_2151 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2151, 0, x_2105); -lean_ctor_set(x_2151, 1, x_2150); -x_2152 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_2153 = lean_array_push(x_2152, x_2127); -lean_inc(x_2153); -x_2154 = lean_array_push(x_2153, x_2149); -lean_inc(x_2151); -x_2155 = lean_array_push(x_2154, x_2151); -x_2156 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_2157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2157, 0, x_2156); -lean_ctor_set(x_2157, 1, x_2155); -x_2158 = lean_array_push(x_2120, x_2157); -x_2159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2159, 0, x_2122); -lean_ctor_set(x_2159, 1, x_2158); -x_2160 = lean_array_push(x_2138, x_2132); -x_2161 = lean_array_push(x_2160, x_2159); -x_2162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2162, 0, x_2144); -lean_ctor_set(x_2162, 1, x_2161); -x_2163 = lean_array_push(x_2138, x_2162); -x_2164 = lean_array_push(x_2163, x_2147); -x_2165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2165, 0, x_2122); -lean_ctor_set(x_2165, 1, x_2164); -x_2166 = lean_array_push(x_2153, x_2165); -x_2167 = lean_array_push(x_2166, x_2151); -x_2168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2168, 0, x_2156); -lean_ctor_set(x_2168, 1, x_2167); -x_2169 = lean_array_push(x_2152, x_2123); -x_2170 = lean_array_push(x_2169, x_2125); -x_2171 = lean_array_push(x_2170, x_2168); -x_2172 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_2173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2173, 0, x_2172); -lean_ctor_set(x_2173, 1, x_2171); -x_2174 = lean_array_push(x_2138, x_2115); -x_2175 = lean_array_push(x_2174, x_2173); -x_2176 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_2177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2177, 0, x_2176); -lean_ctor_set(x_2177, 1, x_2175); -x_2178 = lean_array_push(x_2138, x_1); -x_2179 = lean_array_push(x_2178, x_2177); -x_2180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2180, 0, x_2122); -lean_ctor_set(x_2180, 1, x_2179); -x_2181 = lean_array_push(x_2138, x_2113); -x_2182 = lean_array_push(x_2181, x_2180); -x_2183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2183, 0, x_2144); -lean_ctor_set(x_2183, 1, x_2182); -if (lean_is_scalar(x_2107)) { - x_2184 = lean_alloc_ctor(0, 2, 0); -} else { - x_2184 = x_2107; -} -lean_ctor_set(x_2184, 0, x_2183); -lean_ctor_set(x_2184, 1, x_2106); -return x_2184; -} -default: -{ -lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; lean_object* x_2239; lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; -lean_dec(x_2); -x_2185 = lean_ctor_get(x_1719, 0); -lean_inc(x_2185); -x_2186 = lean_ctor_get(x_1719, 1); -lean_inc(x_2186); -lean_dec(x_1719); -x_2187 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_1718, x_2186); -lean_dec(x_1718); -x_2188 = lean_ctor_get(x_2187, 0); -lean_inc(x_2188); -x_2189 = lean_ctor_get(x_2187, 1); -lean_inc(x_2189); -if (lean_is_exclusive(x_2187)) { - lean_ctor_release(x_2187, 0); - lean_ctor_release(x_2187, 1); - x_2190 = x_2187; -} else { - lean_dec_ref(x_2187); - x_2190 = lean_box(0); -} -x_2191 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -lean_inc(x_1712); -lean_inc(x_1707); -x_2192 = l_Lean_addMacroScope(x_1707, x_2191, x_1712); -x_2193 = lean_box(0); -x_2194 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_2195 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_2188); -x_2196 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2196, 0, x_2188); -lean_ctor_set(x_2196, 1, x_2194); -lean_ctor_set(x_2196, 2, x_2192); -lean_ctor_set(x_2196, 3, x_2195); -x_2197 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_2188); -x_2198 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2198, 0, x_2188); -lean_ctor_set(x_2198, 1, x_2197); -x_2199 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__4; -lean_inc(x_1712); -lean_inc(x_1707); -x_2200 = l_Lean_addMacroScope(x_1707, x_2199, x_1712); -x_2201 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; -lean_inc(x_2188); -x_2202 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2202, 0, x_2188); -lean_ctor_set(x_2202, 1, x_2201); -lean_ctor_set(x_2202, 2, x_2200); -lean_ctor_set(x_2202, 3, x_2193); -x_2203 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_2202); -x_2204 = lean_array_push(x_2203, x_2202); -x_2205 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_2206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2206, 0, x_2205); -lean_ctor_set(x_2206, 1, x_2204); -x_2207 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_2188); -x_2208 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2208, 0, x_2188); -lean_ctor_set(x_2208, 1, x_2207); -x_2209 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_2188); -x_2210 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2210, 0, x_2188); -lean_ctor_set(x_2210, 1, x_2209); -x_2211 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1712); -lean_inc(x_1707); -x_2212 = l_Lean_addMacroScope(x_1707, x_2211, x_1712); -x_2213 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_2214 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_2188); -x_2215 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2215, 0, x_2188); -lean_ctor_set(x_2215, 1, x_2213); -lean_ctor_set(x_2215, 2, x_2212); -lean_ctor_set(x_2215, 3, x_2214); -x_2216 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__26; -x_2217 = l_Lean_addMacroScope(x_1707, x_2216, x_1712); -x_2218 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__25; -x_2219 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__28; -lean_inc(x_2188); -x_2220 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2220, 0, x_2188); -lean_ctor_set(x_2220, 1, x_2218); -lean_ctor_set(x_2220, 2, x_2217); -lean_ctor_set(x_2220, 3, x_2219); -x_2221 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_2222 = lean_array_push(x_2221, x_2202); -x_2223 = lean_array_push(x_2222, x_2185); -x_2224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2224, 0, x_2205); -lean_ctor_set(x_2224, 1, x_2223); -x_2225 = lean_array_push(x_2221, x_2220); -x_2226 = lean_array_push(x_2225, x_2224); -x_2227 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_2228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2228, 0, x_2227); -lean_ctor_set(x_2228, 1, x_2226); -x_2229 = lean_array_push(x_2221, x_2228); -x_2230 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_2231 = lean_array_push(x_2229, x_2230); -x_2232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2232, 0, x_2205); -lean_ctor_set(x_2232, 1, x_2231); -x_2233 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_2234 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2234, 0, x_2188); -lean_ctor_set(x_2234, 1, x_2233); -x_2235 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_2236 = lean_array_push(x_2235, x_2210); -lean_inc(x_2236); -x_2237 = lean_array_push(x_2236, x_2232); -lean_inc(x_2234); -x_2238 = lean_array_push(x_2237, x_2234); -x_2239 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_2240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2240, 0, x_2239); -lean_ctor_set(x_2240, 1, x_2238); -x_2241 = lean_array_push(x_2203, x_2240); -x_2242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2242, 0, x_2205); -lean_ctor_set(x_2242, 1, x_2241); -x_2243 = lean_array_push(x_2221, x_2215); -x_2244 = lean_array_push(x_2243, x_2242); -x_2245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2245, 0, x_2227); -lean_ctor_set(x_2245, 1, x_2244); -x_2246 = lean_array_push(x_2221, x_2245); -x_2247 = lean_array_push(x_2246, x_2230); -x_2248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2248, 0, x_2205); -lean_ctor_set(x_2248, 1, x_2247); -x_2249 = lean_array_push(x_2236, x_2248); -x_2250 = lean_array_push(x_2249, x_2234); -x_2251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2251, 0, x_2239); -lean_ctor_set(x_2251, 1, x_2250); -x_2252 = lean_array_push(x_2235, x_2206); -x_2253 = lean_array_push(x_2252, x_2208); -x_2254 = lean_array_push(x_2253, x_2251); -x_2255 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_2256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2256, 0, x_2255); -lean_ctor_set(x_2256, 1, x_2254); -x_2257 = lean_array_push(x_2221, x_2198); -x_2258 = lean_array_push(x_2257, x_2256); -x_2259 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_2260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2260, 0, x_2259); -lean_ctor_set(x_2260, 1, x_2258); -x_2261 = lean_array_push(x_2221, x_1); -x_2262 = lean_array_push(x_2261, x_2260); -x_2263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2263, 0, x_2205); -lean_ctor_set(x_2263, 1, x_2262); -x_2264 = lean_array_push(x_2221, x_2196); -x_2265 = lean_array_push(x_2264, x_2263); -x_2266 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2266, 0, x_2227); -lean_ctor_set(x_2266, 1, x_2265); -if (lean_is_scalar(x_2190)) { - x_2267 = lean_alloc_ctor(0, 2, 0); -} else { - x_2267 = x_2190; -} -lean_ctor_set(x_2267, 0, x_2266); -lean_ctor_set(x_2267, 1, x_2189); -return x_2267; -} -} -} -else -{ -lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; -lean_dec(x_1718); -lean_dec(x_1712); -lean_dec(x_1707); -lean_dec(x_2); -lean_dec(x_1); -x_2268 = lean_ctor_get(x_1719, 0); -lean_inc(x_2268); -x_2269 = lean_ctor_get(x_1719, 1); -lean_inc(x_2269); -if (lean_is_exclusive(x_1719)) { - lean_ctor_release(x_1719, 0); - lean_ctor_release(x_1719, 1); - x_2270 = x_1719; -} else { - lean_dec_ref(x_1719); - x_2270 = lean_box(0); -} -if (lean_is_scalar(x_2270)) { - x_2271 = lean_alloc_ctor(1, 2, 0); -} else { - x_2271 = x_2270; -} -lean_ctor_set(x_2271, 0, x_2268); -lean_ctor_set(x_2271, 1, x_2269); -return x_2271; -} +x_559 = lean_ctor_get(x_17, 0); +lean_inc(x_559); +x_560 = lean_ctor_get(x_17, 1); +lean_inc(x_560); +lean_dec(x_17); +x_561 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_561, 0, x_559); +lean_ctor_set(x_561, 1, x_560); +return x_561; } } } @@ -36537,40 +23325,47 @@ return x_1; lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTerm(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; uint8_t x_8; uint8_t x_9; +lean_object* x_6; lean_object* x_7; uint8_t 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_inc(x_1); x_6 = l_Lean_Syntax_getKind(x_1); x_7 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__2; x_8 = lean_name_eq(x_6, x_7); -x_9 = !lean_is_exclusive(x_4); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_10 = lean_ctor_get(x_4, 0); -x_11 = lean_ctor_get(x_4, 1); -x_12 = lean_ctor_get(x_4, 3); -x_13 = lean_ctor_get(x_4, 4); -x_14 = lean_ctor_get(x_4, 5); -x_15 = lean_ctor_get(x_4, 2); -lean_dec(x_15); -x_16 = l_Lean_replaceRef(x_1, x_14); -lean_dec(x_14); -x_17 = !lean_is_exclusive(x_5); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_5, 0); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_18, x_19); -lean_ctor_set(x_5, 0, x_20); -lean_inc(x_16); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_18); -lean_inc(x_11); +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_4, 1); lean_inc(x_10); -lean_ctor_set(x_4, 5, x_16); -lean_ctor_set(x_4, 2, x_18); +x_11 = lean_ctor_get(x_4, 3); +lean_inc(x_11); +x_12 = lean_ctor_get(x_4, 4); +lean_inc(x_12); +x_13 = lean_ctor_get(x_4, 5); +lean_inc(x_13); +lean_dec(x_4); +x_14 = l_Lean_replaceRef(x_1, x_13); +lean_dec(x_13); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +lean_dec(x_5); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_15, x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_16); +lean_inc(x_14); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_15); +lean_inc(x_10); +lean_inc(x_9); +x_20 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_20, 0, x_9); +lean_ctor_set(x_20, 1, x_10); +lean_ctor_set(x_20, 2, x_15); +lean_ctor_set(x_20, 3, x_11); +lean_ctor_set(x_20, 4, x_12); +lean_ctor_set(x_20, 5, x_14); if (x_8 == 0) { lean_object* x_21; uint8_t x_22; @@ -36579,19 +23374,19 @@ x_22 = lean_name_eq(x_6, x_21); lean_dec(x_6); if (x_22 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 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; uint8_t x_65; -x_23 = l_Lean_replaceRef(x_1, x_16); -lean_dec(x_16); -lean_inc(x_18); -lean_inc(x_11); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_23 = l_Lean_replaceRef(x_1, x_14); +lean_dec(x_14); +lean_inc(x_15); +lean_inc(x_10); x_24 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_24, 0, x_10); -lean_ctor_set(x_24, 1, x_11); -lean_ctor_set(x_24, 2, x_18); -lean_ctor_set(x_24, 3, x_12); -lean_ctor_set(x_24, 4, x_13); +lean_ctor_set(x_24, 0, x_9); +lean_ctor_set(x_24, 1, x_10); +lean_ctor_set(x_24, 2, x_15); +lean_ctor_set(x_24, 3, x_11); +lean_ctor_set(x_24, 4, x_12); lean_ctor_set(x_24, 5, x_23); -x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_24, x_5); +x_25 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_24, x_19); lean_dec(x_24); x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); @@ -36612,9 +23407,9 @@ x_32 = lean_ctor_get(x_3, 0); lean_inc(x_32); lean_dec(x_3); x_33 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; -lean_inc(x_18); -lean_inc(x_11); -x_34 = l_Lean_addMacroScope(x_11, x_33, x_18); +lean_inc(x_15); +lean_inc(x_10); +x_34 = l_Lean_addMacroScope(x_10, x_33, x_15); x_35 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; x_36 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__16; lean_inc(x_34); @@ -36664,49 +23459,49 @@ x_62 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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); -x_64 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_4, x_27); -lean_dec(x_4); -x_65 = !lean_is_exclusive(x_64); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_66 = lean_ctor_get(x_64, 0); +x_64 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_20, x_27); +lean_dec(x_20); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); x_67 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -x_68 = l_Lean_addMacroScope(x_11, x_67, x_18); +x_68 = l_Lean_addMacroScope(x_10, x_67, x_15); x_69 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; x_70 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__6; -lean_inc(x_66); +lean_inc(x_65); x_71 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_71, 0, x_66); +lean_ctor_set(x_71, 0, x_65); lean_ctor_set(x_71, 1, x_69); lean_ctor_set(x_71, 2, x_68); lean_ctor_set(x_71, 3, x_70); -lean_inc(x_66); +lean_inc(x_65); x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_66); +lean_ctor_set(x_72, 0, x_65); lean_ctor_set(x_72, 1, x_28); x_73 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_66); +lean_inc(x_65); x_74 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_74, 0, x_66); +lean_ctor_set(x_74, 0, x_65); lean_ctor_set(x_74, 1, x_73); x_75 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_66); +lean_inc(x_65); x_76 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_76, 0, x_66); +lean_ctor_set(x_76, 0, x_65); lean_ctor_set(x_76, 1, x_75); x_77 = lean_array_push(x_38, x_76); x_78 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); -lean_inc(x_66); +lean_inc(x_65); x_80 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_80, 0, x_66); +lean_ctor_set(x_80, 0, x_65); lean_ctor_set(x_80, 1, x_30); -lean_inc(x_66); +lean_inc(x_65); x_81 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_81, 0, x_66); +lean_ctor_set(x_81, 0, x_65); lean_ctor_set(x_81, 1, x_35); lean_ctor_set(x_81, 2, x_34); lean_ctor_set(x_81, 3, x_36); @@ -36724,9 +23519,9 @@ x_88 = lean_array_push(x_87, x_86); x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_40); lean_ctor_set(x_89, 1, x_88); -lean_inc(x_66); +lean_inc(x_65); x_90 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_90, 0, x_66); +lean_ctor_set(x_90, 0, x_65); lean_ctor_set(x_90, 1, x_56); x_91 = lean_array_push(x_58, x_72); lean_inc(x_91); @@ -36742,7 +23537,7 @@ lean_ctor_set(x_96, 0, x_40); lean_ctor_set(x_96, 1, x_95); x_97 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; x_98 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_98, 0, x_66); +lean_ctor_set(x_98, 0, x_65); lean_ctor_set(x_98, 1, x_97); x_99 = lean_array_push(x_58, x_96); x_100 = lean_array_push(x_99, x_98); @@ -36778,1060 +23573,108 @@ x_119 = lean_array_push(x_118, x_117); x_120 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_120, 0, x_45); lean_ctor_set(x_120, 1, x_119); -lean_ctor_set(x_64, 0, x_120); -return x_64; +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_66); +return x_121; } else { -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; 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_121 = lean_ctor_get(x_64, 0); -x_122 = lean_ctor_get(x_64, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_64); -x_123 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -x_124 = l_Lean_addMacroScope(x_11, x_123, x_18); -x_125 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_126 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__6; -lean_inc(x_121); -x_127 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_127, 0, x_121); -lean_ctor_set(x_127, 1, x_125); -lean_ctor_set(x_127, 2, x_124); -lean_ctor_set(x_127, 3, x_126); -lean_inc(x_121); -x_128 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_128, 0, x_121); -lean_ctor_set(x_128, 1, x_28); -x_129 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_121); -x_130 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_130, 0, x_121); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_121); -x_132 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_132, 0, x_121); -lean_ctor_set(x_132, 1, x_131); -x_133 = lean_array_push(x_38, x_132); -x_134 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_133); -lean_inc(x_121); -x_136 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_136, 0, x_121); -lean_ctor_set(x_136, 1, x_30); -lean_inc(x_121); -x_137 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_137, 0, x_121); -lean_ctor_set(x_137, 1, x_35); -lean_ctor_set(x_137, 2, x_34); -lean_ctor_set(x_137, 3, x_36); -x_138 = lean_array_push(x_42, x_136); -x_139 = lean_array_push(x_138, x_137); +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_dec(x_15); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_122 = l_Lean_Syntax_getArg(x_1, x_17); +lean_dec(x_1); +x_123 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_20, x_19); +lean_dec(x_20); +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec(x_123); +x_126 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__9; +lean_inc(x_124); +x_127 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_127, 0, x_124); +lean_ctor_set(x_127, 1, x_126); +x_128 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +x_129 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_129, 0, x_124); +lean_ctor_set(x_129, 1, x_128); +x_130 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_131 = lean_array_push(x_130, x_129); +x_132 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_135 = lean_array_push(x_134, x_127); +x_136 = lean_array_push(x_135, x_122); +x_137 = lean_array_push(x_136, x_133); +x_138 = lean_array_push(x_137, x_2); +x_139 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__8; x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_49); -lean_ctor_set(x_140, 1, x_139); -x_141 = lean_array_push(x_38, x_140); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_40); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_array_push(x_42, x_135); -x_144 = lean_array_push(x_143, x_142); -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_40); -lean_ctor_set(x_145, 1, x_144); -lean_inc(x_121); -x_146 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_146, 0, x_121); -lean_ctor_set(x_146, 1, x_56); -x_147 = lean_array_push(x_58, x_128); -lean_inc(x_147); -x_148 = lean_array_push(x_147, x_145); -lean_inc(x_146); -x_149 = lean_array_push(x_148, x_146); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_62); -lean_ctor_set(x_150, 1, x_149); -x_151 = lean_array_push(x_38, x_150); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_40); -lean_ctor_set(x_152, 1, x_151); -x_153 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -x_154 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_154, 0, x_121); -lean_ctor_set(x_154, 1, x_153); -x_155 = lean_array_push(x_58, x_152); -x_156 = lean_array_push(x_155, x_154); -x_157 = lean_array_push(x_156, x_2); -x_158 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -x_160 = lean_array_push(x_42, x_130); -x_161 = lean_array_push(x_160, x_159); -x_162 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_161); -x_164 = lean_array_push(x_42, x_163); -x_165 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_166 = lean_array_push(x_164, x_165); -x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_40); -lean_ctor_set(x_167, 1, x_166); -x_168 = lean_array_push(x_147, x_167); -x_169 = lean_array_push(x_168, x_146); -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_62); -lean_ctor_set(x_170, 1, x_169); -x_171 = lean_array_push(x_42, x_63); -x_172 = lean_array_push(x_171, x_170); -x_173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_173, 0, x_40); -lean_ctor_set(x_173, 1, x_172); -x_174 = lean_array_push(x_42, x_127); -x_175 = lean_array_push(x_174, x_173); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_45); -lean_ctor_set(x_176, 1, x_175); -x_177 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_122); -return x_177; +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_138); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_125); +return x_141; } } else { -lean_object* x_178; lean_object* x_179; uint8_t x_180; -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_3); -x_178 = l_Lean_Syntax_getArg(x_1, x_19); -lean_dec(x_1); -x_179 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_4, x_5); -lean_dec(x_4); -x_180 = !lean_is_exclusive(x_179); -if (x_180 == 0) -{ -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; -x_181 = lean_ctor_get(x_179, 0); -x_182 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__9; -lean_inc(x_181); -x_183 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_182); -x_184 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_185 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_185, 0, x_181); -lean_ctor_set(x_185, 1, x_184); -x_186 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_187 = lean_array_push(x_186, x_185); -x_188 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_187); -x_190 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_191 = lean_array_push(x_190, x_183); -x_192 = lean_array_push(x_191, x_178); -x_193 = lean_array_push(x_192, x_189); -x_194 = lean_array_push(x_193, x_2); -x_195 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__8; -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_194); -lean_ctor_set(x_179, 0, x_196); -return x_179; -} -else -{ -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; -x_197 = lean_ctor_get(x_179, 0); -x_198 = lean_ctor_get(x_179, 1); -lean_inc(x_198); -lean_inc(x_197); -lean_dec(x_179); -x_199 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__9; -lean_inc(x_197); -x_200 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_200, 0, x_197); -lean_ctor_set(x_200, 1, x_199); -x_201 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_202 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_202, 0, x_197); -lean_ctor_set(x_202, 1, x_201); -x_203 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_204 = lean_array_push(x_203, x_202); -x_205 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set(x_206, 1, x_204); -x_207 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_208 = lean_array_push(x_207, x_200); -x_209 = lean_array_push(x_208, x_178); -x_210 = lean_array_push(x_209, x_206); -x_211 = lean_array_push(x_210, x_2); -x_212 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__8; -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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_198); -return x_214; -} -} -} -else -{ -lean_object* x_215; lean_object* x_216; uint8_t x_217; -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_13); +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_dec(x_15); +lean_dec(x_14); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_6); lean_dec(x_3); -x_215 = l_Lean_Syntax_getArg(x_1, x_19); +x_142 = l_Lean_Syntax_getArg(x_1, x_17); lean_dec(x_1); -x_216 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_4, x_5); -lean_dec(x_4); -x_217 = !lean_is_exclusive(x_216); -if (x_217 == 0) -{ -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; -x_218 = lean_ctor_get(x_216, 0); -x_219 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__12; -lean_inc(x_218); -x_220 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_220, 0, x_218); -lean_ctor_set(x_220, 1, x_219); -x_221 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_222 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_222, 0, x_218); -lean_ctor_set(x_222, 1, x_221); -x_223 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_224 = lean_array_push(x_223, x_222); -x_225 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_228 = lean_array_push(x_227, x_220); -x_229 = lean_array_push(x_228, x_215); -x_230 = lean_array_push(x_229, x_226); -x_231 = lean_array_push(x_230, x_2); -x_232 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__11; -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_231); -lean_ctor_set(x_216, 0, x_233); -return x_216; -} -else -{ -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; -x_234 = lean_ctor_get(x_216, 0); -x_235 = lean_ctor_get(x_216, 1); -lean_inc(x_235); -lean_inc(x_234); -lean_dec(x_216); -x_236 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__12; -lean_inc(x_234); -x_237 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_237, 0, x_234); -lean_ctor_set(x_237, 1, x_236); -x_238 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_239 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_239, 0, x_234); -lean_ctor_set(x_239, 1, x_238); -x_240 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_241 = lean_array_push(x_240, x_239); -x_242 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_241); -x_244 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_245 = lean_array_push(x_244, x_237); -x_246 = lean_array_push(x_245, x_215); -x_247 = lean_array_push(x_246, x_243); -x_248 = lean_array_push(x_247, x_2); -x_249 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__11; -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_249); -lean_ctor_set(x_250, 1, x_248); -x_251 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_251, 0, x_250); -lean_ctor_set(x_251, 1, x_235); -return x_251; -} -} -} -else -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_252 = lean_ctor_get(x_5, 0); -x_253 = lean_ctor_get(x_5, 1); -lean_inc(x_253); -lean_inc(x_252); -lean_dec(x_5); -x_254 = lean_unsigned_to_nat(1u); -x_255 = lean_nat_add(x_252, x_254); -x_256 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_256, 0, x_255); -lean_ctor_set(x_256, 1, x_253); -lean_inc(x_16); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_252); -lean_inc(x_11); -lean_inc(x_10); -lean_ctor_set(x_4, 5, x_16); -lean_ctor_set(x_4, 2, x_252); -if (x_8 == 0) -{ -lean_object* x_257; uint8_t x_258; -x_257 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__4; -x_258 = lean_name_eq(x_6, x_257); -lean_dec(x_6); -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; 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; 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; -x_259 = l_Lean_replaceRef(x_1, x_16); -lean_dec(x_16); -lean_inc(x_252); -lean_inc(x_11); -x_260 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_260, 0, x_10); -lean_ctor_set(x_260, 1, x_11); -lean_ctor_set(x_260, 2, x_252); -lean_ctor_set(x_260, 3, x_12); -lean_ctor_set(x_260, 4, x_13); -lean_ctor_set(x_260, 5, x_259); -x_261 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_260, x_256); -lean_dec(x_260); -x_262 = lean_ctor_get(x_261, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); -lean_inc(x_263); -lean_dec(x_261); -x_264 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_262); -x_265 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_265, 0, x_262); -lean_ctor_set(x_265, 1, x_264); -x_266 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_262); -x_267 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_267, 0, x_262); -lean_ctor_set(x_267, 1, x_266); -x_268 = lean_ctor_get(x_3, 0); -lean_inc(x_268); -lean_dec(x_3); -x_269 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; -lean_inc(x_252); -lean_inc(x_11); -x_270 = l_Lean_addMacroScope(x_11, x_269, x_252); -x_271 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; -x_272 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__16; -lean_inc(x_270); -lean_inc(x_262); -x_273 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_273, 0, x_262); -lean_ctor_set(x_273, 1, x_271); -lean_ctor_set(x_273, 2, x_270); -lean_ctor_set(x_273, 3, x_272); -x_274 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_275 = lean_array_push(x_274, x_273); -x_276 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_276); -lean_ctor_set(x_277, 1, x_275); -x_278 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_279 = lean_array_push(x_278, x_268); -x_280 = lean_array_push(x_279, x_277); -x_281 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_281); -lean_ctor_set(x_282, 1, x_280); -x_283 = lean_array_push(x_278, x_267); -x_284 = lean_array_push(x_283, x_282); -x_285 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_284); -x_287 = lean_array_push(x_274, x_286); -x_288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_288, 0, x_276); -lean_ctor_set(x_288, 1, x_287); -x_289 = lean_array_push(x_278, x_1); -x_290 = lean_array_push(x_289, x_288); -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_276); -lean_ctor_set(x_291, 1, x_290); -x_292 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_293 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_293, 0, x_262); -lean_ctor_set(x_293, 1, x_292); -x_294 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_295 = lean_array_push(x_294, x_265); -x_296 = lean_array_push(x_295, x_291); -x_297 = lean_array_push(x_296, x_293); -x_298 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_4, x_263); -lean_dec(x_4); -x_301 = lean_ctor_get(x_300, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_300, 1); -lean_inc(x_302); -if (lean_is_exclusive(x_300)) { - lean_ctor_release(x_300, 0); - lean_ctor_release(x_300, 1); - x_303 = x_300; -} else { - lean_dec_ref(x_300); - x_303 = lean_box(0); -} -x_304 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -x_305 = l_Lean_addMacroScope(x_11, x_304, x_252); -x_306 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_307 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__6; -lean_inc(x_301); -x_308 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_308, 0, x_301); -lean_ctor_set(x_308, 1, x_306); -lean_ctor_set(x_308, 2, x_305); -lean_ctor_set(x_308, 3, x_307); -lean_inc(x_301); -x_309 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_309, 0, x_301); -lean_ctor_set(x_309, 1, x_264); -x_310 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_301); -x_311 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_311, 0, x_301); -lean_ctor_set(x_311, 1, x_310); -x_312 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_301); -x_313 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_313, 0, x_301); -lean_ctor_set(x_313, 1, x_312); -x_314 = lean_array_push(x_274, x_313); -x_315 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -x_316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_314); -lean_inc(x_301); -x_317 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_317, 0, x_301); -lean_ctor_set(x_317, 1, x_266); -lean_inc(x_301); -x_318 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_318, 0, x_301); -lean_ctor_set(x_318, 1, x_271); -lean_ctor_set(x_318, 2, x_270); -lean_ctor_set(x_318, 3, x_272); -x_319 = lean_array_push(x_278, x_317); -x_320 = lean_array_push(x_319, x_318); -x_321 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_321, 0, x_285); -lean_ctor_set(x_321, 1, x_320); -x_322 = lean_array_push(x_274, x_321); -x_323 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_323, 0, x_276); -lean_ctor_set(x_323, 1, x_322); -x_324 = lean_array_push(x_278, x_316); -x_325 = lean_array_push(x_324, x_323); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_276); -lean_ctor_set(x_326, 1, x_325); -lean_inc(x_301); -x_327 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_327, 0, x_301); -lean_ctor_set(x_327, 1, x_292); -x_328 = lean_array_push(x_294, x_309); -lean_inc(x_328); -x_329 = lean_array_push(x_328, x_326); -lean_inc(x_327); -x_330 = lean_array_push(x_329, x_327); -x_331 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_331, 0, x_298); -lean_ctor_set(x_331, 1, x_330); -x_332 = lean_array_push(x_274, x_331); -x_333 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_333, 0, x_276); -lean_ctor_set(x_333, 1, x_332); -x_334 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -x_335 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_335, 0, x_301); -lean_ctor_set(x_335, 1, x_334); -x_336 = lean_array_push(x_294, x_333); -x_337 = lean_array_push(x_336, x_335); -x_338 = lean_array_push(x_337, x_2); -x_339 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_340, 0, x_339); -lean_ctor_set(x_340, 1, x_338); -x_341 = lean_array_push(x_278, x_311); -x_342 = lean_array_push(x_341, x_340); -x_343 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_342); -x_345 = lean_array_push(x_278, x_344); -x_346 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_347 = lean_array_push(x_345, x_346); -x_348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_348, 0, x_276); -lean_ctor_set(x_348, 1, x_347); -x_349 = lean_array_push(x_328, x_348); -x_350 = lean_array_push(x_349, x_327); -x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_298); -lean_ctor_set(x_351, 1, x_350); -x_352 = lean_array_push(x_278, x_299); -x_353 = lean_array_push(x_352, x_351); -x_354 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_354, 0, x_276); -lean_ctor_set(x_354, 1, x_353); -x_355 = lean_array_push(x_278, x_308); -x_356 = lean_array_push(x_355, x_354); -x_357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_357, 0, x_281); -lean_ctor_set(x_357, 1, x_356); -if (lean_is_scalar(x_303)) { - x_358 = lean_alloc_ctor(0, 2, 0); -} else { - x_358 = x_303; -} -lean_ctor_set(x_358, 0, x_357); -lean_ctor_set(x_358, 1, x_302); -return x_358; -} -else -{ -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_dec(x_252); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_3); -x_359 = l_Lean_Syntax_getArg(x_1, x_254); -lean_dec(x_1); -x_360 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_4, x_256); -lean_dec(x_4); -x_361 = lean_ctor_get(x_360, 0); -lean_inc(x_361); -x_362 = lean_ctor_get(x_360, 1); -lean_inc(x_362); -if (lean_is_exclusive(x_360)) { - lean_ctor_release(x_360, 0); - lean_ctor_release(x_360, 1); - x_363 = x_360; -} else { - lean_dec_ref(x_360); - x_363 = lean_box(0); -} -x_364 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__9; -lean_inc(x_361); -x_365 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_365, 0, x_361); -lean_ctor_set(x_365, 1, x_364); -x_366 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_367 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_367, 0, x_361); -lean_ctor_set(x_367, 1, x_366); -x_368 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_369 = lean_array_push(x_368, x_367); -x_370 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_371 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_369); -x_372 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_373 = lean_array_push(x_372, x_365); -x_374 = lean_array_push(x_373, x_359); -x_375 = lean_array_push(x_374, x_371); -x_376 = lean_array_push(x_375, x_2); -x_377 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__8; -x_378 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_376); -if (lean_is_scalar(x_363)) { - x_379 = lean_alloc_ctor(0, 2, 0); -} else { - x_379 = x_363; -} -lean_ctor_set(x_379, 0, x_378); -lean_ctor_set(x_379, 1, x_362); -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; 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_dec(x_252); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_3); -x_380 = l_Lean_Syntax_getArg(x_1, x_254); -lean_dec(x_1); -x_381 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_4, x_256); -lean_dec(x_4); -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_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__12; -lean_inc(x_382); -x_386 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_386, 0, x_382); -lean_ctor_set(x_386, 1, x_385); -x_387 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_388 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_388, 0, x_382); -lean_ctor_set(x_388, 1, x_387); -x_389 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_390 = lean_array_push(x_389, x_388); -x_391 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_392, 0, x_391); -lean_ctor_set(x_392, 1, x_390); -x_393 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_394 = lean_array_push(x_393, x_386); -x_395 = lean_array_push(x_394, x_380); -x_396 = lean_array_push(x_395, x_392); -x_397 = lean_array_push(x_396, x_2); -x_398 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__11; -x_399 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_399, 0, x_398); -lean_ctor_set(x_399, 1, x_397); -if (lean_is_scalar(x_384)) { - x_400 = lean_alloc_ctor(0, 2, 0); -} else { - x_400 = x_384; -} -lean_ctor_set(x_400, 0, x_399); -lean_ctor_set(x_400, 1, x_383); -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; -x_401 = lean_ctor_get(x_4, 0); -x_402 = lean_ctor_get(x_4, 1); -x_403 = lean_ctor_get(x_4, 3); -x_404 = lean_ctor_get(x_4, 4); -x_405 = lean_ctor_get(x_4, 5); -lean_inc(x_405); -lean_inc(x_404); -lean_inc(x_403); -lean_inc(x_402); -lean_inc(x_401); -lean_dec(x_4); -x_406 = l_Lean_replaceRef(x_1, x_405); -lean_dec(x_405); -x_407 = lean_ctor_get(x_5, 0); -lean_inc(x_407); -x_408 = lean_ctor_get(x_5, 1); -lean_inc(x_408); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - x_409 = x_5; -} else { - lean_dec_ref(x_5); - x_409 = lean_box(0); -} -x_410 = lean_unsigned_to_nat(1u); -x_411 = lean_nat_add(x_407, x_410); -if (lean_is_scalar(x_409)) { - x_412 = lean_alloc_ctor(0, 2, 0); -} else { - x_412 = x_409; -} -lean_ctor_set(x_412, 0, x_411); -lean_ctor_set(x_412, 1, x_408); -lean_inc(x_406); -lean_inc(x_404); -lean_inc(x_403); -lean_inc(x_407); -lean_inc(x_402); -lean_inc(x_401); -x_413 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_413, 0, x_401); -lean_ctor_set(x_413, 1, x_402); -lean_ctor_set(x_413, 2, x_407); -lean_ctor_set(x_413, 3, x_403); -lean_ctor_set(x_413, 4, x_404); -lean_ctor_set(x_413, 5, x_406); -if (x_8 == 0) -{ -lean_object* x_414; uint8_t x_415; -x_414 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__4; -x_415 = lean_name_eq(x_6, x_414); -lean_dec(x_6); -if (x_415 == 0) -{ -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; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; -x_416 = l_Lean_replaceRef(x_1, x_406); -lean_dec(x_406); -lean_inc(x_407); -lean_inc(x_402); -x_417 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_417, 0, x_401); -lean_ctor_set(x_417, 1, x_402); -lean_ctor_set(x_417, 2, x_407); -lean_ctor_set(x_417, 3, x_403); -lean_ctor_set(x_417, 4, x_404); -lean_ctor_set(x_417, 5, x_416); -x_418 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_417, x_412); -lean_dec(x_417); -x_419 = lean_ctor_get(x_418, 0); -lean_inc(x_419); -x_420 = lean_ctor_get(x_418, 1); -lean_inc(x_420); -lean_dec(x_418); -x_421 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_419); -x_422 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_422, 0, x_419); -lean_ctor_set(x_422, 1, x_421); -x_423 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_419); -x_424 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_424, 0, x_419); -lean_ctor_set(x_424, 1, x_423); -x_425 = lean_ctor_get(x_3, 0); -lean_inc(x_425); -lean_dec(x_3); -x_426 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__14; -lean_inc(x_407); -lean_inc(x_402); -x_427 = l_Lean_addMacroScope(x_402, x_426, x_407); -x_428 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__13; -x_429 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__16; -lean_inc(x_427); -lean_inc(x_419); -x_430 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_430, 0, x_419); -lean_ctor_set(x_430, 1, x_428); -lean_ctor_set(x_430, 2, x_427); -lean_ctor_set(x_430, 3, x_429); -x_431 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_432 = lean_array_push(x_431, x_430); -x_433 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_434 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_434, 0, x_433); -lean_ctor_set(x_434, 1, x_432); -x_435 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_436 = lean_array_push(x_435, x_425); -x_437 = lean_array_push(x_436, x_434); -x_438 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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 = lean_array_push(x_435, x_424); -x_441 = lean_array_push(x_440, x_439); -x_442 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_443, 0, x_442); -lean_ctor_set(x_443, 1, x_441); -x_444 = lean_array_push(x_431, x_443); -x_445 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_445, 0, x_433); -lean_ctor_set(x_445, 1, x_444); -x_446 = lean_array_push(x_435, x_1); -x_447 = lean_array_push(x_446, x_445); -x_448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_448, 0, x_433); -lean_ctor_set(x_448, 1, x_447); -x_449 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_450 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_450, 0, x_419); -lean_ctor_set(x_450, 1, x_449); -x_451 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_452 = lean_array_push(x_451, x_422); -x_453 = lean_array_push(x_452, x_448); -x_454 = lean_array_push(x_453, x_450); -x_455 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_456 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_456, 0, x_455); -lean_ctor_set(x_456, 1, x_454); -x_457 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_413, x_420); -lean_dec(x_413); -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); -} -x_461 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -x_462 = l_Lean_addMacroScope(x_402, x_461, x_407); -x_463 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_464 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__6; -lean_inc(x_458); -x_465 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_465, 0, x_458); -lean_ctor_set(x_465, 1, x_463); -lean_ctor_set(x_465, 2, x_462); -lean_ctor_set(x_465, 3, x_464); -lean_inc(x_458); -x_466 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_466, 0, x_458); -lean_ctor_set(x_466, 1, x_421); -x_467 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_458); -x_468 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_468, 0, x_458); -lean_ctor_set(x_468, 1, x_467); -x_469 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_458); -x_470 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_470, 0, x_458); -lean_ctor_set(x_470, 1, x_469); -x_471 = lean_array_push(x_431, x_470); -x_472 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -x_473 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_473, 0, x_472); -lean_ctor_set(x_473, 1, x_471); -lean_inc(x_458); -x_474 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_474, 0, x_458); -lean_ctor_set(x_474, 1, x_423); -lean_inc(x_458); -x_475 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_475, 0, x_458); -lean_ctor_set(x_475, 1, x_428); -lean_ctor_set(x_475, 2, x_427); -lean_ctor_set(x_475, 3, x_429); -x_476 = lean_array_push(x_435, x_474); -x_477 = lean_array_push(x_476, x_475); -x_478 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_478, 0, x_442); -lean_ctor_set(x_478, 1, x_477); -x_479 = lean_array_push(x_431, x_478); -x_480 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_480, 0, x_433); -lean_ctor_set(x_480, 1, x_479); -x_481 = lean_array_push(x_435, x_473); -x_482 = lean_array_push(x_481, x_480); -x_483 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_483, 0, x_433); -lean_ctor_set(x_483, 1, x_482); -lean_inc(x_458); -x_484 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_484, 0, x_458); -lean_ctor_set(x_484, 1, x_449); -x_485 = lean_array_push(x_451, x_466); -lean_inc(x_485); -x_486 = lean_array_push(x_485, x_483); -lean_inc(x_484); -x_487 = lean_array_push(x_486, x_484); -x_488 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_488, 0, x_455); -lean_ctor_set(x_488, 1, x_487); -x_489 = lean_array_push(x_431, x_488); -x_490 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_490, 0, x_433); -lean_ctor_set(x_490, 1, x_489); -x_491 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -x_492 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_492, 0, x_458); -lean_ctor_set(x_492, 1, x_491); -x_493 = lean_array_push(x_451, x_490); -x_494 = lean_array_push(x_493, x_492); -x_495 = lean_array_push(x_494, x_2); -x_496 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_497 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_497, 0, x_496); -lean_ctor_set(x_497, 1, x_495); -x_498 = lean_array_push(x_435, x_468); -x_499 = lean_array_push(x_498, x_497); -x_500 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_501 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_501, 0, x_500); -lean_ctor_set(x_501, 1, x_499); -x_502 = lean_array_push(x_435, x_501); -x_503 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_504 = lean_array_push(x_502, x_503); -x_505 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_505, 0, x_433); -lean_ctor_set(x_505, 1, x_504); -x_506 = lean_array_push(x_485, x_505); -x_507 = lean_array_push(x_506, x_484); -x_508 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_508, 0, x_455); -lean_ctor_set(x_508, 1, x_507); -x_509 = lean_array_push(x_435, x_456); -x_510 = lean_array_push(x_509, x_508); -x_511 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_511, 0, x_433); -lean_ctor_set(x_511, 1, x_510); -x_512 = lean_array_push(x_435, x_465); -x_513 = lean_array_push(x_512, x_511); -x_514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_514, 0, x_438); -lean_ctor_set(x_514, 1, x_513); -if (lean_is_scalar(x_460)) { - x_515 = lean_alloc_ctor(0, 2, 0); -} else { - x_515 = x_460; -} -lean_ctor_set(x_515, 0, x_514); -lean_ctor_set(x_515, 1, x_459); -return x_515; -} -else -{ -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_dec(x_407); -lean_dec(x_406); -lean_dec(x_404); -lean_dec(x_403); -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_3); -x_516 = l_Lean_Syntax_getArg(x_1, x_410); -lean_dec(x_1); -x_517 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_413, x_412); -lean_dec(x_413); -x_518 = lean_ctor_get(x_517, 0); -lean_inc(x_518); -x_519 = lean_ctor_get(x_517, 1); -lean_inc(x_519); -if (lean_is_exclusive(x_517)) { - lean_ctor_release(x_517, 0); - lean_ctor_release(x_517, 1); - x_520 = x_517; -} else { - lean_dec_ref(x_517); - x_520 = lean_box(0); -} -x_521 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__9; -lean_inc(x_518); -x_522 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_522, 0, x_518); -lean_ctor_set(x_522, 1, x_521); -x_523 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_524 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_524, 0, x_518); -lean_ctor_set(x_524, 1, x_523); -x_525 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_526 = lean_array_push(x_525, x_524); -x_527 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_528 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_528, 0, x_527); -lean_ctor_set(x_528, 1, x_526); -x_529 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_530 = lean_array_push(x_529, x_522); -x_531 = lean_array_push(x_530, x_516); -x_532 = lean_array_push(x_531, x_528); -x_533 = lean_array_push(x_532, x_2); -x_534 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__8; -x_535 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_535, 0, x_534); -lean_ctor_set(x_535, 1, x_533); -if (lean_is_scalar(x_520)) { - x_536 = lean_alloc_ctor(0, 2, 0); -} else { - x_536 = x_520; -} -lean_ctor_set(x_536, 0, x_535); -lean_ctor_set(x_536, 1, x_519); -return x_536; -} -} -else -{ -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_dec(x_407); -lean_dec(x_406); -lean_dec(x_404); -lean_dec(x_403); -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_6); -lean_dec(x_3); -x_537 = l_Lean_Syntax_getArg(x_1, x_410); -lean_dec(x_1); -x_538 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_413, x_412); -lean_dec(x_413); -x_539 = lean_ctor_get(x_538, 0); -lean_inc(x_539); -x_540 = lean_ctor_get(x_538, 1); -lean_inc(x_540); -if (lean_is_exclusive(x_538)) { - lean_ctor_release(x_538, 0); - lean_ctor_release(x_538, 1); - x_541 = x_538; -} else { - lean_dec_ref(x_538); - x_541 = lean_box(0); -} -x_542 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__12; -lean_inc(x_539); -x_543 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_543, 0, x_539); -lean_ctor_set(x_543, 1, x_542); -x_544 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_545 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_545, 0, x_539); -lean_ctor_set(x_545, 1, x_544); -x_546 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_547 = lean_array_push(x_546, x_545); -x_548 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_549 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_549, 0, x_548); -lean_ctor_set(x_549, 1, x_547); -x_550 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_551 = lean_array_push(x_550, x_543); -x_552 = lean_array_push(x_551, x_537); -x_553 = lean_array_push(x_552, x_549); -x_554 = lean_array_push(x_553, x_2); -x_555 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__11; -x_556 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_556, 0, x_555); -lean_ctor_set(x_556, 1, x_554); -if (lean_is_scalar(x_541)) { - x_557 = lean_alloc_ctor(0, 2, 0); -} else { - x_557 = x_541; -} -lean_ctor_set(x_557, 0, x_556); -lean_ctor_set(x_557, 1, x_540); -return x_557; -} +x_143 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_20, x_19); +lean_dec(x_20); +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_143, 1); +lean_inc(x_145); +lean_dec(x_143); +x_146 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__12; +lean_inc(x_144); +x_147 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_147, 0, x_144); +lean_ctor_set(x_147, 1, x_146); +x_148 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +x_149 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_149, 0, x_144); +lean_ctor_set(x_149, 1, x_148); +x_150 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_151 = lean_array_push(x_150, x_149); +x_152 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_153, 0, x_152); +lean_ctor_set(x_153, 1, x_151); +x_154 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_155 = lean_array_push(x_154, x_147); +x_156 = lean_array_push(x_155, x_142); +x_157 = lean_array_push(x_156, x_153); +x_158 = lean_array_push(x_157, x_2); +x_159 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__11; +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_158); +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_145); +return x_161; } } } @@ -37915,40 +23758,47 @@ return x_3; lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTerm(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; uint8_t x_8; uint8_t x_9; +lean_object* x_6; lean_object* x_7; uint8_t 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_inc(x_1); x_6 = l_Lean_Syntax_getKind(x_1); x_7 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; x_8 = lean_name_eq(x_6, x_7); -x_9 = !lean_is_exclusive(x_4); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_10 = lean_ctor_get(x_4, 0); -x_11 = lean_ctor_get(x_4, 1); -x_12 = lean_ctor_get(x_4, 3); -x_13 = lean_ctor_get(x_4, 4); -x_14 = lean_ctor_get(x_4, 5); -x_15 = lean_ctor_get(x_4, 2); -lean_dec(x_15); -x_16 = l_Lean_replaceRef(x_1, x_14); -lean_dec(x_14); -x_17 = !lean_is_exclusive(x_5); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_5, 0); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_18, x_19); -lean_ctor_set(x_5, 0, x_20); -lean_inc(x_16); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_18); -lean_inc(x_11); +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_4, 1); lean_inc(x_10); -lean_ctor_set(x_4, 5, x_16); -lean_ctor_set(x_4, 2, x_18); +x_11 = lean_ctor_get(x_4, 3); +lean_inc(x_11); +x_12 = lean_ctor_get(x_4, 4); +lean_inc(x_12); +x_13 = lean_ctor_get(x_4, 5); +lean_inc(x_13); +lean_dec(x_4); +x_14 = l_Lean_replaceRef(x_1, x_13); +lean_dec(x_13); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +lean_dec(x_5); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_15, x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_16); +lean_inc(x_14); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_15); +lean_inc(x_10); +lean_inc(x_9); +x_20 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_20, 0, x_9); +lean_ctor_set(x_20, 1, x_10); +lean_ctor_set(x_20, 2, x_15); +lean_ctor_set(x_20, 3, x_11); +lean_ctor_set(x_20, 4, x_12); +lean_ctor_set(x_20, 5, x_14); if (x_8 == 0) { lean_object* x_21; uint8_t x_22; @@ -37962,12 +23812,12 @@ x_24 = lean_name_eq(x_6, x_23); if (x_24 == 0) { lean_object* x_25; uint8_t x_26; -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_13); +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_3); x_25 = l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__2; x_26 = lean_name_eq(x_6, x_25); @@ -37977,14 +23827,14 @@ if (x_26 == 0) lean_object* x_27; lean_object* x_28; lean_dec(x_2); x_27 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3; -x_28 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_27, x_4, x_5); +x_28 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_27, x_20, x_19); lean_dec(x_1); return x_28; } else { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_4); +lean_dec(x_20); x_29 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); x_30 = l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__3; @@ -37997,7 +23847,7 @@ lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); x_35 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_5); +lean_ctor_set(x_35, 1, x_19); return x_35; } } @@ -38016,16 +23866,16 @@ if (x_40 == 0) { lean_object* x_41; lean_object* x_42; lean_dec(x_37); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_13); +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_3); lean_dec(x_2); x_41 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3; -x_42 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_41, x_4, x_5); +x_42 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_41, x_20, x_19); lean_dec(x_1); return x_42; } @@ -38034,7 +23884,7 @@ else 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; x_43 = lean_unsigned_to_nat(0u); x_44 = l_Lean_Syntax_getArg(x_37, x_43); -x_45 = l_Lean_Syntax_getArg(x_37, x_19); +x_45 = l_Lean_Syntax_getArg(x_37, x_17); x_46 = l_Lean_Elab_Term_expandOptType(x_37, x_45); lean_dec(x_45); x_47 = lean_unsigned_to_nat(3u); @@ -38046,38 +23896,38 @@ if (lean_obj_tag(x_49) == 0) lean_object* x_50; lean_object* x_51; lean_dec(x_46); lean_dec(x_44); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_13); +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_3); lean_dec(x_2); x_50 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3; -x_51 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_50, x_4, x_5); +x_51 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_50, x_20, x_19); lean_dec(x_1); return x_51; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_dec(x_1); x_52 = lean_ctor_get(x_49, 0); lean_inc(x_52); lean_dec(x_49); -x_53 = l_Lean_replaceRef(x_52, x_16); -lean_dec(x_16); -lean_inc(x_18); -lean_inc(x_11); +x_53 = l_Lean_replaceRef(x_52, x_14); +lean_dec(x_14); +lean_inc(x_15); +lean_inc(x_10); x_54 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_54, 0, x_10); -lean_ctor_set(x_54, 1, x_11); -lean_ctor_set(x_54, 2, x_18); -lean_ctor_set(x_54, 3, x_12); -lean_ctor_set(x_54, 4, x_13); +lean_ctor_set(x_54, 0, x_9); +lean_ctor_set(x_54, 1, x_10); +lean_ctor_set(x_54, 2, x_15); +lean_ctor_set(x_54, 3, x_11); +lean_ctor_set(x_54, 4, x_12); lean_ctor_set(x_54, 5, x_53); -x_55 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_54, x_5); +x_55 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_54, x_19); lean_dec(x_54); x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); @@ -38138,35 +23988,35 @@ x_87 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; x_88 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_88, 0, x_87); lean_ctor_set(x_88, 1, x_86); -x_89 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_4, x_57); -lean_dec(x_4); -x_90 = !lean_is_exclusive(x_89); -if (x_90 == 0) -{ -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; -x_91 = lean_ctor_get(x_89, 0); +x_89 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_20, x_57); +lean_dec(x_20); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); x_92 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -x_93 = l_Lean_addMacroScope(x_11, x_92, x_18); +x_93 = l_Lean_addMacroScope(x_10, x_92, x_15); x_94 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; x_95 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_91); +lean_inc(x_90); x_96 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_96, 0, x_91); +lean_ctor_set(x_96, 0, x_90); lean_ctor_set(x_96, 1, x_94); lean_ctor_set(x_96, 2, x_93); lean_ctor_set(x_96, 3, x_95); -lean_inc(x_91); +lean_inc(x_90); x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_91); +lean_ctor_set(x_97, 0, x_90); lean_ctor_set(x_97, 1, x_58); x_98 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_91); +lean_inc(x_90); x_99 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_99, 0, x_91); +lean_ctor_set(x_99, 0, x_90); lean_ctor_set(x_99, 1, x_98); -lean_inc(x_91); +lean_inc(x_90); x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_91); +lean_ctor_set(x_100, 0, x_90); lean_ctor_set(x_100, 1, x_60); x_101 = lean_array_push(x_67, x_100); x_102 = lean_array_push(x_101, x_46); @@ -38182,9 +24032,9 @@ x_107 = lean_array_push(x_106, x_105); x_108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_108, 0, x_65); lean_ctor_set(x_108, 1, x_107); -lean_inc(x_91); +lean_inc(x_90); x_109 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_109, 0, x_91); +lean_ctor_set(x_109, 0, x_90); lean_ctor_set(x_109, 1, x_81); x_110 = lean_array_push(x_83, x_97); lean_inc(x_110); @@ -38200,7 +24050,7 @@ lean_ctor_set(x_115, 0, x_65); lean_ctor_set(x_115, 1, x_114); x_116 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; x_117 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_117, 0, x_91); +lean_ctor_set(x_117, 0, x_90); lean_ctor_set(x_117, 1, x_116); x_118 = lean_array_push(x_83, x_115); x_119 = lean_array_push(x_118, x_117); @@ -38236,1107 +24086,95 @@ x_138 = lean_array_push(x_137, x_136); x_139 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_139, 0, x_70); lean_ctor_set(x_139, 1, x_138); -lean_ctor_set(x_89, 0, x_139); -return x_89; +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_91); +return x_140; +} +} +} } else { -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; 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_140 = lean_ctor_get(x_89, 0); -x_141 = lean_ctor_get(x_89, 1); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_89); -x_142 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -x_143 = l_Lean_addMacroScope(x_11, x_142, x_18); -x_144 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_145 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_140); -x_146 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_146, 0, x_140); -lean_ctor_set(x_146, 1, x_144); -lean_ctor_set(x_146, 2, x_143); -lean_ctor_set(x_146, 3, x_145); -lean_inc(x_140); -x_147 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_147, 0, x_140); -lean_ctor_set(x_147, 1, x_58); -x_148 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_140); -x_149 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_149, 0, x_140); -lean_ctor_set(x_149, 1, x_148); -lean_inc(x_140); -x_150 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_150, 0, x_140); -lean_ctor_set(x_150, 1, x_60); -x_151 = lean_array_push(x_67, x_150); -x_152 = lean_array_push(x_151, x_46); -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_74); -lean_ctor_set(x_153, 1, x_152); -x_154 = lean_array_push(x_63, x_153); -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_65); -lean_ctor_set(x_155, 1, x_154); -x_156 = lean_array_push(x_67, x_44); -x_157 = lean_array_push(x_156, x_155); -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_65); -lean_ctor_set(x_158, 1, x_157); -lean_inc(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_dec(x_20); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_3); +x_141 = lean_unsigned_to_nat(0u); +x_142 = l_Lean_Syntax_getArg(x_1, x_141); +x_143 = l_Lean_Syntax_getArg(x_1, x_17); +lean_dec(x_1); +x_144 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_145 = lean_array_push(x_144, x_142); +x_146 = lean_array_push(x_145, x_143); +x_147 = l_Lean_Elab_Term_Do_mkUnless___closed__1; +x_148 = lean_array_push(x_146, x_147); +x_149 = lean_array_push(x_148, x_2); +x_150 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__8; +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_19); +return x_152; +} +} +else +{ +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_dec(x_15); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_3); +x_153 = lean_unsigned_to_nat(2u); +x_154 = l_Lean_Syntax_getArg(x_1, x_153); +lean_dec(x_1); +x_155 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_20, x_19); +lean_dec(x_20); +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +lean_dec(x_155); +x_158 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_156); x_159 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_159, 0, x_140); -lean_ctor_set(x_159, 1, x_81); -x_160 = lean_array_push(x_83, x_147); -lean_inc(x_160); -x_161 = lean_array_push(x_160, x_158); -lean_inc(x_159); -x_162 = lean_array_push(x_161, x_159); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_87); -lean_ctor_set(x_163, 1, x_162); -x_164 = lean_array_push(x_63, x_163); +lean_ctor_set(x_159, 0, x_156); +lean_ctor_set(x_159, 1, x_158); +x_160 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +x_161 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_161, 0, x_156); +lean_ctor_set(x_161, 1, x_160); +x_162 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_163 = lean_array_push(x_162, x_161); +x_164 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_65); -lean_ctor_set(x_165, 1, x_164); -x_166 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -x_167 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_167, 0, x_140); -lean_ctor_set(x_167, 1, x_166); -x_168 = lean_array_push(x_83, x_165); -x_169 = lean_array_push(x_168, x_167); +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_163); +x_166 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_167 = lean_array_push(x_166, x_159); +x_168 = lean_array_push(x_167, x_154); +x_169 = lean_array_push(x_168, x_165); x_170 = lean_array_push(x_169, x_2); -x_171 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; +x_171 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; x_172 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_172, 0, x_171); lean_ctor_set(x_172, 1, x_170); -x_173 = lean_array_push(x_67, x_149); -x_174 = lean_array_push(x_173, x_172); -x_175 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___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 = lean_array_push(x_67, x_176); -x_178 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_179 = lean_array_push(x_177, x_178); -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_65); -lean_ctor_set(x_180, 1, x_179); -x_181 = lean_array_push(x_160, x_180); -x_182 = lean_array_push(x_181, x_159); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_87); -lean_ctor_set(x_183, 1, x_182); -x_184 = lean_array_push(x_67, x_88); -x_185 = lean_array_push(x_184, x_183); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_65); -lean_ctor_set(x_186, 1, x_185); -x_187 = lean_array_push(x_67, x_146); -x_188 = lean_array_push(x_187, x_186); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_70); -lean_ctor_set(x_189, 1, x_188); -x_190 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_141); -return x_190; -} -} -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -lean_dec(x_4); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_3); -x_191 = lean_unsigned_to_nat(0u); -x_192 = l_Lean_Syntax_getArg(x_1, x_191); -x_193 = l_Lean_Syntax_getArg(x_1, x_19); -lean_dec(x_1); -x_194 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_195 = lean_array_push(x_194, x_192); -x_196 = lean_array_push(x_195, x_193); -x_197 = l_Lean_Elab_Term_Do_mkUnless___closed__1; -x_198 = lean_array_push(x_196, x_197); -x_199 = lean_array_push(x_198, x_2); -x_200 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__8; -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_199); -x_202 = 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; -} -} -else -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_206; -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_3); -x_203 = lean_unsigned_to_nat(2u); -x_204 = l_Lean_Syntax_getArg(x_1, x_203); -lean_dec(x_1); -x_205 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_4, x_5); -lean_dec(x_4); -x_206 = !lean_is_exclusive(x_205); -if (x_206 == 0) -{ -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; -x_207 = lean_ctor_get(x_205, 0); -x_208 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_207); -x_209 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_209, 0, x_207); -lean_ctor_set(x_209, 1, x_208); -x_210 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_211 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_211, 0, x_207); -lean_ctor_set(x_211, 1, x_210); -x_212 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_213 = lean_array_push(x_212, x_211); -x_214 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_213); -x_216 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_217 = lean_array_push(x_216, x_209); -x_218 = lean_array_push(x_217, x_204); -x_219 = lean_array_push(x_218, x_215); -x_220 = lean_array_push(x_219, x_2); -x_221 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_220); -lean_ctor_set(x_205, 0, x_222); -return x_205; -} -else -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; -x_223 = lean_ctor_get(x_205, 0); -x_224 = lean_ctor_get(x_205, 1); -lean_inc(x_224); -lean_inc(x_223); -lean_dec(x_205); -x_225 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_223); -x_226 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_226, 0, x_223); -lean_ctor_set(x_226, 1, x_225); -x_227 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_228 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_228, 0, x_223); -lean_ctor_set(x_228, 1, x_227); -x_229 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_230 = lean_array_push(x_229, x_228); -x_231 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_230); -x_233 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_234 = lean_array_push(x_233, x_226); -x_235 = lean_array_push(x_234, x_204); -x_236 = lean_array_push(x_235, x_232); -x_237 = lean_array_push(x_236, x_2); -x_238 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_237); -x_240 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_224); -return x_240; -} -} -} -else -{ -lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_241 = lean_ctor_get(x_5, 0); -x_242 = lean_ctor_get(x_5, 1); -lean_inc(x_242); -lean_inc(x_241); -lean_dec(x_5); -x_243 = lean_unsigned_to_nat(1u); -x_244 = lean_nat_add(x_241, x_243); -x_245 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_242); -lean_inc(x_16); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_241); -lean_inc(x_11); -lean_inc(x_10); -lean_ctor_set(x_4, 5, x_16); -lean_ctor_set(x_4, 2, x_241); -if (x_8 == 0) -{ -lean_object* x_246; uint8_t x_247; -x_246 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__6; -x_247 = lean_name_eq(x_6, x_246); -if (x_247 == 0) -{ -lean_object* x_248; uint8_t x_249; -x_248 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_249 = lean_name_eq(x_6, x_248); -if (x_249 == 0) -{ -lean_object* x_250; uint8_t x_251; -lean_dec(x_241); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_3); -x_250 = l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__2; -x_251 = lean_name_eq(x_6, x_250); -lean_dec(x_6); -if (x_251 == 0) -{ -lean_object* x_252; lean_object* x_253; -lean_dec(x_2); -x_252 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3; -x_253 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_252, x_4, x_245); -lean_dec(x_1); -return x_253; -} -else -{ -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_dec(x_4); -x_254 = l_Lean_Syntax_getArgs(x_1); -lean_dec(x_1); -x_255 = l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__3; -x_256 = lean_array_push(x_255, x_2); -x_257 = l_Array_append___rarg(x_254, x_256); -lean_dec(x_256); -x_258 = l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__5; -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_258); -lean_ctor_set(x_259, 1, x_257); -x_260 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_260, 0, x_259); -lean_ctor_set(x_260, 1, x_245); -return x_260; -} -} -else -{ -lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; uint8_t x_265; -lean_dec(x_6); -x_261 = lean_unsigned_to_nat(2u); -x_262 = l_Lean_Syntax_getArg(x_1, x_261); -lean_inc(x_262); -x_263 = l_Lean_Syntax_getKind(x_262); -x_264 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_265 = lean_name_eq(x_263, x_264); -lean_dec(x_263); -if (x_265 == 0) -{ -lean_object* x_266; lean_object* x_267; -lean_dec(x_262); -lean_dec(x_241); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_3); -lean_dec(x_2); -x_266 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3; -x_267 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_266, x_4, x_245); -lean_dec(x_1); -return x_267; -} -else -{ -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; -x_268 = lean_unsigned_to_nat(0u); -x_269 = l_Lean_Syntax_getArg(x_262, x_268); -x_270 = l_Lean_Syntax_getArg(x_262, x_243); -x_271 = l_Lean_Elab_Term_expandOptType(x_262, x_270); -lean_dec(x_270); -x_272 = lean_unsigned_to_nat(3u); -x_273 = l_Lean_Syntax_getArg(x_262, x_272); -lean_dec(x_262); -x_274 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_273); -if (lean_obj_tag(x_274) == 0) -{ -lean_object* x_275; lean_object* x_276; -lean_dec(x_271); -lean_dec(x_269); -lean_dec(x_241); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_3); -lean_dec(x_2); -x_275 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3; -x_276 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_275, x_4, x_245); -lean_dec(x_1); -return x_276; -} -else -{ -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; 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_dec(x_1); -x_277 = lean_ctor_get(x_274, 0); -lean_inc(x_277); -lean_dec(x_274); -x_278 = l_Lean_replaceRef(x_277, x_16); -lean_dec(x_16); -lean_inc(x_241); -lean_inc(x_11); -x_279 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_279, 0, x_10); -lean_ctor_set(x_279, 1, x_11); -lean_ctor_set(x_279, 2, x_241); -lean_ctor_set(x_279, 3, x_12); -lean_ctor_set(x_279, 4, x_13); -lean_ctor_set(x_279, 5, x_278); -x_280 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_279, x_245); -lean_dec(x_279); -x_281 = lean_ctor_get(x_280, 0); -lean_inc(x_281); -x_282 = lean_ctor_get(x_280, 1); -lean_inc(x_282); -lean_dec(x_280); -x_283 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_281); -x_284 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_284, 0, x_281); -lean_ctor_set(x_284, 1, x_283); -x_285 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_281); -x_286 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_286, 0, x_281); -lean_ctor_set(x_286, 1, x_285); -x_287 = lean_ctor_get(x_3, 0); -lean_inc(x_287); -lean_dec(x_3); -x_288 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_271); -x_289 = lean_array_push(x_288, x_271); -x_290 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_289); -x_292 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_293 = lean_array_push(x_292, x_287); -x_294 = lean_array_push(x_293, x_291); -x_295 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_294); -x_297 = lean_array_push(x_292, x_286); -x_298 = lean_array_push(x_297, x_296); -x_299 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_299); -lean_ctor_set(x_300, 1, x_298); -x_301 = lean_array_push(x_288, x_300); -x_302 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_302, 0, x_290); -lean_ctor_set(x_302, 1, x_301); -x_303 = lean_array_push(x_292, x_277); -x_304 = lean_array_push(x_303, x_302); -x_305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_305, 0, x_290); -lean_ctor_set(x_305, 1, x_304); -x_306 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_307 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_307, 0, x_281); -lean_ctor_set(x_307, 1, x_306); -x_308 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_309 = lean_array_push(x_308, x_284); -x_310 = lean_array_push(x_309, x_305); -x_311 = lean_array_push(x_310, x_307); -x_312 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_313 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_313, 0, x_312); -lean_ctor_set(x_313, 1, x_311); -x_314 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_4, x_282); -lean_dec(x_4); -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_314); - x_317 = lean_box(0); -} -x_318 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -x_319 = l_Lean_addMacroScope(x_11, x_318, x_241); -x_320 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_321 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_315); -x_322 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_322, 0, x_315); -lean_ctor_set(x_322, 1, x_320); -lean_ctor_set(x_322, 2, x_319); -lean_ctor_set(x_322, 3, x_321); -lean_inc(x_315); -x_323 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_323, 0, x_315); -lean_ctor_set(x_323, 1, x_283); -x_324 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_315); -x_325 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_325, 0, x_315); -lean_ctor_set(x_325, 1, x_324); -lean_inc(x_315); -x_326 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_326, 0, x_315); -lean_ctor_set(x_326, 1, x_285); -x_327 = lean_array_push(x_292, x_326); -x_328 = lean_array_push(x_327, x_271); -x_329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_329, 0, x_299); -lean_ctor_set(x_329, 1, x_328); -x_330 = lean_array_push(x_288, x_329); -x_331 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_331, 0, x_290); -lean_ctor_set(x_331, 1, x_330); -x_332 = lean_array_push(x_292, x_269); -x_333 = lean_array_push(x_332, x_331); -x_334 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_334, 0, x_290); -lean_ctor_set(x_334, 1, x_333); -lean_inc(x_315); -x_335 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_335, 0, x_315); -lean_ctor_set(x_335, 1, x_306); -x_336 = lean_array_push(x_308, x_323); -lean_inc(x_336); -x_337 = lean_array_push(x_336, x_334); -lean_inc(x_335); -x_338 = lean_array_push(x_337, x_335); -x_339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_339, 0, x_312); -lean_ctor_set(x_339, 1, x_338); -x_340 = lean_array_push(x_288, x_339); -x_341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_341, 0, x_290); -lean_ctor_set(x_341, 1, x_340); -x_342 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -x_343 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_343, 0, x_315); -lean_ctor_set(x_343, 1, x_342); -x_344 = lean_array_push(x_308, x_341); -x_345 = lean_array_push(x_344, x_343); -x_346 = lean_array_push(x_345, x_2); -x_347 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_348, 0, x_347); -lean_ctor_set(x_348, 1, x_346); -x_349 = lean_array_push(x_292, x_325); -x_350 = lean_array_push(x_349, x_348); -x_351 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -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_292, x_352); -x_354 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_355 = lean_array_push(x_353, x_354); -x_356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_356, 0, x_290); -lean_ctor_set(x_356, 1, x_355); -x_357 = lean_array_push(x_336, x_356); -x_358 = lean_array_push(x_357, x_335); -x_359 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_359, 0, x_312); -lean_ctor_set(x_359, 1, x_358); -x_360 = lean_array_push(x_292, x_313); -x_361 = lean_array_push(x_360, x_359); -x_362 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_362, 0, x_290); -lean_ctor_set(x_362, 1, x_361); -x_363 = lean_array_push(x_292, x_322); -x_364 = lean_array_push(x_363, x_362); -x_365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_365, 0, x_295); -lean_ctor_set(x_365, 1, x_364); -if (lean_is_scalar(x_317)) { - x_366 = lean_alloc_ctor(0, 2, 0); -} else { - x_366 = x_317; -} -lean_ctor_set(x_366, 0, x_365); -lean_ctor_set(x_366, 1, x_316); -return x_366; -} -} -} -} -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_dec(x_4); -lean_dec(x_241); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_3); -x_367 = lean_unsigned_to_nat(0u); -x_368 = l_Lean_Syntax_getArg(x_1, x_367); -x_369 = l_Lean_Syntax_getArg(x_1, x_243); -lean_dec(x_1); -x_370 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_371 = lean_array_push(x_370, x_368); -x_372 = lean_array_push(x_371, x_369); -x_373 = l_Lean_Elab_Term_Do_mkUnless___closed__1; -x_374 = lean_array_push(x_372, x_373); -x_375 = lean_array_push(x_374, x_2); -x_376 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__8; -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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_245); -return x_378; -} -} -else -{ -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_dec(x_241); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_3); -x_379 = lean_unsigned_to_nat(2u); -x_380 = l_Lean_Syntax_getArg(x_1, x_379); -lean_dec(x_1); -x_381 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_4, x_245); -lean_dec(x_4); -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_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_382); -x_386 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_386, 0, x_382); -lean_ctor_set(x_386, 1, x_385); -x_387 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_388 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_388, 0, x_382); -lean_ctor_set(x_388, 1, x_387); -x_389 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_390 = lean_array_push(x_389, x_388); -x_391 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_392, 0, x_391); -lean_ctor_set(x_392, 1, x_390); -x_393 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_394 = lean_array_push(x_393, x_386); -x_395 = lean_array_push(x_394, x_380); -x_396 = lean_array_push(x_395, x_392); -x_397 = lean_array_push(x_396, x_2); -x_398 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_399 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_399, 0, x_398); -lean_ctor_set(x_399, 1, x_397); -if (lean_is_scalar(x_384)) { - x_400 = lean_alloc_ctor(0, 2, 0); -} else { - x_400 = x_384; -} -lean_ctor_set(x_400, 0, x_399); -lean_ctor_set(x_400, 1, x_383); -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; -x_401 = lean_ctor_get(x_4, 0); -x_402 = lean_ctor_get(x_4, 1); -x_403 = lean_ctor_get(x_4, 3); -x_404 = lean_ctor_get(x_4, 4); -x_405 = lean_ctor_get(x_4, 5); -lean_inc(x_405); -lean_inc(x_404); -lean_inc(x_403); -lean_inc(x_402); -lean_inc(x_401); -lean_dec(x_4); -x_406 = l_Lean_replaceRef(x_1, x_405); -lean_dec(x_405); -x_407 = lean_ctor_get(x_5, 0); -lean_inc(x_407); -x_408 = lean_ctor_get(x_5, 1); -lean_inc(x_408); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - x_409 = x_5; -} else { - lean_dec_ref(x_5); - x_409 = lean_box(0); -} -x_410 = lean_unsigned_to_nat(1u); -x_411 = lean_nat_add(x_407, x_410); -if (lean_is_scalar(x_409)) { - x_412 = lean_alloc_ctor(0, 2, 0); -} else { - x_412 = x_409; -} -lean_ctor_set(x_412, 0, x_411); -lean_ctor_set(x_412, 1, x_408); -lean_inc(x_406); -lean_inc(x_404); -lean_inc(x_403); -lean_inc(x_407); -lean_inc(x_402); -lean_inc(x_401); -x_413 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_413, 0, x_401); -lean_ctor_set(x_413, 1, x_402); -lean_ctor_set(x_413, 2, x_407); -lean_ctor_set(x_413, 3, x_403); -lean_ctor_set(x_413, 4, x_404); -lean_ctor_set(x_413, 5, x_406); -if (x_8 == 0) -{ -lean_object* x_414; uint8_t x_415; -x_414 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__6; -x_415 = lean_name_eq(x_6, x_414); -if (x_415 == 0) -{ -lean_object* x_416; uint8_t x_417; -x_416 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_417 = lean_name_eq(x_6, x_416); -if (x_417 == 0) -{ -lean_object* x_418; uint8_t x_419; -lean_dec(x_407); -lean_dec(x_406); -lean_dec(x_404); -lean_dec(x_403); -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_3); -x_418 = l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__2; -x_419 = lean_name_eq(x_6, x_418); -lean_dec(x_6); -if (x_419 == 0) -{ -lean_object* x_420; lean_object* x_421; -lean_dec(x_2); -x_420 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3; -x_421 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_420, x_413, x_412); -lean_dec(x_1); -return x_421; -} -else -{ -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_dec(x_413); -x_422 = l_Lean_Syntax_getArgs(x_1); -lean_dec(x_1); -x_423 = l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__3; -x_424 = lean_array_push(x_423, x_2); -x_425 = l_Array_append___rarg(x_422, x_424); -lean_dec(x_424); -x_426 = l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__5; -x_427 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_427, 0, x_426); -lean_ctor_set(x_427, 1, x_425); -x_428 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_428, 0, x_427); -lean_ctor_set(x_428, 1, x_412); -return x_428; -} -} -else -{ -lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; uint8_t x_433; -lean_dec(x_6); -x_429 = lean_unsigned_to_nat(2u); -x_430 = l_Lean_Syntax_getArg(x_1, x_429); -lean_inc(x_430); -x_431 = l_Lean_Syntax_getKind(x_430); -x_432 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_433 = lean_name_eq(x_431, x_432); -lean_dec(x_431); -if (x_433 == 0) -{ -lean_object* x_434; lean_object* x_435; -lean_dec(x_430); -lean_dec(x_407); -lean_dec(x_406); -lean_dec(x_404); -lean_dec(x_403); -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_3); -lean_dec(x_2); -x_434 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3; -x_435 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_434, x_413, x_412); -lean_dec(x_1); -return x_435; -} -else -{ -lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; -x_436 = lean_unsigned_to_nat(0u); -x_437 = l_Lean_Syntax_getArg(x_430, x_436); -x_438 = l_Lean_Syntax_getArg(x_430, x_410); -x_439 = l_Lean_Elab_Term_expandOptType(x_430, x_438); -lean_dec(x_438); -x_440 = lean_unsigned_to_nat(3u); -x_441 = l_Lean_Syntax_getArg(x_430, x_440); -lean_dec(x_430); -x_442 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_441); -if (lean_obj_tag(x_442) == 0) -{ -lean_object* x_443; lean_object* x_444; -lean_dec(x_439); -lean_dec(x_437); -lean_dec(x_407); -lean_dec(x_406); -lean_dec(x_404); -lean_dec(x_403); -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_3); -lean_dec(x_2); -x_443 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3; -x_444 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_443, x_413, x_412); -lean_dec(x_1); -return x_444; -} -else -{ -lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; -lean_dec(x_1); -x_445 = lean_ctor_get(x_442, 0); -lean_inc(x_445); -lean_dec(x_442); -x_446 = l_Lean_replaceRef(x_445, x_406); -lean_dec(x_406); -lean_inc(x_407); -lean_inc(x_402); -x_447 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_447, 0, x_401); -lean_ctor_set(x_447, 1, x_402); -lean_ctor_set(x_447, 2, x_407); -lean_ctor_set(x_447, 3, x_403); -lean_ctor_set(x_447, 4, x_404); -lean_ctor_set(x_447, 5, x_446); -x_448 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_447, x_412); -lean_dec(x_447); -x_449 = lean_ctor_get(x_448, 0); -lean_inc(x_449); -x_450 = lean_ctor_get(x_448, 1); -lean_inc(x_450); -lean_dec(x_448); -x_451 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_449); -x_452 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_452, 0, x_449); -lean_ctor_set(x_452, 1, x_451); -x_453 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_449); -x_454 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_454, 0, x_449); -lean_ctor_set(x_454, 1, x_453); -x_455 = lean_ctor_get(x_3, 0); -lean_inc(x_455); -lean_dec(x_3); -x_456 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_439); -x_457 = lean_array_push(x_456, x_439); -x_458 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_459 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_459, 0, x_458); -lean_ctor_set(x_459, 1, x_457); -x_460 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_461 = lean_array_push(x_460, x_455); -x_462 = lean_array_push(x_461, x_459); -x_463 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_464 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_464, 0, x_463); -lean_ctor_set(x_464, 1, x_462); -x_465 = lean_array_push(x_460, x_454); -x_466 = lean_array_push(x_465, x_464); -x_467 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__9; -x_468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_468, 0, x_467); -lean_ctor_set(x_468, 1, x_466); -x_469 = lean_array_push(x_456, x_468); -x_470 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_470, 0, x_458); -lean_ctor_set(x_470, 1, x_469); -x_471 = lean_array_push(x_460, x_445); -x_472 = lean_array_push(x_471, x_470); -x_473 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_473, 0, x_458); -lean_ctor_set(x_473, 1, x_472); -x_474 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_475 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_475, 0, x_449); -lean_ctor_set(x_475, 1, x_474); -x_476 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_477 = lean_array_push(x_476, x_452); -x_478 = lean_array_push(x_477, x_473); -x_479 = lean_array_push(x_478, x_475); -x_480 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_481 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_481, 0, x_480); -lean_ctor_set(x_481, 1, x_479); -x_482 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_413, x_450); -lean_dec(x_413); -x_483 = lean_ctor_get(x_482, 0); -lean_inc(x_483); -x_484 = lean_ctor_get(x_482, 1); -lean_inc(x_484); -if (lean_is_exclusive(x_482)) { - lean_ctor_release(x_482, 0); - lean_ctor_release(x_482, 1); - x_485 = x_482; -} else { - lean_dec_ref(x_482); - x_485 = lean_box(0); -} -x_486 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__5; -x_487 = l_Lean_addMacroScope(x_402, x_486, x_407); -x_488 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__3; -x_489 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__7; -lean_inc(x_483); -x_490 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_490, 0, x_483); -lean_ctor_set(x_490, 1, x_488); -lean_ctor_set(x_490, 2, x_487); -lean_ctor_set(x_490, 3, x_489); -lean_inc(x_483); -x_491 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_491, 0, x_483); -lean_ctor_set(x_491, 1, x_451); -x_492 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_483); -x_493 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_493, 0, x_483); -lean_ctor_set(x_493, 1, x_492); -lean_inc(x_483); -x_494 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_494, 0, x_483); -lean_ctor_set(x_494, 1, x_453); -x_495 = lean_array_push(x_460, x_494); -x_496 = lean_array_push(x_495, x_439); -x_497 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_497, 0, x_467); -lean_ctor_set(x_497, 1, x_496); -x_498 = lean_array_push(x_456, x_497); -x_499 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_499, 0, x_458); -lean_ctor_set(x_499, 1, x_498); -x_500 = lean_array_push(x_460, x_437); -x_501 = lean_array_push(x_500, x_499); -x_502 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_502, 0, x_458); -lean_ctor_set(x_502, 1, x_501); -lean_inc(x_483); -x_503 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_503, 0, x_483); -lean_ctor_set(x_503, 1, x_474); -x_504 = lean_array_push(x_476, x_491); -lean_inc(x_504); -x_505 = lean_array_push(x_504, x_502); -lean_inc(x_503); -x_506 = lean_array_push(x_505, x_503); -x_507 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_507, 0, x_480); -lean_ctor_set(x_507, 1, x_506); -x_508 = lean_array_push(x_456, x_507); -x_509 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_509, 0, x_458); -lean_ctor_set(x_509, 1, x_508); -x_510 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -x_511 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_511, 0, x_483); -lean_ctor_set(x_511, 1, x_510); -x_512 = lean_array_push(x_476, x_509); -x_513 = lean_array_push(x_512, x_511); -x_514 = lean_array_push(x_513, x_2); -x_515 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -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_460, x_493); -x_518 = lean_array_push(x_517, x_516); -x_519 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_520 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_520, 0, x_519); -lean_ctor_set(x_520, 1, x_518); -x_521 = lean_array_push(x_460, x_520); -x_522 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_523 = lean_array_push(x_521, x_522); -x_524 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_524, 0, x_458); -lean_ctor_set(x_524, 1, x_523); -x_525 = lean_array_push(x_504, x_524); -x_526 = lean_array_push(x_525, x_503); -x_527 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_527, 0, x_480); -lean_ctor_set(x_527, 1, x_526); -x_528 = lean_array_push(x_460, x_481); -x_529 = lean_array_push(x_528, x_527); -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_458); -lean_ctor_set(x_530, 1, x_529); -x_531 = lean_array_push(x_460, x_490); -x_532 = lean_array_push(x_531, x_530); -x_533 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_533, 0, x_463); -lean_ctor_set(x_533, 1, x_532); -if (lean_is_scalar(x_485)) { - x_534 = lean_alloc_ctor(0, 2, 0); -} else { - x_534 = x_485; -} -lean_ctor_set(x_534, 0, x_533); -lean_ctor_set(x_534, 1, x_484); -return x_534; -} -} -} -} -else -{ -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_dec(x_413); -lean_dec(x_407); -lean_dec(x_406); -lean_dec(x_404); -lean_dec(x_403); -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_6); -lean_dec(x_3); -x_535 = lean_unsigned_to_nat(0u); -x_536 = l_Lean_Syntax_getArg(x_1, x_535); -x_537 = l_Lean_Syntax_getArg(x_1, x_410); -lean_dec(x_1); -x_538 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_539 = lean_array_push(x_538, x_536); -x_540 = lean_array_push(x_539, x_537); -x_541 = l_Lean_Elab_Term_Do_mkUnless___closed__1; -x_542 = lean_array_push(x_540, x_541); -x_543 = lean_array_push(x_542, x_2); -x_544 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__8; -x_545 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_545, 0, x_544); -lean_ctor_set(x_545, 1, x_543); -x_546 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_546, 0, x_545); -lean_ctor_set(x_546, 1, x_412); -return x_546; -} -} -else -{ -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_dec(x_407); -lean_dec(x_406); -lean_dec(x_404); -lean_dec(x_403); -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_6); -lean_dec(x_3); -x_547 = lean_unsigned_to_nat(2u); -x_548 = l_Lean_Syntax_getArg(x_1, x_547); -lean_dec(x_1); -x_549 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_413, x_412); -lean_dec(x_413); -x_550 = lean_ctor_get(x_549, 0); -lean_inc(x_550); -x_551 = lean_ctor_get(x_549, 1); -lean_inc(x_551); -if (lean_is_exclusive(x_549)) { - lean_ctor_release(x_549, 0); - lean_ctor_release(x_549, 1); - x_552 = x_549; -} else { - lean_dec_ref(x_549); - x_552 = lean_box(0); -} -x_553 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_550); -x_554 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_554, 0, x_550); -lean_ctor_set(x_554, 1, x_553); -x_555 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_556 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_556, 0, x_550); -lean_ctor_set(x_556, 1, x_555); -x_557 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_558 = lean_array_push(x_557, x_556); -x_559 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_562 = lean_array_push(x_561, x_554); -x_563 = lean_array_push(x_562, x_548); -x_564 = lean_array_push(x_563, x_560); -x_565 = lean_array_push(x_564, x_2); -x_566 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_567 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_567, 0, x_566); -lean_ctor_set(x_567, 1, x_565); -if (lean_is_scalar(x_552)) { - x_568 = lean_alloc_ctor(0, 2, 0); -} else { - x_568 = x_552; -} -lean_ctor_set(x_568, 0, x_567); -lean_ctor_set(x_568, 1, x_551); -return x_568; -} +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_157); +return x_173; } } } @@ -39413,603 +24251,180 @@ return x_3; lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm(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; uint8_t x_7; uint8_t x_8; +lean_object* x_5; lean_object* x_6; uint8_t 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_inc(x_1); x_5 = l_Lean_Syntax_getKind(x_1); x_6 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; x_7 = lean_name_eq(x_5, x_6); lean_dec(x_5); -x_8 = !lean_is_exclusive(x_3); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = lean_ctor_get(x_3, 5); -x_10 = lean_ctor_get(x_3, 2); -lean_dec(x_10); -x_11 = l_Lean_replaceRef(x_1, x_9); -lean_dec(x_9); -x_12 = !lean_is_exclusive(x_4); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_4, 0); -x_14 = lean_unsigned_to_nat(1u); -x_15 = lean_nat_add(x_13, x_14); -lean_ctor_set(x_4, 0, x_15); -lean_ctor_set(x_3, 5, x_11); -lean_ctor_set(x_3, 2, x_13); +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_ctor_get(x_3, 1); +x_10 = lean_ctor_get(x_3, 3); +x_11 = lean_ctor_get(x_3, 4); +x_12 = lean_ctor_get(x_3, 5); +x_13 = l_Lean_replaceRef(x_1, x_12); +x_14 = lean_ctor_get(x_4, 0); +x_15 = lean_ctor_get(x_4, 1); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_14, x_16); +lean_inc(x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_14); +lean_inc(x_9); +lean_inc(x_8); +x_19 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_19, 0, x_8); +lean_ctor_set(x_19, 1, x_9); +lean_ctor_set(x_19, 2, x_14); +lean_ctor_set(x_19, 3, x_10); +lean_ctor_set(x_19, 4, x_11); +lean_ctor_set(x_19, 5, x_13); if (x_7 == 0) { -lean_object* x_16; lean_object* x_17; +lean_object* x_20; lean_object* x_21; lean_dec(x_2); -x_16 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__3; -x_17 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_16, x_3, x_4); +x_20 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__3; +x_21 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_20, x_19, x_18); lean_dec(x_1); -return x_17; +return x_21; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_1, x_18); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Syntax_getArg(x_1, x_22); lean_dec(x_1); -lean_inc(x_19); -x_20 = l_Lean_Syntax_getKind(x_19); -x_21 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_22 = lean_name_eq(x_20, x_21); -lean_dec(x_20); -if (x_22 == 0) +lean_inc(x_23); +x_24 = l_Lean_Syntax_getKind(x_23); +x_25 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; +x_26 = lean_name_eq(x_24, x_25); +lean_dec(x_24); +if (x_26 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_23 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_24 = lean_array_push(x_23, x_19); -x_25 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -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_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_4); -lean_dec(x_3); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -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; -x_29 = lean_ctor_get(x_27, 0); -x_30 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_29); -x_31 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -x_32 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_33 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_33, 0, x_29); -lean_ctor_set(x_33, 1, x_32); -x_34 = lean_array_push(x_23, x_33); -x_35 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_38 = lean_array_push(x_37, x_31); -x_39 = lean_array_push(x_38, x_26); -x_40 = lean_array_push(x_39, x_36); -x_41 = lean_array_push(x_40, x_2); -x_42 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -lean_ctor_set(x_27, 0, x_43); -return x_27; +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; +x_27 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_28 = lean_array_push(x_27, x_23); +x_29 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; +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_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_19, x_18); +lean_dec(x_19); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_32); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_32); +lean_ctor_set(x_35, 1, x_34); +x_36 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_32); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_array_push(x_27, x_37); +x_39 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_42 = lean_array_push(x_41, x_35); +x_43 = lean_array_push(x_42, x_30); +x_44 = lean_array_push(x_43, x_40); +x_45 = lean_array_push(x_44, x_2); +x_46 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; +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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_33); +return x_48; } else { -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; -x_44 = lean_ctor_get(x_27, 0); -x_45 = lean_ctor_get(x_27, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_27); -x_46 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_44); -x_47 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_47, 0, x_44); -lean_ctor_set(x_47, 1, x_46); -x_48 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_44); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_array_push(x_23, x_49); -x_51 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_54 = lean_array_push(x_53, x_47); -x_55 = lean_array_push(x_54, x_26); -x_56 = lean_array_push(x_55, x_52); -x_57 = lean_array_push(x_56, x_2); -x_58 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -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_45); -return x_60; +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_49 = l_Lean_Syntax_getArg(x_23, x_22); +x_50 = lean_unsigned_to_nat(4u); +x_51 = l_Lean_Syntax_getArg(x_23, x_50); +x_52 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_19, x_18); +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); +x_55 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__6; +x_56 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_58 = lean_array_push(x_57, x_56); +x_59 = lean_array_push(x_58, x_49); +x_60 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__8; +x_61 = lean_array_push(x_59, x_60); +x_62 = lean_array_push(x_61, x_51); +x_63 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__5; +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = l_Lean_Syntax_setArg(x_23, x_50, x_64); +x_66 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_67 = lean_array_push(x_66, x_65); +x_68 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_19, x_54); +lean_dec(x_19); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_71); +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_71); +lean_ctor_set(x_74, 1, x_73); +x_75 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_array_push(x_66, x_76); +x_78 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = lean_array_push(x_57, x_74); +x_81 = lean_array_push(x_80, x_69); +x_82 = lean_array_push(x_81, x_79); +x_83 = lean_array_push(x_82, x_2); +x_84 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; +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_72); +return x_86; } } -else +} +} +lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -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; uint8_t x_83; -x_61 = l_Lean_Syntax_getArg(x_19, x_18); -x_62 = lean_unsigned_to_nat(4u); -x_63 = l_Lean_Syntax_getArg(x_19, x_62); -x_64 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_4); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__6; -x_68 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_68, 0, x_65); -lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_70 = lean_array_push(x_69, x_68); -x_71 = lean_array_push(x_70, x_61); -x_72 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__8; -x_73 = lean_array_push(x_71, x_72); -x_74 = lean_array_push(x_73, x_63); -x_75 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__5; -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 = l_Lean_Syntax_setArg(x_19, x_62, x_76); -x_78 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_79 = lean_array_push(x_78, x_77); -x_80 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -x_82 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_66); -lean_dec(x_3); -x_83 = !lean_is_exclusive(x_82); -if (x_83 == 0) -{ -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; -x_84 = lean_ctor_get(x_82, 0); -x_85 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_84); -x_86 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -x_87 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_88 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_88, 0, x_84); -lean_ctor_set(x_88, 1, x_87); -x_89 = lean_array_push(x_78, x_88); -x_90 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = lean_array_push(x_69, x_86); -x_93 = lean_array_push(x_92, x_81); -x_94 = lean_array_push(x_93, x_91); -x_95 = lean_array_push(x_94, x_2); -x_96 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -lean_ctor_set(x_82, 0, x_97); -return x_82; -} -else -{ -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; -x_98 = lean_ctor_get(x_82, 0); -x_99 = lean_ctor_get(x_82, 1); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_82); -x_100 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_98); -x_101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_101, 0, x_98); -lean_ctor_set(x_101, 1, x_100); -x_102 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_98); -lean_ctor_set(x_103, 1, x_102); -x_104 = lean_array_push(x_78, x_103); -x_105 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = lean_array_push(x_69, x_101); -x_108 = lean_array_push(x_107, x_81); -x_109 = lean_array_push(x_108, x_106); -x_110 = lean_array_push(x_109, x_2); -x_111 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_110); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_99); -return x_113; -} -} -} -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_114 = lean_ctor_get(x_4, 0); -x_115 = lean_ctor_get(x_4, 1); -lean_inc(x_115); -lean_inc(x_114); +lean_object* x_5; +x_5 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm(x_1, x_2, x_3, x_4); lean_dec(x_4); -x_116 = lean_unsigned_to_nat(1u); -x_117 = lean_nat_add(x_114, x_116); -x_118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_115); -lean_ctor_set(x_3, 5, x_11); -lean_ctor_set(x_3, 2, x_114); -if (x_7 == 0) -{ -lean_object* x_119; lean_object* x_120; -lean_dec(x_2); -x_119 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__3; -x_120 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_119, x_3, x_118); -lean_dec(x_1); -return x_120; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; -x_121 = lean_unsigned_to_nat(0u); -x_122 = l_Lean_Syntax_getArg(x_1, x_121); -lean_dec(x_1); -lean_inc(x_122); -x_123 = l_Lean_Syntax_getKind(x_122); -x_124 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_125 = lean_name_eq(x_123, x_124); -lean_dec(x_123); -if (x_125 == 0) -{ -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_126 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_127 = lean_array_push(x_126, x_122); -x_128 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -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_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_118); lean_dec(x_3); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - x_133 = x_130; -} else { - lean_dec_ref(x_130); - x_133 = lean_box(0); -} -x_134 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_131); -x_135 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_135, 0, x_131); -lean_ctor_set(x_135, 1, x_134); -x_136 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_137 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_137, 0, x_131); -lean_ctor_set(x_137, 1, x_136); -x_138 = lean_array_push(x_126, x_137); -x_139 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -x_141 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_142 = lean_array_push(x_141, x_135); -x_143 = lean_array_push(x_142, x_129); -x_144 = lean_array_push(x_143, x_140); -x_145 = lean_array_push(x_144, x_2); -x_146 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_145); -if (lean_is_scalar(x_133)) { - x_148 = lean_alloc_ctor(0, 2, 0); -} else { - x_148 = x_133; -} -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_132); -return x_148; -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_149 = l_Lean_Syntax_getArg(x_122, x_121); -x_150 = lean_unsigned_to_nat(4u); -x_151 = l_Lean_Syntax_getArg(x_122, x_150); -x_152 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_118); -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 1); -lean_inc(x_154); -lean_dec(x_152); -x_155 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__6; -x_156 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_156, 0, x_153); -lean_ctor_set(x_156, 1, x_155); -x_157 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_158 = lean_array_push(x_157, x_156); -x_159 = lean_array_push(x_158, x_149); -x_160 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__8; -x_161 = lean_array_push(x_159, x_160); -x_162 = lean_array_push(x_161, x_151); -x_163 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__5; -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_162); -x_165 = l_Lean_Syntax_setArg(x_122, x_150, x_164); -x_166 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_167 = lean_array_push(x_166, x_165); -x_168 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -x_170 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_154); -lean_dec(x_3); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); -if (lean_is_exclusive(x_170)) { - lean_ctor_release(x_170, 0); - lean_ctor_release(x_170, 1); - x_173 = x_170; -} else { - lean_dec_ref(x_170); - x_173 = lean_box(0); -} -x_174 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_171); -x_175 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_175, 0, x_171); -lean_ctor_set(x_175, 1, x_174); -x_176 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_177 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_177, 0, x_171); -lean_ctor_set(x_177, 1, x_176); -x_178 = lean_array_push(x_166, x_177); -x_179 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); -x_181 = lean_array_push(x_157, x_175); -x_182 = lean_array_push(x_181, x_169); -x_183 = lean_array_push(x_182, x_180); -x_184 = lean_array_push(x_183, x_2); -x_185 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set(x_186, 1, x_184); -if (lean_is_scalar(x_173)) { - x_187 = lean_alloc_ctor(0, 2, 0); -} else { - x_187 = x_173; -} -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_172); -return x_187; -} -} -} -} -else -{ -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_188 = lean_ctor_get(x_3, 0); -x_189 = lean_ctor_get(x_3, 1); -x_190 = lean_ctor_get(x_3, 3); -x_191 = lean_ctor_get(x_3, 4); -x_192 = lean_ctor_get(x_3, 5); -lean_inc(x_192); -lean_inc(x_191); -lean_inc(x_190); -lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_3); -x_193 = l_Lean_replaceRef(x_1, x_192); -lean_dec(x_192); -x_194 = lean_ctor_get(x_4, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_4, 1); -lean_inc(x_195); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - x_196 = x_4; -} else { - lean_dec_ref(x_4); - x_196 = lean_box(0); -} -x_197 = lean_unsigned_to_nat(1u); -x_198 = lean_nat_add(x_194, x_197); -if (lean_is_scalar(x_196)) { - x_199 = lean_alloc_ctor(0, 2, 0); -} else { - x_199 = x_196; -} -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_195); -x_200 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_200, 0, x_188); -lean_ctor_set(x_200, 1, x_189); -lean_ctor_set(x_200, 2, x_194); -lean_ctor_set(x_200, 3, x_190); -lean_ctor_set(x_200, 4, x_191); -lean_ctor_set(x_200, 5, x_193); -if (x_7 == 0) -{ -lean_object* x_201; lean_object* x_202; -lean_dec(x_2); -x_201 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__3; -x_202 = l_Lean_Macro_throwErrorAt___rarg(x_1, x_201, x_200, x_199); -lean_dec(x_1); -return x_202; -} -else -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; -x_203 = lean_unsigned_to_nat(0u); -x_204 = l_Lean_Syntax_getArg(x_1, x_203); -lean_dec(x_1); -lean_inc(x_204); -x_205 = l_Lean_Syntax_getKind(x_204); -x_206 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_207 = lean_name_eq(x_205, x_206); -lean_dec(x_205); -if (x_207 == 0) -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_208 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_209 = lean_array_push(x_208, x_204); -x_210 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_211, 0, x_210); -lean_ctor_set(x_211, 1, x_209); -x_212 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_200, x_199); -lean_dec(x_200); -x_213 = lean_ctor_get(x_212, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_212, 1); -lean_inc(x_214); -if (lean_is_exclusive(x_212)) { - lean_ctor_release(x_212, 0); - lean_ctor_release(x_212, 1); - x_215 = x_212; -} else { - lean_dec_ref(x_212); - x_215 = lean_box(0); -} -x_216 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_213); -x_217 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_217, 0, x_213); -lean_ctor_set(x_217, 1, x_216); -x_218 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_219 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_219, 0, x_213); -lean_ctor_set(x_219, 1, x_218); -x_220 = lean_array_push(x_208, x_219); -x_221 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_220); -x_223 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_224 = lean_array_push(x_223, x_217); -x_225 = lean_array_push(x_224, x_211); -x_226 = lean_array_push(x_225, x_222); -x_227 = lean_array_push(x_226, x_2); -x_228 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_227); -if (lean_is_scalar(x_215)) { - x_230 = lean_alloc_ctor(0, 2, 0); -} else { - x_230 = x_215; -} -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_214); -return x_230; -} -else -{ -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; -x_231 = l_Lean_Syntax_getArg(x_204, x_203); -x_232 = lean_unsigned_to_nat(4u); -x_233 = l_Lean_Syntax_getArg(x_204, x_232); -x_234 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_200, x_199); -x_235 = lean_ctor_get(x_234, 0); -lean_inc(x_235); -x_236 = lean_ctor_get(x_234, 1); -lean_inc(x_236); -lean_dec(x_234); -x_237 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__6; -x_238 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_238, 0, x_235); -lean_ctor_set(x_238, 1, x_237); -x_239 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_240 = lean_array_push(x_239, x_238); -x_241 = lean_array_push(x_240, x_231); -x_242 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__8; -x_243 = lean_array_push(x_241, x_242); -x_244 = lean_array_push(x_243, x_233); -x_245 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__5; -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 = l_Lean_Syntax_setArg(x_204, x_232, x_246); -x_248 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_249 = lean_array_push(x_248, x_247); -x_250 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_251, 0, x_250); -lean_ctor_set(x_251, 1, x_249); -x_252 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_200, x_236); -lean_dec(x_200); -x_253 = lean_ctor_get(x_252, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_252, 1); -lean_inc(x_254); -if (lean_is_exclusive(x_252)) { - lean_ctor_release(x_252, 0); - lean_ctor_release(x_252, 1); - x_255 = x_252; -} else { - lean_dec_ref(x_252); - x_255 = lean_box(0); -} -x_256 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_253); -x_257 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_257, 0, x_253); -lean_ctor_set(x_257, 1, x_256); -x_258 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_259 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_259, 0, x_253); -lean_ctor_set(x_259, 1, x_258); -x_260 = lean_array_push(x_248, x_259); -x_261 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_261); -lean_ctor_set(x_262, 1, x_260); -x_263 = lean_array_push(x_239, x_257); -x_264 = lean_array_push(x_263, x_251); -x_265 = lean_array_push(x_264, x_262); -x_266 = lean_array_push(x_265, x_2); -x_267 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_267); -lean_ctor_set(x_268, 1, x_266); -if (lean_is_scalar(x_255)) { - x_269 = lean_alloc_ctor(0, 2, 0); -} else { - x_269 = x_255; -} -lean_ctor_set(x_269, 0, x_268); -lean_ctor_set(x_269, 1, x_254); -return x_269; -} -} -} +return x_5; } } static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__1() { @@ -40149,15 +24564,15 @@ uint8_t x_7; x_7 = l_Lean_Syntax_isNone(x_1); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +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; 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; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); -x_11 = !lean_is_exclusive(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; 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; -x_12 = lean_ctor_get(x_10, 0); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); x_13 = lean_ctor_get(x_5, 2); lean_inc(x_13); x_14 = lean_ctor_get(x_5, 1); @@ -40167,21 +24582,21 @@ x_15 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__4; x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); x_17 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__3; x_18 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__6; -lean_inc(x_12); +lean_inc(x_11); x_19 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_19, 0, x_12); +lean_ctor_set(x_19, 0, x_11); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); x_20 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_12); +lean_inc(x_11); x_21 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_21, 0, x_12); +lean_ctor_set(x_21, 0, x_11); lean_ctor_set(x_21, 1, x_20); x_22 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_12); +lean_inc(x_11); x_23 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_23, 0, x_12); +lean_ctor_set(x_23, 0, x_11); lean_ctor_set(x_23, 1, x_22); x_24 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; x_25 = lean_array_push(x_24, x_9); @@ -40190,9 +24605,9 @@ x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); x_28 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_12); +lean_inc(x_11); x_29 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_29, 0, x_12); +lean_ctor_set(x_29, 0, x_11); lean_ctor_set(x_29, 1, x_28); x_30 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; x_31 = lean_array_push(x_30, x_27); @@ -40219,7 +24634,7 @@ lean_ctor_set(x_44, 0, x_26); lean_ctor_set(x_44, 1, x_43); x_45 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_12); +lean_ctor_set(x_46, 0, x_11); lean_ctor_set(x_46, 1, x_45); x_47 = lean_array_push(x_30, x_21); lean_inc(x_47); @@ -40260,208 +24675,53 @@ x_68 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -lean_ctor_set(x_10, 0, x_69); -return x_10; +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_12); +return x_70; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_70 = lean_ctor_get(x_10, 0); -x_71 = lean_ctor_get(x_10, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_10); -x_72 = lean_ctor_get(x_5, 2); +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; +x_71 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); +x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); -x_73 = lean_ctor_get(x_5, 1); +x_73 = lean_ctor_get(x_71, 1); lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_ctor_get(x_5, 2); +lean_inc(x_74); +x_75 = lean_ctor_get(x_5, 1); +lean_inc(x_75); lean_dec(x_5); -x_74 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__4; -x_75 = l_Lean_addMacroScope(x_73, x_74, x_72); -x_76 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__3; -x_77 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__6; -lean_inc(x_70); -x_78 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_78, 0, x_70); -lean_ctor_set(x_78, 1, x_76); -lean_ctor_set(x_78, 2, x_75); -lean_ctor_set(x_78, 3, x_77); -x_79 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_70); -x_80 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_80, 0, x_70); -lean_ctor_set(x_80, 1, x_79); -x_81 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_70); -x_82 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_82, 0, x_70); -lean_ctor_set(x_82, 1, x_81); -x_83 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_84 = lean_array_push(x_83, x_9); +x_76 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__10; +x_77 = l_Lean_addMacroScope(x_75, x_76, x_74); +x_78 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__9; +x_79 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__12; +x_80 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_80, 0, x_72); +lean_ctor_set(x_80, 1, x_78); +lean_ctor_set(x_80, 2, x_77); +lean_ctor_set(x_80, 3, x_79); +x_81 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_82 = lean_array_push(x_81, x_2); +x_83 = lean_array_push(x_82, x_3); +x_84 = lean_array_push(x_83, x_4); x_85 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); -x_87 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_70); -x_88 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_88, 0, x_70); -lean_ctor_set(x_88, 1, x_87); -x_89 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_90 = lean_array_push(x_89, x_86); -x_91 = lean_array_push(x_90, x_88); -lean_inc(x_91); -x_92 = lean_array_push(x_91, x_3); -x_93 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -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_Do_pullExitPointsAux___lambda__1___closed__12; -x_96 = lean_array_push(x_95, x_82); -lean_inc(x_96); -x_97 = lean_array_push(x_96, x_94); -x_98 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___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_95, x_99); -x_101 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_102 = lean_array_push(x_100, x_101); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_85); -lean_ctor_set(x_103, 1, x_102); -x_104 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_105, 0, x_70); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_array_push(x_89, x_80); -lean_inc(x_106); -x_107 = lean_array_push(x_106, x_103); -lean_inc(x_105); -x_108 = lean_array_push(x_107, x_105); -x_109 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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_array_push(x_91, x_4); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_93); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_array_push(x_96, x_112); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_98); -lean_ctor_set(x_114, 1, x_113); -x_115 = lean_array_push(x_95, x_114); -x_116 = lean_array_push(x_115, x_101); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_85); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_array_push(x_106, x_117); -x_119 = lean_array_push(x_118, x_105); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_109); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_array_push(x_89, x_2); -x_122 = lean_array_push(x_121, x_110); -x_123 = lean_array_push(x_122, x_120); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_85); -lean_ctor_set(x_124, 1, x_123); -x_125 = lean_array_push(x_95, x_78); -x_126 = lean_array_push(x_125, x_124); -x_127 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_71); -return x_129; -} -} -else -{ -lean_object* x_130; uint8_t x_131; -x_130 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_5, x_6); -x_131 = !lean_is_exclusive(x_130); -if (x_131 == 0) -{ -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_132 = lean_ctor_get(x_130, 0); -x_133 = lean_ctor_get(x_5, 2); -lean_inc(x_133); -x_134 = lean_ctor_get(x_5, 1); -lean_inc(x_134); -lean_dec(x_5); -x_135 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__10; -x_136 = l_Lean_addMacroScope(x_134, x_135, x_133); -x_137 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__9; -x_138 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__12; -x_139 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_139, 0, x_132); -lean_ctor_set(x_139, 1, x_137); -lean_ctor_set(x_139, 2, x_136); -lean_ctor_set(x_139, 3, x_138); -x_140 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_141 = lean_array_push(x_140, x_2); -x_142 = lean_array_push(x_141, x_3); -x_143 = lean_array_push(x_142, x_4); -x_144 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_143); -x_146 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_147 = lean_array_push(x_146, x_139); -x_148 = lean_array_push(x_147, x_145); -x_149 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -lean_ctor_set(x_130, 0, x_150); -return x_130; -} -else -{ -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; -x_151 = lean_ctor_get(x_130, 0); -x_152 = lean_ctor_get(x_130, 1); -lean_inc(x_152); -lean_inc(x_151); -lean_dec(x_130); -x_153 = lean_ctor_get(x_5, 2); -lean_inc(x_153); -x_154 = lean_ctor_get(x_5, 1); -lean_inc(x_154); -lean_dec(x_5); -x_155 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__10; -x_156 = l_Lean_addMacroScope(x_154, x_155, x_153); -x_157 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__9; -x_158 = l_Lean_Elab_Term_Do_ToTerm_mkIte___closed__12; -x_159 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_159, 0, x_151); -lean_ctor_set(x_159, 1, x_157); -lean_ctor_set(x_159, 2, x_156); -lean_ctor_set(x_159, 3, x_158); -x_160 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_161 = lean_array_push(x_160, x_2); -x_162 = lean_array_push(x_161, x_3); -x_163 = lean_array_push(x_162, x_4); -x_164 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -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 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_167 = lean_array_push(x_166, x_159); -x_168 = lean_array_push(x_167, x_165); -x_169 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_168); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_152); -return x_171; -} +x_87 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_88 = lean_array_push(x_87, x_80); +x_89 = lean_array_push(x_88, x_86); +x_90 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_89); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_73); +return x_92; } } } @@ -40816,7 +25076,7 @@ return x_2; lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint(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; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_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_8 = lean_array_get_size(x_2); x_9 = lean_usize_of_nat(x_8); lean_dec(x_8); @@ -40829,844 +25089,218 @@ x_14 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ lean_closure_set(x_14, 0, x_12); lean_closure_set(x_14, 1, x_13); lean_closure_set(x_14, 2, x_11); -x_15 = !lean_is_exclusive(x_6); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_ctor_get(x_6, 5); -x_17 = lean_ctor_get(x_6, 2); -lean_dec(x_17); -x_18 = l_Lean_replaceRef(x_3, x_16); -lean_dec(x_16); -x_19 = !lean_is_exclusive(x_7); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_7, 0); -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_add(x_20, x_21); -lean_ctor_set(x_7, 0, x_22); -lean_ctor_set(x_6, 5, x_18); -lean_ctor_set(x_6, 2, x_20); -x_23 = x_14; -lean_inc(x_6); -lean_inc(x_5); -x_24 = lean_apply_3(x_23, x_5, x_6, x_7); -if (lean_obj_tag(x_24) == 0) -{ -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; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_6, 1); +x_17 = lean_ctor_get(x_6, 3); +x_18 = lean_ctor_get(x_6, 4); +x_19 = lean_ctor_get(x_6, 5); +x_20 = l_Lean_replaceRef(x_3, x_19); +x_21 = lean_ctor_get(x_7, 0); +x_22 = lean_ctor_get(x_7, 1); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_add(x_21, x_23); +lean_inc(x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_22); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_21); +lean_inc(x_16); +lean_inc(x_15); +x_26 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_26, 0, x_15); +lean_ctor_set(x_26, 1, x_16); +lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_17); +lean_ctor_set(x_26, 4, x_18); +lean_ctor_set(x_26, 5, x_20); +x_27 = x_14; lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_box_usize(x_9); -x_28 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___boxed__const__1; -x_29 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__2___boxed), 6, 3); -lean_closure_set(x_29, 0, x_27); -lean_closure_set(x_29, 1, x_28); -lean_closure_set(x_29, 2, x_11); -x_30 = x_29; -lean_inc(x_6); lean_inc(x_5); -x_31 = lean_apply_3(x_30, x_5, x_6, x_26); -if (lean_obj_tag(x_31) == 0) +x_28 = lean_apply_3(x_27, x_5, x_26, x_25); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkUVarTuple___spec__1(x_1, x_5, x_6, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); +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; +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_box_usize(x_9); +x_32 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___boxed__const__1; +x_33 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__2___boxed), 6, 3); +lean_closure_set(x_33, 0, x_31); +lean_closure_set(x_33, 1, x_32); +lean_closure_set(x_33, 2, x_11); +x_34 = x_33; +lean_inc(x_26); +lean_inc(x_5); +x_35 = lean_apply_3(x_34, x_5, x_26, x_30); +if (lean_obj_tag(x_35) == 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; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_6, x_36); -lean_dec(x_6); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_39 = lean_ctor_get(x_37, 0); -x_40 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__1; +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkUVarTuple___spec__1(x_1, x_5, x_26, x_37); +x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Array_zip___rarg(x_32, x_25); -lean_dec(x_25); -lean_dec(x_32); -x_43 = lean_array_get_size(x_42); -x_44 = lean_usize_of_nat(x_43); -lean_dec(x_43); -x_45 = x_42; -x_46 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_47 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_48 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -lean_inc(x_39); -x_49 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(x_39, x_46, x_47, x_48, x_44, x_10, x_45); -x_50 = x_49; -x_51 = l_Array_append___rarg(x_48, x_50); -lean_dec(x_50); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_47); -lean_ctor_set(x_52, 1, x_51); -x_53 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_39); -x_54 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_54, 0, x_39); -lean_ctor_set(x_54, 1, x_53); -x_55 = lean_ctor_get(x_5, 0); -lean_inc(x_55); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_26, x_40); +lean_dec(x_26); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__1; +lean_inc(x_42); +x_45 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_Array_zip___rarg(x_36, x_29); +lean_dec(x_29); +lean_dec(x_36); +x_47 = lean_array_get_size(x_46); +x_48 = lean_usize_of_nat(x_47); +lean_dec(x_47); +x_49 = x_46; +x_50 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; +x_51 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_52 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; +lean_inc(x_42); +x_53 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(x_42, x_50, x_51, x_52, x_48, x_10, x_49); +x_54 = x_53; +x_55 = l_Array_append___rarg(x_52, x_54); +lean_dec(x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +x_57 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; +lean_inc(x_42); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_42); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_ctor_get(x_5, 0); +lean_inc(x_59); lean_dec(x_5); -x_56 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_39); -x_57 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_57, 0, x_39); -lean_ctor_set(x_57, 1, x_56); -x_58 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_59 = lean_array_push(x_58, x_57); -x_60 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -x_62 = lean_array_push(x_58, x_61); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_47); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_65 = lean_array_push(x_64, x_55); -x_66 = lean_array_push(x_65, x_63); -x_67 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = lean_array_push(x_64, x_54); -x_70 = lean_array_push(x_69, x_68); -x_71 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__4; +x_60 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; +lean_inc(x_42); +x_61 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_61, 0, x_42); +lean_ctor_set(x_61, 1, x_60); +x_62 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_63 = lean_array_push(x_62, x_61); +x_64 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; +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_62, x_65); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_51); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_69 = lean_array_push(x_68, x_59); +x_70 = lean_array_push(x_69, x_67); +x_71 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); -x_73 = lean_array_push(x_58, x_72); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_47); -lean_ctor_set(x_74, 1, x_73); -x_75 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_39); -x_76 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_76, 0, x_39); -lean_ctor_set(x_76, 1, x_75); -x_77 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_78 = lean_array_push(x_77, x_35); -x_79 = lean_array_push(x_78, x_52); -x_80 = lean_array_push(x_79, x_74); -x_81 = lean_array_push(x_80, x_76); -x_82 = lean_array_push(x_81, x_3); -x_83 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_82); -x_85 = lean_array_push(x_58, x_84); -x_86 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -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_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_39); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_push(x_58, x_89); +x_73 = lean_array_push(x_68, x_58); +x_74 = lean_array_push(x_73, x_72); +x_75 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__4; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = lean_array_push(x_62, x_76); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_51); +lean_ctor_set(x_78, 1, x_77); +x_79 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_42); +x_80 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_80, 0, x_42); +lean_ctor_set(x_80, 1, x_79); +x_81 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_82 = lean_array_push(x_81, x_39); +x_83 = lean_array_push(x_82, x_56); +x_84 = lean_array_push(x_83, x_78); +x_85 = lean_array_push(x_84, x_80); +x_86 = lean_array_push(x_85, x_3); +x_87 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_86); +x_89 = lean_array_push(x_62, x_88); +x_90 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_47); -lean_ctor_set(x_91, 1, x_90); -x_92 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_93 = lean_array_push(x_92, x_41); -x_94 = lean_array_push(x_93, x_87); -x_95 = lean_array_push(x_94, x_91); -x_96 = lean_array_push(x_95, x_4); -x_97 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__2; -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -lean_ctor_set(x_37, 0, x_98); -return x_37; +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_89); +x_92 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +x_93 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_93, 0, x_42); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_array_push(x_62, x_93); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_51); +lean_ctor_set(x_95, 1, x_94); +x_96 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_97 = lean_array_push(x_96, x_45); +x_98 = lean_array_push(x_97, x_91); +x_99 = lean_array_push(x_98, x_95); +x_100 = lean_array_push(x_99, x_4); +x_101 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__2; +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_43); +return x_103; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; size_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_99 = lean_ctor_get(x_37, 0); -x_100 = lean_ctor_get(x_37, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_37); -x_101 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__1; -lean_inc(x_99); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_99); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Array_zip___rarg(x_32, x_25); -lean_dec(x_25); -lean_dec(x_32); -x_104 = lean_array_get_size(x_103); -x_105 = lean_usize_of_nat(x_104); -lean_dec(x_104); -x_106 = x_103; -x_107 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_108 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_109 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -lean_inc(x_99); -x_110 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(x_99, x_107, x_108, x_109, x_105, x_10, x_106); -x_111 = x_110; -x_112 = l_Array_append___rarg(x_109, x_111); -lean_dec(x_111); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_108); -lean_ctor_set(x_113, 1, x_112); -x_114 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_99); -x_115 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_115, 0, x_99); -lean_ctor_set(x_115, 1, x_114); -x_116 = lean_ctor_get(x_5, 0); -lean_inc(x_116); -lean_dec(x_5); -x_117 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_99); -x_118 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_118, 0, x_99); -lean_ctor_set(x_118, 1, x_117); -x_119 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_120 = lean_array_push(x_119, x_118); -x_121 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -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 = lean_array_push(x_119, x_122); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_108); -lean_ctor_set(x_124, 1, x_123); -x_125 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_126 = lean_array_push(x_125, x_116); -x_127 = lean_array_push(x_126, x_124); -x_128 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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 = lean_array_push(x_125, x_115); -x_131 = lean_array_push(x_130, x_129); -x_132 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__4; -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -x_134 = lean_array_push(x_119, x_133); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_108); -lean_ctor_set(x_135, 1, x_134); -x_136 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_99); -x_137 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_137, 0, x_99); -lean_ctor_set(x_137, 1, x_136); -x_138 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_139 = lean_array_push(x_138, x_35); -x_140 = lean_array_push(x_139, x_113); -x_141 = lean_array_push(x_140, x_135); -x_142 = lean_array_push(x_141, x_137); -x_143 = lean_array_push(x_142, x_3); -x_144 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_143); -x_146 = lean_array_push(x_119, x_145); -x_147 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -x_149 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_150 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_150, 0, x_99); -lean_ctor_set(x_150, 1, x_149); -x_151 = lean_array_push(x_119, x_150); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_108); -lean_ctor_set(x_152, 1, x_151); -x_153 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_154 = lean_array_push(x_153, x_102); -x_155 = lean_array_push(x_154, x_148); -x_156 = lean_array_push(x_155, x_152); -x_157 = lean_array_push(x_156, x_4); -x_158 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__2; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -x_160 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_100); -return x_160; -} -} -else -{ -uint8_t x_161; -lean_dec(x_25); -lean_dec(x_6); +lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_dec(x_29); +lean_dec(x_26); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_161 = !lean_is_exclusive(x_31); -if (x_161 == 0) -{ -return x_31; -} -else -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_162 = lean_ctor_get(x_31, 0); -x_163 = lean_ctor_get(x_31, 1); -lean_inc(x_163); -lean_inc(x_162); -lean_dec(x_31); -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_162); -lean_ctor_set(x_164, 1, x_163); -return x_164; -} +x_104 = lean_ctor_get(x_35, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_35, 1); +lean_inc(x_105); +lean_dec(x_35); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; } } else { -uint8_t x_165; -lean_dec(x_6); +lean_object* x_107; lean_object* x_108; lean_object* x_109; +lean_dec(x_26); lean_dec(x_11); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_165 = !lean_is_exclusive(x_24); -if (x_165 == 0) -{ -return x_24; -} -else -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = lean_ctor_get(x_24, 0); -x_167 = lean_ctor_get(x_24, 1); -lean_inc(x_167); -lean_inc(x_166); -lean_dec(x_24); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_166); -lean_ctor_set(x_168, 1, x_167); -return x_168; -} -} -} -else -{ -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; -x_169 = lean_ctor_get(x_7, 0); -x_170 = lean_ctor_get(x_7, 1); -lean_inc(x_170); -lean_inc(x_169); -lean_dec(x_7); -x_171 = lean_unsigned_to_nat(1u); -x_172 = lean_nat_add(x_169, x_171); -x_173 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_173, 0, x_172); -lean_ctor_set(x_173, 1, x_170); -lean_ctor_set(x_6, 5, x_18); -lean_ctor_set(x_6, 2, x_169); -x_174 = x_14; -lean_inc(x_6); -lean_inc(x_5); -x_175 = lean_apply_3(x_174, x_5, x_6, x_173); -if (lean_obj_tag(x_175) == 0) -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_175, 1); -lean_inc(x_177); -lean_dec(x_175); -x_178 = lean_box_usize(x_9); -x_179 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___boxed__const__1; -x_180 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__2___boxed), 6, 3); -lean_closure_set(x_180, 0, x_178); -lean_closure_set(x_180, 1, x_179); -lean_closure_set(x_180, 2, x_11); -x_181 = x_180; -lean_inc(x_6); -lean_inc(x_5); -x_182 = lean_apply_3(x_181, x_5, x_6, x_177); -if (lean_obj_tag(x_182) == 0) -{ -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; size_t x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_182, 1); -lean_inc(x_184); -lean_dec(x_182); -x_185 = l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkUVarTuple___spec__1(x_1, x_5, x_6, x_184); -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_185, 1); -lean_inc(x_187); -lean_dec(x_185); -x_188 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_6, x_187); -lean_dec(x_6); -x_189 = lean_ctor_get(x_188, 0); -lean_inc(x_189); -x_190 = lean_ctor_get(x_188, 1); -lean_inc(x_190); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_191 = x_188; -} else { - lean_dec_ref(x_188); - x_191 = lean_box(0); -} -x_192 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__1; -lean_inc(x_189); -x_193 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_193, 0, x_189); -lean_ctor_set(x_193, 1, x_192); -x_194 = l_Array_zip___rarg(x_183, x_176); -lean_dec(x_176); -lean_dec(x_183); -x_195 = lean_array_get_size(x_194); -x_196 = lean_usize_of_nat(x_195); -lean_dec(x_195); -x_197 = x_194; -x_198 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_199 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_200 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -lean_inc(x_189); -x_201 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(x_189, x_198, x_199, x_200, x_196, x_10, x_197); -x_202 = x_201; -x_203 = l_Array_append___rarg(x_200, x_202); -lean_dec(x_202); -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_199); -lean_ctor_set(x_204, 1, x_203); -x_205 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_189); -x_206 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_206, 0, x_189); -lean_ctor_set(x_206, 1, x_205); -x_207 = lean_ctor_get(x_5, 0); -lean_inc(x_207); -lean_dec(x_5); -x_208 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_189); -x_209 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_209, 0, x_189); -lean_ctor_set(x_209, 1, x_208); -x_210 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_211 = lean_array_push(x_210, x_209); -x_212 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -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 = lean_array_push(x_210, x_213); -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_199); -lean_ctor_set(x_215, 1, x_214); -x_216 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_217 = lean_array_push(x_216, x_207); -x_218 = lean_array_push(x_217, x_215); -x_219 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_219); -lean_ctor_set(x_220, 1, x_218); -x_221 = lean_array_push(x_216, x_206); -x_222 = lean_array_push(x_221, x_220); -x_223 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__4; -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_225 = lean_array_push(x_210, x_224); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_199); -lean_ctor_set(x_226, 1, x_225); -x_227 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_189); -x_228 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_228, 0, x_189); -lean_ctor_set(x_228, 1, x_227); -x_229 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_230 = lean_array_push(x_229, x_186); -x_231 = lean_array_push(x_230, x_204); -x_232 = lean_array_push(x_231, x_226); -x_233 = lean_array_push(x_232, x_228); -x_234 = lean_array_push(x_233, x_3); -x_235 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_234); -x_237 = lean_array_push(x_210, x_236); -x_238 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_237); -x_240 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_241 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_241, 0, x_189); -lean_ctor_set(x_241, 1, x_240); -x_242 = lean_array_push(x_210, x_241); -x_243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_243, 0, x_199); -lean_ctor_set(x_243, 1, x_242); -x_244 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_245 = lean_array_push(x_244, x_193); -x_246 = lean_array_push(x_245, x_239); -x_247 = lean_array_push(x_246, x_243); -x_248 = lean_array_push(x_247, x_4); -x_249 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__2; -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_249); -lean_ctor_set(x_250, 1, x_248); -if (lean_is_scalar(x_191)) { - x_251 = lean_alloc_ctor(0, 2, 0); -} else { - x_251 = x_191; -} -lean_ctor_set(x_251, 0, x_250); -lean_ctor_set(x_251, 1, x_190); -return x_251; -} -else -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; -lean_dec(x_176); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_252 = lean_ctor_get(x_182, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_182, 1); -lean_inc(x_253); -if (lean_is_exclusive(x_182)) { - lean_ctor_release(x_182, 0); - lean_ctor_release(x_182, 1); - x_254 = x_182; -} else { - lean_dec_ref(x_182); - x_254 = lean_box(0); -} -if (lean_is_scalar(x_254)) { - x_255 = lean_alloc_ctor(1, 2, 0); -} else { - x_255 = x_254; -} -lean_ctor_set(x_255, 0, x_252); -lean_ctor_set(x_255, 1, x_253); -return x_255; -} -} -else -{ -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -lean_dec(x_6); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_256 = lean_ctor_get(x_175, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_175, 1); -lean_inc(x_257); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - x_258 = x_175; -} else { - lean_dec_ref(x_175); - x_258 = lean_box(0); -} -if (lean_is_scalar(x_258)) { - x_259 = lean_alloc_ctor(1, 2, 0); -} else { - x_259 = x_258; -} -lean_ctor_set(x_259, 0, x_256); -lean_ctor_set(x_259, 1, x_257); -return x_259; -} -} -} -else -{ -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; -x_260 = lean_ctor_get(x_6, 0); -x_261 = lean_ctor_get(x_6, 1); -x_262 = lean_ctor_get(x_6, 3); -x_263 = lean_ctor_get(x_6, 4); -x_264 = lean_ctor_get(x_6, 5); -lean_inc(x_264); -lean_inc(x_263); -lean_inc(x_262); -lean_inc(x_261); -lean_inc(x_260); -lean_dec(x_6); -x_265 = l_Lean_replaceRef(x_3, x_264); -lean_dec(x_264); -x_266 = lean_ctor_get(x_7, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_7, 1); -lean_inc(x_267); -if (lean_is_exclusive(x_7)) { - lean_ctor_release(x_7, 0); - lean_ctor_release(x_7, 1); - x_268 = x_7; -} else { - lean_dec_ref(x_7); - x_268 = lean_box(0); -} -x_269 = lean_unsigned_to_nat(1u); -x_270 = lean_nat_add(x_266, x_269); -if (lean_is_scalar(x_268)) { - x_271 = lean_alloc_ctor(0, 2, 0); -} else { - x_271 = x_268; -} -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_267); -x_272 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_272, 0, x_260); -lean_ctor_set(x_272, 1, x_261); -lean_ctor_set(x_272, 2, x_266); -lean_ctor_set(x_272, 3, x_262); -lean_ctor_set(x_272, 4, x_263); -lean_ctor_set(x_272, 5, x_265); -x_273 = x_14; -lean_inc(x_272); -lean_inc(x_5); -x_274 = lean_apply_3(x_273, x_5, x_272, x_271); -if (lean_obj_tag(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_object* x_281; -x_275 = lean_ctor_get(x_274, 0); -lean_inc(x_275); -x_276 = lean_ctor_get(x_274, 1); -lean_inc(x_276); -lean_dec(x_274); -x_277 = lean_box_usize(x_9); -x_278 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___boxed__const__1; -x_279 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__2___boxed), 6, 3); -lean_closure_set(x_279, 0, x_277); -lean_closure_set(x_279, 1, x_278); -lean_closure_set(x_279, 2, x_11); -x_280 = x_279; -lean_inc(x_272); -lean_inc(x_5); -x_281 = lean_apply_3(x_280, x_5, x_272, x_276); -if (lean_obj_tag(x_281) == 0) -{ -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; size_t 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; -x_282 = lean_ctor_get(x_281, 0); -lean_inc(x_282); -x_283 = lean_ctor_get(x_281, 1); -lean_inc(x_283); -lean_dec(x_281); -x_284 = l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkUVarTuple___spec__1(x_1, x_5, x_272, x_283); -x_285 = lean_ctor_get(x_284, 0); -lean_inc(x_285); -x_286 = lean_ctor_get(x_284, 1); -lean_inc(x_286); -lean_dec(x_284); -x_287 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_272, x_286); -lean_dec(x_272); -x_288 = lean_ctor_get(x_287, 0); -lean_inc(x_288); -x_289 = lean_ctor_get(x_287, 1); -lean_inc(x_289); -if (lean_is_exclusive(x_287)) { - lean_ctor_release(x_287, 0); - lean_ctor_release(x_287, 1); - x_290 = x_287; -} else { - lean_dec_ref(x_287); - x_290 = lean_box(0); -} -x_291 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__1; -lean_inc(x_288); -x_292 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_292, 0, x_288); -lean_ctor_set(x_292, 1, x_291); -x_293 = l_Array_zip___rarg(x_282, x_275); -lean_dec(x_275); -lean_dec(x_282); -x_294 = lean_array_get_size(x_293); -x_295 = lean_usize_of_nat(x_294); -lean_dec(x_294); -x_296 = x_293; -x_297 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_298 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_299 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -lean_inc(x_288); -x_300 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(x_288, x_297, x_298, x_299, x_295, x_10, x_296); -x_301 = x_300; -x_302 = l_Array_append___rarg(x_299, x_301); -lean_dec(x_301); -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_298); -lean_ctor_set(x_303, 1, x_302); -x_304 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_288); -x_305 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_305, 0, x_288); -lean_ctor_set(x_305, 1, x_304); -x_306 = lean_ctor_get(x_5, 0); -lean_inc(x_306); -lean_dec(x_5); -x_307 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__15; -lean_inc(x_288); -x_308 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_308, 0, x_288); -lean_ctor_set(x_308, 1, x_307); -x_309 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_310 = lean_array_push(x_309, x_308); -x_311 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__12; -x_312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_312, 0, x_311); -lean_ctor_set(x_312, 1, x_310); -x_313 = lean_array_push(x_309, x_312); -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_298); -lean_ctor_set(x_314, 1, x_313); -x_315 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_316 = lean_array_push(x_315, x_306); -x_317 = lean_array_push(x_316, x_314); -x_318 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_317); -x_320 = lean_array_push(x_315, x_305); -x_321 = lean_array_push(x_320, x_319); -x_322 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__4; -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_array_push(x_309, x_323); -x_325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_325, 0, x_298); -lean_ctor_set(x_325, 1, x_324); -x_326 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_288); -x_327 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_327, 0, x_288); -lean_ctor_set(x_327, 1, x_326); -x_328 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_329 = lean_array_push(x_328, x_285); -x_330 = lean_array_push(x_329, x_303); -x_331 = lean_array_push(x_330, x_325); -x_332 = lean_array_push(x_331, x_327); -x_333 = lean_array_push(x_332, x_3); -x_334 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_335, 0, x_334); -lean_ctor_set(x_335, 1, x_333); -x_336 = lean_array_push(x_309, x_335); -x_337 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_338 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_338, 0, x_337); -lean_ctor_set(x_338, 1, x_336); -x_339 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_340 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_340, 0, x_288); -lean_ctor_set(x_340, 1, x_339); -x_341 = lean_array_push(x_309, x_340); -x_342 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_342, 0, x_298); -lean_ctor_set(x_342, 1, x_341); -x_343 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_344 = lean_array_push(x_343, x_292); -x_345 = lean_array_push(x_344, x_338); -x_346 = lean_array_push(x_345, x_342); -x_347 = lean_array_push(x_346, x_4); -x_348 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__2; -x_349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_349, 0, x_348); -lean_ctor_set(x_349, 1, x_347); -if (lean_is_scalar(x_290)) { - x_350 = lean_alloc_ctor(0, 2, 0); -} else { - x_350 = x_290; -} -lean_ctor_set(x_350, 0, x_349); -lean_ctor_set(x_350, 1, x_289); -return x_350; -} -else -{ -lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -lean_dec(x_275); -lean_dec(x_272); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_351 = lean_ctor_get(x_281, 0); -lean_inc(x_351); -x_352 = lean_ctor_get(x_281, 1); -lean_inc(x_352); -if (lean_is_exclusive(x_281)) { - lean_ctor_release(x_281, 0); - lean_ctor_release(x_281, 1); - x_353 = x_281; -} else { - lean_dec_ref(x_281); - x_353 = lean_box(0); -} -if (lean_is_scalar(x_353)) { - x_354 = lean_alloc_ctor(1, 2, 0); -} else { - x_354 = x_353; -} -lean_ctor_set(x_354, 0, x_351); -lean_ctor_set(x_354, 1, x_352); -return x_354; -} -} -else -{ -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; -lean_dec(x_272); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_355 = lean_ctor_get(x_274, 0); -lean_inc(x_355); -x_356 = lean_ctor_get(x_274, 1); -lean_inc(x_356); -if (lean_is_exclusive(x_274)) { - lean_ctor_release(x_274, 0); - lean_ctor_release(x_274, 1); - x_357 = x_274; -} else { - lean_dec_ref(x_274); - x_357 = lean_box(0); -} -if (lean_is_scalar(x_357)) { - x_358 = lean_alloc_ctor(1, 2, 0); -} else { - x_358 = x_357; -} -lean_ctor_set(x_358, 0, x_355); -lean_ctor_set(x_358, 1, x_356); -return x_358; -} +x_107 = lean_ctor_get(x_28, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_28, 1); +lean_inc(x_108); +lean_dec(x_28); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; } } } @@ -41710,6 +25344,16 @@ x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__ return x_10; } } +lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___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_Elab_Term_Do_ToTerm_mkJoinPoint(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec(x_6); +return x_8; +} +} lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJmp(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -42063,29 +25707,20 @@ goto _start; } else { -uint8_t x_32; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_32 = !lean_is_exclusive(x_12); -if (x_32 == 0) -{ -return x_12; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_12, 0); -x_34 = lean_ctor_get(x_12, 1); -lean_inc(x_34); +x_32 = lean_ctor_get(x_12, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_12, 1); lean_inc(x_33); lean_dec(x_12); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } } @@ -42128,729 +25763,478 @@ return x_10; } else { -uint8_t x_11; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_11 = !lean_is_exclusive(x_7); -if (x_11 == 0) -{ -return x_7; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_7, 0); -x_13 = lean_ctor_get(x_7, 1); -lean_inc(x_13); +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_7, 1); lean_inc(x_12); lean_dec(x_7); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; } } case 1: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_1, 1); +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +x_15 = lean_ctor_get(x_1, 2); lean_inc(x_15); -x_16 = lean_ctor_get(x_1, 2); -lean_inc(x_16); lean_dec(x_1); lean_inc(x_3); -x_17 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_16, x_2, x_3, x_4); -if (lean_obj_tag(x_17) == 0) +x_16 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_15, x_2, x_3, x_4); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm(x_15, x_18, x_3, x_19); -return x_20; -} -else -{ -uint8_t x_21; -lean_dec(x_15); +lean_dec(x_16); +x_19 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm(x_14, x_17, x_3, x_18); +lean_dec(x_18); lean_dec(x_3); -x_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) -{ -return x_17; +return x_19; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_17, 0); -x_23 = lean_ctor_get(x_17, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_17); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_14); +lean_dec(x_3); +x_20 = lean_ctor_get(x_16, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_16, 1); +lean_inc(x_21); +lean_dec(x_16); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } case 2: { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_ctor_get(x_1, 0); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_1, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_1, 1); +lean_inc(x_24); +x_25 = lean_ctor_get(x_1, 2); lean_inc(x_25); -x_26 = lean_ctor_get(x_1, 1); +x_26 = lean_ctor_get(x_1, 3); lean_inc(x_26); -x_27 = lean_ctor_get(x_1, 2); -lean_inc(x_27); -x_28 = lean_ctor_get(x_1, 3); -lean_inc(x_28); lean_dec(x_1); lean_inc(x_3); lean_inc(x_2); -x_29 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_27, x_2, x_3, x_4); -if (lean_obj_tag(x_29) == 0) +x_27 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_25, x_2, x_3, x_4); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); lean_inc(x_3); lean_inc(x_2); -x_32 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_28, x_2, x_3, x_31); -if (lean_obj_tag(x_32) == 0) +x_30 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_26, x_2, x_3, x_29); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint(x_23, x_24, x_28, x_31, x_2, x_3, x_32); lean_dec(x_32); -x_35 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint(x_25, x_26, x_30, x_33, x_2, x_3, x_34); -return x_35; +lean_dec(x_3); +return x_33; } else { -uint8_t x_36; -lean_dec(x_30); -lean_dec(x_26); -lean_dec(x_25); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_28); +lean_dec(x_24); +lean_dec(x_23); lean_dec(x_3); lean_dec(x_2); -x_36 = !lean_is_exclusive(x_32); -if (x_36 == 0) -{ -return x_32; +x_34 = lean_ctor_get(x_30, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_30, 1); +lean_inc(x_35); +lean_dec(x_30); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} } else { lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_32, 0); -x_38 = lean_ctor_get(x_32, 1); -lean_inc(x_38); +lean_dec(x_26); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_3); +lean_dec(x_2); +x_37 = lean_ctor_get(x_27, 0); lean_inc(x_37); -lean_dec(x_32); +x_38 = lean_ctor_get(x_27, 1); +lean_inc(x_38); +lean_dec(x_27); x_39 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); return x_39; } } -} -else -{ -uint8_t x_40; -lean_dec(x_28); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_3); -lean_dec(x_2); -x_40 = !lean_is_exclusive(x_29); -if (x_40 == 0) -{ -return x_29; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_29, 0); -x_42 = lean_ctor_get(x_29, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_29); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} case 3: { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_1, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_1, 1); -lean_inc(x_45); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_1, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_1, 1); +lean_inc(x_41); lean_dec(x_1); lean_inc(x_3); lean_inc(x_2); -x_46 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_45, x_2, x_3, x_4); -if (lean_obj_tag(x_46) == 0) +x_42 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_41, x_2, x_3, x_4); +if (lean_obj_tag(x_42) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm(x_44, x_47, x_2, x_3, x_48); -return x_49; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm(x_40, x_43, x_2, x_3, x_44); +return x_45; } else { -uint8_t x_50; -lean_dec(x_44); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_40); lean_dec(x_3); lean_dec(x_2); -x_50 = !lean_is_exclusive(x_46); -if (x_50 == 0) -{ -return x_46; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_46, 0); -x_52 = lean_ctor_get(x_46, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_46); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} +x_46 = lean_ctor_get(x_42, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_42, 1); +lean_inc(x_47); +lean_dec(x_42); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } case 4: { -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_1, 0); -lean_inc(x_54); +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_1, 0); +lean_inc(x_49); lean_dec(x_1); -x_55 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm(x_54, x_2, x_3, x_4); -return x_55; +x_50 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm(x_49, x_2, x_3, x_4); +return x_50; } case 5: { -lean_object* x_56; uint8_t x_57; -x_56 = lean_ctor_get(x_1, 0); -lean_inc(x_56); +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_51 = lean_ctor_get(x_1, 0); +lean_inc(x_51); lean_dec(x_1); -x_57 = !lean_is_exclusive(x_3); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_3, 5); -x_59 = l_Lean_replaceRef(x_56, x_58); -lean_dec(x_58); -lean_dec(x_56); -lean_ctor_set(x_3, 5, x_59); -x_60 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm(x_2, x_3, x_4); -return x_60; -} -else -{ -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; -x_61 = lean_ctor_get(x_3, 0); -x_62 = lean_ctor_get(x_3, 1); -x_63 = lean_ctor_get(x_3, 2); -x_64 = lean_ctor_get(x_3, 3); -x_65 = lean_ctor_get(x_3, 4); -x_66 = lean_ctor_get(x_3, 5); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); +x_52 = lean_ctor_get(x_3, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_3, 1); +lean_inc(x_53); +x_54 = lean_ctor_get(x_3, 2); +lean_inc(x_54); +x_55 = lean_ctor_get(x_3, 3); +lean_inc(x_55); +x_56 = lean_ctor_get(x_3, 4); +lean_inc(x_56); +x_57 = lean_ctor_get(x_3, 5); +lean_inc(x_57); lean_dec(x_3); -x_67 = l_Lean_replaceRef(x_56, x_66); -lean_dec(x_66); -lean_dec(x_56); -x_68 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_68, 0, x_61); -lean_ctor_set(x_68, 1, x_62); -lean_ctor_set(x_68, 2, x_63); -lean_ctor_set(x_68, 3, x_64); -lean_ctor_set(x_68, 4, x_65); -lean_ctor_set(x_68, 5, x_67); -x_69 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm(x_2, x_68, x_4); -return x_69; -} +x_58 = l_Lean_replaceRef(x_51, x_57); +lean_dec(x_57); +lean_dec(x_51); +x_59 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_59, 0, x_52); +lean_ctor_set(x_59, 1, x_53); +lean_ctor_set(x_59, 2, x_54); +lean_ctor_set(x_59, 3, x_55); +lean_ctor_set(x_59, 4, x_56); +lean_ctor_set(x_59, 5, x_58); +x_60 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm(x_2, x_59, x_4); +return x_60; } case 6: { -lean_object* x_70; uint8_t x_71; -x_70 = lean_ctor_get(x_1, 0); -lean_inc(x_70); +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; +x_61 = lean_ctor_get(x_1, 0); +lean_inc(x_61); lean_dec(x_1); -x_71 = !lean_is_exclusive(x_3); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_3, 5); -x_73 = l_Lean_replaceRef(x_70, x_72); -lean_dec(x_72); -lean_dec(x_70); -lean_ctor_set(x_3, 5, x_73); -x_74 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm(x_2, x_3, x_4); -return x_74; -} -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_82; lean_object* x_83; -x_75 = lean_ctor_get(x_3, 0); -x_76 = lean_ctor_get(x_3, 1); -x_77 = lean_ctor_get(x_3, 2); -x_78 = lean_ctor_get(x_3, 3); -x_79 = lean_ctor_get(x_3, 4); -x_80 = lean_ctor_get(x_3, 5); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); +x_62 = lean_ctor_get(x_3, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_3, 1); +lean_inc(x_63); +x_64 = lean_ctor_get(x_3, 2); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 3); +lean_inc(x_65); +x_66 = lean_ctor_get(x_3, 4); +lean_inc(x_66); +x_67 = lean_ctor_get(x_3, 5); +lean_inc(x_67); lean_dec(x_3); -x_81 = l_Lean_replaceRef(x_70, x_80); -lean_dec(x_80); -lean_dec(x_70); -x_82 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_82, 0, x_75); -lean_ctor_set(x_82, 1, x_76); -lean_ctor_set(x_82, 2, x_77); -lean_ctor_set(x_82, 3, x_78); -lean_ctor_set(x_82, 4, x_79); -lean_ctor_set(x_82, 5, x_81); -x_83 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm(x_2, x_82, x_4); -return x_83; -} +x_68 = l_Lean_replaceRef(x_61, x_67); +lean_dec(x_67); +lean_dec(x_61); +x_69 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_69, 0, x_62); +lean_ctor_set(x_69, 1, x_63); +lean_ctor_set(x_69, 2, x_64); +lean_ctor_set(x_69, 3, x_65); +lean_ctor_set(x_69, 4, x_66); +lean_ctor_set(x_69, 5, x_68); +x_70 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm(x_2, x_69, x_4); +return x_70; } case 7: { -lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_84 = lean_ctor_get(x_1, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_1, 1); -lean_inc(x_85); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_71 = lean_ctor_get(x_1, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_1, 1); +lean_inc(x_72); lean_dec(x_1); -x_86 = !lean_is_exclusive(x_3); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_3, 5); -x_88 = l_Lean_replaceRef(x_84, x_87); -lean_dec(x_87); -lean_dec(x_84); -lean_ctor_set(x_3, 5, x_88); -x_89 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm(x_85, x_2, x_3, x_4); -return x_89; -} -else -{ -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; -x_90 = lean_ctor_get(x_3, 0); -x_91 = lean_ctor_get(x_3, 1); -x_92 = lean_ctor_get(x_3, 2); -x_93 = lean_ctor_get(x_3, 3); -x_94 = lean_ctor_get(x_3, 4); -x_95 = lean_ctor_get(x_3, 5); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); +x_73 = lean_ctor_get(x_3, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_3, 1); +lean_inc(x_74); +x_75 = lean_ctor_get(x_3, 2); +lean_inc(x_75); +x_76 = lean_ctor_get(x_3, 3); +lean_inc(x_76); +x_77 = lean_ctor_get(x_3, 4); +lean_inc(x_77); +x_78 = lean_ctor_get(x_3, 5); +lean_inc(x_78); lean_dec(x_3); -x_96 = l_Lean_replaceRef(x_84, x_95); -lean_dec(x_95); -lean_dec(x_84); -x_97 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_97, 0, x_90); -lean_ctor_set(x_97, 1, x_91); -lean_ctor_set(x_97, 2, x_92); -lean_ctor_set(x_97, 3, x_93); -lean_ctor_set(x_97, 4, x_94); -lean_ctor_set(x_97, 5, x_96); -x_98 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm(x_85, x_2, x_97, x_4); -return x_98; -} +x_79 = l_Lean_replaceRef(x_71, x_78); +lean_dec(x_78); +lean_dec(x_71); +x_80 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_80, 0, x_73); +lean_ctor_set(x_80, 1, x_74); +lean_ctor_set(x_80, 2, x_75); +lean_ctor_set(x_80, 3, x_76); +lean_ctor_set(x_80, 4, x_77); +lean_ctor_set(x_80, 5, x_79); +x_81 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm(x_72, x_2, x_80, x_4); +return x_81; } case 8: { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_99 = lean_ctor_get(x_1, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_1, 2); -lean_inc(x_100); -x_101 = lean_ctor_get(x_1, 3); -lean_inc(x_101); -x_102 = lean_ctor_get(x_1, 4); -lean_inc(x_102); -x_103 = lean_ctor_get(x_1, 5); -lean_inc(x_103); +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; +x_82 = lean_ctor_get(x_1, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_1, 2); +lean_inc(x_83); +x_84 = lean_ctor_get(x_1, 3); +lean_inc(x_84); +x_85 = lean_ctor_get(x_1, 4); +lean_inc(x_85); +x_86 = lean_ctor_get(x_1, 5); +lean_inc(x_86); lean_dec(x_1); -x_104 = !lean_is_exclusive(x_3); -if (x_104 == 0) +x_87 = lean_ctor_get(x_3, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_3, 1); +lean_inc(x_88); +x_89 = lean_ctor_get(x_3, 2); +lean_inc(x_89); +x_90 = lean_ctor_get(x_3, 3); +lean_inc(x_90); +x_91 = lean_ctor_get(x_3, 4); +lean_inc(x_91); +x_92 = lean_ctor_get(x_3, 5); +lean_inc(x_92); +lean_dec(x_3); +x_93 = l_Lean_replaceRef(x_82, x_92); +lean_dec(x_92); +lean_dec(x_82); +x_94 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_94, 0, x_87); +lean_ctor_set(x_94, 1, x_88); +lean_ctor_set(x_94, 2, x_89); +lean_ctor_set(x_94, 3, x_90); +lean_ctor_set(x_94, 4, x_91); +lean_ctor_set(x_94, 5, x_93); +lean_inc(x_94); +lean_inc(x_2); +x_95 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_85, x_2, x_94, x_4); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +lean_inc(x_94); +x_98 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_86, x_2, x_94, x_97); +if (lean_obj_tag(x_98) == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = l_Lean_Elab_Term_Do_ToTerm_mkIte(x_83, x_84, x_96, x_99, x_94, x_100); +lean_dec(x_83); +return x_101; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec(x_96); +lean_dec(x_94); +lean_dec(x_84); +lean_dec(x_83); +x_102 = lean_ctor_get(x_98, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_98, 1); +lean_inc(x_103); +lean_dec(x_98); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +else { lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_3, 5); -x_106 = l_Lean_replaceRef(x_99, x_105); -lean_dec(x_105); -lean_dec(x_99); -lean_ctor_set(x_3, 5, x_106); -lean_inc(x_3); -lean_inc(x_2); -x_107 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_102, x_2, x_3, x_4); -if (lean_obj_tag(x_107) == 0) -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -lean_inc(x_3); -x_110 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_103, x_2, x_3, x_109); -if (lean_obj_tag(x_110) == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_113 = l_Lean_Elab_Term_Do_ToTerm_mkIte(x_100, x_101, x_108, x_111, x_3, x_112); -lean_dec(x_100); -return x_113; -} -else -{ -uint8_t x_114; -lean_dec(x_108); -lean_dec(x_3); -lean_dec(x_101); -lean_dec(x_100); -x_114 = !lean_is_exclusive(x_110); -if (x_114 == 0) -{ -return x_110; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_110, 0); -x_116 = lean_ctor_get(x_110, 1); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_110); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -return x_117; -} -} -} -else -{ -uint8_t x_118; -lean_dec(x_3); -lean_dec(x_103); -lean_dec(x_101); -lean_dec(x_100); +lean_dec(x_94); +lean_dec(x_86); +lean_dec(x_84); +lean_dec(x_83); lean_dec(x_2); -x_118 = !lean_is_exclusive(x_107); -if (x_118 == 0) -{ +x_105 = lean_ctor_get(x_95, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_95, 1); +lean_inc(x_106); +lean_dec(x_95); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); return x_107; } -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_107, 0); -x_120 = lean_ctor_get(x_107, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_107); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -} -else -{ -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_122 = lean_ctor_get(x_3, 0); -x_123 = lean_ctor_get(x_3, 1); -x_124 = lean_ctor_get(x_3, 2); -x_125 = lean_ctor_get(x_3, 3); -x_126 = lean_ctor_get(x_3, 4); -x_127 = lean_ctor_get(x_3, 5); -lean_inc(x_127); -lean_inc(x_126); -lean_inc(x_125); -lean_inc(x_124); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_3); -x_128 = l_Lean_replaceRef(x_99, x_127); -lean_dec(x_127); -lean_dec(x_99); -x_129 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_129, 0, x_122); -lean_ctor_set(x_129, 1, x_123); -lean_ctor_set(x_129, 2, x_124); -lean_ctor_set(x_129, 3, x_125); -lean_ctor_set(x_129, 4, x_126); -lean_ctor_set(x_129, 5, x_128); -lean_inc(x_129); -lean_inc(x_2); -x_130 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_102, x_2, x_129, x_4); -if (lean_obj_tag(x_130) == 0) -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -lean_inc(x_129); -x_133 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_103, x_2, x_129, x_132); -if (lean_obj_tag(x_133) == 0) -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -x_136 = l_Lean_Elab_Term_Do_ToTerm_mkIte(x_100, x_101, x_131, x_134, x_129, x_135); -lean_dec(x_100); -return x_136; -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -lean_dec(x_131); -lean_dec(x_129); -lean_dec(x_101); -lean_dec(x_100); -x_137 = lean_ctor_get(x_133, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_133, 1); -lean_inc(x_138); -if (lean_is_exclusive(x_133)) { - lean_ctor_release(x_133, 0); - lean_ctor_release(x_133, 1); - x_139 = x_133; -} else { - lean_dec_ref(x_133); - x_139 = lean_box(0); -} -if (lean_is_scalar(x_139)) { - x_140 = lean_alloc_ctor(1, 2, 0); -} else { - x_140 = x_139; -} -lean_ctor_set(x_140, 0, x_137); -lean_ctor_set(x_140, 1, x_138); -return x_140; -} -} -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_129); -lean_dec(x_103); -lean_dec(x_101); -lean_dec(x_100); -lean_dec(x_2); -x_141 = lean_ctor_get(x_130, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_130, 1); -lean_inc(x_142); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - x_143 = x_130; -} else { - lean_dec_ref(x_130); - x_143 = lean_box(0); -} -if (lean_is_scalar(x_143)) { - x_144 = lean_alloc_ctor(1, 2, 0); -} else { - x_144 = x_143; -} -lean_ctor_set(x_144, 0, x_141); -lean_ctor_set(x_144, 1, x_142); -return x_144; -} -} } case 9: { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; size_t x_151; size_t x_152; lean_object* x_153; lean_object* x_154; -x_145 = lean_ctor_get(x_1, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_1, 1); -lean_inc(x_146); -x_147 = lean_ctor_get(x_1, 2); -lean_inc(x_147); -x_148 = lean_ctor_get(x_1, 3); -lean_inc(x_148); -x_149 = lean_ctor_get(x_1, 4); -lean_inc(x_149); +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; size_t x_114; size_t x_115; lean_object* x_116; lean_object* x_117; +x_108 = lean_ctor_get(x_1, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_1, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_1, 2); +lean_inc(x_110); +x_111 = lean_ctor_get(x_1, 3); +lean_inc(x_111); +x_112 = lean_ctor_get(x_1, 4); +lean_inc(x_112); lean_dec(x_1); -x_150 = lean_array_get_size(x_149); -x_151 = lean_usize_of_nat(x_150); -lean_dec(x_150); -x_152 = 0; -x_153 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -x_154 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1(x_149, x_151, x_152, x_153, x_2, x_3, x_4); -lean_dec(x_149); -if (lean_obj_tag(x_154) == 0) +x_113 = lean_array_get_size(x_112); +x_114 = lean_usize_of_nat(x_113); +lean_dec(x_113); +x_115 = 0; +x_116 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; +x_117 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1(x_112, x_114, x_115, x_116, x_2, x_3, x_4); +lean_dec(x_112); +if (lean_obj_tag(x_117) == 0) { -uint8_t x_155; -x_155 = !lean_is_exclusive(x_154); -if (x_155 == 0) -{ -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; -x_156 = lean_ctor_get(x_154, 0); -x_157 = l_Lean_nullKind; -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_156); -x_159 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_160 = lean_array_push(x_159, x_158); -x_161 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -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_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -x_164 = l_Lean_mkAtomFrom(x_145, x_163); -x_165 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -x_166 = l_Lean_mkAtomFrom(x_145, x_165); -lean_dec(x_145); -x_167 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_168 = lean_array_push(x_167, x_164); -x_169 = lean_array_push(x_168, x_146); -x_170 = lean_array_push(x_169, x_147); -x_171 = lean_array_push(x_170, x_148); -x_172 = lean_array_push(x_171, x_166); -x_173 = lean_array_push(x_172, x_162); -x_174 = l_Lean_Elab_Term_Do_ToTerm_toTerm___closed__1; -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_174); -lean_ctor_set(x_175, 1, x_173); -lean_ctor_set(x_154, 0, x_175); -return x_154; +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_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +x_120 = l_Lean_nullKind; +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_118); +x_122 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_123 = lean_array_push(x_122, x_121); +x_124 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +x_127 = l_Lean_mkAtomFrom(x_108, x_126); +x_128 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +x_129 = l_Lean_mkAtomFrom(x_108, x_128); +lean_dec(x_108); +x_130 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_131 = lean_array_push(x_130, x_127); +x_132 = lean_array_push(x_131, x_109); +x_133 = lean_array_push(x_132, x_110); +x_134 = lean_array_push(x_133, x_111); +x_135 = lean_array_push(x_134, x_129); +x_136 = lean_array_push(x_135, x_125); +x_137 = l_Lean_Elab_Term_Do_ToTerm_toTerm___closed__1; +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_119); +return x_139; } else { -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; -x_176 = lean_ctor_get(x_154, 0); -x_177 = lean_ctor_get(x_154, 1); -lean_inc(x_177); -lean_inc(x_176); -lean_dec(x_154); -x_178 = l_Lean_nullKind; -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_176); -x_180 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_181 = lean_array_push(x_180, x_179); -x_182 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_181); -x_184 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -x_185 = l_Lean_mkAtomFrom(x_145, x_184); -x_186 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -x_187 = l_Lean_mkAtomFrom(x_145, x_186); -lean_dec(x_145); -x_188 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_189 = lean_array_push(x_188, x_185); -x_190 = lean_array_push(x_189, x_146); -x_191 = lean_array_push(x_190, x_147); -x_192 = lean_array_push(x_191, x_148); -x_193 = lean_array_push(x_192, x_187); -x_194 = lean_array_push(x_193, x_183); -x_195 = l_Lean_Elab_Term_Do_ToTerm_toTerm___closed__1; -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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_197, 0, x_196); -lean_ctor_set(x_197, 1, x_177); -return x_197; -} -} -else -{ -uint8_t x_198; -lean_dec(x_148); -lean_dec(x_147); -lean_dec(x_146); -lean_dec(x_145); -x_198 = !lean_is_exclusive(x_154); -if (x_198 == 0) -{ -return x_154; -} -else -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = lean_ctor_get(x_154, 0); -x_200 = lean_ctor_get(x_154, 1); -lean_inc(x_200); -lean_inc(x_199); -lean_dec(x_154); -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_200); -return x_201; -} +lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_109); +lean_dec(x_108); +x_140 = lean_ctor_get(x_117, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_117, 1); +lean_inc(x_141); +lean_dec(x_117); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_140); +lean_ctor_set(x_142, 1, x_141); +return x_142; } } default: { -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_dec(x_3); lean_dec(x_2); -x_202 = lean_ctor_get(x_1, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_1, 1); -lean_inc(x_203); -x_204 = lean_ctor_get(x_1, 2); -lean_inc(x_204); +x_143 = lean_ctor_get(x_1, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_1, 1); +lean_inc(x_144); +x_145 = lean_ctor_get(x_1, 2); +lean_inc(x_145); lean_dec(x_1); -x_205 = l_Lean_Elab_Term_Do_ToTerm_mkJmp(x_202, x_203, x_204); -lean_dec(x_202); -x_206 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set(x_206, 1, x_4); -return x_206; +x_146 = l_Lean_Elab_Term_Do_ToTerm_mkJmp(x_143, x_144, x_145); +lean_dec(x_143); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_4); +return x_147; } } } @@ -42879,47 +26263,29 @@ lean_ctor_set_uint8(x_7, sizeof(void*)*2, x_4); x_8 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_1, x_7, x_5, x_6); if (lean_obj_tag(x_8) == 0) { -uint8_t x_9; -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -return x_8; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_ctor_get(x_8, 1); -lean_inc(x_11); +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +return x_11; } else { -uint8_t x_13; -x_13 = !lean_is_exclusive(x_8); -if (x_13 == 0) -{ -return x_8; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_8, 0); -x_15 = lean_ctor_get(x_8, 1); -lean_inc(x_15); -lean_inc(x_14); +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); lean_dec(x_8); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; } } } @@ -43072,7 +26438,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__4; x_2 = l_Lean_Elab_Term_Do_ToTerm_mkNestedKind___closed__1; -x_3 = lean_unsigned_to_nat(1066u); +x_3 = lean_unsigned_to_nat(1069u); x_4 = lean_unsigned_to_nat(27u); x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -43265,7 +26631,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__4; x_2 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__3; -x_3 = lean_unsigned_to_nat(1122u); +x_3 = lean_unsigned_to_nat(1125u); x_4 = lean_unsigned_to_nat(27u); x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -43587,32 +26953,32 @@ return x_23; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; x_24 = lean_ctor_get(x_18, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_18, 1); lean_inc(x_25); lean_dec(x_18); x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_25); -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; -x_28 = lean_ctor_get(x_26, 0); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); x_29 = lean_ctor_get(x_6, 2); lean_inc(x_29); x_30 = lean_ctor_get(x_6, 1); lean_inc(x_30); lean_dec(x_6); x_31 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_28); +lean_inc(x_27); x_32 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_32, 0, x_28); +lean_ctor_set(x_32, 0, x_27); lean_ctor_set(x_32, 1, x_31); x_33 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_28); +lean_inc(x_27); x_34 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_34, 0, x_28); +lean_ctor_set(x_34, 0, x_27); lean_ctor_set(x_34, 1, x_33); x_35 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; lean_inc(x_29); @@ -43620,16 +26986,16 @@ lean_inc(x_30); x_36 = l_Lean_addMacroScope(x_30, x_35, x_29); x_37 = lean_box(0); x_38 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_28); +lean_inc(x_27); x_39 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_39, 0, x_28); +lean_ctor_set(x_39, 0, x_27); lean_ctor_set(x_39, 1, x_38); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_37); x_40 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_28); +lean_inc(x_27); x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_28); +lean_ctor_set(x_41, 0, x_27); lean_ctor_set(x_41, 1, x_40); x_42 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; x_43 = lean_array_push(x_42, x_1); @@ -43657,9 +27023,9 @@ x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); x_60 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_28); +lean_inc(x_27); x_61 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_61, 0, x_28); +lean_ctor_set(x_61, 0, x_27); lean_ctor_set(x_61, 1, x_60); x_62 = lean_array_push(x_42, x_61); x_63 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; @@ -43675,9 +27041,9 @@ x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_28); +lean_inc(x_27); x_71 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_71, 0, x_28); +lean_ctor_set(x_71, 0, x_27); lean_ctor_set(x_71, 1, x_70); x_72 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; x_73 = lean_array_push(x_72, x_39); @@ -43690,14 +27056,14 @@ x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_63); lean_ctor_set(x_77, 1, x_76); x_78 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_28); +lean_inc(x_27); x_79 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_79, 0, x_28); +lean_ctor_set(x_79, 0, x_27); lean_ctor_set(x_79, 1, x_78); x_80 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_28); +lean_inc(x_27); x_81 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_81, 0, x_28); +lean_ctor_set(x_81, 0, x_27); lean_ctor_set(x_81, 1, x_80); x_82 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__7; lean_inc(x_29); @@ -43705,9 +27071,9 @@ lean_inc(x_30); x_83 = l_Lean_addMacroScope(x_30, x_82, x_29); x_84 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__5; x_85 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__9; -lean_inc(x_28); +lean_inc(x_27); x_86 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_86, 0, x_28); +lean_ctor_set(x_86, 0, x_27); lean_ctor_set(x_86, 1, x_84); lean_ctor_set(x_86, 2, x_83); lean_ctor_set(x_86, 3, x_85); @@ -43716,9 +27082,9 @@ lean_inc(x_29); lean_inc(x_30); x_88 = l_Lean_addMacroScope(x_30, x_87, x_29); x_89 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -lean_inc(x_28); +lean_inc(x_27); x_90 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_90, 0, x_28); +lean_ctor_set(x_90, 0, x_27); lean_ctor_set(x_90, 1, x_89); lean_ctor_set(x_90, 2, x_88); lean_ctor_set(x_90, 3, x_37); @@ -43739,14 +27105,14 @@ x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_63); lean_ctor_set(x_98, 1, x_97); x_99 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_28); +lean_inc(x_27); x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_28); +lean_ctor_set(x_100, 0, x_27); lean_ctor_set(x_100, 1, x_99); x_101 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_28); +lean_inc(x_27); x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_28); +lean_ctor_set(x_102, 0, x_27); lean_ctor_set(x_102, 1, x_101); x_103 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; x_104 = lean_array_push(x_103, x_24); @@ -43769,9 +27135,9 @@ x_116 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_116, 0, x_68); lean_ctor_set(x_116, 1, x_115); x_117 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -lean_inc(x_28); +lean_inc(x_27); x_118 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_118, 0, x_28); +lean_ctor_set(x_118, 0, x_27); lean_ctor_set(x_118, 1, x_117); x_119 = lean_array_push(x_42, x_118); x_120 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; @@ -43808,9 +27174,9 @@ x_137 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__23; x_138 = l_Lean_addMacroScope(x_30, x_137, x_29); x_139 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__19; x_140 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__25; -lean_inc(x_28); +lean_inc(x_27); x_141 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_141, 0, x_28); +lean_ctor_set(x_141, 0, x_27); lean_ctor_set(x_141, 1, x_139); lean_ctor_set(x_141, 2, x_138); lean_ctor_set(x_141, 3, x_140); @@ -43825,7 +27191,7 @@ lean_ctor_set(x_146, 0, x_63); lean_ctor_set(x_146, 1, x_145); x_147 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__22; x_148 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_148, 0, x_28); +lean_ctor_set(x_148, 0, x_27); lean_ctor_set(x_148, 1, x_147); x_149 = lean_array_push(x_42, x_148); x_150 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; @@ -43896,1736 +27262,732 @@ x_190 = lean_unsigned_to_nat(1u); x_191 = l_Lean_Syntax_getArg(x_189, x_190); lean_dec(x_189); x_192 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_191); -lean_ctor_set(x_26, 0, x_192); -return x_26; -} -else -{ -lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 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; -x_193 = lean_ctor_get(x_26, 0); -x_194 = lean_ctor_get(x_26, 1); -lean_inc(x_194); -lean_inc(x_193); -lean_dec(x_26); -x_195 = lean_ctor_get(x_6, 2); -lean_inc(x_195); -x_196 = lean_ctor_get(x_6, 1); -lean_inc(x_196); -lean_dec(x_6); -x_197 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_193); -x_198 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_198, 0, x_193); -lean_ctor_set(x_198, 1, x_197); -x_199 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_193); -x_200 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_200, 0, x_193); -lean_ctor_set(x_200, 1, x_199); -x_201 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_195); -lean_inc(x_196); -x_202 = l_Lean_addMacroScope(x_196, x_201, x_195); -x_203 = lean_box(0); -x_204 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_193); -x_205 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_205, 0, x_193); -lean_ctor_set(x_205, 1, x_204); -lean_ctor_set(x_205, 2, x_202); -lean_ctor_set(x_205, 3, x_203); -x_206 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_193); -x_207 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_207, 0, x_193); -lean_ctor_set(x_207, 1, x_206); -x_208 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_209 = lean_array_push(x_208, x_1); -x_210 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_211, 0, x_210); -lean_ctor_set(x_211, 1, x_209); -x_212 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_205); -x_213 = lean_array_push(x_212, x_205); -x_214 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_215 = lean_array_push(x_213, x_214); -x_216 = lean_array_push(x_215, x_207); -x_217 = lean_array_push(x_216, x_211); -x_218 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_218); -lean_ctor_set(x_219, 1, x_217); -x_220 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_221 = lean_array_push(x_220, x_200); -x_222 = lean_array_push(x_221, x_214); -x_223 = lean_array_push(x_222, x_219); -x_224 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_224); -lean_ctor_set(x_225, 1, x_223); -x_226 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_193); -x_227 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_227, 0, x_193); -lean_ctor_set(x_227, 1, x_226); -x_228 = lean_array_push(x_208, x_227); -x_229 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_228); -x_231 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_232 = lean_array_push(x_231, x_225); -lean_inc(x_230); -x_233 = lean_array_push(x_232, x_230); -x_234 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_193); -x_237 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_237, 0, x_193); -lean_ctor_set(x_237, 1, x_236); -x_238 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_239 = lean_array_push(x_238, x_205); -x_240 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_239); -x_242 = lean_array_push(x_208, x_241); -x_243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_243, 0, x_229); -lean_ctor_set(x_243, 1, x_242); -x_244 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_193); -x_245 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_245, 0, x_193); -lean_ctor_set(x_245, 1, x_244); -x_246 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_193); -x_247 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_247, 0, x_193); -lean_ctor_set(x_247, 1, x_246); -x_248 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__7; -lean_inc(x_195); -lean_inc(x_196); -x_249 = l_Lean_addMacroScope(x_196, x_248, x_195); -x_250 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__5; -x_251 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__9; -lean_inc(x_193); -x_252 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_252, 0, x_193); -lean_ctor_set(x_252, 1, x_250); -lean_ctor_set(x_252, 2, x_249); -lean_ctor_set(x_252, 3, x_251); -x_253 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; -lean_inc(x_195); -lean_inc(x_196); -x_254 = l_Lean_addMacroScope(x_196, x_253, x_195); -x_255 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -lean_inc(x_193); -x_256 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_256, 0, x_193); -lean_ctor_set(x_256, 1, x_255); -lean_ctor_set(x_256, 2, x_254); -lean_ctor_set(x_256, 3, x_203); -lean_inc(x_256); -x_257 = lean_array_push(x_208, x_256); -x_258 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_258, 0, x_229); -lean_ctor_set(x_258, 1, x_257); -x_259 = lean_array_push(x_231, x_252); -lean_inc(x_258); -x_260 = lean_array_push(x_259, x_258); -x_261 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_261); -lean_ctor_set(x_262, 1, x_260); -x_263 = lean_array_push(x_208, x_262); -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_229); -lean_ctor_set(x_264, 1, x_263); -x_265 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_193); -x_266 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_266, 0, x_193); -lean_ctor_set(x_266, 1, x_265); -x_267 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_193); -x_268 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_268, 0, x_193); -lean_ctor_set(x_268, 1, x_267); -x_269 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_270 = lean_array_push(x_269, x_24); -x_271 = lean_array_push(x_270, x_214); -x_272 = lean_array_push(x_271, x_214); -x_273 = lean_array_push(x_272, x_268); -x_274 = lean_array_push(x_273, x_256); -x_275 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_274); -x_277 = lean_array_push(x_208, x_276); -x_278 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_277); -x_280 = lean_array_push(x_231, x_279); -x_281 = lean_array_push(x_280, x_230); -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_234); -lean_ctor_set(x_282, 1, x_281); -x_283 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -lean_inc(x_193); -x_284 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_284, 0, x_193); -lean_ctor_set(x_284, 1, x_283); -x_285 = lean_array_push(x_208, x_284); -x_286 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_285); -x_288 = lean_array_push(x_231, x_287); -x_289 = lean_array_push(x_288, x_214); -x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_234); -lean_ctor_set(x_290, 1, x_289); -x_291 = lean_array_push(x_231, x_282); -lean_inc(x_291); -x_292 = lean_array_push(x_291, x_290); -x_293 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_293, 0, x_229); -lean_ctor_set(x_293, 1, x_292); -x_294 = lean_array_push(x_208, x_293); -x_295 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_294); -x_297 = lean_array_push(x_212, x_247); -lean_inc(x_297); -x_298 = lean_array_push(x_297, x_264); -lean_inc(x_266); -x_299 = lean_array_push(x_298, x_266); -x_300 = lean_array_push(x_299, x_296); -x_301 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_302 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_302, 0, x_301); -lean_ctor_set(x_302, 1, x_300); -x_303 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__23; -x_304 = l_Lean_addMacroScope(x_196, x_303, x_195); -x_305 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__19; -x_306 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__25; -lean_inc(x_193); -x_307 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_307, 0, x_193); -lean_ctor_set(x_307, 1, x_305); -lean_ctor_set(x_307, 2, x_304); -lean_ctor_set(x_307, 3, x_306); -x_308 = lean_array_push(x_231, x_307); -x_309 = lean_array_push(x_308, x_258); -x_310 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_310, 0, x_261); -lean_ctor_set(x_310, 1, x_309); -x_311 = lean_array_push(x_208, x_310); -x_312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_312, 0, x_229); -lean_ctor_set(x_312, 1, x_311); -x_313 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__22; -x_314 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_314, 0, x_193); -lean_ctor_set(x_314, 1, x_313); -x_315 = lean_array_push(x_208, x_314); -x_316 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_315); -x_318 = lean_array_push(x_231, x_317); -x_319 = lean_array_push(x_318, x_214); -x_320 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_320, 0, x_234); -lean_ctor_set(x_320, 1, x_319); -x_321 = lean_array_push(x_291, x_320); -x_322 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_322, 0, x_229); -lean_ctor_set(x_322, 1, x_321); -x_323 = lean_array_push(x_208, x_322); -x_324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_324, 0, x_295); -lean_ctor_set(x_324, 1, x_323); -x_325 = lean_array_push(x_297, x_312); -x_326 = lean_array_push(x_325, x_266); -x_327 = lean_array_push(x_326, x_324); -x_328 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_328, 0, x_301); -lean_ctor_set(x_328, 1, x_327); -x_329 = lean_array_push(x_231, x_302); -x_330 = lean_array_push(x_329, x_328); -x_331 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_331, 0, x_229); -lean_ctor_set(x_331, 1, x_330); -x_332 = lean_array_push(x_208, x_331); -x_333 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_334 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_334, 0, x_333); -lean_ctor_set(x_334, 1, x_332); -x_335 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_336 = lean_array_push(x_335, x_237); -x_337 = lean_array_push(x_336, x_214); -x_338 = lean_array_push(x_337, x_243); -x_339 = lean_array_push(x_338, x_214); -x_340 = lean_array_push(x_339, x_245); -x_341 = lean_array_push(x_340, x_334); -x_342 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_343, 0, x_342); -lean_ctor_set(x_343, 1, x_341); -x_344 = lean_array_push(x_231, x_343); -x_345 = lean_array_push(x_344, x_214); -x_346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_346, 0, x_234); -lean_ctor_set(x_346, 1, x_345); -x_347 = lean_array_push(x_231, x_235); -x_348 = lean_array_push(x_347, x_346); -x_349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_349, 0, x_229); -lean_ctor_set(x_349, 1, x_348); -x_350 = lean_array_push(x_208, x_349); -x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_295); -lean_ctor_set(x_351, 1, x_350); -x_352 = lean_array_push(x_231, x_198); -x_353 = lean_array_push(x_352, x_351); -x_354 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_354); -lean_ctor_set(x_355, 1, x_353); -x_356 = lean_unsigned_to_nat(1u); -x_357 = l_Lean_Syntax_getArg(x_355, x_356); -lean_dec(x_355); -x_358 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_357); -x_359 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_359, 0, x_358); -lean_ctor_set(x_359, 1, x_194); -return x_359; -} +x_193 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_28); +return x_193; } } else { if (x_5 == 0) { -lean_object* x_360; lean_object* x_361; uint8_t x_362; -x_360 = lean_ctor_get(x_18, 0); -lean_inc(x_360); -x_361 = lean_ctor_get(x_18, 1); -lean_inc(x_361); +lean_object* x_194; lean_object* x_195; uint8_t x_196; +x_194 = lean_ctor_get(x_18, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_18, 1); +lean_inc(x_195); lean_dec(x_18); -x_362 = l_Array_isEmpty___rarg(x_2); +x_196 = l_Array_isEmpty___rarg(x_2); lean_dec(x_2); -if (x_362 == 0) +if (x_196 == 0) { -lean_object* x_363; uint8_t x_364; -x_363 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_361); -x_364 = !lean_is_exclusive(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; 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; 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; -x_365 = lean_ctor_get(x_363, 0); -x_366 = lean_ctor_get(x_6, 2); -lean_inc(x_366); -x_367 = lean_ctor_get(x_6, 1); -lean_inc(x_367); +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 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; +x_197 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_195); +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_197, 1); +lean_inc(x_199); +lean_dec(x_197); +x_200 = lean_ctor_get(x_6, 2); +lean_inc(x_200); +x_201 = lean_ctor_get(x_6, 1); +lean_inc(x_201); lean_dec(x_6); -x_368 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_365); -x_369 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_369, 0, x_365); -lean_ctor_set(x_369, 1, x_368); -x_370 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_365); -x_371 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_371, 0, x_365); -lean_ctor_set(x_371, 1, x_370); -x_372 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_373 = l_Lean_addMacroScope(x_367, x_372, x_366); -x_374 = lean_box(0); -x_375 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_365); -x_376 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_376, 0, x_365); -lean_ctor_set(x_376, 1, x_375); -lean_ctor_set(x_376, 2, x_373); -lean_ctor_set(x_376, 3, x_374); -x_377 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_365); -x_378 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_378, 0, x_365); -lean_ctor_set(x_378, 1, x_377); -x_379 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_380 = lean_array_push(x_379, x_1); -x_381 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_382 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_382, 0, x_381); -lean_ctor_set(x_382, 1, x_380); -x_383 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_202 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_198); +x_203 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_203, 0, x_198); +lean_ctor_set(x_203, 1, x_202); +x_204 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_198); +x_205 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_205, 0, x_198); +lean_ctor_set(x_205, 1, x_204); +x_206 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +x_207 = l_Lean_addMacroScope(x_201, x_206, x_200); +x_208 = lean_box(0); +x_209 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +lean_inc(x_198); +x_210 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_210, 0, x_198); +lean_ctor_set(x_210, 1, x_209); +lean_ctor_set(x_210, 2, x_207); +lean_ctor_set(x_210, 3, x_208); +x_211 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_198); +x_212 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_212, 0, x_198); +lean_ctor_set(x_212, 1, x_211); +x_213 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_214 = lean_array_push(x_213, x_1); +x_215 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_215); +lean_ctor_set(x_216, 1, x_214); +x_217 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_210); +x_218 = lean_array_push(x_217, x_210); +x_219 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_220 = lean_array_push(x_218, x_219); +x_221 = lean_array_push(x_220, x_212); +x_222 = lean_array_push(x_221, x_216); +x_223 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_222); +x_225 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_226 = lean_array_push(x_225, x_205); +x_227 = lean_array_push(x_226, x_219); +x_228 = lean_array_push(x_227, x_224); +x_229 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_228); +x_231 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_198); +x_232 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_232, 0, x_198); +lean_ctor_set(x_232, 1, x_231); +x_233 = lean_array_push(x_213, x_232); +x_234 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +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 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_237 = lean_array_push(x_236, x_230); +lean_inc(x_235); +x_238 = lean_array_push(x_237, x_235); +x_239 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_239); +lean_ctor_set(x_240, 1, x_238); +x_241 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_198); +x_242 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_242, 0, x_198); +lean_ctor_set(x_242, 1, x_241); +x_243 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; +lean_inc(x_198); +x_244 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_244, 0, x_198); +lean_ctor_set(x_244, 1, x_243); +x_245 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; +lean_inc(x_198); +x_246 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_246, 0, x_198); +lean_ctor_set(x_246, 1, x_245); +x_247 = lean_array_push(x_213, x_246); +x_248 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; +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_array_push(x_225, x_210); +x_251 = lean_array_push(x_250, x_244); +lean_inc(x_251); +x_252 = lean_array_push(x_251, x_249); +x_253 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; +x_254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_254, 0, x_253); +lean_ctor_set(x_254, 1, x_252); +x_255 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_256 = lean_array_push(x_255, x_194); +x_257 = lean_array_push(x_256, x_219); +x_258 = lean_array_push(x_257, x_219); +x_259 = lean_array_push(x_258, x_242); +x_260 = lean_array_push(x_259, x_254); +x_261 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; +x_262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_260); +x_263 = lean_array_push(x_213, x_262); +x_264 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_264); +lean_ctor_set(x_265, 1, x_263); +x_266 = lean_array_push(x_236, x_265); +x_267 = lean_array_push(x_266, x_235); +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_239); +lean_ctor_set(x_268, 1, x_267); +x_269 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; +lean_inc(x_198); +x_270 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_270, 0, x_198); +lean_ctor_set(x_270, 1, x_269); +x_271 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; +x_272 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_272, 0, x_198); +lean_ctor_set(x_272, 1, x_271); +x_273 = lean_array_push(x_213, x_272); +x_274 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_274, 0, x_248); +lean_ctor_set(x_274, 1, x_273); +x_275 = lean_array_push(x_251, x_274); +x_276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_276, 0, x_253); +lean_ctor_set(x_276, 1, x_275); +x_277 = lean_array_push(x_213, x_276); +x_278 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_278, 0, x_234); +lean_ctor_set(x_278, 1, x_277); +x_279 = lean_array_push(x_236, x_270); +x_280 = lean_array_push(x_279, x_278); +x_281 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; +x_282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_282, 0, x_281); +lean_ctor_set(x_282, 1, x_280); +x_283 = lean_array_push(x_236, x_282); +x_284 = lean_array_push(x_283, x_219); +x_285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_285, 0, x_239); +lean_ctor_set(x_285, 1, x_284); +x_286 = lean_array_push(x_225, x_240); +x_287 = lean_array_push(x_286, x_268); +x_288 = lean_array_push(x_287, x_285); +x_289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_289, 0, x_234); +lean_ctor_set(x_289, 1, x_288); +x_290 = lean_array_push(x_213, x_289); +x_291 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_290); +x_293 = lean_array_push(x_236, x_203); +x_294 = lean_array_push(x_293, x_292); +x_295 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_295); +lean_ctor_set(x_296, 1, x_294); +x_297 = lean_unsigned_to_nat(1u); +x_298 = l_Lean_Syntax_getArg(x_296, x_297); +lean_dec(x_296); +x_299 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_298); +x_300 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_300, 0, x_299); +lean_ctor_set(x_300, 1, x_199); +return x_300; +} +else +{ +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_dec(x_194); +x_301 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_195); +x_302 = lean_ctor_get(x_301, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_301, 1); +lean_inc(x_303); +lean_dec(x_301); +x_304 = lean_ctor_get(x_6, 2); +lean_inc(x_304); +x_305 = lean_ctor_get(x_6, 1); +lean_inc(x_305); +lean_dec(x_6); +x_306 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_302); +x_307 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_307, 0, x_302); +lean_ctor_set(x_307, 1, x_306); +x_308 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_302); +x_309 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_309, 0, x_302); +lean_ctor_set(x_309, 1, x_308); +x_310 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +x_311 = l_Lean_addMacroScope(x_305, x_310, x_304); +x_312 = lean_box(0); +x_313 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +lean_inc(x_302); +x_314 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_314, 0, x_302); +lean_ctor_set(x_314, 1, x_313); +lean_ctor_set(x_314, 2, x_311); +lean_ctor_set(x_314, 3, x_312); +x_315 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_302); +x_316 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_316, 0, x_302); +lean_ctor_set(x_316, 1, x_315); +x_317 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_318 = lean_array_push(x_317, x_1); +x_319 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_320 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_320, 0, x_319); +lean_ctor_set(x_320, 1, x_318); +x_321 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_314); +x_322 = lean_array_push(x_321, x_314); +x_323 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_324 = lean_array_push(x_322, x_323); +x_325 = lean_array_push(x_324, x_316); +x_326 = lean_array_push(x_325, x_320); +x_327 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_330 = lean_array_push(x_329, x_309); +x_331 = lean_array_push(x_330, x_323); +x_332 = lean_array_push(x_331, x_328); +x_333 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_334 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_334, 0, x_333); +lean_ctor_set(x_334, 1, x_332); +x_335 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_302); +x_336 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_336, 0, x_302); +lean_ctor_set(x_336, 1, x_335); +x_337 = lean_array_push(x_317, x_336); +x_338 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_339 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_339, 0, x_338); +lean_ctor_set(x_339, 1, x_337); +x_340 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_341 = lean_array_push(x_340, x_334); +x_342 = lean_array_push(x_341, x_339); +x_343 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_344 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_344, 0, x_343); +lean_ctor_set(x_344, 1, x_342); +x_345 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; +x_346 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_346, 0, x_302); +lean_ctor_set(x_346, 1, x_345); +x_347 = lean_array_push(x_317, x_314); +x_348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_348, 0, x_338); +lean_ctor_set(x_348, 1, x_347); +x_349 = lean_array_push(x_340, x_346); +x_350 = lean_array_push(x_349, x_348); +x_351 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; +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_340, x_352); +x_354 = lean_array_push(x_353, x_323); +x_355 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_355, 0, x_343); +lean_ctor_set(x_355, 1, x_354); +x_356 = lean_array_push(x_340, x_344); +x_357 = lean_array_push(x_356, x_355); +x_358 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_358, 0, x_338); +lean_ctor_set(x_358, 1, x_357); +x_359 = lean_array_push(x_317, x_358); +x_360 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +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 = lean_array_push(x_340, x_307); +x_363 = lean_array_push(x_362, x_361); +x_364 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_365 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_363); +x_366 = lean_unsigned_to_nat(1u); +x_367 = l_Lean_Syntax_getArg(x_365, x_366); +lean_dec(x_365); +x_368 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_367); +x_369 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_369, 0, x_368); +lean_ctor_set(x_369, 1, x_303); +return x_369; +} +} +else +{ +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; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; 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_dec(x_2); +x_370 = lean_ctor_get(x_18, 0); +lean_inc(x_370); +x_371 = lean_ctor_get(x_18, 1); +lean_inc(x_371); +lean_dec(x_18); +x_372 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_371); +x_373 = lean_ctor_get(x_372, 0); +lean_inc(x_373); +x_374 = lean_ctor_get(x_372, 1); +lean_inc(x_374); +lean_dec(x_372); +x_375 = lean_ctor_get(x_6, 2); +lean_inc(x_375); +x_376 = lean_ctor_get(x_6, 1); lean_inc(x_376); -x_384 = lean_array_push(x_383, x_376); -x_385 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_386 = lean_array_push(x_384, x_385); -x_387 = lean_array_push(x_386, x_378); -x_388 = lean_array_push(x_387, x_382); -x_389 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_390 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_390, 0, x_389); -lean_ctor_set(x_390, 1, x_388); -x_391 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_392 = lean_array_push(x_391, x_371); +lean_dec(x_6); +x_377 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_373); +x_378 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_378, 0, x_373); +lean_ctor_set(x_378, 1, x_377); +x_379 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_373); +x_380 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_380, 0, x_373); +lean_ctor_set(x_380, 1, x_379); +x_381 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +lean_inc(x_375); +lean_inc(x_376); +x_382 = l_Lean_addMacroScope(x_376, x_381, x_375); +x_383 = lean_box(0); +x_384 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +lean_inc(x_373); +x_385 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_385, 0, x_373); +lean_ctor_set(x_385, 1, x_384); +lean_ctor_set(x_385, 2, x_382); +lean_ctor_set(x_385, 3, x_383); +x_386 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_373); +x_387 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_387, 0, x_373); +lean_ctor_set(x_387, 1, x_386); +x_388 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_389 = lean_array_push(x_388, x_1); +x_390 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_391 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_391, 0, x_390); +lean_ctor_set(x_391, 1, x_389); +x_392 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_385); x_393 = lean_array_push(x_392, x_385); -x_394 = lean_array_push(x_393, x_390); -x_395 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_396 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_396, 0, x_395); -lean_ctor_set(x_396, 1, x_394); -x_397 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_365); -x_398 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_398, 0, x_365); -lean_ctor_set(x_398, 1, x_397); -x_399 = lean_array_push(x_379, x_398); -x_400 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_401, 0, x_400); -lean_ctor_set(x_401, 1, x_399); -x_402 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_403 = lean_array_push(x_402, x_396); -lean_inc(x_401); -x_404 = lean_array_push(x_403, x_401); -x_405 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -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_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_365); -x_408 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_408, 0, x_365); -lean_ctor_set(x_408, 1, x_407); -x_409 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_365); -x_410 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_410, 0, x_365); -lean_ctor_set(x_410, 1, x_409); -x_411 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -lean_inc(x_365); -x_412 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_412, 0, x_365); -lean_ctor_set(x_412, 1, x_411); -x_413 = lean_array_push(x_379, x_412); -x_414 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; +x_394 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_395 = lean_array_push(x_393, x_394); +x_396 = lean_array_push(x_395, x_387); +x_397 = lean_array_push(x_396, x_391); +x_398 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_399 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_399, 0, x_398); +lean_ctor_set(x_399, 1, x_397); +x_400 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_401 = lean_array_push(x_400, x_380); +x_402 = lean_array_push(x_401, x_394); +x_403 = lean_array_push(x_402, x_399); +x_404 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_405 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_405, 0, x_404); +lean_ctor_set(x_405, 1, x_403); +x_406 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_373); +x_407 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_407, 0, x_373); +lean_ctor_set(x_407, 1, x_406); +x_408 = lean_array_push(x_388, x_407); +x_409 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_410 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_410, 0, x_409); +lean_ctor_set(x_410, 1, x_408); +x_411 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_412 = lean_array_push(x_411, x_405); +lean_inc(x_410); +x_413 = lean_array_push(x_412, x_410); +x_414 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; x_415 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_415, 0, x_414); lean_ctor_set(x_415, 1, x_413); -x_416 = lean_array_push(x_391, x_376); -x_417 = lean_array_push(x_416, x_410); -lean_inc(x_417); -x_418 = lean_array_push(x_417, x_415); -x_419 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_420 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_420, 0, x_419); -lean_ctor_set(x_420, 1, x_418); -x_421 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_422 = lean_array_push(x_421, x_360); -x_423 = lean_array_push(x_422, x_385); -x_424 = lean_array_push(x_423, x_385); -x_425 = lean_array_push(x_424, x_408); -x_426 = lean_array_push(x_425, x_420); -x_427 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_428 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_428, 0, x_427); -lean_ctor_set(x_428, 1, x_426); -x_429 = lean_array_push(x_379, x_428); -x_430 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -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_array_push(x_402, x_431); -x_433 = lean_array_push(x_432, x_401); -x_434 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_434, 0, x_405); -lean_ctor_set(x_434, 1, x_433); -x_435 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -lean_inc(x_365); -x_436 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_436, 0, x_365); +x_416 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +lean_inc(x_373); +x_417 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_417, 0, x_373); +lean_ctor_set(x_417, 1, x_416); +x_418 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; +x_419 = lean_array_push(x_418, x_385); +x_420 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_421 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_421, 0, x_420); +lean_ctor_set(x_421, 1, x_419); +x_422 = lean_array_push(x_388, x_421); +x_423 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_423, 0, x_409); +lean_ctor_set(x_423, 1, x_422); +x_424 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +lean_inc(x_373); +x_425 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_425, 0, x_373); +lean_ctor_set(x_425, 1, x_424); +x_426 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; +lean_inc(x_373); +x_427 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_427, 0, x_373); +lean_ctor_set(x_427, 1, x_426); +x_428 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; +lean_inc(x_375); +lean_inc(x_376); +x_429 = l_Lean_addMacroScope(x_376, x_428, x_375); +x_430 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; +x_431 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; +lean_inc(x_373); +x_432 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_432, 0, x_373); +lean_ctor_set(x_432, 1, x_430); +lean_ctor_set(x_432, 2, x_429); +lean_ctor_set(x_432, 3, x_431); +x_433 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; +lean_inc(x_375); +lean_inc(x_376); +x_434 = l_Lean_addMacroScope(x_376, x_433, x_375); +x_435 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; +lean_inc(x_373); +x_436 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_436, 0, x_373); lean_ctor_set(x_436, 1, x_435); -x_437 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -x_438 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_438, 0, x_365); -lean_ctor_set(x_438, 1, x_437); -x_439 = lean_array_push(x_379, x_438); -x_440 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_440, 0, x_414); +lean_ctor_set(x_436, 2, x_434); +lean_ctor_set(x_436, 3, x_383); +x_437 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; +lean_inc(x_375); +lean_inc(x_376); +x_438 = l_Lean_addMacroScope(x_376, x_437, x_375); +x_439 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +lean_inc(x_373); +x_440 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_440, 0, x_373); lean_ctor_set(x_440, 1, x_439); -x_441 = lean_array_push(x_417, x_440); -x_442 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_442, 0, x_419); -lean_ctor_set(x_442, 1, x_441); -x_443 = lean_array_push(x_379, x_442); -x_444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_444, 0, x_400); -lean_ctor_set(x_444, 1, x_443); -x_445 = lean_array_push(x_402, x_436); -x_446 = lean_array_push(x_445, x_444); -x_447 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_448, 0, x_447); -lean_ctor_set(x_448, 1, x_446); -x_449 = lean_array_push(x_402, x_448); -x_450 = lean_array_push(x_449, x_385); -x_451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_451, 0, x_405); +lean_ctor_set(x_440, 2, x_438); +lean_ctor_set(x_440, 3, x_383); +lean_inc(x_436); +x_441 = lean_array_push(x_411, x_436); +lean_inc(x_440); +x_442 = lean_array_push(x_441, x_440); +x_443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_443, 0, x_409); +lean_ctor_set(x_443, 1, x_442); +x_444 = lean_array_push(x_411, x_432); +x_445 = lean_array_push(x_444, x_443); +x_446 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_447 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_447, 0, x_446); +lean_ctor_set(x_447, 1, x_445); +x_448 = lean_array_push(x_388, x_447); +x_449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_449, 0, x_409); +lean_ctor_set(x_449, 1, x_448); +x_450 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_373); +x_451 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_451, 0, x_373); lean_ctor_set(x_451, 1, x_450); -x_452 = lean_array_push(x_391, x_406); -x_453 = lean_array_push(x_452, x_434); -x_454 = lean_array_push(x_453, x_451); -x_455 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_455, 0, x_400); -lean_ctor_set(x_455, 1, x_454); -x_456 = lean_array_push(x_379, x_455); -x_457 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_458 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_458, 0, x_457); -lean_ctor_set(x_458, 1, x_456); -x_459 = lean_array_push(x_402, x_369); -x_460 = lean_array_push(x_459, x_458); -x_461 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_462 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_462, 0, x_461); -lean_ctor_set(x_462, 1, x_460); -x_463 = lean_unsigned_to_nat(1u); -x_464 = l_Lean_Syntax_getArg(x_462, x_463); -lean_dec(x_462); -x_465 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_464); -lean_ctor_set(x_363, 0, x_465); -return x_363; -} -else -{ -lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; 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; -x_466 = lean_ctor_get(x_363, 0); -x_467 = lean_ctor_get(x_363, 1); -lean_inc(x_467); -lean_inc(x_466); -lean_dec(x_363); -x_468 = lean_ctor_get(x_6, 2); -lean_inc(x_468); -x_469 = lean_ctor_get(x_6, 1); -lean_inc(x_469); -lean_dec(x_6); -x_470 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_466); -x_471 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_471, 0, x_466); +x_452 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_373); +x_453 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_453, 0, x_373); +lean_ctor_set(x_453, 1, x_452); +x_454 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_455 = lean_array_push(x_454, x_370); +x_456 = lean_array_push(x_455, x_394); +x_457 = lean_array_push(x_456, x_394); +x_458 = lean_array_push(x_457, x_453); +lean_inc(x_440); +x_459 = lean_array_push(x_458, x_440); +x_460 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; +x_461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_461, 0, x_460); +lean_ctor_set(x_461, 1, x_459); +x_462 = lean_array_push(x_388, x_461); +x_463 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_464 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_464, 0, x_463); +lean_ctor_set(x_464, 1, x_462); +x_465 = lean_array_push(x_411, x_464); +x_466 = lean_array_push(x_465, x_410); +x_467 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_467, 0, x_414); +lean_ctor_set(x_467, 1, x_466); +x_468 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; +lean_inc(x_373); +x_469 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_469, 0, x_373); +lean_ctor_set(x_469, 1, x_468); +x_470 = lean_array_push(x_388, x_436); +x_471 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_471, 0, x_409); lean_ctor_set(x_471, 1, x_470); -x_472 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_466); -x_473 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_473, 0, x_466); -lean_ctor_set(x_473, 1, x_472); -x_474 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_475 = l_Lean_addMacroScope(x_469, x_474, x_468); -x_476 = lean_box(0); -x_477 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_466); -x_478 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_478, 0, x_466); +x_472 = lean_array_push(x_411, x_469); +x_473 = lean_array_push(x_472, x_471); +x_474 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; +x_475 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_475, 0, x_474); +lean_ctor_set(x_475, 1, x_473); +x_476 = lean_array_push(x_411, x_475); +x_477 = lean_array_push(x_476, x_394); +x_478 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_478, 0, x_414); lean_ctor_set(x_478, 1, x_477); -lean_ctor_set(x_478, 2, x_475); -lean_ctor_set(x_478, 3, x_476); -x_479 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_466); -x_480 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_480, 0, x_466); -lean_ctor_set(x_480, 1, x_479); -x_481 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_482 = lean_array_push(x_481, x_1); -x_483 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_479 = lean_array_push(x_411, x_467); +lean_inc(x_479); +x_480 = lean_array_push(x_479, x_478); +x_481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_481, 0, x_409); +lean_ctor_set(x_481, 1, x_480); +x_482 = lean_array_push(x_388, x_481); +x_483 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; x_484 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_484, 0, x_483); lean_ctor_set(x_484, 1, x_482); -x_485 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_478); -x_486 = lean_array_push(x_485, x_478); -x_487 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_488 = lean_array_push(x_486, x_487); -x_489 = lean_array_push(x_488, x_480); -x_490 = lean_array_push(x_489, x_484); -x_491 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -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_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_494 = lean_array_push(x_493, x_473); -x_495 = lean_array_push(x_494, x_487); -x_496 = lean_array_push(x_495, x_492); -x_497 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_498 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_498, 0, x_497); -lean_ctor_set(x_498, 1, x_496); -x_499 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_466); -x_500 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_500, 0, x_466); +x_485 = lean_array_push(x_392, x_427); +lean_inc(x_485); +x_486 = lean_array_push(x_485, x_449); +lean_inc(x_451); +x_487 = lean_array_push(x_486, x_451); +x_488 = lean_array_push(x_487, x_484); +x_489 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; +x_490 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_490, 0, x_489); +lean_ctor_set(x_490, 1, x_488); +x_491 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__14; +lean_inc(x_375); +lean_inc(x_376); +x_492 = l_Lean_addMacroScope(x_376, x_491, x_375); +x_493 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__13; +x_494 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__16; +lean_inc(x_373); +x_495 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_495, 0, x_373); +lean_ctor_set(x_495, 1, x_493); +lean_ctor_set(x_495, 2, x_492); +lean_ctor_set(x_495, 3, x_494); +x_496 = lean_array_push(x_388, x_440); +x_497 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_497, 0, x_409); +lean_ctor_set(x_497, 1, x_496); +x_498 = lean_array_push(x_411, x_495); +lean_inc(x_497); +x_499 = lean_array_push(x_498, x_497); +x_500 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_500, 0, x_446); lean_ctor_set(x_500, 1, x_499); -x_501 = lean_array_push(x_481, x_500); -x_502 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_503 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_503, 0, x_502); -lean_ctor_set(x_503, 1, x_501); -x_504 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_505 = lean_array_push(x_504, x_498); -lean_inc(x_503); -x_506 = lean_array_push(x_505, x_503); -x_507 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_508 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_508, 0, x_507); -lean_ctor_set(x_508, 1, x_506); -x_509 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_466); -x_510 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_510, 0, x_466); +x_501 = lean_array_push(x_388, x_500); +x_502 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_502, 0, x_409); +lean_ctor_set(x_502, 1, x_501); +x_503 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; +lean_inc(x_373); +x_504 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_504, 0, x_373); +lean_ctor_set(x_504, 1, x_503); +x_505 = lean_array_push(x_388, x_504); +x_506 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; +x_507 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_507, 0, x_506); +lean_ctor_set(x_507, 1, x_505); +x_508 = lean_array_push(x_411, x_507); +x_509 = lean_array_push(x_508, x_394); +x_510 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_510, 0, x_414); lean_ctor_set(x_510, 1, x_509); -x_511 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_466); -x_512 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_512, 0, x_466); +lean_inc(x_479); +x_511 = lean_array_push(x_479, x_510); +x_512 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_512, 0, x_409); lean_ctor_set(x_512, 1, x_511); -x_513 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -lean_inc(x_466); -x_514 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_514, 0, x_466); +x_513 = lean_array_push(x_388, x_512); +x_514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_514, 0, x_483); lean_ctor_set(x_514, 1, x_513); -x_515 = lean_array_push(x_481, x_514); -x_516 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_517 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_517, 0, x_516); -lean_ctor_set(x_517, 1, x_515); -x_518 = lean_array_push(x_493, x_478); -x_519 = lean_array_push(x_518, x_512); -lean_inc(x_519); -x_520 = lean_array_push(x_519, x_517); -x_521 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_522 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_522, 0, x_521); -lean_ctor_set(x_522, 1, x_520); -x_523 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_524 = lean_array_push(x_523, x_360); -x_525 = lean_array_push(x_524, x_487); -x_526 = lean_array_push(x_525, x_487); -x_527 = lean_array_push(x_526, x_510); -x_528 = lean_array_push(x_527, x_522); -x_529 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_529); -lean_ctor_set(x_530, 1, x_528); -x_531 = lean_array_push(x_481, x_530); -x_532 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +lean_inc(x_485); +x_515 = lean_array_push(x_485, x_502); +lean_inc(x_451); +x_516 = lean_array_push(x_515, x_451); +x_517 = lean_array_push(x_516, x_514); +x_518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_518, 0, x_489); +lean_ctor_set(x_518, 1, x_517); +x_519 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__30; +x_520 = l_Lean_addMacroScope(x_376, x_519, x_375); +x_521 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__29; +x_522 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__32; +lean_inc(x_373); +x_523 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_523, 0, x_373); +lean_ctor_set(x_523, 1, x_521); +lean_ctor_set(x_523, 2, x_520); +lean_ctor_set(x_523, 3, x_522); +x_524 = lean_array_push(x_411, x_523); +x_525 = lean_array_push(x_524, x_497); +x_526 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_526, 0, x_446); +lean_ctor_set(x_526, 1, x_525); +x_527 = lean_array_push(x_388, x_526); +x_528 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_528, 0, x_409); +lean_ctor_set(x_528, 1, x_527); +x_529 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__22; +x_530 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_530, 0, x_373); +lean_ctor_set(x_530, 1, x_529); +x_531 = lean_array_push(x_388, x_530); +x_532 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; x_533 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_533, 0, x_532); lean_ctor_set(x_533, 1, x_531); -x_534 = lean_array_push(x_504, x_533); -x_535 = lean_array_push(x_534, x_503); +x_534 = lean_array_push(x_411, x_533); +x_535 = lean_array_push(x_534, x_394); x_536 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_536, 0, x_507); +lean_ctor_set(x_536, 0, x_414); lean_ctor_set(x_536, 1, x_535); -x_537 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -lean_inc(x_466); -x_538 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_538, 0, x_466); +x_537 = lean_array_push(x_479, x_536); +x_538 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_538, 0, x_409); lean_ctor_set(x_538, 1, x_537); -x_539 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -x_540 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_540, 0, x_466); +x_539 = lean_array_push(x_388, x_538); +x_540 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_540, 0, x_483); lean_ctor_set(x_540, 1, x_539); -x_541 = lean_array_push(x_481, x_540); -x_542 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_542, 0, x_516); -lean_ctor_set(x_542, 1, x_541); -x_543 = lean_array_push(x_519, x_542); +x_541 = lean_array_push(x_485, x_528); +x_542 = lean_array_push(x_541, x_451); +x_543 = lean_array_push(x_542, x_540); x_544 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_544, 0, x_521); +lean_ctor_set(x_544, 0, x_489); lean_ctor_set(x_544, 1, x_543); -x_545 = lean_array_push(x_481, x_544); -x_546 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_546, 0, x_502); -lean_ctor_set(x_546, 1, x_545); -x_547 = lean_array_push(x_504, x_538); -x_548 = lean_array_push(x_547, x_546); -x_549 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_550 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_550, 0, x_549); -lean_ctor_set(x_550, 1, x_548); -x_551 = lean_array_push(x_504, x_550); -x_552 = lean_array_push(x_551, x_487); -x_553 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_553, 0, x_507); -lean_ctor_set(x_553, 1, x_552); -x_554 = lean_array_push(x_493, x_508); -x_555 = lean_array_push(x_554, x_536); -x_556 = lean_array_push(x_555, x_553); -x_557 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_557, 0, x_502); -lean_ctor_set(x_557, 1, x_556); -x_558 = lean_array_push(x_481, x_557); -x_559 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_545 = lean_array_push(x_400, x_490); +x_546 = lean_array_push(x_545, x_518); +x_547 = lean_array_push(x_546, x_544); +x_548 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_548, 0, x_409); +lean_ctor_set(x_548, 1, x_547); +x_549 = lean_array_push(x_388, x_548); +x_550 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; +x_551 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_551, 0, x_550); +lean_ctor_set(x_551, 1, x_549); +x_552 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_553 = lean_array_push(x_552, x_417); +x_554 = lean_array_push(x_553, x_394); +x_555 = lean_array_push(x_554, x_423); +x_556 = lean_array_push(x_555, x_394); +x_557 = lean_array_push(x_556, x_425); +x_558 = lean_array_push(x_557, x_551); +x_559 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; 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_array_push(x_504, x_471); -x_562 = lean_array_push(x_561, x_560); -x_563 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_564 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_564, 0, x_563); -lean_ctor_set(x_564, 1, x_562); -x_565 = lean_unsigned_to_nat(1u); -x_566 = l_Lean_Syntax_getArg(x_564, x_565); -lean_dec(x_564); -x_567 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_566); -x_568 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_568, 0, x_567); -lean_ctor_set(x_568, 1, x_467); -return x_568; -} -} -else -{ -lean_object* x_569; uint8_t x_570; -lean_dec(x_360); -x_569 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_361); -x_570 = !lean_is_exclusive(x_569); -if (x_570 == 0) -{ -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; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; -x_571 = lean_ctor_get(x_569, 0); -x_572 = lean_ctor_get(x_6, 2); -lean_inc(x_572); -x_573 = lean_ctor_get(x_6, 1); -lean_inc(x_573); -lean_dec(x_6); -x_574 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_571); -x_575 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_575, 0, x_571); -lean_ctor_set(x_575, 1, x_574); -x_576 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_571); -x_577 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_577, 0, x_571); -lean_ctor_set(x_577, 1, x_576); -x_578 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_579 = l_Lean_addMacroScope(x_573, x_578, x_572); -x_580 = lean_box(0); -x_581 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_571); -x_582 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_582, 0, x_571); -lean_ctor_set(x_582, 1, x_581); -lean_ctor_set(x_582, 2, x_579); -lean_ctor_set(x_582, 3, x_580); -x_583 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_571); -x_584 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_584, 0, x_571); -lean_ctor_set(x_584, 1, x_583); -x_585 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_586 = lean_array_push(x_585, x_1); -x_587 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -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_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_582); -x_590 = lean_array_push(x_589, x_582); -x_591 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_592 = lean_array_push(x_590, x_591); -x_593 = lean_array_push(x_592, x_584); -x_594 = lean_array_push(x_593, x_588); -x_595 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_596 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_596, 0, x_595); -lean_ctor_set(x_596, 1, x_594); -x_597 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_598 = lean_array_push(x_597, x_577); -x_599 = lean_array_push(x_598, x_591); -x_600 = lean_array_push(x_599, x_596); -x_601 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_602 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_602, 0, x_601); -lean_ctor_set(x_602, 1, x_600); -x_603 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_571); -x_604 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_604, 0, x_571); -lean_ctor_set(x_604, 1, x_603); -x_605 = lean_array_push(x_585, x_604); -x_606 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_607 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_607, 0, x_606); -lean_ctor_set(x_607, 1, x_605); -x_608 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_609 = lean_array_push(x_608, x_602); -x_610 = lean_array_push(x_609, x_607); -x_611 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -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_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -x_614 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_614, 0, x_571); -lean_ctor_set(x_614, 1, x_613); -x_615 = lean_array_push(x_585, x_582); -x_616 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_616, 0, x_606); -lean_ctor_set(x_616, 1, x_615); -x_617 = lean_array_push(x_608, x_614); -x_618 = lean_array_push(x_617, x_616); -x_619 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_620 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_620, 0, x_619); -lean_ctor_set(x_620, 1, x_618); -x_621 = lean_array_push(x_608, x_620); -x_622 = lean_array_push(x_621, x_591); -x_623 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_623, 0, x_611); -lean_ctor_set(x_623, 1, x_622); -x_624 = lean_array_push(x_608, x_612); -x_625 = lean_array_push(x_624, x_623); -x_626 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_626, 0, x_606); -lean_ctor_set(x_626, 1, x_625); -x_627 = lean_array_push(x_585, x_626); -x_628 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -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 = lean_array_push(x_608, x_575); -x_631 = lean_array_push(x_630, x_629); -x_632 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_633 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_633, 0, x_632); -lean_ctor_set(x_633, 1, x_631); -x_634 = lean_unsigned_to_nat(1u); -x_635 = l_Lean_Syntax_getArg(x_633, x_634); -lean_dec(x_633); -x_636 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_635); -lean_ctor_set(x_569, 0, x_636); -return x_569; -} -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_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; -x_637 = lean_ctor_get(x_569, 0); -x_638 = lean_ctor_get(x_569, 1); -lean_inc(x_638); -lean_inc(x_637); -lean_dec(x_569); -x_639 = lean_ctor_get(x_6, 2); -lean_inc(x_639); -x_640 = lean_ctor_get(x_6, 1); -lean_inc(x_640); -lean_dec(x_6); -x_641 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_637); -x_642 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_642, 0, x_637); -lean_ctor_set(x_642, 1, x_641); -x_643 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_637); -x_644 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_644, 0, x_637); -lean_ctor_set(x_644, 1, x_643); -x_645 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_646 = l_Lean_addMacroScope(x_640, x_645, x_639); -x_647 = lean_box(0); -x_648 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_637); -x_649 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_649, 0, x_637); -lean_ctor_set(x_649, 1, x_648); -lean_ctor_set(x_649, 2, x_646); -lean_ctor_set(x_649, 3, x_647); -x_650 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_637); -x_651 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_651, 0, x_637); -lean_ctor_set(x_651, 1, x_650); -x_652 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_653 = lean_array_push(x_652, x_1); -x_654 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_649); -x_657 = lean_array_push(x_656, x_649); -x_658 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_659 = lean_array_push(x_657, x_658); -x_660 = lean_array_push(x_659, x_651); -x_661 = lean_array_push(x_660, x_655); -x_662 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_663 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_663, 0, x_662); -lean_ctor_set(x_663, 1, x_661); -x_664 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_665 = lean_array_push(x_664, x_644); -x_666 = lean_array_push(x_665, x_658); -x_667 = lean_array_push(x_666, x_663); -x_668 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_669 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_669, 0, x_668); -lean_ctor_set(x_669, 1, x_667); -x_670 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_637); -x_671 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_671, 0, x_637); -lean_ctor_set(x_671, 1, x_670); -x_672 = lean_array_push(x_652, x_671); -x_673 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_674 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_674, 0, x_673); -lean_ctor_set(x_674, 1, x_672); -x_675 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_676 = lean_array_push(x_675, x_669); -x_677 = lean_array_push(x_676, x_674); -x_678 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_679 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_679, 0, x_678); -lean_ctor_set(x_679, 1, x_677); -x_680 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -x_681 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_681, 0, x_637); -lean_ctor_set(x_681, 1, x_680); -x_682 = lean_array_push(x_652, x_649); -x_683 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_683, 0, x_673); -lean_ctor_set(x_683, 1, x_682); -x_684 = lean_array_push(x_675, x_681); -x_685 = lean_array_push(x_684, x_683); -x_686 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_687 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_687, 0, x_686); -lean_ctor_set(x_687, 1, x_685); -x_688 = lean_array_push(x_675, x_687); -x_689 = lean_array_push(x_688, x_658); -x_690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_690, 0, x_678); -lean_ctor_set(x_690, 1, x_689); -x_691 = lean_array_push(x_675, x_679); -x_692 = lean_array_push(x_691, x_690); -x_693 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_693, 0, x_673); -lean_ctor_set(x_693, 1, x_692); -x_694 = lean_array_push(x_652, x_693); -x_695 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_696 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_696, 0, x_695); -lean_ctor_set(x_696, 1, x_694); -x_697 = lean_array_push(x_675, x_642); -x_698 = lean_array_push(x_697, x_696); -x_699 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_700 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_700, 0, x_699); -lean_ctor_set(x_700, 1, x_698); -x_701 = lean_unsigned_to_nat(1u); -x_702 = l_Lean_Syntax_getArg(x_700, x_701); -lean_dec(x_700); -x_703 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_702); -x_704 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_704, 0, x_703); -lean_ctor_set(x_704, 1, x_638); -return x_704; -} -} -} -else -{ -lean_object* x_705; lean_object* x_706; lean_object* x_707; uint8_t x_708; -lean_dec(x_2); -x_705 = lean_ctor_get(x_18, 0); -lean_inc(x_705); -x_706 = lean_ctor_get(x_18, 1); -lean_inc(x_706); -lean_dec(x_18); -x_707 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_706); -x_708 = !lean_is_exclusive(x_707); -if (x_708 == 0) -{ -lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; 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; -x_709 = lean_ctor_get(x_707, 0); -x_710 = lean_ctor_get(x_6, 2); -lean_inc(x_710); -x_711 = lean_ctor_get(x_6, 1); -lean_inc(x_711); -lean_dec(x_6); -x_712 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_709); -x_713 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_713, 0, x_709); -lean_ctor_set(x_713, 1, x_712); -x_714 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_709); -x_715 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_715, 0, x_709); -lean_ctor_set(x_715, 1, x_714); -x_716 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_710); -lean_inc(x_711); -x_717 = l_Lean_addMacroScope(x_711, x_716, x_710); -x_718 = lean_box(0); -x_719 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_709); -x_720 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_720, 0, x_709); -lean_ctor_set(x_720, 1, x_719); -lean_ctor_set(x_720, 2, x_717); -lean_ctor_set(x_720, 3, x_718); -x_721 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_709); -x_722 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_722, 0, x_709); -lean_ctor_set(x_722, 1, x_721); -x_723 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_724 = lean_array_push(x_723, x_1); -x_725 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -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_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_720); -x_728 = lean_array_push(x_727, x_720); -x_729 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_730 = lean_array_push(x_728, x_729); -x_731 = lean_array_push(x_730, x_722); -x_732 = lean_array_push(x_731, x_726); -x_733 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -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_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_736 = lean_array_push(x_735, x_715); -x_737 = lean_array_push(x_736, x_729); -x_738 = lean_array_push(x_737, x_734); -x_739 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_740 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_740, 0, x_739); -lean_ctor_set(x_740, 1, x_738); -x_741 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_709); -x_742 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_742, 0, x_709); -lean_ctor_set(x_742, 1, x_741); -x_743 = lean_array_push(x_723, x_742); -x_744 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_745 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_745, 0, x_744); -lean_ctor_set(x_745, 1, x_743); -x_746 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_747 = lean_array_push(x_746, x_740); -lean_inc(x_745); -x_748 = lean_array_push(x_747, x_745); -x_749 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_750 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_750, 0, x_749); -lean_ctor_set(x_750, 1, x_748); -x_751 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_709); -x_752 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_752, 0, x_709); -lean_ctor_set(x_752, 1, x_751); -x_753 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_754 = lean_array_push(x_753, x_720); -x_755 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_756 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_756, 0, x_755); -lean_ctor_set(x_756, 1, x_754); -x_757 = lean_array_push(x_723, x_756); -x_758 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_758, 0, x_744); -lean_ctor_set(x_758, 1, x_757); -x_759 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_709); -x_760 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_760, 0, x_709); -lean_ctor_set(x_760, 1, x_759); -x_761 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_709); -x_762 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_762, 0, x_709); -lean_ctor_set(x_762, 1, x_761); -x_763 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; -lean_inc(x_710); -lean_inc(x_711); -x_764 = l_Lean_addMacroScope(x_711, x_763, x_710); -x_765 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; -x_766 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; -lean_inc(x_709); -x_767 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_767, 0, x_709); -lean_ctor_set(x_767, 1, x_765); -lean_ctor_set(x_767, 2, x_764); -lean_ctor_set(x_767, 3, x_766); -x_768 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; -lean_inc(x_710); -lean_inc(x_711); -x_769 = l_Lean_addMacroScope(x_711, x_768, x_710); -x_770 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_709); -x_771 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_771, 0, x_709); -lean_ctor_set(x_771, 1, x_770); -lean_ctor_set(x_771, 2, x_769); -lean_ctor_set(x_771, 3, x_718); -x_772 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; -lean_inc(x_710); -lean_inc(x_711); -x_773 = l_Lean_addMacroScope(x_711, x_772, x_710); -x_774 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -lean_inc(x_709); -x_775 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_775, 0, x_709); -lean_ctor_set(x_775, 1, x_774); -lean_ctor_set(x_775, 2, x_773); -lean_ctor_set(x_775, 3, x_718); -lean_inc(x_771); -x_776 = lean_array_push(x_746, x_771); -lean_inc(x_775); -x_777 = lean_array_push(x_776, x_775); -x_778 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_778, 0, x_744); -lean_ctor_set(x_778, 1, x_777); -x_779 = lean_array_push(x_746, x_767); -x_780 = lean_array_push(x_779, x_778); -x_781 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___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_array_push(x_723, x_782); -x_784 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_784, 0, x_744); -lean_ctor_set(x_784, 1, x_783); -x_785 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_709); -x_786 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_786, 0, x_709); -lean_ctor_set(x_786, 1, x_785); -x_787 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_709); -x_788 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_788, 0, x_709); -lean_ctor_set(x_788, 1, x_787); -x_789 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_790 = lean_array_push(x_789, x_705); -x_791 = lean_array_push(x_790, x_729); -x_792 = lean_array_push(x_791, x_729); -x_793 = lean_array_push(x_792, x_788); -lean_inc(x_775); -x_794 = lean_array_push(x_793, x_775); -x_795 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_796 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_796, 0, x_795); -lean_ctor_set(x_796, 1, x_794); -x_797 = lean_array_push(x_723, x_796); -x_798 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_799, 0, x_798); -lean_ctor_set(x_799, 1, x_797); -x_800 = lean_array_push(x_746, x_799); -x_801 = lean_array_push(x_800, x_745); -x_802 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_802, 0, x_749); -lean_ctor_set(x_802, 1, x_801); -x_803 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -lean_inc(x_709); -x_804 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_804, 0, x_709); -lean_ctor_set(x_804, 1, x_803); -x_805 = lean_array_push(x_723, x_771); -x_806 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_806, 0, x_744); -lean_ctor_set(x_806, 1, x_805); -x_807 = lean_array_push(x_746, x_804); -x_808 = lean_array_push(x_807, x_806); -x_809 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_810 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_810, 0, x_809); -lean_ctor_set(x_810, 1, x_808); -x_811 = lean_array_push(x_746, x_810); -x_812 = lean_array_push(x_811, x_729); -x_813 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_813, 0, x_749); -lean_ctor_set(x_813, 1, x_812); -x_814 = lean_array_push(x_746, x_802); -lean_inc(x_814); -x_815 = lean_array_push(x_814, x_813); -x_816 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_816, 0, x_744); -lean_ctor_set(x_816, 1, x_815); -x_817 = lean_array_push(x_723, x_816); -x_818 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_819 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_819, 0, x_818); -lean_ctor_set(x_819, 1, x_817); -x_820 = lean_array_push(x_727, x_762); -lean_inc(x_820); -x_821 = lean_array_push(x_820, x_784); -lean_inc(x_786); -x_822 = lean_array_push(x_821, x_786); -x_823 = lean_array_push(x_822, x_819); -x_824 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_825 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_825, 0, x_824); -lean_ctor_set(x_825, 1, x_823); -x_826 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__14; -lean_inc(x_710); -lean_inc(x_711); -x_827 = l_Lean_addMacroScope(x_711, x_826, x_710); -x_828 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__13; -x_829 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__16; -lean_inc(x_709); -x_830 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_830, 0, x_709); -lean_ctor_set(x_830, 1, x_828); -lean_ctor_set(x_830, 2, x_827); -lean_ctor_set(x_830, 3, x_829); -x_831 = lean_array_push(x_723, x_775); -x_832 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_832, 0, x_744); -lean_ctor_set(x_832, 1, x_831); -x_833 = lean_array_push(x_746, x_830); -lean_inc(x_832); -x_834 = lean_array_push(x_833, x_832); -x_835 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_835, 0, x_781); -lean_ctor_set(x_835, 1, x_834); -x_836 = lean_array_push(x_723, x_835); -x_837 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_837, 0, x_744); -lean_ctor_set(x_837, 1, x_836); -x_838 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -lean_inc(x_709); -x_839 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_839, 0, x_709); -lean_ctor_set(x_839, 1, x_838); -x_840 = lean_array_push(x_723, x_839); -x_841 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_842 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_842, 0, x_841); -lean_ctor_set(x_842, 1, x_840); -x_843 = lean_array_push(x_746, x_842); -x_844 = lean_array_push(x_843, x_729); -x_845 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_845, 0, x_749); -lean_ctor_set(x_845, 1, x_844); -lean_inc(x_814); -x_846 = lean_array_push(x_814, x_845); -x_847 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_847, 0, x_744); -lean_ctor_set(x_847, 1, x_846); -x_848 = lean_array_push(x_723, x_847); -x_849 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_849, 0, x_818); -lean_ctor_set(x_849, 1, x_848); -lean_inc(x_820); -x_850 = lean_array_push(x_820, x_837); -lean_inc(x_786); -x_851 = lean_array_push(x_850, x_786); -x_852 = lean_array_push(x_851, x_849); -x_853 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_853, 0, x_824); -lean_ctor_set(x_853, 1, x_852); -x_854 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__30; -x_855 = l_Lean_addMacroScope(x_711, x_854, x_710); -x_856 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__29; -x_857 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__32; -lean_inc(x_709); -x_858 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_858, 0, x_709); -lean_ctor_set(x_858, 1, x_856); -lean_ctor_set(x_858, 2, x_855); -lean_ctor_set(x_858, 3, x_857); -x_859 = lean_array_push(x_746, x_858); -x_860 = lean_array_push(x_859, x_832); -x_861 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_861, 0, x_781); -lean_ctor_set(x_861, 1, x_860); -x_862 = lean_array_push(x_723, x_861); -x_863 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_863, 0, x_744); -lean_ctor_set(x_863, 1, x_862); -x_864 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__22; -x_865 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_865, 0, x_709); -lean_ctor_set(x_865, 1, x_864); -x_866 = lean_array_push(x_723, x_865); -x_867 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; -x_868 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_868, 0, x_867); -lean_ctor_set(x_868, 1, x_866); -x_869 = lean_array_push(x_746, x_868); -x_870 = lean_array_push(x_869, x_729); -x_871 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_871, 0, x_749); -lean_ctor_set(x_871, 1, x_870); -x_872 = lean_array_push(x_814, x_871); -x_873 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_873, 0, x_744); -lean_ctor_set(x_873, 1, x_872); -x_874 = lean_array_push(x_723, x_873); -x_875 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_875, 0, x_818); -lean_ctor_set(x_875, 1, x_874); -x_876 = lean_array_push(x_820, x_863); -x_877 = lean_array_push(x_876, x_786); -x_878 = lean_array_push(x_877, x_875); -x_879 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_879, 0, x_824); -lean_ctor_set(x_879, 1, x_878); -x_880 = lean_array_push(x_735, x_825); -x_881 = lean_array_push(x_880, x_853); -x_882 = lean_array_push(x_881, x_879); -x_883 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_883, 0, x_744); -lean_ctor_set(x_883, 1, x_882); -x_884 = lean_array_push(x_723, x_883); -x_885 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_888 = lean_array_push(x_887, x_752); -x_889 = lean_array_push(x_888, x_729); -x_890 = lean_array_push(x_889, x_758); -x_891 = lean_array_push(x_890, x_729); -x_892 = lean_array_push(x_891, x_760); -x_893 = lean_array_push(x_892, x_886); -x_894 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_895 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_895, 0, x_894); -lean_ctor_set(x_895, 1, x_893); -x_896 = lean_array_push(x_746, x_895); -x_897 = lean_array_push(x_896, x_729); -x_898 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_898, 0, x_749); -lean_ctor_set(x_898, 1, x_897); -x_899 = lean_array_push(x_746, x_750); -x_900 = lean_array_push(x_899, x_898); -x_901 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_901, 0, x_744); -lean_ctor_set(x_901, 1, x_900); -x_902 = lean_array_push(x_723, x_901); -x_903 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_903, 0, x_818); -lean_ctor_set(x_903, 1, x_902); -x_904 = lean_array_push(x_746, x_713); -x_905 = lean_array_push(x_904, x_903); -x_906 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_907 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_907, 0, x_906); -lean_ctor_set(x_907, 1, x_905); -x_908 = lean_unsigned_to_nat(1u); -x_909 = l_Lean_Syntax_getArg(x_907, x_908); -lean_dec(x_907); -x_910 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_909); -lean_ctor_set(x_707, 0, x_910); -return x_707; -} -else -{ -lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; 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; 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; 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_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; 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; -x_911 = lean_ctor_get(x_707, 0); -x_912 = lean_ctor_get(x_707, 1); -lean_inc(x_912); -lean_inc(x_911); -lean_dec(x_707); -x_913 = lean_ctor_get(x_6, 2); -lean_inc(x_913); -x_914 = lean_ctor_get(x_6, 1); -lean_inc(x_914); -lean_dec(x_6); -x_915 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_911); -x_916 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_916, 0, x_911); -lean_ctor_set(x_916, 1, x_915); -x_917 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_911); -x_918 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_918, 0, x_911); -lean_ctor_set(x_918, 1, x_917); -x_919 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_913); -lean_inc(x_914); -x_920 = l_Lean_addMacroScope(x_914, x_919, x_913); -x_921 = lean_box(0); -x_922 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_911); -x_923 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_923, 0, x_911); -lean_ctor_set(x_923, 1, x_922); -lean_ctor_set(x_923, 2, x_920); -lean_ctor_set(x_923, 3, x_921); -x_924 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_911); -x_925 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_925, 0, x_911); -lean_ctor_set(x_925, 1, x_924); -x_926 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_927 = lean_array_push(x_926, x_1); -x_928 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_929 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_929, 0, x_928); -lean_ctor_set(x_929, 1, x_927); -x_930 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_923); -x_931 = lean_array_push(x_930, x_923); -x_932 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_933 = lean_array_push(x_931, x_932); -x_934 = lean_array_push(x_933, x_925); -x_935 = lean_array_push(x_934, x_929); -x_936 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_937 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_937, 0, x_936); -lean_ctor_set(x_937, 1, x_935); -x_938 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_939 = lean_array_push(x_938, x_918); -x_940 = lean_array_push(x_939, x_932); -x_941 = lean_array_push(x_940, x_937); -x_942 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_943 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_943, 0, x_942); -lean_ctor_set(x_943, 1, x_941); -x_944 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_911); -x_945 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_945, 0, x_911); -lean_ctor_set(x_945, 1, x_944); -x_946 = lean_array_push(x_926, x_945); -x_947 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_948 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_948, 0, x_947); -lean_ctor_set(x_948, 1, x_946); -x_949 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_950 = lean_array_push(x_949, x_943); -lean_inc(x_948); -x_951 = lean_array_push(x_950, x_948); -x_952 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_953 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_953, 0, x_952); -lean_ctor_set(x_953, 1, x_951); -x_954 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_911); -x_955 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_955, 0, x_911); -lean_ctor_set(x_955, 1, x_954); -x_956 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_957 = lean_array_push(x_956, x_923); -x_958 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_959 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_959, 0, x_958); -lean_ctor_set(x_959, 1, x_957); -x_960 = lean_array_push(x_926, x_959); -x_961 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_961, 0, x_947); -lean_ctor_set(x_961, 1, x_960); -x_962 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_911); -x_963 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_963, 0, x_911); -lean_ctor_set(x_963, 1, x_962); -x_964 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_911); -x_965 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_965, 0, x_911); -lean_ctor_set(x_965, 1, x_964); -x_966 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; -lean_inc(x_913); -lean_inc(x_914); -x_967 = l_Lean_addMacroScope(x_914, x_966, x_913); -x_968 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; -x_969 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; -lean_inc(x_911); -x_970 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_970, 0, x_911); -lean_ctor_set(x_970, 1, x_968); -lean_ctor_set(x_970, 2, x_967); -lean_ctor_set(x_970, 3, x_969); -x_971 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; -lean_inc(x_913); -lean_inc(x_914); -x_972 = l_Lean_addMacroScope(x_914, x_971, x_913); -x_973 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_911); -x_974 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_974, 0, x_911); -lean_ctor_set(x_974, 1, x_973); -lean_ctor_set(x_974, 2, x_972); -lean_ctor_set(x_974, 3, x_921); -x_975 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; -lean_inc(x_913); -lean_inc(x_914); -x_976 = l_Lean_addMacroScope(x_914, x_975, x_913); -x_977 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -lean_inc(x_911); -x_978 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_978, 0, x_911); -lean_ctor_set(x_978, 1, x_977); -lean_ctor_set(x_978, 2, x_976); -lean_ctor_set(x_978, 3, x_921); -lean_inc(x_974); -x_979 = lean_array_push(x_949, x_974); -lean_inc(x_978); -x_980 = lean_array_push(x_979, x_978); -x_981 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_981, 0, x_947); -lean_ctor_set(x_981, 1, x_980); -x_982 = lean_array_push(x_949, x_970); -x_983 = lean_array_push(x_982, x_981); -x_984 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_985 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_985, 0, x_984); -lean_ctor_set(x_985, 1, x_983); -x_986 = lean_array_push(x_926, x_985); -x_987 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_987, 0, x_947); -lean_ctor_set(x_987, 1, x_986); -x_988 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_911); -x_989 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_989, 0, x_911); -lean_ctor_set(x_989, 1, x_988); -x_990 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_911); -x_991 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_991, 0, x_911); -lean_ctor_set(x_991, 1, x_990); -x_992 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_993 = lean_array_push(x_992, x_705); -x_994 = lean_array_push(x_993, x_932); -x_995 = lean_array_push(x_994, x_932); -x_996 = lean_array_push(x_995, x_991); -lean_inc(x_978); -x_997 = lean_array_push(x_996, x_978); -x_998 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -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_926, x_999); -x_1001 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_1002 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1002, 0, x_1001); -lean_ctor_set(x_1002, 1, x_1000); -x_1003 = lean_array_push(x_949, x_1002); -x_1004 = lean_array_push(x_1003, x_948); -x_1005 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1005, 0, x_952); -lean_ctor_set(x_1005, 1, x_1004); -x_1006 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -lean_inc(x_911); -x_1007 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1007, 0, x_911); -lean_ctor_set(x_1007, 1, x_1006); -x_1008 = lean_array_push(x_926, x_974); -x_1009 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1009, 0, x_947); -lean_ctor_set(x_1009, 1, x_1008); -x_1010 = lean_array_push(x_949, x_1007); -x_1011 = lean_array_push(x_1010, x_1009); -x_1012 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_1013 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1013, 0, x_1012); -lean_ctor_set(x_1013, 1, x_1011); -x_1014 = lean_array_push(x_949, x_1013); -x_1015 = lean_array_push(x_1014, x_932); -x_1016 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1016, 0, x_952); -lean_ctor_set(x_1016, 1, x_1015); -x_1017 = lean_array_push(x_949, x_1005); -lean_inc(x_1017); -x_1018 = lean_array_push(x_1017, x_1016); -x_1019 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1019, 0, x_947); -lean_ctor_set(x_1019, 1, x_1018); -x_1020 = lean_array_push(x_926, x_1019); -x_1021 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_1022 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1022, 0, x_1021); -lean_ctor_set(x_1022, 1, x_1020); -x_1023 = lean_array_push(x_930, x_965); -lean_inc(x_1023); -x_1024 = lean_array_push(x_1023, x_987); -lean_inc(x_989); -x_1025 = lean_array_push(x_1024, x_989); -x_1026 = lean_array_push(x_1025, x_1022); -x_1027 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_1028 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1028, 0, x_1027); -lean_ctor_set(x_1028, 1, x_1026); -x_1029 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__14; -lean_inc(x_913); -lean_inc(x_914); -x_1030 = l_Lean_addMacroScope(x_914, x_1029, x_913); -x_1031 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__13; -x_1032 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__16; -lean_inc(x_911); -x_1033 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1033, 0, x_911); -lean_ctor_set(x_1033, 1, x_1031); -lean_ctor_set(x_1033, 2, x_1030); -lean_ctor_set(x_1033, 3, x_1032); -x_1034 = lean_array_push(x_926, x_978); -x_1035 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1035, 0, x_947); -lean_ctor_set(x_1035, 1, x_1034); -x_1036 = lean_array_push(x_949, x_1033); -lean_inc(x_1035); -x_1037 = lean_array_push(x_1036, x_1035); -x_1038 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1038, 0, x_984); -lean_ctor_set(x_1038, 1, x_1037); -x_1039 = lean_array_push(x_926, x_1038); -x_1040 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1040, 0, x_947); -lean_ctor_set(x_1040, 1, x_1039); -x_1041 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -lean_inc(x_911); -x_1042 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1042, 0, x_911); -lean_ctor_set(x_1042, 1, x_1041); -x_1043 = lean_array_push(x_926, x_1042); -x_1044 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_1045 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1045, 0, x_1044); -lean_ctor_set(x_1045, 1, x_1043); -x_1046 = lean_array_push(x_949, x_1045); -x_1047 = lean_array_push(x_1046, x_932); -x_1048 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1048, 0, x_952); -lean_ctor_set(x_1048, 1, x_1047); -lean_inc(x_1017); -x_1049 = lean_array_push(x_1017, x_1048); -x_1050 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1050, 0, x_947); -lean_ctor_set(x_1050, 1, x_1049); -x_1051 = lean_array_push(x_926, x_1050); -x_1052 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1052, 0, x_1021); -lean_ctor_set(x_1052, 1, x_1051); -lean_inc(x_1023); -x_1053 = lean_array_push(x_1023, x_1040); -lean_inc(x_989); -x_1054 = lean_array_push(x_1053, x_989); -x_1055 = lean_array_push(x_1054, x_1052); -x_1056 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1056, 0, x_1027); -lean_ctor_set(x_1056, 1, x_1055); -x_1057 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__30; -x_1058 = l_Lean_addMacroScope(x_914, x_1057, x_913); -x_1059 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__29; -x_1060 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__32; -lean_inc(x_911); -x_1061 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1061, 0, x_911); -lean_ctor_set(x_1061, 1, x_1059); -lean_ctor_set(x_1061, 2, x_1058); -lean_ctor_set(x_1061, 3, x_1060); -x_1062 = lean_array_push(x_949, x_1061); -x_1063 = lean_array_push(x_1062, x_1035); -x_1064 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1064, 0, x_984); -lean_ctor_set(x_1064, 1, x_1063); -x_1065 = lean_array_push(x_926, x_1064); -x_1066 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1066, 0, x_947); -lean_ctor_set(x_1066, 1, x_1065); -x_1067 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__22; -x_1068 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1068, 0, x_911); -lean_ctor_set(x_1068, 1, x_1067); -x_1069 = lean_array_push(x_926, x_1068); -x_1070 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; -x_1071 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1071, 0, x_1070); -lean_ctor_set(x_1071, 1, x_1069); -x_1072 = lean_array_push(x_949, x_1071); -x_1073 = lean_array_push(x_1072, x_932); -x_1074 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1074, 0, x_952); -lean_ctor_set(x_1074, 1, x_1073); -x_1075 = lean_array_push(x_1017, x_1074); -x_1076 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1076, 0, x_947); -lean_ctor_set(x_1076, 1, x_1075); -x_1077 = lean_array_push(x_926, x_1076); -x_1078 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1078, 0, x_1021); -lean_ctor_set(x_1078, 1, x_1077); -x_1079 = lean_array_push(x_1023, x_1066); -x_1080 = lean_array_push(x_1079, x_989); -x_1081 = lean_array_push(x_1080, x_1078); -x_1082 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1082, 0, x_1027); -lean_ctor_set(x_1082, 1, x_1081); -x_1083 = lean_array_push(x_938, x_1028); -x_1084 = lean_array_push(x_1083, x_1056); -x_1085 = lean_array_push(x_1084, x_1082); -x_1086 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1086, 0, x_947); -lean_ctor_set(x_1086, 1, x_1085); -x_1087 = lean_array_push(x_926, x_1086); -x_1088 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_1089 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1089, 0, x_1088); -lean_ctor_set(x_1089, 1, x_1087); -x_1090 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_1091 = lean_array_push(x_1090, x_955); -x_1092 = lean_array_push(x_1091, x_932); -x_1093 = lean_array_push(x_1092, x_961); -x_1094 = lean_array_push(x_1093, x_932); -x_1095 = lean_array_push(x_1094, x_963); -x_1096 = lean_array_push(x_1095, x_1089); -x_1097 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_1098 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1098, 0, x_1097); -lean_ctor_set(x_1098, 1, x_1096); -x_1099 = lean_array_push(x_949, x_1098); -x_1100 = lean_array_push(x_1099, x_932); -x_1101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1101, 0, x_952); -lean_ctor_set(x_1101, 1, x_1100); -x_1102 = lean_array_push(x_949, x_953); -x_1103 = lean_array_push(x_1102, x_1101); -x_1104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1104, 0, x_947); -lean_ctor_set(x_1104, 1, x_1103); -x_1105 = lean_array_push(x_926, x_1104); -x_1106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1106, 0, x_1021); -lean_ctor_set(x_1106, 1, x_1105); -x_1107 = lean_array_push(x_949, x_916); -x_1108 = lean_array_push(x_1107, x_1106); -x_1109 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1110, 0, x_1109); -lean_ctor_set(x_1110, 1, x_1108); -x_1111 = lean_unsigned_to_nat(1u); -x_1112 = l_Lean_Syntax_getArg(x_1110, x_1111); -lean_dec(x_1110); -x_1113 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1112); -x_1114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1114, 0, x_1113); -lean_ctor_set(x_1114, 1, x_912); -return x_1114; -} +x_561 = lean_array_push(x_411, x_560); +x_562 = lean_array_push(x_561, x_394); +x_563 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_563, 0, x_414); +lean_ctor_set(x_563, 1, x_562); +x_564 = lean_array_push(x_411, x_415); +x_565 = lean_array_push(x_564, x_563); +x_566 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_566, 0, x_409); +lean_ctor_set(x_566, 1, x_565); +x_567 = lean_array_push(x_388, x_566); +x_568 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_568, 0, x_483); +lean_ctor_set(x_568, 1, x_567); +x_569 = lean_array_push(x_411, x_378); +x_570 = lean_array_push(x_569, x_568); +x_571 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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_570); +x_573 = lean_unsigned_to_nat(1u); +x_574 = l_Lean_Syntax_getArg(x_572, x_573); +lean_dec(x_572); +x_575 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_574); +x_576 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_576, 0, x_575); +lean_ctor_set(x_576, 1, x_374); +return x_576; } } } @@ -45635,1314 +27997,671 @@ if (x_4 == 0) { if (x_5 == 0) { -lean_object* x_1115; lean_object* x_1116; uint8_t x_1117; -x_1115 = lean_ctor_get(x_18, 0); -lean_inc(x_1115); -x_1116 = lean_ctor_get(x_18, 1); -lean_inc(x_1116); +lean_object* x_577; lean_object* x_578; uint8_t x_579; +x_577 = lean_ctor_get(x_18, 0); +lean_inc(x_577); +x_578 = lean_ctor_get(x_18, 1); +lean_inc(x_578); lean_dec(x_18); -x_1117 = l_Array_isEmpty___rarg(x_2); +x_579 = l_Array_isEmpty___rarg(x_2); lean_dec(x_2); -if (x_1117 == 0) +if (x_579 == 0) { -lean_object* x_1118; uint8_t x_1119; -x_1118 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_1116); -x_1119 = !lean_is_exclusive(x_1118); -if (x_1119 == 0) -{ -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_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; 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; -x_1120 = lean_ctor_get(x_1118, 0); -x_1121 = lean_ctor_get(x_6, 2); -lean_inc(x_1121); -x_1122 = lean_ctor_get(x_6, 1); -lean_inc(x_1122); +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; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; +x_580 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_578); +x_581 = lean_ctor_get(x_580, 0); +lean_inc(x_581); +x_582 = lean_ctor_get(x_580, 1); +lean_inc(x_582); +lean_dec(x_580); +x_583 = lean_ctor_get(x_6, 2); +lean_inc(x_583); +x_584 = lean_ctor_get(x_6, 1); +lean_inc(x_584); lean_dec(x_6); -x_1123 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_1120); -x_1124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1124, 0, x_1120); -lean_ctor_set(x_1124, 1, x_1123); -x_1125 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_1120); -x_1126 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1126, 0, x_1120); -lean_ctor_set(x_1126, 1, x_1125); -x_1127 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_1121); -lean_inc(x_1122); -x_1128 = l_Lean_addMacroScope(x_1122, x_1127, x_1121); -x_1129 = lean_box(0); -x_1130 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_1120); -x_1131 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1131, 0, x_1120); -lean_ctor_set(x_1131, 1, x_1130); -lean_ctor_set(x_1131, 2, x_1128); -lean_ctor_set(x_1131, 3, x_1129); -x_1132 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_1120); -x_1133 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1133, 0, x_1120); -lean_ctor_set(x_1133, 1, x_1132); -x_1134 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1135 = lean_array_push(x_1134, x_1); -x_1136 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_1137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1137, 0, x_1136); -lean_ctor_set(x_1137, 1, x_1135); -x_1138 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_1131); -x_1139 = lean_array_push(x_1138, x_1131); -x_1140 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1141 = lean_array_push(x_1139, x_1140); -x_1142 = lean_array_push(x_1141, x_1133); -x_1143 = lean_array_push(x_1142, x_1137); -x_1144 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_1145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1145, 0, x_1144); -lean_ctor_set(x_1145, 1, x_1143); -x_1146 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1147 = lean_array_push(x_1146, x_1126); -x_1148 = lean_array_push(x_1147, x_1140); -x_1149 = lean_array_push(x_1148, x_1145); -x_1150 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_1151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1151, 0, x_1150); -lean_ctor_set(x_1151, 1, x_1149); -x_1152 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_1120); -x_1153 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1153, 0, x_1120); -lean_ctor_set(x_1153, 1, x_1152); -x_1154 = lean_array_push(x_1134, x_1153); -x_1155 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1156, 0, x_1155); -lean_ctor_set(x_1156, 1, x_1154); -x_1157 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1158 = lean_array_push(x_1157, x_1151); -lean_inc(x_1156); -x_1159 = lean_array_push(x_1158, x_1156); -x_1160 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_1161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1161, 0, x_1160); -lean_ctor_set(x_1161, 1, x_1159); -x_1162 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_1120); -x_1163 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1163, 0, x_1120); -lean_ctor_set(x_1163, 1, x_1162); -x_1164 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_1120); -x_1165 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1165, 0, x_1120); -lean_ctor_set(x_1165, 1, x_1164); -x_1166 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -lean_inc(x_1120); -x_1167 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1167, 0, x_1120); -lean_ctor_set(x_1167, 1, x_1166); -x_1168 = lean_array_push(x_1134, x_1167); -x_1169 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -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_1146, x_1131); -x_1172 = lean_array_push(x_1171, x_1165); -lean_inc(x_1172); -x_1173 = lean_array_push(x_1172, x_1170); -x_1174 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_1175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1175, 0, x_1174); -lean_ctor_set(x_1175, 1, x_1173); -x_1176 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_1177 = lean_array_push(x_1176, x_1115); -x_1178 = lean_array_push(x_1177, x_1140); -x_1179 = lean_array_push(x_1178, x_1140); -x_1180 = lean_array_push(x_1179, x_1163); -x_1181 = lean_array_push(x_1180, x_1175); -x_1182 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_1183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1183, 0, x_1182); -lean_ctor_set(x_1183, 1, x_1181); -x_1184 = lean_array_push(x_1134, x_1183); -x_1185 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_1186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1186, 0, x_1185); -lean_ctor_set(x_1186, 1, x_1184); -x_1187 = lean_array_push(x_1157, x_1186); -x_1188 = lean_array_push(x_1187, x_1156); -x_1189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1189, 0, x_1160); -lean_ctor_set(x_1189, 1, x_1188); -x_1190 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -x_1191 = l_Lean_addMacroScope(x_1122, x_1190, x_1121); -x_1192 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_1193 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1120); -x_1194 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1194, 0, x_1120); -lean_ctor_set(x_1194, 1, x_1192); -lean_ctor_set(x_1194, 2, x_1191); -lean_ctor_set(x_1194, 3, x_1193); -x_1195 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -x_1196 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1196, 0, x_1120); -lean_ctor_set(x_1196, 1, x_1195); -x_1197 = lean_array_push(x_1134, x_1196); -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_1172, x_1198); -x_1200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1200, 0, x_1174); -lean_ctor_set(x_1200, 1, x_1199); -x_1201 = lean_array_push(x_1134, x_1200); -x_1202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1202, 0, x_1155); -lean_ctor_set(x_1202, 1, x_1201); -x_1203 = lean_array_push(x_1157, x_1194); -x_1204 = lean_array_push(x_1203, x_1202); -x_1205 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1206, 0, x_1205); -lean_ctor_set(x_1206, 1, x_1204); -x_1207 = lean_array_push(x_1134, x_1206); -x_1208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1208, 0, x_1136); -lean_ctor_set(x_1208, 1, x_1207); -x_1209 = lean_array_push(x_1157, x_1208); -x_1210 = lean_array_push(x_1209, x_1140); -x_1211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1211, 0, x_1160); -lean_ctor_set(x_1211, 1, x_1210); -x_1212 = lean_array_push(x_1146, x_1161); -x_1213 = lean_array_push(x_1212, x_1189); -x_1214 = lean_array_push(x_1213, x_1211); -x_1215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1215, 0, x_1155); -lean_ctor_set(x_1215, 1, x_1214); -x_1216 = lean_array_push(x_1134, x_1215); -x_1217 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_1218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1218, 0, x_1217); -lean_ctor_set(x_1218, 1, x_1216); -x_1219 = lean_array_push(x_1157, x_1124); -x_1220 = lean_array_push(x_1219, x_1218); -x_1221 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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); -x_1223 = lean_unsigned_to_nat(1u); -x_1224 = l_Lean_Syntax_getArg(x_1222, x_1223); -lean_dec(x_1222); -x_1225 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1224); -lean_ctor_set(x_1118, 0, x_1225); -return x_1118; +x_585 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_581); +x_586 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_586, 0, x_581); +lean_ctor_set(x_586, 1, x_585); +x_587 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_581); +x_588 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_588, 0, x_581); +lean_ctor_set(x_588, 1, x_587); +x_589 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +lean_inc(x_583); +lean_inc(x_584); +x_590 = l_Lean_addMacroScope(x_584, x_589, x_583); +x_591 = lean_box(0); +x_592 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +lean_inc(x_581); +x_593 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_593, 0, x_581); +lean_ctor_set(x_593, 1, x_592); +lean_ctor_set(x_593, 2, x_590); +lean_ctor_set(x_593, 3, x_591); +x_594 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_581); +x_595 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_595, 0, x_581); +lean_ctor_set(x_595, 1, x_594); +x_596 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_597 = lean_array_push(x_596, x_1); +x_598 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_599 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_599, 0, x_598); +lean_ctor_set(x_599, 1, x_597); +x_600 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_593); +x_601 = lean_array_push(x_600, x_593); +x_602 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_603 = lean_array_push(x_601, x_602); +x_604 = lean_array_push(x_603, x_595); +x_605 = lean_array_push(x_604, x_599); +x_606 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_607 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_607, 0, x_606); +lean_ctor_set(x_607, 1, x_605); +x_608 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_609 = lean_array_push(x_608, x_588); +x_610 = lean_array_push(x_609, x_602); +x_611 = lean_array_push(x_610, x_607); +x_612 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_613 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_613, 0, x_612); +lean_ctor_set(x_613, 1, x_611); +x_614 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_581); +x_615 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_615, 0, x_581); +lean_ctor_set(x_615, 1, x_614); +x_616 = lean_array_push(x_596, x_615); +x_617 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_618 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_618, 0, x_617); +lean_ctor_set(x_618, 1, x_616); +x_619 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_620 = lean_array_push(x_619, x_613); +lean_inc(x_618); +x_621 = lean_array_push(x_620, x_618); +x_622 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_581); +x_625 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_625, 0, x_581); +lean_ctor_set(x_625, 1, x_624); +x_626 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; +lean_inc(x_581); +x_627 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_627, 0, x_581); +lean_ctor_set(x_627, 1, x_626); +x_628 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; +lean_inc(x_581); +x_629 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_629, 0, x_581); +lean_ctor_set(x_629, 1, x_628); +x_630 = lean_array_push(x_596, x_629); +x_631 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; +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_608, x_593); +x_634 = lean_array_push(x_633, x_627); +lean_inc(x_634); +x_635 = lean_array_push(x_634, x_632); +x_636 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; +x_637 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_637, 0, x_636); +lean_ctor_set(x_637, 1, x_635); +x_638 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_639 = lean_array_push(x_638, x_577); +x_640 = lean_array_push(x_639, x_602); +x_641 = lean_array_push(x_640, x_602); +x_642 = lean_array_push(x_641, x_625); +x_643 = lean_array_push(x_642, x_637); +x_644 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___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); +x_646 = lean_array_push(x_596, x_645); +x_647 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_648 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_648, 0, x_647); +lean_ctor_set(x_648, 1, x_646); +x_649 = lean_array_push(x_619, x_648); +x_650 = lean_array_push(x_649, x_618); +x_651 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_651, 0, x_622); +lean_ctor_set(x_651, 1, x_650); +x_652 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; +x_653 = l_Lean_addMacroScope(x_584, x_652, x_583); +x_654 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; +x_655 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_581); +x_656 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_656, 0, x_581); +lean_ctor_set(x_656, 1, x_654); +lean_ctor_set(x_656, 2, x_653); +lean_ctor_set(x_656, 3, x_655); +x_657 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; +x_658 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_658, 0, x_581); +lean_ctor_set(x_658, 1, x_657); +x_659 = lean_array_push(x_596, x_658); +x_660 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_660, 0, x_631); +lean_ctor_set(x_660, 1, x_659); +x_661 = lean_array_push(x_634, x_660); +x_662 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_662, 0, x_636); +lean_ctor_set(x_662, 1, x_661); +x_663 = lean_array_push(x_596, x_662); +x_664 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_664, 0, x_617); +lean_ctor_set(x_664, 1, x_663); +x_665 = lean_array_push(x_619, x_656); +x_666 = lean_array_push(x_665, x_664); +x_667 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_668 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_668, 0, x_667); +lean_ctor_set(x_668, 1, x_666); +x_669 = lean_array_push(x_596, x_668); +x_670 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_670, 0, x_598); +lean_ctor_set(x_670, 1, x_669); +x_671 = lean_array_push(x_619, x_670); +x_672 = lean_array_push(x_671, x_602); +x_673 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_673, 0, x_622); +lean_ctor_set(x_673, 1, x_672); +x_674 = lean_array_push(x_608, x_623); +x_675 = lean_array_push(x_674, x_651); +x_676 = lean_array_push(x_675, x_673); +x_677 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_677, 0, x_617); +lean_ctor_set(x_677, 1, x_676); +x_678 = lean_array_push(x_596, x_677); +x_679 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_680 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_680, 0, x_679); +lean_ctor_set(x_680, 1, x_678); +x_681 = lean_array_push(x_619, x_586); +x_682 = lean_array_push(x_681, x_680); +x_683 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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_unsigned_to_nat(1u); +x_686 = l_Lean_Syntax_getArg(x_684, x_685); +lean_dec(x_684); +x_687 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_686); +x_688 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_688, 0, x_687); +lean_ctor_set(x_688, 1, x_582); +return x_688; } else { -lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; 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; 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; 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; -x_1226 = lean_ctor_get(x_1118, 0); -x_1227 = lean_ctor_get(x_1118, 1); -lean_inc(x_1227); -lean_inc(x_1226); -lean_dec(x_1118); -x_1228 = lean_ctor_get(x_6, 2); -lean_inc(x_1228); -x_1229 = lean_ctor_get(x_6, 1); -lean_inc(x_1229); +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_dec(x_577); +x_689 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_578); lean_dec(x_6); -x_1230 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_1226); -x_1231 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1231, 0, x_1226); -lean_ctor_set(x_1231, 1, x_1230); -x_1232 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_1226); -x_1233 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1233, 0, x_1226); -lean_ctor_set(x_1233, 1, x_1232); -x_1234 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_1228); -lean_inc(x_1229); -x_1235 = l_Lean_addMacroScope(x_1229, x_1234, x_1228); -x_1236 = lean_box(0); -x_1237 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_1226); -x_1238 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1238, 0, x_1226); -lean_ctor_set(x_1238, 1, x_1237); -lean_ctor_set(x_1238, 2, x_1235); -lean_ctor_set(x_1238, 3, x_1236); -x_1239 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_1226); -x_1240 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1240, 0, x_1226); -lean_ctor_set(x_1240, 1, x_1239); -x_1241 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1242 = lean_array_push(x_1241, x_1); -x_1243 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_1244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1244, 0, x_1243); -lean_ctor_set(x_1244, 1, x_1242); -x_1245 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_1238); -x_1246 = lean_array_push(x_1245, x_1238); -x_1247 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1248 = lean_array_push(x_1246, x_1247); -x_1249 = lean_array_push(x_1248, x_1240); -x_1250 = lean_array_push(x_1249, x_1244); -x_1251 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1254 = lean_array_push(x_1253, x_1233); -x_1255 = lean_array_push(x_1254, x_1247); -x_1256 = lean_array_push(x_1255, x_1252); -x_1257 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_1258 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1258, 0, x_1257); -lean_ctor_set(x_1258, 1, x_1256); -x_1259 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_1226); -x_1260 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1260, 0, x_1226); -lean_ctor_set(x_1260, 1, x_1259); -x_1261 = lean_array_push(x_1241, x_1260); -x_1262 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); -x_1264 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1265 = lean_array_push(x_1264, x_1258); -lean_inc(x_1263); -x_1266 = lean_array_push(x_1265, x_1263); -x_1267 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_1268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1268, 0, x_1267); -lean_ctor_set(x_1268, 1, x_1266); -x_1269 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_1226); -x_1270 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1270, 0, x_1226); -lean_ctor_set(x_1270, 1, x_1269); -x_1271 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_1226); -x_1272 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1272, 0, x_1226); -lean_ctor_set(x_1272, 1, x_1271); -x_1273 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -lean_inc(x_1226); -x_1274 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1274, 0, x_1226); -lean_ctor_set(x_1274, 1, x_1273); -x_1275 = lean_array_push(x_1241, x_1274); -x_1276 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_1277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1277, 0, x_1276); -lean_ctor_set(x_1277, 1, x_1275); -x_1278 = lean_array_push(x_1253, x_1238); -x_1279 = lean_array_push(x_1278, x_1272); -lean_inc(x_1279); -x_1280 = lean_array_push(x_1279, x_1277); -x_1281 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_1282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1282, 0, x_1281); -lean_ctor_set(x_1282, 1, x_1280); -x_1283 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_1284 = lean_array_push(x_1283, x_1115); -x_1285 = lean_array_push(x_1284, x_1247); -x_1286 = lean_array_push(x_1285, x_1247); -x_1287 = lean_array_push(x_1286, x_1270); -x_1288 = lean_array_push(x_1287, x_1282); -x_1289 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_1290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1290, 0, x_1289); -lean_ctor_set(x_1290, 1, x_1288); -x_1291 = lean_array_push(x_1241, x_1290); -x_1292 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_1293 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1293, 0, x_1292); -lean_ctor_set(x_1293, 1, x_1291); -x_1294 = lean_array_push(x_1264, x_1293); -x_1295 = lean_array_push(x_1294, x_1263); -x_1296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1296, 0, x_1267); -lean_ctor_set(x_1296, 1, x_1295); -x_1297 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -x_1298 = l_Lean_addMacroScope(x_1229, x_1297, x_1228); -x_1299 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_1300 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1226); -x_1301 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1301, 0, x_1226); -lean_ctor_set(x_1301, 1, x_1299); -lean_ctor_set(x_1301, 2, x_1298); -lean_ctor_set(x_1301, 3, x_1300); -x_1302 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -x_1303 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1303, 0, x_1226); -lean_ctor_set(x_1303, 1, x_1302); -x_1304 = lean_array_push(x_1241, x_1303); -x_1305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1305, 0, x_1276); -lean_ctor_set(x_1305, 1, x_1304); -x_1306 = lean_array_push(x_1279, x_1305); -x_1307 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1307, 0, x_1281); -lean_ctor_set(x_1307, 1, x_1306); -x_1308 = lean_array_push(x_1241, x_1307); -x_1309 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1309, 0, x_1262); -lean_ctor_set(x_1309, 1, x_1308); -x_1310 = lean_array_push(x_1264, x_1301); -x_1311 = lean_array_push(x_1310, x_1309); -x_1312 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1313 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1313, 0, x_1312); -lean_ctor_set(x_1313, 1, x_1311); -x_1314 = lean_array_push(x_1241, x_1313); -x_1315 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1315, 0, x_1243); -lean_ctor_set(x_1315, 1, x_1314); -x_1316 = lean_array_push(x_1264, x_1315); -x_1317 = lean_array_push(x_1316, x_1247); -x_1318 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1318, 0, x_1267); -lean_ctor_set(x_1318, 1, x_1317); -x_1319 = lean_array_push(x_1253, x_1268); -x_1320 = lean_array_push(x_1319, x_1296); -x_1321 = lean_array_push(x_1320, x_1318); -x_1322 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1322, 0, x_1262); -lean_ctor_set(x_1322, 1, x_1321); -x_1323 = lean_array_push(x_1241, x_1322); -x_1324 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_1325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1325, 0, x_1324); -lean_ctor_set(x_1325, 1, x_1323); -x_1326 = lean_array_push(x_1264, x_1231); -x_1327 = lean_array_push(x_1326, x_1325); -x_1328 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1329, 0, x_1328); -lean_ctor_set(x_1329, 1, x_1327); -x_1330 = lean_unsigned_to_nat(1u); -x_1331 = l_Lean_Syntax_getArg(x_1329, x_1330); -lean_dec(x_1329); -x_1332 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1331); -x_1333 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1333, 0, x_1332); -lean_ctor_set(x_1333, 1, x_1227); -return x_1333; +x_690 = lean_ctor_get(x_689, 0); +lean_inc(x_690); +x_691 = lean_ctor_get(x_689, 1); +lean_inc(x_691); +lean_dec(x_689); +x_692 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +x_693 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_693, 0, x_690); +lean_ctor_set(x_693, 1, x_692); +x_694 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_695 = lean_array_push(x_694, x_1); +x_696 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_697 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_697, 0, x_696); +lean_ctor_set(x_697, 1, x_695); +x_698 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_699 = lean_array_push(x_698, x_697); +x_700 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_701 = lean_array_push(x_699, x_700); +x_702 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_703 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_703, 0, x_702); +lean_ctor_set(x_703, 1, x_701); +x_704 = lean_array_push(x_694, x_703); +x_705 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_706 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_706, 0, x_705); +lean_ctor_set(x_706, 1, x_704); +x_707 = lean_array_push(x_694, x_706); +x_708 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_709 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_709, 0, x_708); +lean_ctor_set(x_709, 1, x_707); +x_710 = lean_array_push(x_698, x_693); +x_711 = lean_array_push(x_710, x_709); +x_712 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_713 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_713, 0, x_712); +lean_ctor_set(x_713, 1, x_711); +x_714 = lean_unsigned_to_nat(1u); +x_715 = l_Lean_Syntax_getArg(x_713, x_714); +lean_dec(x_713); +x_716 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_715); +x_717 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_717, 0, x_716); +lean_ctor_set(x_717, 1, x_691); +return x_717; } } else { -lean_object* x_1334; uint8_t x_1335; -lean_dec(x_1115); -x_1334 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_1116); -lean_dec(x_6); -x_1335 = !lean_is_exclusive(x_1334); -if (x_1335 == 0) -{ -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; -x_1336 = lean_ctor_get(x_1334, 0); -x_1337 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -x_1338 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1338, 0, x_1336); -lean_ctor_set(x_1338, 1, x_1337); -x_1339 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1340 = lean_array_push(x_1339, x_1); -x_1341 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_1342 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1342, 0, x_1341); -lean_ctor_set(x_1342, 1, x_1340); -x_1343 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1344 = lean_array_push(x_1343, x_1342); -x_1345 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1346 = lean_array_push(x_1344, x_1345); -x_1347 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_1348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1348, 0, x_1347); -lean_ctor_set(x_1348, 1, x_1346); -x_1349 = lean_array_push(x_1339, x_1348); -x_1350 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -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 = lean_array_push(x_1339, x_1351); -x_1353 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_1354 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1354, 0, x_1353); -lean_ctor_set(x_1354, 1, x_1352); -x_1355 = lean_array_push(x_1343, x_1338); -x_1356 = lean_array_push(x_1355, x_1354); -x_1357 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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_unsigned_to_nat(1u); -x_1360 = l_Lean_Syntax_getArg(x_1358, x_1359); -lean_dec(x_1358); -x_1361 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1360); -lean_ctor_set(x_1334, 0, x_1361); -return x_1334; -} -else -{ -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_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_object* x_1389; -x_1362 = lean_ctor_get(x_1334, 0); -x_1363 = lean_ctor_get(x_1334, 1); -lean_inc(x_1363); -lean_inc(x_1362); -lean_dec(x_1334); -x_1364 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -x_1365 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1365, 0, x_1362); -lean_ctor_set(x_1365, 1, x_1364); -x_1366 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1367 = lean_array_push(x_1366, x_1); -x_1368 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_1369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1369, 0, x_1368); -lean_ctor_set(x_1369, 1, x_1367); -x_1370 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1371 = lean_array_push(x_1370, x_1369); -x_1372 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1373 = lean_array_push(x_1371, x_1372); -x_1374 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_1375 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1375, 0, x_1374); -lean_ctor_set(x_1375, 1, x_1373); -x_1376 = lean_array_push(x_1366, x_1375); -x_1377 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1378 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1378, 0, x_1377); -lean_ctor_set(x_1378, 1, x_1376); -x_1379 = lean_array_push(x_1366, x_1378); -x_1380 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_1381 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1381, 0, x_1380); -lean_ctor_set(x_1381, 1, x_1379); -x_1382 = lean_array_push(x_1370, x_1365); -x_1383 = lean_array_push(x_1382, x_1381); -x_1384 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1385 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1385, 0, x_1384); -lean_ctor_set(x_1385, 1, x_1383); -x_1386 = lean_unsigned_to_nat(1u); -x_1387 = l_Lean_Syntax_getArg(x_1385, x_1386); -lean_dec(x_1385); -x_1388 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1387); -x_1389 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1389, 0, x_1388); -lean_ctor_set(x_1389, 1, x_1363); -return x_1389; -} -} -} -else -{ -lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; uint8_t x_1393; +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; 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; 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; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_dec(x_2); -x_1390 = lean_ctor_get(x_18, 0); -lean_inc(x_1390); -x_1391 = lean_ctor_get(x_18, 1); -lean_inc(x_1391); +x_718 = lean_ctor_get(x_18, 0); +lean_inc(x_718); +x_719 = lean_ctor_get(x_18, 1); +lean_inc(x_719); lean_dec(x_18); -x_1392 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_1391); -x_1393 = !lean_is_exclusive(x_1392); -if (x_1393 == 0) -{ -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_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; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; -x_1394 = lean_ctor_get(x_1392, 0); -x_1395 = lean_ctor_get(x_6, 2); -lean_inc(x_1395); -x_1396 = lean_ctor_get(x_6, 1); -lean_inc(x_1396); +x_720 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_719); +x_721 = lean_ctor_get(x_720, 0); +lean_inc(x_721); +x_722 = lean_ctor_get(x_720, 1); +lean_inc(x_722); +lean_dec(x_720); +x_723 = lean_ctor_get(x_6, 2); +lean_inc(x_723); +x_724 = lean_ctor_get(x_6, 1); +lean_inc(x_724); lean_dec(x_6); -x_1397 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_1394); -x_1398 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1398, 0, x_1394); -lean_ctor_set(x_1398, 1, x_1397); -x_1399 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_1394); -x_1400 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1400, 0, x_1394); -lean_ctor_set(x_1400, 1, x_1399); -x_1401 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_1395); -lean_inc(x_1396); -x_1402 = l_Lean_addMacroScope(x_1396, x_1401, x_1395); -x_1403 = lean_box(0); -x_1404 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_1394); -x_1405 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1405, 0, x_1394); -lean_ctor_set(x_1405, 1, x_1404); -lean_ctor_set(x_1405, 2, x_1402); -lean_ctor_set(x_1405, 3, x_1403); -x_1406 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_1394); -x_1407 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1407, 0, x_1394); -lean_ctor_set(x_1407, 1, x_1406); -x_1408 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1409 = lean_array_push(x_1408, x_1); -x_1410 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_1411 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1411, 0, x_1410); -lean_ctor_set(x_1411, 1, x_1409); -x_1412 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_1405); -x_1413 = lean_array_push(x_1412, x_1405); -x_1414 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1415 = lean_array_push(x_1413, x_1414); -x_1416 = lean_array_push(x_1415, x_1407); -x_1417 = lean_array_push(x_1416, x_1411); -x_1418 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_1419 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1419, 0, x_1418); -lean_ctor_set(x_1419, 1, x_1417); -x_1420 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1421 = lean_array_push(x_1420, x_1400); -x_1422 = lean_array_push(x_1421, x_1414); -x_1423 = lean_array_push(x_1422, x_1419); -x_1424 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_1425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1425, 0, x_1424); -lean_ctor_set(x_1425, 1, x_1423); -x_1426 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_1394); -x_1427 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1427, 0, x_1394); -lean_ctor_set(x_1427, 1, x_1426); -x_1428 = lean_array_push(x_1408, x_1427); -x_1429 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1430 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1430, 0, x_1429); -lean_ctor_set(x_1430, 1, x_1428); -x_1431 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1432 = lean_array_push(x_1431, x_1425); -lean_inc(x_1430); -x_1433 = lean_array_push(x_1432, x_1430); -x_1434 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_1435 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1435, 0, x_1434); -lean_ctor_set(x_1435, 1, x_1433); -x_1436 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_1394); -x_1437 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1437, 0, x_1394); -lean_ctor_set(x_1437, 1, x_1436); -x_1438 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_1439 = lean_array_push(x_1438, x_1405); -x_1440 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_1441 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1441, 0, x_1440); -lean_ctor_set(x_1441, 1, x_1439); -x_1442 = lean_array_push(x_1408, x_1441); -x_1443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1443, 0, x_1429); -lean_ctor_set(x_1443, 1, x_1442); -x_1444 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_1394); -x_1445 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1445, 0, x_1394); -lean_ctor_set(x_1445, 1, x_1444); -x_1446 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_1394); -x_1447 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1447, 0, x_1394); -lean_ctor_set(x_1447, 1, x_1446); -x_1448 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; -lean_inc(x_1395); -lean_inc(x_1396); -x_1449 = l_Lean_addMacroScope(x_1396, x_1448, x_1395); -x_1450 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; -x_1451 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; -lean_inc(x_1394); -x_1452 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1452, 0, x_1394); -lean_ctor_set(x_1452, 1, x_1450); -lean_ctor_set(x_1452, 2, x_1449); -lean_ctor_set(x_1452, 3, x_1451); -x_1453 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; -lean_inc(x_1395); -lean_inc(x_1396); -x_1454 = l_Lean_addMacroScope(x_1396, x_1453, x_1395); -x_1455 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_1394); -x_1456 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1456, 0, x_1394); -lean_ctor_set(x_1456, 1, x_1455); -lean_ctor_set(x_1456, 2, x_1454); -lean_ctor_set(x_1456, 3, x_1403); -x_1457 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; -lean_inc(x_1395); -lean_inc(x_1396); -x_1458 = l_Lean_addMacroScope(x_1396, x_1457, x_1395); -x_1459 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -lean_inc(x_1394); -x_1460 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1460, 0, x_1394); -lean_ctor_set(x_1460, 1, x_1459); -lean_ctor_set(x_1460, 2, x_1458); -lean_ctor_set(x_1460, 3, x_1403); -lean_inc(x_1456); -x_1461 = lean_array_push(x_1431, x_1456); -lean_inc(x_1460); -x_1462 = lean_array_push(x_1461, x_1460); -x_1463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1463, 0, x_1429); -lean_ctor_set(x_1463, 1, x_1462); -x_1464 = lean_array_push(x_1431, x_1452); -x_1465 = lean_array_push(x_1464, x_1463); -x_1466 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1467 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1467, 0, x_1466); -lean_ctor_set(x_1467, 1, x_1465); -x_1468 = lean_array_push(x_1408, x_1467); -x_1469 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1469, 0, x_1429); -lean_ctor_set(x_1469, 1, x_1468); -x_1470 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1394); -x_1471 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1471, 0, x_1394); -lean_ctor_set(x_1471, 1, x_1470); -x_1472 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_1394); -x_1473 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1473, 0, x_1394); -lean_ctor_set(x_1473, 1, x_1472); -x_1474 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_1475 = lean_array_push(x_1474, x_1390); -x_1476 = lean_array_push(x_1475, x_1414); -x_1477 = lean_array_push(x_1476, x_1414); -x_1478 = lean_array_push(x_1477, x_1473); -lean_inc(x_1460); -x_1479 = lean_array_push(x_1478, x_1460); -x_1480 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_1481 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1481, 0, x_1480); -lean_ctor_set(x_1481, 1, x_1479); -x_1482 = lean_array_push(x_1408, x_1481); -x_1483 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_1484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1484, 0, x_1483); -lean_ctor_set(x_1484, 1, x_1482); -x_1485 = lean_array_push(x_1431, x_1484); -x_1486 = lean_array_push(x_1485, x_1430); -x_1487 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1487, 0, x_1434); -lean_ctor_set(x_1487, 1, x_1486); -x_1488 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -lean_inc(x_1395); -lean_inc(x_1396); -x_1489 = l_Lean_addMacroScope(x_1396, x_1488, x_1395); -x_1490 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_1491 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1394); -x_1492 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1492, 0, x_1394); -lean_ctor_set(x_1492, 1, x_1490); -lean_ctor_set(x_1492, 2, x_1489); -lean_ctor_set(x_1492, 3, x_1491); -x_1493 = lean_array_push(x_1408, x_1456); -x_1494 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1494, 0, x_1429); -lean_ctor_set(x_1494, 1, x_1493); -x_1495 = lean_array_push(x_1431, x_1492); -x_1496 = lean_array_push(x_1495, x_1494); -x_1497 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1497, 0, x_1466); -lean_ctor_set(x_1497, 1, x_1496); -x_1498 = lean_array_push(x_1408, x_1497); -x_1499 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1499, 0, x_1410); -lean_ctor_set(x_1499, 1, x_1498); -x_1500 = lean_array_push(x_1431, x_1499); -x_1501 = lean_array_push(x_1500, x_1414); -x_1502 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1502, 0, x_1434); -lean_ctor_set(x_1502, 1, x_1501); -x_1503 = lean_array_push(x_1431, x_1487); -lean_inc(x_1503); -x_1504 = lean_array_push(x_1503, x_1502); -x_1505 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1505, 0, x_1429); -lean_ctor_set(x_1505, 1, x_1504); -x_1506 = lean_array_push(x_1408, x_1505); -x_1507 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_1508 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1508, 0, x_1507); -lean_ctor_set(x_1508, 1, x_1506); -x_1509 = lean_array_push(x_1412, x_1447); -lean_inc(x_1509); -x_1510 = lean_array_push(x_1509, x_1469); -lean_inc(x_1471); -x_1511 = lean_array_push(x_1510, x_1471); -x_1512 = lean_array_push(x_1511, x_1508); -x_1513 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_1514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1514, 0, x_1513); -lean_ctor_set(x_1514, 1, x_1512); -x_1515 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__14; -lean_inc(x_1395); -lean_inc(x_1396); -x_1516 = l_Lean_addMacroScope(x_1396, x_1515, x_1395); -x_1517 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__13; -x_1518 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__16; -lean_inc(x_1394); -x_1519 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1519, 0, x_1394); -lean_ctor_set(x_1519, 1, x_1517); -lean_ctor_set(x_1519, 2, x_1516); -lean_ctor_set(x_1519, 3, x_1518); -x_1520 = lean_array_push(x_1408, x_1460); -x_1521 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1521, 0, x_1429); -lean_ctor_set(x_1521, 1, x_1520); -x_1522 = lean_array_push(x_1431, x_1519); -lean_inc(x_1521); -x_1523 = lean_array_push(x_1522, x_1521); -x_1524 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1524, 0, x_1466); -lean_ctor_set(x_1524, 1, x_1523); -x_1525 = lean_array_push(x_1408, x_1524); -x_1526 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1526, 0, x_1429); -lean_ctor_set(x_1526, 1, x_1525); -x_1527 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -lean_inc(x_1394); -x_1528 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1528, 0, x_1394); -lean_ctor_set(x_1528, 1, x_1527); -x_1529 = lean_array_push(x_1408, x_1528); -x_1530 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_1531 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1531, 0, x_1530); -lean_ctor_set(x_1531, 1, x_1529); -x_1532 = lean_array_push(x_1431, x_1531); -x_1533 = lean_array_push(x_1532, x_1414); -x_1534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1534, 0, x_1434); -lean_ctor_set(x_1534, 1, x_1533); -lean_inc(x_1503); -x_1535 = lean_array_push(x_1503, x_1534); -x_1536 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1536, 0, x_1429); -lean_ctor_set(x_1536, 1, x_1535); -x_1537 = lean_array_push(x_1408, x_1536); -x_1538 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1538, 0, x_1507); -lean_ctor_set(x_1538, 1, x_1537); -lean_inc(x_1509); -x_1539 = lean_array_push(x_1509, x_1526); -lean_inc(x_1471); -x_1540 = lean_array_push(x_1539, x_1471); -x_1541 = lean_array_push(x_1540, x_1538); -x_1542 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1542, 0, x_1513); -lean_ctor_set(x_1542, 1, x_1541); -x_1543 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__30; -x_1544 = l_Lean_addMacroScope(x_1396, x_1543, x_1395); -x_1545 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__29; -x_1546 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__32; -lean_inc(x_1394); -x_1547 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1547, 0, x_1394); -lean_ctor_set(x_1547, 1, x_1545); -lean_ctor_set(x_1547, 2, x_1544); -lean_ctor_set(x_1547, 3, x_1546); -x_1548 = lean_array_push(x_1431, x_1547); -x_1549 = lean_array_push(x_1548, x_1521); -x_1550 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1550, 0, x_1466); -lean_ctor_set(x_1550, 1, x_1549); -x_1551 = lean_array_push(x_1408, x_1550); -x_1552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1552, 0, x_1429); -lean_ctor_set(x_1552, 1, x_1551); -x_1553 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__22; -x_1554 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1554, 0, x_1394); -lean_ctor_set(x_1554, 1, x_1553); -x_1555 = lean_array_push(x_1408, x_1554); -x_1556 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; -x_1557 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1557, 0, x_1556); -lean_ctor_set(x_1557, 1, x_1555); -x_1558 = lean_array_push(x_1431, x_1557); -x_1559 = lean_array_push(x_1558, x_1414); -x_1560 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1560, 0, x_1434); -lean_ctor_set(x_1560, 1, x_1559); -x_1561 = lean_array_push(x_1503, x_1560); -x_1562 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1562, 0, x_1429); -lean_ctor_set(x_1562, 1, x_1561); -x_1563 = lean_array_push(x_1408, x_1562); -x_1564 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1564, 0, x_1507); -lean_ctor_set(x_1564, 1, x_1563); -x_1565 = lean_array_push(x_1509, x_1552); -x_1566 = lean_array_push(x_1565, x_1471); -x_1567 = lean_array_push(x_1566, x_1564); -x_1568 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1568, 0, x_1513); -lean_ctor_set(x_1568, 1, x_1567); -x_1569 = lean_array_push(x_1420, x_1514); -x_1570 = lean_array_push(x_1569, x_1542); -x_1571 = lean_array_push(x_1570, x_1568); -x_1572 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1572, 0, x_1429); -lean_ctor_set(x_1572, 1, x_1571); -x_1573 = lean_array_push(x_1408, x_1572); -x_1574 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_1575 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1575, 0, x_1574); -lean_ctor_set(x_1575, 1, x_1573); -x_1576 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_1577 = lean_array_push(x_1576, x_1437); -x_1578 = lean_array_push(x_1577, x_1414); -x_1579 = lean_array_push(x_1578, x_1443); -x_1580 = lean_array_push(x_1579, x_1414); -x_1581 = lean_array_push(x_1580, x_1445); -x_1582 = lean_array_push(x_1581, x_1575); -x_1583 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_1584 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1584, 0, x_1583); -lean_ctor_set(x_1584, 1, x_1582); -x_1585 = lean_array_push(x_1431, x_1584); -x_1586 = lean_array_push(x_1585, x_1414); -x_1587 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1587, 0, x_1434); -lean_ctor_set(x_1587, 1, x_1586); -x_1588 = lean_array_push(x_1431, x_1435); -x_1589 = lean_array_push(x_1588, x_1587); -x_1590 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1590, 0, x_1429); -lean_ctor_set(x_1590, 1, x_1589); -x_1591 = lean_array_push(x_1408, x_1590); -x_1592 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1592, 0, x_1507); -lean_ctor_set(x_1592, 1, x_1591); -x_1593 = lean_array_push(x_1431, x_1398); -x_1594 = lean_array_push(x_1593, x_1592); -x_1595 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1596 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1596, 0, x_1595); -lean_ctor_set(x_1596, 1, x_1594); -x_1597 = lean_unsigned_to_nat(1u); -x_1598 = l_Lean_Syntax_getArg(x_1596, x_1597); -lean_dec(x_1596); -x_1599 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1598); -lean_ctor_set(x_1392, 0, x_1599); -return x_1392; -} -else -{ -lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; -x_1600 = lean_ctor_get(x_1392, 0); -x_1601 = lean_ctor_get(x_1392, 1); -lean_inc(x_1601); -lean_inc(x_1600); -lean_dec(x_1392); -x_1602 = lean_ctor_get(x_6, 2); -lean_inc(x_1602); -x_1603 = lean_ctor_get(x_6, 1); -lean_inc(x_1603); -lean_dec(x_6); -x_1604 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_1600); -x_1605 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1605, 0, x_1600); -lean_ctor_set(x_1605, 1, x_1604); -x_1606 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_1600); -x_1607 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1607, 0, x_1600); -lean_ctor_set(x_1607, 1, x_1606); -x_1608 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_1602); -lean_inc(x_1603); -x_1609 = l_Lean_addMacroScope(x_1603, x_1608, x_1602); -x_1610 = lean_box(0); -x_1611 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_1600); -x_1612 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1612, 0, x_1600); -lean_ctor_set(x_1612, 1, x_1611); -lean_ctor_set(x_1612, 2, x_1609); -lean_ctor_set(x_1612, 3, x_1610); -x_1613 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_1600); -x_1614 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1614, 0, x_1600); -lean_ctor_set(x_1614, 1, x_1613); -x_1615 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1616 = lean_array_push(x_1615, x_1); -x_1617 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_1618 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1618, 0, x_1617); -lean_ctor_set(x_1618, 1, x_1616); -x_1619 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_1612); -x_1620 = lean_array_push(x_1619, x_1612); -x_1621 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1622 = lean_array_push(x_1620, x_1621); -x_1623 = lean_array_push(x_1622, x_1614); -x_1624 = lean_array_push(x_1623, x_1618); -x_1625 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_1626 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1626, 0, x_1625); -lean_ctor_set(x_1626, 1, x_1624); -x_1627 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1628 = lean_array_push(x_1627, x_1607); -x_1629 = lean_array_push(x_1628, x_1621); -x_1630 = lean_array_push(x_1629, x_1626); -x_1631 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_1632 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1632, 0, x_1631); -lean_ctor_set(x_1632, 1, x_1630); -x_1633 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_1600); -x_1634 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1634, 0, x_1600); -lean_ctor_set(x_1634, 1, x_1633); -x_1635 = lean_array_push(x_1615, x_1634); -x_1636 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1637 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1637, 0, x_1636); -lean_ctor_set(x_1637, 1, x_1635); -x_1638 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1639 = lean_array_push(x_1638, x_1632); -lean_inc(x_1637); -x_1640 = lean_array_push(x_1639, x_1637); -x_1641 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_1642 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1642, 0, x_1641); -lean_ctor_set(x_1642, 1, x_1640); -x_1643 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_1600); -x_1644 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1644, 0, x_1600); -lean_ctor_set(x_1644, 1, x_1643); -x_1645 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_1646 = lean_array_push(x_1645, x_1612); -x_1647 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_1648 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1648, 0, x_1647); -lean_ctor_set(x_1648, 1, x_1646); -x_1649 = lean_array_push(x_1615, x_1648); -x_1650 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1650, 0, x_1636); -lean_ctor_set(x_1650, 1, x_1649); -x_1651 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_1600); -x_1652 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1652, 0, x_1600); -lean_ctor_set(x_1652, 1, x_1651); -x_1653 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_1600); -x_1654 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1654, 0, x_1600); -lean_ctor_set(x_1654, 1, x_1653); -x_1655 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; -lean_inc(x_1602); -lean_inc(x_1603); -x_1656 = l_Lean_addMacroScope(x_1603, x_1655, x_1602); -x_1657 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; -x_1658 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; -lean_inc(x_1600); -x_1659 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1659, 0, x_1600); -lean_ctor_set(x_1659, 1, x_1657); -lean_ctor_set(x_1659, 2, x_1656); -lean_ctor_set(x_1659, 3, x_1658); -x_1660 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; -lean_inc(x_1602); -lean_inc(x_1603); -x_1661 = l_Lean_addMacroScope(x_1603, x_1660, x_1602); -x_1662 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_1600); -x_1663 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1663, 0, x_1600); -lean_ctor_set(x_1663, 1, x_1662); -lean_ctor_set(x_1663, 2, x_1661); -lean_ctor_set(x_1663, 3, x_1610); -x_1664 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; -lean_inc(x_1602); -lean_inc(x_1603); -x_1665 = l_Lean_addMacroScope(x_1603, x_1664, x_1602); -x_1666 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -lean_inc(x_1600); -x_1667 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1667, 0, x_1600); -lean_ctor_set(x_1667, 1, x_1666); -lean_ctor_set(x_1667, 2, x_1665); -lean_ctor_set(x_1667, 3, x_1610); -lean_inc(x_1663); -x_1668 = lean_array_push(x_1638, x_1663); -lean_inc(x_1667); -x_1669 = lean_array_push(x_1668, x_1667); -x_1670 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1670, 0, x_1636); -lean_ctor_set(x_1670, 1, x_1669); -x_1671 = lean_array_push(x_1638, x_1659); -x_1672 = lean_array_push(x_1671, x_1670); -x_1673 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1674 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1674, 0, x_1673); -lean_ctor_set(x_1674, 1, x_1672); -x_1675 = lean_array_push(x_1615, x_1674); -x_1676 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1676, 0, x_1636); -lean_ctor_set(x_1676, 1, x_1675); -x_1677 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1600); -x_1678 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1678, 0, x_1600); -lean_ctor_set(x_1678, 1, x_1677); -x_1679 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_1600); -x_1680 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1680, 0, x_1600); -lean_ctor_set(x_1680, 1, x_1679); -x_1681 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_1682 = lean_array_push(x_1681, x_1390); -x_1683 = lean_array_push(x_1682, x_1621); -x_1684 = lean_array_push(x_1683, x_1621); -x_1685 = lean_array_push(x_1684, x_1680); -lean_inc(x_1667); -x_1686 = lean_array_push(x_1685, x_1667); -x_1687 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_1688 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1688, 0, x_1687); -lean_ctor_set(x_1688, 1, x_1686); -x_1689 = lean_array_push(x_1615, x_1688); -x_1690 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_1691 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1691, 0, x_1690); -lean_ctor_set(x_1691, 1, x_1689); -x_1692 = lean_array_push(x_1638, x_1691); -x_1693 = lean_array_push(x_1692, x_1637); -x_1694 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1694, 0, x_1641); -lean_ctor_set(x_1694, 1, x_1693); -x_1695 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -lean_inc(x_1602); -lean_inc(x_1603); -x_1696 = l_Lean_addMacroScope(x_1603, x_1695, x_1602); -x_1697 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_1698 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1600); -x_1699 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1699, 0, x_1600); -lean_ctor_set(x_1699, 1, x_1697); -lean_ctor_set(x_1699, 2, x_1696); -lean_ctor_set(x_1699, 3, x_1698); -x_1700 = lean_array_push(x_1615, x_1663); -x_1701 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1701, 0, x_1636); -lean_ctor_set(x_1701, 1, x_1700); -x_1702 = lean_array_push(x_1638, x_1699); -x_1703 = lean_array_push(x_1702, x_1701); -x_1704 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1704, 0, x_1673); -lean_ctor_set(x_1704, 1, x_1703); -x_1705 = lean_array_push(x_1615, x_1704); -x_1706 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1706, 0, x_1617); -lean_ctor_set(x_1706, 1, x_1705); -x_1707 = lean_array_push(x_1638, x_1706); -x_1708 = lean_array_push(x_1707, x_1621); -x_1709 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1709, 0, x_1641); -lean_ctor_set(x_1709, 1, x_1708); -x_1710 = lean_array_push(x_1638, x_1694); -lean_inc(x_1710); -x_1711 = lean_array_push(x_1710, x_1709); -x_1712 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1712, 0, x_1636); -lean_ctor_set(x_1712, 1, x_1711); -x_1713 = lean_array_push(x_1615, x_1712); -x_1714 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_1715 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1715, 0, x_1714); -lean_ctor_set(x_1715, 1, x_1713); -x_1716 = lean_array_push(x_1619, x_1654); -lean_inc(x_1716); -x_1717 = lean_array_push(x_1716, x_1676); -lean_inc(x_1678); -x_1718 = lean_array_push(x_1717, x_1678); -x_1719 = lean_array_push(x_1718, x_1715); -x_1720 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_1721 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1721, 0, x_1720); -lean_ctor_set(x_1721, 1, x_1719); -x_1722 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__14; -lean_inc(x_1602); -lean_inc(x_1603); -x_1723 = l_Lean_addMacroScope(x_1603, x_1722, x_1602); -x_1724 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__13; -x_1725 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__16; -lean_inc(x_1600); -x_1726 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1726, 0, x_1600); -lean_ctor_set(x_1726, 1, x_1724); -lean_ctor_set(x_1726, 2, x_1723); -lean_ctor_set(x_1726, 3, x_1725); -x_1727 = lean_array_push(x_1615, x_1667); -x_1728 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1728, 0, x_1636); -lean_ctor_set(x_1728, 1, x_1727); -x_1729 = lean_array_push(x_1638, x_1726); -lean_inc(x_1728); -x_1730 = lean_array_push(x_1729, x_1728); -x_1731 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1731, 0, x_1673); -lean_ctor_set(x_1731, 1, x_1730); -x_1732 = lean_array_push(x_1615, x_1731); -x_1733 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1733, 0, x_1636); -lean_ctor_set(x_1733, 1, x_1732); -x_1734 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -lean_inc(x_1600); -x_1735 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1735, 0, x_1600); -lean_ctor_set(x_1735, 1, x_1734); -x_1736 = lean_array_push(x_1615, x_1735); -x_1737 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_1738 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1738, 0, x_1737); -lean_ctor_set(x_1738, 1, x_1736); -x_1739 = lean_array_push(x_1638, x_1738); -x_1740 = lean_array_push(x_1739, x_1621); -x_1741 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1741, 0, x_1641); -lean_ctor_set(x_1741, 1, x_1740); -lean_inc(x_1710); -x_1742 = lean_array_push(x_1710, x_1741); -x_1743 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1743, 0, x_1636); -lean_ctor_set(x_1743, 1, x_1742); -x_1744 = lean_array_push(x_1615, x_1743); -x_1745 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1745, 0, x_1714); -lean_ctor_set(x_1745, 1, x_1744); -lean_inc(x_1716); -x_1746 = lean_array_push(x_1716, x_1733); -lean_inc(x_1678); -x_1747 = lean_array_push(x_1746, x_1678); -x_1748 = lean_array_push(x_1747, x_1745); -x_1749 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1749, 0, x_1720); -lean_ctor_set(x_1749, 1, x_1748); -x_1750 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__30; -x_1751 = l_Lean_addMacroScope(x_1603, x_1750, x_1602); -x_1752 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__29; -x_1753 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__32; -lean_inc(x_1600); -x_1754 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1754, 0, x_1600); -lean_ctor_set(x_1754, 1, x_1752); -lean_ctor_set(x_1754, 2, x_1751); -lean_ctor_set(x_1754, 3, x_1753); -x_1755 = lean_array_push(x_1638, x_1754); -x_1756 = lean_array_push(x_1755, x_1728); -x_1757 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1757, 0, x_1673); -lean_ctor_set(x_1757, 1, x_1756); -x_1758 = lean_array_push(x_1615, x_1757); -x_1759 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1759, 0, x_1636); -lean_ctor_set(x_1759, 1, x_1758); -x_1760 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__22; -x_1761 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1761, 0, x_1600); -lean_ctor_set(x_1761, 1, x_1760); -x_1762 = lean_array_push(x_1615, x_1761); -x_1763 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; -x_1764 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1764, 0, x_1763); -lean_ctor_set(x_1764, 1, x_1762); -x_1765 = lean_array_push(x_1638, x_1764); -x_1766 = lean_array_push(x_1765, x_1621); -x_1767 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1767, 0, x_1641); -lean_ctor_set(x_1767, 1, x_1766); -x_1768 = lean_array_push(x_1710, x_1767); -x_1769 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1769, 0, x_1636); -lean_ctor_set(x_1769, 1, x_1768); -x_1770 = lean_array_push(x_1615, x_1769); -x_1771 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1771, 0, x_1714); -lean_ctor_set(x_1771, 1, x_1770); -x_1772 = lean_array_push(x_1716, x_1759); -x_1773 = lean_array_push(x_1772, x_1678); -x_1774 = lean_array_push(x_1773, x_1771); -x_1775 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1775, 0, x_1720); -lean_ctor_set(x_1775, 1, x_1774); -x_1776 = lean_array_push(x_1627, x_1721); -x_1777 = lean_array_push(x_1776, x_1749); -x_1778 = lean_array_push(x_1777, x_1775); -x_1779 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1779, 0, x_1636); -lean_ctor_set(x_1779, 1, x_1778); -x_1780 = lean_array_push(x_1615, x_1779); -x_1781 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_1782 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1782, 0, x_1781); -lean_ctor_set(x_1782, 1, x_1780); -x_1783 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_1784 = lean_array_push(x_1783, x_1644); -x_1785 = lean_array_push(x_1784, x_1621); -x_1786 = lean_array_push(x_1785, x_1650); -x_1787 = lean_array_push(x_1786, x_1621); -x_1788 = lean_array_push(x_1787, x_1652); -x_1789 = lean_array_push(x_1788, x_1782); -x_1790 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_1791 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1791, 0, x_1790); -lean_ctor_set(x_1791, 1, x_1789); -x_1792 = lean_array_push(x_1638, x_1791); -x_1793 = lean_array_push(x_1792, x_1621); -x_1794 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1794, 0, x_1641); -lean_ctor_set(x_1794, 1, x_1793); -x_1795 = lean_array_push(x_1638, x_1642); -x_1796 = lean_array_push(x_1795, x_1794); -x_1797 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1797, 0, x_1636); -lean_ctor_set(x_1797, 1, x_1796); -x_1798 = lean_array_push(x_1615, x_1797); -x_1799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1799, 0, x_1714); -lean_ctor_set(x_1799, 1, x_1798); -x_1800 = lean_array_push(x_1638, x_1605); -x_1801 = lean_array_push(x_1800, x_1799); -x_1802 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1803 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1803, 0, x_1802); -lean_ctor_set(x_1803, 1, x_1801); -x_1804 = lean_unsigned_to_nat(1u); -x_1805 = l_Lean_Syntax_getArg(x_1803, x_1804); -lean_dec(x_1803); -x_1806 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1805); -x_1807 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1807, 0, x_1806); -lean_ctor_set(x_1807, 1, x_1601); -return x_1807; -} +x_725 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_721); +x_726 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_726, 0, x_721); +lean_ctor_set(x_726, 1, x_725); +x_727 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_721); +x_728 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_728, 0, x_721); +lean_ctor_set(x_728, 1, x_727); +x_729 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +lean_inc(x_723); +lean_inc(x_724); +x_730 = l_Lean_addMacroScope(x_724, x_729, x_723); +x_731 = lean_box(0); +x_732 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +lean_inc(x_721); +x_733 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_733, 0, x_721); +lean_ctor_set(x_733, 1, x_732); +lean_ctor_set(x_733, 2, x_730); +lean_ctor_set(x_733, 3, x_731); +x_734 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_721); +x_735 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_735, 0, x_721); +lean_ctor_set(x_735, 1, x_734); +x_736 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_737 = lean_array_push(x_736, x_1); +x_738 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +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_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_733); +x_741 = lean_array_push(x_740, x_733); +x_742 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_743 = lean_array_push(x_741, x_742); +x_744 = lean_array_push(x_743, x_735); +x_745 = lean_array_push(x_744, x_739); +x_746 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_747 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_747, 0, x_746); +lean_ctor_set(x_747, 1, x_745); +x_748 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_749 = lean_array_push(x_748, x_728); +x_750 = lean_array_push(x_749, x_742); +x_751 = lean_array_push(x_750, x_747); +x_752 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +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_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_721); +x_755 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_755, 0, x_721); +lean_ctor_set(x_755, 1, x_754); +x_756 = lean_array_push(x_736, x_755); +x_757 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_758 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_758, 0, x_757); +lean_ctor_set(x_758, 1, x_756); +x_759 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_760 = lean_array_push(x_759, x_753); +lean_inc(x_758); +x_761 = lean_array_push(x_760, x_758); +x_762 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_763 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_763, 0, x_762); +lean_ctor_set(x_763, 1, x_761); +x_764 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +lean_inc(x_721); +x_765 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_765, 0, x_721); +lean_ctor_set(x_765, 1, x_764); +x_766 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; +x_767 = lean_array_push(x_766, x_733); +x_768 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_769 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_769, 0, x_768); +lean_ctor_set(x_769, 1, x_767); +x_770 = lean_array_push(x_736, x_769); +x_771 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_771, 0, x_757); +lean_ctor_set(x_771, 1, x_770); +x_772 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +lean_inc(x_721); +x_773 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_773, 0, x_721); +lean_ctor_set(x_773, 1, x_772); +x_774 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; +lean_inc(x_721); +x_775 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_775, 0, x_721); +lean_ctor_set(x_775, 1, x_774); +x_776 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__39; +lean_inc(x_723); +lean_inc(x_724); +x_777 = l_Lean_addMacroScope(x_724, x_776, x_723); +x_778 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__35; +x_779 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__41; +lean_inc(x_721); +x_780 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_780, 0, x_721); +lean_ctor_set(x_780, 1, x_778); +lean_ctor_set(x_780, 2, x_777); +lean_ctor_set(x_780, 3, x_779); +x_781 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; +lean_inc(x_723); +lean_inc(x_724); +x_782 = l_Lean_addMacroScope(x_724, x_781, x_723); +x_783 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; +lean_inc(x_721); +x_784 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_784, 0, x_721); +lean_ctor_set(x_784, 1, x_783); +lean_ctor_set(x_784, 2, x_782); +lean_ctor_set(x_784, 3, x_731); +x_785 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; +lean_inc(x_723); +lean_inc(x_724); +x_786 = l_Lean_addMacroScope(x_724, x_785, x_723); +x_787 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +lean_inc(x_721); +x_788 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_788, 0, x_721); +lean_ctor_set(x_788, 1, x_787); +lean_ctor_set(x_788, 2, x_786); +lean_ctor_set(x_788, 3, x_731); +lean_inc(x_784); +x_789 = lean_array_push(x_759, x_784); +lean_inc(x_788); +x_790 = lean_array_push(x_789, x_788); +x_791 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_791, 0, x_757); +lean_ctor_set(x_791, 1, x_790); +x_792 = lean_array_push(x_759, x_780); +x_793 = lean_array_push(x_792, x_791); +x_794 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_795 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_795, 0, x_794); +lean_ctor_set(x_795, 1, x_793); +x_796 = lean_array_push(x_736, x_795); +x_797 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_797, 0, x_757); +lean_ctor_set(x_797, 1, x_796); +x_798 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_721); +x_799 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_799, 0, x_721); +lean_ctor_set(x_799, 1, x_798); +x_800 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_721); +x_801 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_801, 0, x_721); +lean_ctor_set(x_801, 1, x_800); +x_802 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_803 = lean_array_push(x_802, x_718); +x_804 = lean_array_push(x_803, x_742); +x_805 = lean_array_push(x_804, x_742); +x_806 = lean_array_push(x_805, x_801); +lean_inc(x_788); +x_807 = lean_array_push(x_806, x_788); +x_808 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; +x_809 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_809, 0, x_808); +lean_ctor_set(x_809, 1, x_807); +x_810 = lean_array_push(x_736, x_809); +x_811 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_812 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_812, 0, x_811); +lean_ctor_set(x_812, 1, x_810); +x_813 = lean_array_push(x_759, x_812); +x_814 = lean_array_push(x_813, x_758); +x_815 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_815, 0, x_762); +lean_ctor_set(x_815, 1, x_814); +x_816 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; +lean_inc(x_723); +lean_inc(x_724); +x_817 = l_Lean_addMacroScope(x_724, x_816, x_723); +x_818 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; +x_819 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_721); +x_820 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_820, 0, x_721); +lean_ctor_set(x_820, 1, x_818); +lean_ctor_set(x_820, 2, x_817); +lean_ctor_set(x_820, 3, x_819); +x_821 = lean_array_push(x_736, x_784); +x_822 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_822, 0, x_757); +lean_ctor_set(x_822, 1, x_821); +x_823 = lean_array_push(x_759, x_820); +x_824 = lean_array_push(x_823, x_822); +x_825 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_825, 0, x_794); +lean_ctor_set(x_825, 1, x_824); +x_826 = lean_array_push(x_736, x_825); +x_827 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_827, 0, x_738); +lean_ctor_set(x_827, 1, x_826); +x_828 = lean_array_push(x_759, x_827); +x_829 = lean_array_push(x_828, x_742); +x_830 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_830, 0, x_762); +lean_ctor_set(x_830, 1, x_829); +x_831 = lean_array_push(x_759, x_815); +lean_inc(x_831); +x_832 = lean_array_push(x_831, x_830); +x_833 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_833, 0, x_757); +lean_ctor_set(x_833, 1, x_832); +x_834 = lean_array_push(x_736, x_833); +x_835 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_836 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_836, 0, x_835); +lean_ctor_set(x_836, 1, x_834); +x_837 = lean_array_push(x_740, x_775); +lean_inc(x_837); +x_838 = lean_array_push(x_837, x_797); +lean_inc(x_799); +x_839 = lean_array_push(x_838, x_799); +x_840 = lean_array_push(x_839, x_836); +x_841 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; +x_842 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_842, 0, x_841); +lean_ctor_set(x_842, 1, x_840); +x_843 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__14; +lean_inc(x_723); +lean_inc(x_724); +x_844 = l_Lean_addMacroScope(x_724, x_843, x_723); +x_845 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__13; +x_846 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__16; +lean_inc(x_721); +x_847 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_847, 0, x_721); +lean_ctor_set(x_847, 1, x_845); +lean_ctor_set(x_847, 2, x_844); +lean_ctor_set(x_847, 3, x_846); +x_848 = lean_array_push(x_736, x_788); +x_849 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_849, 0, x_757); +lean_ctor_set(x_849, 1, x_848); +x_850 = lean_array_push(x_759, x_847); +lean_inc(x_849); +x_851 = lean_array_push(x_850, x_849); +x_852 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_852, 0, x_794); +lean_ctor_set(x_852, 1, x_851); +x_853 = lean_array_push(x_736, x_852); +x_854 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_854, 0, x_757); +lean_ctor_set(x_854, 1, x_853); +x_855 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; +lean_inc(x_721); +x_856 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_856, 0, x_721); +lean_ctor_set(x_856, 1, x_855); +x_857 = lean_array_push(x_736, x_856); +x_858 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; +x_859 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_859, 0, x_858); +lean_ctor_set(x_859, 1, x_857); +x_860 = lean_array_push(x_759, x_859); +x_861 = lean_array_push(x_860, x_742); +x_862 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_862, 0, x_762); +lean_ctor_set(x_862, 1, x_861); +lean_inc(x_831); +x_863 = lean_array_push(x_831, x_862); +x_864 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_864, 0, x_757); +lean_ctor_set(x_864, 1, x_863); +x_865 = lean_array_push(x_736, x_864); +x_866 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_866, 0, x_835); +lean_ctor_set(x_866, 1, x_865); +lean_inc(x_837); +x_867 = lean_array_push(x_837, x_854); +lean_inc(x_799); +x_868 = lean_array_push(x_867, x_799); +x_869 = lean_array_push(x_868, x_866); +x_870 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_870, 0, x_841); +lean_ctor_set(x_870, 1, x_869); +x_871 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__30; +x_872 = l_Lean_addMacroScope(x_724, x_871, x_723); +x_873 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__29; +x_874 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__32; +lean_inc(x_721); +x_875 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_875, 0, x_721); +lean_ctor_set(x_875, 1, x_873); +lean_ctor_set(x_875, 2, x_872); +lean_ctor_set(x_875, 3, x_874); +x_876 = lean_array_push(x_759, x_875); +x_877 = lean_array_push(x_876, x_849); +x_878 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_878, 0, x_794); +lean_ctor_set(x_878, 1, x_877); +x_879 = lean_array_push(x_736, x_878); +x_880 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_880, 0, x_757); +lean_ctor_set(x_880, 1, x_879); +x_881 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__22; +x_882 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_882, 0, x_721); +lean_ctor_set(x_882, 1, x_881); +x_883 = lean_array_push(x_736, x_882); +x_884 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; +x_885 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_885, 0, x_884); +lean_ctor_set(x_885, 1, x_883); +x_886 = lean_array_push(x_759, x_885); +x_887 = lean_array_push(x_886, x_742); +x_888 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_888, 0, x_762); +lean_ctor_set(x_888, 1, x_887); +x_889 = lean_array_push(x_831, x_888); +x_890 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_890, 0, x_757); +lean_ctor_set(x_890, 1, x_889); +x_891 = lean_array_push(x_736, x_890); +x_892 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_892, 0, x_835); +lean_ctor_set(x_892, 1, x_891); +x_893 = lean_array_push(x_837, x_880); +x_894 = lean_array_push(x_893, x_799); +x_895 = lean_array_push(x_894, x_892); +x_896 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_896, 0, x_841); +lean_ctor_set(x_896, 1, x_895); +x_897 = lean_array_push(x_748, x_842); +x_898 = lean_array_push(x_897, x_870); +x_899 = lean_array_push(x_898, x_896); +x_900 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_900, 0, x_757); +lean_ctor_set(x_900, 1, x_899); +x_901 = lean_array_push(x_736, x_900); +x_902 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; +x_903 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_903, 0, x_902); +lean_ctor_set(x_903, 1, x_901); +x_904 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_905 = lean_array_push(x_904, x_765); +x_906 = lean_array_push(x_905, x_742); +x_907 = lean_array_push(x_906, x_771); +x_908 = lean_array_push(x_907, x_742); +x_909 = lean_array_push(x_908, x_773); +x_910 = lean_array_push(x_909, x_903); +x_911 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_912 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_912, 0, x_911); +lean_ctor_set(x_912, 1, x_910); +x_913 = lean_array_push(x_759, x_912); +x_914 = lean_array_push(x_913, x_742); +x_915 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_915, 0, x_762); +lean_ctor_set(x_915, 1, x_914); +x_916 = lean_array_push(x_759, x_763); +x_917 = lean_array_push(x_916, x_915); +x_918 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_918, 0, x_757); +lean_ctor_set(x_918, 1, x_917); +x_919 = lean_array_push(x_736, x_918); +x_920 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_920, 0, x_835); +lean_ctor_set(x_920, 1, x_919); +x_921 = lean_array_push(x_759, x_726); +x_922 = lean_array_push(x_921, x_920); +x_923 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_924 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_924, 0, x_923); +lean_ctor_set(x_924, 1, x_922); +x_925 = lean_unsigned_to_nat(1u); +x_926 = l_Lean_Syntax_getArg(x_924, x_925); +lean_dec(x_924); +x_927 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_926); +x_928 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_928, 0, x_927); +lean_ctor_set(x_928, 1, x_722); +return x_928; } } else @@ -46950,1669 +28669,848 @@ else lean_dec(x_2); if (x_5 == 0) { -lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; uint8_t x_1811; -x_1808 = lean_ctor_get(x_18, 0); -lean_inc(x_1808); -x_1809 = lean_ctor_get(x_18, 1); -lean_inc(x_1809); +lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; 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; 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_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; 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_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; +x_929 = lean_ctor_get(x_18, 0); +lean_inc(x_929); +x_930 = lean_ctor_get(x_18, 1); +lean_inc(x_930); lean_dec(x_18); -x_1810 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_1809); -x_1811 = !lean_is_exclusive(x_1810); -if (x_1811 == 0) -{ -lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; 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; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; -x_1812 = lean_ctor_get(x_1810, 0); -x_1813 = lean_ctor_get(x_6, 2); -lean_inc(x_1813); -x_1814 = lean_ctor_get(x_6, 1); -lean_inc(x_1814); +x_931 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_930); +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_ctor_get(x_6, 2); +lean_inc(x_934); +x_935 = lean_ctor_get(x_6, 1); +lean_inc(x_935); lean_dec(x_6); -x_1815 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_1812); -x_1816 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1816, 0, x_1812); -lean_ctor_set(x_1816, 1, x_1815); -x_1817 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_1812); -x_1818 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1818, 0, x_1812); -lean_ctor_set(x_1818, 1, x_1817); -x_1819 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_1813); -lean_inc(x_1814); -x_1820 = l_Lean_addMacroScope(x_1814, x_1819, x_1813); -x_1821 = lean_box(0); -x_1822 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_1812); -x_1823 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1823, 0, x_1812); -lean_ctor_set(x_1823, 1, x_1822); -lean_ctor_set(x_1823, 2, x_1820); -lean_ctor_set(x_1823, 3, x_1821); -x_1824 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_1812); -x_1825 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1825, 0, x_1812); -lean_ctor_set(x_1825, 1, x_1824); -x_1826 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1827 = lean_array_push(x_1826, x_1); -x_1828 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_1829 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1829, 0, x_1828); -lean_ctor_set(x_1829, 1, x_1827); -x_1830 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_1823); -x_1831 = lean_array_push(x_1830, x_1823); -x_1832 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1833 = lean_array_push(x_1831, x_1832); -x_1834 = lean_array_push(x_1833, x_1825); -x_1835 = lean_array_push(x_1834, x_1829); -x_1836 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_1837 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1837, 0, x_1836); -lean_ctor_set(x_1837, 1, x_1835); -x_1838 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1839 = lean_array_push(x_1838, x_1818); -x_1840 = lean_array_push(x_1839, x_1832); -x_1841 = lean_array_push(x_1840, x_1837); -x_1842 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_1843 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1843, 0, x_1842); -lean_ctor_set(x_1843, 1, x_1841); -x_1844 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_1812); -x_1845 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1845, 0, x_1812); -lean_ctor_set(x_1845, 1, x_1844); -x_1846 = lean_array_push(x_1826, x_1845); -x_1847 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1848 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1848, 0, x_1847); -lean_ctor_set(x_1848, 1, x_1846); -x_1849 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1850 = lean_array_push(x_1849, x_1843); -lean_inc(x_1848); -x_1851 = lean_array_push(x_1850, x_1848); -x_1852 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_1853 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1853, 0, x_1852); -lean_ctor_set(x_1853, 1, x_1851); -x_1854 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_1812); -x_1855 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1855, 0, x_1812); -lean_ctor_set(x_1855, 1, x_1854); -x_1856 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_1857 = lean_array_push(x_1856, x_1823); -x_1858 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_1859 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1859, 0, x_1858); -lean_ctor_set(x_1859, 1, x_1857); -x_1860 = lean_array_push(x_1826, x_1859); -x_1861 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1861, 0, x_1847); -lean_ctor_set(x_1861, 1, x_1860); -x_1862 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_1812); -x_1863 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1863, 0, x_1812); -lean_ctor_set(x_1863, 1, x_1862); -x_1864 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_1812); -x_1865 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1865, 0, x_1812); -lean_ctor_set(x_1865, 1, x_1864); -x_1866 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__20; -lean_inc(x_1813); -lean_inc(x_1814); -x_1867 = l_Lean_addMacroScope(x_1814, x_1866, x_1813); -x_1868 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__19; -x_1869 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__22; -lean_inc(x_1812); -x_1870 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1870, 0, x_1812); -lean_ctor_set(x_1870, 1, x_1868); -lean_ctor_set(x_1870, 2, x_1867); -lean_ctor_set(x_1870, 3, x_1869); -x_1871 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; -lean_inc(x_1813); -lean_inc(x_1814); -x_1872 = l_Lean_addMacroScope(x_1814, x_1871, x_1813); -x_1873 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_1812); -x_1874 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1874, 0, x_1812); -lean_ctor_set(x_1874, 1, x_1873); -lean_ctor_set(x_1874, 2, x_1872); -lean_ctor_set(x_1874, 3, x_1821); -x_1875 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; -lean_inc(x_1813); -lean_inc(x_1814); -x_1876 = l_Lean_addMacroScope(x_1814, x_1875, x_1813); -x_1877 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -lean_inc(x_1812); -x_1878 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1878, 0, x_1812); -lean_ctor_set(x_1878, 1, x_1877); -lean_ctor_set(x_1878, 2, x_1876); -lean_ctor_set(x_1878, 3, x_1821); -lean_inc(x_1874); -x_1879 = lean_array_push(x_1849, x_1874); -lean_inc(x_1878); -x_1880 = lean_array_push(x_1879, x_1878); -x_1881 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1881, 0, x_1847); -lean_ctor_set(x_1881, 1, x_1880); -x_1882 = lean_array_push(x_1849, x_1870); -x_1883 = lean_array_push(x_1882, x_1881); -x_1884 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1885 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1885, 0, x_1884); -lean_ctor_set(x_1885, 1, x_1883); -x_1886 = lean_array_push(x_1826, x_1885); -x_1887 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1887, 0, x_1847); -lean_ctor_set(x_1887, 1, x_1886); -x_1888 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1812); -x_1889 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1889, 0, x_1812); -lean_ctor_set(x_1889, 1, x_1888); -x_1890 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_1812); -x_1891 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1891, 0, x_1812); -lean_ctor_set(x_1891, 1, x_1890); -x_1892 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_1893 = lean_array_push(x_1892, x_1808); -x_1894 = lean_array_push(x_1893, x_1832); -x_1895 = lean_array_push(x_1894, x_1832); -x_1896 = lean_array_push(x_1895, x_1891); -lean_inc(x_1878); -x_1897 = lean_array_push(x_1896, x_1878); -x_1898 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_1899 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1899, 0, x_1898); -lean_ctor_set(x_1899, 1, x_1897); -x_1900 = lean_array_push(x_1826, x_1899); -x_1901 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_1902 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1902, 0, x_1901); -lean_ctor_set(x_1902, 1, x_1900); -x_1903 = lean_array_push(x_1849, x_1902); -x_1904 = lean_array_push(x_1903, x_1848); -x_1905 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1905, 0, x_1852); -lean_ctor_set(x_1905, 1, x_1904); -x_1906 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -lean_inc(x_1813); -lean_inc(x_1814); -x_1907 = l_Lean_addMacroScope(x_1814, x_1906, x_1813); -x_1908 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_1909 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1812); -x_1910 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1910, 0, x_1812); -lean_ctor_set(x_1910, 1, x_1908); -lean_ctor_set(x_1910, 2, x_1907); -lean_ctor_set(x_1910, 3, x_1909); -x_1911 = lean_array_push(x_1826, x_1874); -x_1912 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1912, 0, x_1847); -lean_ctor_set(x_1912, 1, x_1911); -x_1913 = lean_array_push(x_1849, x_1910); -x_1914 = lean_array_push(x_1913, x_1912); -x_1915 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1915, 0, x_1884); -lean_ctor_set(x_1915, 1, x_1914); -x_1916 = lean_array_push(x_1826, x_1915); -x_1917 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1917, 0, x_1828); -lean_ctor_set(x_1917, 1, x_1916); -x_1918 = lean_array_push(x_1849, x_1917); -x_1919 = lean_array_push(x_1918, x_1832); -x_1920 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1920, 0, x_1852); -lean_ctor_set(x_1920, 1, x_1919); -x_1921 = lean_array_push(x_1849, x_1905); -lean_inc(x_1921); -x_1922 = lean_array_push(x_1921, x_1920); -x_1923 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1923, 0, x_1847); -lean_ctor_set(x_1923, 1, x_1922); -x_1924 = lean_array_push(x_1826, x_1923); -x_1925 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_1926 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1926, 0, x_1925); -lean_ctor_set(x_1926, 1, x_1924); -x_1927 = lean_array_push(x_1830, x_1865); -lean_inc(x_1927); -x_1928 = lean_array_push(x_1927, x_1887); -lean_inc(x_1889); -x_1929 = lean_array_push(x_1928, x_1889); -x_1930 = lean_array_push(x_1929, x_1926); -x_1931 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_1932 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1932, 0, x_1931); -lean_ctor_set(x_1932, 1, x_1930); -x_1933 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__30; -lean_inc(x_1813); -lean_inc(x_1814); -x_1934 = l_Lean_addMacroScope(x_1814, x_1933, x_1813); -x_1935 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__26; -x_1936 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__32; -lean_inc(x_1812); -x_1937 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1937, 0, x_1812); -lean_ctor_set(x_1937, 1, x_1935); -lean_ctor_set(x_1937, 2, x_1934); -lean_ctor_set(x_1937, 3, x_1936); -x_1938 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__30; -x_1939 = l_Lean_addMacroScope(x_1814, x_1938, x_1813); -x_1940 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__29; -lean_inc(x_1812); -x_1941 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1941, 0, x_1812); -lean_ctor_set(x_1941, 1, x_1940); -lean_ctor_set(x_1941, 2, x_1939); -lean_ctor_set(x_1941, 3, x_1821); -lean_inc(x_1941); -x_1942 = lean_array_push(x_1849, x_1941); -x_1943 = lean_array_push(x_1942, x_1878); -x_1944 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1944, 0, x_1847); -lean_ctor_set(x_1944, 1, x_1943); -x_1945 = lean_array_push(x_1849, x_1937); -x_1946 = lean_array_push(x_1945, x_1944); -x_1947 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1947, 0, x_1884); -lean_ctor_set(x_1947, 1, x_1946); -x_1948 = lean_array_push(x_1826, x_1947); -x_1949 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1949, 0, x_1847); -lean_ctor_set(x_1949, 1, x_1948); -x_1950 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -x_1951 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1951, 0, x_1812); -lean_ctor_set(x_1951, 1, x_1950); -x_1952 = lean_array_push(x_1826, x_1941); -x_1953 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1953, 0, x_1847); -lean_ctor_set(x_1953, 1, x_1952); -x_1954 = lean_array_push(x_1849, x_1951); -x_1955 = lean_array_push(x_1954, x_1953); -x_1956 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_1957 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1957, 0, x_1956); -lean_ctor_set(x_1957, 1, x_1955); -x_1958 = lean_array_push(x_1849, x_1957); -x_1959 = lean_array_push(x_1958, x_1832); -x_1960 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1960, 0, x_1852); -lean_ctor_set(x_1960, 1, x_1959); -x_1961 = lean_array_push(x_1921, x_1960); -x_1962 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1962, 0, x_1847); -lean_ctor_set(x_1962, 1, x_1961); -x_1963 = lean_array_push(x_1826, x_1962); -x_1964 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1964, 0, x_1925); -lean_ctor_set(x_1964, 1, x_1963); -x_1965 = lean_array_push(x_1927, x_1949); -x_1966 = lean_array_push(x_1965, x_1889); -x_1967 = lean_array_push(x_1966, x_1964); -x_1968 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1968, 0, x_1931); -lean_ctor_set(x_1968, 1, x_1967); -x_1969 = lean_array_push(x_1849, x_1932); -x_1970 = lean_array_push(x_1969, x_1968); -x_1971 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1971, 0, x_1847); -lean_ctor_set(x_1971, 1, x_1970); -x_1972 = lean_array_push(x_1826, x_1971); -x_1973 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_1974 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1974, 0, x_1973); -lean_ctor_set(x_1974, 1, x_1972); -x_1975 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_1976 = lean_array_push(x_1975, x_1855); -x_1977 = lean_array_push(x_1976, x_1832); -x_1978 = lean_array_push(x_1977, x_1861); -x_1979 = lean_array_push(x_1978, x_1832); -x_1980 = lean_array_push(x_1979, x_1863); -x_1981 = lean_array_push(x_1980, x_1974); -x_1982 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_1983 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1983, 0, x_1982); -lean_ctor_set(x_1983, 1, x_1981); -x_1984 = lean_array_push(x_1849, x_1983); -x_1985 = lean_array_push(x_1984, x_1832); -x_1986 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1986, 0, x_1852); -lean_ctor_set(x_1986, 1, x_1985); -x_1987 = lean_array_push(x_1849, x_1853); -x_1988 = lean_array_push(x_1987, x_1986); -x_1989 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1989, 0, x_1847); -lean_ctor_set(x_1989, 1, x_1988); -x_1990 = lean_array_push(x_1826, x_1989); -x_1991 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1991, 0, x_1925); -lean_ctor_set(x_1991, 1, x_1990); -x_1992 = lean_array_push(x_1849, x_1816); -x_1993 = lean_array_push(x_1992, x_1991); -x_1994 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1995 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1995, 0, x_1994); -lean_ctor_set(x_1995, 1, x_1993); -x_1996 = lean_unsigned_to_nat(1u); -x_1997 = l_Lean_Syntax_getArg(x_1995, x_1996); -lean_dec(x_1995); -x_1998 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1997); -lean_ctor_set(x_1810, 0, x_1998); -return x_1810; +x_936 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_932); +x_937 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_937, 0, x_932); +lean_ctor_set(x_937, 1, x_936); +x_938 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_932); +x_939 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_939, 0, x_932); +lean_ctor_set(x_939, 1, x_938); +x_940 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +lean_inc(x_934); +lean_inc(x_935); +x_941 = l_Lean_addMacroScope(x_935, x_940, x_934); +x_942 = lean_box(0); +x_943 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +lean_inc(x_932); +x_944 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_944, 0, x_932); +lean_ctor_set(x_944, 1, x_943); +lean_ctor_set(x_944, 2, x_941); +lean_ctor_set(x_944, 3, x_942); +x_945 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_932); +x_946 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_946, 0, x_932); +lean_ctor_set(x_946, 1, x_945); +x_947 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_948 = lean_array_push(x_947, x_1); +x_949 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_950 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_950, 0, x_949); +lean_ctor_set(x_950, 1, x_948); +x_951 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_944); +x_952 = lean_array_push(x_951, x_944); +x_953 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_954 = lean_array_push(x_952, x_953); +x_955 = lean_array_push(x_954, x_946); +x_956 = lean_array_push(x_955, x_950); +x_957 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_960 = lean_array_push(x_959, x_939); +x_961 = lean_array_push(x_960, x_953); +x_962 = lean_array_push(x_961, x_958); +x_963 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_964 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_964, 0, x_963); +lean_ctor_set(x_964, 1, x_962); +x_965 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_932); +x_966 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_966, 0, x_932); +lean_ctor_set(x_966, 1, x_965); +x_967 = lean_array_push(x_947, x_966); +x_968 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); +x_970 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_971 = lean_array_push(x_970, x_964); +lean_inc(x_969); +x_972 = lean_array_push(x_971, x_969); +x_973 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_974 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_974, 0, x_973); +lean_ctor_set(x_974, 1, x_972); +x_975 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +lean_inc(x_932); +x_976 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_976, 0, x_932); +lean_ctor_set(x_976, 1, x_975); +x_977 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; +x_978 = lean_array_push(x_977, x_944); +x_979 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_980 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_980, 0, x_979); +lean_ctor_set(x_980, 1, x_978); +x_981 = lean_array_push(x_947, x_980); +x_982 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_982, 0, x_968); +lean_ctor_set(x_982, 1, x_981); +x_983 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +lean_inc(x_932); +x_984 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_984, 0, x_932); +lean_ctor_set(x_984, 1, x_983); +x_985 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; +lean_inc(x_932); +x_986 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_986, 0, x_932); +lean_ctor_set(x_986, 1, x_985); +x_987 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__20; +lean_inc(x_934); +lean_inc(x_935); +x_988 = l_Lean_addMacroScope(x_935, x_987, x_934); +x_989 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__19; +x_990 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__22; +lean_inc(x_932); +x_991 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_991, 0, x_932); +lean_ctor_set(x_991, 1, x_989); +lean_ctor_set(x_991, 2, x_988); +lean_ctor_set(x_991, 3, x_990); +x_992 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; +lean_inc(x_934); +lean_inc(x_935); +x_993 = l_Lean_addMacroScope(x_935, x_992, x_934); +x_994 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; +lean_inc(x_932); +x_995 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_995, 0, x_932); +lean_ctor_set(x_995, 1, x_994); +lean_ctor_set(x_995, 2, x_993); +lean_ctor_set(x_995, 3, x_942); +x_996 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; +lean_inc(x_934); +lean_inc(x_935); +x_997 = l_Lean_addMacroScope(x_935, x_996, x_934); +x_998 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +lean_inc(x_932); +x_999 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_999, 0, x_932); +lean_ctor_set(x_999, 1, x_998); +lean_ctor_set(x_999, 2, x_997); +lean_ctor_set(x_999, 3, x_942); +lean_inc(x_995); +x_1000 = lean_array_push(x_970, x_995); +lean_inc(x_999); +x_1001 = lean_array_push(x_1000, x_999); +x_1002 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1002, 0, x_968); +lean_ctor_set(x_1002, 1, x_1001); +x_1003 = lean_array_push(x_970, x_991); +x_1004 = lean_array_push(x_1003, x_1002); +x_1005 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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_array_push(x_947, x_1006); +x_1008 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1008, 0, x_968); +lean_ctor_set(x_1008, 1, x_1007); +x_1009 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_932); +x_1010 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1010, 0, x_932); +lean_ctor_set(x_1010, 1, x_1009); +x_1011 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_932); +x_1012 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1012, 0, x_932); +lean_ctor_set(x_1012, 1, x_1011); +x_1013 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_1014 = lean_array_push(x_1013, x_929); +x_1015 = lean_array_push(x_1014, x_953); +x_1016 = lean_array_push(x_1015, x_953); +x_1017 = lean_array_push(x_1016, x_1012); +lean_inc(x_999); +x_1018 = lean_array_push(x_1017, x_999); +x_1019 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; +x_1020 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1020, 0, x_1019); +lean_ctor_set(x_1020, 1, x_1018); +x_1021 = lean_array_push(x_947, x_1020); +x_1022 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_1023 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1023, 0, x_1022); +lean_ctor_set(x_1023, 1, x_1021); +x_1024 = lean_array_push(x_970, x_1023); +x_1025 = lean_array_push(x_1024, x_969); +x_1026 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1026, 0, x_973); +lean_ctor_set(x_1026, 1, x_1025); +x_1027 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; +lean_inc(x_934); +lean_inc(x_935); +x_1028 = l_Lean_addMacroScope(x_935, x_1027, x_934); +x_1029 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; +x_1030 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_932); +x_1031 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1031, 0, x_932); +lean_ctor_set(x_1031, 1, x_1029); +lean_ctor_set(x_1031, 2, x_1028); +lean_ctor_set(x_1031, 3, x_1030); +x_1032 = lean_array_push(x_947, x_995); +x_1033 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1033, 0, x_968); +lean_ctor_set(x_1033, 1, x_1032); +x_1034 = lean_array_push(x_970, x_1031); +x_1035 = lean_array_push(x_1034, x_1033); +x_1036 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1036, 0, x_1005); +lean_ctor_set(x_1036, 1, x_1035); +x_1037 = lean_array_push(x_947, x_1036); +x_1038 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1038, 0, x_949); +lean_ctor_set(x_1038, 1, x_1037); +x_1039 = lean_array_push(x_970, x_1038); +x_1040 = lean_array_push(x_1039, x_953); +x_1041 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1041, 0, x_973); +lean_ctor_set(x_1041, 1, x_1040); +x_1042 = lean_array_push(x_970, x_1026); +lean_inc(x_1042); +x_1043 = lean_array_push(x_1042, x_1041); +x_1044 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1044, 0, x_968); +lean_ctor_set(x_1044, 1, x_1043); +x_1045 = lean_array_push(x_947, x_1044); +x_1046 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_1047 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1047, 0, x_1046); +lean_ctor_set(x_1047, 1, x_1045); +x_1048 = lean_array_push(x_951, x_986); +lean_inc(x_1048); +x_1049 = lean_array_push(x_1048, x_1008); +lean_inc(x_1010); +x_1050 = lean_array_push(x_1049, x_1010); +x_1051 = lean_array_push(x_1050, x_1047); +x_1052 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; +x_1053 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1053, 0, x_1052); +lean_ctor_set(x_1053, 1, x_1051); +x_1054 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__30; +lean_inc(x_934); +lean_inc(x_935); +x_1055 = l_Lean_addMacroScope(x_935, x_1054, x_934); +x_1056 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__26; +x_1057 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__32; +lean_inc(x_932); +x_1058 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1058, 0, x_932); +lean_ctor_set(x_1058, 1, x_1056); +lean_ctor_set(x_1058, 2, x_1055); +lean_ctor_set(x_1058, 3, x_1057); +x_1059 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__30; +x_1060 = l_Lean_addMacroScope(x_935, x_1059, x_934); +x_1061 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__29; +lean_inc(x_932); +x_1062 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1062, 0, x_932); +lean_ctor_set(x_1062, 1, x_1061); +lean_ctor_set(x_1062, 2, x_1060); +lean_ctor_set(x_1062, 3, x_942); +lean_inc(x_1062); +x_1063 = lean_array_push(x_970, x_1062); +x_1064 = lean_array_push(x_1063, x_999); +x_1065 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1065, 0, x_968); +lean_ctor_set(x_1065, 1, x_1064); +x_1066 = lean_array_push(x_970, x_1058); +x_1067 = lean_array_push(x_1066, x_1065); +x_1068 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1068, 0, x_1005); +lean_ctor_set(x_1068, 1, x_1067); +x_1069 = lean_array_push(x_947, x_1068); +x_1070 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1070, 0, x_968); +lean_ctor_set(x_1070, 1, x_1069); +x_1071 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; +x_1072 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1072, 0, x_932); +lean_ctor_set(x_1072, 1, x_1071); +x_1073 = lean_array_push(x_947, x_1062); +x_1074 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1074, 0, x_968); +lean_ctor_set(x_1074, 1, x_1073); +x_1075 = lean_array_push(x_970, x_1072); +x_1076 = lean_array_push(x_1075, x_1074); +x_1077 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; +x_1078 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1078, 0, x_1077); +lean_ctor_set(x_1078, 1, x_1076); +x_1079 = lean_array_push(x_970, x_1078); +x_1080 = lean_array_push(x_1079, x_953); +x_1081 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1081, 0, x_973); +lean_ctor_set(x_1081, 1, x_1080); +x_1082 = lean_array_push(x_1042, x_1081); +x_1083 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1083, 0, x_968); +lean_ctor_set(x_1083, 1, x_1082); +x_1084 = lean_array_push(x_947, x_1083); +x_1085 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1085, 0, x_1046); +lean_ctor_set(x_1085, 1, x_1084); +x_1086 = lean_array_push(x_1048, x_1070); +x_1087 = lean_array_push(x_1086, x_1010); +x_1088 = lean_array_push(x_1087, x_1085); +x_1089 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1089, 0, x_1052); +lean_ctor_set(x_1089, 1, x_1088); +x_1090 = lean_array_push(x_970, x_1053); +x_1091 = lean_array_push(x_1090, x_1089); +x_1092 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1092, 0, x_968); +lean_ctor_set(x_1092, 1, x_1091); +x_1093 = lean_array_push(x_947, x_1092); +x_1094 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; +x_1095 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1095, 0, x_1094); +lean_ctor_set(x_1095, 1, x_1093); +x_1096 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_1097 = lean_array_push(x_1096, x_976); +x_1098 = lean_array_push(x_1097, x_953); +x_1099 = lean_array_push(x_1098, x_982); +x_1100 = lean_array_push(x_1099, x_953); +x_1101 = lean_array_push(x_1100, x_984); +x_1102 = lean_array_push(x_1101, x_1095); +x_1103 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_1104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1104, 0, x_1103); +lean_ctor_set(x_1104, 1, x_1102); +x_1105 = lean_array_push(x_970, x_1104); +x_1106 = lean_array_push(x_1105, x_953); +x_1107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1107, 0, x_973); +lean_ctor_set(x_1107, 1, x_1106); +x_1108 = lean_array_push(x_970, x_974); +x_1109 = lean_array_push(x_1108, x_1107); +x_1110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1110, 0, x_968); +lean_ctor_set(x_1110, 1, x_1109); +x_1111 = lean_array_push(x_947, x_1110); +x_1112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1112, 0, x_1046); +lean_ctor_set(x_1112, 1, x_1111); +x_1113 = lean_array_push(x_970, x_937); +x_1114 = lean_array_push(x_1113, x_1112); +x_1115 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_1116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1116, 0, x_1115); +lean_ctor_set(x_1116, 1, x_1114); +x_1117 = lean_unsigned_to_nat(1u); +x_1118 = l_Lean_Syntax_getArg(x_1116, x_1117); +lean_dec(x_1116); +x_1119 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1118); +x_1120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1120, 0, x_1119); +lean_ctor_set(x_1120, 1, x_933); +return x_1120; } else { -lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; -x_1999 = lean_ctor_get(x_1810, 0); -x_2000 = lean_ctor_get(x_1810, 1); -lean_inc(x_2000); -lean_inc(x_1999); -lean_dec(x_1810); -x_2001 = lean_ctor_get(x_6, 2); -lean_inc(x_2001); -x_2002 = lean_ctor_get(x_6, 1); -lean_inc(x_2002); -lean_dec(x_6); -x_2003 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_1999); -x_2004 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2004, 0, x_1999); -lean_ctor_set(x_2004, 1, x_2003); -x_2005 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_1999); -x_2006 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2006, 0, x_1999); -lean_ctor_set(x_2006, 1, x_2005); -x_2007 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_2001); -lean_inc(x_2002); -x_2008 = l_Lean_addMacroScope(x_2002, x_2007, x_2001); -x_2009 = lean_box(0); -x_2010 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_1999); -x_2011 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2011, 0, x_1999); -lean_ctor_set(x_2011, 1, x_2010); -lean_ctor_set(x_2011, 2, x_2008); -lean_ctor_set(x_2011, 3, x_2009); -x_2012 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_1999); -x_2013 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2013, 0, x_1999); -lean_ctor_set(x_2013, 1, x_2012); -x_2014 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_2015 = lean_array_push(x_2014, x_1); -x_2016 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_2017 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2017, 0, x_2016); -lean_ctor_set(x_2017, 1, x_2015); -x_2018 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_2011); -x_2019 = lean_array_push(x_2018, x_2011); -x_2020 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_2021 = lean_array_push(x_2019, x_2020); -x_2022 = lean_array_push(x_2021, x_2013); -x_2023 = lean_array_push(x_2022, x_2017); -x_2024 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_2025 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2025, 0, x_2024); -lean_ctor_set(x_2025, 1, x_2023); -x_2026 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_2027 = lean_array_push(x_2026, x_2006); -x_2028 = lean_array_push(x_2027, x_2020); -x_2029 = lean_array_push(x_2028, x_2025); -x_2030 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_2031 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2031, 0, x_2030); -lean_ctor_set(x_2031, 1, x_2029); -x_2032 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_1999); -x_2033 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2033, 0, x_1999); -lean_ctor_set(x_2033, 1, x_2032); -x_2034 = lean_array_push(x_2014, x_2033); -x_2035 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_2036 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2036, 0, x_2035); -lean_ctor_set(x_2036, 1, x_2034); -x_2037 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_2038 = lean_array_push(x_2037, x_2031); -lean_inc(x_2036); -x_2039 = lean_array_push(x_2038, x_2036); -x_2040 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_2041 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2041, 0, x_2040); -lean_ctor_set(x_2041, 1, x_2039); -x_2042 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_1999); -x_2043 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2043, 0, x_1999); -lean_ctor_set(x_2043, 1, x_2042); -x_2044 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_2045 = lean_array_push(x_2044, x_2011); -x_2046 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_2047 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2047, 0, x_2046); -lean_ctor_set(x_2047, 1, x_2045); -x_2048 = lean_array_push(x_2014, x_2047); -x_2049 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2049, 0, x_2035); -lean_ctor_set(x_2049, 1, x_2048); -x_2050 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_1999); -x_2051 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2051, 0, x_1999); -lean_ctor_set(x_2051, 1, x_2050); -x_2052 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_1999); -x_2053 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2053, 0, x_1999); -lean_ctor_set(x_2053, 1, x_2052); -x_2054 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__20; -lean_inc(x_2001); -lean_inc(x_2002); -x_2055 = l_Lean_addMacroScope(x_2002, x_2054, x_2001); -x_2056 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__19; -x_2057 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__22; -lean_inc(x_1999); -x_2058 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2058, 0, x_1999); -lean_ctor_set(x_2058, 1, x_2056); -lean_ctor_set(x_2058, 2, x_2055); -lean_ctor_set(x_2058, 3, x_2057); -x_2059 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; -lean_inc(x_2001); -lean_inc(x_2002); -x_2060 = l_Lean_addMacroScope(x_2002, x_2059, x_2001); -x_2061 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_1999); -x_2062 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2062, 0, x_1999); -lean_ctor_set(x_2062, 1, x_2061); -lean_ctor_set(x_2062, 2, x_2060); -lean_ctor_set(x_2062, 3, x_2009); -x_2063 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; -lean_inc(x_2001); -lean_inc(x_2002); -x_2064 = l_Lean_addMacroScope(x_2002, x_2063, x_2001); -x_2065 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -lean_inc(x_1999); -x_2066 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2066, 0, x_1999); -lean_ctor_set(x_2066, 1, x_2065); -lean_ctor_set(x_2066, 2, x_2064); -lean_ctor_set(x_2066, 3, x_2009); -lean_inc(x_2062); -x_2067 = lean_array_push(x_2037, x_2062); -lean_inc(x_2066); -x_2068 = lean_array_push(x_2067, x_2066); -x_2069 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2069, 0, x_2035); -lean_ctor_set(x_2069, 1, x_2068); -x_2070 = lean_array_push(x_2037, x_2058); -x_2071 = lean_array_push(x_2070, x_2069); -x_2072 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_2073 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2073, 0, x_2072); -lean_ctor_set(x_2073, 1, x_2071); -x_2074 = lean_array_push(x_2014, x_2073); -x_2075 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2075, 0, x_2035); -lean_ctor_set(x_2075, 1, x_2074); -x_2076 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1999); -x_2077 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2077, 0, x_1999); -lean_ctor_set(x_2077, 1, x_2076); -x_2078 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_1999); -x_2079 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2079, 0, x_1999); -lean_ctor_set(x_2079, 1, x_2078); -x_2080 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_2081 = lean_array_push(x_2080, x_1808); -x_2082 = lean_array_push(x_2081, x_2020); -x_2083 = lean_array_push(x_2082, x_2020); -x_2084 = lean_array_push(x_2083, x_2079); -lean_inc(x_2066); -x_2085 = lean_array_push(x_2084, x_2066); -x_2086 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_2087 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2087, 0, x_2086); -lean_ctor_set(x_2087, 1, x_2085); -x_2088 = lean_array_push(x_2014, x_2087); -x_2089 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_2090 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2090, 0, x_2089); -lean_ctor_set(x_2090, 1, x_2088); -x_2091 = lean_array_push(x_2037, x_2090); -x_2092 = lean_array_push(x_2091, x_2036); -x_2093 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2093, 0, x_2040); -lean_ctor_set(x_2093, 1, x_2092); -x_2094 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -lean_inc(x_2001); -lean_inc(x_2002); -x_2095 = l_Lean_addMacroScope(x_2002, x_2094, x_2001); -x_2096 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_2097 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1999); -x_2098 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2098, 0, x_1999); -lean_ctor_set(x_2098, 1, x_2096); -lean_ctor_set(x_2098, 2, x_2095); -lean_ctor_set(x_2098, 3, x_2097); -x_2099 = lean_array_push(x_2014, x_2062); -x_2100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2100, 0, x_2035); -lean_ctor_set(x_2100, 1, x_2099); -x_2101 = lean_array_push(x_2037, x_2098); -x_2102 = lean_array_push(x_2101, x_2100); -x_2103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2103, 0, x_2072); -lean_ctor_set(x_2103, 1, x_2102); -x_2104 = lean_array_push(x_2014, x_2103); -x_2105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2105, 0, x_2016); -lean_ctor_set(x_2105, 1, x_2104); -x_2106 = lean_array_push(x_2037, x_2105); -x_2107 = lean_array_push(x_2106, x_2020); -x_2108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2108, 0, x_2040); -lean_ctor_set(x_2108, 1, x_2107); -x_2109 = lean_array_push(x_2037, x_2093); -lean_inc(x_2109); -x_2110 = lean_array_push(x_2109, x_2108); -x_2111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2111, 0, x_2035); -lean_ctor_set(x_2111, 1, x_2110); -x_2112 = lean_array_push(x_2014, x_2111); -x_2113 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_2114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2114, 0, x_2113); -lean_ctor_set(x_2114, 1, x_2112); -x_2115 = lean_array_push(x_2018, x_2053); -lean_inc(x_2115); -x_2116 = lean_array_push(x_2115, x_2075); -lean_inc(x_2077); -x_2117 = lean_array_push(x_2116, x_2077); -x_2118 = lean_array_push(x_2117, x_2114); -x_2119 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_2120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2120, 0, x_2119); -lean_ctor_set(x_2120, 1, x_2118); -x_2121 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__30; -lean_inc(x_2001); -lean_inc(x_2002); -x_2122 = l_Lean_addMacroScope(x_2002, x_2121, x_2001); -x_2123 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__26; -x_2124 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__32; -lean_inc(x_1999); -x_2125 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2125, 0, x_1999); -lean_ctor_set(x_2125, 1, x_2123); -lean_ctor_set(x_2125, 2, x_2122); -lean_ctor_set(x_2125, 3, x_2124); -x_2126 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__30; -x_2127 = l_Lean_addMacroScope(x_2002, x_2126, x_2001); -x_2128 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__29; -lean_inc(x_1999); -x_2129 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2129, 0, x_1999); -lean_ctor_set(x_2129, 1, x_2128); -lean_ctor_set(x_2129, 2, x_2127); -lean_ctor_set(x_2129, 3, x_2009); -lean_inc(x_2129); -x_2130 = lean_array_push(x_2037, x_2129); -x_2131 = lean_array_push(x_2130, x_2066); -x_2132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2132, 0, x_2035); -lean_ctor_set(x_2132, 1, x_2131); -x_2133 = lean_array_push(x_2037, x_2125); -x_2134 = lean_array_push(x_2133, x_2132); -x_2135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2135, 0, x_2072); -lean_ctor_set(x_2135, 1, x_2134); -x_2136 = lean_array_push(x_2014, x_2135); -x_2137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2137, 0, x_2035); -lean_ctor_set(x_2137, 1, x_2136); -x_2138 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -x_2139 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2139, 0, x_1999); -lean_ctor_set(x_2139, 1, x_2138); -x_2140 = lean_array_push(x_2014, x_2129); -x_2141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2141, 0, x_2035); -lean_ctor_set(x_2141, 1, x_2140); -x_2142 = lean_array_push(x_2037, x_2139); -x_2143 = lean_array_push(x_2142, x_2141); -x_2144 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_2145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2145, 0, x_2144); -lean_ctor_set(x_2145, 1, x_2143); -x_2146 = lean_array_push(x_2037, x_2145); -x_2147 = lean_array_push(x_2146, x_2020); -x_2148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2148, 0, x_2040); -lean_ctor_set(x_2148, 1, x_2147); -x_2149 = lean_array_push(x_2109, x_2148); -x_2150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2150, 0, x_2035); -lean_ctor_set(x_2150, 1, x_2149); -x_2151 = lean_array_push(x_2014, x_2150); -x_2152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2152, 0, x_2113); -lean_ctor_set(x_2152, 1, x_2151); -x_2153 = lean_array_push(x_2115, x_2137); -x_2154 = lean_array_push(x_2153, x_2077); -x_2155 = lean_array_push(x_2154, x_2152); -x_2156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2156, 0, x_2119); -lean_ctor_set(x_2156, 1, x_2155); -x_2157 = lean_array_push(x_2037, x_2120); -x_2158 = lean_array_push(x_2157, x_2156); -x_2159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2159, 0, x_2035); -lean_ctor_set(x_2159, 1, x_2158); -x_2160 = lean_array_push(x_2014, x_2159); -x_2161 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_2162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2162, 0, x_2161); -lean_ctor_set(x_2162, 1, x_2160); -x_2163 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_2164 = lean_array_push(x_2163, x_2043); -x_2165 = lean_array_push(x_2164, x_2020); -x_2166 = lean_array_push(x_2165, x_2049); -x_2167 = lean_array_push(x_2166, x_2020); -x_2168 = lean_array_push(x_2167, x_2051); -x_2169 = lean_array_push(x_2168, x_2162); -x_2170 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_2171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2171, 0, x_2170); -lean_ctor_set(x_2171, 1, x_2169); -x_2172 = lean_array_push(x_2037, x_2171); -x_2173 = lean_array_push(x_2172, x_2020); -x_2174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2174, 0, x_2040); -lean_ctor_set(x_2174, 1, x_2173); -x_2175 = lean_array_push(x_2037, x_2041); -x_2176 = lean_array_push(x_2175, x_2174); -x_2177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2177, 0, x_2035); -lean_ctor_set(x_2177, 1, x_2176); -x_2178 = lean_array_push(x_2014, x_2177); -x_2179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2179, 0, x_2113); -lean_ctor_set(x_2179, 1, x_2178); -x_2180 = lean_array_push(x_2037, x_2004); -x_2181 = lean_array_push(x_2180, x_2179); -x_2182 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_2183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2183, 0, x_2182); -lean_ctor_set(x_2183, 1, x_2181); -x_2184 = lean_unsigned_to_nat(1u); -x_2185 = l_Lean_Syntax_getArg(x_2183, x_2184); -lean_dec(x_2183); -x_2186 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_2185); -x_2187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2187, 0, x_2186); -lean_ctor_set(x_2187, 1, x_2000); -return x_2187; -} -} -else -{ -lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; uint8_t x_2191; -x_2188 = lean_ctor_get(x_18, 0); -lean_inc(x_2188); -x_2189 = lean_ctor_get(x_18, 1); -lean_inc(x_2189); +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_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; 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; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; 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; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; +x_1121 = lean_ctor_get(x_18, 0); +lean_inc(x_1121); +x_1122 = lean_ctor_get(x_18, 1); +lean_inc(x_1122); lean_dec(x_18); -x_2190 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_2189); -x_2191 = !lean_is_exclusive(x_2190); -if (x_2191 == 0) -{ -lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; lean_object* x_2239; lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; lean_object* x_2418; lean_object* x_2419; lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; lean_object* x_2423; lean_object* x_2424; lean_object* x_2425; -x_2192 = lean_ctor_get(x_2190, 0); -x_2193 = lean_ctor_get(x_6, 2); -lean_inc(x_2193); -x_2194 = lean_ctor_get(x_6, 1); -lean_inc(x_2194); +x_1123 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_1122); +x_1124 = lean_ctor_get(x_1123, 0); +lean_inc(x_1124); +x_1125 = lean_ctor_get(x_1123, 1); +lean_inc(x_1125); +lean_dec(x_1123); +x_1126 = lean_ctor_get(x_6, 2); +lean_inc(x_1126); +x_1127 = lean_ctor_get(x_6, 1); +lean_inc(x_1127); lean_dec(x_6); -x_2195 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_2192); -x_2196 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2196, 0, x_2192); -lean_ctor_set(x_2196, 1, x_2195); -x_2197 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_2192); -x_2198 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2198, 0, x_2192); -lean_ctor_set(x_2198, 1, x_2197); -x_2199 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_2193); -lean_inc(x_2194); -x_2200 = l_Lean_addMacroScope(x_2194, x_2199, x_2193); -x_2201 = lean_box(0); -x_2202 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_2192); -x_2203 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2203, 0, x_2192); -lean_ctor_set(x_2203, 1, x_2202); -lean_ctor_set(x_2203, 2, x_2200); -lean_ctor_set(x_2203, 3, x_2201); -x_2204 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_2192); -x_2205 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2205, 0, x_2192); -lean_ctor_set(x_2205, 1, x_2204); -x_2206 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_2207 = lean_array_push(x_2206, x_1); -x_2208 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_2209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2209, 0, x_2208); -lean_ctor_set(x_2209, 1, x_2207); -x_2210 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_2203); -x_2211 = lean_array_push(x_2210, x_2203); -x_2212 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_2213 = lean_array_push(x_2211, x_2212); -x_2214 = lean_array_push(x_2213, x_2205); -x_2215 = lean_array_push(x_2214, x_2209); -x_2216 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_2217 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2217, 0, x_2216); -lean_ctor_set(x_2217, 1, x_2215); -x_2218 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_2219 = lean_array_push(x_2218, x_2198); -x_2220 = lean_array_push(x_2219, x_2212); -x_2221 = lean_array_push(x_2220, x_2217); -x_2222 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_2223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2223, 0, x_2222); -lean_ctor_set(x_2223, 1, x_2221); -x_2224 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_2192); -x_2225 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2225, 0, x_2192); -lean_ctor_set(x_2225, 1, x_2224); -x_2226 = lean_array_push(x_2206, x_2225); -x_2227 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_2228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2228, 0, x_2227); -lean_ctor_set(x_2228, 1, x_2226); -x_2229 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_2230 = lean_array_push(x_2229, x_2223); -lean_inc(x_2228); -x_2231 = lean_array_push(x_2230, x_2228); -x_2232 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_2233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2233, 0, x_2232); -lean_ctor_set(x_2233, 1, x_2231); -x_2234 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_2192); -x_2235 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2235, 0, x_2192); -lean_ctor_set(x_2235, 1, x_2234); -x_2236 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_2237 = lean_array_push(x_2236, x_2203); -x_2238 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_2239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2239, 0, x_2238); -lean_ctor_set(x_2239, 1, x_2237); -x_2240 = lean_array_push(x_2206, x_2239); -x_2241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2241, 0, x_2227); -lean_ctor_set(x_2241, 1, x_2240); -x_2242 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_2192); -x_2243 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2243, 0, x_2192); -lean_ctor_set(x_2243, 1, x_2242); -x_2244 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_2192); -x_2245 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2245, 0, x_2192); -lean_ctor_set(x_2245, 1, x_2244); -x_2246 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__26; -lean_inc(x_2193); -lean_inc(x_2194); -x_2247 = l_Lean_addMacroScope(x_2194, x_2246, x_2193); -x_2248 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__25; -x_2249 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__28; -lean_inc(x_2192); -x_2250 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2250, 0, x_2192); -lean_ctor_set(x_2250, 1, x_2248); -lean_ctor_set(x_2250, 2, x_2247); -lean_ctor_set(x_2250, 3, x_2249); -x_2251 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; -lean_inc(x_2193); -lean_inc(x_2194); -x_2252 = l_Lean_addMacroScope(x_2194, x_2251, x_2193); -x_2253 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_2192); -x_2254 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2254, 0, x_2192); -lean_ctor_set(x_2254, 1, x_2253); -lean_ctor_set(x_2254, 2, x_2252); -lean_ctor_set(x_2254, 3, x_2201); -x_2255 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; -lean_inc(x_2193); -lean_inc(x_2194); -x_2256 = l_Lean_addMacroScope(x_2194, x_2255, x_2193); -x_2257 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -lean_inc(x_2192); -x_2258 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2258, 0, x_2192); -lean_ctor_set(x_2258, 1, x_2257); -lean_ctor_set(x_2258, 2, x_2256); -lean_ctor_set(x_2258, 3, x_2201); -lean_inc(x_2254); -x_2259 = lean_array_push(x_2229, x_2254); -lean_inc(x_2258); -x_2260 = lean_array_push(x_2259, x_2258); -x_2261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2261, 0, x_2227); -lean_ctor_set(x_2261, 1, x_2260); -x_2262 = lean_array_push(x_2229, x_2250); -lean_inc(x_2261); -x_2263 = lean_array_push(x_2262, x_2261); -x_2264 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_2265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2265, 0, x_2264); -lean_ctor_set(x_2265, 1, x_2263); -x_2266 = lean_array_push(x_2206, x_2265); -x_2267 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2267, 0, x_2227); -lean_ctor_set(x_2267, 1, x_2266); -x_2268 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_2192); -x_2269 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2269, 0, x_2192); -lean_ctor_set(x_2269, 1, x_2268); -x_2270 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_2192); -x_2271 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2271, 0, x_2192); -lean_ctor_set(x_2271, 1, x_2270); -x_2272 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_2273 = lean_array_push(x_2272, x_2188); -x_2274 = lean_array_push(x_2273, x_2212); -x_2275 = lean_array_push(x_2274, x_2212); -x_2276 = lean_array_push(x_2275, x_2271); -lean_inc(x_2258); -x_2277 = lean_array_push(x_2276, x_2258); -x_2278 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_2279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2279, 0, x_2278); -lean_ctor_set(x_2279, 1, x_2277); -x_2280 = lean_array_push(x_2206, x_2279); -x_2281 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_2282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2282, 0, x_2281); -lean_ctor_set(x_2282, 1, x_2280); -x_2283 = lean_array_push(x_2229, x_2282); -x_2284 = lean_array_push(x_2283, x_2228); -x_2285 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2285, 0, x_2232); -lean_ctor_set(x_2285, 1, x_2284); -x_2286 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -lean_inc(x_2193); -lean_inc(x_2194); -x_2287 = l_Lean_addMacroScope(x_2194, x_2286, x_2193); -x_2288 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_2289 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_2192); -x_2290 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2290, 0, x_2192); -lean_ctor_set(x_2290, 1, x_2288); -lean_ctor_set(x_2290, 2, x_2287); -lean_ctor_set(x_2290, 3, x_2289); -x_2291 = lean_array_push(x_2206, x_2254); -x_2292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2292, 0, x_2227); -lean_ctor_set(x_2292, 1, x_2291); -x_2293 = lean_array_push(x_2229, x_2290); -lean_inc(x_2292); -x_2294 = lean_array_push(x_2293, x_2292); -x_2295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2295, 0, x_2264); -lean_ctor_set(x_2295, 1, x_2294); -x_2296 = lean_array_push(x_2206, x_2295); -x_2297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2297, 0, x_2208); -lean_ctor_set(x_2297, 1, x_2296); -x_2298 = lean_array_push(x_2229, x_2297); -x_2299 = lean_array_push(x_2298, x_2212); -x_2300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2300, 0, x_2232); -lean_ctor_set(x_2300, 1, x_2299); -x_2301 = lean_array_push(x_2229, x_2285); -lean_inc(x_2301); -x_2302 = lean_array_push(x_2301, x_2300); -x_2303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2303, 0, x_2227); -lean_ctor_set(x_2303, 1, x_2302); -x_2304 = lean_array_push(x_2206, x_2303); -x_2305 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_2306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2306, 0, x_2305); -lean_ctor_set(x_2306, 1, x_2304); -x_2307 = lean_array_push(x_2210, x_2245); -lean_inc(x_2307); -x_2308 = lean_array_push(x_2307, x_2267); -lean_inc(x_2269); -x_2309 = lean_array_push(x_2308, x_2269); -x_2310 = lean_array_push(x_2309, x_2306); -x_2311 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_2312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2312, 0, x_2311); -lean_ctor_set(x_2312, 1, x_2310); -x_2313 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__47; -lean_inc(x_2193); -lean_inc(x_2194); -x_2314 = l_Lean_addMacroScope(x_2194, x_2313, x_2193); -x_2315 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__44; -x_2316 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__49; -lean_inc(x_2192); -x_2317 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2317, 0, x_2192); -lean_ctor_set(x_2317, 1, x_2315); -lean_ctor_set(x_2317, 2, x_2314); -lean_ctor_set(x_2317, 3, x_2316); -x_2318 = lean_array_push(x_2229, x_2317); -x_2319 = lean_array_push(x_2318, x_2261); -x_2320 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2320, 0, x_2264); -lean_ctor_set(x_2320, 1, x_2319); -x_2321 = lean_array_push(x_2206, x_2320); -x_2322 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2322, 0, x_2227); -lean_ctor_set(x_2322, 1, x_2321); -x_2323 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -lean_inc(x_2192); -x_2324 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2324, 0, x_2192); -lean_ctor_set(x_2324, 1, x_2323); -x_2325 = lean_array_push(x_2229, x_2324); -x_2326 = lean_array_push(x_2325, x_2292); -x_2327 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_2328 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2328, 0, x_2327); -lean_ctor_set(x_2328, 1, x_2326); -x_2329 = lean_array_push(x_2229, x_2328); -x_2330 = lean_array_push(x_2329, x_2212); -x_2331 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2331, 0, x_2232); -lean_ctor_set(x_2331, 1, x_2330); -lean_inc(x_2301); -x_2332 = lean_array_push(x_2301, x_2331); -x_2333 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2333, 0, x_2227); -lean_ctor_set(x_2333, 1, x_2332); -x_2334 = lean_array_push(x_2206, x_2333); -x_2335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2335, 0, x_2305); -lean_ctor_set(x_2335, 1, x_2334); -lean_inc(x_2307); -x_2336 = lean_array_push(x_2307, x_2322); -lean_inc(x_2269); -x_2337 = lean_array_push(x_2336, x_2269); -x_2338 = lean_array_push(x_2337, x_2335); -x_2339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2339, 0, x_2311); -lean_ctor_set(x_2339, 1, x_2338); -x_2340 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__20; -lean_inc(x_2193); -lean_inc(x_2194); -x_2341 = l_Lean_addMacroScope(x_2194, x_2340, x_2193); -x_2342 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__19; -x_2343 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__22; -lean_inc(x_2192); -x_2344 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2344, 0, x_2192); -lean_ctor_set(x_2344, 1, x_2342); -lean_ctor_set(x_2344, 2, x_2341); -lean_ctor_set(x_2344, 3, x_2343); -x_2345 = lean_array_push(x_2206, x_2258); -x_2346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2346, 0, x_2227); -lean_ctor_set(x_2346, 1, x_2345); -x_2347 = lean_array_push(x_2229, x_2344); -lean_inc(x_2346); -x_2348 = lean_array_push(x_2347, x_2346); -x_2349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2349, 0, x_2264); -lean_ctor_set(x_2349, 1, x_2348); -x_2350 = lean_array_push(x_2206, x_2349); -x_2351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2351, 0, x_2227); -lean_ctor_set(x_2351, 1, x_2350); -x_2352 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -lean_inc(x_2192); -x_2353 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2353, 0, x_2192); -lean_ctor_set(x_2353, 1, x_2352); -x_2354 = lean_array_push(x_2206, x_2353); -x_2355 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_2356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2356, 0, x_2355); -lean_ctor_set(x_2356, 1, x_2354); -x_2357 = lean_array_push(x_2229, x_2356); -x_2358 = lean_array_push(x_2357, x_2212); -x_2359 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2359, 0, x_2232); -lean_ctor_set(x_2359, 1, x_2358); -lean_inc(x_2301); -x_2360 = lean_array_push(x_2301, x_2359); -x_2361 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2361, 0, x_2227); -lean_ctor_set(x_2361, 1, x_2360); -x_2362 = lean_array_push(x_2206, x_2361); -x_2363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2363, 0, x_2305); -lean_ctor_set(x_2363, 1, x_2362); -lean_inc(x_2307); -x_2364 = lean_array_push(x_2307, x_2351); -lean_inc(x_2269); -x_2365 = lean_array_push(x_2364, x_2269); -x_2366 = lean_array_push(x_2365, x_2363); -x_2367 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2367, 0, x_2311); -lean_ctor_set(x_2367, 1, x_2366); -x_2368 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__36; -x_2369 = l_Lean_addMacroScope(x_2194, x_2368, x_2193); -x_2370 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__35; -x_2371 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__38; -lean_inc(x_2192); -x_2372 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2372, 0, x_2192); -lean_ctor_set(x_2372, 1, x_2370); -lean_ctor_set(x_2372, 2, x_2369); -lean_ctor_set(x_2372, 3, x_2371); -x_2373 = lean_array_push(x_2229, x_2372); -x_2374 = lean_array_push(x_2373, x_2346); -x_2375 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2375, 0, x_2264); -lean_ctor_set(x_2375, 1, x_2374); -x_2376 = lean_array_push(x_2206, x_2375); -x_2377 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2377, 0, x_2227); -lean_ctor_set(x_2377, 1, x_2376); -x_2378 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__22; -x_2379 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2379, 0, x_2192); -lean_ctor_set(x_2379, 1, x_2378); -x_2380 = lean_array_push(x_2206, x_2379); -x_2381 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; -x_2382 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2382, 0, x_2381); -lean_ctor_set(x_2382, 1, x_2380); -x_2383 = lean_array_push(x_2229, x_2382); -x_2384 = lean_array_push(x_2383, x_2212); -x_2385 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2385, 0, x_2232); -lean_ctor_set(x_2385, 1, x_2384); -x_2386 = lean_array_push(x_2301, x_2385); -x_2387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2387, 0, x_2227); -lean_ctor_set(x_2387, 1, x_2386); -x_2388 = lean_array_push(x_2206, x_2387); -x_2389 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2389, 0, x_2305); -lean_ctor_set(x_2389, 1, x_2388); -x_2390 = lean_array_push(x_2307, x_2377); -x_2391 = lean_array_push(x_2390, x_2269); -x_2392 = lean_array_push(x_2391, x_2389); -x_2393 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2393, 0, x_2311); -lean_ctor_set(x_2393, 1, x_2392); -x_2394 = lean_array_push(x_2210, x_2312); -x_2395 = lean_array_push(x_2394, x_2339); -x_2396 = lean_array_push(x_2395, x_2367); -x_2397 = lean_array_push(x_2396, x_2393); -x_2398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2398, 0, x_2227); -lean_ctor_set(x_2398, 1, x_2397); -x_2399 = lean_array_push(x_2206, x_2398); -x_2400 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_2401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2401, 0, x_2400); -lean_ctor_set(x_2401, 1, x_2399); -x_2402 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_2403 = lean_array_push(x_2402, x_2235); -x_2404 = lean_array_push(x_2403, x_2212); -x_2405 = lean_array_push(x_2404, x_2241); -x_2406 = lean_array_push(x_2405, x_2212); -x_2407 = lean_array_push(x_2406, x_2243); -x_2408 = lean_array_push(x_2407, x_2401); -x_2409 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_2410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2410, 0, x_2409); -lean_ctor_set(x_2410, 1, x_2408); -x_2411 = lean_array_push(x_2229, x_2410); -x_2412 = lean_array_push(x_2411, x_2212); -x_2413 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2413, 0, x_2232); -lean_ctor_set(x_2413, 1, x_2412); -x_2414 = lean_array_push(x_2229, x_2233); -x_2415 = lean_array_push(x_2414, x_2413); -x_2416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2416, 0, x_2227); -lean_ctor_set(x_2416, 1, x_2415); -x_2417 = lean_array_push(x_2206, x_2416); -x_2418 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2418, 0, x_2305); -lean_ctor_set(x_2418, 1, x_2417); -x_2419 = lean_array_push(x_2229, x_2196); -x_2420 = lean_array_push(x_2419, x_2418); -x_2421 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_2422 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2422, 0, x_2421); -lean_ctor_set(x_2422, 1, x_2420); -x_2423 = lean_unsigned_to_nat(1u); -x_2424 = l_Lean_Syntax_getArg(x_2422, x_2423); -lean_dec(x_2422); -x_2425 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_2424); -lean_ctor_set(x_2190, 0, x_2425); -return x_2190; -} -else -{ -lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; lean_object* x_2437; lean_object* x_2438; lean_object* x_2439; lean_object* x_2440; lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; lean_object* x_2492; lean_object* x_2493; lean_object* x_2494; lean_object* x_2495; lean_object* x_2496; lean_object* x_2497; lean_object* x_2498; lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; lean_object* x_2509; lean_object* x_2510; lean_object* x_2511; lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; lean_object* x_2515; lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; lean_object* x_2526; lean_object* x_2527; lean_object* x_2528; lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; lean_object* x_2545; lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; lean_object* x_2562; lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; lean_object* x_2571; lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; lean_object* x_2609; lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; lean_object* x_2648; lean_object* x_2649; lean_object* x_2650; lean_object* x_2651; lean_object* x_2652; lean_object* x_2653; lean_object* x_2654; lean_object* x_2655; lean_object* x_2656; lean_object* x_2657; lean_object* x_2658; lean_object* x_2659; lean_object* x_2660; lean_object* x_2661; -x_2426 = lean_ctor_get(x_2190, 0); -x_2427 = lean_ctor_get(x_2190, 1); -lean_inc(x_2427); -lean_inc(x_2426); -lean_dec(x_2190); -x_2428 = lean_ctor_get(x_6, 2); -lean_inc(x_2428); -x_2429 = lean_ctor_get(x_6, 1); -lean_inc(x_2429); -lean_dec(x_6); -x_2430 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_2426); -x_2431 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2431, 0, x_2426); -lean_ctor_set(x_2431, 1, x_2430); -x_2432 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_2426); -x_2433 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2433, 0, x_2426); -lean_ctor_set(x_2433, 1, x_2432); -x_2434 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -lean_inc(x_2428); -lean_inc(x_2429); -x_2435 = l_Lean_addMacroScope(x_2429, x_2434, x_2428); -x_2436 = lean_box(0); -x_2437 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_2426); -x_2438 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2438, 0, x_2426); -lean_ctor_set(x_2438, 1, x_2437); -lean_ctor_set(x_2438, 2, x_2435); -lean_ctor_set(x_2438, 3, x_2436); -x_2439 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_2426); -x_2440 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2440, 0, x_2426); -lean_ctor_set(x_2440, 1, x_2439); -x_2441 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_2442 = lean_array_push(x_2441, x_1); -x_2443 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_2444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2444, 0, x_2443); -lean_ctor_set(x_2444, 1, x_2442); -x_2445 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_2438); -x_2446 = lean_array_push(x_2445, x_2438); -x_2447 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_2448 = lean_array_push(x_2446, x_2447); -x_2449 = lean_array_push(x_2448, x_2440); -x_2450 = lean_array_push(x_2449, x_2444); -x_2451 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_2452 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2452, 0, x_2451); -lean_ctor_set(x_2452, 1, x_2450); -x_2453 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_2454 = lean_array_push(x_2453, x_2433); -x_2455 = lean_array_push(x_2454, x_2447); -x_2456 = lean_array_push(x_2455, x_2452); -x_2457 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_2458 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2458, 0, x_2457); -lean_ctor_set(x_2458, 1, x_2456); -x_2459 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_2426); -x_2460 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2460, 0, x_2426); -lean_ctor_set(x_2460, 1, x_2459); -x_2461 = lean_array_push(x_2441, x_2460); -x_2462 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_2463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2463, 0, x_2462); -lean_ctor_set(x_2463, 1, x_2461); -x_2464 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_2465 = lean_array_push(x_2464, x_2458); -lean_inc(x_2463); -x_2466 = lean_array_push(x_2465, x_2463); -x_2467 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_2468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2468, 0, x_2467); -lean_ctor_set(x_2468, 1, x_2466); -x_2469 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_2426); -x_2470 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2470, 0, x_2426); -lean_ctor_set(x_2470, 1, x_2469); -x_2471 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_2472 = lean_array_push(x_2471, x_2438); -x_2473 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_2474 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2474, 0, x_2473); -lean_ctor_set(x_2474, 1, x_2472); -x_2475 = lean_array_push(x_2441, x_2474); -x_2476 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2476, 0, x_2462); -lean_ctor_set(x_2476, 1, x_2475); -x_2477 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_2426); -x_2478 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2478, 0, x_2426); -lean_ctor_set(x_2478, 1, x_2477); -x_2479 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_2426); -x_2480 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2480, 0, x_2426); -lean_ctor_set(x_2480, 1, x_2479); -x_2481 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__26; -lean_inc(x_2428); -lean_inc(x_2429); -x_2482 = l_Lean_addMacroScope(x_2429, x_2481, x_2428); -x_2483 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__25; -x_2484 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__28; -lean_inc(x_2426); -x_2485 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2485, 0, x_2426); -lean_ctor_set(x_2485, 1, x_2483); -lean_ctor_set(x_2485, 2, x_2482); -lean_ctor_set(x_2485, 3, x_2484); -x_2486 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; -lean_inc(x_2428); -lean_inc(x_2429); -x_2487 = l_Lean_addMacroScope(x_2429, x_2486, x_2428); -x_2488 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_2426); -x_2489 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2489, 0, x_2426); -lean_ctor_set(x_2489, 1, x_2488); -lean_ctor_set(x_2489, 2, x_2487); -lean_ctor_set(x_2489, 3, x_2436); -x_2490 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; -lean_inc(x_2428); -lean_inc(x_2429); -x_2491 = l_Lean_addMacroScope(x_2429, x_2490, x_2428); -x_2492 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; -lean_inc(x_2426); -x_2493 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2493, 0, x_2426); -lean_ctor_set(x_2493, 1, x_2492); -lean_ctor_set(x_2493, 2, x_2491); -lean_ctor_set(x_2493, 3, x_2436); -lean_inc(x_2489); -x_2494 = lean_array_push(x_2464, x_2489); -lean_inc(x_2493); -x_2495 = lean_array_push(x_2494, x_2493); -x_2496 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2496, 0, x_2462); -lean_ctor_set(x_2496, 1, x_2495); -x_2497 = lean_array_push(x_2464, x_2485); -lean_inc(x_2496); -x_2498 = lean_array_push(x_2497, x_2496); -x_2499 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_2500 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2500, 0, x_2499); -lean_ctor_set(x_2500, 1, x_2498); -x_2501 = lean_array_push(x_2441, x_2500); -x_2502 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2502, 0, x_2462); -lean_ctor_set(x_2502, 1, x_2501); -x_2503 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_2426); -x_2504 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2504, 0, x_2426); -lean_ctor_set(x_2504, 1, x_2503); -x_2505 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_2426); -x_2506 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2506, 0, x_2426); -lean_ctor_set(x_2506, 1, x_2505); -x_2507 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_2508 = lean_array_push(x_2507, x_2188); -x_2509 = lean_array_push(x_2508, x_2447); -x_2510 = lean_array_push(x_2509, x_2447); -x_2511 = lean_array_push(x_2510, x_2506); -lean_inc(x_2493); -x_2512 = lean_array_push(x_2511, x_2493); -x_2513 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_2514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2514, 0, x_2513); -lean_ctor_set(x_2514, 1, x_2512); -x_2515 = lean_array_push(x_2441, x_2514); -x_2516 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_2517 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2517, 0, x_2516); -lean_ctor_set(x_2517, 1, x_2515); -x_2518 = lean_array_push(x_2464, x_2517); -x_2519 = lean_array_push(x_2518, x_2463); -x_2520 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2520, 0, x_2467); -lean_ctor_set(x_2520, 1, x_2519); -x_2521 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; -lean_inc(x_2428); -lean_inc(x_2429); -x_2522 = l_Lean_addMacroScope(x_2429, x_2521, x_2428); -x_2523 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; -x_2524 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_2426); -x_2525 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2525, 0, x_2426); -lean_ctor_set(x_2525, 1, x_2523); -lean_ctor_set(x_2525, 2, x_2522); -lean_ctor_set(x_2525, 3, x_2524); -x_2526 = lean_array_push(x_2441, x_2489); -x_2527 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2527, 0, x_2462); -lean_ctor_set(x_2527, 1, x_2526); -x_2528 = lean_array_push(x_2464, x_2525); -lean_inc(x_2527); -x_2529 = lean_array_push(x_2528, x_2527); -x_2530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2530, 0, x_2499); -lean_ctor_set(x_2530, 1, x_2529); -x_2531 = lean_array_push(x_2441, x_2530); -x_2532 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2532, 0, x_2443); -lean_ctor_set(x_2532, 1, x_2531); -x_2533 = lean_array_push(x_2464, x_2532); -x_2534 = lean_array_push(x_2533, x_2447); -x_2535 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2535, 0, x_2467); -lean_ctor_set(x_2535, 1, x_2534); -x_2536 = lean_array_push(x_2464, x_2520); -lean_inc(x_2536); -x_2537 = lean_array_push(x_2536, x_2535); -x_2538 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2538, 0, x_2462); -lean_ctor_set(x_2538, 1, x_2537); -x_2539 = lean_array_push(x_2441, x_2538); -x_2540 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_2541 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2541, 0, x_2540); -lean_ctor_set(x_2541, 1, x_2539); -x_2542 = lean_array_push(x_2445, x_2480); -lean_inc(x_2542); -x_2543 = lean_array_push(x_2542, x_2502); -lean_inc(x_2504); -x_2544 = lean_array_push(x_2543, x_2504); -x_2545 = lean_array_push(x_2544, x_2541); -x_2546 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_2547 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2547, 0, x_2546); -lean_ctor_set(x_2547, 1, x_2545); -x_2548 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__47; -lean_inc(x_2428); -lean_inc(x_2429); -x_2549 = l_Lean_addMacroScope(x_2429, x_2548, x_2428); -x_2550 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__44; -x_2551 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__49; -lean_inc(x_2426); -x_2552 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2552, 0, x_2426); -lean_ctor_set(x_2552, 1, x_2550); -lean_ctor_set(x_2552, 2, x_2549); -lean_ctor_set(x_2552, 3, x_2551); -x_2553 = lean_array_push(x_2464, x_2552); -x_2554 = lean_array_push(x_2553, x_2496); -x_2555 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2555, 0, x_2499); -lean_ctor_set(x_2555, 1, x_2554); -x_2556 = lean_array_push(x_2441, x_2555); -x_2557 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2557, 0, x_2462); -lean_ctor_set(x_2557, 1, x_2556); -x_2558 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -lean_inc(x_2426); -x_2559 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2559, 0, x_2426); -lean_ctor_set(x_2559, 1, x_2558); -x_2560 = lean_array_push(x_2464, x_2559); -x_2561 = lean_array_push(x_2560, x_2527); -x_2562 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_2563 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2563, 0, x_2562); -lean_ctor_set(x_2563, 1, x_2561); -x_2564 = lean_array_push(x_2464, x_2563); -x_2565 = lean_array_push(x_2564, x_2447); -x_2566 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2566, 0, x_2467); -lean_ctor_set(x_2566, 1, x_2565); -lean_inc(x_2536); -x_2567 = lean_array_push(x_2536, x_2566); -x_2568 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2568, 0, x_2462); -lean_ctor_set(x_2568, 1, x_2567); -x_2569 = lean_array_push(x_2441, x_2568); -x_2570 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2570, 0, x_2540); -lean_ctor_set(x_2570, 1, x_2569); -lean_inc(x_2542); -x_2571 = lean_array_push(x_2542, x_2557); -lean_inc(x_2504); -x_2572 = lean_array_push(x_2571, x_2504); -x_2573 = lean_array_push(x_2572, x_2570); -x_2574 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2574, 0, x_2546); -lean_ctor_set(x_2574, 1, x_2573); -x_2575 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__20; -lean_inc(x_2428); -lean_inc(x_2429); -x_2576 = l_Lean_addMacroScope(x_2429, x_2575, x_2428); -x_2577 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__19; -x_2578 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__22; -lean_inc(x_2426); -x_2579 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2579, 0, x_2426); -lean_ctor_set(x_2579, 1, x_2577); -lean_ctor_set(x_2579, 2, x_2576); -lean_ctor_set(x_2579, 3, x_2578); -x_2580 = lean_array_push(x_2441, x_2493); -x_2581 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2581, 0, x_2462); -lean_ctor_set(x_2581, 1, x_2580); -x_2582 = lean_array_push(x_2464, x_2579); -lean_inc(x_2581); -x_2583 = lean_array_push(x_2582, x_2581); -x_2584 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2584, 0, x_2499); -lean_ctor_set(x_2584, 1, x_2583); -x_2585 = lean_array_push(x_2441, x_2584); -x_2586 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2586, 0, x_2462); -lean_ctor_set(x_2586, 1, x_2585); -x_2587 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -lean_inc(x_2426); -x_2588 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2588, 0, x_2426); -lean_ctor_set(x_2588, 1, x_2587); -x_2589 = lean_array_push(x_2441, x_2588); -x_2590 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_2591 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2591, 0, x_2590); -lean_ctor_set(x_2591, 1, x_2589); -x_2592 = lean_array_push(x_2464, x_2591); -x_2593 = lean_array_push(x_2592, x_2447); -x_2594 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2594, 0, x_2467); -lean_ctor_set(x_2594, 1, x_2593); -lean_inc(x_2536); -x_2595 = lean_array_push(x_2536, x_2594); -x_2596 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2596, 0, x_2462); -lean_ctor_set(x_2596, 1, x_2595); -x_2597 = lean_array_push(x_2441, x_2596); -x_2598 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2598, 0, x_2540); -lean_ctor_set(x_2598, 1, x_2597); -lean_inc(x_2542); -x_2599 = lean_array_push(x_2542, x_2586); -lean_inc(x_2504); -x_2600 = lean_array_push(x_2599, x_2504); -x_2601 = lean_array_push(x_2600, x_2598); -x_2602 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2602, 0, x_2546); -lean_ctor_set(x_2602, 1, x_2601); -x_2603 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__36; -x_2604 = l_Lean_addMacroScope(x_2429, x_2603, x_2428); -x_2605 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__35; -x_2606 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__38; -lean_inc(x_2426); -x_2607 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2607, 0, x_2426); -lean_ctor_set(x_2607, 1, x_2605); -lean_ctor_set(x_2607, 2, x_2604); -lean_ctor_set(x_2607, 3, x_2606); -x_2608 = lean_array_push(x_2464, x_2607); -x_2609 = lean_array_push(x_2608, x_2581); -x_2610 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2610, 0, x_2499); -lean_ctor_set(x_2610, 1, x_2609); -x_2611 = lean_array_push(x_2441, x_2610); -x_2612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2612, 0, x_2462); -lean_ctor_set(x_2612, 1, x_2611); -x_2613 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__22; -x_2614 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2614, 0, x_2426); -lean_ctor_set(x_2614, 1, x_2613); -x_2615 = lean_array_push(x_2441, x_2614); -x_2616 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; -x_2617 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2617, 0, x_2616); -lean_ctor_set(x_2617, 1, x_2615); -x_2618 = lean_array_push(x_2464, x_2617); -x_2619 = lean_array_push(x_2618, x_2447); -x_2620 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2620, 0, x_2467); -lean_ctor_set(x_2620, 1, x_2619); -x_2621 = lean_array_push(x_2536, x_2620); -x_2622 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2622, 0, x_2462); -lean_ctor_set(x_2622, 1, x_2621); -x_2623 = lean_array_push(x_2441, x_2622); -x_2624 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2624, 0, x_2540); -lean_ctor_set(x_2624, 1, x_2623); -x_2625 = lean_array_push(x_2542, x_2612); -x_2626 = lean_array_push(x_2625, x_2504); -x_2627 = lean_array_push(x_2626, x_2624); -x_2628 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2628, 0, x_2546); -lean_ctor_set(x_2628, 1, x_2627); -x_2629 = lean_array_push(x_2445, x_2547); -x_2630 = lean_array_push(x_2629, x_2574); -x_2631 = lean_array_push(x_2630, x_2602); -x_2632 = lean_array_push(x_2631, x_2628); -x_2633 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2633, 0, x_2462); -lean_ctor_set(x_2633, 1, x_2632); -x_2634 = lean_array_push(x_2441, x_2633); -x_2635 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_2636 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2636, 0, x_2635); -lean_ctor_set(x_2636, 1, x_2634); -x_2637 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_2638 = lean_array_push(x_2637, x_2470); -x_2639 = lean_array_push(x_2638, x_2447); -x_2640 = lean_array_push(x_2639, x_2476); -x_2641 = lean_array_push(x_2640, x_2447); -x_2642 = lean_array_push(x_2641, x_2478); -x_2643 = lean_array_push(x_2642, x_2636); -x_2644 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_2645 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2645, 0, x_2644); -lean_ctor_set(x_2645, 1, x_2643); -x_2646 = lean_array_push(x_2464, x_2645); -x_2647 = lean_array_push(x_2646, x_2447); -x_2648 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2648, 0, x_2467); -lean_ctor_set(x_2648, 1, x_2647); -x_2649 = lean_array_push(x_2464, x_2468); -x_2650 = lean_array_push(x_2649, x_2648); -x_2651 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2651, 0, x_2462); -lean_ctor_set(x_2651, 1, x_2650); -x_2652 = lean_array_push(x_2441, x_2651); -x_2653 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2653, 0, x_2540); -lean_ctor_set(x_2653, 1, x_2652); -x_2654 = lean_array_push(x_2464, x_2431); -x_2655 = lean_array_push(x_2654, x_2653); -x_2656 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_2657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2657, 0, x_2656); -lean_ctor_set(x_2657, 1, x_2655); -x_2658 = lean_unsigned_to_nat(1u); -x_2659 = l_Lean_Syntax_getArg(x_2657, x_2658); -lean_dec(x_2657); -x_2660 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_2659); -x_2661 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2661, 0, x_2660); -lean_ctor_set(x_2661, 1, x_2427); -return x_2661; -} +x_1128 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_1124); +x_1129 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1129, 0, x_1124); +lean_ctor_set(x_1129, 1, x_1128); +x_1130 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_1124); +x_1131 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1131, 0, x_1124); +lean_ctor_set(x_1131, 1, x_1130); +x_1132 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +lean_inc(x_1126); +lean_inc(x_1127); +x_1133 = l_Lean_addMacroScope(x_1127, x_1132, x_1126); +x_1134 = lean_box(0); +x_1135 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +lean_inc(x_1124); +x_1136 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1136, 0, x_1124); +lean_ctor_set(x_1136, 1, x_1135); +lean_ctor_set(x_1136, 2, x_1133); +lean_ctor_set(x_1136, 3, x_1134); +x_1137 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_1124); +x_1138 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1138, 0, x_1124); +lean_ctor_set(x_1138, 1, x_1137); +x_1139 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_1140 = lean_array_push(x_1139, x_1); +x_1141 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_1142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1142, 0, x_1141); +lean_ctor_set(x_1142, 1, x_1140); +x_1143 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_1136); +x_1144 = lean_array_push(x_1143, x_1136); +x_1145 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_1146 = lean_array_push(x_1144, x_1145); +x_1147 = lean_array_push(x_1146, x_1138); +x_1148 = lean_array_push(x_1147, x_1142); +x_1149 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_1150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1150, 0, x_1149); +lean_ctor_set(x_1150, 1, x_1148); +x_1151 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_1152 = lean_array_push(x_1151, x_1131); +x_1153 = lean_array_push(x_1152, x_1145); +x_1154 = lean_array_push(x_1153, x_1150); +x_1155 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_1156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1156, 0, x_1155); +lean_ctor_set(x_1156, 1, x_1154); +x_1157 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_1124); +x_1158 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1158, 0, x_1124); +lean_ctor_set(x_1158, 1, x_1157); +x_1159 = lean_array_push(x_1139, x_1158); +x_1160 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_1161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1161, 0, x_1160); +lean_ctor_set(x_1161, 1, x_1159); +x_1162 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_1163 = lean_array_push(x_1162, x_1156); +lean_inc(x_1161); +x_1164 = lean_array_push(x_1163, x_1161); +x_1165 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +lean_inc(x_1124); +x_1168 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1168, 0, x_1124); +lean_ctor_set(x_1168, 1, x_1167); +x_1169 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; +x_1170 = lean_array_push(x_1169, x_1136); +x_1171 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_1172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1172, 0, x_1171); +lean_ctor_set(x_1172, 1, x_1170); +x_1173 = lean_array_push(x_1139, x_1172); +x_1174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1174, 0, x_1160); +lean_ctor_set(x_1174, 1, x_1173); +x_1175 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +lean_inc(x_1124); +x_1176 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1176, 0, x_1124); +lean_ctor_set(x_1176, 1, x_1175); +x_1177 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; +lean_inc(x_1124); +x_1178 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1178, 0, x_1124); +lean_ctor_set(x_1178, 1, x_1177); +x_1179 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__26; +lean_inc(x_1126); +lean_inc(x_1127); +x_1180 = l_Lean_addMacroScope(x_1127, x_1179, x_1126); +x_1181 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__25; +x_1182 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__28; +lean_inc(x_1124); +x_1183 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1183, 0, x_1124); +lean_ctor_set(x_1183, 1, x_1181); +lean_ctor_set(x_1183, 2, x_1180); +lean_ctor_set(x_1183, 3, x_1182); +x_1184 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; +lean_inc(x_1126); +lean_inc(x_1127); +x_1185 = l_Lean_addMacroScope(x_1127, x_1184, x_1126); +x_1186 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; +lean_inc(x_1124); +x_1187 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1187, 0, x_1124); +lean_ctor_set(x_1187, 1, x_1186); +lean_ctor_set(x_1187, 2, x_1185); +lean_ctor_set(x_1187, 3, x_1134); +x_1188 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__16; +lean_inc(x_1126); +lean_inc(x_1127); +x_1189 = l_Lean_addMacroScope(x_1127, x_1188, x_1126); +x_1190 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__15; +lean_inc(x_1124); +x_1191 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1191, 0, x_1124); +lean_ctor_set(x_1191, 1, x_1190); +lean_ctor_set(x_1191, 2, x_1189); +lean_ctor_set(x_1191, 3, x_1134); +lean_inc(x_1187); +x_1192 = lean_array_push(x_1162, x_1187); +lean_inc(x_1191); +x_1193 = lean_array_push(x_1192, x_1191); +x_1194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1194, 0, x_1160); +lean_ctor_set(x_1194, 1, x_1193); +x_1195 = lean_array_push(x_1162, x_1183); +lean_inc(x_1194); +x_1196 = lean_array_push(x_1195, x_1194); +x_1197 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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); +x_1199 = lean_array_push(x_1139, x_1198); +x_1200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1200, 0, x_1160); +lean_ctor_set(x_1200, 1, x_1199); +x_1201 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_1124); +x_1202 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1202, 0, x_1124); +lean_ctor_set(x_1202, 1, x_1201); +x_1203 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_1124); +x_1204 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1204, 0, x_1124); +lean_ctor_set(x_1204, 1, x_1203); +x_1205 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_1206 = lean_array_push(x_1205, x_1121); +x_1207 = lean_array_push(x_1206, x_1145); +x_1208 = lean_array_push(x_1207, x_1145); +x_1209 = lean_array_push(x_1208, x_1204); +lean_inc(x_1191); +x_1210 = lean_array_push(x_1209, x_1191); +x_1211 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; +x_1212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1212, 0, x_1211); +lean_ctor_set(x_1212, 1, x_1210); +x_1213 = lean_array_push(x_1139, x_1212); +x_1214 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_1215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1215, 0, x_1214); +lean_ctor_set(x_1215, 1, x_1213); +x_1216 = lean_array_push(x_1162, x_1215); +x_1217 = lean_array_push(x_1216, x_1161); +x_1218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1218, 0, x_1165); +lean_ctor_set(x_1218, 1, x_1217); +x_1219 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__3; +lean_inc(x_1126); +lean_inc(x_1127); +x_1220 = l_Lean_addMacroScope(x_1127, x_1219, x_1126); +x_1221 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__2; +x_1222 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_1124); +x_1223 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1223, 0, x_1124); +lean_ctor_set(x_1223, 1, x_1221); +lean_ctor_set(x_1223, 2, x_1220); +lean_ctor_set(x_1223, 3, x_1222); +x_1224 = lean_array_push(x_1139, x_1187); +x_1225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1225, 0, x_1160); +lean_ctor_set(x_1225, 1, x_1224); +x_1226 = lean_array_push(x_1162, x_1223); +lean_inc(x_1225); +x_1227 = lean_array_push(x_1226, x_1225); +x_1228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1228, 0, x_1197); +lean_ctor_set(x_1228, 1, x_1227); +x_1229 = lean_array_push(x_1139, x_1228); +x_1230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1230, 0, x_1141); +lean_ctor_set(x_1230, 1, x_1229); +x_1231 = lean_array_push(x_1162, x_1230); +x_1232 = lean_array_push(x_1231, x_1145); +x_1233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1233, 0, x_1165); +lean_ctor_set(x_1233, 1, x_1232); +x_1234 = lean_array_push(x_1162, x_1218); +lean_inc(x_1234); +x_1235 = lean_array_push(x_1234, x_1233); +x_1236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1236, 0, x_1160); +lean_ctor_set(x_1236, 1, x_1235); +x_1237 = lean_array_push(x_1139, x_1236); +x_1238 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_1239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1239, 0, x_1238); +lean_ctor_set(x_1239, 1, x_1237); +x_1240 = lean_array_push(x_1143, x_1178); +lean_inc(x_1240); +x_1241 = lean_array_push(x_1240, x_1200); +lean_inc(x_1202); +x_1242 = lean_array_push(x_1241, x_1202); +x_1243 = lean_array_push(x_1242, x_1239); +x_1244 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; +x_1245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1245, 0, x_1244); +lean_ctor_set(x_1245, 1, x_1243); +x_1246 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__47; +lean_inc(x_1126); +lean_inc(x_1127); +x_1247 = l_Lean_addMacroScope(x_1127, x_1246, x_1126); +x_1248 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__44; +x_1249 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__49; +lean_inc(x_1124); +x_1250 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1250, 0, x_1124); +lean_ctor_set(x_1250, 1, x_1248); +lean_ctor_set(x_1250, 2, x_1247); +lean_ctor_set(x_1250, 3, x_1249); +x_1251 = lean_array_push(x_1162, x_1250); +x_1252 = lean_array_push(x_1251, x_1194); +x_1253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1253, 0, x_1197); +lean_ctor_set(x_1253, 1, x_1252); +x_1254 = lean_array_push(x_1139, x_1253); +x_1255 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1255, 0, x_1160); +lean_ctor_set(x_1255, 1, x_1254); +x_1256 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; +lean_inc(x_1124); +x_1257 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1257, 0, x_1124); +lean_ctor_set(x_1257, 1, x_1256); +x_1258 = lean_array_push(x_1162, x_1257); +x_1259 = lean_array_push(x_1258, x_1225); +x_1260 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; +x_1261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1261, 0, x_1260); +lean_ctor_set(x_1261, 1, x_1259); +x_1262 = lean_array_push(x_1162, x_1261); +x_1263 = lean_array_push(x_1262, x_1145); +x_1264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1264, 0, x_1165); +lean_ctor_set(x_1264, 1, x_1263); +lean_inc(x_1234); +x_1265 = lean_array_push(x_1234, x_1264); +x_1266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1266, 0, x_1160); +lean_ctor_set(x_1266, 1, x_1265); +x_1267 = lean_array_push(x_1139, x_1266); +x_1268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1268, 0, x_1238); +lean_ctor_set(x_1268, 1, x_1267); +lean_inc(x_1240); +x_1269 = lean_array_push(x_1240, x_1255); +lean_inc(x_1202); +x_1270 = lean_array_push(x_1269, x_1202); +x_1271 = lean_array_push(x_1270, x_1268); +x_1272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1272, 0, x_1244); +lean_ctor_set(x_1272, 1, x_1271); +x_1273 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__20; +lean_inc(x_1126); +lean_inc(x_1127); +x_1274 = l_Lean_addMacroScope(x_1127, x_1273, x_1126); +x_1275 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__19; +x_1276 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__22; +lean_inc(x_1124); +x_1277 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1277, 0, x_1124); +lean_ctor_set(x_1277, 1, x_1275); +lean_ctor_set(x_1277, 2, x_1274); +lean_ctor_set(x_1277, 3, x_1276); +x_1278 = lean_array_push(x_1139, x_1191); +x_1279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1279, 0, x_1160); +lean_ctor_set(x_1279, 1, x_1278); +x_1280 = lean_array_push(x_1162, x_1277); +lean_inc(x_1279); +x_1281 = lean_array_push(x_1280, x_1279); +x_1282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1282, 0, x_1197); +lean_ctor_set(x_1282, 1, x_1281); +x_1283 = lean_array_push(x_1139, x_1282); +x_1284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1284, 0, x_1160); +lean_ctor_set(x_1284, 1, x_1283); +x_1285 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; +lean_inc(x_1124); +x_1286 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1286, 0, x_1124); +lean_ctor_set(x_1286, 1, x_1285); +x_1287 = lean_array_push(x_1139, x_1286); +x_1288 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; +x_1289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1289, 0, x_1288); +lean_ctor_set(x_1289, 1, x_1287); +x_1290 = lean_array_push(x_1162, x_1289); +x_1291 = lean_array_push(x_1290, x_1145); +x_1292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1292, 0, x_1165); +lean_ctor_set(x_1292, 1, x_1291); +lean_inc(x_1234); +x_1293 = lean_array_push(x_1234, x_1292); +x_1294 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1294, 0, x_1160); +lean_ctor_set(x_1294, 1, x_1293); +x_1295 = lean_array_push(x_1139, x_1294); +x_1296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1296, 0, x_1238); +lean_ctor_set(x_1296, 1, x_1295); +lean_inc(x_1240); +x_1297 = lean_array_push(x_1240, x_1284); +lean_inc(x_1202); +x_1298 = lean_array_push(x_1297, x_1202); +x_1299 = lean_array_push(x_1298, x_1296); +x_1300 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1300, 0, x_1244); +lean_ctor_set(x_1300, 1, x_1299); +x_1301 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__36; +x_1302 = l_Lean_addMacroScope(x_1127, x_1301, x_1126); +x_1303 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__35; +x_1304 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__38; +lean_inc(x_1124); +x_1305 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1305, 0, x_1124); +lean_ctor_set(x_1305, 1, x_1303); +lean_ctor_set(x_1305, 2, x_1302); +lean_ctor_set(x_1305, 3, x_1304); +x_1306 = lean_array_push(x_1162, x_1305); +x_1307 = lean_array_push(x_1306, x_1279); +x_1308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1308, 0, x_1197); +lean_ctor_set(x_1308, 1, x_1307); +x_1309 = lean_array_push(x_1139, x_1308); +x_1310 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1310, 0, x_1160); +lean_ctor_set(x_1310, 1, x_1309); +x_1311 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__22; +x_1312 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1312, 0, x_1124); +lean_ctor_set(x_1312, 1, x_1311); +x_1313 = lean_array_push(x_1139, x_1312); +x_1314 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; +x_1315 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1315, 0, x_1314); +lean_ctor_set(x_1315, 1, x_1313); +x_1316 = lean_array_push(x_1162, x_1315); +x_1317 = lean_array_push(x_1316, x_1145); +x_1318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1318, 0, x_1165); +lean_ctor_set(x_1318, 1, x_1317); +x_1319 = lean_array_push(x_1234, x_1318); +x_1320 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1320, 0, x_1160); +lean_ctor_set(x_1320, 1, x_1319); +x_1321 = lean_array_push(x_1139, x_1320); +x_1322 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1322, 0, x_1238); +lean_ctor_set(x_1322, 1, x_1321); +x_1323 = lean_array_push(x_1240, x_1310); +x_1324 = lean_array_push(x_1323, x_1202); +x_1325 = lean_array_push(x_1324, x_1322); +x_1326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1326, 0, x_1244); +lean_ctor_set(x_1326, 1, x_1325); +x_1327 = lean_array_push(x_1143, x_1245); +x_1328 = lean_array_push(x_1327, x_1272); +x_1329 = lean_array_push(x_1328, x_1300); +x_1330 = lean_array_push(x_1329, x_1326); +x_1331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1331, 0, x_1160); +lean_ctor_set(x_1331, 1, x_1330); +x_1332 = lean_array_push(x_1139, x_1331); +x_1333 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; +x_1334 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1334, 0, x_1333); +lean_ctor_set(x_1334, 1, x_1332); +x_1335 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_1336 = lean_array_push(x_1335, x_1168); +x_1337 = lean_array_push(x_1336, x_1145); +x_1338 = lean_array_push(x_1337, x_1174); +x_1339 = lean_array_push(x_1338, x_1145); +x_1340 = lean_array_push(x_1339, x_1176); +x_1341 = lean_array_push(x_1340, x_1334); +x_1342 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_1343 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1343, 0, x_1342); +lean_ctor_set(x_1343, 1, x_1341); +x_1344 = lean_array_push(x_1162, x_1343); +x_1345 = lean_array_push(x_1344, x_1145); +x_1346 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1346, 0, x_1165); +lean_ctor_set(x_1346, 1, x_1345); +x_1347 = lean_array_push(x_1162, x_1166); +x_1348 = lean_array_push(x_1347, x_1346); +x_1349 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1349, 0, x_1160); +lean_ctor_set(x_1349, 1, x_1348); +x_1350 = lean_array_push(x_1139, x_1349); +x_1351 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1351, 0, x_1238); +lean_ctor_set(x_1351, 1, x_1350); +x_1352 = lean_array_push(x_1162, x_1129); +x_1353 = lean_array_push(x_1352, x_1351); +x_1354 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_1355 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1355, 0, x_1354); +lean_ctor_set(x_1355, 1, x_1353); +x_1356 = lean_unsigned_to_nat(1u); +x_1357 = l_Lean_Syntax_getArg(x_1355, x_1356); +lean_dec(x_1355); +x_1358 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1357); +x_1359 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1359, 0, x_1358); +lean_ctor_set(x_1359, 1, x_1125); +return x_1359; } } } } else { -uint8_t x_2662; +lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_2662 = !lean_is_exclusive(x_15); -if (x_2662 == 0) -{ -return x_15; -} -else -{ -lean_object* x_2663; lean_object* x_2664; lean_object* x_2665; -x_2663 = lean_ctor_get(x_15, 0); -x_2664 = lean_ctor_get(x_15, 1); -lean_inc(x_2664); -lean_inc(x_2663); +x_1360 = lean_ctor_get(x_15, 0); +lean_inc(x_1360); +x_1361 = lean_ctor_get(x_15, 1); +lean_inc(x_1361); lean_dec(x_15); -x_2665 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2665, 0, x_2663); -lean_ctor_set(x_2665, 1, x_2664); -return x_2665; -} +x_1362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1362, 0, x_1360); +lean_ctor_set(x_1362, 1, x_1361); +return x_1362; } } } @@ -48746,37 +29644,23 @@ return x_12; } else { -uint8_t x_13; -x_13 = !lean_is_exclusive(x_4); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_4, 2); -x_15 = l_Lean_Elab_Term_Do_insertVars(x_14, x_1); -lean_ctor_set(x_4, 2, x_15); -x_16 = lean_apply_8(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_4, 0); -x_18 = lean_ctor_get(x_4, 1); -x_19 = lean_ctor_get(x_4, 2); -x_20 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); +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; +x_13 = lean_ctor_get(x_4, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_4, 1); +lean_inc(x_14); +x_15 = lean_ctor_get(x_4, 2); +lean_inc(x_15); +x_16 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); lean_dec(x_4); -x_21 = l_Lean_Elab_Term_Do_insertVars(x_19, x_1); -x_22 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_22, 0, x_17); -lean_ctor_set(x_22, 1, x_18); -lean_ctor_set(x_22, 2, x_21); -lean_ctor_set_uint8(x_22, sizeof(void*)*3, x_20); -x_23 = lean_apply_8(x_3, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_23; -} +x_17 = l_Lean_Elab_Term_Do_insertVars(x_15, x_1); +x_18 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_18, 0, x_13); +lean_ctor_set(x_18, 1, x_14); +lean_ctor_set(x_18, 2, x_17); +lean_ctor_set_uint8(x_18, sizeof(void*)*3, x_16); +x_19 = lean_apply_8(x_3, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_19; } } } @@ -48802,39 +29686,22 @@ return x_13; lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__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) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_10 = lean_ctor_get(x_7, 3); x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); lean_inc(x_10); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } } static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__2___closed__1() { @@ -48893,7 +29760,7 @@ x_17 = lean_ctor_get(x_1, 2); x_18 = l_Lean_NameSet_contains(x_17, x_16); 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; uint8_t x_26; +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_19 = lean_simp_macro_scopes(x_16); x_20 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_20, 0, x_19); @@ -48906,34 +29773,25 @@ x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); x_25 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__1(x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -return x_25; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); lean_dec(x_25); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } else { -size_t x_30; size_t x_31; lean_object* x_32; +size_t x_29; size_t x_30; lean_object* x_31; lean_dec(x_16); -x_30 = 1; -x_31 = x_4 + x_30; -x_32 = lean_box(0); -x_4 = x_31; -x_5 = x_32; +x_29 = 1; +x_30 = x_4 + x_29; +x_31 = lean_box(0); +x_4 = x_30; +x_5 = x_31; goto _start; } } @@ -48951,49 +29809,27 @@ x_13 = lean_box(0); x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__2(x_2, x_1, x_11, x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_14) == 0) { -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -lean_ctor_set(x_14, 0, x_13); -return x_14; +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_15); +return x_16; } else { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_14, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 0); lean_inc(x_17); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); lean_dec(x_14); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_13); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -else -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) -{ -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; } } } @@ -49116,7 +29952,7 @@ goto _start; } 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; uint8_t x_30; +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; x_23 = lean_simp_macro_scopes(x_16); x_24 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_24, 0, x_23); @@ -49129,24 +29965,15 @@ x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); x_29 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__1(x_28, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) -{ -return x_29; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); lean_dec(x_29); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; -} +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } } @@ -49163,49 +29990,27 @@ x_13 = lean_box(0); x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable___spec__1(x_2, x_1, x_11, x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_14) == 0) { -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -lean_ctor_set(x_14, 0, x_13); -return x_14; +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_15); +return x_16; } else { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_14, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 0); lean_inc(x_17); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); lean_dec(x_14); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_13); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -else -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) -{ -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; } } } @@ -49249,46 +30054,41 @@ return x_10; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_withFor___rarg(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) { _start: { -uint8_t x_10; -x_10 = !lean_is_exclusive(x_2); -if (x_10 == 0) -{ -uint8_t x_11; lean_object* x_12; -x_11 = 1; -lean_ctor_set_uint8(x_2, sizeof(void*)*3, x_11); -x_12 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; -x_13 = lean_ctor_get(x_2, 0); -x_14 = lean_ctor_get(x_2, 1); -x_15 = lean_ctor_get(x_2, 2); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_2); -x_16 = 1; -x_17 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_17, 0, x_13); -lean_ctor_set(x_17, 1, x_14); -lean_ctor_set(x_17, 2, x_15); -lean_ctor_set_uint8(x_17, sizeof(void*)*3, x_16); -x_18 = lean_apply_8(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_18; -} +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_ctor_get(x_2, 1); +x_12 = lean_ctor_get(x_2, 2); +x_13 = 1; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_11); +lean_ctor_set(x_14, 2, x_12); +lean_ctor_set_uint8(x_14, sizeof(void*)*3, x_13); +x_15 = lean_apply_8(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; } } lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_withFor(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_withFor___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_withFor___rarg___boxed), 9, 0); return x_2; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__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* l_Lean_Elab_Term_Do_ToCodeBlock_withFor___rarg___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Term_Do_ToCodeBlock_withFor___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_10; +} +} +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; @@ -49301,10 +30101,10 @@ lean_ctor_set(x_13, 1, x_9); return x_13; } } -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +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; 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_11 = lean_ctor_get(x_8, 3); x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_6, x_7, x_8, x_9, x_10); x_13 = lean_ctor_get(x_12, 0); @@ -49320,61 +30120,55 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_15, 1); lean_inc(x_18); lean_dec(x_15); -x_19 = !lean_is_exclusive(x_16); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_16, 3); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) -{ -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; uint8_t x_35; -x_22 = lean_ctor_get(x_17, 0); +x_19 = lean_ctor_get(x_16, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +x_21 = lean_ctor_get(x_16, 2); +lean_inc(x_21); +lean_dec(x_16); +x_22 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); +x_23 = lean_ctor_get(x_17, 0); +lean_inc(x_23); +lean_dec(x_17); lean_inc(x_1); -x_23 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_23, 0, x_1); -x_24 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__2; -x_25 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__4; -x_27 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); +x_24 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_24, 0, x_1); +x_25 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__2; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__4; x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_13); -x_29 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_31, 0, x_1); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_13); +x_30 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); -lean_inc(x_11); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_11); +x_32 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_32, 0, x_1); lean_ctor_set(x_32, 1, x_31); -x_33 = l_Std_PersistentArray_push___rarg(x_22, x_32); -lean_ctor_set(x_17, 0, x_33); -x_34 = lean_st_ref_set(x_9, x_16, x_18); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -lean_dec(x_36); -x_37 = lean_box(0); -lean_ctor_set(x_34, 0, x_37); -return x_34; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_11); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_11); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Std_PersistentArray_push___rarg(x_23, x_33); +x_35 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set_uint8(x_35, sizeof(void*)*1, x_22); +x_36 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_36, 0, x_19); +lean_ctor_set(x_36, 1, x_20); +lean_ctor_set(x_36, 2, x_21); +lean_ctor_set(x_36, 3, x_35); +x_37 = lean_st_ref_set(x_9, x_36, x_18); +x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); -lean_dec(x_34); +lean_dec(x_37); x_39 = lean_box(0); x_40 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_40, 0, x_39); @@ -49382,147 +30176,7 @@ lean_ctor_set(x_40, 1, x_38); return x_40; } } -else -{ -uint8_t 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_41 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_42 = lean_ctor_get(x_17, 0); -lean_inc(x_42); -lean_dec(x_17); -lean_inc(x_1); -x_43 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_43, 0, x_1); -x_44 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__2; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__4; -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_13); -x_49 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_51, 0, x_1); -lean_ctor_set(x_51, 1, x_50); -lean_inc(x_11); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_11); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Std_PersistentArray_push___rarg(x_42, x_52); -x_54 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set_uint8(x_54, sizeof(void*)*1, x_41); -lean_ctor_set(x_16, 3, x_54); -x_55 = lean_st_ref_set(x_9, x_16, x_18); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_57 = x_55; -} else { - lean_dec_ref(x_55); - x_57 = lean_box(0); -} -x_58 = lean_box(0); -if (lean_is_scalar(x_57)) { - x_59 = lean_alloc_ctor(0, 2, 0); -} else { - x_59 = x_57; -} -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_56); -return x_59; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t 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; -x_60 = lean_ctor_get(x_16, 0); -x_61 = lean_ctor_get(x_16, 1); -x_62 = lean_ctor_get(x_16, 2); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_16); -x_63 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_64 = lean_ctor_get(x_17, 0); -lean_inc(x_64); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - x_65 = x_17; -} else { - lean_dec_ref(x_17); - x_65 = lean_box(0); -} -lean_inc(x_1); -x_66 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_66, 0, x_1); -x_67 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__2; -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__4; -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_13); -x_72 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; -x_73 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -x_74 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_74, 0, x_1); -lean_ctor_set(x_74, 1, x_73); -lean_inc(x_11); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_11); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Std_PersistentArray_push___rarg(x_64, x_75); -if (lean_is_scalar(x_65)) { - x_77 = lean_alloc_ctor(0, 1, 1); -} else { - x_77 = x_65; -} -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set_uint8(x_77, sizeof(void*)*1, x_63); -x_78 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_78, 0, x_60); -lean_ctor_set(x_78, 1, x_61); -lean_ctor_set(x_78, 2, x_62); -lean_ctor_set(x_78, 3, x_77); -x_79 = lean_st_ref_set(x_9, x_78, x_18); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_81 = x_79; -} else { - lean_dec_ref(x_79); - x_81 = lean_box(0); -} -x_82 = lean_box(0); -if (lean_is_scalar(x_81)) { - x_83 = lean_alloc_ctor(0, 2, 0); -} else { - x_83 = x_81; -} -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_80); -return x_83; -} -} -} -lean_object* l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(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) { _start: { if (lean_obj_tag(x_1) == 0) @@ -49574,7 +30228,7 @@ x_22 = lean_ctor_get(x_16, 1); lean_inc(x_22); lean_dec(x_16); lean_inc(x_14); -x_23 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +x_23 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_unbox(x_24); @@ -49601,7 +30255,7 @@ x_29 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_29, 0, x_15); x_30 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_30, 0, x_29); -x_31 = l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2(x_14, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28); +x_31 = l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_14, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28); x_32 = lean_ctor_get(x_31, 1); lean_inc(x_32); lean_dec(x_31); @@ -49613,120 +30267,242 @@ goto _start; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5(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* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6(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) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_10 = lean_ctor_get(x_7, 3); x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); lean_inc(x_10); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } } -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5(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) { _start: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 3); -x_13 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 3, x_13); -x_14 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -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; lean_object* x_24; lean_object* x_25; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -x_17 = lean_ctor_get(x_8, 2); -x_18 = lean_ctor_get(x_8, 3); -x_19 = lean_ctor_get(x_8, 4); -x_20 = lean_ctor_get(x_8, 5); -x_21 = lean_ctor_get(x_8, 6); -x_22 = lean_ctor_get(x_8, 7); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); +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_11 = lean_ctor_get(x_8, 0); +x_12 = lean_ctor_get(x_8, 1); +x_13 = lean_ctor_get(x_8, 2); +x_14 = lean_ctor_get(x_8, 3); +x_15 = lean_ctor_get(x_8, 4); +x_16 = lean_ctor_get(x_8, 5); +x_17 = lean_ctor_get(x_8, 6); +x_18 = lean_ctor_get(x_8, 7); +x_19 = l_Lean_replaceRef(x_1, x_14); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_dec(x_8); -x_23 = l_Lean_replaceRef(x_1, x_18); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_24, 0, x_15); -lean_ctor_set(x_24, 1, x_16); -lean_ctor_set(x_24, 2, x_17); -lean_ctor_set(x_24, 3, x_23); -lean_ctor_set(x_24, 4, x_19); -lean_ctor_set(x_24, 5, x_20); -lean_ctor_set(x_24, 6, x_21); -lean_ctor_set(x_24, 7, x_22); -x_25 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); -lean_dec(x_24); -return x_25; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_20 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_12); +lean_ctor_set(x_20, 2, x_13); +lean_ctor_set(x_20, 3, x_19); +lean_ctor_set(x_20, 4, x_15); +lean_ctor_set(x_20, 5, x_16); +lean_ctor_set(x_20, 6, x_17); +lean_ctor_set(x_20, 7, x_18); +x_21 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_10); +lean_dec(x_20); +return x_21; } } -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__7___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__7(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg), 1, 0); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__7___rarg), 1, 0); return x_8; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__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) { +_start: +{ +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_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 4); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 5); +lean_inc(x_15); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__1___boxed), 4, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_13); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2___boxed), 4, 1); +lean_closure_set(x_18, 0, x_13); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__3___boxed), 6, 3); +lean_closure_set(x_19, 0, x_13); +lean_closure_set(x_19, 1, x_14); +lean_closure_set(x_19, 2, x_15); +lean_inc(x_13); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4___boxed), 6, 3); +lean_closure_set(x_20, 0, x_13); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_15); +x_21 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_17); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_19); +lean_ctor_set(x_21, 4, x_20); +x_22 = x_21; +x_23 = lean_ctor_get(x_7, 3); +lean_inc(x_23); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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_ctor_get(x_7, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_7, 2); +lean_inc(x_28); +x_29 = lean_st_ref_get(x_8, x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_environment_main_module(x_13); +x_34 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_25); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_23); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_apply_2(x_1, x_34, x_36); +if (lean_obj_tag(x_37) == 0) +{ +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; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_st_ref_take(x_8, x_31); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_42, 2); +lean_inc(x_45); +x_46 = lean_ctor_get(x_42, 3); +lean_inc(x_46); +lean_dec(x_42); +x_47 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_40); +lean_ctor_set(x_47, 2, x_45); +lean_ctor_set(x_47, 3, x_46); +x_48 = lean_st_ref_set(x_8, x_47, x_43); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_ctor_get(x_39, 1); +lean_inc(x_50); +lean_dec(x_39); +x_51 = l_List_reverse___rarg(x_50); +x_52 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_49); +lean_dec(x_7); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_38); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +else +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_37, 0); +lean_inc(x_55); +lean_dec(x_37); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +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(2, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_59, 0, x_58); +x_60 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5(x_56, x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_7); +lean_dec(x_56); +return x_60; +} +else +{ +lean_object* x_61; +lean_dec(x_7); +x_61 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__7___rarg(x_31); +return x_61; +} +} +} +} lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(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) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; uint8_t x_16; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; x_10 = lean_ctor_get(x_1, 1); lean_inc(x_10); x_11 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_nameSetToArray(x_10); @@ -49736,275 +30512,92 @@ lean_dec(x_1); x_13 = lean_ctor_get(x_2, 1); lean_inc(x_13); x_14 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_12); -x_15 = lean_st_ref_get(x_8, x_9); if (x_14 == 0) { -uint8_t x_92; -x_92 = 1; -x_16 = x_92; -goto block_91; -} -else -{ -uint8_t x_93; -x_93 = 2; -x_16 = x_93; -goto block_91; -} -block_91: -{ -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; -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); -x_19 = lean_ctor_get(x_17, 0); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_ctor_get(x_7, 4); -lean_inc(x_20); -x_21 = lean_ctor_get(x_7, 5); -lean_inc(x_21); -lean_inc(x_19); -x_22 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_22, 0, x_19); -lean_inc(x_20); -x_23 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_23, 0, x_20); -lean_inc(x_19); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_24, 0, x_19); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -x_25 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_25, 0, x_19); -lean_closure_set(x_25, 1, x_20); -lean_closure_set(x_25, 2, x_21); -lean_inc(x_19); -x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_26, 0, x_19); -lean_closure_set(x_26, 1, x_20); -lean_closure_set(x_26, 2, x_21); -x_27 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_27, 0, x_22); -lean_ctor_set(x_27, 1, x_23); -lean_ctor_set(x_27, 2, x_24); -lean_ctor_set(x_27, 3, x_25); -lean_ctor_set(x_27, 4, x_26); -x_28 = x_27; -x_29 = lean_ctor_get(x_7, 3); -lean_inc(x_29); -x_30 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_18); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_ctor_get(x_7, 1); -lean_inc(x_33); -x_34 = lean_ctor_get(x_7, 2); -lean_inc(x_34); -x_35 = lean_st_ref_get(x_8, x_32); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_environment_main_module(x_19); -x_40 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_40, 0, x_28); -lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_40, 2, x_31); -lean_ctor_set(x_40, 3, x_33); -lean_ctor_set(x_40, 4, x_34); -lean_ctor_set(x_40, 5, x_29); -x_41 = lean_box(0); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_38); -lean_ctor_set(x_42, 1, x_41); +uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = 1; +x_16 = lean_box(x_15); lean_inc(x_11); -x_43 = l_Lean_Elab_Term_Do_ToTerm_run(x_12, x_13, x_11, x_16, x_40, x_42); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_st_ref_take(x_8, x_37); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = !lean_is_exclusive(x_48); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_51 = lean_ctor_get(x_48, 1); -lean_dec(x_51); -lean_ctor_set(x_48, 1, x_46); -x_52 = lean_st_ref_set(x_8, x_48, x_49); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -lean_dec(x_52); -x_54 = lean_ctor_get(x_45, 1); -lean_inc(x_54); -lean_dec(x_45); -x_55 = l_List_reverse___rarg(x_54); -x_56 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_53); -lean_dec(x_7); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToTerm_run___boxed), 6, 4); +lean_closure_set(x_17, 0, x_12); +lean_closure_set(x_17, 1, x_13); +lean_closure_set(x_17, 2, x_11); +lean_closure_set(x_17, 3, x_16); +x_18 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_2); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) +if (lean_obj_tag(x_18) == 0) { -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_56, 0); -lean_dec(x_58); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_11); -lean_ctor_set(x_59, 1, x_44); -lean_ctor_set(x_56, 0, x_59); -return x_56; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +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_20); +return x_22; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_56, 1); -lean_inc(x_60); -lean_dec(x_56); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_11); -lean_ctor_set(x_61, 1, x_44); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -return x_62; -} -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_63 = lean_ctor_get(x_48, 0); -x_64 = lean_ctor_get(x_48, 2); -x_65 = lean_ctor_get(x_48, 3); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_48); -x_66 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_66, 0, x_63); -lean_ctor_set(x_66, 1, x_46); -lean_ctor_set(x_66, 2, x_64); -lean_ctor_set(x_66, 3, x_65); -x_67 = lean_st_ref_set(x_8, x_66, x_49); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_ctor_get(x_45, 1); -lean_inc(x_69); -lean_dec(x_45); -x_70 = l_List_reverse___rarg(x_69); -x_71 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_68); -lean_dec(x_7); -lean_dec(x_2); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_73 = x_71; -} else { - lean_dec_ref(x_71); - x_73 = lean_box(0); -} -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_11); -lean_ctor_set(x_74, 1, x_44); -if (lean_is_scalar(x_73)) { - x_75 = lean_alloc_ctor(0, 2, 0); -} else { - x_75 = x_73; -} -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_72); -return x_75; -} -} -else -{ -lean_object* x_76; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_dec(x_11); -x_76 = lean_ctor_get(x_43, 0); -lean_inc(x_76); -lean_dec(x_43); -if (lean_obj_tag(x_76) == 0) +x_23 = lean_ctor_get(x_18, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_18, 1); +lean_inc(x_24); +lean_dec(x_18); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_79, 0, x_78); -x_80 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_80, 0, x_79); -x_81 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_77, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_37); +uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = 2; +x_27 = lean_box(x_26); +lean_inc(x_11); +x_28 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToTerm_run___boxed), 6, 4); +lean_closure_set(x_28, 0, x_12); +lean_closure_set(x_28, 1, x_13); +lean_closure_set(x_28, 2, x_11); +lean_closure_set(x_28, 3, x_27); +x_29 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_2); -lean_dec(x_77); -x_82 = !lean_is_exclusive(x_81); -if (x_82 == 0) +if (lean_obj_tag(x_29) == 0) { -return x_81; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_11); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_81, 0); -x_84 = lean_ctor_get(x_81, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_81); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; -} -} -else -{ -lean_object* x_86; uint8_t x_87; -lean_dec(x_7); -lean_dec(x_2); -x_86 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg(x_37); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) -{ -return x_86; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_86, 0); -x_89 = lean_ctor_get(x_86, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_86); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; -} -} +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_11); +x_34 = lean_ctor_get(x_29, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } @@ -50017,11 +30610,11 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___r return x_2; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__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* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -50032,11 +30625,11 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_addTrace___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -50047,11 +30640,11 @@ lean_dec(x_3); return x_11; } } -lean_object* l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -50062,11 +30655,11 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5___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* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -50077,12 +30670,13 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5___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) { _start: { lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -50092,11 +30686,11 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__7___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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -50107,6 +30701,20 @@ lean_dec(x_1); return x_8; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg___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) { _start: { @@ -50327,28 +30935,19 @@ goto _start; } else { -uint8_t x_28; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec(x_16); lean_dec(x_6); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_18); -if (x_28 == 0) -{ -return x_18; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_18, 0); -x_30 = lean_ctor_get(x_18, 1); -lean_inc(x_30); +x_28 = lean_ctor_get(x_18, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_18, 1); lean_inc(x_29); lean_dec(x_18); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } @@ -50407,27 +31006,18 @@ goto _start; } else { -uint8_t x_27; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_dec(x_13); lean_dec(x_5); -x_27 = !lean_is_exclusive(x_17); -if (x_27 == 0) -{ -return x_17; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_17, 0); -x_29 = lean_ctor_get(x_17, 1); -lean_inc(x_29); +x_27 = lean_ctor_get(x_17, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_17, 1); lean_inc(x_28); lean_dec(x_17); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } @@ -50486,27 +31076,18 @@ goto _start; } else { -uint8_t x_28; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec(x_15); lean_dec(x_6); -x_28 = !lean_is_exclusive(x_18); -if (x_28 == 0) -{ -return x_18; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_18, 0); -x_30 = lean_ctor_get(x_18, 1); -lean_inc(x_30); +x_28 = lean_ctor_get(x_18, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_18, 1); lean_inc(x_29); lean_dec(x_18); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } @@ -50565,27 +31146,18 @@ goto _start; } else { -uint8_t x_28; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec(x_15); lean_dec(x_6); -x_28 = !lean_is_exclusive(x_18); -if (x_28 == 0) -{ -return x_18; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_18, 0); -x_30 = lean_ctor_get(x_18, 1); -lean_inc(x_30); +x_28 = lean_ctor_get(x_18, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_18, 1); lean_inc(x_29); lean_dec(x_18); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } @@ -50643,27 +31215,18 @@ goto _start; } else { -uint8_t x_26; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_13); lean_dec(x_5); -x_26 = !lean_is_exclusive(x_16); -if (x_26 == 0) -{ -return x_16; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_16, 0); -x_28 = lean_ctor_get(x_16, 1); -lean_inc(x_28); +x_26 = lean_ctor_get(x_16, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_16, 1); lean_inc(x_27); lean_dec(x_16); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } @@ -50722,27 +31285,18 @@ goto _start; } else { -uint8_t x_28; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec(x_15); lean_dec(x_6); -x_28 = !lean_is_exclusive(x_18); -if (x_28 == 0) -{ -return x_18; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_18, 0); -x_30 = lean_ctor_get(x_18, 1); -lean_inc(x_30); +x_28 = lean_ctor_get(x_18, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_18, 1); lean_inc(x_29); lean_dec(x_18); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } @@ -50773,7 +31327,7 @@ lean_inc(x_7); x_12 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux(x_2, x_3, x_11, x_6, x_7, x_8); if (lean_obj_tag(x_12) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_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; uint8_t x_57; +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; x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -50854,105 +31408,43 @@ lean_ctor_set(x_54, 1, x_32); x_55 = l_List_append___rarg(x_21, x_54); x_56 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__7(x_55, x_7, x_19); lean_dec(x_7); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) -{ -lean_object* x_58; uint8_t x_59; -x_58 = lean_ctor_get(x_56, 0); -x_59 = !lean_is_exclusive(x_58); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_58, 0); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = lean_ctor_get(x_57, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_57, 1); +lean_inc(x_60); +lean_dec(x_57); x_61 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 0, x_59); lean_ctor_set(x_61, 1, x_33); lean_ctor_set(x_61, 2, x_31); lean_ctor_set(x_61, 3, x_32); -lean_ctor_set(x_58, 0, x_61); -return x_56; +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_58); +return x_63; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_62 = lean_ctor_get(x_58, 0); -x_63 = lean_ctor_get(x_58, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_58); -x_64 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_33); -lean_ctor_set(x_64, 2, x_31); -lean_ctor_set(x_64, 3, x_32); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -lean_ctor_set(x_56, 0, x_65); -return x_56; -} -} -else -{ -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; -x_66 = lean_ctor_get(x_56, 0); -x_67 = lean_ctor_get(x_56, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_56); -x_68 = lean_ctor_get(x_66, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_70 = x_66; -} else { - lean_dec_ref(x_66); - x_70 = lean_box(0); -} -x_71 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_33); -lean_ctor_set(x_71, 2, x_31); -lean_ctor_set(x_71, 3, x_32); -if (lean_is_scalar(x_70)) { - x_72 = lean_alloc_ctor(0, 2, 0); -} else { - x_72 = x_70; -} -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_69); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_67); -return x_73; -} -} -else -{ -uint8_t x_74; +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_dec(x_7); lean_dec(x_4); -x_74 = !lean_is_exclusive(x_12); -if (x_74 == 0) -{ -return x_12; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_12, 0); -x_76 = lean_ctor_get(x_12, 1); -lean_inc(x_76); -lean_inc(x_75); +x_64 = lean_ctor_get(x_12, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_12, 1); +lean_inc(x_65); lean_dec(x_12); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; } } } @@ -50978,23 +31470,23 @@ _start: { if (lean_obj_tag(x_3) == 1) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_278; +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_116; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); x_8 = lean_ctor_get(x_3, 1); lean_inc(x_8); -x_278 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter(x_7); -if (x_278 == 0) +x_116 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter(x_7); +if (x_116 == 0) { -lean_object* x_279; uint8_t x_280; -x_279 = l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__2; -x_280 = lean_name_eq(x_7, x_279); -if (x_280 == 0) +lean_object* x_117; uint8_t x_118; +x_117 = l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__2; +x_118 = lean_name_eq(x_7, x_117); +if (x_118 == 0) { -lean_object* x_281; -x_281 = lean_box(0); -x_9 = x_281; -goto block_277; +lean_object* x_119; +x_119 = lean_box(0); +x_9 = x_119; +goto block_115; } else { @@ -51003,296 +31495,115 @@ if (x_1 == 0) lean_dec(x_7); if (x_2 == 0) { -uint8_t x_282; +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_dec(x_3); -x_282 = !lean_is_exclusive(x_6); -if (x_282 == 0) -{ -lean_object* x_283; lean_object* x_284; lean_object* x_285; uint8_t x_286; -x_283 = lean_ctor_get(x_6, 0); -x_284 = lean_unsigned_to_nat(1u); -x_285 = lean_nat_add(x_283, x_284); -lean_ctor_set(x_6, 0, x_285); -x_286 = !lean_is_exclusive(x_5); -if (x_286 == 0) -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; -x_287 = lean_ctor_get(x_5, 2); -lean_dec(x_287); -lean_ctor_set(x_5, 2, x_283); -x_288 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_289 = lean_box(0); -x_290 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___lambda__1(x_8, x_1, x_2, x_288, x_289, x_4, x_5, x_6); -lean_dec(x_8); -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; -x_291 = lean_ctor_get(x_5, 0); -x_292 = lean_ctor_get(x_5, 1); -x_293 = lean_ctor_get(x_5, 3); -x_294 = lean_ctor_get(x_5, 4); -x_295 = lean_ctor_get(x_5, 5); -lean_inc(x_295); -lean_inc(x_294); -lean_inc(x_293); -lean_inc(x_292); -lean_inc(x_291); -lean_dec(x_5); -x_296 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_296, 0, x_291); -lean_ctor_set(x_296, 1, x_292); -lean_ctor_set(x_296, 2, x_283); -lean_ctor_set(x_296, 3, x_293); -lean_ctor_set(x_296, 4, x_294); -lean_ctor_set(x_296, 5, x_295); -x_297 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_298 = lean_box(0); -x_299 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___lambda__1(x_8, x_1, x_2, x_297, x_298, x_4, x_296, x_6); -lean_dec(x_8); -return x_299; -} -} -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; 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; -x_300 = lean_ctor_get(x_6, 0); -x_301 = lean_ctor_get(x_6, 1); -lean_inc(x_301); -lean_inc(x_300); +x_120 = lean_ctor_get(x_6, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_6, 1); +lean_inc(x_121); lean_dec(x_6); -x_302 = lean_unsigned_to_nat(1u); -x_303 = lean_nat_add(x_300, x_302); -x_304 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_304, 0, x_303); -lean_ctor_set(x_304, 1, x_301); -x_305 = lean_ctor_get(x_5, 0); -lean_inc(x_305); -x_306 = lean_ctor_get(x_5, 1); -lean_inc(x_306); -x_307 = lean_ctor_get(x_5, 3); -lean_inc(x_307); -x_308 = lean_ctor_get(x_5, 4); -lean_inc(x_308); -x_309 = lean_ctor_get(x_5, 5); -lean_inc(x_309); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - lean_ctor_release(x_5, 2); - lean_ctor_release(x_5, 3); - lean_ctor_release(x_5, 4); - lean_ctor_release(x_5, 5); - x_310 = x_5; -} else { - lean_dec_ref(x_5); - x_310 = lean_box(0); -} -if (lean_is_scalar(x_310)) { - x_311 = lean_alloc_ctor(0, 6, 0); -} else { - x_311 = x_310; -} -lean_ctor_set(x_311, 0, x_305); -lean_ctor_set(x_311, 1, x_306); -lean_ctor_set(x_311, 2, x_300); -lean_ctor_set(x_311, 3, x_307); -lean_ctor_set(x_311, 4, x_308); -lean_ctor_set(x_311, 5, x_309); -x_312 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_313 = lean_box(0); -x_314 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___lambda__1(x_8, x_1, x_2, x_312, x_313, x_4, x_311, x_304); +x_122 = lean_unsigned_to_nat(1u); +x_123 = lean_nat_add(x_120, x_122); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_121); +x_125 = lean_ctor_get(x_5, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_5, 1); +lean_inc(x_126); +x_127 = lean_ctor_get(x_5, 3); +lean_inc(x_127); +x_128 = lean_ctor_get(x_5, 4); +lean_inc(x_128); +x_129 = lean_ctor_get(x_5, 5); +lean_inc(x_129); +lean_dec(x_5); +x_130 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_130, 0, x_125); +lean_ctor_set(x_130, 1, x_126); +lean_ctor_set(x_130, 2, x_120); +lean_ctor_set(x_130, 3, x_127); +lean_ctor_set(x_130, 4, x_128); +lean_ctor_set(x_130, 5, x_129); +x_131 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; +x_132 = lean_box(0); +x_133 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___lambda__1(x_8, x_1, x_2, x_131, x_132, x_4, x_130, x_124); lean_dec(x_8); -return x_314; -} +return x_133; } else { -uint8_t x_315; +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_dec(x_8); lean_dec(x_4); -x_315 = !lean_is_exclusive(x_6); -if (x_315 == 0) -{ -lean_object* x_316; lean_object* x_317; lean_object* x_318; uint8_t x_319; -x_316 = lean_ctor_get(x_6, 0); -x_317 = lean_unsigned_to_nat(1u); -x_318 = lean_nat_add(x_316, x_317); -lean_ctor_set(x_6, 0, x_318); -x_319 = !lean_is_exclusive(x_5); -if (x_319 == 0) -{ -lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; -x_320 = lean_ctor_get(x_5, 2); -lean_dec(x_320); -lean_ctor_set(x_5, 2, x_316); -x_321 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___closed__1; -x_322 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_321, x_5, x_6); -lean_dec(x_3); -x_323 = !lean_is_exclusive(x_322); -if (x_323 == 0) -{ -return x_322; -} -else -{ -lean_object* x_324; lean_object* x_325; lean_object* x_326; -x_324 = lean_ctor_get(x_322, 0); -x_325 = lean_ctor_get(x_322, 1); -lean_inc(x_325); -lean_inc(x_324); -lean_dec(x_322); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_324); -lean_ctor_set(x_326, 1, x_325); -return x_326; -} -} -else -{ -lean_object* x_327; lean_object* x_328; 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_327 = lean_ctor_get(x_5, 0); -x_328 = lean_ctor_get(x_5, 1); -x_329 = lean_ctor_get(x_5, 3); -x_330 = lean_ctor_get(x_5, 4); -x_331 = lean_ctor_get(x_5, 5); -lean_inc(x_331); -lean_inc(x_330); -lean_inc(x_329); -lean_inc(x_328); -lean_inc(x_327); -lean_dec(x_5); -x_332 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_332, 0, x_327); -lean_ctor_set(x_332, 1, x_328); -lean_ctor_set(x_332, 2, x_316); -lean_ctor_set(x_332, 3, x_329); -lean_ctor_set(x_332, 4, x_330); -lean_ctor_set(x_332, 5, x_331); -x_333 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___closed__1; -x_334 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_333, x_332, x_6); -lean_dec(x_3); -x_335 = lean_ctor_get(x_334, 0); -lean_inc(x_335); -x_336 = lean_ctor_get(x_334, 1); -lean_inc(x_336); -if (lean_is_exclusive(x_334)) { - lean_ctor_release(x_334, 0); - lean_ctor_release(x_334, 1); - x_337 = x_334; -} else { - lean_dec_ref(x_334); - x_337 = lean_box(0); -} -if (lean_is_scalar(x_337)) { - x_338 = lean_alloc_ctor(1, 2, 0); -} else { - x_338 = x_337; -} -lean_ctor_set(x_338, 0, x_335); -lean_ctor_set(x_338, 1, x_336); -return x_338; -} -} -else -{ -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; -x_339 = lean_ctor_get(x_6, 0); -x_340 = lean_ctor_get(x_6, 1); -lean_inc(x_340); -lean_inc(x_339); +x_134 = lean_ctor_get(x_6, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_6, 1); +lean_inc(x_135); lean_dec(x_6); -x_341 = lean_unsigned_to_nat(1u); -x_342 = lean_nat_add(x_339, x_341); -x_343 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_343, 0, x_342); -lean_ctor_set(x_343, 1, x_340); -x_344 = lean_ctor_get(x_5, 0); -lean_inc(x_344); -x_345 = lean_ctor_get(x_5, 1); -lean_inc(x_345); -x_346 = lean_ctor_get(x_5, 3); -lean_inc(x_346); -x_347 = lean_ctor_get(x_5, 4); -lean_inc(x_347); -x_348 = lean_ctor_get(x_5, 5); -lean_inc(x_348); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - lean_ctor_release(x_5, 2); - lean_ctor_release(x_5, 3); - lean_ctor_release(x_5, 4); - lean_ctor_release(x_5, 5); - x_349 = x_5; -} else { - lean_dec_ref(x_5); - x_349 = lean_box(0); -} -if (lean_is_scalar(x_349)) { - x_350 = lean_alloc_ctor(0, 6, 0); -} else { - x_350 = x_349; -} -lean_ctor_set(x_350, 0, x_344); -lean_ctor_set(x_350, 1, x_345); -lean_ctor_set(x_350, 2, x_339); -lean_ctor_set(x_350, 3, x_346); -lean_ctor_set(x_350, 4, x_347); -lean_ctor_set(x_350, 5, x_348); -x_351 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___closed__1; -x_352 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_351, x_350, x_343); +x_136 = lean_unsigned_to_nat(1u); +x_137 = lean_nat_add(x_134, x_136); +x_138 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_135); +x_139 = lean_ctor_get(x_5, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_5, 1); +lean_inc(x_140); +x_141 = lean_ctor_get(x_5, 3); +lean_inc(x_141); +x_142 = lean_ctor_get(x_5, 4); +lean_inc(x_142); +x_143 = lean_ctor_get(x_5, 5); +lean_inc(x_143); +lean_dec(x_5); +x_144 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_144, 0, x_139); +lean_ctor_set(x_144, 1, x_140); +lean_ctor_set(x_144, 2, x_134); +lean_ctor_set(x_144, 3, x_141); +lean_ctor_set(x_144, 4, x_142); +lean_ctor_set(x_144, 5, x_143); +x_145 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___closed__1; +x_146 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_145, x_144, x_138); lean_dec(x_3); -x_353 = lean_ctor_get(x_352, 0); -lean_inc(x_353); -x_354 = lean_ctor_get(x_352, 1); -lean_inc(x_354); -if (lean_is_exclusive(x_352)) { - lean_ctor_release(x_352, 0); - lean_ctor_release(x_352, 1); - x_355 = x_352; -} else { - lean_dec_ref(x_352); - x_355 = lean_box(0); +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +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; } -if (lean_is_scalar(x_355)) { - x_356 = lean_alloc_ctor(1, 2, 0); -} else { - x_356 = x_355; } -lean_ctor_set(x_356, 0, x_353); -lean_ctor_set(x_356, 1, x_354); -return x_356; +else +{ +lean_object* x_150; +x_150 = lean_box(0); +x_9 = x_150; +goto block_115; } } } else { -lean_object* x_357; -x_357 = lean_box(0); -x_9 = x_357; -goto block_277; -} -} -} -else -{ -lean_object* x_358; lean_object* x_359; +lean_object* x_151; lean_object* x_152; lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -x_358 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_358, 0, x_3); -lean_ctor_set(x_358, 1, x_4); -x_359 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_359, 0, x_358); -lean_ctor_set(x_359, 1, x_6); -return x_359; +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_3); +lean_ctor_set(x_151, 1, x_4); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_6); +return x_152; } -block_277: +block_115: { -uint8_t x_10; lean_object* x_11; size_t x_12; lean_object* x_13; uint8_t x_14; uint8_t x_142; +uint8_t x_10; lean_object* x_11; size_t x_12; lean_object* x_13; uint8_t x_14; uint8_t x_61; lean_dec(x_9); x_10 = l_Lean_Syntax_isAntiquot(x_3); x_11 = lean_array_get_size(x_8); @@ -51303,1226 +31614,372 @@ if (x_10 == 0) { if (x_2 == 0) { -uint8_t x_270; -x_270 = 0; -x_14 = x_270; -goto block_141; +uint8_t x_108; +x_108 = 0; +x_14 = x_108; +goto block_60; } else { -uint8_t x_271; -x_271 = 0; -x_142 = x_271; -goto block_269; +uint8_t x_109; +x_109 = 0; +x_61 = x_109; +goto block_107; } } else { -uint8_t x_272; -x_272 = l_Lean_Syntax_isEscapedAntiquot(x_3); -if (x_272 == 0) +uint8_t x_110; +x_110 = l_Lean_Syntax_isEscapedAntiquot(x_3); +if (x_110 == 0) { if (x_2 == 0) { -uint8_t x_273; -x_273 = 1; -x_14 = x_273; -goto block_141; +uint8_t x_111; +x_111 = 1; +x_14 = x_111; +goto block_60; } else { -uint8_t x_274; -x_274 = 1; -x_142 = x_274; -goto block_269; +uint8_t x_112; +x_112 = 1; +x_61 = x_112; +goto block_107; } } else { if (x_2 == 0) { -uint8_t x_275; -x_275 = 0; -x_14 = x_275; -goto block_141; +uint8_t x_113; +x_113 = 0; +x_14 = x_113; +goto block_60; } else { -uint8_t x_276; -x_276 = 0; -x_142 = x_276; -goto block_269; +uint8_t x_114; +x_114 = 0; +x_61 = x_114; +goto block_107; } } } -block_141: +block_60: { if (x_1 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_15 = lean_box_usize(x_12); x_16 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; -lean_inc(x_3); x_17 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__1___boxed), 7, 4); lean_closure_set(x_17, 0, x_3); lean_closure_set(x_17, 1, x_15); lean_closure_set(x_17, 2, x_16); lean_closure_set(x_17, 3, x_13); -x_18 = !lean_is_exclusive(x_3); -if (x_18 == 0) +x_18 = x_17; +x_19 = lean_apply_3(x_18, x_4, x_5, x_6); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_3, 1); +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_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_20 = lean_ctor_get(x_3, 0); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); lean_dec(x_20); -x_21 = x_17; -x_22 = lean_apply_3(x_21, x_4, x_5, x_6); -if (lean_obj_tag(x_22) == 0) -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_22, 0); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_24, 0); -lean_ctor_set(x_3, 1, x_26); -lean_ctor_set(x_24, 0, x_3); -return x_22; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_7); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_21); +return x_26; } else { lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_24, 0); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); +lean_dec(x_7); +x_27 = lean_ctor_get(x_19, 0); lean_inc(x_27); -lean_dec(x_24); -lean_ctor_set(x_3, 1, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_3); +x_28 = lean_ctor_get(x_19, 1); +lean_inc(x_28); +lean_dec(x_19); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_22, 0, x_29); -return x_22; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_30 = lean_ctor_get(x_22, 0); -x_31 = lean_ctor_get(x_22, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_22); -x_32 = lean_ctor_get(x_30, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_34 = x_30; -} else { - lean_dec_ref(x_30); - x_34 = lean_box(0); -} -lean_ctor_set(x_3, 1, x_32); -if (lean_is_scalar(x_34)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_34; -} -lean_ctor_set(x_35, 0, x_3); -lean_ctor_set(x_35, 1, x_33); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_31); -return x_36; -} -} -else -{ -uint8_t x_37; -lean_free_object(x_3); -lean_dec(x_7); -x_37 = !lean_is_exclusive(x_22); -if (x_37 == 0) -{ -return x_22; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_22, 0); -x_39 = lean_ctor_get(x_22, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_22); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -else -{ -lean_object* x_41; lean_object* x_42; -lean_dec(x_3); -x_41 = x_17; -x_42 = lean_apply_3(x_41, x_4, x_5, x_6); -if (lean_obj_tag(x_42) == 0) -{ -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_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_45 = x_42; -} else { - lean_dec_ref(x_42); - x_45 = lean_box(0); -} -x_46 = lean_ctor_get(x_43, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_43, 1); -lean_inc(x_47); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_48 = x_43; -} else { - lean_dec_ref(x_43); - x_48 = lean_box(0); -} -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_7); -lean_ctor_set(x_49, 1, x_46); -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 2, 0); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_47); -if (lean_is_scalar(x_45)) { - x_51 = lean_alloc_ctor(0, 2, 0); -} else { - x_51 = x_45; -} -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_44); -return x_51; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_7); -x_52 = lean_ctor_get(x_42, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_42, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_54 = x_42; -} else { - lean_dec_ref(x_42); - x_54 = lean_box(0); -} -if (lean_is_scalar(x_54)) { - x_55 = lean_alloc_ctor(1, 2, 0); -} else { - x_55 = x_54; -} -lean_ctor_set(x_55, 0, x_52); -lean_ctor_set(x_55, 1, x_53); -return x_55; -} +return x_29; } } else { if (x_14 == 0) { -uint8_t x_56; -x_56 = !lean_is_exclusive(x_3); -if (x_56 == 0) -{ -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_57 = lean_ctor_get(x_3, 1); -lean_dec(x_57); -x_58 = lean_ctor_get(x_3, 0); -lean_dec(x_58); -x_59 = lean_box_usize(x_12); -x_60 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; -x_61 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__2___boxed), 6, 3); -lean_closure_set(x_61, 0, x_59); -lean_closure_set(x_61, 1, x_60); -lean_closure_set(x_61, 2, x_13); -x_62 = x_61; -x_63 = lean_apply_3(x_62, x_4, x_5, x_6); -if (lean_obj_tag(x_63) == 0) -{ -uint8_t x_64; -x_64 = !lean_is_exclusive(x_63); -if (x_64 == 0) -{ -lean_object* x_65; uint8_t x_66; -x_65 = lean_ctor_get(x_63, 0); -x_66 = !lean_is_exclusive(x_65); -if (x_66 == 0) -{ -lean_object* x_67; -x_67 = lean_ctor_get(x_65, 0); -lean_ctor_set(x_3, 1, x_67); -lean_ctor_set(x_65, 0, x_3); -return x_63; -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_65, 0); -x_69 = lean_ctor_get(x_65, 1); -lean_inc(x_69); -lean_inc(x_68); -lean_dec(x_65); -lean_ctor_set(x_3, 1, x_68); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_3); -lean_ctor_set(x_70, 1, x_69); -lean_ctor_set(x_63, 0, x_70); -return x_63; -} -} -else -{ -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_71 = lean_ctor_get(x_63, 0); -x_72 = lean_ctor_get(x_63, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_63); -x_73 = lean_ctor_get(x_71, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_71, 1); -lean_inc(x_74); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_75 = x_71; -} else { - lean_dec_ref(x_71); - x_75 = lean_box(0); -} -lean_ctor_set(x_3, 1, x_73); -if (lean_is_scalar(x_75)) { - x_76 = lean_alloc_ctor(0, 2, 0); -} else { - x_76 = x_75; -} -lean_ctor_set(x_76, 0, x_3); -lean_ctor_set(x_76, 1, x_74); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_72); -return x_77; -} -} -else -{ -uint8_t x_78; -lean_free_object(x_3); -lean_dec(x_7); -x_78 = !lean_is_exclusive(x_63); -if (x_78 == 0) -{ -return x_63; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_63, 0); -x_80 = lean_ctor_get(x_63, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_63); -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_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_dec(x_3); -x_82 = lean_box_usize(x_12); -x_83 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; -x_84 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__2___boxed), 6, 3); -lean_closure_set(x_84, 0, x_82); -lean_closure_set(x_84, 1, x_83); -lean_closure_set(x_84, 2, x_13); -x_85 = x_84; -x_86 = lean_apply_3(x_85, x_4, x_5, x_6); -if (lean_obj_tag(x_86) == 0) +x_30 = lean_box_usize(x_12); +x_31 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; +x_32 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__2___boxed), 6, 3); +lean_closure_set(x_32, 0, x_30); +lean_closure_set(x_32, 1, x_31); +lean_closure_set(x_32, 2, x_13); +x_33 = x_32; +x_34 = lean_apply_3(x_33, x_4, x_5, x_6); +if (lean_obj_tag(x_34) == 0) { -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; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_89 = x_86; -} else { - lean_dec_ref(x_86); - x_89 = lean_box(0); -} -x_90 = lean_ctor_get(x_87, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_87, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - x_92 = x_87; -} else { - lean_dec_ref(x_87); - x_92 = lean_box(0); -} -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_7); -lean_ctor_set(x_93, 1, x_90); -if (lean_is_scalar(x_92)) { - x_94 = lean_alloc_ctor(0, 2, 0); -} else { - x_94 = x_92; -} -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_91); -if (lean_is_scalar(x_89)) { - x_95 = lean_alloc_ctor(0, 2, 0); -} else { - x_95 = x_89; -} -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_88); -return x_95; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_7); +lean_ctor_set(x_39, 1, x_37); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_36); +return x_41; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_dec(x_7); -x_96 = lean_ctor_get(x_86, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_86, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_98 = x_86; -} else { - lean_dec_ref(x_86); - x_98 = lean_box(0); -} -if (lean_is_scalar(x_98)) { - x_99 = lean_alloc_ctor(1, 2, 0); -} else { - x_99 = x_98; -} -lean_ctor_set(x_99, 0, x_96); -lean_ctor_set(x_99, 1, x_97); -return x_99; -} -} -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = lean_box_usize(x_12); -x_101 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; -lean_inc(x_3); -x_102 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__3___boxed), 7, 4); -lean_closure_set(x_102, 0, x_3); -lean_closure_set(x_102, 1, x_100); -lean_closure_set(x_102, 2, x_101); -lean_closure_set(x_102, 3, x_13); -x_103 = !lean_is_exclusive(x_3); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_104 = lean_ctor_get(x_3, 1); -lean_dec(x_104); -x_105 = lean_ctor_get(x_3, 0); -lean_dec(x_105); -x_106 = x_102; -x_107 = lean_apply_3(x_106, x_4, x_5, x_6); -if (lean_obj_tag(x_107) == 0) -{ -uint8_t x_108; -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) -{ -lean_object* x_109; uint8_t x_110; -x_109 = lean_ctor_get(x_107, 0); -x_110 = !lean_is_exclusive(x_109); -if (x_110 == 0) -{ -lean_object* x_111; -x_111 = lean_ctor_get(x_109, 0); -lean_ctor_set(x_3, 1, x_111); -lean_ctor_set(x_109, 0, x_3); -return x_107; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_109, 0); -x_113 = lean_ctor_get(x_109, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_109); -lean_ctor_set(x_3, 1, x_112); -x_114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_114, 0, x_3); -lean_ctor_set(x_114, 1, x_113); -lean_ctor_set(x_107, 0, x_114); -return x_107; +x_42 = lean_ctor_get(x_34, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_34, 1); +lean_inc(x_43); +lean_dec(x_34); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } else { -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; -x_115 = lean_ctor_get(x_107, 0); -x_116 = lean_ctor_get(x_107, 1); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_107); -x_117 = lean_ctor_get(x_115, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_115, 1); -lean_inc(x_118); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - x_119 = x_115; -} else { - lean_dec_ref(x_115); - x_119 = lean_box(0); -} -lean_ctor_set(x_3, 1, x_117); -if (lean_is_scalar(x_119)) { - x_120 = lean_alloc_ctor(0, 2, 0); -} else { - x_120 = x_119; -} -lean_ctor_set(x_120, 0, x_3); -lean_ctor_set(x_120, 1, x_118); -x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_116); -return x_121; -} +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_box_usize(x_12); +x_46 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; +x_47 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__3___boxed), 7, 4); +lean_closure_set(x_47, 0, x_3); +lean_closure_set(x_47, 1, x_45); +lean_closure_set(x_47, 2, x_46); +lean_closure_set(x_47, 3, x_13); +x_48 = x_47; +x_49 = lean_apply_3(x_48, x_4, x_5, x_6); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +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); +x_52 = lean_ctor_get(x_50, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_7); +lean_ctor_set(x_54, 1, x_52); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_51); +return x_56; } else { -uint8_t x_122; -lean_free_object(x_3); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_dec(x_7); -x_122 = !lean_is_exclusive(x_107); -if (x_122 == 0) -{ -return x_107; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_107, 0); -x_124 = lean_ctor_get(x_107, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_107); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; -} -} -} -else -{ -lean_object* x_126; lean_object* x_127; -lean_dec(x_3); -x_126 = x_102; -x_127 = lean_apply_3(x_126, x_4, x_5, x_6); -if (lean_obj_tag(x_127) == 0) -{ -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; -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_130 = x_127; -} else { - lean_dec_ref(x_127); - x_130 = lean_box(0); -} -x_131 = lean_ctor_get(x_128, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_128, 1); -lean_inc(x_132); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_133 = x_128; -} else { - lean_dec_ref(x_128); - x_133 = lean_box(0); -} -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_7); -lean_ctor_set(x_134, 1, x_131); -if (lean_is_scalar(x_133)) { - x_135 = lean_alloc_ctor(0, 2, 0); -} else { - x_135 = x_133; -} -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_132); -if (lean_is_scalar(x_130)) { - x_136 = lean_alloc_ctor(0, 2, 0); -} else { - x_136 = x_130; -} -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_129); -return x_136; -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -lean_dec(x_7); -x_137 = lean_ctor_get(x_127, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_127, 1); -lean_inc(x_138); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_139 = x_127; -} else { - lean_dec_ref(x_127); - x_139 = lean_box(0); -} -if (lean_is_scalar(x_139)) { - x_140 = lean_alloc_ctor(1, 2, 0); -} else { - x_140 = x_139; -} -lean_ctor_set(x_140, 0, x_137); -lean_ctor_set(x_140, 1, x_138); -return x_140; +x_57 = lean_ctor_get(x_49, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_49, 1); +lean_inc(x_58); +lean_dec(x_49); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } -} -block_269: +block_107: { if (x_1 == 0) { -lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; -x_143 = lean_box_usize(x_12); -x_144 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; -lean_inc(x_3); -x_145 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__4___boxed), 7, 4); -lean_closure_set(x_145, 0, x_3); -lean_closure_set(x_145, 1, x_143); -lean_closure_set(x_145, 2, x_144); -lean_closure_set(x_145, 3, x_13); -x_146 = !lean_is_exclusive(x_3); -if (x_146 == 0) +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_62 = lean_box_usize(x_12); +x_63 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; +x_64 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__4___boxed), 7, 4); +lean_closure_set(x_64, 0, x_3); +lean_closure_set(x_64, 1, x_62); +lean_closure_set(x_64, 2, x_63); +lean_closure_set(x_64, 3, x_13); +x_65 = x_64; +x_66 = lean_apply_3(x_65, x_4, x_5, x_6); +if (lean_obj_tag(x_66) == 0) { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_147 = lean_ctor_get(x_3, 1); -lean_dec(x_147); -x_148 = lean_ctor_get(x_3, 0); -lean_dec(x_148); -x_149 = x_145; -x_150 = lean_apply_3(x_149, x_4, x_5, x_6); -if (lean_obj_tag(x_150) == 0) -{ -uint8_t x_151; -x_151 = !lean_is_exclusive(x_150); -if (x_151 == 0) -{ -lean_object* x_152; uint8_t x_153; -x_152 = lean_ctor_get(x_150, 0); -x_153 = !lean_is_exclusive(x_152); -if (x_153 == 0) -{ -lean_object* x_154; -x_154 = lean_ctor_get(x_152, 0); -lean_ctor_set(x_3, 1, x_154); -lean_ctor_set(x_152, 0, x_3); -return x_150; +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; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_7); +lean_ctor_set(x_71, 1, x_69); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_68); +return x_73; } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_155 = lean_ctor_get(x_152, 0); -x_156 = lean_ctor_get(x_152, 1); -lean_inc(x_156); -lean_inc(x_155); -lean_dec(x_152); -lean_ctor_set(x_3, 1, x_155); -x_157 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_157, 0, x_3); -lean_ctor_set(x_157, 1, x_156); -lean_ctor_set(x_150, 0, x_157); -return x_150; -} -} -else -{ -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; -x_158 = lean_ctor_get(x_150, 0); -x_159 = lean_ctor_get(x_150, 1); -lean_inc(x_159); -lean_inc(x_158); -lean_dec(x_150); -x_160 = lean_ctor_get(x_158, 0); -lean_inc(x_160); -x_161 = lean_ctor_get(x_158, 1); -lean_inc(x_161); -if (lean_is_exclusive(x_158)) { - lean_ctor_release(x_158, 0); - lean_ctor_release(x_158, 1); - x_162 = x_158; -} else { - lean_dec_ref(x_158); - x_162 = lean_box(0); -} -lean_ctor_set(x_3, 1, x_160); -if (lean_is_scalar(x_162)) { - x_163 = lean_alloc_ctor(0, 2, 0); -} else { - x_163 = x_162; -} -lean_ctor_set(x_163, 0, x_3); -lean_ctor_set(x_163, 1, x_161); -x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_159); -return x_164; -} -} -else -{ -uint8_t x_165; -lean_free_object(x_3); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_dec(x_7); -x_165 = !lean_is_exclusive(x_150); -if (x_165 == 0) -{ -return x_150; -} -else -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = lean_ctor_get(x_150, 0); -x_167 = lean_ctor_get(x_150, 1); -lean_inc(x_167); -lean_inc(x_166); -lean_dec(x_150); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_166); -lean_ctor_set(x_168, 1, x_167); -return x_168; -} +x_74 = lean_ctor_get(x_66, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_66, 1); +lean_inc(x_75); +lean_dec(x_66); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } else { -lean_object* x_169; lean_object* x_170; +if (x_61 == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_dec(x_3); -x_169 = x_145; -x_170 = lean_apply_3(x_169, x_4, x_5, x_6); -if (lean_obj_tag(x_170) == 0) +x_77 = lean_box_usize(x_12); +x_78 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; +x_79 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__5___boxed), 6, 3); +lean_closure_set(x_79, 0, x_77); +lean_closure_set(x_79, 1, x_78); +lean_closure_set(x_79, 2, x_13); +x_80 = x_79; +x_81 = lean_apply_3(x_80, x_4, x_5, x_6); +if (lean_obj_tag(x_81) == 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; -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); -if (lean_is_exclusive(x_170)) { - lean_ctor_release(x_170, 0); - lean_ctor_release(x_170, 1); - x_173 = x_170; -} else { - lean_dec_ref(x_170); - x_173 = lean_box(0); -} -x_174 = lean_ctor_get(x_171, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_171, 1); -lean_inc(x_175); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - lean_ctor_release(x_171, 1); - x_176 = x_171; -} else { - lean_dec_ref(x_171); - x_176 = lean_box(0); -} -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_7); -lean_ctor_set(x_177, 1, x_174); -if (lean_is_scalar(x_176)) { - x_178 = lean_alloc_ctor(0, 2, 0); -} else { - x_178 = x_176; -} -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_175); -if (lean_is_scalar(x_173)) { - x_179 = lean_alloc_ctor(0, 2, 0); -} else { - x_179 = x_173; -} -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_172); -return x_179; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = lean_ctor_get(x_82, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +lean_dec(x_82); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_7); +lean_ctor_set(x_86, 1, x_84); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_85); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_83); +return x_88; } else { -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_dec(x_7); -x_180 = lean_ctor_get(x_170, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_170, 1); -lean_inc(x_181); -if (lean_is_exclusive(x_170)) { - lean_ctor_release(x_170, 0); - lean_ctor_release(x_170, 1); - x_182 = x_170; -} else { - lean_dec_ref(x_170); - x_182 = lean_box(0); -} -if (lean_is_scalar(x_182)) { - x_183 = lean_alloc_ctor(1, 2, 0); -} else { - x_183 = x_182; -} -lean_ctor_set(x_183, 0, x_180); -lean_ctor_set(x_183, 1, x_181); -return x_183; -} -} -} -else -{ -if (x_142 == 0) -{ -uint8_t x_184; -x_184 = !lean_is_exclusive(x_3); -if (x_184 == 0) -{ -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; -x_185 = lean_ctor_get(x_3, 1); -lean_dec(x_185); -x_186 = lean_ctor_get(x_3, 0); -lean_dec(x_186); -x_187 = lean_box_usize(x_12); -x_188 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; -x_189 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__5___boxed), 6, 3); -lean_closure_set(x_189, 0, x_187); -lean_closure_set(x_189, 1, x_188); -lean_closure_set(x_189, 2, x_13); -x_190 = x_189; -x_191 = lean_apply_3(x_190, x_4, x_5, x_6); -if (lean_obj_tag(x_191) == 0) -{ -uint8_t x_192; -x_192 = !lean_is_exclusive(x_191); -if (x_192 == 0) -{ -lean_object* x_193; uint8_t x_194; -x_193 = lean_ctor_get(x_191, 0); -x_194 = !lean_is_exclusive(x_193); -if (x_194 == 0) -{ -lean_object* x_195; -x_195 = lean_ctor_get(x_193, 0); -lean_ctor_set(x_3, 1, x_195); -lean_ctor_set(x_193, 0, x_3); -return x_191; -} -else -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_196 = lean_ctor_get(x_193, 0); -x_197 = lean_ctor_get(x_193, 1); -lean_inc(x_197); -lean_inc(x_196); -lean_dec(x_193); -lean_ctor_set(x_3, 1, x_196); -x_198 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_198, 0, x_3); -lean_ctor_set(x_198, 1, x_197); -lean_ctor_set(x_191, 0, x_198); -return x_191; +x_89 = lean_ctor_get(x_81, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_81, 1); +lean_inc(x_90); +lean_dec(x_81); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +return x_91; } } else { -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; -x_199 = lean_ctor_get(x_191, 0); -x_200 = lean_ctor_get(x_191, 1); -lean_inc(x_200); -lean_inc(x_199); -lean_dec(x_191); -x_201 = lean_ctor_get(x_199, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_199, 1); -lean_inc(x_202); -if (lean_is_exclusive(x_199)) { - lean_ctor_release(x_199, 0); - lean_ctor_release(x_199, 1); - x_203 = x_199; -} else { - lean_dec_ref(x_199); - x_203 = lean_box(0); -} -lean_ctor_set(x_3, 1, x_201); -if (lean_is_scalar(x_203)) { - x_204 = lean_alloc_ctor(0, 2, 0); -} else { - x_204 = x_203; -} -lean_ctor_set(x_204, 0, x_3); -lean_ctor_set(x_204, 1, x_202); -x_205 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_205, 0, x_204); -lean_ctor_set(x_205, 1, x_200); -return x_205; -} +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_92 = lean_box_usize(x_12); +x_93 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; +x_94 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__6___boxed), 7, 4); +lean_closure_set(x_94, 0, x_3); +lean_closure_set(x_94, 1, x_92); +lean_closure_set(x_94, 2, x_93); +lean_closure_set(x_94, 3, x_13); +x_95 = x_94; +x_96 = lean_apply_3(x_95, x_4, x_5, x_6); +if (lean_obj_tag(x_96) == 0) +{ +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; +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +x_99 = lean_ctor_get(x_97, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_97, 1); +lean_inc(x_100); +lean_dec(x_97); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_7); +lean_ctor_set(x_101, 1, x_99); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_98); +return x_103; } else { -uint8_t x_206; -lean_free_object(x_3); +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_dec(x_7); -x_206 = !lean_is_exclusive(x_191); -if (x_206 == 0) -{ -return x_191; -} -else -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_207 = lean_ctor_get(x_191, 0); -x_208 = lean_ctor_get(x_191, 1); -lean_inc(x_208); -lean_inc(x_207); -lean_dec(x_191); -x_209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_209, 0, x_207); -lean_ctor_set(x_209, 1, x_208); -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_dec(x_3); -x_210 = lean_box_usize(x_12); -x_211 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; -x_212 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__5___boxed), 6, 3); -lean_closure_set(x_212, 0, x_210); -lean_closure_set(x_212, 1, x_211); -lean_closure_set(x_212, 2, x_13); -x_213 = x_212; -x_214 = lean_apply_3(x_213, x_4, x_5, x_6); -if (lean_obj_tag(x_214) == 0) -{ -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_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -if (lean_is_exclusive(x_214)) { - lean_ctor_release(x_214, 0); - lean_ctor_release(x_214, 1); - x_217 = x_214; -} else { - lean_dec_ref(x_214); - x_217 = lean_box(0); -} -x_218 = lean_ctor_get(x_215, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_215, 1); -lean_inc(x_219); -if (lean_is_exclusive(x_215)) { - lean_ctor_release(x_215, 0); - lean_ctor_release(x_215, 1); - x_220 = x_215; -} else { - lean_dec_ref(x_215); - x_220 = lean_box(0); -} -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_7); -lean_ctor_set(x_221, 1, x_218); -if (lean_is_scalar(x_220)) { - x_222 = lean_alloc_ctor(0, 2, 0); -} else { - x_222 = x_220; -} -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_219); -if (lean_is_scalar(x_217)) { - x_223 = lean_alloc_ctor(0, 2, 0); -} else { - x_223 = x_217; -} -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_216); -return x_223; -} -else -{ -lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; -lean_dec(x_7); -x_224 = lean_ctor_get(x_214, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_214, 1); -lean_inc(x_225); -if (lean_is_exclusive(x_214)) { - lean_ctor_release(x_214, 0); - lean_ctor_release(x_214, 1); - x_226 = x_214; -} else { - lean_dec_ref(x_214); - x_226 = lean_box(0); -} -if (lean_is_scalar(x_226)) { - x_227 = lean_alloc_ctor(1, 2, 0); -} else { - x_227 = x_226; -} -lean_ctor_set(x_227, 0, x_224); -lean_ctor_set(x_227, 1, x_225); -return x_227; -} -} -} -else -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; -x_228 = lean_box_usize(x_12); -x_229 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1; -lean_inc(x_3); -x_230 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__6___boxed), 7, 4); -lean_closure_set(x_230, 0, x_3); -lean_closure_set(x_230, 1, x_228); -lean_closure_set(x_230, 2, x_229); -lean_closure_set(x_230, 3, x_13); -x_231 = !lean_is_exclusive(x_3); -if (x_231 == 0) -{ -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_232 = lean_ctor_get(x_3, 1); -lean_dec(x_232); -x_233 = lean_ctor_get(x_3, 0); -lean_dec(x_233); -x_234 = x_230; -x_235 = lean_apply_3(x_234, x_4, x_5, x_6); -if (lean_obj_tag(x_235) == 0) -{ -uint8_t x_236; -x_236 = !lean_is_exclusive(x_235); -if (x_236 == 0) -{ -lean_object* x_237; uint8_t x_238; -x_237 = lean_ctor_get(x_235, 0); -x_238 = !lean_is_exclusive(x_237); -if (x_238 == 0) -{ -lean_object* x_239; -x_239 = lean_ctor_get(x_237, 0); -lean_ctor_set(x_3, 1, x_239); -lean_ctor_set(x_237, 0, x_3); -return x_235; -} -else -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_240 = lean_ctor_get(x_237, 0); -x_241 = lean_ctor_get(x_237, 1); -lean_inc(x_241); -lean_inc(x_240); -lean_dec(x_237); -lean_ctor_set(x_3, 1, x_240); -x_242 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_242, 0, x_3); -lean_ctor_set(x_242, 1, x_241); -lean_ctor_set(x_235, 0, x_242); -return x_235; -} -} -else -{ -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; -x_243 = lean_ctor_get(x_235, 0); -x_244 = lean_ctor_get(x_235, 1); -lean_inc(x_244); -lean_inc(x_243); -lean_dec(x_235); -x_245 = lean_ctor_get(x_243, 0); -lean_inc(x_245); -x_246 = lean_ctor_get(x_243, 1); -lean_inc(x_246); -if (lean_is_exclusive(x_243)) { - lean_ctor_release(x_243, 0); - lean_ctor_release(x_243, 1); - x_247 = x_243; -} else { - lean_dec_ref(x_243); - x_247 = lean_box(0); -} -lean_ctor_set(x_3, 1, x_245); -if (lean_is_scalar(x_247)) { - x_248 = lean_alloc_ctor(0, 2, 0); -} else { - x_248 = x_247; -} -lean_ctor_set(x_248, 0, x_3); -lean_ctor_set(x_248, 1, x_246); -x_249 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_244); -return x_249; -} -} -else -{ -uint8_t x_250; -lean_free_object(x_3); -lean_dec(x_7); -x_250 = !lean_is_exclusive(x_235); -if (x_250 == 0) -{ -return x_235; -} -else -{ -lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_251 = lean_ctor_get(x_235, 0); -x_252 = lean_ctor_get(x_235, 1); -lean_inc(x_252); -lean_inc(x_251); -lean_dec(x_235); -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_251); -lean_ctor_set(x_253, 1, x_252); -return x_253; -} -} -} -else -{ -lean_object* x_254; lean_object* x_255; -lean_dec(x_3); -x_254 = x_230; -x_255 = lean_apply_3(x_254, x_4, x_5, x_6); -if (lean_obj_tag(x_255) == 0) -{ -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; -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_255, 1); -lean_inc(x_257); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_258 = x_255; -} else { - lean_dec_ref(x_255); - x_258 = lean_box(0); -} -x_259 = lean_ctor_get(x_256, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_256, 1); -lean_inc(x_260); -if (lean_is_exclusive(x_256)) { - lean_ctor_release(x_256, 0); - lean_ctor_release(x_256, 1); - x_261 = x_256; -} else { - lean_dec_ref(x_256); - x_261 = lean_box(0); -} -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_7); -lean_ctor_set(x_262, 1, x_259); -if (lean_is_scalar(x_261)) { - x_263 = lean_alloc_ctor(0, 2, 0); -} else { - x_263 = x_261; -} -lean_ctor_set(x_263, 0, x_262); -lean_ctor_set(x_263, 1, x_260); -if (lean_is_scalar(x_258)) { - x_264 = lean_alloc_ctor(0, 2, 0); -} else { - x_264 = x_258; -} -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_257); -return x_264; -} -else -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; -lean_dec(x_7); -x_265 = lean_ctor_get(x_255, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_255, 1); -lean_inc(x_266); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_267 = x_255; -} else { - lean_dec_ref(x_255); - x_267 = lean_box(0); -} -if (lean_is_scalar(x_267)) { - x_268 = lean_alloc_ctor(1, 2, 0); -} else { - x_268 = x_267; -} -lean_ctor_set(x_268, 0, x_265); -lean_ctor_set(x_268, 1, x_266); -return x_268; -} +x_104 = lean_ctor_get(x_96, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_96, 1); +lean_inc(x_105); +lean_dec(x_96); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; } } } @@ -52531,15 +31988,15 @@ return x_268; } else { -lean_object* x_360; lean_object* x_361; +lean_object* x_153; lean_object* x_154; lean_dec(x_5); -x_360 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_360, 0, x_3); -lean_ctor_set(x_360, 1, x_4); -x_361 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_361, 0, x_360); -lean_ctor_set(x_361, 1, x_6); -return x_361; +x_153 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_153, 0, x_3); +lean_ctor_set(x_153, 1, x_4); +x_154 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_6); +return x_154; } } } @@ -52700,91 +32157,37 @@ x_9 = 0; x_10 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux(x_9, x_9, x_1, x_8, x_2, x_3); if (lean_obj_tag(x_10) == 0) { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_10, 0); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -lean_ctor_set(x_12, 1, x_14); -lean_ctor_set(x_12, 0, x_15); -return 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_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 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_12); +return x_16; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_12, 0); -x_17 = lean_ctor_get(x_12, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_10, 0); lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_12); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -lean_ctor_set(x_10, 0, x_18); -return x_10; -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_19 = lean_ctor_get(x_10, 0); -x_20 = lean_ctor_get(x_10, 1); -lean_inc(x_20); -lean_inc(x_19); +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); lean_dec(x_10); -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - x_23 = x_19; -} else { - lean_dec_ref(x_19); - x_23 = lean_box(0); -} -if (lean_is_scalar(x_23)) { - x_24 = lean_alloc_ctor(0, 2, 0); -} else { - x_24 = x_23; -} -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_21); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_20); -return x_25; -} -} -else -{ -uint8_t x_26; -x_26 = !lean_is_exclusive(x_10); -if (x_26 == 0) -{ -return x_10; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_10, 0); -x_28 = lean_ctor_get(x_10, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_10); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; } } } @@ -52792,54 +32195,35 @@ return x_29; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___spec__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) { _start: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 3); -x_13 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 3, x_13); -x_14 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -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; lean_object* x_24; lean_object* x_25; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -x_17 = lean_ctor_get(x_8, 2); -x_18 = lean_ctor_get(x_8, 3); -x_19 = lean_ctor_get(x_8, 4); -x_20 = lean_ctor_get(x_8, 5); -x_21 = lean_ctor_get(x_8, 6); -x_22 = lean_ctor_get(x_8, 7); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); +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_11 = lean_ctor_get(x_8, 0); +x_12 = lean_ctor_get(x_8, 1); +x_13 = lean_ctor_get(x_8, 2); +x_14 = lean_ctor_get(x_8, 3); +x_15 = lean_ctor_get(x_8, 4); +x_16 = lean_ctor_get(x_8, 5); +x_17 = lean_ctor_get(x_8, 6); +x_18 = lean_ctor_get(x_8, 7); +x_19 = l_Lean_replaceRef(x_1, x_14); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_dec(x_8); -x_23 = l_Lean_replaceRef(x_1, x_18); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_24, 0, x_15); -lean_ctor_set(x_24, 1, x_16); -lean_ctor_set(x_24, 2, x_17); -lean_ctor_set(x_24, 3, x_23); -lean_ctor_set(x_24, 4, x_19); -lean_ctor_set(x_24, 5, x_20); -lean_ctor_set(x_24, 6, x_21); -lean_ctor_set(x_24, 7, x_22); -x_25 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); -lean_dec(x_24); -return x_25; -} +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_20 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_12); +lean_ctor_set(x_20, 2, x_13); +lean_ctor_set(x_20, 3, x_19); +lean_ctor_set(x_20, 4, x_15); +lean_ctor_set(x_20, 5, x_16); +lean_ctor_set(x_20, 6, x_17); +lean_ctor_set(x_20, 7, x_18); +x_21 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_10); +lean_dec(x_20); +return x_21; } } static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__1() { @@ -52931,7 +32315,6 @@ if (x_30 == 0) { lean_object* x_31; lean_object* x_32; lean_dec(x_10); -lean_dec(x_7); lean_dec(x_1); x_31 = lean_box(0); x_32 = lean_alloc_ctor(0, 2, 0); @@ -53012,6 +32395,7 @@ _start: lean_object* x_11; x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -53027,6 +32411,7 @@ _start: lean_object* x_10; x_10 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -53057,443 +32442,122 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode_ return x_1; } } +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit), 2, 0); +return x_1; +} +} lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode(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) { _start: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -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_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_11 = lean_ctor_get(x_8, 0); x_12 = lean_ctor_get(x_8, 1); x_13 = lean_ctor_get(x_8, 2); x_14 = lean_ctor_get(x_8, 3); x_15 = lean_ctor_get(x_8, 4); x_16 = lean_ctor_get(x_8, 5); -x_17 = l_Lean_replaceRef(x_1, x_14); -lean_dec(x_14); +x_17 = lean_ctor_get(x_8, 6); +x_18 = lean_ctor_get(x_8, 7); +x_19 = l_Lean_replaceRef(x_1, x_14); +lean_inc(x_18); +lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_inc(x_17); lean_inc(x_13); lean_inc(x_12); -lean_ctor_set(x_8, 3, x_17); -x_18 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_18) == 0) +lean_inc(x_11); +x_20 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_12); +lean_ctor_set(x_20, 2, x_13); +lean_ctor_set(x_20, 3, x_19); +lean_ctor_set(x_20, 4, x_15); +lean_ctor_set(x_20, 5, x_16); +lean_ctor_set(x_20, 6, x_17); +lean_ctor_set(x_20, 7, x_18); +x_21 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_10); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_unsigned_to_nat(1u); -x_21 = l_Lean_Syntax_getArg(x_1, x_20); -x_22 = l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__1; -x_23 = l_Lean_Syntax_isNone(x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -x_24 = lean_unsigned_to_nat(0u); -x_25 = l_Lean_Syntax_getArg(x_21, x_24); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); lean_dec(x_21); -x_26 = lean_apply_9(x_22, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); -return x_26; +x_23 = lean_unsigned_to_nat(1u); +x_24 = l_Lean_Syntax_getArg(x_1, x_23); +x_25 = l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__1; +x_26 = l_Lean_Syntax_isNone(x_24); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_unsigned_to_nat(0u); +x_28 = l_Lean_Syntax_getArg(x_24, x_27); +lean_dec(x_24); +x_29 = lean_apply_9(x_25, x_28, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_22); +return x_29; } else { -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; -lean_dec(x_21); -x_27 = lean_st_ref_get(x_9, x_19); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_ctor_get(x_28, 0); -lean_inc(x_30); -lean_dec(x_28); -lean_inc(x_30); -x_31 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_31, 0, x_30); -lean_inc(x_15); -x_32 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_32, 0, x_15); -lean_inc(x_30); -x_33 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_33, 0, x_30); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_30); -x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_34, 0, x_30); -lean_closure_set(x_34, 1, x_15); -lean_closure_set(x_34, 2, x_16); -lean_inc(x_30); -x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_35, 0, x_30); -lean_closure_set(x_35, 1, x_15); -lean_closure_set(x_35, 2, x_16); -x_36 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_36, 0, x_31); -lean_ctor_set(x_36, 1, x_32); -lean_ctor_set(x_36, 2, x_33); -lean_ctor_set(x_36, 3, x_34); -lean_ctor_set(x_36, 4, x_35); -x_37 = x_36; -x_38 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_29); -x_39 = lean_ctor_get(x_38, 0); +lean_object* x_30; lean_object* x_31; +lean_dec(x_24); +x_30 = l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__2; +lean_inc(x_20); +x_31 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_30, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_22); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_apply_9(x_25, x_32, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_33); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_20); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_35 = lean_ctor_get(x_31, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_31, 1); +lean_inc(x_36); +lean_dec(x_31); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_20); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_38 = lean_ctor_get(x_21, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_21, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_st_ref_get(x_9, x_40); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_environment_main_module(x_30); -x_46 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_46, 0, x_37); -lean_ctor_set(x_46, 1, x_45); -lean_ctor_set(x_46, 2, x_39); -lean_ctor_set(x_46, 3, x_12); -lean_ctor_set(x_46, 4, x_13); -lean_ctor_set(x_46, 5, x_17); -x_47 = lean_box(0); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_44); -lean_ctor_set(x_48, 1, x_47); -x_49 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit(x_46, x_48); -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); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_st_ref_take(x_9, x_43); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = !lean_is_exclusive(x_54); -if (x_56 == 0) -{ -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; -x_57 = lean_ctor_get(x_54, 1); -lean_dec(x_57); -lean_ctor_set(x_54, 1, x_52); -x_58 = lean_st_ref_set(x_9, x_54, x_55); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = lean_ctor_get(x_51, 1); -lean_inc(x_60); -lean_dec(x_51); -x_61 = l_List_reverse___rarg(x_60); -x_62 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_61, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_59); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_64 = lean_apply_9(x_22, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, 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; lean_object* x_74; lean_object* x_75; -x_65 = lean_ctor_get(x_54, 0); -x_66 = lean_ctor_get(x_54, 2); -x_67 = lean_ctor_get(x_54, 3); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_54); -x_68 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_68, 0, x_65); -lean_ctor_set(x_68, 1, x_52); -lean_ctor_set(x_68, 2, x_66); -lean_ctor_set(x_68, 3, x_67); -x_69 = lean_st_ref_set(x_9, x_68, x_55); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_71 = lean_ctor_get(x_51, 1); -lean_inc(x_71); -lean_dec(x_51); -x_72 = l_List_reverse___rarg(x_71); -x_73 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_70); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_apply_9(x_22, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_74); -return x_75; -} -} -} -else -{ -uint8_t x_76; -lean_dec(x_8); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_76 = !lean_is_exclusive(x_18); -if (x_76 == 0) -{ -return x_18; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_18, 0); -x_78 = lean_ctor_get(x_18, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_18); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_80 = lean_ctor_get(x_8, 0); -x_81 = lean_ctor_get(x_8, 1); -x_82 = lean_ctor_get(x_8, 2); -x_83 = lean_ctor_get(x_8, 3); -x_84 = lean_ctor_get(x_8, 4); -x_85 = lean_ctor_get(x_8, 5); -x_86 = lean_ctor_get(x_8, 6); -x_87 = lean_ctor_get(x_8, 7); -lean_inc(x_87); -lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_8); -x_88 = l_Lean_replaceRef(x_1, x_83); -lean_dec(x_83); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_88); -lean_inc(x_82); -lean_inc(x_81); -x_89 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_89, 0, x_80); -lean_ctor_set(x_89, 1, x_81); -lean_ctor_set(x_89, 2, x_82); -lean_ctor_set(x_89, 3, x_88); -lean_ctor_set(x_89, 4, x_84); -lean_ctor_set(x_89, 5, x_85); -lean_ctor_set(x_89, 6, x_86); -lean_ctor_set(x_89, 7, x_87); -x_90 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_2, x_3, x_4, x_5, x_6, x_7, x_89, x_9, x_10); -if (lean_obj_tag(x_90) == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_92 = lean_unsigned_to_nat(1u); -x_93 = l_Lean_Syntax_getArg(x_1, x_92); -x_94 = l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__1; -x_95 = l_Lean_Syntax_isNone(x_93); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_88); -lean_dec(x_85); -lean_dec(x_84); -lean_dec(x_82); -lean_dec(x_81); -x_96 = lean_unsigned_to_nat(0u); -x_97 = l_Lean_Syntax_getArg(x_93, x_96); -lean_dec(x_93); -x_98 = lean_apply_9(x_94, x_97, x_3, x_4, x_5, x_6, x_7, x_89, x_9, x_91); -return x_98; -} -else -{ -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_dec(x_93); -x_99 = lean_st_ref_get(x_9, x_91); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_ctor_get(x_100, 0); -lean_inc(x_102); -lean_dec(x_100); -lean_inc(x_102); -x_103 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_103, 0, x_102); -lean_inc(x_84); -x_104 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_104, 0, x_84); -lean_inc(x_102); -x_105 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_105, 0, x_102); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_102); -x_106 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_106, 0, x_102); -lean_closure_set(x_106, 1, x_84); -lean_closure_set(x_106, 2, x_85); -lean_inc(x_102); -x_107 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_107, 0, x_102); -lean_closure_set(x_107, 1, x_84); -lean_closure_set(x_107, 2, x_85); -x_108 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_108, 0, x_103); -lean_ctor_set(x_108, 1, x_104); -lean_ctor_set(x_108, 2, x_105); -lean_ctor_set(x_108, 3, x_106); -lean_ctor_set(x_108, 4, x_107); -x_109 = x_108; -x_110 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_89, x_9, x_101); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_113 = lean_st_ref_get(x_9, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -lean_dec(x_114); -x_117 = lean_environment_main_module(x_102); -x_118 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_118, 0, x_109); -lean_ctor_set(x_118, 1, x_117); -lean_ctor_set(x_118, 2, x_111); -lean_ctor_set(x_118, 3, x_81); -lean_ctor_set(x_118, 4, x_82); -lean_ctor_set(x_118, 5, x_88); -x_119 = lean_box(0); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_116); -lean_ctor_set(x_120, 1, x_119); -x_121 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit(x_118, x_120); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_st_ref_take(x_9, x_115); -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); -lean_inc(x_127); -lean_dec(x_125); -x_128 = lean_ctor_get(x_126, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_126, 2); -lean_inc(x_129); -x_130 = lean_ctor_get(x_126, 3); -lean_inc(x_130); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - lean_ctor_release(x_126, 2); - lean_ctor_release(x_126, 3); - x_131 = x_126; -} else { - lean_dec_ref(x_126); - x_131 = lean_box(0); -} -if (lean_is_scalar(x_131)) { - x_132 = lean_alloc_ctor(0, 4, 0); -} else { - x_132 = x_131; -} -lean_ctor_set(x_132, 0, x_128); -lean_ctor_set(x_132, 1, x_124); -lean_ctor_set(x_132, 2, x_129); -lean_ctor_set(x_132, 3, x_130); -x_133 = lean_st_ref_set(x_9, x_132, x_127); -x_134 = lean_ctor_get(x_133, 1); -lean_inc(x_134); -lean_dec(x_133); -x_135 = lean_ctor_get(x_123, 1); -lean_inc(x_135); -lean_dec(x_123); -x_136 = l_List_reverse___rarg(x_135); -x_137 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_136, x_3, x_4, x_5, x_6, x_7, x_89, x_9, x_134); -x_138 = lean_ctor_get(x_137, 1); -lean_inc(x_138); -lean_dec(x_137); -x_139 = lean_apply_9(x_94, x_122, x_3, x_4, x_5, x_6, x_7, x_89, x_9, x_138); -return x_139; -} -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -lean_dec(x_89); -lean_dec(x_88); -lean_dec(x_85); -lean_dec(x_84); -lean_dec(x_82); -lean_dec(x_81); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_140 = lean_ctor_get(x_90, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_90, 1); -lean_inc(x_141); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_142 = x_90; -} else { - lean_dec_ref(x_90); - x_142 = lean_box(0); -} -if (lean_is_scalar(x_142)) { - x_143 = lean_alloc_ctor(1, 2, 0); -} else { - x_143 = x_142; -} -lean_ctor_set(x_143, 0, x_140); -lean_ctor_set(x_143, 1, x_141); -return x_143; -} +lean_dec(x_21); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } @@ -53516,6 +32580,7 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); return x_11; @@ -53993,7 +33058,7 @@ return x_17; } else { -uint8_t x_18; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); @@ -54002,142 +33067,487 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_18 = !lean_is_exclusive(x_13); -if (x_18 == 0) -{ -return x_13; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_13, 0); -x_20 = lean_ctor_get(x_13, 1); -lean_inc(x_20); +x_18 = lean_ctor_get(x_13, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_13, 1); lean_inc(x_19); lean_dec(x_13); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; } } } } -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_10 = lean_ctor_get(x_7, 3); x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); lean_inc(x_10); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } } -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 3); -x_13 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 3, x_13); -x_14 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -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; lean_object* x_24; lean_object* x_25; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -x_17 = lean_ctor_get(x_8, 2); -x_18 = lean_ctor_get(x_8, 3); -x_19 = lean_ctor_get(x_8, 4); -x_20 = lean_ctor_get(x_8, 5); -x_21 = lean_ctor_get(x_8, 6); -x_22 = lean_ctor_get(x_8, 7); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); +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_11 = lean_ctor_get(x_8, 0); +x_12 = lean_ctor_get(x_8, 1); +x_13 = lean_ctor_get(x_8, 2); +x_14 = lean_ctor_get(x_8, 3); +x_15 = lean_ctor_get(x_8, 4); +x_16 = lean_ctor_get(x_8, 5); +x_17 = lean_ctor_get(x_8, 6); +x_18 = lean_ctor_get(x_8, 7); +x_19 = l_Lean_replaceRef(x_1, x_14); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_dec(x_8); -x_23 = l_Lean_replaceRef(x_1, x_18); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_24, 0, x_15); -lean_ctor_set(x_24, 1, x_16); -lean_ctor_set(x_24, 2, x_17); -lean_ctor_set(x_24, 3, x_23); -lean_ctor_set(x_24, 4, x_19); -lean_ctor_set(x_24, 5, x_20); -lean_ctor_set(x_24, 6, x_21); -lean_ctor_set(x_24, 7, x_22); -x_25 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); -lean_dec(x_24); -return x_25; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_20 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_12); +lean_ctor_set(x_20, 2, x_13); +lean_ctor_set(x_20, 3, x_19); +lean_ctor_set(x_20, 4, x_15); +lean_ctor_set(x_20, 5, x_16); +lean_ctor_set(x_20, 6, x_17); +lean_ctor_set(x_20, 7, x_18); +x_21 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_10); +lean_dec(x_20); +return x_21; } } -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3___rarg), 1, 0); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4___rarg), 1, 0); return x_8; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5(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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__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) { _start: { -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; uint8_t x_16; +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_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 4); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 5); +lean_inc(x_15); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__1___boxed), 4, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_13); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2___boxed), 4, 1); +lean_closure_set(x_18, 0, x_13); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__3___boxed), 6, 3); +lean_closure_set(x_19, 0, x_13); +lean_closure_set(x_19, 1, x_14); +lean_closure_set(x_19, 2, x_15); +lean_inc(x_13); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4___boxed), 6, 3); +lean_closure_set(x_20, 0, x_13); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_15); +x_21 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_17); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_19); +lean_ctor_set(x_21, 4, x_20); +x_22 = x_21; +x_23 = lean_ctor_get(x_7, 3); +lean_inc(x_23); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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_ctor_get(x_7, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_7, 2); +lean_inc(x_28); +x_29 = lean_st_ref_get(x_8, x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_environment_main_module(x_13); +x_34 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_25); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_23); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_apply_2(x_1, x_34, x_36); +if (lean_obj_tag(x_37) == 0) +{ +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; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_st_ref_take(x_8, x_31); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_42, 2); +lean_inc(x_45); +x_46 = lean_ctor_get(x_42, 3); +lean_inc(x_46); +lean_dec(x_42); +x_47 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_40); +lean_ctor_set(x_47, 2, x_45); +lean_ctor_set(x_47, 3, x_46); +x_48 = lean_st_ref_set(x_8, x_47, x_43); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_ctor_get(x_39, 1); +lean_inc(x_50); +lean_dec(x_39); +x_51 = l_List_reverse___rarg(x_50); +x_52 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_49); +lean_dec(x_7); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_38); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +else +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_37, 0); +lean_inc(x_55); +lean_dec(x_37); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +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(2, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_59, 0, x_58); +x_60 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(x_56, x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_7); +lean_dec(x_56); +return x_60; +} +else +{ +lean_object* x_61; +lean_dec(x_7); +x_61 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4___rarg(x_31); +return x_61; +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(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) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6(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) { +_start: +{ +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_11 = lean_ctor_get(x_8, 0); +x_12 = lean_ctor_get(x_8, 1); +x_13 = lean_ctor_get(x_8, 2); +x_14 = lean_ctor_get(x_8, 3); +x_15 = lean_ctor_get(x_8, 4); +x_16 = lean_ctor_get(x_8, 5); +x_17 = lean_ctor_get(x_8, 6); +x_18 = lean_ctor_get(x_8, 7); +x_19 = l_Lean_replaceRef(x_1, x_14); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_20 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_12); +lean_ctor_set(x_20, 2, x_13); +lean_ctor_set(x_20, 3, x_19); +lean_ctor_set(x_20, 4, x_15); +lean_ctor_set(x_20, 5, x_16); +lean_ctor_set(x_20, 6, x_17); +lean_ctor_set(x_20, 7, x_18); +x_21 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_10); +lean_dec(x_20); +return x_21; +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8___rarg), 1, 0); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5(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) { +_start: +{ +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_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 4); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 5); +lean_inc(x_15); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__1___boxed), 4, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_13); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2___boxed), 4, 1); +lean_closure_set(x_18, 0, x_13); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__3___boxed), 6, 3); +lean_closure_set(x_19, 0, x_13); +lean_closure_set(x_19, 1, x_14); +lean_closure_set(x_19, 2, x_15); +lean_inc(x_13); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4___boxed), 6, 3); +lean_closure_set(x_20, 0, x_13); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_15); +x_21 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_17); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_19); +lean_ctor_set(x_21, 4, x_20); +x_22 = x_21; +x_23 = lean_ctor_get(x_7, 3); +lean_inc(x_23); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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_ctor_get(x_7, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_7, 2); +lean_inc(x_28); +x_29 = lean_st_ref_get(x_8, x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_environment_main_module(x_13); +x_34 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_25); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_23); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_apply_2(x_1, x_34, x_36); +if (lean_obj_tag(x_37) == 0) +{ +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; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_st_ref_take(x_8, x_31); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_42, 2); +lean_inc(x_45); +x_46 = lean_ctor_get(x_42, 3); +lean_inc(x_46); +lean_dec(x_42); +x_47 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_40); +lean_ctor_set(x_47, 2, x_45); +lean_ctor_set(x_47, 3, x_46); +x_48 = lean_st_ref_set(x_8, x_47, x_43); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_ctor_get(x_39, 1); +lean_inc(x_50); +lean_dec(x_39); +x_51 = l_List_reverse___rarg(x_50); +x_52 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_49); +lean_dec(x_7); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_38); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +else +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_37, 0); +lean_inc(x_55); +lean_dec(x_37); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +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(2, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_59, 0, x_58); +x_60 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6(x_56, x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_7); +lean_dec(x_56); +return x_60; +} +else +{ +lean_object* x_61; +lean_dec(x_7); +x_61 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8___rarg(x_31); +return x_61; +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__11(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) { +_start: +{ +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; x_9 = lean_ctor_get(x_6, 3); x_10 = lean_ctor_get(x_2, 3); lean_inc(x_10); @@ -54152,254 +33562,252 @@ lean_dec(x_12); x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); lean_dec(x_2); lean_dec(x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 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); x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; } } -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(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) { _start: { -uint8_t x_10; -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_7, 3); -x_12 = l_Lean_replaceRef(x_1, x_11); -lean_dec(x_11); -lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -return x_13; -} -else -{ -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_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -x_16 = lean_ctor_get(x_7, 2); -x_17 = lean_ctor_get(x_7, 3); -x_18 = lean_ctor_get(x_7, 4); -x_19 = lean_ctor_get(x_7, 5); -x_20 = lean_ctor_get(x_7, 6); -x_21 = lean_ctor_get(x_7, 7); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); +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; +x_10 = lean_ctor_get(x_7, 0); +x_11 = lean_ctor_get(x_7, 1); +x_12 = lean_ctor_get(x_7, 2); +x_13 = lean_ctor_get(x_7, 3); +x_14 = lean_ctor_get(x_7, 4); +x_15 = lean_ctor_get(x_7, 5); +x_16 = lean_ctor_get(x_7, 6); +x_17 = lean_ctor_get(x_7, 7); +x_18 = l_Lean_replaceRef(x_1, x_13); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); -lean_dec(x_7); -x_22 = l_Lean_replaceRef(x_1, x_17); -lean_dec(x_17); -x_23 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_23, 1, x_15); -lean_ctor_set(x_23, 2, x_16); -lean_ctor_set(x_23, 3, x_22); -lean_ctor_set(x_23, 4, x_18); -lean_ctor_set(x_23, 5, x_19); -lean_ctor_set(x_23, 6, x_20); -lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); -lean_dec(x_23); -return x_24; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_19 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_19, 0, x_10); +lean_ctor_set(x_19, 1, x_11); +lean_ctor_set(x_19, 2, x_12); +lean_ctor_set(x_19, 3, x_18); +lean_ctor_set(x_19, 4, x_14); +lean_ctor_set(x_19, 5, x_15); +lean_ctor_set(x_19, 6, x_16); +lean_ctor_set(x_19, 7, x_17); +x_20 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__11(x_2, x_3, x_4, x_5, x_6, x_19, x_8, x_9); +lean_dec(x_19); +return x_20; } } -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__12___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__12(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___rarg), 1, 0); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__12___rarg), 1, 0); return x_7; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8(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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9(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) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 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_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(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) { -_start: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 3); -x_13 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 3, x_13); -x_14 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -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; lean_object* x_24; lean_object* x_25; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -x_17 = lean_ctor_get(x_8, 2); -x_18 = lean_ctor_get(x_8, 3); -x_19 = lean_ctor_get(x_8, 4); -x_20 = lean_ctor_get(x_8, 5); -x_21 = lean_ctor_get(x_8, 6); -x_22 = lean_ctor_get(x_8, 7); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 5); +lean_inc(x_14); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2___boxed), 4, 1); +lean_closure_set(x_17, 0, x_12); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__3___boxed), 6, 3); +lean_closure_set(x_18, 0, x_12); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_14); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4___boxed), 6, 3); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_14); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = x_20; +x_22 = lean_ctor_get(x_6, 3); 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_8); -x_23 = l_Lean_replaceRef(x_1, x_18); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_24, 0, x_15); -lean_ctor_set(x_24, 1, x_16); -lean_ctor_set(x_24, 2, x_17); -lean_ctor_set(x_24, 3, x_23); -lean_ctor_set(x_24, 4, x_19); -lean_ctor_set(x_24, 5, x_20); -lean_ctor_set(x_24, 6, x_21); -lean_ctor_set(x_24, 7, x_22); -x_25 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); -lean_dec(x_24); -return x_25; -} -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___rarg(lean_object* x_1) { -_start: +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_6, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 2); +lean_inc(x_27); +x_28 = lean_st_ref_get(x_7, x_25); +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_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_environment_main_module(x_12); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_24); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_27); +lean_ctor_set(x_33, 5, x_22); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_2(x_1, x_33, x_35); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___rarg), 1, 0); -return x_8; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(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) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; +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; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_st_ref_take(x_7, x_30); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_ctor_get(x_41, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_41, 2); +lean_inc(x_44); +x_45 = lean_ctor_get(x_41, 3); +lean_inc(x_45); +lean_dec(x_41); +x_46 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_39); +lean_ctor_set(x_46, 2, x_44); +lean_ctor_set(x_46, 3, x_45); +x_47 = lean_st_ref_set(x_7, x_46, x_42); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get(x_38, 1); +lean_inc(x_49); +lean_dec(x_38); +x_50 = l_List_reverse___rarg(x_49); +x_51 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_48); +lean_dec(x_6); +lean_dec(x_2); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +return x_53; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); +lean_object* x_54; +x_54 = lean_ctor_get(x_36, 0); +lean_inc(x_54); +lean_dec(x_36); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_57, 0, x_56); +x_58 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(x_55, x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +lean_dec(x_6); +lean_dec(x_55); +return x_59; +} +else +{ +lean_object* x_60; +lean_dec(x_6); +lean_dec(x_2); +x_60 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__12___rarg(x_30); +return x_60; +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13(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) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); lean_dec(x_11); lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } } static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__1() { @@ -54519,846 +33927,275 @@ return x_2; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___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_13; lean_object* x_14; uint8_t x_15; +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; x_13 = lean_unsigned_to_nat(1u); x_14 = lean_nat_add(x_1, x_13); -x_15 = !lean_is_exclusive(x_10); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_15 = lean_ctor_get(x_10, 0); x_16 = lean_ctor_get(x_10, 2); x_17 = lean_ctor_get(x_10, 3); x_18 = lean_ctor_get(x_10, 4); x_19 = lean_ctor_get(x_10, 5); -x_20 = lean_ctor_get(x_10, 1); -lean_dec(x_20); -x_21 = l_Lean_replaceRef(x_2, x_17); -lean_dec(x_17); -lean_inc(x_19); -lean_inc(x_18); +x_20 = lean_ctor_get(x_10, 6); +x_21 = lean_ctor_get(x_10, 7); +x_22 = l_Lean_replaceRef(x_2, x_17); lean_inc(x_21); -lean_inc(x_16); -lean_inc(x_14); -lean_ctor_set(x_10, 3, x_21); -lean_ctor_set(x_10, 1, x_14); -x_22 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__1; -x_23 = l_Lean_Core_checkMaxHeartbeats(x_22, x_10, x_11, x_12); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 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; -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_25 = x_23; -} else { - lean_dec_ref(x_23); - x_25 = lean_box(0); -} -x_461 = lean_st_ref_get(x_11, x_24); -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 = lean_ctor_get(x_462, 0); -lean_inc(x_464); -lean_dec(x_462); -lean_inc(x_464); -x_465 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_465, 0, x_464); -lean_inc(x_18); -x_466 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_466, 0, x_18); -lean_inc(x_464); -x_467 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_467, 0, x_464); +lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); -lean_inc(x_464); -x_468 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_468, 0, x_464); -lean_closure_set(x_468, 1, x_18); -lean_closure_set(x_468, 2, x_19); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_464); -x_469 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_469, 0, x_464); -lean_closure_set(x_469, 1, x_18); -lean_closure_set(x_469, 2, x_19); -x_470 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_470, 0, x_465); -lean_ctor_set(x_470, 1, x_466); -lean_ctor_set(x_470, 2, x_467); -lean_ctor_set(x_470, 3, x_468); -lean_ctor_set(x_470, 4, x_469); -x_471 = x_470; -x_472 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_463); -x_473 = lean_ctor_get(x_472, 0); -lean_inc(x_473); -x_474 = lean_ctor_get(x_472, 1); -lean_inc(x_474); -lean_dec(x_472); -x_475 = lean_st_ref_get(x_11, x_474); -x_476 = lean_ctor_get(x_475, 0); -lean_inc(x_476); -x_477 = lean_ctor_get(x_475, 1); -lean_inc(x_477); -lean_dec(x_475); -x_478 = lean_ctor_get(x_476, 1); -lean_inc(x_478); -lean_dec(x_476); -x_479 = lean_environment_main_module(x_464); -lean_inc(x_21); lean_inc(x_16); -lean_inc(x_14); -x_480 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_480, 0, x_471); -lean_ctor_set(x_480, 1, x_479); -lean_ctor_set(x_480, 2, x_473); -lean_ctor_set(x_480, 3, x_14); -lean_ctor_set(x_480, 4, x_16); -lean_ctor_set(x_480, 5, x_21); -x_481 = lean_box(0); -x_482 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_482, 0, x_478); -lean_ctor_set(x_482, 1, x_481); -lean_inc(x_2); -x_483 = l_Lean_Macro_expandMacro_x3f(x_2, x_480, x_482); -if (lean_obj_tag(x_483) == 0) +lean_inc(x_15); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_15); +lean_ctor_set(x_23, 1, x_14); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__1; +x_25 = l_Lean_Core_checkMaxHeartbeats(x_24, x_23, x_11, x_12); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; uint8_t x_490; -x_484 = lean_ctor_get(x_483, 0); -lean_inc(x_484); -x_485 = lean_ctor_get(x_483, 1); -lean_inc(x_485); -lean_dec(x_483); -x_486 = lean_ctor_get(x_485, 0); -lean_inc(x_486); -x_487 = lean_st_ref_take(x_11, x_477); -x_488 = lean_ctor_get(x_487, 0); -lean_inc(x_488); -x_489 = lean_ctor_get(x_487, 1); -lean_inc(x_489); -lean_dec(x_487); -x_490 = !lean_is_exclusive(x_488); -if (x_490 == 0) -{ -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; -x_491 = lean_ctor_get(x_488, 1); -lean_dec(x_491); -lean_ctor_set(x_488, 1, x_486); -x_492 = lean_st_ref_set(x_11, x_488, x_489); -x_493 = lean_ctor_get(x_492, 1); -lean_inc(x_493); -lean_dec(x_492); -x_494 = lean_ctor_get(x_485, 1); -lean_inc(x_494); -lean_dec(x_485); -x_495 = l_List_reverse___rarg(x_494); -x_496 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_495, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_493); -x_497 = lean_ctor_get(x_496, 1); -lean_inc(x_497); -lean_dec(x_496); -x_26 = x_484; -x_27 = x_497; -goto block_460; -} -else -{ -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; -x_498 = lean_ctor_get(x_488, 0); -x_499 = lean_ctor_get(x_488, 2); -x_500 = lean_ctor_get(x_488, 3); -lean_inc(x_500); -lean_inc(x_499); -lean_inc(x_498); -lean_dec(x_488); -x_501 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_501, 0, x_498); -lean_ctor_set(x_501, 1, x_486); -lean_ctor_set(x_501, 2, x_499); -lean_ctor_set(x_501, 3, x_500); -x_502 = lean_st_ref_set(x_11, x_501, x_489); -x_503 = lean_ctor_get(x_502, 1); -lean_inc(x_503); -lean_dec(x_502); -x_504 = lean_ctor_get(x_485, 1); -lean_inc(x_504); -lean_dec(x_485); -x_505 = l_List_reverse___rarg(x_504); -x_506 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_505, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_503); -x_507 = lean_ctor_get(x_506, 1); -lean_inc(x_507); -lean_dec(x_506); -x_26 = x_484; -x_27 = x_507; -goto block_460; -} -} -else -{ -lean_object* x_508; +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); lean_dec(x_25); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_3); -lean_dec(x_2); -x_508 = lean_ctor_get(x_483, 0); -lean_inc(x_508); -lean_dec(x_483); -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; uint8_t x_514; -x_509 = lean_ctor_get(x_508, 0); -lean_inc(x_509); -x_510 = lean_ctor_get(x_508, 1); -lean_inc(x_510); -lean_dec(x_508); -x_511 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_511, 0, x_510); -x_512 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_512, 0, x_511); -x_513 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(x_509, x_512, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_477); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_509); -x_514 = !lean_is_exclusive(x_513); -if (x_514 == 0) -{ -return x_513; -} -else -{ -lean_object* x_515; lean_object* x_516; lean_object* x_517; -x_515 = lean_ctor_get(x_513, 0); -x_516 = lean_ctor_get(x_513, 1); -lean_inc(x_516); -lean_inc(x_515); -lean_dec(x_513); -x_517 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_517, 0, x_515); -lean_ctor_set(x_517, 1, x_516); -return x_517; -} -} -else -{ -lean_object* x_518; uint8_t x_519; -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_518 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___rarg(x_477); -x_519 = !lean_is_exclusive(x_518); -if (x_519 == 0) -{ -return x_518; -} -else -{ -lean_object* x_520; lean_object* x_521; lean_object* x_522; -x_520 = lean_ctor_get(x_518, 0); -x_521 = lean_ctor_get(x_518, 1); -lean_inc(x_521); -lean_inc(x_520); -lean_dec(x_518); -x_522 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_522, 0, x_520); -lean_ctor_set(x_522, 1, x_521); -return x_522; -} -} -} -block_460: -{ -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_28; lean_object* x_29; 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; uint8_t x_439; -x_410 = lean_st_ref_get(x_11, x_27); -x_411 = lean_ctor_get(x_410, 0); -lean_inc(x_411); -x_412 = lean_ctor_get(x_410, 1); -lean_inc(x_412); -lean_dec(x_410); -x_413 = lean_ctor_get(x_411, 0); -lean_inc(x_413); -lean_dec(x_411); -lean_inc(x_413); -x_414 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_414, 0, x_413); -lean_inc(x_18); -x_415 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_415, 0, x_18); -lean_inc(x_413); -x_416 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_416, 0, x_413); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_413); -x_417 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_417, 0, x_413); -lean_closure_set(x_417, 1, x_18); -lean_closure_set(x_417, 2, x_19); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_413); -x_418 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_418, 0, x_413); -lean_closure_set(x_418, 1, x_18); -lean_closure_set(x_418, 2, x_19); -x_419 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_419, 0, x_414); -lean_ctor_set(x_419, 1, x_415); -lean_ctor_set(x_419, 2, x_416); -lean_ctor_set(x_419, 3, x_417); -lean_ctor_set(x_419, 4, x_418); -x_420 = x_419; -x_421 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_412); -x_422 = lean_ctor_get(x_421, 0); -lean_inc(x_422); -x_423 = lean_ctor_get(x_421, 1); -lean_inc(x_423); -lean_dec(x_421); -x_424 = lean_st_ref_get(x_11, x_423); -x_425 = lean_ctor_get(x_424, 0); -lean_inc(x_425); -x_426 = lean_ctor_get(x_424, 1); -lean_inc(x_426); -lean_dec(x_424); -x_427 = lean_ctor_get(x_425, 1); -lean_inc(x_427); -lean_dec(x_425); -x_428 = lean_environment_main_module(x_413); -lean_inc(x_21); -lean_inc(x_16); -lean_inc(x_14); -x_429 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_429, 0, x_420); -lean_ctor_set(x_429, 1, x_428); -lean_ctor_set(x_429, 2, x_422); -lean_ctor_set(x_429, 3, x_14); -lean_ctor_set(x_429, 4, x_16); -lean_ctor_set(x_429, 5, x_21); -x_430 = lean_box(0); -x_431 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_431, 0, x_427); -lean_ctor_set(x_431, 1, x_430); lean_inc(x_2); -x_432 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f(x_2, x_429, x_431); -x_433 = lean_ctor_get(x_432, 0); -lean_inc(x_433); -x_434 = lean_ctor_get(x_432, 1); -lean_inc(x_434); -lean_dec(x_432); -x_435 = lean_ctor_get(x_434, 0); -lean_inc(x_435); -x_436 = lean_st_ref_take(x_11, x_426); -x_437 = lean_ctor_get(x_436, 0); -lean_inc(x_437); -x_438 = lean_ctor_get(x_436, 1); -lean_inc(x_438); -lean_dec(x_436); -x_439 = !lean_is_exclusive(x_437); -if (x_439 == 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; -x_440 = lean_ctor_get(x_437, 1); -lean_dec(x_440); -lean_ctor_set(x_437, 1, x_435); -x_441 = lean_st_ref_set(x_11, x_437, x_438); -x_442 = lean_ctor_get(x_441, 1); -lean_inc(x_442); -lean_dec(x_441); -x_443 = lean_ctor_get(x_434, 1); -lean_inc(x_443); -lean_dec(x_434); -x_444 = l_List_reverse___rarg(x_443); -x_445 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_444, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_442); -x_446 = lean_ctor_get(x_445, 1); -lean_inc(x_446); -lean_dec(x_445); -x_28 = x_433; -x_29 = x_446; -goto block_409; -} -else -{ -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; -x_447 = lean_ctor_get(x_437, 0); -x_448 = lean_ctor_get(x_437, 2); -x_449 = lean_ctor_get(x_437, 3); -lean_inc(x_449); -lean_inc(x_448); -lean_inc(x_447); -lean_dec(x_437); -x_450 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_450, 0, x_447); -lean_ctor_set(x_450, 1, x_435); -lean_ctor_set(x_450, 2, x_448); -lean_ctor_set(x_450, 3, x_449); -x_451 = lean_st_ref_set(x_11, x_450, x_438); -x_452 = lean_ctor_get(x_451, 1); -lean_inc(x_452); -lean_dec(x_451); -x_453 = lean_ctor_get(x_434, 1); -lean_inc(x_453); -lean_dec(x_434); -x_454 = l_List_reverse___rarg(x_453); -x_455 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_454, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_452); -x_456 = lean_ctor_get(x_455, 1); -lean_inc(x_456); -lean_dec(x_455); -x_28 = x_433; -x_29 = x_456; -goto block_409; -} -block_409: -{ +x_27 = lean_alloc_closure((void*)(l_Lean_Macro_expandMacro_x3f), 3, 1); +lean_closure_set(x_27, 0, x_2); +lean_inc(x_23); +x_28 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5(x_27, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_26); if (lean_obj_tag(x_28) == 0) { -lean_object* x_30; lean_object* x_31; 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; -x_344 = lean_st_ref_get(x_11, x_29); -x_345 = lean_ctor_get(x_344, 0); -lean_inc(x_345); -x_346 = lean_ctor_get(x_344, 1); -lean_inc(x_346); -lean_dec(x_344); -x_347 = lean_ctor_get(x_345, 0); -lean_inc(x_347); -lean_dec(x_345); -lean_inc(x_347); -x_348 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_348, 0, x_347); -lean_inc(x_18); -x_349 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_349, 0, x_18); -lean_inc(x_347); -x_350 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_350, 0, x_347); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_347); -x_351 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_351, 0, x_347); -lean_closure_set(x_351, 1, x_18); -lean_closure_set(x_351, 2, x_19); -lean_inc(x_347); -x_352 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_352, 0, x_347); -lean_closure_set(x_352, 1, x_18); -lean_closure_set(x_352, 2, x_19); -x_353 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_353, 0, x_348); -lean_ctor_set(x_353, 1, x_349); -lean_ctor_set(x_353, 2, x_350); -lean_ctor_set(x_353, 3, x_351); -lean_ctor_set(x_353, 4, x_352); -x_354 = x_353; -x_355 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_346); -x_356 = lean_ctor_get(x_355, 0); -lean_inc(x_356); -x_357 = lean_ctor_get(x_355, 1); -lean_inc(x_357); -lean_dec(x_355); -x_358 = lean_st_ref_get(x_11, x_357); -x_359 = lean_ctor_get(x_358, 0); -lean_inc(x_359); -x_360 = lean_ctor_get(x_358, 1); -lean_inc(x_360); -lean_dec(x_358); -x_361 = lean_ctor_get(x_359, 1); -lean_inc(x_361); -lean_dec(x_359); -x_362 = lean_environment_main_module(x_347); -x_363 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_363, 0, x_354); -lean_ctor_set(x_363, 1, x_362); -lean_ctor_set(x_363, 2, x_356); -lean_ctor_set(x_363, 3, x_14); -lean_ctor_set(x_363, 4, x_16); -lean_ctor_set(x_363, 5, x_21); -x_364 = lean_box(0); -x_365 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_365, 0, x_361); -lean_ctor_set(x_365, 1, x_364); -x_366 = l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod(x_2, x_363, x_365); -if (lean_obj_tag(x_366) == 0) +lean_object* x_29; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; uint8_t x_373; -x_367 = lean_ctor_get(x_366, 0); -lean_inc(x_367); -x_368 = lean_ctor_get(x_366, 1); -lean_inc(x_368); -lean_dec(x_366); -x_369 = lean_ctor_get(x_368, 0); -lean_inc(x_369); -x_370 = lean_st_ref_take(x_11, x_360); -x_371 = lean_ctor_get(x_370, 0); -lean_inc(x_371); -x_372 = lean_ctor_get(x_370, 1); -lean_inc(x_372); -lean_dec(x_370); -x_373 = !lean_is_exclusive(x_371); -if (x_373 == 0) +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_2); +x_31 = lean_alloc_closure((void*)(l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f), 3, 1); +lean_closure_set(x_31, 0, x_2); +lean_inc(x_23); +x_32 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5(x_31, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_30); +if (lean_obj_tag(x_32) == 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; lean_object* x_380; -x_374 = lean_ctor_get(x_371, 1); -lean_dec(x_374); -lean_ctor_set(x_371, 1, x_369); -x_375 = lean_st_ref_set(x_11, x_371, x_372); -x_376 = lean_ctor_get(x_375, 1); -lean_inc(x_376); -lean_dec(x_375); -x_377 = lean_ctor_get(x_368, 1); -lean_inc(x_377); -lean_dec(x_368); -x_378 = l_List_reverse___rarg(x_377); -x_379 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_378, x_6, x_7, x_8, x_9, x_10, x_11, x_376); -x_380 = lean_ctor_get(x_379, 1); -lean_inc(x_380); -lean_dec(x_379); -x_30 = x_367; -x_31 = x_380; -goto block_343; -} -else -{ -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; -x_381 = lean_ctor_get(x_371, 0); -x_382 = lean_ctor_get(x_371, 2); -x_383 = lean_ctor_get(x_371, 3); -lean_inc(x_383); -lean_inc(x_382); -lean_inc(x_381); -lean_dec(x_371); -x_384 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_384, 0, x_381); -lean_ctor_set(x_384, 1, x_369); -lean_ctor_set(x_384, 2, x_382); -lean_ctor_set(x_384, 3, x_383); -x_385 = lean_st_ref_set(x_11, x_384, x_372); -x_386 = lean_ctor_get(x_385, 1); -lean_inc(x_386); -lean_dec(x_385); -x_387 = lean_ctor_get(x_368, 1); -lean_inc(x_387); -lean_dec(x_368); -x_388 = l_List_reverse___rarg(x_387); -x_389 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_388, x_6, x_7, x_8, x_9, x_10, x_11, x_386); -x_390 = lean_ctor_get(x_389, 1); -lean_inc(x_390); -lean_dec(x_389); -x_30 = x_367; -x_31 = x_390; -goto block_343; -} -} -else -{ -lean_object* x_391; -lean_dec(x_25); -lean_dec(x_5); -lean_dec(x_3); -x_391 = lean_ctor_get(x_366, 0); -lean_inc(x_391); -lean_dec(x_366); -if (lean_obj_tag(x_391) == 0) -{ -lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; uint8_t x_397; -x_392 = lean_ctor_get(x_391, 0); -lean_inc(x_392); -x_393 = lean_ctor_get(x_391, 1); -lean_inc(x_393); -lean_dec(x_391); -x_394 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_394, 0, x_393); -x_395 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_395, 0, x_394); -x_396 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(x_392, x_395, x_6, x_7, x_8, x_9, x_10, x_11, x_360); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_392); -x_397 = !lean_is_exclusive(x_396); -if (x_397 == 0) -{ -return x_396; -} -else -{ -lean_object* x_398; lean_object* x_399; lean_object* x_400; -x_398 = lean_ctor_get(x_396, 0); -x_399 = lean_ctor_get(x_396, 1); -lean_inc(x_399); -lean_inc(x_398); -lean_dec(x_396); -x_400 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_400, 0, x_398); -lean_ctor_set(x_400, 1, x_399); -return x_400; -} -} -else -{ -lean_object* x_401; uint8_t x_402; -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_401 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___rarg(x_360); -x_402 = !lean_is_exclusive(x_401); -if (x_402 == 0) -{ -return x_401; -} -else -{ -lean_object* x_403; lean_object* x_404; lean_object* x_405; -x_403 = lean_ctor_get(x_401, 0); -x_404 = lean_ctor_get(x_401, 1); -lean_inc(x_404); -lean_inc(x_403); -lean_dec(x_401); -x_405 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_405, 0, x_403); -lean_ctor_set(x_405, 1, x_404); -return x_405; -} -} -} -block_343: -{ -lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_32 = lean_ctor_get(x_30, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_30, 1); +lean_object* x_33; +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -lean_dec(x_30); -x_34 = l_List_isEmpty___rarg(x_32); -if (x_34 == 0) +if (lean_obj_tag(x_33) == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_25); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_33); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_List_append___rarg(x_32, x_36); -x_38 = l_List_append___rarg(x_37, x_3); -x_39 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -return x_39; -} -else -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); lean_dec(x_32); -lean_inc(x_33); -x_40 = l_Lean_Syntax_getKind(x_33); -x_41 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -x_42 = lean_name_eq(x_40, x_41); -if (x_42 == 0) +x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod), 3, 1); +lean_closure_set(x_35, 0, x_2); +lean_inc(x_23); +lean_inc(x_6); +x_36 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9(x_35, x_6, x_7, x_8, x_9, x_23, x_11, x_34); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_43; uint8_t x_44; -x_43 = l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__2; -x_44 = lean_name_eq(x_40, x_43); -if (x_44 == 0) +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_37, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = l_List_isEmpty___rarg(x_39); +if (x_41 == 0) { -lean_object* x_45; uint8_t x_46; -x_45 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__6; -x_46 = lean_name_eq(x_40, x_45); -if (x_46 == 0) +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_42 = lean_box(0); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_List_append___rarg(x_39, x_43); +x_45 = l_List_append___rarg(x_44, x_3); +x_46 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_45, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +return x_46; +} +else { -lean_object* x_47; uint8_t x_48; -x_47 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_48 = lean_name_eq(x_40, x_47); -if (x_48 == 0) +lean_object* x_47; lean_object* x_48; uint8_t x_49; +lean_dec(x_39); +lean_inc(x_40); +x_47 = l_Lean_Syntax_getKind(x_40); +x_48 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; +x_49 = lean_name_eq(x_47, x_48); +if (x_49 == 0) { -lean_object* x_49; uint8_t x_50; -x_49 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_50 = lean_name_eq(x_40, x_49); -if (x_50 == 0) +lean_object* x_50; uint8_t x_51; +x_50 = l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__2; +x_51 = lean_name_eq(x_47, x_50); +if (x_51 == 0) { -lean_object* x_51; uint8_t x_52; -x_51 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__6; -x_52 = lean_name_eq(x_40, x_51); -if (x_52 == 0) +lean_object* x_52; uint8_t x_53; +x_52 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__6; +x_53 = lean_name_eq(x_47, x_52); +if (x_53 == 0) { -lean_object* x_53; uint8_t x_54; -x_53 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__2; -x_54 = lean_name_eq(x_40, x_53); -if (x_54 == 0) +lean_object* x_54; uint8_t x_55; +x_54 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_55 = lean_name_eq(x_47, x_54); +if (x_55 == 0) { -lean_object* x_55; uint8_t x_56; -x_55 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__3; -x_56 = lean_name_eq(x_40, x_55); -if (x_56 == 0) +lean_object* x_56; uint8_t x_57; +x_56 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_57 = lean_name_eq(x_47, x_56); +if (x_57 == 0) { -lean_object* x_57; uint8_t x_58; -x_57 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__5; -x_58 = lean_name_eq(x_40, x_57); -if (x_58 == 0) +lean_object* x_58; uint8_t x_59; +x_58 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__6; +x_59 = lean_name_eq(x_47, x_58); +if (x_59 == 0) { -lean_object* x_59; uint8_t x_60; -x_59 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_60 = lean_name_eq(x_40, x_59); -if (x_60 == 0) +lean_object* x_60; uint8_t x_61; +x_60 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__2; +x_61 = lean_name_eq(x_47, x_60); +if (x_61 == 0) { -lean_object* x_61; uint8_t x_62; -x_61 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__7; -x_62 = lean_name_eq(x_40, x_61); -if (x_62 == 0) +lean_object* x_62; uint8_t x_63; +x_62 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__3; +x_63 = lean_name_eq(x_47, x_62); +if (x_63 == 0) { -lean_object* x_63; uint8_t x_64; -x_63 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_64 = lean_name_eq(x_40, x_63); -if (x_64 == 0) +lean_object* x_64; uint8_t x_65; +x_64 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__5; +x_65 = lean_name_eq(x_47, x_64); +if (x_65 == 0) { -lean_object* x_65; uint8_t x_66; -x_65 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; -x_66 = lean_name_eq(x_40, x_65); -if (x_66 == 0) +lean_object* x_66; uint8_t x_67; +x_66 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_67 = lean_name_eq(x_47, x_66); +if (x_67 == 0) { -lean_object* x_67; uint8_t x_68; -x_67 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_68 = lean_name_eq(x_40, x_67); -if (x_68 == 0) +lean_object* x_68; uint8_t x_69; +x_68 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__7; +x_69 = lean_name_eq(x_47, x_68); +if (x_69 == 0) { -lean_object* x_69; uint8_t x_70; -x_69 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__2; -x_70 = lean_name_eq(x_40, x_69); -if (x_70 == 0) +lean_object* x_70; uint8_t x_71; +x_70 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; +x_71 = lean_name_eq(x_47, x_70); +if (x_71 == 0) { -lean_object* x_71; uint8_t x_72; -x_71 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__4; -x_72 = lean_name_eq(x_40, x_71); -if (x_72 == 0) +lean_object* x_72; uint8_t x_73; +x_72 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; +x_73 = lean_name_eq(x_47, x_72); +if (x_73 == 0) { -lean_object* x_73; uint8_t x_74; -x_73 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__9; -x_74 = lean_name_eq(x_40, x_73); -if (x_74 == 0) +lean_object* x_74; uint8_t x_75; +x_74 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; +x_75 = lean_name_eq(x_47, x_74); +if (x_75 == 0) { -lean_object* x_75; uint8_t x_76; -x_75 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_76 = lean_name_eq(x_40, x_75); -if (x_76 == 0) +lean_object* x_76; uint8_t x_77; +x_76 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__2; +x_77 = lean_name_eq(x_47, x_76); +if (x_77 == 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_dec(x_25); +lean_object* x_78; uint8_t x_79; +x_78 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__4; +x_79 = lean_name_eq(x_47, x_78); +if (x_79 == 0) +{ +lean_object* x_80; uint8_t x_81; +x_80 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__9; +x_81 = lean_name_eq(x_47, x_80); +if (x_81 == 0) +{ +lean_object* x_82; uint8_t x_83; +x_82 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_83 = lean_name_eq(x_47, x_82); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_dec(x_3); -x_77 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_77, 0, x_40); -x_78 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__11; -x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__13; -x_81 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_82, 0, x_33); -x_83 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -x_84 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; -x_85 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(x_85, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); +x_84 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_84, 0, x_47); +x_85 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__11; +x_86 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_84); +x_87 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__13; +x_88 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_89, 0, x_40); +x_90 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; +x_92 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(x_92, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); lean_dec(x_11); -lean_dec(x_10); +lean_dec(x_23); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_86; +return x_93; } else { -lean_object* x_87; lean_object* x_88; uint8_t x_89; +lean_object* x_94; lean_object* x_95; uint8_t x_96; +lean_dec(x_47); +x_94 = lean_unsigned_to_nat(0u); +x_95 = l_Lean_Syntax_getArg(x_40, x_94); lean_dec(x_40); -x_87 = lean_unsigned_to_nat(0u); -x_88 = l_Lean_Syntax_getArg(x_33, x_87); -lean_dec(x_33); -x_89 = l_List_isEmpty___rarg(x_3); -if (x_89 == 0) +x_96 = l_List_isEmpty___rarg(x_3); +if (x_96 == 0) { -lean_object* x_90; -lean_dec(x_25); -x_90 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -if (lean_obj_tag(x_90) == 0) +lean_object* x_97; +x_97 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +if (lean_obj_tag(x_97) == 0) { -uint8_t x_91; -x_91 = !lean_is_exclusive(x_90); -if (x_91 == 0) -{ -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_90, 0); -x_93 = l_Lean_Elab_Term_Do_mkSeq(x_88, x_92); -lean_ctor_set(x_90, 0, x_93); -return x_90; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_94 = lean_ctor_get(x_90, 0); -x_95 = lean_ctor_get(x_90, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_90); -x_96 = l_Lean_Elab_Term_Do_mkSeq(x_88, x_94); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -return x_97; -} -} -else -{ -uint8_t x_98; -lean_dec(x_88); -x_98 = !lean_is_exclusive(x_90); -if (x_98 == 0) -{ -return x_90; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_90, 0); -x_100 = lean_ctor_get(x_90, 1); -lean_inc(x_100); +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); lean_inc(x_99); -lean_dec(x_90); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); +lean_dec(x_97); +x_100 = l_Lean_Elab_Term_Do_mkSeq(x_95, x_98); +lean_dec(x_98); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); return x_101; } +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec(x_95); +x_102 = lean_ctor_get(x_97, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_97, 1); +lean_inc(x_103); +lean_dec(x_97); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; } } else { -lean_object* x_102; lean_object* x_103; -lean_dec(x_10); +lean_object* x_105; lean_object* x_106; +lean_dec(x_23); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -55366,641 +34203,626 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_102 = l_Lean_Elab_Term_Do_mkTerminalAction(x_88); -if (lean_is_scalar(x_25)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_25; -} -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_31); -return x_103; +x_105 = l_Lean_Elab_Term_Do_mkTerminalAction(x_95); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_38); +return x_106; } } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_47); +x_107 = l_Lean_Syntax_getArg(x_40, x_13); lean_dec(x_40); -lean_dec(x_25); -x_104 = l_Lean_Syntax_getArg(x_33, x_13); -lean_dec(x_33); -x_105 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_104); -x_106 = l_List_append___rarg(x_105, x_3); -x_107 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_106, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -return x_107; +x_108 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_107); +x_109 = l_List_append___rarg(x_108, x_3); +x_110 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_109, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +return x_110; } } else { -lean_object* x_108; -lean_dec(x_40); -lean_dec(x_25); -x_108 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -if (lean_obj_tag(x_108) == 0) -{ -uint8_t x_109; -x_109 = !lean_is_exclusive(x_108); -if (x_109 == 0) -{ -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_108, 0); -x_111 = l_Lean_Elab_Term_Do_mkSeq(x_33, x_110); -lean_ctor_set(x_108, 0, x_111); -return x_108; -} -else +lean_object* x_111; +lean_dec(x_47); +x_111 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +if (lean_obj_tag(x_111) == 0) { lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_112 = lean_ctor_get(x_108, 0); -x_113 = lean_ctor_get(x_108, 1); -lean_inc(x_113); +x_112 = lean_ctor_get(x_111, 0); lean_inc(x_112); -lean_dec(x_108); -x_114 = l_Lean_Elab_Term_Do_mkSeq(x_33, x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = l_Lean_Elab_Term_Do_mkSeq(x_40, x_112); +lean_dec(x_112); x_115 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_115, 0, x_114); lean_ctor_set(x_115, 1, x_113); return x_115; } -} else { -uint8_t x_116; -lean_dec(x_33); -x_116 = !lean_is_exclusive(x_108); -if (x_116 == 0) -{ -return x_108; -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_108, 0); -x_118 = lean_ctor_get(x_108, 1); -lean_inc(x_118); -lean_inc(x_117); -lean_dec(x_108); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -return x_119; -} -} -} -} -else -{ -lean_object* x_120; +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_dec(x_40); -lean_dec(x_25); -x_120 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -if (lean_obj_tag(x_120) == 0) -{ -uint8_t x_121; -x_121 = !lean_is_exclusive(x_120); -if (x_121 == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_120, 0); -x_123 = l_Lean_Elab_Term_Do_mkSeq(x_33, x_122); -lean_ctor_set(x_120, 0, x_123); -return x_120; +x_116 = lean_ctor_get(x_111, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_111, 1); +lean_inc(x_117); +lean_dec(x_111); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; +} +} } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_124 = lean_ctor_get(x_120, 0); -x_125 = lean_ctor_get(x_120, 1); -lean_inc(x_125); -lean_inc(x_124); +lean_object* x_119; +lean_dec(x_47); +x_119 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec(x_119); +x_122 = l_Lean_Elab_Term_Do_mkSeq(x_40, x_120); lean_dec(x_120); -x_126 = l_Lean_Elab_Term_Do_mkSeq(x_33, x_124); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_125); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_40); +x_124 = lean_ctor_get(x_119, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_119, 1); +lean_inc(x_125); +lean_dec(x_119); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; +} +} +} +else +{ +lean_object* x_127; +lean_dec(x_47); +x_127 = l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +lean_dec(x_23); +lean_dec(x_3); +lean_dec(x_40); return x_127; } } else { -uint8_t x_128; -lean_dec(x_33); -x_128 = !lean_is_exclusive(x_120); -if (x_128 == 0) +lean_object* x_128; +lean_dec(x_47); +x_128 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor(x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +if (lean_obj_tag(x_128) == 0) { -return x_120; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_129 = lean_ctor_get(x_120, 0); -x_130 = lean_ctor_get(x_120, 1); -lean_inc(x_130); +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_128, 1); lean_inc(x_129); -lean_dec(x_120); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -return x_131; -} -} -} -} -else -{ -lean_object* x_132; -lean_dec(x_40); -lean_dec(x_25); -x_132 = l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode(x_33, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -lean_dec(x_3); -lean_dec(x_33); -return x_132; -} -} -else -{ -lean_object* x_133; -lean_dec(x_40); -lean_dec(x_25); -x_133 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -if (lean_obj_tag(x_133) == 0) -{ -lean_object* x_134; lean_object* x_135; -x_134 = lean_ctor_get(x_133, 1); -lean_inc(x_134); -lean_dec(x_133); -x_135 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_134); +lean_dec(x_128); +x_130 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_129); lean_dec(x_11); -lean_dec(x_10); +lean_dec(x_23); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -if (lean_obj_tag(x_135) == 0) -{ -uint8_t x_136; -x_136 = !lean_is_exclusive(x_135); -if (x_136 == 0) -{ -lean_object* x_137; lean_object* x_138; -x_137 = lean_ctor_get(x_135, 0); -lean_dec(x_137); -x_138 = l_Lean_Elab_Term_Do_mkContinue(x_33); -lean_ctor_set(x_135, 0, x_138); -return x_135; -} -else -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_135, 1); -lean_inc(x_139); -lean_dec(x_135); -x_140 = l_Lean_Elab_Term_Do_mkContinue(x_33); -x_141 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_139); -return x_141; -} -} -else -{ -uint8_t x_142; -lean_dec(x_33); -x_142 = !lean_is_exclusive(x_135); -if (x_142 == 0) -{ -return x_135; -} -else -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_143 = lean_ctor_get(x_135, 0); -x_144 = lean_ctor_get(x_135, 1); -lean_inc(x_144); -lean_inc(x_143); -lean_dec(x_135); -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_143); -lean_ctor_set(x_145, 1, x_144); -return x_145; -} -} -} -else -{ -uint8_t x_146; -lean_dec(x_33); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_146 = !lean_is_exclusive(x_133); -if (x_146 == 0) +if (lean_obj_tag(x_130) == 0) { +lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +lean_dec(x_130); +x_132 = l_Lean_Elab_Term_Do_mkContinue(x_40); +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); return x_133; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_147 = lean_ctor_get(x_133, 0); -x_148 = lean_ctor_get(x_133, 1); -lean_inc(x_148); +lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_dec(x_40); +x_134 = lean_ctor_get(x_130, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_130, 1); +lean_inc(x_135); +lean_dec(x_130); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +} +else +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec(x_40); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_137 = lean_ctor_get(x_128, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_128, 1); +lean_inc(x_138); +lean_dec(x_128); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +return x_139; +} +} +} +else +{ +lean_object* x_140; +lean_dec(x_47); +x_140 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor(x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +if (lean_obj_tag(x_140) == 0) +{ +lean_object* x_141; lean_object* x_142; +x_141 = lean_ctor_get(x_140, 1); +lean_inc(x_141); +lean_dec(x_140); +x_142 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_141); +lean_dec(x_11); +lean_dec(x_23); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +lean_dec(x_142); +x_144 = l_Lean_Elab_Term_Do_mkBreak(x_40); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_143); +return x_145; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_40); +x_146 = lean_ctor_get(x_142, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_142, 1); lean_inc(x_147); -lean_dec(x_133); -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; -} -} +lean_dec(x_142); +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_150; +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_dec(x_40); -lean_dec(x_25); -x_150 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -if (lean_obj_tag(x_150) == 0) -{ -lean_object* x_151; lean_object* x_152; -x_151 = lean_ctor_get(x_150, 1); -lean_inc(x_151); -lean_dec(x_150); -x_152 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_151); +lean_dec(x_23); lean_dec(x_11); -lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -if (lean_obj_tag(x_152) == 0) -{ -uint8_t x_153; -x_153 = !lean_is_exclusive(x_152); -if (x_153 == 0) -{ -lean_object* x_154; lean_object* x_155; -x_154 = lean_ctor_get(x_152, 0); -lean_dec(x_154); -x_155 = l_Lean_Elab_Term_Do_mkBreak(x_33); -lean_ctor_set(x_152, 0, x_155); -return x_152; +x_149 = lean_ctor_get(x_140, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_140, 1); +lean_inc(x_150); +lean_dec(x_140); +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +return x_151; +} +} } else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_156 = lean_ctor_get(x_152, 1); +lean_object* x_152; +lean_dec(x_47); +x_152 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +lean_dec(x_40); +return x_152; +} +} +else +{ +lean_object* x_153; +lean_dec(x_47); +x_153 = l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +return x_153; +} +} +else +{ +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; uint8_t x_169; uint8_t x_170; uint8_t x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_47); +x_154 = lean_st_ref_take(x_11, x_38); +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_154, 1); lean_inc(x_156); -lean_dec(x_152); -x_157 = l_Lean_Elab_Term_Do_mkBreak(x_33); -x_158 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_156); -return x_158; -} -} -else -{ -uint8_t x_159; -lean_dec(x_33); -x_159 = !lean_is_exclusive(x_152); -if (x_159 == 0) -{ -return x_152; -} -else -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_160 = lean_ctor_get(x_152, 0); -x_161 = lean_ctor_get(x_152, 1); -lean_inc(x_161); +lean_dec(x_154); +x_157 = lean_ctor_get(x_155, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_155, 1); +lean_inc(x_158); +x_159 = lean_ctor_get(x_155, 2); +lean_inc(x_159); +x_160 = lean_ctor_get(x_155, 3); lean_inc(x_160); -lean_dec(x_152); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_160); +lean_dec(x_155); +x_161 = lean_nat_add(x_158, x_13); +x_162 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_162, 0, x_157); lean_ctor_set(x_162, 1, x_161); -return x_162; -} -} -} -else -{ -uint8_t x_163; -lean_dec(x_33); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_163 = !lean_is_exclusive(x_150); -if (x_163 == 0) -{ -return x_150; -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_150, 0); -x_165 = lean_ctor_get(x_150, 1); -lean_inc(x_165); +lean_ctor_set(x_162, 2, x_159); +lean_ctor_set(x_162, 3, x_160); +x_163 = lean_st_ref_set(x_11, x_162, x_156); +x_164 = lean_ctor_get(x_163, 1); lean_inc(x_164); -lean_dec(x_150); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -return x_166; -} -} +lean_dec(x_163); +x_165 = lean_ctor_get(x_6, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_6, 1); +lean_inc(x_166); +x_167 = lean_ctor_get(x_6, 2); +lean_inc(x_167); +x_168 = lean_ctor_get(x_6, 3); +lean_inc(x_168); +x_169 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); +x_170 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); +x_171 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); +x_172 = lean_ctor_get(x_6, 5); +lean_inc(x_172); +x_173 = lean_ctor_get(x_6, 6); +lean_inc(x_173); +x_174 = lean_ctor_get(x_6, 7); +lean_inc(x_174); +x_175 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); +lean_dec(x_6); +x_176 = lean_alloc_ctor(0, 8, 4); +lean_ctor_set(x_176, 0, x_165); +lean_ctor_set(x_176, 1, x_166); +lean_ctor_set(x_176, 2, x_167); +lean_ctor_set(x_176, 3, x_168); +lean_ctor_set(x_176, 4, x_158); +lean_ctor_set(x_176, 5, x_172); +lean_ctor_set(x_176, 6, x_173); +lean_ctor_set(x_176, 7, x_174); +lean_ctor_set_uint8(x_176, sizeof(void*)*8, x_169); +lean_ctor_set_uint8(x_176, sizeof(void*)*8 + 1, x_170); +lean_ctor_set_uint8(x_176, sizeof(void*)*8 + 2, x_171); +lean_ctor_set_uint8(x_176, sizeof(void*)*8 + 3, x_175); +x_177 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode(x_40, x_3, x_5, x_176, x_7, x_8, x_9, x_23, x_11, x_164); +lean_dec(x_40); +return x_177; } } else { -lean_object* x_167; +lean_object* x_178; +lean_dec(x_47); +x_178 = l_Lean_Elab_Term_Do_ToCodeBlock_doUnlessToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +lean_dec(x_23); lean_dec(x_40); -lean_dec(x_25); -x_167 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode(x_33, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -lean_dec(x_33); -return x_167; +return x_178; } } else { -lean_object* x_168; -lean_dec(x_40); -lean_dec(x_25); -x_168 = l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode(x_33, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -return x_168; -} -} -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; -lean_dec(x_40); -lean_dec(x_25); -x_169 = lean_st_ref_take(x_11, x_31); -x_170 = lean_ctor_get(x_169, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_169, 1); -lean_inc(x_171); -lean_dec(x_169); -x_172 = !lean_is_exclusive(x_170); -if (x_172 == 0) -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_173 = lean_ctor_get(x_170, 1); -x_174 = lean_nat_add(x_173, x_13); -lean_ctor_set(x_170, 1, x_174); -x_175 = lean_st_ref_set(x_11, x_170, x_171); -x_176 = lean_ctor_get(x_175, 1); -lean_inc(x_176); -lean_dec(x_175); -x_177 = !lean_is_exclusive(x_6); -if (x_177 == 0) -{ -lean_object* x_178; lean_object* x_179; -x_178 = lean_ctor_get(x_6, 4); -lean_dec(x_178); -lean_ctor_set(x_6, 4, x_173); -x_179 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode(x_33, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_176); -lean_dec(x_33); +lean_object* x_179; +lean_dec(x_47); +x_179 = l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); return x_179; } -else -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; uint8_t x_185; uint8_t 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_180 = lean_ctor_get(x_6, 0); -x_181 = lean_ctor_get(x_6, 1); -x_182 = lean_ctor_get(x_6, 2); -x_183 = lean_ctor_get(x_6, 3); -x_184 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -x_185 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -x_186 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); -x_187 = lean_ctor_get(x_6, 5); -x_188 = lean_ctor_get(x_6, 6); -x_189 = lean_ctor_get(x_6, 7); -x_190 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); -lean_inc(x_189); -lean_inc(x_188); -lean_inc(x_187); -lean_inc(x_183); -lean_inc(x_182); -lean_inc(x_181); -lean_inc(x_180); -lean_dec(x_6); -x_191 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_191, 0, x_180); -lean_ctor_set(x_191, 1, x_181); -lean_ctor_set(x_191, 2, x_182); -lean_ctor_set(x_191, 3, x_183); -lean_ctor_set(x_191, 4, x_173); -lean_ctor_set(x_191, 5, x_187); -lean_ctor_set(x_191, 6, x_188); -lean_ctor_set(x_191, 7, x_189); -lean_ctor_set_uint8(x_191, sizeof(void*)*8, x_184); -lean_ctor_set_uint8(x_191, sizeof(void*)*8 + 1, x_185); -lean_ctor_set_uint8(x_191, sizeof(void*)*8 + 2, x_186); -lean_ctor_set_uint8(x_191, sizeof(void*)*8 + 3, x_190); -x_192 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode(x_33, x_3, x_5, x_191, x_7, x_8, x_9, x_10, x_11, x_176); -lean_dec(x_33); -return x_192; -} } else { -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; uint8_t x_205; uint8_t x_206; uint8_t x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_193 = lean_ctor_get(x_170, 0); -x_194 = lean_ctor_get(x_170, 1); -x_195 = lean_ctor_get(x_170, 2); -x_196 = lean_ctor_get(x_170, 3); -lean_inc(x_196); -lean_inc(x_195); -lean_inc(x_194); -lean_inc(x_193); -lean_dec(x_170); -x_197 = lean_nat_add(x_194, x_13); -x_198 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_198, 0, x_193); -lean_ctor_set(x_198, 1, x_197); -lean_ctor_set(x_198, 2, x_195); -lean_ctor_set(x_198, 3, x_196); -x_199 = lean_st_ref_set(x_11, x_198, x_171); -x_200 = lean_ctor_get(x_199, 1); -lean_inc(x_200); -lean_dec(x_199); -x_201 = lean_ctor_get(x_6, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_6, 1); -lean_inc(x_202); -x_203 = lean_ctor_get(x_6, 2); -lean_inc(x_203); -x_204 = lean_ctor_get(x_6, 3); -lean_inc(x_204); -x_205 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -x_206 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -x_207 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); -x_208 = lean_ctor_get(x_6, 5); -lean_inc(x_208); -x_209 = lean_ctor_get(x_6, 6); -lean_inc(x_209); -x_210 = lean_ctor_get(x_6, 7); -lean_inc(x_210); -x_211 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - lean_ctor_release(x_6, 2); - lean_ctor_release(x_6, 3); - lean_ctor_release(x_6, 4); - lean_ctor_release(x_6, 5); - lean_ctor_release(x_6, 6); - lean_ctor_release(x_6, 7); - x_212 = x_6; -} else { - lean_dec_ref(x_6); - x_212 = lean_box(0); -} -if (lean_is_scalar(x_212)) { - x_213 = lean_alloc_ctor(0, 8, 4); -} else { - x_213 = x_212; -} -lean_ctor_set(x_213, 0, x_201); -lean_ctor_set(x_213, 1, x_202); -lean_ctor_set(x_213, 2, x_203); -lean_ctor_set(x_213, 3, x_204); -lean_ctor_set(x_213, 4, x_194); -lean_ctor_set(x_213, 5, x_208); -lean_ctor_set(x_213, 6, x_209); -lean_ctor_set(x_213, 7, x_210); -lean_ctor_set_uint8(x_213, sizeof(void*)*8, x_205); -lean_ctor_set_uint8(x_213, sizeof(void*)*8 + 1, x_206); -lean_ctor_set_uint8(x_213, sizeof(void*)*8 + 2, x_207); -lean_ctor_set_uint8(x_213, sizeof(void*)*8 + 3, x_211); -x_214 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode(x_33, x_3, x_5, x_213, x_7, x_8, x_9, x_10, x_11, x_200); -lean_dec(x_33); -return x_214; -} -} -} -else -{ -lean_object* x_215; +lean_object* x_180; +lean_dec(x_47); +x_180 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); lean_dec(x_40); -lean_dec(x_25); -x_215 = l_Lean_Elab_Term_Do_ToCodeBlock_doUnlessToCode(x_33, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -lean_dec(x_33); +return x_180; +} +} +else +{ +lean_object* x_181; +lean_dec(x_47); +x_181 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode(x_40, x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +return x_181; +} +} +else +{ +lean_object* x_182; +lean_dec(x_47); +lean_inc(x_11); +lean_inc(x_23); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_182 = l_Lean_Elab_Term_Do_getDoReassignVars(x_40, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +if (lean_obj_tag(x_182) == 0) +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_183 = lean_ctor_get(x_182, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_182, 1); +lean_inc(x_184); +lean_dec(x_182); +x_185 = l_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable(x_183, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_184); +if (lean_obj_tag(x_185) == 0) +{ +lean_object* x_186; lean_object* x_187; +x_186 = lean_ctor_get(x_185, 1); +lean_inc(x_186); +lean_dec(x_185); +lean_inc(x_11); +lean_inc(x_23); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_187 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_186); +if (lean_obj_tag(x_187) == 0) +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec(x_187); +x_190 = l_Lean_Elab_Term_Do_mkReassignCore(x_183, x_40, x_188, x_6, x_7, x_8, x_9, x_23, x_11, x_189); +return x_190; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; +lean_dec(x_183); +lean_dec(x_40); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_191 = lean_ctor_get(x_187, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_187, 1); +lean_inc(x_192); +lean_dec(x_187); +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_191); +lean_ctor_set(x_193, 1, x_192); +return x_193; +} +} +else +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; +lean_dec(x_183); +lean_dec(x_40); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_194 = lean_ctor_get(x_185, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_185, 1); +lean_inc(x_195); +lean_dec(x_185); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; +lean_dec(x_40); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_197 = lean_ctor_get(x_182, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_182, 1); +lean_inc(x_198); +lean_dec(x_182); +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_197); +lean_ctor_set(x_199, 1, x_198); +return x_199; +} +} +} +else +{ +lean_object* x_200; +lean_dec(x_47); +lean_inc(x_11); +lean_inc(x_23); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_200 = l_Lean_Elab_Term_Do_getDoLetRecVars(x_40, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +if (lean_obj_tag(x_200) == 0) +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +lean_dec(x_200); +x_203 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_201, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_202); +if (lean_obj_tag(x_203) == 0) +{ +lean_object* x_204; lean_object* x_205; +x_204 = lean_ctor_get(x_203, 1); +lean_inc(x_204); +lean_dec(x_203); +x_205 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_204); +if (lean_obj_tag(x_205) == 0) +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_206 = lean_ctor_get(x_205, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_205, 1); +lean_inc(x_207); +lean_dec(x_205); +x_208 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_201, x_40, x_206); +x_209 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_209, 0, x_208); +lean_ctor_set(x_209, 1, x_207); +return x_209; +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; +lean_dec(x_201); +lean_dec(x_40); +x_210 = lean_ctor_get(x_205, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_205, 1); +lean_inc(x_211); +lean_dec(x_205); +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_210); +lean_ctor_set(x_212, 1, x_211); +return x_212; +} +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; +lean_dec(x_201); +lean_dec(x_40); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_213 = lean_ctor_get(x_203, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_203, 1); +lean_inc(x_214); +lean_dec(x_203); +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_213); +lean_ctor_set(x_215, 1, x_214); return x_215; } } else { -lean_object* x_216; +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_dec(x_40); -lean_dec(x_25); -x_216 = l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(x_33, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -return x_216; -} -} -else -{ -lean_object* x_217; -lean_dec(x_40); -lean_dec(x_25); -x_217 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode(x_33, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -lean_dec(x_33); -return x_217; -} -} -else -{ -lean_object* x_218; -lean_dec(x_40); -lean_dec(x_25); -x_218 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode(x_33, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_216 = lean_ctor_get(x_200, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_200, 1); +lean_inc(x_217); +lean_dec(x_200); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_216); +lean_ctor_set(x_218, 1, x_217); return x_218; } } +} else { -lean_object* x_219; -lean_dec(x_40); -lean_dec(x_25); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_219 = l_Lean_Elab_Term_Do_getDoReassignVars(x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -if (lean_obj_tag(x_219) == 0) -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; -x_220 = lean_ctor_get(x_219, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_219, 1); -lean_inc(x_221); -lean_dec(x_219); -x_222 = l_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable(x_220, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_221); +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +lean_dec(x_47); +x_219 = l_Lean_Elab_Term_Do_getDoHaveVar(x_40); +x_220 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_221 = lean_array_push(x_220, x_219); +x_222 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_221, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_38); if (lean_obj_tag(x_222) == 0) { lean_object* x_223; lean_object* x_224; x_223 = lean_ctor_get(x_222, 1); lean_inc(x_223); lean_dec(x_222); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_224 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_223); +x_224 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_223); if (lean_obj_tag(x_224) == 0) { -lean_object* x_225; lean_object* x_226; lean_object* x_227; +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; x_225 = lean_ctor_get(x_224, 0); lean_inc(x_225); x_226 = lean_ctor_get(x_224, 1); lean_inc(x_226); lean_dec(x_224); -x_227 = l_Lean_Elab_Term_Do_mkReassignCore(x_220, x_33, x_225, x_6, x_7, x_8, x_9, x_10, x_11, x_226); -return x_227; -} -else -{ -uint8_t x_228; -lean_dec(x_220); -lean_dec(x_33); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_228 = !lean_is_exclusive(x_224); -if (x_228 == 0) -{ -return x_224; +x_227 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_221, x_40, x_225); +x_228 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_226); +return x_228; } else { lean_object* x_229; lean_object* x_230; lean_object* x_231; +lean_dec(x_221); +lean_dec(x_40); x_229 = lean_ctor_get(x_224, 0); +lean_inc(x_229); x_230 = lean_ctor_get(x_224, 1); lean_inc(x_230); -lean_inc(x_229); lean_dec(x_224); x_231 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_231, 0, x_229); @@ -56008,13 +34830,12 @@ lean_ctor_set(x_231, 1, x_230); return x_231; } } -} else { -uint8_t x_232; -lean_dec(x_220); -lean_dec(x_33); -lean_dec(x_10); +lean_object* x_232; lean_object* x_233; lean_object* x_234; +lean_dec(x_221); +lean_dec(x_40); +lean_dec(x_23); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -56022,279 +34843,135 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_232 = !lean_is_exclusive(x_222); -if (x_232 == 0) -{ -return x_222; -} -else -{ -lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_233 = lean_ctor_get(x_222, 0); -x_234 = lean_ctor_get(x_222, 1); -lean_inc(x_234); +x_232 = lean_ctor_get(x_222, 0); +lean_inc(x_232); +x_233 = lean_ctor_get(x_222, 1); lean_inc(x_233); lean_dec(x_222); -x_235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_235, 0, x_233); -lean_ctor_set(x_235, 1, x_234); -return x_235; +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_232); +lean_ctor_set(x_234, 1, x_233); +return x_234; } } } else { -uint8_t x_236; -lean_dec(x_33); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_236 = !lean_is_exclusive(x_219); -if (x_236 == 0) -{ -return x_219; -} -else -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_237 = lean_ctor_get(x_219, 0); -x_238 = lean_ctor_get(x_219, 1); -lean_inc(x_238); -lean_inc(x_237); -lean_dec(x_219); -x_239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_239, 0, x_237); -lean_ctor_set(x_239, 1, x_238); -return x_239; -} -} -} -} -else -{ -lean_object* x_240; -lean_dec(x_40); -lean_dec(x_25); +lean_object* x_235; +lean_dec(x_47); lean_inc(x_11); -lean_inc(x_10); +lean_inc(x_23); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_240 = l_Lean_Elab_Term_Do_getDoLetRecVars(x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -if (lean_obj_tag(x_240) == 0) +x_235 = l_Lean_Elab_Term_Do_getDoLetVars(x_40, x_6, x_7, x_8, x_9, x_23, x_11, x_38); +if (lean_obj_tag(x_235) == 0) { -lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_241 = lean_ctor_get(x_240, 0); -lean_inc(x_241); -x_242 = lean_ctor_get(x_240, 1); +lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_236 = lean_ctor_get(x_235, 0); +lean_inc(x_236); +x_237 = lean_ctor_get(x_235, 1); +lean_inc(x_237); +lean_dec(x_235); +x_238 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_236, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_237); +if (lean_obj_tag(x_238) == 0) +{ +lean_object* x_239; uint8_t x_240; +x_239 = lean_ctor_get(x_238, 1); +lean_inc(x_239); +lean_dec(x_238); +lean_inc(x_40); +x_240 = l_Lean_Elab_Term_Do_isMutableLet(x_40); +if (x_240 == 0) +{ +lean_object* x_241; +x_241 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_239); +if (lean_obj_tag(x_241) == 0) +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +x_242 = lean_ctor_get(x_241, 0); lean_inc(x_242); -lean_dec(x_240); -x_243 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_241, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_242); -if (lean_obj_tag(x_243) == 0) -{ -lean_object* x_244; lean_object* x_245; -x_244 = lean_ctor_get(x_243, 1); -lean_inc(x_244); -lean_dec(x_243); -x_245 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_244); -if (lean_obj_tag(x_245) == 0) -{ -uint8_t x_246; -x_246 = !lean_is_exclusive(x_245); -if (x_246 == 0) -{ -lean_object* x_247; lean_object* x_248; -x_247 = lean_ctor_get(x_245, 0); -x_248 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_241, x_33, x_247); -lean_ctor_set(x_245, 0, x_248); +x_243 = lean_ctor_get(x_241, 1); +lean_inc(x_243); +lean_dec(x_241); +x_244 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_236, x_40, x_242); +x_245 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_245, 0, x_244); +lean_ctor_set(x_245, 1, x_243); return x_245; } else { -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; -x_249 = lean_ctor_get(x_245, 0); -x_250 = lean_ctor_get(x_245, 1); -lean_inc(x_250); -lean_inc(x_249); -lean_dec(x_245); -x_251 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_241, x_33, x_249); -x_252 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_250); -return x_252; -} -} -else -{ -uint8_t x_253; -lean_dec(x_241); -lean_dec(x_33); -x_253 = !lean_is_exclusive(x_245); -if (x_253 == 0) -{ -return x_245; -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_254 = lean_ctor_get(x_245, 0); -x_255 = lean_ctor_get(x_245, 1); -lean_inc(x_255); -lean_inc(x_254); -lean_dec(x_245); -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_254); -lean_ctor_set(x_256, 1, x_255); -return x_256; -} -} -} -else -{ -uint8_t x_257; -lean_dec(x_241); -lean_dec(x_33); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_257 = !lean_is_exclusive(x_243); -if (x_257 == 0) -{ -return x_243; -} -else -{ -lean_object* x_258; lean_object* x_259; lean_object* x_260; -x_258 = lean_ctor_get(x_243, 0); -x_259 = lean_ctor_get(x_243, 1); -lean_inc(x_259); -lean_inc(x_258); -lean_dec(x_243); -x_260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_260, 0, x_258); -lean_ctor_set(x_260, 1, x_259); -return x_260; -} -} -} -else -{ -uint8_t x_261; -lean_dec(x_33); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_261 = !lean_is_exclusive(x_240); -if (x_261 == 0) -{ -return x_240; -} -else -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_262 = lean_ctor_get(x_240, 0); -x_263 = lean_ctor_get(x_240, 1); -lean_inc(x_263); -lean_inc(x_262); -lean_dec(x_240); -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_262); -lean_ctor_set(x_264, 1, x_263); -return x_264; -} -} -} -} -else -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +lean_object* x_246; lean_object* x_247; lean_object* x_248; +lean_dec(x_236); lean_dec(x_40); -lean_dec(x_25); -x_265 = l_Lean_Elab_Term_Do_getDoHaveVar(x_33); -x_266 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_267 = lean_array_push(x_266, x_265); -x_268 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_267, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -if (lean_obj_tag(x_268) == 0) -{ -lean_object* x_269; lean_object* x_270; -x_269 = lean_ctor_get(x_268, 1); -lean_inc(x_269); -lean_dec(x_268); -x_270 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_269); -if (lean_obj_tag(x_270) == 0) -{ -uint8_t x_271; -x_271 = !lean_is_exclusive(x_270); -if (x_271 == 0) -{ -lean_object* x_272; lean_object* x_273; -x_272 = lean_ctor_get(x_270, 0); -x_273 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_267, x_33, x_272); -lean_ctor_set(x_270, 0, x_273); -return x_270; -} -else -{ -lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_274 = lean_ctor_get(x_270, 0); -x_275 = lean_ctor_get(x_270, 1); -lean_inc(x_275); -lean_inc(x_274); -lean_dec(x_270); -x_276 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_267, x_33, x_274); -x_277 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_277, 0, x_276); -lean_ctor_set(x_277, 1, x_275); -return x_277; +x_246 = lean_ctor_get(x_241, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_241, 1); +lean_inc(x_247); +lean_dec(x_241); +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_246); +lean_ctor_set(x_248, 1, x_247); +return x_248; } } else { -uint8_t x_278; -lean_dec(x_267); -lean_dec(x_33); -x_278 = !lean_is_exclusive(x_270); -if (x_278 == 0) +lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; +x_249 = lean_ctor_get(x_5, 0); +lean_inc(x_249); +x_250 = lean_ctor_get(x_5, 1); +lean_inc(x_250); +x_251 = lean_ctor_get(x_5, 2); +lean_inc(x_251); +x_252 = lean_ctor_get_uint8(x_5, sizeof(void*)*3); +lean_dec(x_5); +x_253 = l_Lean_Elab_Term_Do_insertVars(x_251, x_236); +x_254 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_254, 0, x_249); +lean_ctor_set(x_254, 1, x_250); +lean_ctor_set(x_254, 2, x_253); +lean_ctor_set_uint8(x_254, sizeof(void*)*3, x_252); +x_255 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_254, x_6, x_7, x_8, x_9, x_23, x_11, x_239); +if (lean_obj_tag(x_255) == 0) { -return x_270; +lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_256 = lean_ctor_get(x_255, 0); +lean_inc(x_256); +x_257 = lean_ctor_get(x_255, 1); +lean_inc(x_257); +lean_dec(x_255); +x_258 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_236, x_40, x_256); +x_259 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_257); +return x_259; } else { -lean_object* x_279; lean_object* x_280; lean_object* x_281; -x_279 = lean_ctor_get(x_270, 0); -x_280 = lean_ctor_get(x_270, 1); -lean_inc(x_280); -lean_inc(x_279); -lean_dec(x_270); -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_279); -lean_ctor_set(x_281, 1, x_280); -return x_281; +lean_object* x_260; lean_object* x_261; lean_object* x_262; +lean_dec(x_236); +lean_dec(x_40); +x_260 = lean_ctor_get(x_255, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_255, 1); +lean_inc(x_261); +lean_dec(x_255); +x_262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_262, 0, x_260); +lean_ctor_set(x_262, 1, x_261); +return x_262; } } } else { -uint8_t x_282; -lean_dec(x_267); -lean_dec(x_33); -lean_dec(x_10); +lean_object* x_263; lean_object* x_264; lean_object* x_265; +lean_dec(x_236); +lean_dec(x_40); +lean_dec(x_23); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -56302,2428 +34979,148 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_282 = !lean_is_exclusive(x_268); -if (x_282 == 0) +x_263 = lean_ctor_get(x_238, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_238, 1); +lean_inc(x_264); +lean_dec(x_238); +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_263); +lean_ctor_set(x_265, 1, x_264); +return x_265; +} +} +else { +lean_object* x_266; lean_object* x_267; lean_object* x_268; +lean_dec(x_40); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_266 = lean_ctor_get(x_235, 0); +lean_inc(x_266); +x_267 = lean_ctor_get(x_235, 1); +lean_inc(x_267); +lean_dec(x_235); +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_266); +lean_ctor_set(x_268, 1, x_267); return x_268; } +} +} +} +else +{ +lean_object* x_269; lean_object* x_270; lean_object* x_271; +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_269 = lean_ctor_get(x_36, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_36, 1); +lean_inc(x_270); +lean_dec(x_36); +x_271 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_271, 0, x_269); +lean_ctor_set(x_271, 1, x_270); +return x_271; +} +} +else +{ +lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; +lean_dec(x_2); +x_272 = lean_ctor_get(x_32, 1); +lean_inc(x_272); +lean_dec(x_32); +x_273 = lean_ctor_get(x_33, 0); +lean_inc(x_273); +lean_dec(x_33); +x_274 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_274, 0, x_273); +lean_ctor_set(x_274, 1, x_3); +x_275 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_274, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_272); +return x_275; +} +} +else +{ +lean_object* x_276; lean_object* x_277; lean_object* x_278; +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_276 = lean_ctor_get(x_32, 0); +lean_inc(x_276); +x_277 = lean_ctor_get(x_32, 1); +lean_inc(x_277); +lean_dec(x_32); +x_278 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_278, 0, x_276); +lean_ctor_set(x_278, 1, x_277); +return x_278; +} +} +else +{ +lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; +lean_dec(x_2); +x_279 = lean_ctor_get(x_28, 1); +lean_inc(x_279); +lean_dec(x_28); +x_280 = lean_ctor_get(x_29, 0); +lean_inc(x_280); +lean_dec(x_29); +x_281 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_281, 0, x_280); +lean_ctor_set(x_281, 1, x_3); +x_282 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_281, x_5, x_6, x_7, x_8, x_9, x_23, x_11, x_279); +return x_282; +} +} else { lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_283 = lean_ctor_get(x_268, 0); -x_284 = lean_ctor_get(x_268, 1); -lean_inc(x_284); +lean_dec(x_23); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_283 = lean_ctor_get(x_28, 0); lean_inc(x_283); -lean_dec(x_268); +x_284 = lean_ctor_get(x_28, 1); +lean_inc(x_284); +lean_dec(x_28); x_285 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_285, 0, x_283); lean_ctor_set(x_285, 1, x_284); return x_285; } } -} -} else { -lean_object* x_286; -lean_dec(x_40); -lean_dec(x_25); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_286 = l_Lean_Elab_Term_Do_getDoLetVars(x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -if (lean_obj_tag(x_286) == 0) -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; -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 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_287, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_288); -if (lean_obj_tag(x_289) == 0) -{ -lean_object* x_290; uint8_t x_291; -x_290 = lean_ctor_get(x_289, 1); -lean_inc(x_290); -lean_dec(x_289); -lean_inc(x_33); -x_291 = l_Lean_Elab_Term_Do_isMutableLet(x_33); -if (x_291 == 0) -{ -lean_object* x_292; -x_292 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_290); -if (lean_obj_tag(x_292) == 0) -{ -uint8_t x_293; -x_293 = !lean_is_exclusive(x_292); -if (x_293 == 0) -{ -lean_object* x_294; lean_object* x_295; -x_294 = lean_ctor_get(x_292, 0); -x_295 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_287, x_33, x_294); -lean_ctor_set(x_292, 0, x_295); -return x_292; -} -else -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -x_296 = lean_ctor_get(x_292, 0); -x_297 = lean_ctor_get(x_292, 1); -lean_inc(x_297); -lean_inc(x_296); -lean_dec(x_292); -x_298 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_287, x_33, x_296); -x_299 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_299, 0, x_298); -lean_ctor_set(x_299, 1, x_297); -return x_299; -} -} -else -{ -uint8_t x_300; -lean_dec(x_287); -lean_dec(x_33); -x_300 = !lean_is_exclusive(x_292); -if (x_300 == 0) -{ -return x_292; -} -else -{ -lean_object* x_301; lean_object* x_302; lean_object* x_303; -x_301 = lean_ctor_get(x_292, 0); -x_302 = lean_ctor_get(x_292, 1); -lean_inc(x_302); -lean_inc(x_301); -lean_dec(x_292); -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_301); -lean_ctor_set(x_303, 1, x_302); -return x_303; -} -} -} -else -{ -uint8_t x_304; -x_304 = !lean_is_exclusive(x_5); -if (x_304 == 0) -{ -lean_object* x_305; lean_object* x_306; lean_object* x_307; -x_305 = lean_ctor_get(x_5, 2); -x_306 = l_Lean_Elab_Term_Do_insertVars(x_305, x_287); -lean_ctor_set(x_5, 2, x_306); -x_307 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_290); -if (lean_obj_tag(x_307) == 0) -{ -uint8_t x_308; -x_308 = !lean_is_exclusive(x_307); -if (x_308 == 0) -{ -lean_object* x_309; lean_object* x_310; -x_309 = lean_ctor_get(x_307, 0); -x_310 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_287, x_33, x_309); -lean_ctor_set(x_307, 0, x_310); -return x_307; -} -else -{ -lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; -x_311 = lean_ctor_get(x_307, 0); -x_312 = lean_ctor_get(x_307, 1); -lean_inc(x_312); -lean_inc(x_311); -lean_dec(x_307); -x_313 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_287, x_33, x_311); -x_314 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_312); -return x_314; -} -} -else -{ -uint8_t x_315; -lean_dec(x_287); -lean_dec(x_33); -x_315 = !lean_is_exclusive(x_307); -if (x_315 == 0) -{ -return x_307; -} -else -{ -lean_object* x_316; lean_object* x_317; lean_object* x_318; -x_316 = lean_ctor_get(x_307, 0); -x_317 = lean_ctor_get(x_307, 1); -lean_inc(x_317); -lean_inc(x_316); -lean_dec(x_307); -x_318 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_318, 0, x_316); -lean_ctor_set(x_318, 1, x_317); -return x_318; -} -} -} -else -{ -lean_object* x_319; lean_object* x_320; lean_object* x_321; uint8_t x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; -x_319 = lean_ctor_get(x_5, 0); -x_320 = lean_ctor_get(x_5, 1); -x_321 = lean_ctor_get(x_5, 2); -x_322 = lean_ctor_get_uint8(x_5, sizeof(void*)*3); -lean_inc(x_321); -lean_inc(x_320); -lean_inc(x_319); -lean_dec(x_5); -x_323 = l_Lean_Elab_Term_Do_insertVars(x_321, x_287); -x_324 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_324, 0, x_319); -lean_ctor_set(x_324, 1, x_320); -lean_ctor_set(x_324, 2, x_323); -lean_ctor_set_uint8(x_324, sizeof(void*)*3, x_322); -x_325 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_324, x_6, x_7, x_8, x_9, x_10, x_11, x_290); -if (lean_obj_tag(x_325) == 0) -{ -lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_326 = lean_ctor_get(x_325, 0); -lean_inc(x_326); -x_327 = lean_ctor_get(x_325, 1); -lean_inc(x_327); -if (lean_is_exclusive(x_325)) { - lean_ctor_release(x_325, 0); - lean_ctor_release(x_325, 1); - x_328 = x_325; -} else { - lean_dec_ref(x_325); - x_328 = lean_box(0); -} -x_329 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_287, x_33, x_326); -if (lean_is_scalar(x_328)) { - x_330 = lean_alloc_ctor(0, 2, 0); -} else { - x_330 = x_328; -} -lean_ctor_set(x_330, 0, x_329); -lean_ctor_set(x_330, 1, x_327); -return x_330; -} -else -{ -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; -lean_dec(x_287); -lean_dec(x_33); -x_331 = lean_ctor_get(x_325, 0); -lean_inc(x_331); -x_332 = lean_ctor_get(x_325, 1); -lean_inc(x_332); -if (lean_is_exclusive(x_325)) { - lean_ctor_release(x_325, 0); - lean_ctor_release(x_325, 1); - x_333 = x_325; -} else { - lean_dec_ref(x_325); - x_333 = lean_box(0); -} -if (lean_is_scalar(x_333)) { - x_334 = lean_alloc_ctor(1, 2, 0); -} else { - x_334 = x_333; -} -lean_ctor_set(x_334, 0, x_331); -lean_ctor_set(x_334, 1, x_332); -return x_334; -} -} -} -} -else -{ -uint8_t x_335; -lean_dec(x_287); -lean_dec(x_33); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_335 = !lean_is_exclusive(x_289); -if (x_335 == 0) -{ -return x_289; -} -else -{ -lean_object* x_336; lean_object* x_337; lean_object* x_338; -x_336 = lean_ctor_get(x_289, 0); -x_337 = lean_ctor_get(x_289, 1); -lean_inc(x_337); -lean_inc(x_336); -lean_dec(x_289); -x_338 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_338, 0, x_336); -lean_ctor_set(x_338, 1, x_337); -return x_338; -} -} -} -else -{ -uint8_t x_339; -lean_dec(x_33); -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_339 = !lean_is_exclusive(x_286); -if (x_339 == 0) -{ -return x_286; -} -else -{ -lean_object* x_340; lean_object* x_341; lean_object* x_342; -x_340 = lean_ctor_get(x_286, 0); -x_341 = lean_ctor_get(x_286, 1); -lean_inc(x_341); -lean_inc(x_340); -lean_dec(x_286); -x_342 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_342, 0, x_340); -lean_ctor_set(x_342, 1, x_341); -return x_342; -} -} -} -} -} -} -else -{ -lean_object* x_406; lean_object* x_407; lean_object* x_408; -lean_dec(x_25); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_2); -x_406 = lean_ctor_get(x_28, 0); -lean_inc(x_406); -lean_dec(x_28); -x_407 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_407, 0, x_406); -lean_ctor_set(x_407, 1, x_3); -x_408 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_407, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); -return x_408; -} -} -} -else -{ -lean_object* x_457; lean_object* x_458; lean_object* x_459; -lean_dec(x_25); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_2); -x_457 = lean_ctor_get(x_26, 0); -lean_inc(x_457); -lean_dec(x_26); -x_458 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_458, 0, x_457); -lean_ctor_set(x_458, 1, x_3); -x_459 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_458, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); -return x_459; -} -} -} -else -{ -uint8_t x_523; -lean_dec(x_10); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_523 = !lean_is_exclusive(x_23); -if (x_523 == 0) -{ -return x_23; -} -else -{ -lean_object* x_524; lean_object* x_525; lean_object* x_526; -x_524 = lean_ctor_get(x_23, 0); -x_525 = lean_ctor_get(x_23, 1); -lean_inc(x_525); -lean_inc(x_524); +lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_dec(x_23); -x_526 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_526, 0, x_524); -lean_ctor_set(x_526, 1, x_525); -return x_526; -} -} -} -else -{ -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; -x_527 = lean_ctor_get(x_10, 0); -x_528 = lean_ctor_get(x_10, 2); -x_529 = lean_ctor_get(x_10, 3); -x_530 = lean_ctor_get(x_10, 4); -x_531 = lean_ctor_get(x_10, 5); -x_532 = lean_ctor_get(x_10, 6); -x_533 = lean_ctor_get(x_10, 7); -lean_inc(x_533); -lean_inc(x_532); -lean_inc(x_531); -lean_inc(x_530); -lean_inc(x_529); -lean_inc(x_528); -lean_inc(x_527); -lean_dec(x_10); -x_534 = l_Lean_replaceRef(x_2, x_529); -lean_dec(x_529); -lean_inc(x_531); -lean_inc(x_530); -lean_inc(x_534); -lean_inc(x_528); -lean_inc(x_14); -x_535 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_535, 0, x_527); -lean_ctor_set(x_535, 1, x_14); -lean_ctor_set(x_535, 2, x_528); -lean_ctor_set(x_535, 3, x_534); -lean_ctor_set(x_535, 4, x_530); -lean_ctor_set(x_535, 5, x_531); -lean_ctor_set(x_535, 6, x_532); -lean_ctor_set(x_535, 7, x_533); -x_536 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__1; -x_537 = l_Lean_Core_checkMaxHeartbeats(x_536, x_535, x_11, x_12); -if (lean_obj_tag(x_537) == 0) -{ -lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; -x_538 = lean_ctor_get(x_537, 1); -lean_inc(x_538); -if (lean_is_exclusive(x_537)) { - lean_ctor_release(x_537, 0); - lean_ctor_release(x_537, 1); - x_539 = x_537; -} else { - lean_dec_ref(x_537); - x_539 = lean_box(0); -} -x_911 = lean_st_ref_get(x_11, x_538); -x_912 = lean_ctor_get(x_911, 0); -lean_inc(x_912); -x_913 = lean_ctor_get(x_911, 1); -lean_inc(x_913); -lean_dec(x_911); -x_914 = lean_ctor_get(x_912, 0); -lean_inc(x_914); -lean_dec(x_912); -lean_inc(x_914); -x_915 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_915, 0, x_914); -lean_inc(x_530); -x_916 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_916, 0, x_530); -lean_inc(x_914); -x_917 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_917, 0, x_914); -lean_inc(x_531); -lean_inc(x_530); -lean_inc(x_914); -x_918 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_918, 0, x_914); -lean_closure_set(x_918, 1, x_530); -lean_closure_set(x_918, 2, x_531); -lean_inc(x_531); -lean_inc(x_530); -lean_inc(x_914); -x_919 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_919, 0, x_914); -lean_closure_set(x_919, 1, x_530); -lean_closure_set(x_919, 2, x_531); -x_920 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_920, 0, x_915); -lean_ctor_set(x_920, 1, x_916); -lean_ctor_set(x_920, 2, x_917); -lean_ctor_set(x_920, 3, x_918); -lean_ctor_set(x_920, 4, x_919); -x_921 = x_920; -x_922 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_535, x_11, x_913); -x_923 = lean_ctor_get(x_922, 0); -lean_inc(x_923); -x_924 = lean_ctor_get(x_922, 1); -lean_inc(x_924); -lean_dec(x_922); -x_925 = lean_st_ref_get(x_11, x_924); -x_926 = lean_ctor_get(x_925, 0); -lean_inc(x_926); -x_927 = lean_ctor_get(x_925, 1); -lean_inc(x_927); -lean_dec(x_925); -x_928 = lean_ctor_get(x_926, 1); -lean_inc(x_928); -lean_dec(x_926); -x_929 = lean_environment_main_module(x_914); -lean_inc(x_534); -lean_inc(x_528); -lean_inc(x_14); -x_930 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_930, 0, x_921); -lean_ctor_set(x_930, 1, x_929); -lean_ctor_set(x_930, 2, x_923); -lean_ctor_set(x_930, 3, x_14); -lean_ctor_set(x_930, 4, x_528); -lean_ctor_set(x_930, 5, x_534); -x_931 = lean_box(0); -x_932 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_932, 0, x_928); -lean_ctor_set(x_932, 1, x_931); -lean_inc(x_2); -x_933 = l_Lean_Macro_expandMacro_x3f(x_2, x_930, x_932); -if (lean_obj_tag(x_933) == 0) -{ -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; -x_934 = lean_ctor_get(x_933, 0); -lean_inc(x_934); -x_935 = lean_ctor_get(x_933, 1); -lean_inc(x_935); -lean_dec(x_933); -x_936 = lean_ctor_get(x_935, 0); -lean_inc(x_936); -x_937 = lean_st_ref_take(x_11, x_927); -x_938 = lean_ctor_get(x_937, 0); -lean_inc(x_938); -x_939 = lean_ctor_get(x_937, 1); -lean_inc(x_939); -lean_dec(x_937); -x_940 = lean_ctor_get(x_938, 0); -lean_inc(x_940); -x_941 = lean_ctor_get(x_938, 2); -lean_inc(x_941); -x_942 = lean_ctor_get(x_938, 3); -lean_inc(x_942); -if (lean_is_exclusive(x_938)) { - lean_ctor_release(x_938, 0); - lean_ctor_release(x_938, 1); - lean_ctor_release(x_938, 2); - lean_ctor_release(x_938, 3); - x_943 = x_938; -} else { - lean_dec_ref(x_938); - x_943 = lean_box(0); -} -if (lean_is_scalar(x_943)) { - x_944 = lean_alloc_ctor(0, 4, 0); -} else { - x_944 = x_943; -} -lean_ctor_set(x_944, 0, x_940); -lean_ctor_set(x_944, 1, x_936); -lean_ctor_set(x_944, 2, x_941); -lean_ctor_set(x_944, 3, x_942); -x_945 = lean_st_ref_set(x_11, x_944, x_939); -x_946 = lean_ctor_get(x_945, 1); -lean_inc(x_946); -lean_dec(x_945); -x_947 = lean_ctor_get(x_935, 1); -lean_inc(x_947); -lean_dec(x_935); -x_948 = l_List_reverse___rarg(x_947); -x_949 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_948, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_946); -x_950 = lean_ctor_get(x_949, 1); -lean_inc(x_950); -lean_dec(x_949); -x_540 = x_934; -x_541 = x_950; -goto block_910; -} -else -{ -lean_object* x_951; -lean_dec(x_539); -lean_dec(x_534); -lean_dec(x_531); -lean_dec(x_530); -lean_dec(x_528); -lean_dec(x_14); -lean_dec(x_3); -lean_dec(x_2); -x_951 = lean_ctor_get(x_933, 0); -lean_inc(x_951); -lean_dec(x_933); -if (lean_obj_tag(x_951) == 0) -{ -lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; -x_952 = lean_ctor_get(x_951, 0); -lean_inc(x_952); -x_953 = lean_ctor_get(x_951, 1); -lean_inc(x_953); -lean_dec(x_951); -x_954 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_954, 0, x_953); -x_955 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_955, 0, x_954); -x_956 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(x_952, x_955, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_927); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_952); -x_957 = lean_ctor_get(x_956, 0); -lean_inc(x_957); -x_958 = lean_ctor_get(x_956, 1); -lean_inc(x_958); -if (lean_is_exclusive(x_956)) { - lean_ctor_release(x_956, 0); - lean_ctor_release(x_956, 1); - x_959 = x_956; -} else { - lean_dec_ref(x_956); - x_959 = lean_box(0); -} -if (lean_is_scalar(x_959)) { - x_960 = lean_alloc_ctor(1, 2, 0); -} else { - x_960 = x_959; -} -lean_ctor_set(x_960, 0, x_957); -lean_ctor_set(x_960, 1, x_958); -return x_960; -} -else -{ -lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_961 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___rarg(x_927); -x_962 = lean_ctor_get(x_961, 0); -lean_inc(x_962); -x_963 = lean_ctor_get(x_961, 1); -lean_inc(x_963); -if (lean_is_exclusive(x_961)) { - lean_ctor_release(x_961, 0); - lean_ctor_release(x_961, 1); - x_964 = x_961; -} else { - lean_dec_ref(x_961); - x_964 = lean_box(0); -} -if (lean_is_scalar(x_964)) { - x_965 = lean_alloc_ctor(1, 2, 0); -} else { - x_965 = x_964; -} -lean_ctor_set(x_965, 0, x_962); -lean_ctor_set(x_965, 1, x_963); -return x_965; -} -} -block_910: -{ -if (lean_obj_tag(x_540) == 0) -{ -lean_object* x_542; lean_object* x_543; 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; -x_867 = lean_st_ref_get(x_11, x_541); -x_868 = lean_ctor_get(x_867, 0); -lean_inc(x_868); -x_869 = lean_ctor_get(x_867, 1); -lean_inc(x_869); -lean_dec(x_867); -x_870 = lean_ctor_get(x_868, 0); -lean_inc(x_870); -lean_dec(x_868); -lean_inc(x_870); -x_871 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_871, 0, x_870); -lean_inc(x_530); -x_872 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_872, 0, x_530); -lean_inc(x_870); -x_873 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_873, 0, x_870); -lean_inc(x_531); -lean_inc(x_530); -lean_inc(x_870); -x_874 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_874, 0, x_870); -lean_closure_set(x_874, 1, x_530); -lean_closure_set(x_874, 2, x_531); -lean_inc(x_531); -lean_inc(x_530); -lean_inc(x_870); -x_875 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_875, 0, x_870); -lean_closure_set(x_875, 1, x_530); -lean_closure_set(x_875, 2, x_531); -x_876 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_876, 0, x_871); -lean_ctor_set(x_876, 1, x_872); -lean_ctor_set(x_876, 2, x_873); -lean_ctor_set(x_876, 3, x_874); -lean_ctor_set(x_876, 4, x_875); -x_877 = x_876; -x_878 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_535, x_11, x_869); -x_879 = lean_ctor_get(x_878, 0); -lean_inc(x_879); -x_880 = lean_ctor_get(x_878, 1); -lean_inc(x_880); -lean_dec(x_878); -x_881 = lean_st_ref_get(x_11, x_880); -x_882 = lean_ctor_get(x_881, 0); -lean_inc(x_882); -x_883 = lean_ctor_get(x_881, 1); -lean_inc(x_883); -lean_dec(x_881); -x_884 = lean_ctor_get(x_882, 1); -lean_inc(x_884); -lean_dec(x_882); -x_885 = lean_environment_main_module(x_870); -lean_inc(x_534); -lean_inc(x_528); -lean_inc(x_14); -x_886 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_886, 0, x_877); -lean_ctor_set(x_886, 1, x_885); -lean_ctor_set(x_886, 2, x_879); -lean_ctor_set(x_886, 3, x_14); -lean_ctor_set(x_886, 4, x_528); -lean_ctor_set(x_886, 5, x_534); -x_887 = lean_box(0); -x_888 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_888, 0, x_884); -lean_ctor_set(x_888, 1, x_887); -lean_inc(x_2); -x_889 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f(x_2, x_886, x_888); -x_890 = lean_ctor_get(x_889, 0); -lean_inc(x_890); -x_891 = lean_ctor_get(x_889, 1); -lean_inc(x_891); -lean_dec(x_889); -x_892 = lean_ctor_get(x_891, 0); -lean_inc(x_892); -x_893 = lean_st_ref_take(x_11, x_883); -x_894 = lean_ctor_get(x_893, 0); -lean_inc(x_894); -x_895 = lean_ctor_get(x_893, 1); -lean_inc(x_895); -lean_dec(x_893); -x_896 = lean_ctor_get(x_894, 0); -lean_inc(x_896); -x_897 = lean_ctor_get(x_894, 2); -lean_inc(x_897); -x_898 = lean_ctor_get(x_894, 3); -lean_inc(x_898); -if (lean_is_exclusive(x_894)) { - lean_ctor_release(x_894, 0); - lean_ctor_release(x_894, 1); - lean_ctor_release(x_894, 2); - lean_ctor_release(x_894, 3); - x_899 = x_894; -} else { - lean_dec_ref(x_894); - x_899 = lean_box(0); -} -if (lean_is_scalar(x_899)) { - x_900 = lean_alloc_ctor(0, 4, 0); -} else { - x_900 = x_899; -} -lean_ctor_set(x_900, 0, x_896); -lean_ctor_set(x_900, 1, x_892); -lean_ctor_set(x_900, 2, x_897); -lean_ctor_set(x_900, 3, x_898); -x_901 = lean_st_ref_set(x_11, x_900, x_895); -x_902 = lean_ctor_get(x_901, 1); -lean_inc(x_902); -lean_dec(x_901); -x_903 = lean_ctor_get(x_891, 1); -lean_inc(x_903); -lean_dec(x_891); -x_904 = l_List_reverse___rarg(x_903); -x_905 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_904, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_902); -x_906 = lean_ctor_get(x_905, 1); -lean_inc(x_906); -lean_dec(x_905); -x_542 = x_890; -x_543 = x_906; -goto block_866; -block_866: -{ -if (lean_obj_tag(x_542) == 0) -{ -lean_object* x_544; lean_object* x_545; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; -x_808 = lean_st_ref_get(x_11, x_543); -x_809 = lean_ctor_get(x_808, 0); -lean_inc(x_809); -x_810 = lean_ctor_get(x_808, 1); -lean_inc(x_810); -lean_dec(x_808); -x_811 = lean_ctor_get(x_809, 0); -lean_inc(x_811); -lean_dec(x_809); -lean_inc(x_811); -x_812 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_812, 0, x_811); -lean_inc(x_530); -x_813 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_813, 0, x_530); -lean_inc(x_811); -x_814 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_814, 0, x_811); -lean_inc(x_531); -lean_inc(x_530); -lean_inc(x_811); -x_815 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_815, 0, x_811); -lean_closure_set(x_815, 1, x_530); -lean_closure_set(x_815, 2, x_531); -lean_inc(x_811); -x_816 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_816, 0, x_811); -lean_closure_set(x_816, 1, x_530); -lean_closure_set(x_816, 2, x_531); -x_817 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_817, 0, x_812); -lean_ctor_set(x_817, 1, x_813); -lean_ctor_set(x_817, 2, x_814); -lean_ctor_set(x_817, 3, x_815); -lean_ctor_set(x_817, 4, x_816); -x_818 = x_817; -x_819 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_535, x_11, x_810); -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 = lean_st_ref_get(x_11, x_821); -x_823 = lean_ctor_get(x_822, 0); -lean_inc(x_823); -x_824 = lean_ctor_get(x_822, 1); -lean_inc(x_824); -lean_dec(x_822); -x_825 = lean_ctor_get(x_823, 1); -lean_inc(x_825); -lean_dec(x_823); -x_826 = lean_environment_main_module(x_811); -x_827 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_827, 0, x_818); -lean_ctor_set(x_827, 1, x_826); -lean_ctor_set(x_827, 2, x_820); -lean_ctor_set(x_827, 3, x_14); -lean_ctor_set(x_827, 4, x_528); -lean_ctor_set(x_827, 5, x_534); -x_828 = lean_box(0); -x_829 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_829, 0, x_825); -lean_ctor_set(x_829, 1, x_828); -x_830 = l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod(x_2, x_827, x_829); -if (lean_obj_tag(x_830) == 0) -{ -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; -x_831 = lean_ctor_get(x_830, 0); -lean_inc(x_831); -x_832 = lean_ctor_get(x_830, 1); -lean_inc(x_832); -lean_dec(x_830); -x_833 = lean_ctor_get(x_832, 0); -lean_inc(x_833); -x_834 = lean_st_ref_take(x_11, x_824); -x_835 = lean_ctor_get(x_834, 0); -lean_inc(x_835); -x_836 = lean_ctor_get(x_834, 1); -lean_inc(x_836); -lean_dec(x_834); -x_837 = lean_ctor_get(x_835, 0); -lean_inc(x_837); -x_838 = lean_ctor_get(x_835, 2); -lean_inc(x_838); -x_839 = lean_ctor_get(x_835, 3); -lean_inc(x_839); -if (lean_is_exclusive(x_835)) { - lean_ctor_release(x_835, 0); - lean_ctor_release(x_835, 1); - lean_ctor_release(x_835, 2); - lean_ctor_release(x_835, 3); - x_840 = x_835; -} else { - lean_dec_ref(x_835); - x_840 = lean_box(0); -} -if (lean_is_scalar(x_840)) { - x_841 = lean_alloc_ctor(0, 4, 0); -} else { - x_841 = x_840; -} -lean_ctor_set(x_841, 0, x_837); -lean_ctor_set(x_841, 1, x_833); -lean_ctor_set(x_841, 2, x_838); -lean_ctor_set(x_841, 3, x_839); -x_842 = lean_st_ref_set(x_11, x_841, x_836); -x_843 = lean_ctor_get(x_842, 1); -lean_inc(x_843); -lean_dec(x_842); -x_844 = lean_ctor_get(x_832, 1); -lean_inc(x_844); -lean_dec(x_832); -x_845 = l_List_reverse___rarg(x_844); -x_846 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_845, x_6, x_7, x_8, x_9, x_535, x_11, x_843); -x_847 = lean_ctor_get(x_846, 1); -lean_inc(x_847); -lean_dec(x_846); -x_544 = x_831; -x_545 = x_847; -goto block_807; -} -else -{ -lean_object* x_848; -lean_dec(x_539); -lean_dec(x_5); -lean_dec(x_3); -x_848 = lean_ctor_get(x_830, 0); -lean_inc(x_848); -lean_dec(x_830); -if (lean_obj_tag(x_848) == 0) -{ -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; -x_849 = lean_ctor_get(x_848, 0); -lean_inc(x_849); -x_850 = lean_ctor_get(x_848, 1); -lean_inc(x_850); -lean_dec(x_848); -x_851 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_851, 0, x_850); -x_852 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_852, 0, x_851); -x_853 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(x_849, x_852, x_6, x_7, x_8, x_9, x_535, x_11, x_824); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_849); -x_854 = lean_ctor_get(x_853, 0); -lean_inc(x_854); -x_855 = lean_ctor_get(x_853, 1); -lean_inc(x_855); -if (lean_is_exclusive(x_853)) { - lean_ctor_release(x_853, 0); - lean_ctor_release(x_853, 1); - x_856 = x_853; -} else { - lean_dec_ref(x_853); - x_856 = lean_box(0); -} -if (lean_is_scalar(x_856)) { - x_857 = lean_alloc_ctor(1, 2, 0); -} else { - x_857 = x_856; -} -lean_ctor_set(x_857, 0, x_854); -lean_ctor_set(x_857, 1, x_855); -return x_857; -} -else -{ -lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_858 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___rarg(x_824); -x_859 = lean_ctor_get(x_858, 0); -lean_inc(x_859); -x_860 = lean_ctor_get(x_858, 1); -lean_inc(x_860); -if (lean_is_exclusive(x_858)) { - lean_ctor_release(x_858, 0); - lean_ctor_release(x_858, 1); - x_861 = x_858; -} else { - lean_dec_ref(x_858); - x_861 = lean_box(0); -} -if (lean_is_scalar(x_861)) { - x_862 = lean_alloc_ctor(1, 2, 0); -} else { - x_862 = x_861; -} -lean_ctor_set(x_862, 0, x_859); -lean_ctor_set(x_862, 1, x_860); -return x_862; -} -} -block_807: -{ -lean_object* x_546; lean_object* x_547; uint8_t x_548; -x_546 = lean_ctor_get(x_544, 0); -lean_inc(x_546); -x_547 = lean_ctor_get(x_544, 1); -lean_inc(x_547); -lean_dec(x_544); -x_548 = l_List_isEmpty___rarg(x_546); -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_dec(x_539); -x_549 = lean_box(0); -x_550 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_550, 0, x_547); -lean_ctor_set(x_550, 1, x_549); -x_551 = l_List_append___rarg(x_546, x_550); -x_552 = l_List_append___rarg(x_551, x_3); -x_553 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_552, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -return x_553; -} -else -{ -lean_object* x_554; lean_object* x_555; uint8_t x_556; -lean_dec(x_546); -lean_inc(x_547); -x_554 = l_Lean_Syntax_getKind(x_547); -x_555 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -x_556 = lean_name_eq(x_554, x_555); -if (x_556 == 0) -{ -lean_object* x_557; uint8_t x_558; -x_557 = l_Lean_Elab_Term_Do_ToTerm_declToTerm___closed__2; -x_558 = lean_name_eq(x_554, x_557); -if (x_558 == 0) -{ -lean_object* x_559; uint8_t x_560; -x_559 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__6; -x_560 = lean_name_eq(x_554, x_559); -if (x_560 == 0) -{ -lean_object* x_561; uint8_t x_562; -x_561 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_562 = lean_name_eq(x_554, x_561); -if (x_562 == 0) -{ -lean_object* x_563; uint8_t x_564; -x_563 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_564 = lean_name_eq(x_554, x_563); -if (x_564 == 0) -{ -lean_object* x_565; uint8_t x_566; -x_565 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__6; -x_566 = lean_name_eq(x_554, x_565); -if (x_566 == 0) -{ -lean_object* x_567; uint8_t x_568; -x_567 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__2; -x_568 = lean_name_eq(x_554, x_567); -if (x_568 == 0) -{ -lean_object* x_569; uint8_t x_570; -x_569 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__3; -x_570 = lean_name_eq(x_554, x_569); -if (x_570 == 0) -{ -lean_object* x_571; uint8_t x_572; -x_571 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__5; -x_572 = lean_name_eq(x_554, x_571); -if (x_572 == 0) -{ -lean_object* x_573; uint8_t x_574; -x_573 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_574 = lean_name_eq(x_554, x_573); -if (x_574 == 0) -{ -lean_object* x_575; uint8_t x_576; -x_575 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__7; -x_576 = lean_name_eq(x_554, x_575); -if (x_576 == 0) -{ -lean_object* x_577; uint8_t x_578; -x_577 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_578 = lean_name_eq(x_554, x_577); -if (x_578 == 0) -{ -lean_object* x_579; uint8_t x_580; -x_579 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__20; -x_580 = lean_name_eq(x_554, x_579); -if (x_580 == 0) -{ -lean_object* x_581; uint8_t x_582; -x_581 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_582 = lean_name_eq(x_554, x_581); -if (x_582 == 0) -{ -lean_object* x_583; uint8_t x_584; -x_583 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__2; -x_584 = lean_name_eq(x_554, x_583); -if (x_584 == 0) -{ -lean_object* x_585; uint8_t x_586; -x_585 = l_Lean_Elab_Term_Do_ToTerm_seqToTerm___closed__4; -x_586 = lean_name_eq(x_554, x_585); -if (x_586 == 0) -{ -lean_object* x_587; uint8_t x_588; -x_587 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__9; -x_588 = lean_name_eq(x_554, x_587); -if (x_588 == 0) -{ -lean_object* x_589; uint8_t x_590; -x_589 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_590 = lean_name_eq(x_554, x_589); -if (x_590 == 0) -{ -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_dec(x_539); -lean_dec(x_3); -x_591 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_591, 0, x_554); -x_592 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__11; -x_593 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_593, 0, x_592); -lean_ctor_set(x_593, 1, x_591); -x_594 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__13; -x_595 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_595, 0, x_593); -lean_ctor_set(x_595, 1, x_594); -x_596 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_596, 0, x_547); -x_597 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_597, 0, x_595); -lean_ctor_set(x_597, 1, x_596); -x_598 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__6; -x_599 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_599, 0, x_597); -lean_ctor_set(x_599, 1, x_598); -x_600 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(x_599, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -lean_dec(x_11); -lean_dec(x_535); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_600; -} -else -{ -lean_object* x_601; lean_object* x_602; uint8_t x_603; -lean_dec(x_554); -x_601 = lean_unsigned_to_nat(0u); -x_602 = l_Lean_Syntax_getArg(x_547, x_601); -lean_dec(x_547); -x_603 = l_List_isEmpty___rarg(x_3); -if (x_603 == 0) -{ -lean_object* x_604; -lean_dec(x_539); -x_604 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -if (lean_obj_tag(x_604) == 0) -{ -lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; -x_605 = lean_ctor_get(x_604, 0); -lean_inc(x_605); -x_606 = lean_ctor_get(x_604, 1); -lean_inc(x_606); -if (lean_is_exclusive(x_604)) { - lean_ctor_release(x_604, 0); - lean_ctor_release(x_604, 1); - x_607 = x_604; -} else { - lean_dec_ref(x_604); - x_607 = lean_box(0); -} -x_608 = l_Lean_Elab_Term_Do_mkSeq(x_602, x_605); -if (lean_is_scalar(x_607)) { - x_609 = lean_alloc_ctor(0, 2, 0); -} else { - x_609 = x_607; -} -lean_ctor_set(x_609, 0, x_608); -lean_ctor_set(x_609, 1, x_606); -return x_609; -} -else -{ -lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; -lean_dec(x_602); -x_610 = lean_ctor_get(x_604, 0); -lean_inc(x_610); -x_611 = lean_ctor_get(x_604, 1); -lean_inc(x_611); -if (lean_is_exclusive(x_604)) { - lean_ctor_release(x_604, 0); - lean_ctor_release(x_604, 1); - x_612 = x_604; -} else { - lean_dec_ref(x_604); - x_612 = lean_box(0); -} -if (lean_is_scalar(x_612)) { - x_613 = lean_alloc_ctor(1, 2, 0); -} else { - x_613 = x_612; -} -lean_ctor_set(x_613, 0, x_610); -lean_ctor_set(x_613, 1, x_611); -return x_613; -} -} -else -{ -lean_object* x_614; lean_object* x_615; -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_614 = l_Lean_Elab_Term_Do_mkTerminalAction(x_602); -if (lean_is_scalar(x_539)) { - x_615 = lean_alloc_ctor(0, 2, 0); -} else { - x_615 = x_539; -} -lean_ctor_set(x_615, 0, x_614); -lean_ctor_set(x_615, 1, x_545); -return x_615; -} -} -} -else -{ -lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; -lean_dec(x_554); -lean_dec(x_539); -x_616 = l_Lean_Syntax_getArg(x_547, x_13); -lean_dec(x_547); -x_617 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_616); -x_618 = l_List_append___rarg(x_617, x_3); -x_619 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_618, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -return x_619; -} -} -else -{ -lean_object* x_620; -lean_dec(x_554); -lean_dec(x_539); -x_620 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -if (lean_obj_tag(x_620) == 0) -{ -lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; -x_621 = lean_ctor_get(x_620, 0); -lean_inc(x_621); -x_622 = lean_ctor_get(x_620, 1); -lean_inc(x_622); -if (lean_is_exclusive(x_620)) { - lean_ctor_release(x_620, 0); - lean_ctor_release(x_620, 1); - x_623 = x_620; -} else { - lean_dec_ref(x_620); - x_623 = lean_box(0); -} -x_624 = l_Lean_Elab_Term_Do_mkSeq(x_547, x_621); -if (lean_is_scalar(x_623)) { - x_625 = lean_alloc_ctor(0, 2, 0); -} else { - x_625 = x_623; -} -lean_ctor_set(x_625, 0, x_624); -lean_ctor_set(x_625, 1, x_622); -return x_625; -} -else -{ -lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; -lean_dec(x_547); -x_626 = lean_ctor_get(x_620, 0); -lean_inc(x_626); -x_627 = lean_ctor_get(x_620, 1); -lean_inc(x_627); -if (lean_is_exclusive(x_620)) { - lean_ctor_release(x_620, 0); - lean_ctor_release(x_620, 1); - x_628 = x_620; -} else { - lean_dec_ref(x_620); - x_628 = lean_box(0); -} -if (lean_is_scalar(x_628)) { - x_629 = lean_alloc_ctor(1, 2, 0); -} else { - x_629 = x_628; -} -lean_ctor_set(x_629, 0, x_626); -lean_ctor_set(x_629, 1, x_627); -return x_629; -} -} -} -else -{ -lean_object* x_630; -lean_dec(x_554); -lean_dec(x_539); -x_630 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -if (lean_obj_tag(x_630) == 0) -{ -lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; -x_631 = lean_ctor_get(x_630, 0); -lean_inc(x_631); -x_632 = lean_ctor_get(x_630, 1); -lean_inc(x_632); -if (lean_is_exclusive(x_630)) { - lean_ctor_release(x_630, 0); - lean_ctor_release(x_630, 1); - x_633 = x_630; -} else { - lean_dec_ref(x_630); - x_633 = lean_box(0); -} -x_634 = l_Lean_Elab_Term_Do_mkSeq(x_547, x_631); -if (lean_is_scalar(x_633)) { - x_635 = lean_alloc_ctor(0, 2, 0); -} else { - x_635 = x_633; -} -lean_ctor_set(x_635, 0, x_634); -lean_ctor_set(x_635, 1, x_632); -return x_635; -} -else -{ -lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; -lean_dec(x_547); -x_636 = lean_ctor_get(x_630, 0); -lean_inc(x_636); -x_637 = lean_ctor_get(x_630, 1); -lean_inc(x_637); -if (lean_is_exclusive(x_630)) { - lean_ctor_release(x_630, 0); - lean_ctor_release(x_630, 1); - x_638 = x_630; -} else { - lean_dec_ref(x_630); - x_638 = lean_box(0); -} -if (lean_is_scalar(x_638)) { - x_639 = lean_alloc_ctor(1, 2, 0); -} else { - x_639 = x_638; -} -lean_ctor_set(x_639, 0, x_636); -lean_ctor_set(x_639, 1, x_637); -return x_639; -} -} -} -else -{ -lean_object* x_640; -lean_dec(x_554); -lean_dec(x_539); -x_640 = l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode(x_547, x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -lean_dec(x_3); -lean_dec(x_547); -return x_640; -} -} -else -{ -lean_object* x_641; -lean_dec(x_554); -lean_dec(x_539); -x_641 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor(x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -if (lean_obj_tag(x_641) == 0) -{ -lean_object* x_642; lean_object* x_643; -x_642 = lean_ctor_get(x_641, 1); -lean_inc(x_642); -lean_dec(x_641); -x_643 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_642); -lean_dec(x_11); -lean_dec(x_535); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -if (lean_obj_tag(x_643) == 0) -{ -lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; -x_644 = lean_ctor_get(x_643, 1); -lean_inc(x_644); -if (lean_is_exclusive(x_643)) { - lean_ctor_release(x_643, 0); - lean_ctor_release(x_643, 1); - x_645 = x_643; -} else { - lean_dec_ref(x_643); - x_645 = lean_box(0); -} -x_646 = l_Lean_Elab_Term_Do_mkContinue(x_547); -if (lean_is_scalar(x_645)) { - x_647 = lean_alloc_ctor(0, 2, 0); -} else { - x_647 = x_645; -} -lean_ctor_set(x_647, 0, x_646); -lean_ctor_set(x_647, 1, x_644); -return x_647; -} -else -{ -lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; -lean_dec(x_547); -x_648 = lean_ctor_get(x_643, 0); -lean_inc(x_648); -x_649 = lean_ctor_get(x_643, 1); -lean_inc(x_649); -if (lean_is_exclusive(x_643)) { - lean_ctor_release(x_643, 0); - lean_ctor_release(x_643, 1); - x_650 = x_643; -} else { - lean_dec_ref(x_643); - 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_547); -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_652 = lean_ctor_get(x_641, 0); -lean_inc(x_652); -x_653 = lean_ctor_get(x_641, 1); -lean_inc(x_653); -if (lean_is_exclusive(x_641)) { - lean_ctor_release(x_641, 0); - lean_ctor_release(x_641, 1); - x_654 = x_641; -} else { - lean_dec_ref(x_641); - 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 -{ -lean_object* x_656; -lean_dec(x_554); -lean_dec(x_539); -x_656 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor(x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -if (lean_obj_tag(x_656) == 0) -{ -lean_object* x_657; lean_object* x_658; -x_657 = lean_ctor_get(x_656, 1); -lean_inc(x_657); -lean_dec(x_656); -x_658 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_657); -lean_dec(x_11); -lean_dec(x_535); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -if (lean_obj_tag(x_658) == 0) -{ -lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; -x_659 = lean_ctor_get(x_658, 1); -lean_inc(x_659); -if (lean_is_exclusive(x_658)) { - lean_ctor_release(x_658, 0); - lean_ctor_release(x_658, 1); - x_660 = x_658; -} else { - lean_dec_ref(x_658); - x_660 = lean_box(0); -} -x_661 = l_Lean_Elab_Term_Do_mkBreak(x_547); -if (lean_is_scalar(x_660)) { - x_662 = lean_alloc_ctor(0, 2, 0); -} else { - x_662 = x_660; -} -lean_ctor_set(x_662, 0, x_661); -lean_ctor_set(x_662, 1, x_659); -return x_662; -} -else -{ -lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; -lean_dec(x_547); -x_663 = lean_ctor_get(x_658, 0); -lean_inc(x_663); -x_664 = lean_ctor_get(x_658, 1); -lean_inc(x_664); -if (lean_is_exclusive(x_658)) { - lean_ctor_release(x_658, 0); - lean_ctor_release(x_658, 1); - x_665 = x_658; -} else { - lean_dec_ref(x_658); - x_665 = lean_box(0); -} -if (lean_is_scalar(x_665)) { - x_666 = lean_alloc_ctor(1, 2, 0); -} else { - x_666 = x_665; -} -lean_ctor_set(x_666, 0, x_663); -lean_ctor_set(x_666, 1, x_664); -return x_666; -} -} -else -{ -lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; -lean_dec(x_547); -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_667 = lean_ctor_get(x_656, 0); -lean_inc(x_667); -x_668 = lean_ctor_get(x_656, 1); -lean_inc(x_668); -if (lean_is_exclusive(x_656)) { - lean_ctor_release(x_656, 0); - lean_ctor_release(x_656, 1); - x_669 = x_656; -} else { - lean_dec_ref(x_656); - x_669 = lean_box(0); -} -if (lean_is_scalar(x_669)) { - x_670 = lean_alloc_ctor(1, 2, 0); -} else { - x_670 = x_669; -} -lean_ctor_set(x_670, 0, x_667); -lean_ctor_set(x_670, 1, x_668); -return x_670; -} -} -} -else -{ -lean_object* x_671; -lean_dec(x_554); -lean_dec(x_539); -x_671 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode(x_547, x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -lean_dec(x_547); -return x_671; -} -} -else -{ -lean_object* x_672; -lean_dec(x_554); -lean_dec(x_539); -x_672 = l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode(x_547, x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -return x_672; -} -} -else -{ -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; uint8_t x_689; uint8_t x_690; uint8_t x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; uint8_t x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; -lean_dec(x_554); -lean_dec(x_539); -x_673 = lean_st_ref_take(x_11, x_545); -x_674 = lean_ctor_get(x_673, 0); -lean_inc(x_674); -x_675 = lean_ctor_get(x_673, 1); -lean_inc(x_675); -lean_dec(x_673); -x_676 = lean_ctor_get(x_674, 0); -lean_inc(x_676); -x_677 = lean_ctor_get(x_674, 1); -lean_inc(x_677); -x_678 = lean_ctor_get(x_674, 2); -lean_inc(x_678); -x_679 = lean_ctor_get(x_674, 3); -lean_inc(x_679); -if (lean_is_exclusive(x_674)) { - lean_ctor_release(x_674, 0); - lean_ctor_release(x_674, 1); - lean_ctor_release(x_674, 2); - lean_ctor_release(x_674, 3); - x_680 = x_674; -} else { - lean_dec_ref(x_674); - x_680 = lean_box(0); -} -x_681 = lean_nat_add(x_677, x_13); -if (lean_is_scalar(x_680)) { - x_682 = lean_alloc_ctor(0, 4, 0); -} else { - x_682 = x_680; -} -lean_ctor_set(x_682, 0, x_676); -lean_ctor_set(x_682, 1, x_681); -lean_ctor_set(x_682, 2, x_678); -lean_ctor_set(x_682, 3, x_679); -x_683 = lean_st_ref_set(x_11, x_682, x_675); -x_684 = lean_ctor_get(x_683, 1); -lean_inc(x_684); -lean_dec(x_683); -x_685 = lean_ctor_get(x_6, 0); -lean_inc(x_685); -x_686 = lean_ctor_get(x_6, 1); -lean_inc(x_686); -x_687 = lean_ctor_get(x_6, 2); -lean_inc(x_687); -x_688 = lean_ctor_get(x_6, 3); -lean_inc(x_688); -x_689 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -x_690 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -x_691 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); -x_692 = lean_ctor_get(x_6, 5); -lean_inc(x_692); -x_693 = lean_ctor_get(x_6, 6); -lean_inc(x_693); -x_694 = lean_ctor_get(x_6, 7); -lean_inc(x_694); -x_695 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - lean_ctor_release(x_6, 2); - lean_ctor_release(x_6, 3); - lean_ctor_release(x_6, 4); - lean_ctor_release(x_6, 5); - lean_ctor_release(x_6, 6); - lean_ctor_release(x_6, 7); - x_696 = x_6; -} else { - lean_dec_ref(x_6); - x_696 = lean_box(0); -} -if (lean_is_scalar(x_696)) { - x_697 = lean_alloc_ctor(0, 8, 4); -} else { - x_697 = x_696; -} -lean_ctor_set(x_697, 0, x_685); -lean_ctor_set(x_697, 1, x_686); -lean_ctor_set(x_697, 2, x_687); -lean_ctor_set(x_697, 3, x_688); -lean_ctor_set(x_697, 4, x_677); -lean_ctor_set(x_697, 5, x_692); -lean_ctor_set(x_697, 6, x_693); -lean_ctor_set(x_697, 7, x_694); -lean_ctor_set_uint8(x_697, sizeof(void*)*8, x_689); -lean_ctor_set_uint8(x_697, sizeof(void*)*8 + 1, x_690); -lean_ctor_set_uint8(x_697, sizeof(void*)*8 + 2, x_691); -lean_ctor_set_uint8(x_697, sizeof(void*)*8 + 3, x_695); -x_698 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode(x_547, x_3, x_5, x_697, x_7, x_8, x_9, x_535, x_11, x_684); -lean_dec(x_547); -return x_698; -} -} -else -{ -lean_object* x_699; -lean_dec(x_554); -lean_dec(x_539); -x_699 = l_Lean_Elab_Term_Do_ToCodeBlock_doUnlessToCode(x_547, x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -lean_dec(x_547); -return x_699; -} -} -else -{ -lean_object* x_700; -lean_dec(x_554); -lean_dec(x_539); -x_700 = l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(x_547, x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -return x_700; -} -} -else -{ -lean_object* x_701; -lean_dec(x_554); -lean_dec(x_539); -x_701 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode(x_547, x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -lean_dec(x_547); -return x_701; -} -} -else -{ -lean_object* x_702; -lean_dec(x_554); -lean_dec(x_539); -x_702 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode(x_547, x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -return x_702; -} -} -else -{ -lean_object* x_703; -lean_dec(x_554); -lean_dec(x_539); -lean_inc(x_11); -lean_inc(x_535); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_703 = l_Lean_Elab_Term_Do_getDoReassignVars(x_547, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -if (lean_obj_tag(x_703) == 0) -{ -lean_object* x_704; lean_object* x_705; lean_object* x_706; -x_704 = lean_ctor_get(x_703, 0); -lean_inc(x_704); -x_705 = lean_ctor_get(x_703, 1); -lean_inc(x_705); -lean_dec(x_703); -x_706 = l_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable(x_704, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_705); -if (lean_obj_tag(x_706) == 0) -{ -lean_object* x_707; lean_object* x_708; -x_707 = lean_ctor_get(x_706, 1); -lean_inc(x_707); -lean_dec(x_706); -lean_inc(x_11); -lean_inc(x_535); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_708 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_707); -if (lean_obj_tag(x_708) == 0) -{ -lean_object* x_709; lean_object* x_710; lean_object* x_711; -x_709 = lean_ctor_get(x_708, 0); -lean_inc(x_709); -x_710 = lean_ctor_get(x_708, 1); -lean_inc(x_710); -lean_dec(x_708); -x_711 = l_Lean_Elab_Term_Do_mkReassignCore(x_704, x_547, x_709, x_6, x_7, x_8, x_9, x_535, x_11, x_710); -return x_711; -} -else -{ -lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; -lean_dec(x_704); -lean_dec(x_547); -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_712 = lean_ctor_get(x_708, 0); -lean_inc(x_712); -x_713 = lean_ctor_get(x_708, 1); -lean_inc(x_713); -if (lean_is_exclusive(x_708)) { - lean_ctor_release(x_708, 0); - lean_ctor_release(x_708, 1); - x_714 = x_708; -} else { - lean_dec_ref(x_708); - x_714 = lean_box(0); -} -if (lean_is_scalar(x_714)) { - x_715 = lean_alloc_ctor(1, 2, 0); -} else { - x_715 = x_714; -} -lean_ctor_set(x_715, 0, x_712); -lean_ctor_set(x_715, 1, x_713); -return x_715; -} -} -else -{ -lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; -lean_dec(x_704); -lean_dec(x_547); -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_716 = lean_ctor_get(x_706, 0); -lean_inc(x_716); -x_717 = lean_ctor_get(x_706, 1); -lean_inc(x_717); -if (lean_is_exclusive(x_706)) { - lean_ctor_release(x_706, 0); - lean_ctor_release(x_706, 1); - x_718 = x_706; -} else { - lean_dec_ref(x_706); - x_718 = lean_box(0); -} -if (lean_is_scalar(x_718)) { - x_719 = lean_alloc_ctor(1, 2, 0); -} else { - x_719 = x_718; -} -lean_ctor_set(x_719, 0, x_716); -lean_ctor_set(x_719, 1, x_717); -return x_719; -} -} -else -{ -lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; -lean_dec(x_547); -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_720 = lean_ctor_get(x_703, 0); -lean_inc(x_720); -x_721 = lean_ctor_get(x_703, 1); -lean_inc(x_721); -if (lean_is_exclusive(x_703)) { - lean_ctor_release(x_703, 0); - lean_ctor_release(x_703, 1); - x_722 = x_703; -} else { - lean_dec_ref(x_703); - x_722 = lean_box(0); -} -if (lean_is_scalar(x_722)) { - x_723 = lean_alloc_ctor(1, 2, 0); -} else { - x_723 = x_722; -} -lean_ctor_set(x_723, 0, x_720); -lean_ctor_set(x_723, 1, x_721); -return x_723; -} -} -} -else -{ -lean_object* x_724; -lean_dec(x_554); -lean_dec(x_539); -lean_inc(x_11); -lean_inc(x_535); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_724 = l_Lean_Elab_Term_Do_getDoLetRecVars(x_547, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -if (lean_obj_tag(x_724) == 0) -{ -lean_object* x_725; lean_object* x_726; lean_object* x_727; -x_725 = lean_ctor_get(x_724, 0); -lean_inc(x_725); -x_726 = lean_ctor_get(x_724, 1); -lean_inc(x_726); -lean_dec(x_724); -x_727 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_725, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_726); -if (lean_obj_tag(x_727) == 0) -{ -lean_object* x_728; lean_object* x_729; -x_728 = lean_ctor_get(x_727, 1); -lean_inc(x_728); -lean_dec(x_727); -x_729 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_728); -if (lean_obj_tag(x_729) == 0) -{ -lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; -x_730 = lean_ctor_get(x_729, 0); -lean_inc(x_730); -x_731 = lean_ctor_get(x_729, 1); -lean_inc(x_731); -if (lean_is_exclusive(x_729)) { - lean_ctor_release(x_729, 0); - lean_ctor_release(x_729, 1); - x_732 = x_729; -} else { - lean_dec_ref(x_729); - x_732 = lean_box(0); -} -x_733 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_725, x_547, x_730); -if (lean_is_scalar(x_732)) { - x_734 = lean_alloc_ctor(0, 2, 0); -} else { - x_734 = x_732; -} -lean_ctor_set(x_734, 0, x_733); -lean_ctor_set(x_734, 1, x_731); -return x_734; -} -else -{ -lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; -lean_dec(x_725); -lean_dec(x_547); -x_735 = lean_ctor_get(x_729, 0); -lean_inc(x_735); -x_736 = lean_ctor_get(x_729, 1); -lean_inc(x_736); -if (lean_is_exclusive(x_729)) { - lean_ctor_release(x_729, 0); - lean_ctor_release(x_729, 1); - x_737 = x_729; -} else { - lean_dec_ref(x_729); - x_737 = lean_box(0); -} -if (lean_is_scalar(x_737)) { - x_738 = lean_alloc_ctor(1, 2, 0); -} else { - x_738 = x_737; -} -lean_ctor_set(x_738, 0, x_735); -lean_ctor_set(x_738, 1, x_736); -return x_738; -} -} -else -{ -lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; -lean_dec(x_725); -lean_dec(x_547); -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_739 = lean_ctor_get(x_727, 0); -lean_inc(x_739); -x_740 = lean_ctor_get(x_727, 1); -lean_inc(x_740); -if (lean_is_exclusive(x_727)) { - lean_ctor_release(x_727, 0); - lean_ctor_release(x_727, 1); - x_741 = x_727; -} else { - lean_dec_ref(x_727); - x_741 = lean_box(0); -} -if (lean_is_scalar(x_741)) { - x_742 = lean_alloc_ctor(1, 2, 0); -} else { - x_742 = x_741; -} -lean_ctor_set(x_742, 0, x_739); -lean_ctor_set(x_742, 1, x_740); -return x_742; -} -} -else -{ -lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; -lean_dec(x_547); -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_743 = lean_ctor_get(x_724, 0); -lean_inc(x_743); -x_744 = lean_ctor_get(x_724, 1); -lean_inc(x_744); -if (lean_is_exclusive(x_724)) { - lean_ctor_release(x_724, 0); - lean_ctor_release(x_724, 1); - x_745 = x_724; -} else { - lean_dec_ref(x_724); - x_745 = lean_box(0); -} -if (lean_is_scalar(x_745)) { - x_746 = lean_alloc_ctor(1, 2, 0); -} else { - x_746 = x_745; -} -lean_ctor_set(x_746, 0, x_743); -lean_ctor_set(x_746, 1, x_744); -return x_746; -} -} -} -else -{ -lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; -lean_dec(x_554); -lean_dec(x_539); -x_747 = l_Lean_Elab_Term_Do_getDoHaveVar(x_547); -x_748 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_749 = lean_array_push(x_748, x_747); -x_750 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_749, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -if (lean_obj_tag(x_750) == 0) -{ -lean_object* x_751; lean_object* x_752; -x_751 = lean_ctor_get(x_750, 1); -lean_inc(x_751); -lean_dec(x_750); -x_752 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_751); -if (lean_obj_tag(x_752) == 0) -{ -lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; -x_753 = lean_ctor_get(x_752, 0); -lean_inc(x_753); -x_754 = lean_ctor_get(x_752, 1); -lean_inc(x_754); -if (lean_is_exclusive(x_752)) { - lean_ctor_release(x_752, 0); - lean_ctor_release(x_752, 1); - x_755 = x_752; -} else { - lean_dec_ref(x_752); - x_755 = lean_box(0); -} -x_756 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_749, x_547, x_753); -if (lean_is_scalar(x_755)) { - x_757 = lean_alloc_ctor(0, 2, 0); -} else { - x_757 = x_755; -} -lean_ctor_set(x_757, 0, x_756); -lean_ctor_set(x_757, 1, x_754); -return x_757; -} -else -{ -lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; -lean_dec(x_749); -lean_dec(x_547); -x_758 = lean_ctor_get(x_752, 0); -lean_inc(x_758); -x_759 = lean_ctor_get(x_752, 1); -lean_inc(x_759); -if (lean_is_exclusive(x_752)) { - lean_ctor_release(x_752, 0); - lean_ctor_release(x_752, 1); - x_760 = x_752; -} else { - lean_dec_ref(x_752); - x_760 = lean_box(0); -} -if (lean_is_scalar(x_760)) { - x_761 = lean_alloc_ctor(1, 2, 0); -} else { - x_761 = x_760; -} -lean_ctor_set(x_761, 0, x_758); -lean_ctor_set(x_761, 1, x_759); -return x_761; -} -} -else -{ -lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; -lean_dec(x_749); -lean_dec(x_547); -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_762 = lean_ctor_get(x_750, 0); -lean_inc(x_762); -x_763 = lean_ctor_get(x_750, 1); -lean_inc(x_763); -if (lean_is_exclusive(x_750)) { - lean_ctor_release(x_750, 0); - lean_ctor_release(x_750, 1); - x_764 = x_750; -} else { - lean_dec_ref(x_750); - x_764 = lean_box(0); -} -if (lean_is_scalar(x_764)) { - x_765 = lean_alloc_ctor(1, 2, 0); -} else { - x_765 = x_764; -} -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_dec(x_554); -lean_dec(x_539); -lean_inc(x_11); -lean_inc(x_535); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_766 = l_Lean_Elab_Term_Do_getDoLetVars(x_547, x_6, x_7, x_8, x_9, x_535, x_11, x_545); -if (lean_obj_tag(x_766) == 0) -{ -lean_object* x_767; lean_object* x_768; lean_object* x_769; -x_767 = lean_ctor_get(x_766, 0); -lean_inc(x_767); -x_768 = lean_ctor_get(x_766, 1); -lean_inc(x_768); -lean_dec(x_766); -x_769 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_767, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_768); -if (lean_obj_tag(x_769) == 0) -{ -lean_object* x_770; uint8_t x_771; -x_770 = lean_ctor_get(x_769, 1); -lean_inc(x_770); -lean_dec(x_769); -lean_inc(x_547); -x_771 = l_Lean_Elab_Term_Do_isMutableLet(x_547); -if (x_771 == 0) -{ -lean_object* x_772; -x_772 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_770); -if (lean_obj_tag(x_772) == 0) -{ -lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; -x_773 = lean_ctor_get(x_772, 0); -lean_inc(x_773); -x_774 = lean_ctor_get(x_772, 1); -lean_inc(x_774); -if (lean_is_exclusive(x_772)) { - lean_ctor_release(x_772, 0); - lean_ctor_release(x_772, 1); - x_775 = x_772; -} else { - lean_dec_ref(x_772); - x_775 = lean_box(0); -} -x_776 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_767, x_547, x_773); -if (lean_is_scalar(x_775)) { - x_777 = lean_alloc_ctor(0, 2, 0); -} else { - x_777 = x_775; -} -lean_ctor_set(x_777, 0, x_776); -lean_ctor_set(x_777, 1, x_774); -return x_777; -} -else -{ -lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; -lean_dec(x_767); -lean_dec(x_547); -x_778 = lean_ctor_get(x_772, 0); -lean_inc(x_778); -x_779 = lean_ctor_get(x_772, 1); -lean_inc(x_779); -if (lean_is_exclusive(x_772)) { - lean_ctor_release(x_772, 0); - lean_ctor_release(x_772, 1); - x_780 = x_772; -} else { - lean_dec_ref(x_772); - 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_782; lean_object* x_783; lean_object* x_784; uint8_t x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; -x_782 = lean_ctor_get(x_5, 0); -lean_inc(x_782); -x_783 = lean_ctor_get(x_5, 1); -lean_inc(x_783); -x_784 = lean_ctor_get(x_5, 2); -lean_inc(x_784); -x_785 = lean_ctor_get_uint8(x_5, sizeof(void*)*3); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - lean_ctor_release(x_5, 2); - x_786 = x_5; -} else { - lean_dec_ref(x_5); - x_786 = lean_box(0); -} -x_787 = l_Lean_Elab_Term_Do_insertVars(x_784, x_767); -if (lean_is_scalar(x_786)) { - x_788 = lean_alloc_ctor(0, 3, 1); -} else { - x_788 = x_786; -} -lean_ctor_set(x_788, 0, x_782); -lean_ctor_set(x_788, 1, x_783); -lean_ctor_set(x_788, 2, x_787); -lean_ctor_set_uint8(x_788, sizeof(void*)*3, x_785); -x_789 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_788, x_6, x_7, x_8, x_9, x_535, x_11, x_770); -if (lean_obj_tag(x_789) == 0) -{ -lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; -x_790 = lean_ctor_get(x_789, 0); -lean_inc(x_790); -x_791 = lean_ctor_get(x_789, 1); -lean_inc(x_791); -if (lean_is_exclusive(x_789)) { - lean_ctor_release(x_789, 0); - lean_ctor_release(x_789, 1); - x_792 = x_789; -} else { - lean_dec_ref(x_789); - x_792 = lean_box(0); -} -x_793 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_767, x_547, x_790); -if (lean_is_scalar(x_792)) { - x_794 = lean_alloc_ctor(0, 2, 0); -} else { - x_794 = x_792; -} -lean_ctor_set(x_794, 0, x_793); -lean_ctor_set(x_794, 1, x_791); -return x_794; -} -else -{ -lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; -lean_dec(x_767); -lean_dec(x_547); -x_795 = lean_ctor_get(x_789, 0); -lean_inc(x_795); -x_796 = lean_ctor_get(x_789, 1); -lean_inc(x_796); -if (lean_is_exclusive(x_789)) { - lean_ctor_release(x_789, 0); - lean_ctor_release(x_789, 1); - x_797 = x_789; -} else { - lean_dec_ref(x_789); - x_797 = lean_box(0); -} -if (lean_is_scalar(x_797)) { - x_798 = lean_alloc_ctor(1, 2, 0); -} else { - x_798 = x_797; -} -lean_ctor_set(x_798, 0, x_795); -lean_ctor_set(x_798, 1, x_796); -return x_798; -} -} -} -else -{ -lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; -lean_dec(x_767); -lean_dec(x_547); -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_799 = lean_ctor_get(x_769, 0); -lean_inc(x_799); -x_800 = lean_ctor_get(x_769, 1); -lean_inc(x_800); -if (lean_is_exclusive(x_769)) { - lean_ctor_release(x_769, 0); - lean_ctor_release(x_769, 1); - x_801 = x_769; -} else { - lean_dec_ref(x_769); - x_801 = lean_box(0); -} -if (lean_is_scalar(x_801)) { - x_802 = lean_alloc_ctor(1, 2, 0); -} else { - x_802 = x_801; -} -lean_ctor_set(x_802, 0, x_799); -lean_ctor_set(x_802, 1, x_800); -return x_802; -} -} -else -{ -lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; -lean_dec(x_547); -lean_dec(x_535); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_803 = lean_ctor_get(x_766, 0); -lean_inc(x_803); -x_804 = lean_ctor_get(x_766, 1); -lean_inc(x_804); -if (lean_is_exclusive(x_766)) { - lean_ctor_release(x_766, 0); - lean_ctor_release(x_766, 1); - x_805 = x_766; -} else { - lean_dec_ref(x_766); - x_805 = lean_box(0); -} -if (lean_is_scalar(x_805)) { - x_806 = lean_alloc_ctor(1, 2, 0); -} else { - x_806 = x_805; -} -lean_ctor_set(x_806, 0, x_803); -lean_ctor_set(x_806, 1, x_804); -return x_806; -} -} -} -} -} -else -{ -lean_object* x_863; lean_object* x_864; lean_object* x_865; -lean_dec(x_539); -lean_dec(x_534); -lean_dec(x_531); -lean_dec(x_530); -lean_dec(x_528); -lean_dec(x_14); -lean_dec(x_2); -x_863 = lean_ctor_get(x_542, 0); -lean_inc(x_863); -lean_dec(x_542); -x_864 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_864, 0, x_863); -lean_ctor_set(x_864, 1, x_3); -x_865 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_864, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_543); -return x_865; -} -} -} -else -{ -lean_object* x_907; lean_object* x_908; lean_object* x_909; -lean_dec(x_539); -lean_dec(x_534); -lean_dec(x_531); -lean_dec(x_530); -lean_dec(x_528); -lean_dec(x_14); -lean_dec(x_2); -x_907 = lean_ctor_get(x_540, 0); -lean_inc(x_907); -lean_dec(x_540); -x_908 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_908, 0, x_907); -lean_ctor_set(x_908, 1, x_3); -x_909 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_908, x_5, x_6, x_7, x_8, x_9, x_535, x_11, x_541); -return x_909; -} -} -} -else -{ -lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; -lean_dec(x_535); -lean_dec(x_534); -lean_dec(x_531); -lean_dec(x_530); -lean_dec(x_528); -lean_dec(x_14); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -58732,33 +35129,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_966 = lean_ctor_get(x_537, 0); -lean_inc(x_966); -x_967 = lean_ctor_get(x_537, 1); -lean_inc(x_967); -if (lean_is_exclusive(x_537)) { - lean_ctor_release(x_537, 0); - lean_ctor_release(x_537, 1); - x_968 = x_537; -} else { - lean_dec_ref(x_537); - x_968 = lean_box(0); -} -if (lean_is_scalar(x_968)) { - x_969 = lean_alloc_ctor(1, 2, 0); -} else { - x_969 = x_968; -} -lean_ctor_set(x_969, 0, x_966); -lean_ctor_set(x_969, 1, x_967); -return x_969; -} +x_286 = lean_ctor_get(x_25, 0); +lean_inc(x_286); +x_287 = lean_ctor_get(x_25, 1); +lean_inc(x_287); +lean_dec(x_25); +x_288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_288, 0, x_286); +lean_ctor_set(x_288, 1, x_287); +return x_288; } } } static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__1() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkPureUnitAction), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__2() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = l_Lean_maxRecDepthErrorMessage; x_2 = lean_alloc_ctor(2, 1, 0); @@ -58766,11 +35159,11 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__2() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__1; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -58781,220 +35174,48 @@ _start: { if (lean_obj_tag(x_1) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_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; uint8_t x_44; -x_10 = lean_st_ref_get(x_8, x_9); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); +lean_object* x_10; lean_object* x_11; +x_10 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__1; +x_11 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_1, 0); lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_ctor_get(x_11, 0); +x_13 = lean_ctor_get(x_1, 1); lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_ctor_get(x_7, 4); -lean_inc(x_14); -x_15 = lean_ctor_get(x_7, 5); -lean_inc(x_15); -lean_inc(x_13); -x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_16, 0, x_13); -lean_inc(x_14); -x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_17, 0, x_14); -lean_inc(x_13); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_18, 0, x_13); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_19, 0, x_13); -lean_closure_set(x_19, 1, x_14); -lean_closure_set(x_19, 2, x_15); -lean_inc(x_13); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_20, 0, x_13); -lean_closure_set(x_20, 1, x_14); -lean_closure_set(x_20, 2, x_15); -x_21 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_21, 0, x_16); -lean_ctor_set(x_21, 1, x_17); -lean_ctor_set(x_21, 2, x_18); -lean_ctor_set(x_21, 3, x_19); -lean_ctor_set(x_21, 4, x_20); -x_22 = x_21; -x_23 = lean_ctor_get(x_7, 3); -lean_inc(x_23); -x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); -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_ctor_get(x_7, 1); -lean_inc(x_27); -x_28 = lean_ctor_get(x_7, 2); -lean_inc(x_28); -x_29 = lean_st_ref_get(x_8, x_26); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_environment_main_module(x_13); -x_34 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_34, 0, x_22); -lean_ctor_set(x_34, 1, x_33); -lean_ctor_set(x_34, 2, x_25); -lean_ctor_set(x_34, 3, x_27); -lean_ctor_set(x_34, 4, x_28); -lean_ctor_set(x_34, 5, x_23); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_32); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_Elab_Term_Do_mkPureUnitAction(x_34, x_36); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_st_ref_take(x_8, x_31); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = !lean_is_exclusive(x_42); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_45 = lean_ctor_get(x_42, 1); -lean_dec(x_45); -lean_ctor_set(x_42, 1, x_40); -x_46 = lean_st_ref_set(x_8, x_42, x_43); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -lean_dec(x_46); -x_48 = lean_ctor_get(x_39, 1); -lean_inc(x_48); -lean_dec(x_39); -x_49 = l_List_reverse___rarg(x_48); -x_50 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_47); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set(x_50, 0, x_38); -return x_50; -} -else -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_38); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -else -{ -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; -x_55 = lean_ctor_get(x_42, 0); -x_56 = lean_ctor_get(x_42, 2); -x_57 = lean_ctor_get(x_42, 3); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_42); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_55); -lean_ctor_set(x_58, 1, x_40); -lean_ctor_set(x_58, 2, x_56); -lean_ctor_set(x_58, 3, x_57); -x_59 = lean_st_ref_set(x_8, x_58, x_43); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec(x_59); -x_61 = lean_ctor_get(x_39, 1); -lean_inc(x_61); -lean_dec(x_39); -x_62 = l_List_reverse___rarg(x_61); -x_63 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_60); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_65 = x_63; -} else { - lean_dec_ref(x_63); - x_65 = lean_box(0); -} -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(0, 2, 0); -} else { - x_66 = x_65; -} -lean_ctor_set(x_66, 0, x_38); -lean_ctor_set(x_66, 1, x_64); -return x_66; -} -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; -x_67 = lean_ctor_get(x_1, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_1, 1); -lean_inc(x_68); lean_dec(x_1); -x_69 = lean_ctor_get(x_7, 1); -lean_inc(x_69); -x_70 = lean_ctor_get(x_7, 2); -lean_inc(x_70); -x_71 = lean_nat_dec_eq(x_69, x_70); -lean_dec(x_70); -if (x_71 == 0) +x_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 2); +lean_inc(x_15); +x_16 = lean_nat_dec_eq(x_14, x_15); +lean_dec(x_15); +if (x_16 == 0) { -lean_object* x_72; lean_object* x_73; -x_72 = lean_box(0); -x_73 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1(x_69, x_67, x_68, x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_69); -return x_73; +lean_object* x_17; lean_object* x_18; +x_17 = lean_box(0); +x_18 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1(x_14, x_12, x_13, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +lean_dec(x_14); +return x_18; } else { -lean_object* x_74; lean_object* x_75; uint8_t x_76; -lean_dec(x_69); -lean_dec(x_68); -lean_dec(x_67); -x_74 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__2; -x_75 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(x_74, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +x_19 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__3; +x_20 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -59002,24 +35223,15 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -return x_75; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_75, 0); -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_75); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; } } } @@ -59027,39 +35239,22 @@ return x_79; lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__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) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_10 = lean_ctor_get(x_7, 3); x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); lean_inc(x_10); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } } lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -59094,60 +35289,35 @@ x_16 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_15); x_17 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_17) == 0) { -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_17, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +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_alloc_ctor(0, 3, 0); lean_ctor_set(x_20, 0, x_2); lean_ctor_set(x_20, 1, x_13); -lean_ctor_set(x_20, 2, x_19); -lean_ctor_set(x_17, 0, x_20); -return x_17; +lean_ctor_set(x_20, 2, 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_19); +return x_21; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_17, 0); -x_22 = lean_ctor_get(x_17, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_17); -x_23 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_23, 0, x_2); -lean_ctor_set(x_23, 1, x_13); -lean_ctor_set(x_23, 2, x_21); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -return x_24; -} -} -else -{ -uint8_t x_25; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec(x_13); lean_dec(x_2); -x_25 = !lean_is_exclusive(x_17); -if (x_25 == 0) -{ -return x_17; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_17, 0); -x_27 = lean_ctor_get(x_17, 1); -lean_inc(x_27); -lean_inc(x_26); +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); lean_dec(x_17); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } @@ -59285,7 +35455,7 @@ x_31 = lean_name_eq(x_27, x_30); lean_dec(x_27); if (x_31 == 0) { -lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_dec(x_18); lean_dec(x_17); x_32 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__6; @@ -59297,146 +35467,137 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -return x_33; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_33, 0); -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); lean_dec(x_33); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_38 = lean_unsigned_to_nat(1u); -x_39 = l_Lean_Syntax_getArg(x_18, x_38); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_37 = lean_unsigned_to_nat(1u); +x_38 = l_Lean_Syntax_getArg(x_18, x_37); lean_dec(x_18); -x_40 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_9, x_10, x_11); -x_41 = lean_ctor_get(x_40, 0); +x_39 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_9, x_10, x_11); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_42); -x_44 = lean_ctor_get(x_43, 0); +lean_dec(x_39); +x_42 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_41); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_45); -x_47 = lean_ctor_get(x_46, 0); +lean_dec(x_42); +x_45 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__10; -x_50 = l_Lean_addMacroScope(x_47, x_49, x_44); -x_51 = lean_box(0); -x_52 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__9; -x_53 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_53, 0, x_41); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_53, 2, x_50); -lean_ctor_set(x_53, 3, x_51); -x_54 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_9, x_10, x_48); -x_55 = lean_ctor_get(x_54, 0); +lean_dec(x_45); +x_48 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__10; +x_49 = l_Lean_addMacroScope(x_46, x_48, x_43); +x_50 = lean_box(0); +x_51 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__9; +x_52 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_52, 0, x_40); +lean_ctor_set(x_52, 1, x_51); +lean_ctor_set(x_52, 2, x_49); +lean_ctor_set(x_52, 3, x_50); +x_53 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_9, x_10, x_47); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_56); -x_58 = lean_ctor_get(x_57, 0); +lean_dec(x_53); +x_56 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_55); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_59); -x_61 = lean_ctor_get(x_60, 0); +lean_dec(x_56); +x_59 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_58); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_55); -x_64 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_64, 0, x_55); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_55); -x_66 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_66, 0, x_55); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_addMacroScope(x_61, x_49, x_58); -lean_inc(x_55); -x_68 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_68, 0, x_55); -lean_ctor_set(x_68, 1, x_52); -lean_ctor_set(x_68, 2, x_67); -lean_ctor_set(x_68, 3, x_51); -x_69 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_70 = lean_array_push(x_69, x_68); -x_71 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_74 = lean_array_push(x_73, x_72); -x_75 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -x_78 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_78, 0, x_55); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_80 = lean_array_push(x_79, x_66); -x_81 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_82 = lean_array_push(x_80, x_81); -x_83 = lean_array_push(x_82, x_76); -x_84 = lean_array_push(x_83, x_81); -x_85 = lean_array_push(x_84, x_78); -x_86 = lean_array_push(x_85, x_39); -x_87 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_86); -x_89 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_90 = lean_array_push(x_89, x_88); -x_91 = lean_array_push(x_90, x_81); -x_92 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -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 = lean_array_push(x_73, x_93); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_75); -lean_ctor_set(x_95, 1, x_94); -x_96 = lean_array_push(x_73, x_95); -x_97 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = lean_array_push(x_89, x_64); -x_100 = lean_array_push(x_99, x_98); -x_101 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_103 = l_Lean_Syntax_getArg(x_102, x_38); -lean_dec(x_102); -x_104 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_103); +lean_dec(x_59); +x_62 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_54); +x_63 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_63, 0, x_54); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +lean_inc(x_54); +x_65 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_65, 0, x_54); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_addMacroScope(x_60, x_48, x_57); +lean_inc(x_54); +x_67 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_67, 0, x_54); +lean_ctor_set(x_67, 1, x_51); +lean_ctor_set(x_67, 2, x_66); +lean_ctor_set(x_67, 3, x_50); +x_68 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; +x_69 = lean_array_push(x_68, x_67); +x_70 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +x_72 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_73 = lean_array_push(x_72, x_71); +x_74 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_73); +x_76 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +x_77 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_77, 0, x_54); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_79 = lean_array_push(x_78, x_65); +x_80 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_81 = lean_array_push(x_79, x_80); +x_82 = lean_array_push(x_81, x_75); +x_83 = lean_array_push(x_82, x_80); +x_84 = lean_array_push(x_83, x_77); +x_85 = lean_array_push(x_84, x_38); +x_86 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +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_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_89 = lean_array_push(x_88, x_87); +x_90 = lean_array_push(x_89, x_80); +x_91 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +x_93 = lean_array_push(x_72, x_92); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_74); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_array_push(x_72, x_94); +x_96 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +x_98 = lean_array_push(x_88, x_63); +x_99 = lean_array_push(x_98, x_97); +x_100 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = l_Lean_Syntax_getArg(x_101, x_37); +lean_dec(x_101); +x_103 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_102); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -59444,28 +35605,28 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_105 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_104, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_62); -if (lean_obj_tag(x_105) == 0) +x_104 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_103, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_61); +if (lean_obj_tag(x_104) == 0) { -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_106 = lean_ctor_get(x_105, 0); +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = l_Lean_Elab_Term_Do_mkUnless___closed__1; -x_109 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_109, 0, x_53); -lean_ctor_set(x_109, 1, x_108); -lean_ctor_set(x_109, 2, x_106); -x_19 = x_109; -x_20 = x_107; +lean_dec(x_104); +x_107 = l_Lean_Elab_Term_Do_mkUnless___closed__1; +x_108 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_108, 0, x_52); +lean_ctor_set(x_108, 1, x_107); +lean_ctor_set(x_108, 2, x_105); +x_19 = x_108; +x_20 = x_106; goto block_26; } else { -uint8_t x_110; -lean_dec(x_53); +lean_object* x_109; lean_object* x_110; lean_object* x_111; +lean_dec(x_52); lean_dec(x_17); lean_dec(x_10); lean_dec(x_9); @@ -59474,62 +35635,53 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_110 = !lean_is_exclusive(x_105); -if (x_110 == 0) -{ -return x_105; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_105, 0); -x_112 = lean_ctor_get(x_105, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_105); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -return x_113; -} +x_109 = lean_ctor_get(x_104, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_104, 1); +lean_inc(x_110); +lean_dec(x_104); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; } } } else { -lean_object* x_114; lean_object* x_115; uint8_t x_116; +lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_dec(x_27); -x_114 = lean_unsigned_to_nat(1u); -x_115 = l_Lean_Syntax_getArg(x_18, x_114); -x_116 = l_Lean_Syntax_isIdent(x_115); -if (x_116 == 0) +x_112 = lean_unsigned_to_nat(1u); +x_113 = l_Lean_Syntax_getArg(x_18, x_112); +x_114 = l_Lean_Syntax_isIdent(x_113); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +x_115 = lean_box(0); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_116 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___lambda__1(x_18, x_113, x_115, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_18); +if (lean_obj_tag(x_116) == 0) { lean_object* x_117; lean_object* x_118; -x_117 = lean_box(0); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_118 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___lambda__1(x_18, x_115, x_117, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_18); -if (lean_obj_tag(x_118) == 0) -{ -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_19 = x_119; -x_20 = x_120; +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_19 = x_117; +x_20 = x_118; goto block_26; } else { -uint8_t x_121; +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_dec(x_17); lean_dec(x_10); lean_dec(x_9); @@ -59538,95 +35690,86 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_121 = !lean_is_exclusive(x_118); -if (x_121 == 0) -{ -return x_118; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_118, 0); -x_123 = lean_ctor_get(x_118, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_118); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -return x_124; -} +x_119 = lean_ctor_get(x_116, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_116, 1); +lean_inc(x_120); +lean_dec(x_116); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; } } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_125 = l_Lean_Syntax_getId(x_115); -x_126 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_127 = lean_array_push(x_126, x_125); -x_128 = lean_ctor_get(x_9, 0); +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_122 = l_Lean_Syntax_getId(x_113); +x_123 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_124 = lean_array_push(x_123, x_122); +x_125 = lean_ctor_get(x_9, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_9, 1); +lean_inc(x_126); +x_127 = lean_ctor_get(x_9, 2); +lean_inc(x_127); +x_128 = lean_ctor_get(x_9, 3); lean_inc(x_128); -x_129 = lean_ctor_get(x_9, 1); +x_129 = lean_ctor_get(x_9, 4); lean_inc(x_129); -x_130 = lean_ctor_get(x_9, 2); +x_130 = lean_ctor_get(x_9, 5); lean_inc(x_130); -x_131 = lean_ctor_get(x_9, 3); +x_131 = lean_ctor_get(x_9, 6); lean_inc(x_131); -x_132 = lean_ctor_get(x_9, 4); +x_132 = lean_ctor_get(x_9, 7); lean_inc(x_132); -x_133 = lean_ctor_get(x_9, 5); -lean_inc(x_133); -x_134 = lean_ctor_get(x_9, 6); -lean_inc(x_134); -x_135 = lean_ctor_get(x_9, 7); -lean_inc(x_135); -x_136 = l_Lean_replaceRef(x_115, x_131); -lean_dec(x_131); -x_137 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_137, 0, x_128); -lean_ctor_set(x_137, 1, x_129); -lean_ctor_set(x_137, 2, x_130); -lean_ctor_set(x_137, 3, x_136); -lean_ctor_set(x_137, 4, x_132); -lean_ctor_set(x_137, 5, x_133); -lean_ctor_set(x_137, 6, x_134); -lean_ctor_set(x_137, 7, x_135); -x_138 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_127, x_4, x_5, x_6, x_7, x_8, x_137, x_10, x_11); -lean_dec(x_137); -lean_dec(x_127); +x_133 = l_Lean_replaceRef(x_113, x_128); +lean_dec(x_128); +x_134 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_134, 0, x_125); +lean_ctor_set(x_134, 1, x_126); +lean_ctor_set(x_134, 2, x_127); +lean_ctor_set(x_134, 3, x_133); +lean_ctor_set(x_134, 4, x_129); +lean_ctor_set(x_134, 5, x_130); +lean_ctor_set(x_134, 6, x_131); +lean_ctor_set(x_134, 7, x_132); +x_135 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_124, x_4, x_5, x_6, x_7, x_8, x_134, x_10, x_11); +lean_dec(x_134); +lean_dec(x_124); +if (lean_obj_tag(x_135) == 0) +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_138 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___lambda__1(x_18, x_113, x_136, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_137); +lean_dec(x_136); +lean_dec(x_18); if (lean_obj_tag(x_138) == 0) { -lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_object* x_139; lean_object* x_140; x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); x_140 = lean_ctor_get(x_138, 1); lean_inc(x_140); lean_dec(x_138); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_141 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___lambda__1(x_18, x_115, x_139, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_140); -lean_dec(x_139); -lean_dec(x_18); -if (lean_obj_tag(x_141) == 0) -{ -lean_object* x_142; lean_object* x_143; -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_19 = x_142; -x_20 = x_143; +x_19 = x_139; +x_20 = x_140; goto block_26; } else { -uint8_t x_144; +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_dec(x_17); lean_dec(x_10); lean_dec(x_9); @@ -59635,30 +35778,21 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_144 = !lean_is_exclusive(x_141); -if (x_144 == 0) -{ -return x_141; -} -else -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_145 = lean_ctor_get(x_141, 0); -x_146 = lean_ctor_get(x_141, 1); -lean_inc(x_146); -lean_inc(x_145); -lean_dec(x_141); -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_145); -lean_ctor_set(x_147, 1, x_146); -return x_147; -} +x_141 = lean_ctor_get(x_138, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_138, 1); +lean_inc(x_142); +lean_dec(x_138); +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; } } else { -uint8_t x_148; -lean_dec(x_115); +lean_object* x_144; lean_object* x_145; lean_object* x_146; +lean_dec(x_113); lean_dec(x_18); lean_dec(x_17); lean_dec(x_10); @@ -59668,24 +35802,15 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_148 = !lean_is_exclusive(x_138); -if (x_148 == 0) -{ -return x_138; -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_149 = lean_ctor_get(x_138, 0); -x_150 = lean_ctor_get(x_138, 1); -lean_inc(x_150); -lean_inc(x_149); -lean_dec(x_138); -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_150); -return x_151; -} +x_144 = lean_ctor_get(x_135, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_135, 1); +lean_inc(x_145); +lean_dec(x_135); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +return x_146; } } } @@ -59704,117 +35829,239 @@ goto _start; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5(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* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6(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) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_10 = lean_ctor_get(x_7, 3); x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); lean_inc(x_10); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } } -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4(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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5(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) { _start: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 3); -x_13 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 3, x_13); -x_14 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -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; lean_object* x_24; lean_object* x_25; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -x_17 = lean_ctor_get(x_8, 2); -x_18 = lean_ctor_get(x_8, 3); -x_19 = lean_ctor_get(x_8, 4); -x_20 = lean_ctor_get(x_8, 5); -x_21 = lean_ctor_get(x_8, 6); -x_22 = lean_ctor_get(x_8, 7); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); +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_11 = lean_ctor_get(x_8, 0); +x_12 = lean_ctor_get(x_8, 1); +x_13 = lean_ctor_get(x_8, 2); +x_14 = lean_ctor_get(x_8, 3); +x_15 = lean_ctor_get(x_8, 4); +x_16 = lean_ctor_get(x_8, 5); +x_17 = lean_ctor_get(x_8, 6); +x_18 = lean_ctor_get(x_8, 7); +x_19 = l_Lean_replaceRef(x_1, x_14); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_dec(x_8); -x_23 = l_Lean_replaceRef(x_1, x_18); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_24, 0, x_15); -lean_ctor_set(x_24, 1, x_16); -lean_ctor_set(x_24, 2, x_17); -lean_ctor_set(x_24, 3, x_23); -lean_ctor_set(x_24, 4, x_19); -lean_ctor_set(x_24, 5, x_20); -lean_ctor_set(x_24, 6, x_21); -lean_ctor_set(x_24, 7, x_22); -x_25 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); -lean_dec(x_24); -return x_25; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_20 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_12); +lean_ctor_set(x_20, 2, x_13); +lean_ctor_set(x_20, 3, x_19); +lean_ctor_set(x_20, 4, x_15); +lean_ctor_set(x_20, 5, x_16); +lean_ctor_set(x_20, 6, x_17); +lean_ctor_set(x_20, 7, x_18); +x_21 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_10); +lean_dec(x_20); +return x_21; } } -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___rarg), 1, 0); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___rarg), 1, 0); return x_8; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__1() { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4(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) { +_start: +{ +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_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 4); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 5); +lean_inc(x_15); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__1___boxed), 4, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_13); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2___boxed), 4, 1); +lean_closure_set(x_18, 0, x_13); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__3___boxed), 6, 3); +lean_closure_set(x_19, 0, x_13); +lean_closure_set(x_19, 1, x_14); +lean_closure_set(x_19, 2, x_15); +lean_inc(x_13); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4___boxed), 6, 3); +lean_closure_set(x_20, 0, x_13); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_15); +x_21 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_17); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_19); +lean_ctor_set(x_21, 4, x_20); +x_22 = x_21; +x_23 = lean_ctor_get(x_7, 3); +lean_inc(x_23); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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_ctor_get(x_7, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_7, 2); +lean_inc(x_28); +x_29 = lean_st_ref_get(x_8, x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_environment_main_module(x_13); +x_34 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_25); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_23); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_apply_2(x_1, x_34, x_36); +if (lean_obj_tag(x_37) == 0) +{ +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; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_st_ref_take(x_8, x_31); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_42, 2); +lean_inc(x_45); +x_46 = lean_ctor_get(x_42, 3); +lean_inc(x_46); +lean_dec(x_42); +x_47 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_40); +lean_ctor_set(x_47, 2, x_45); +lean_ctor_set(x_47, 3, x_46); +x_48 = lean_st_ref_set(x_8, x_47, x_43); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_ctor_get(x_39, 1); +lean_inc(x_50); +lean_dec(x_39); +x_51 = l_List_reverse___rarg(x_50); +x_52 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_49); +lean_dec(x_7); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_38); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +else +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_37, 0); +lean_inc(x_55); +lean_dec(x_37); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +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(2, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_59, 0, x_58); +x_60 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5(x_56, x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_7); +lean_dec(x_56); +return x_60; +} +else +{ +lean_object* x_61; +lean_dec(x_7); +x_61 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___rarg(x_31); +return x_61; +} +} +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__1() { _start: { lean_object* x_1; @@ -59822,22 +36069,22 @@ x_1 = lean_mk_string("tryCatchThe"); return x_1; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__2() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__1; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__3() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__1; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__2; +x_3 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___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); @@ -59845,41 +36092,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__4() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__1; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__5() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__4; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__4; 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; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__6() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__5; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___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; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__7() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__7() { _start: { lean_object* x_1; @@ -59887,22 +36134,22 @@ x_1 = lean_mk_string("MonadExcept.tryCatch"); return x_1; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__8() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__7; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__7; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__9() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__7; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__7; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__8; +x_3 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___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); @@ -59910,7 +36157,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__10() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__10() { _start: { lean_object* x_1; @@ -59918,17 +36165,17 @@ x_1 = lean_mk_string("MonadExcept"); return x_1; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__11() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__10; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__12() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__12() { _start: { lean_object* x_1; @@ -59936,302 +36183,308 @@ x_1 = lean_mk_string("tryCatch"); return x_1; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__13() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__11; -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__12; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__11; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__14() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__13; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___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); return x_3; } } -static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__15() { +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__14; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__14; 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_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, size_t x_8, size_t 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* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t 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) { _start: { uint8_t x_19; x_19 = x_8 == x_9; if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_27; lean_object* x_28; lean_object* x_143; lean_object* x_144; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_27; lean_object* x_28; x_20 = lean_array_uget(x_7, x_8); -x_143 = lean_ctor_get(x_20, 2); -lean_inc(x_143); +x_27 = lean_ctor_get(x_20, 2); +lean_inc(x_27); 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_1); +x_28 = l_Lean_Elab_Term_Do_extendUpdatedVars(x_27, x_1, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_28) == 0) +{ +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; +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_ctor_get(x_29, 0); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_box(x_3); +x_33 = lean_box(x_4); +x_34 = lean_box(x_5); lean_inc(x_2); -x_144 = l_Lean_Elab_Term_Do_extendUpdatedVars(x_143, x_2, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_144) == 0) +lean_inc(x_6); +x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToTerm_mkNestedTerm___boxed), 8, 6); +lean_closure_set(x_35, 0, x_31); +lean_closure_set(x_35, 1, x_6); +lean_closure_set(x_35, 2, x_2); +lean_closure_set(x_35, 3, x_32); +lean_closure_set(x_35, 4, x_33); +lean_closure_set(x_35, 5, x_34); +lean_inc(x_16); +x_36 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_35, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_30); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_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; -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -lean_dec(x_144); -x_147 = lean_ctor_get(x_145, 0); -lean_inc(x_147); -lean_dec(x_145); -x_148 = lean_ctor_get(x_1, 1); -lean_inc(x_148); -x_149 = lean_st_ref_get(x_17, x_146); -x_150 = lean_ctor_get(x_149, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); -lean_dec(x_149); -x_152 = lean_ctor_get(x_150, 0); -lean_inc(x_152); -lean_dec(x_150); -x_153 = lean_ctor_get(x_16, 4); -lean_inc(x_153); -x_154 = lean_ctor_get(x_16, 5); -lean_inc(x_154); -lean_inc(x_152); -x_155 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_155, 0, x_152); -lean_inc(x_153); -x_156 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_156, 0, x_153); -lean_inc(x_152); -x_157 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_157, 0, x_152); -lean_inc(x_154); -lean_inc(x_153); -lean_inc(x_152); -x_158 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_158, 0, x_152); -lean_closure_set(x_158, 1, x_153); -lean_closure_set(x_158, 2, x_154); -lean_inc(x_152); -x_159 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_159, 0, x_152); -lean_closure_set(x_159, 1, x_153); -lean_closure_set(x_159, 2, x_154); -x_160 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_160, 0, x_155); -lean_ctor_set(x_160, 1, x_156); -lean_ctor_set(x_160, 2, x_157); -lean_ctor_set(x_160, 3, x_158); -lean_ctor_set(x_160, 4, x_159); -x_161 = x_160; -x_162 = lean_ctor_get(x_16, 3); -lean_inc(x_162); -x_163 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_151); -x_164 = lean_ctor_get(x_163, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_163, 1); -lean_inc(x_165); -lean_dec(x_163); -x_166 = lean_ctor_get(x_16, 1); -lean_inc(x_166); -x_167 = lean_ctor_get(x_16, 2); -lean_inc(x_167); -x_168 = lean_st_ref_get(x_17, x_165); -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); -lean_inc(x_170); -lean_dec(x_168); -x_171 = lean_ctor_get(x_169, 1); -lean_inc(x_171); -lean_dec(x_169); -x_172 = lean_environment_main_module(x_152); -x_173 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_173, 0, x_161); -lean_ctor_set(x_173, 1, x_172); -lean_ctor_set(x_173, 2, x_164); -lean_ctor_set(x_173, 3, x_166); -lean_ctor_set(x_173, 4, x_167); -lean_ctor_set(x_173, 5, x_162); -x_174 = lean_box(0); -x_175 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_175, 0, x_171); -lean_ctor_set(x_175, 1, x_174); -lean_inc(x_3); -x_176 = l_Lean_Elab_Term_Do_ToTerm_mkNestedTerm(x_147, x_148, x_3, x_4, x_5, x_6, x_173, x_175); -if (lean_obj_tag(x_176) == 0) +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_20, 1); +lean_inc(x_39); +x_40 = l_Lean_Syntax_isNone(x_39); +if (x_40 == 0) { -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_st_ref_take(x_17, x_170); -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); -lean_inc(x_182); -lean_dec(x_180); -x_183 = !lean_is_exclusive(x_181); -if (x_183 == 0) -{ -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_184 = lean_ctor_get(x_181, 1); -lean_dec(x_184); -lean_ctor_set(x_181, 1, x_179); -x_185 = lean_st_ref_set(x_17, x_181, x_182); -x_186 = lean_ctor_get(x_185, 1); -lean_inc(x_186); -lean_dec(x_185); -x_187 = lean_ctor_get(x_178, 1); -lean_inc(x_187); -lean_dec(x_178); -x_188 = l_List_reverse___rarg(x_187); -x_189 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_188, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_186); -x_190 = lean_ctor_get(x_189, 1); -lean_inc(x_190); -lean_dec(x_189); -x_27 = x_177; -x_28 = x_190; -goto block_142; -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_191 = lean_ctor_get(x_181, 0); -x_192 = lean_ctor_get(x_181, 2); -x_193 = lean_ctor_get(x_181, 3); -lean_inc(x_193); -lean_inc(x_192); -lean_inc(x_191); -lean_dec(x_181); -x_194 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_194, 0, x_191); -lean_ctor_set(x_194, 1, x_179); -lean_ctor_set(x_194, 2, x_192); -lean_ctor_set(x_194, 3, x_193); -x_195 = lean_st_ref_set(x_17, x_194, x_182); -x_196 = lean_ctor_get(x_195, 1); -lean_inc(x_196); -lean_dec(x_195); -x_197 = lean_ctor_get(x_178, 1); -lean_inc(x_197); -lean_dec(x_178); -x_198 = l_List_reverse___rarg(x_197); -x_199 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_198, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_196); -x_200 = lean_ctor_get(x_199, 1); -lean_inc(x_200); -lean_dec(x_199); -x_27 = x_177; -x_28 = x_200; -goto block_142; -} -} -else -{ -lean_object* x_201; +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_41 = lean_unsigned_to_nat(1u); +x_42 = l_Lean_Syntax_getArg(x_39, x_41); +lean_dec(x_39); +x_43 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_16, x_17, x_38); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_45); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l_Lean_Elab_Term_getMainModule___rarg(x_17, x_48); +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); +x_52 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__4; +x_53 = l_Lean_addMacroScope(x_50, x_52, x_47); +x_54 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__3; +x_55 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__6; +lean_inc(x_44); +x_56 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_56, 0, x_44); +lean_ctor_set(x_56, 1, x_54); +lean_ctor_set(x_56, 2, x_53); +lean_ctor_set(x_56, 3, x_55); +x_57 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_44); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_44); +lean_ctor_set(x_58, 1, x_57); +x_59 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; +lean_inc(x_44); +x_60 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_60, 0, x_44); +lean_ctor_set(x_60, 1, x_59); +x_61 = lean_ctor_get(x_20, 0); +lean_inc(x_61); lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_201 = lean_ctor_get(x_176, 0); -lean_inc(x_201); -lean_dec(x_176); -if (lean_obj_tag(x_201) == 0) -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; -x_202 = lean_ctor_get(x_201, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_201, 1); -lean_inc(x_203); -lean_dec(x_201); -x_204 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_204, 0, x_203); -x_205 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_205, 0, x_204); -x_206 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_202, x_205, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_170); -lean_dec(x_17); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_202); -x_207 = !lean_is_exclusive(x_206); -if (x_207 == 0) -{ -return x_206; +x_62 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_63 = lean_array_push(x_62, x_61); +x_64 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_44); +x_67 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_67, 0, x_44); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_69 = lean_array_push(x_68, x_65); +x_70 = lean_array_push(x_69, x_67); +x_71 = lean_array_push(x_70, x_37); +x_72 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; +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 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_75 = lean_array_push(x_74, x_60); +x_76 = lean_array_push(x_75, x_73); +x_77 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___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 = lean_array_push(x_74, x_78); +x_80 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_81 = lean_array_push(x_79, x_80); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_64); +lean_ctor_set(x_82, 1, x_81); +x_83 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_84 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_84, 0, x_44); +lean_ctor_set(x_84, 1, x_83); +x_85 = lean_array_push(x_68, x_58); +x_86 = lean_array_push(x_85, x_82); +x_87 = lean_array_push(x_86, x_84); +x_88 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = lean_array_push(x_68, x_42); +x_91 = lean_array_push(x_90, x_10); +x_92 = lean_array_push(x_91, x_89); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_64); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_array_push(x_74, x_56); +x_95 = lean_array_push(x_94, x_93); +x_96 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +x_21 = x_97; +x_22 = x_51; +goto block_26; } else { -lean_object* x_208; lean_object* x_209; lean_object* x_210; -x_208 = lean_ctor_get(x_206, 0); -x_209 = lean_ctor_get(x_206, 1); -lean_inc(x_209); -lean_inc(x_208); -lean_dec(x_206); -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_208); -lean_ctor_set(x_210, 1, x_209); -return x_210; +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +lean_dec(x_39); +x_98 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_16, x_17, x_38); +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_100); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +x_104 = l_Lean_Elab_Term_getMainModule___rarg(x_17, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__13; +x_108 = l_Lean_addMacroScope(x_105, x_107, x_102); +x_109 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__9; +x_110 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__15; +lean_inc(x_99); +x_111 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_111, 0, x_99); +lean_ctor_set(x_111, 1, x_109); +lean_ctor_set(x_111, 2, x_108); +lean_ctor_set(x_111, 3, x_110); +x_112 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_99); +x_113 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_113, 0, x_99); +lean_ctor_set(x_113, 1, x_112); +x_114 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; +lean_inc(x_99); +x_115 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_115, 0, x_99); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_ctor_get(x_20, 0); +lean_inc(x_116); +lean_dec(x_20); +x_117 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_118 = lean_array_push(x_117, x_116); +x_119 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_99); +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_99); +lean_ctor_set(x_122, 1, x_121); +x_123 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_124 = lean_array_push(x_123, x_120); +x_125 = lean_array_push(x_124, x_122); +x_126 = lean_array_push(x_125, x_37); +x_127 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_126); +x_129 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_130 = lean_array_push(x_129, x_115); +x_131 = lean_array_push(x_130, x_128); +x_132 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = lean_array_push(x_129, x_133); +x_135 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_136 = lean_array_push(x_134, x_135); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_119); +lean_ctor_set(x_137, 1, x_136); +x_138 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_139 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_139, 0, x_99); +lean_ctor_set(x_139, 1, x_138); +x_140 = lean_array_push(x_123, x_113); +x_141 = lean_array_push(x_140, x_137); +x_142 = lean_array_push(x_141, x_139); +x_143 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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_array_push(x_129, x_10); +x_146 = lean_array_push(x_145, x_144); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_119); +lean_ctor_set(x_147, 1, x_146); +x_148 = lean_array_push(x_129, x_111); +x_149 = lean_array_push(x_148, x_147); +x_150 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +x_21 = x_151; +x_22 = x_106; +goto block_26; } } else { -lean_object* x_211; uint8_t x_212; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -x_211 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg(x_170); -x_212 = !lean_is_exclusive(x_211); -if (x_212 == 0) -{ -return x_211; -} -else -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; -x_213 = lean_ctor_get(x_211, 0); -x_214 = lean_ctor_get(x_211, 1); -lean_inc(x_214); -lean_inc(x_213); -lean_dec(x_211); -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_213); -lean_ctor_set(x_215, 1, x_214); -return x_215; -} -} -} -} -else -{ -uint8_t x_216; +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_dec(x_20); lean_dec(x_17); lean_dec(x_16); @@ -60240,27 +36493,43 @@ lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_10); -lean_dec(x_3); +lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_216 = !lean_is_exclusive(x_144); -if (x_216 == 0) -{ -return x_144; +x_152 = lean_ctor_get(x_36, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_36, 1); +lean_inc(x_153); +lean_dec(x_36); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +return x_154; +} } else { -lean_object* x_217; lean_object* x_218; lean_object* x_219; -x_217 = lean_ctor_get(x_144, 0); -x_218 = lean_ctor_get(x_144, 1); -lean_inc(x_218); -lean_inc(x_217); -lean_dec(x_144); -x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_217); -lean_ctor_set(x_219, 1, x_218); -return x_219; -} +lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_155 = lean_ctor_get(x_28, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_28, 1); +lean_inc(x_156); +lean_dec(x_28); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +return x_157; } block_26: { @@ -60272,441 +36541,56 @@ x_10 = x_21; x_18 = x_22; goto _start; } -block_142: -{ -lean_object* x_29; uint8_t x_30; -x_29 = lean_ctor_get(x_20, 1); -lean_inc(x_29); -x_30 = l_Lean_Syntax_isNone(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_31 = lean_unsigned_to_nat(1u); -x_32 = l_Lean_Syntax_getArg(x_29, x_31); -lean_dec(x_29); -x_33 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_16, x_17, x_28); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Elab_Term_getMainModule___rarg(x_17, x_38); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__4; -x_43 = l_Lean_addMacroScope(x_40, x_42, x_37); -x_44 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__3; -x_45 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__6; -lean_inc(x_34); -x_46 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_46, 0, x_34); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_46, 2, x_43); -lean_ctor_set(x_46, 3, x_45); -x_47 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_34); -x_48 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_48, 0, x_34); -lean_ctor_set(x_48, 1, x_47); -x_49 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_34); -x_50 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_50, 0, x_34); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_ctor_get(x_20, 0); -lean_inc(x_51); -lean_dec(x_20); -x_52 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_53 = lean_array_push(x_52, x_51); -x_54 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); -x_56 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_34); -x_57 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_57, 0, x_34); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_59 = lean_array_push(x_58, x_55); -x_60 = lean_array_push(x_59, x_57); -x_61 = lean_array_push(x_60, x_27); -x_62 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -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_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_65 = lean_array_push(x_64, x_50); -x_66 = lean_array_push(x_65, x_63); -x_67 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = lean_array_push(x_64, x_68); -x_70 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_71 = lean_array_push(x_69, x_70); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_54); -lean_ctor_set(x_72, 1, x_71); -x_73 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_74 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_74, 0, x_34); -lean_ctor_set(x_74, 1, x_73); -x_75 = lean_array_push(x_58, x_48); -x_76 = lean_array_push(x_75, x_72); -x_77 = lean_array_push(x_76, x_74); -x_78 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_array_push(x_58, x_32); -x_81 = lean_array_push(x_80, x_10); -x_82 = lean_array_push(x_81, x_79); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_54); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_array_push(x_64, x_46); -x_85 = lean_array_push(x_84, x_83); -x_86 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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_21 = x_87; -x_22 = x_41; -goto block_26; } else { -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_dec(x_29); -x_88 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_16, x_17, x_28); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_90); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = l_Lean_Elab_Term_getMainModule___rarg(x_17, x_93); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__13; -x_98 = l_Lean_addMacroScope(x_95, x_97, x_92); -x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__9; -x_100 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__15; -lean_inc(x_89); -x_101 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_101, 0, x_89); -lean_ctor_set(x_101, 1, x_99); -lean_ctor_set(x_101, 2, x_98); -lean_ctor_set(x_101, 3, x_100); -x_102 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_89); -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_89); -lean_ctor_set(x_103, 1, x_102); -x_104 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_89); -x_105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_105, 0, x_89); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_ctor_get(x_20, 0); -lean_inc(x_106); -lean_dec(x_20); -x_107 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_108 = lean_array_push(x_107, x_106); -x_109 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_89); -x_112 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_112, 0, x_89); -lean_ctor_set(x_112, 1, x_111); -x_113 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_114 = lean_array_push(x_113, x_110); -x_115 = lean_array_push(x_114, x_112); -x_116 = lean_array_push(x_115, x_27); -x_117 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -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 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_120 = lean_array_push(x_119, x_105); -x_121 = lean_array_push(x_120, x_118); -x_122 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_121); -x_124 = lean_array_push(x_119, x_123); -x_125 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_126 = lean_array_push(x_124, x_125); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_109); -lean_ctor_set(x_127, 1, x_126); -x_128 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_129 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_129, 0, x_89); -lean_ctor_set(x_129, 1, x_128); -x_130 = lean_array_push(x_113, x_103); -x_131 = lean_array_push(x_130, x_127); -x_132 = lean_array_push(x_131, x_129); -x_133 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_132); -x_135 = lean_array_push(x_119, x_10); -x_136 = lean_array_push(x_135, x_134); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_109); -lean_ctor_set(x_137, 1, x_136); -x_138 = lean_array_push(x_119, x_101); -x_139 = lean_array_push(x_138, x_137); -x_140 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_139); -x_21 = x_141; -x_22 = x_96; -goto block_26; -} -} -} -else -{ -lean_object* x_220; +lean_object* x_158; lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_3); +lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_220 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_220, 0, x_10); -lean_ctor_set(x_220, 1, x_18); -return x_220; +x_158 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_158, 0, x_10); +lean_ctor_set(x_158, 1, x_18); +return x_158; } } } lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__1(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -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_15 = lean_st_ref_get(x_13, x_14); -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); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ctor_get(x_12, 4); -lean_inc(x_19); -x_20 = lean_ctor_get(x_12, 5); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_box(x_2); +x_16 = lean_box(x_3); +x_17 = lean_box(x_4); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___boxed), 7, 5); +lean_closure_set(x_18, 0, x_6); +lean_closure_set(x_18, 1, x_1); +lean_closure_set(x_18, 2, x_15); +lean_closure_set(x_18, 3, x_16); +lean_closure_set(x_18, 4, x_17); +lean_inc(x_12); +x_19 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4(x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_inc(x_18); -x_21 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_21, 0, x_18); -lean_inc(x_19); -x_22 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_22, 0, x_19); -lean_inc(x_18); -x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_23, 0, x_18); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_24, 0, x_18); -lean_closure_set(x_24, 1, x_19); -lean_closure_set(x_24, 2, x_20); -lean_inc(x_18); -x_25 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_25, 0, x_18); -lean_closure_set(x_25, 1, x_19); -lean_closure_set(x_25, 2, x_20); -x_26 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_22); -lean_ctor_set(x_26, 2, x_23); -lean_ctor_set(x_26, 3, x_24); -lean_ctor_set(x_26, 4, x_25); -x_27 = x_26; -x_28 = lean_ctor_get(x_12, 3); -lean_inc(x_28); -x_29 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_17); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_12, 1); -lean_inc(x_32); -x_33 = lean_ctor_get(x_12, 2); -lean_inc(x_33); -x_34 = lean_st_ref_get(x_13, x_31); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_environment_main_module(x_18); -x_39 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_39, 0, x_27); -lean_ctor_set(x_39, 1, x_38); -lean_ctor_set(x_39, 2, x_30); -lean_ctor_set(x_39, 3, x_32); -lean_ctor_set(x_39, 4, x_33); -lean_ctor_set(x_39, 5, x_28); -x_40 = lean_box(0); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_37); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult(x_6, x_1, x_2, x_3, x_4, x_39, x_41); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_st_ref_take(x_13, x_36); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = !lean_is_exclusive(x_47); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_50 = lean_ctor_get(x_47, 1); -lean_dec(x_50); -lean_ctor_set(x_47, 1, x_45); -x_51 = lean_st_ref_set(x_13, x_47, x_48); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_53 = lean_ctor_get(x_44, 1); -lean_inc(x_53); -lean_dec(x_44); -x_54 = l_List_reverse___rarg(x_53); -x_55 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_54, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_52); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -lean_dec(x_55); -x_57 = l_List_append___rarg(x_43, x_5); -x_58 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_57, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_56); -return x_58; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_List_append___rarg(x_20, x_5); +x_23 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_22, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_21); +return x_23; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_59 = lean_ctor_get(x_47, 0); -x_60 = lean_ctor_get(x_47, 2); -x_61 = lean_ctor_get(x_47, 3); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_47); -x_62 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_62, 0, x_59); -lean_ctor_set(x_62, 1, x_45); -lean_ctor_set(x_62, 2, x_60); -lean_ctor_set(x_62, 3, x_61); -x_63 = lean_st_ref_set(x_13, x_62, x_48); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_65 = lean_ctor_get(x_44, 1); -lean_inc(x_65); -lean_dec(x_44); -x_66 = l_List_reverse___rarg(x_65); -x_67 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_66, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_64); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = l_List_append___rarg(x_43, x_5); -x_70 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_69, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_68); -return x_70; -} -} -else -{ -lean_object* x_71; -lean_dec(x_5); -x_71 = lean_ctor_get(x_42, 0); -lean_inc(x_71); -lean_dec(x_42); -if (lean_obj_tag(x_71) == 0) -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_74, 0, x_73); -x_75 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_75, 0, x_74); -x_76 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4(x_72, x_75, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_36); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_72); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) -{ -return x_76; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_76, 0); -x_79 = lean_ctor_get(x_76, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_76); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; -} -} -else -{ -lean_object* x_81; uint8_t x_82; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -60714,26 +36598,16 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_81 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___rarg(x_36); -x_82 = !lean_is_exclusive(x_81); -if (x_82 == 0) -{ -return x_81; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_81, 0); -x_84 = lean_ctor_get(x_81, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_81); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; -} -} +lean_dec(x_5); +x_24 = lean_ctor_get(x_19, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +lean_dec(x_19); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } } @@ -60805,308 +36679,88 @@ return x_3; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___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, 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; lean_object* x_14; lean_object* x_15; lean_object* x_16; 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; uint8_t x_86; lean_object* x_87; +lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_13 = lean_ctor_get(x_1, 0); lean_inc(x_13); lean_dec(x_1); -x_14 = lean_ctor_get(x_2, 1); -lean_inc(x_14); -lean_dec(x_2); -x_58 = lean_st_ref_get(x_11, x_12); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = lean_ctor_get(x_59, 0); -lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_ctor_get(x_10, 4); -lean_inc(x_62); -x_63 = lean_ctor_get(x_10, 5); -lean_inc(x_63); -lean_inc(x_61); -x_64 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_64, 0, x_61); -lean_inc(x_62); -x_65 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_65, 0, x_62); -lean_inc(x_61); -x_66 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_66, 0, x_61); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -x_67 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_67, 0, x_61); -lean_closure_set(x_67, 1, x_62); -lean_closure_set(x_67, 2, x_63); -lean_inc(x_61); -x_68 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_68, 0, x_61); -lean_closure_set(x_68, 1, x_62); -lean_closure_set(x_68, 2, x_63); -x_69 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_69, 0, x_64); -lean_ctor_set(x_69, 1, x_65); -lean_ctor_set(x_69, 2, x_66); -lean_ctor_set(x_69, 3, x_67); -lean_ctor_set(x_69, 4, x_68); -x_70 = x_69; -x_71 = lean_ctor_get(x_10, 3); -lean_inc(x_71); -x_72 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_60); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_ctor_get(x_10, 1); -lean_inc(x_75); -x_76 = lean_ctor_get(x_10, 2); -lean_inc(x_76); -x_77 = lean_st_ref_get(x_11, x_74); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec(x_78); -x_81 = lean_environment_main_module(x_61); -x_82 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_82, 0, x_70); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set(x_82, 2, x_73); -lean_ctor_set(x_82, 3, x_75); -lean_ctor_set(x_82, 4, x_76); -lean_ctor_set(x_82, 5, x_71); -x_83 = lean_box(0); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_80); -lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -x_86 = 0; -x_87 = l_Lean_Elab_Term_Do_ToTerm_run(x_13, x_14, x_85, x_86, x_82, x_84); -if (lean_obj_tag(x_87) == 0) +x_14 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; +x_15 = 0; +x_16 = lean_box(x_15); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToTerm_run___boxed), 6, 4); +lean_closure_set(x_17, 0, x_13); +lean_closure_set(x_17, 1, x_2); +lean_closure_set(x_17, 2, x_14); +lean_closure_set(x_17, 3, x_16); +lean_inc(x_10); +x_18 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_st_ref_take(x_11, x_79); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = !lean_is_exclusive(x_92); -if (x_94 == 0) -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_95 = lean_ctor_get(x_92, 1); -lean_dec(x_95); -lean_ctor_set(x_92, 1, x_90); -x_96 = lean_st_ref_set(x_11, x_92, x_93); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_98 = lean_ctor_get(x_89, 1); -lean_inc(x_98); -lean_dec(x_89); -x_99 = l_List_reverse___rarg(x_98); -x_100 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_99, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_97); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -lean_dec(x_100); -x_15 = x_88; -x_16 = x_101; -goto block_57; -} -else -{ -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_102 = lean_ctor_get(x_92, 0); -x_103 = lean_ctor_get(x_92, 2); -x_104 = lean_ctor_get(x_92, 3); -lean_inc(x_104); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_92); -x_105 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_105, 0, x_102); -lean_ctor_set(x_105, 1, x_90); -lean_ctor_set(x_105, 2, x_103); -lean_ctor_set(x_105, 3, x_104); -x_106 = lean_st_ref_set(x_11, x_105, x_93); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -lean_dec(x_106); -x_108 = lean_ctor_get(x_89, 1); -lean_inc(x_108); -lean_dec(x_89); -x_109 = l_List_reverse___rarg(x_108); -x_110 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_109, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_107); -x_111 = lean_ctor_get(x_110, 1); -lean_inc(x_111); -lean_dec(x_110); -x_15 = x_88; -x_16 = x_111; -goto block_57; -} -} -else -{ -lean_object* x_112; -lean_dec(x_3); -x_112 = lean_ctor_get(x_87, 0); -lean_inc(x_112); -lean_dec(x_87); -if (lean_obj_tag(x_112) == 0) -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -lean_dec(x_112); -x_115 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_115, 0, x_114); -x_116 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_116, 0, x_115); -x_117 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_113, x_116, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_79); -lean_dec(x_113); -x_118 = !lean_is_exclusive(x_117); -if (x_118 == 0) -{ -return x_117; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_117, 0); -x_120 = lean_ctor_get(x_117, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_117); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -else -{ -lean_object* x_122; uint8_t x_123; -lean_dec(x_10); -x_122 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg(x_79); -x_123 = !lean_is_exclusive(x_122); -if (x_123 == 0) -{ -return x_122; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_122, 0); -x_125 = lean_ctor_get(x_122, 1); -lean_inc(x_125); -lean_inc(x_124); -lean_dec(x_122); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); -return x_126; -} -} -} -block_57: -{ -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; -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_10, x_11, x_16); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +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_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_19); -lean_dec(x_10); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_10, x_11, x_20); +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_22); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 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_25 = lean_ctor_get(x_23, 0); -x_26 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__4; -x_27 = l_Lean_addMacroScope(x_25, x_26, x_21); -x_28 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__3; -x_29 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__6; -x_30 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_30, 0, x_18); -lean_ctor_set(x_30, 1, x_28); -lean_ctor_set(x_30, 2, x_27); -lean_ctor_set(x_30, 3, x_29); -x_31 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_32 = lean_array_push(x_31, x_3); -x_33 = lean_array_push(x_32, x_15); -x_34 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = lean_array_push(x_31, x_30); -x_37 = lean_array_push(x_36, x_35); -x_38 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_23); +lean_dec(x_10); +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 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__4; +x_31 = l_Lean_addMacroScope(x_28, x_30, x_25); +x_32 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__3; +x_33 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__6; +x_34 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_31); +lean_ctor_set(x_34, 3, x_33); +x_35 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_36 = lean_array_push(x_35, x_3); +x_37 = lean_array_push(x_36, x_19); +x_38 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); -lean_ctor_set(x_23, 0, x_39); -return x_23; +x_40 = lean_array_push(x_35, x_34); +x_41 = lean_array_push(x_40, x_39); +x_42 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_29); +return x_44; } else { -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; -x_40 = lean_ctor_get(x_23, 0); -x_41 = lean_ctor_get(x_23, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_23); -x_42 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__4; -x_43 = l_Lean_addMacroScope(x_40, x_42, x_21); -x_44 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__3; -x_45 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__6; -x_46 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_46, 0, x_18); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_46, 2, x_43); -lean_ctor_set(x_46, 3, x_45); -x_47 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_48 = lean_array_push(x_47, x_3); -x_49 = lean_array_push(x_48, x_15); -x_50 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = lean_array_push(x_47, x_46); -x_53 = lean_array_push(x_52, x_51); -x_54 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_41); -return x_56; -} +lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_10); +lean_dec(x_3); +x_45 = lean_ctor_get(x_18, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_18, 1); +lean_inc(x_46); +lean_dec(x_18); +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; } } } @@ -61144,31 +36798,22 @@ return x_16; } else { -lean_object* x_17; lean_object* x_18; uint8_t x_19; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_17 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___closed__2; -x_18 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_18 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_10); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -return x_18; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } @@ -61216,7 +36861,7 @@ return x_2; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_81; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_inc(x_3); lean_inc(x_1); x_16 = l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars(x_1, x_2, x_3); @@ -61247,336 +36892,95 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_16); -x_81 = l_Lean_Elab_Term_Do_extendUpdatedVars(x_1, x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_81) == 0) +x_27 = l_Lean_Elab_Term_Do_extendUpdatedVars(x_1, x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_27) == 0) { -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; -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_ctor_get(x_82, 0); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_ctor_get(x_8, 1); -lean_inc(x_85); -x_86 = lean_st_ref_get(x_14, x_83); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = lean_ctor_get(x_87, 0); -lean_inc(x_89); -lean_dec(x_87); -x_90 = lean_ctor_get(x_13, 1); -lean_inc(x_90); -x_91 = lean_ctor_get(x_13, 2); -lean_inc(x_91); -x_92 = lean_ctor_get(x_13, 3); -lean_inc(x_92); -x_93 = lean_ctor_get(x_13, 4); -lean_inc(x_93); -x_94 = lean_ctor_get(x_13, 5); -lean_inc(x_94); -lean_inc(x_89); -x_95 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_95, 0, x_89); -lean_inc(x_93); -x_96 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_96, 0, x_93); -lean_inc(x_89); -x_97 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_97, 0, x_89); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_89); -x_98 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_98, 0, x_89); -lean_closure_set(x_98, 1, x_93); -lean_closure_set(x_98, 2, x_94); -lean_inc(x_89); -x_99 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_99, 0, x_89); -lean_closure_set(x_99, 1, x_93); -lean_closure_set(x_99, 2, x_94); -x_100 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_100, 0, x_95); -lean_ctor_set(x_100, 1, x_96); -lean_ctor_set(x_100, 2, x_97); -lean_ctor_set(x_100, 3, x_98); -lean_ctor_set(x_100, 4, x_99); -x_101 = x_100; -x_102 = l_Lean_Elab_Term_getCurrMacroScope(x_9, x_10, x_11, x_12, x_13, x_14, x_88); -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -lean_dec(x_102); -x_105 = lean_st_ref_get(x_14, x_104); -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); -lean_dec(x_106); -x_109 = lean_environment_main_module(x_89); -x_110 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_110, 0, x_101); -lean_ctor_set(x_110, 1, x_109); -lean_ctor_set(x_110, 2, x_103); -lean_ctor_set(x_110, 3, x_90); -lean_ctor_set(x_110, 4, x_91); -lean_ctor_set(x_110, 5, x_92); -x_111 = lean_box(0); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_108); -lean_ctor_set(x_112, 1, x_111); +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; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_ctor_get(x_8, 1); +lean_inc(x_31); +x_32 = lean_box(x_20); +x_33 = lean_box(x_23); +x_34 = lean_box(x_26); lean_inc(x_17); -x_113 = l_Lean_Elab_Term_Do_ToTerm_mkNestedTerm(x_84, x_85, x_17, x_20, x_23, x_26, x_110, x_112); -if (lean_obj_tag(x_113) == 0) +lean_inc(x_31); +x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToTerm_mkNestedTerm___boxed), 8, 6); +lean_closure_set(x_35, 0, x_30); +lean_closure_set(x_35, 1, x_31); +lean_closure_set(x_35, 2, x_17); +lean_closure_set(x_35, 3, x_32); +lean_closure_set(x_35, 4, x_33); +lean_closure_set(x_35, 5, x_34); +lean_inc(x_13); +x_36 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_35, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_29); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_st_ref_take(x_14, x_107); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = !lean_is_exclusive(x_118); -if (x_120 == 0) +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_array_get_size(x_2); +x_40 = lean_unsigned_to_nat(0u); +x_41 = lean_nat_dec_lt(x_40, x_39); +if (x_41 == 0) { -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; -x_121 = lean_ctor_get(x_118, 1); -lean_dec(x_121); -lean_ctor_set(x_118, 1, x_116); -x_122 = lean_st_ref_set(x_14, x_118, x_119); -x_123 = lean_ctor_get(x_122, 1); -lean_inc(x_123); -lean_dec(x_122); -x_124 = lean_ctor_get(x_115, 1); -lean_inc(x_124); -lean_dec(x_115); -x_125 = l_List_reverse___rarg(x_124); -x_126 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_125, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_123); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -lean_dec(x_126); -x_27 = x_114; -x_28 = x_127; -goto block_80; -} -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; -x_128 = lean_ctor_get(x_118, 0); -x_129 = lean_ctor_get(x_118, 2); -x_130 = lean_ctor_get(x_118, 3); -lean_inc(x_130); -lean_inc(x_129); -lean_inc(x_128); -lean_dec(x_118); -x_131 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_131, 0, x_128); -lean_ctor_set(x_131, 1, x_116); -lean_ctor_set(x_131, 2, x_129); -lean_ctor_set(x_131, 3, x_130); -x_132 = lean_st_ref_set(x_14, x_131, x_119); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -lean_dec(x_132); -x_134 = lean_ctor_get(x_115, 1); -lean_inc(x_134); -lean_dec(x_115); -x_135 = l_List_reverse___rarg(x_134); -x_136 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_135, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_133); -x_137 = lean_ctor_get(x_136, 1); -lean_inc(x_137); -lean_dec(x_136); -x_27 = x_114; -x_28 = x_137; -goto block_80; -} -} -else -{ -lean_object* x_138; -lean_dec(x_17); +lean_dec(x_39); lean_dec(x_16); -lean_dec(x_4); -lean_dec(x_3); -x_138 = lean_ctor_get(x_113, 0); -lean_inc(x_138); -lean_dec(x_113); -if (lean_obj_tag(x_138) == 0) -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_138, 1); -lean_inc(x_140); -lean_dec(x_138); -x_141 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_141, 0, x_140); -x_142 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_142, 0, x_141); -x_143 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_139, x_142, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_107); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_139); -x_144 = !lean_is_exclusive(x_143); -if (x_144 == 0) -{ -return x_143; +x_42 = x_37; +x_43 = x_38; +goto block_78; } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_145 = lean_ctor_get(x_143, 0); -x_146 = lean_ctor_get(x_143, 1); -lean_inc(x_146); -lean_inc(x_145); -lean_dec(x_143); -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_145); -lean_ctor_set(x_147, 1, x_146); -return x_147; -} -} -else +uint8_t x_79; +x_79 = lean_nat_dec_le(x_39, x_39); +if (x_79 == 0) { -lean_object* x_148; uint8_t x_149; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_148 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg(x_107); -x_149 = !lean_is_exclusive(x_148); -if (x_149 == 0) -{ -return x_148; -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_150 = lean_ctor_get(x_148, 0); -x_151 = lean_ctor_get(x_148, 1); -lean_inc(x_151); -lean_inc(x_150); -lean_dec(x_148); -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; -} -} -} -} -else -{ -uint8_t x_153; -lean_dec(x_17); +lean_dec(x_39); lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -x_153 = !lean_is_exclusive(x_81); -if (x_153 == 0) -{ -return x_81; +x_42 = x_37; +x_43 = x_38; +goto block_78; } else { -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_81, 0); -x_155 = lean_ctor_get(x_81, 1); -lean_inc(x_155); -lean_inc(x_154); -lean_dec(x_81); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_154); -lean_ctor_set(x_156, 1, x_155); -return x_156; -} -} -block_80: -{ -lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; -x_29 = lean_array_get_size(x_2); -x_30 = lean_unsigned_to_nat(0u); -x_31 = lean_nat_dec_lt(x_30, x_29); -if (x_31 == 0) -{ -lean_dec(x_29); -lean_dec(x_16); -x_32 = x_27; -x_33 = x_28; -goto block_70; -} -else -{ -uint8_t x_71; -x_71 = lean_nat_dec_le(x_29, x_29); -if (x_71 == 0) -{ -lean_dec(x_29); -lean_dec(x_16); -x_32 = x_27; -x_33 = x_28; -goto block_70; -} -else -{ -size_t x_72; lean_object* x_73; -x_72 = lean_usize_of_nat(x_29); -lean_dec(x_29); +size_t x_80; lean_object* x_81; +x_80 = lean_usize_of_nat(x_39); +lean_dec(x_39); 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_inc(x_31); lean_inc(x_17); -lean_inc(x_8); -x_73 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7(x_8, x_16, x_17, x_20, x_23, x_26, x_2, x_6, x_72, x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); -if (lean_obj_tag(x_73) == 0) +x_81 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8(x_16, x_17, x_20, x_23, x_26, x_31, x_2, x_6, x_80, x_37, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_38); +if (lean_obj_tag(x_81) == 0) { -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_32 = x_74; -x_33 = x_75; -goto block_70; +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_42 = x_82; +x_43 = x_83; +goto block_78; } else { -uint8_t x_76; +lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_31); lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -61587,188 +36991,162 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); -x_76 = !lean_is_exclusive(x_73); -if (x_76 == 0) -{ -return x_73; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_73, 0); -x_78 = lean_ctor_get(x_73, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_73); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; +x_84 = lean_ctor_get(x_81, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_81, 1); +lean_inc(x_85); +lean_dec(x_81); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; } } } -} -block_70: +block_78: { if (lean_obj_tag(x_3) == 0) { -lean_object* x_34; -x_34 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__1(x_17, x_20, x_23, x_26, x_4, x_32, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_33); -return x_34; +lean_object* x_44; +lean_dec(x_31); +x_44 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__1(x_17, x_20, x_23, x_26, x_4, x_42, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_43); +return x_44; } else { -lean_object* x_35; uint8_t x_36; lean_object* x_67; -x_35 = lean_ctor_get(x_3, 0); -lean_inc(x_35); -lean_dec(x_3); -x_67 = lean_ctor_get(x_35, 1); -lean_inc(x_67); -if (lean_obj_tag(x_67) == 0) -{ -uint8_t x_68; -x_68 = 1; -x_36 = x_68; -goto block_66; -} -else -{ -uint8_t x_69; -lean_dec(x_67); -x_69 = 0; -x_36 = x_69; -goto block_66; -} -block_66: -{ -uint8_t x_37; -if (x_36 == 0) -{ -uint8_t x_64; -x_64 = 0; -x_37 = x_64; -goto block_63; -} -else -{ -uint8_t x_65; -x_65 = 1; -x_37 = x_65; -goto block_63; -} -block_63: -{ -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_38 = lean_ctor_get(x_13, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_13, 1); -lean_inc(x_39); -x_40 = lean_ctor_get(x_13, 2); -lean_inc(x_40); -x_41 = lean_ctor_get(x_13, 3); -lean_inc(x_41); -x_42 = lean_ctor_get(x_13, 4); -lean_inc(x_42); -x_43 = lean_ctor_get(x_13, 5); -lean_inc(x_43); -x_44 = lean_ctor_get(x_13, 6); -lean_inc(x_44); -x_45 = lean_ctor_get(x_13, 7); +lean_object* x_45; uint8_t x_46; lean_object* x_75; +x_45 = lean_ctor_get(x_3, 0); lean_inc(x_45); -x_46 = l_Lean_replaceRef(x_5, x_41); -lean_dec(x_41); -x_47 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_47, 0, x_38); -lean_ctor_set(x_47, 1, x_39); -lean_ctor_set(x_47, 2, x_40); -lean_ctor_set(x_47, 3, x_46); -lean_ctor_set(x_47, 4, x_42); -lean_ctor_set(x_47, 5, x_43); -lean_ctor_set(x_47, 6, x_44); -lean_ctor_set(x_47, 7, x_45); -if (x_37 == 0) +lean_dec(x_3); +x_75 = lean_ctor_get(x_45, 1); +lean_inc(x_75); +if (lean_obj_tag(x_75) == 0) { -lean_object* x_48; lean_object* x_49; uint8_t x_50; -lean_dec(x_35); -lean_dec(x_32); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_4); -x_48 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__5; -x_49 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(x_48, x_8, x_9, x_10, x_11, x_12, x_47, x_14, x_33); -lean_dec(x_14); -lean_dec(x_47); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -return x_49; +uint8_t x_76; +x_76 = 1; +x_46 = x_76; +goto block_74; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_49, 0); -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); +uint8_t x_77; +lean_dec(x_75); +x_77 = 0; +x_46 = x_77; +goto block_74; +} +block_74: +{ +uint8_t x_47; +if (x_46 == 0) +{ +uint8_t x_72; +x_72 = 0; +x_47 = x_72; +goto block_71; +} +else +{ +uint8_t x_73; +x_73 = 1; +x_47 = x_73; +goto block_71; +} +block_71: +{ +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; +x_48 = lean_ctor_get(x_13, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_13, 1); +lean_inc(x_49); +x_50 = lean_ctor_get(x_13, 2); +lean_inc(x_50); +x_51 = lean_ctor_get(x_13, 3); lean_inc(x_51); -lean_dec(x_49); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -else +x_52 = lean_ctor_get(x_13, 4); +lean_inc(x_52); +x_53 = lean_ctor_get(x_13, 5); +lean_inc(x_53); +x_54 = lean_ctor_get(x_13, 6); +lean_inc(x_54); +x_55 = lean_ctor_get(x_13, 7); +lean_inc(x_55); +x_56 = l_Lean_replaceRef(x_5, x_51); +lean_dec(x_51); +x_57 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_57, 0, x_48); +lean_ctor_set(x_57, 1, x_49); +lean_ctor_set(x_57, 2, x_50); +lean_ctor_set(x_57, 3, x_56); +lean_ctor_set(x_57, 4, x_52); +lean_ctor_set(x_57, 5, x_53); +lean_ctor_set(x_57, 6, x_54); +lean_ctor_set(x_57, 7, x_55); +if (x_47 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = lean_box(0); -lean_inc(x_8); -x_55 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3(x_35, x_8, x_32, x_54, x_8, x_9, x_10, x_11, x_12, x_47, x_14, x_33); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -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 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__1(x_17, x_20, x_23, x_26, x_4, x_56, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_57); -return x_58; -} -else -{ -uint8_t x_59; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +lean_dec(x_45); +lean_dec(x_42); +lean_dec(x_31); lean_dec(x_17); -lean_dec(x_14); lean_dec(x_13); +lean_dec(x_4); +x_58 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4___closed__5; +x_59 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13(x_58, x_8, x_9, x_10, x_11, x_12, x_57, x_14, x_43); +lean_dec(x_14); +lean_dec(x_57); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_4); -x_59 = !lean_is_exclusive(x_55); -if (x_59 == 0) -{ -return x_55; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_55, 0); -x_61 = lean_ctor_get(x_55, 1); -lean_inc(x_61); +x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); -lean_dec(x_55); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); 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; } +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_box(0); +x_64 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3(x_45, x_31, x_42, x_63, x_8, x_9, x_10, x_11, x_12, x_57, x_14, x_43); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__1(x_17, x_20, x_23, x_26, x_4, x_65, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_66); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +x_68 = lean_ctor_get(x_64, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_64, 1); +lean_inc(x_69); +lean_dec(x_64); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } @@ -61776,6 +37154,56 @@ return x_62; } } } +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_31); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +x_87 = lean_ctor_get(x_36, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_36, 1); +lean_inc(x_88); +lean_dec(x_36); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; +} +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +x_90 = lean_ctor_get(x_27, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_27, 1); +lean_inc(x_91); +lean_dec(x_27); +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; +} } } static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5___closed__1() { @@ -61811,11 +37239,11 @@ else { if (lean_obj_tag(x_6) == 0) { -lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_dec(x_3); lean_dec(x_1); x_18 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5___closed__2; -x_19 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_19 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13(x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -61823,31 +37251,22 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -return x_19; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); +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_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } else { -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -x_25 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4(x_1, x_2, x_6, x_3, x_4, x_5, x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_25; +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(0); +x_24 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__4(x_1, x_2, x_6, x_3, x_4, x_5, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_24; } } } @@ -61952,7 +37371,7 @@ return x_42; } else { -uint8_t x_43; +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_dec(x_31); lean_dec(x_18); lean_dec(x_15); @@ -61964,39 +37383,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_43 = !lean_is_exclusive(x_38); -if (x_43 == 0) -{ -return x_38; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_38, 0); -x_45 = lean_ctor_get(x_38, 1); -lean_inc(x_45); +x_43 = lean_ctor_get(x_38, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_38, 1); lean_inc(x_44); lean_dec(x_38); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } else { -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -x_48 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5(x_15, x_31, x_2, x_18, x_24, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); +lean_object* x_46; lean_object* x_47; +x_46 = lean_box(0); +x_47 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5(x_15, x_31, x_2, x_18, x_24, x_46, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); lean_dec(x_18); lean_dec(x_31); -return x_48; +return x_47; } } else { -uint8_t x_49; +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_dec(x_18); lean_dec(x_15); lean_dec(x_9); @@ -62007,29 +37417,20 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_49 = !lean_is_exclusive(x_30); -if (x_49 == 0) -{ -return x_30; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_30, 0); -x_51 = lean_ctor_get(x_30, 1); -lean_inc(x_51); -lean_inc(x_50); +x_48 = lean_ctor_get(x_30, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_30, 1); +lean_inc(x_49); lean_dec(x_30); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; } } else { -uint8_t x_53; +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -62038,24 +37439,15 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_53 = !lean_is_exclusive(x_14); -if (x_53 == 0) -{ -return x_14; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_14, 0); -x_55 = lean_ctor_get(x_14, 1); -lean_inc(x_55); -lean_inc(x_54); +x_51 = lean_ctor_get(x_14, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_14, 1); +lean_inc(x_52); lean_dec(x_14); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; -} +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } } @@ -62176,7 +37568,7 @@ goto _start; } else { -uint8_t x_49; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_dec(x_23); lean_dec(x_20); lean_dec(x_18); @@ -62188,29 +37580,20 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_49 = !lean_is_exclusive(x_40); -if (x_49 == 0) -{ -return x_40; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_40, 0); -x_51 = lean_ctor_get(x_40, 1); -lean_inc(x_51); +x_49 = lean_ctor_get(x_40, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_40, 1); lean_inc(x_50); lean_dec(x_40); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } else { -uint8_t x_53; +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_dec(x_23); lean_dec(x_20); lean_dec(x_18); @@ -62222,29 +37605,20 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_53 = !lean_is_exclusive(x_35); -if (x_53 == 0) -{ -return x_35; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_35, 0); -x_55 = lean_ctor_get(x_35, 1); -lean_inc(x_55); -lean_inc(x_54); +x_52 = lean_ctor_get(x_35, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_35, 1); +lean_inc(x_53); lean_dec(x_35); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; -} +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } else { -uint8_t x_57; +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_dec(x_20); lean_dec(x_18); lean_dec(x_17); @@ -62255,24 +37629,15 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_57 = !lean_is_exclusive(x_22); -if (x_57 == 0) -{ -return x_22; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_22, 0); -x_59 = lean_ctor_get(x_22, 1); -lean_inc(x_59); -lean_inc(x_58); +x_55 = lean_ctor_get(x_22, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_22, 1); +lean_inc(x_56); lean_dec(x_22); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } @@ -62350,7 +37715,7 @@ return x_35; } else { -uint8_t x_36; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -62359,29 +37724,20 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_36 = !lean_is_exclusive(x_32); -if (x_36 == 0) -{ -return x_32; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_32, 0); -x_38 = lean_ctor_get(x_32, 1); -lean_inc(x_38); +x_36 = lean_ctor_get(x_32, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_32, 1); lean_inc(x_37); lean_dec(x_32); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } else { -uint8_t x_40; +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_dec(x_16); lean_dec(x_14); lean_dec(x_12); @@ -62394,24 +37750,15 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_29); -if (x_40 == 0) -{ -return x_29; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_29, 0); -x_42 = lean_ctor_get(x_29, 1); -lean_inc(x_42); -lean_inc(x_41); +x_39 = lean_ctor_get(x_29, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_29, 1); +lean_inc(x_40); lean_dec(x_29); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } @@ -62419,21 +37766,29 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__ _start: { lean_object* x_1; -x_1 = lean_mk_string("forInMacro"); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple), 3, 0); return x_1; } } static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("forInMacro"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1; +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4() { _start: { lean_object* x_1; @@ -62441,7 +37796,7 @@ x_1 = lean_mk_string("forIn%"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5() { _start: { lean_object* x_1; @@ -62449,7 +37804,7 @@ x_1 = lean_mk_string("\"type mismatch, 'for'\""); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -62459,7 +37814,7 @@ x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7() { _start: { lean_object* x_1; @@ -62467,22 +37822,22 @@ x_1 = lean_mk_string("toStream"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7; +x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___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); @@ -62490,17 +37845,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__10() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11() { _start: { lean_object* x_1; @@ -62508,22 +37863,12 @@ x_1 = lean_mk_string("ToStream"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -62532,11 +37877,9 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -62546,7 +37889,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__13; -x_3 = lean_alloc_ctor(1, 2, 0); +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; @@ -62555,12 +37898,24 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string("mut"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17() { _start: { lean_object* x_1; @@ -62568,22 +37923,22 @@ x_1 = lean_mk_string("s"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__18() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17; +x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__18; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -62591,17 +37946,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21() { _start: { lean_object* x_1; @@ -62609,7 +37964,7 @@ x_1 = lean_mk_string("for"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__22() { _start: { lean_object* x_1; @@ -62617,7 +37972,7 @@ x_1 = lean_mk_string(","); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__22() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23() { _start: { lean_object* x_1; @@ -62625,22 +37980,22 @@ x_1 = lean_mk_string("Stream.next?"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__22; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__22; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; +x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -62648,7 +38003,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__26() { _start: { lean_object* x_1; @@ -62656,17 +38011,17 @@ x_1 = lean_mk_string("Stream"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__26() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___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_Do_ToCodeBlock_doForToCode___closed__25; +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__26; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__27() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28() { _start: { lean_object* x_1; @@ -62674,25 +38029,13 @@ x_1 = lean_mk_string("next?"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__26; -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__27; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__27; x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28; -x_3 = lean_alloc_ctor(0, 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; } } @@ -62702,7 +38045,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29; -x_3 = lean_alloc_ctor(1, 2, 0); +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; @@ -62711,22 +38054,34 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__31() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("tupleTail"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__30; +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; } } static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__32() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("tupleTail"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__31; +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__32; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34() { _start: { lean_object* x_1; @@ -62734,22 +38089,22 @@ x_1 = lean_mk_string("s'"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33; +x_1 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34; +x_3 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___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); @@ -62757,12 +38112,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36() { +static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33; +x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__34; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -62789,43 +38144,56 @@ x_15 = lean_nat_dec_lt(x_11, x_14); lean_dec(x_14); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +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; x_16 = l_Lean_instInhabitedSyntax; x_17 = lean_unsigned_to_nat(0u); x_18 = lean_array_get(x_16, x_13, x_17); lean_dec(x_13); x_19 = l_Lean_Syntax_getArg(x_18, x_17); -x_20 = !lean_is_exclusive(x_8); -if (x_20 == 0) -{ -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; -x_21 = lean_ctor_get(x_8, 0); -x_22 = lean_ctor_get(x_8, 1); -x_23 = lean_ctor_get(x_8, 2); -x_24 = lean_ctor_get(x_8, 3); -x_25 = lean_ctor_get(x_8, 4); -x_26 = lean_ctor_get(x_8, 5); -x_27 = lean_ctor_get(x_8, 6); -x_28 = lean_ctor_get(x_8, 7); -x_29 = l_Lean_replaceRef(x_1, x_24); -lean_dec(x_24); -lean_inc(x_28); +x_20 = lean_ctor_get(x_8, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_8, 1); +lean_inc(x_21); +x_22 = lean_ctor_get(x_8, 2); +lean_inc(x_22); +x_23 = lean_ctor_get(x_8, 3); +lean_inc(x_23); +x_24 = lean_ctor_get(x_8, 4); +lean_inc(x_24); +x_25 = lean_ctor_get(x_8, 5); +lean_inc(x_25); +x_26 = lean_ctor_get(x_8, 6); +lean_inc(x_26); +x_27 = lean_ctor_get(x_8, 7); +lean_inc(x_27); +lean_dec(x_8); +x_28 = l_Lean_replaceRef(x_1, x_23); +lean_dec(x_23); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); -lean_inc(x_29); -lean_inc(x_23); +lean_inc(x_24); +lean_inc(x_28); lean_inc(x_22); lean_inc(x_21); -lean_ctor_set(x_8, 3, x_29); +lean_inc(x_20); +x_29 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_29, 0, x_20); +lean_ctor_set(x_29, 1, x_21); +lean_ctor_set(x_29, 2, x_22); +lean_ctor_set(x_29, 3, x_28); +lean_ctor_set(x_29, 4, x_24); +lean_ctor_set(x_29, 5, x_25); +lean_ctor_set(x_29, 6, x_26); +lean_ctor_set(x_29, 7, x_27); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_29); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_19); -x_30 = l_Lean_Elab_Term_Do_getPatternVarsEx(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_30 = l_Lean_Elab_Term_Do_getPatternVarsEx(x_19, x_4, x_5, x_6, x_7, x_29, x_9, x_10); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; @@ -62834,20 +38202,17 @@ lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); lean_dec(x_30); -x_33 = l_Lean_replaceRef(x_19, x_29); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_23); -lean_inc(x_22); +x_33 = l_Lean_replaceRef(x_19, x_28); +lean_dec(x_28); x_34 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_34, 0, x_21); -lean_ctor_set(x_34, 1, x_22); -lean_ctor_set(x_34, 2, x_23); +lean_ctor_set(x_34, 0, x_20); +lean_ctor_set(x_34, 1, x_21); +lean_ctor_set(x_34, 2, x_22); lean_ctor_set(x_34, 3, x_33); -lean_ctor_set(x_34, 4, x_25); -lean_ctor_set(x_34, 5, x_26); -lean_ctor_set(x_34, 6, x_27); -lean_ctor_set(x_34, 7, x_28); +lean_ctor_set(x_34, 4, x_24); +lean_ctor_set(x_34, 5, x_25); +lean_ctor_set(x_34, 6, x_26); +lean_ctor_set(x_34, 7, x_27); x_35 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_31, x_3, x_4, x_5, x_6, x_7, x_34, x_9, x_32); lean_dec(x_34); lean_dec(x_31); @@ -62876,12 +38241,12 @@ lean_ctor_set(x_46, 1, x_43); lean_ctor_set(x_46, 2, x_44); lean_ctor_set_uint8(x_46, sizeof(void*)*3, x_45); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_29); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_47 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_41, x_46, x_4, x_5, x_6, x_7, x_8, x_9, x_36); +x_47 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_41, x_46, x_4, x_5, x_6, x_7, x_29, x_9, x_36); if (lean_obj_tag(x_47) == 0) { lean_object* x_48; lean_object* x_49; lean_object* x_50; @@ -62890,13 +38255,13 @@ lean_inc(x_48); x_49 = lean_ctor_get(x_47, 1); lean_inc(x_49); lean_dec(x_47); -lean_inc(x_8); +lean_inc(x_29); lean_inc(x_3); lean_inc(x_48); -x_50 = l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_49); +x_50 = l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(x_48, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_49); if (lean_obj_tag(x_50) == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; size_t 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_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; size_t 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; x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); @@ -62918,1772 +38283,1183 @@ x_60 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ lean_closure_set(x_60, 0, x_58); lean_closure_set(x_60, 1, x_59); lean_closure_set(x_60, 2, x_57); -x_759 = lean_st_ref_get(x_9, x_52); -x_760 = lean_ctor_get(x_759, 0); -lean_inc(x_760); -x_761 = lean_ctor_get(x_759, 1); -lean_inc(x_761); -lean_dec(x_759); -x_762 = lean_ctor_get(x_760, 0); -lean_inc(x_762); -lean_dec(x_760); -lean_inc(x_762); -x_763 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_763, 0, x_762); -lean_inc(x_25); -x_764 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_764, 0, x_25); -lean_inc(x_762); -x_765 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_765, 0, x_762); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_762); -x_766 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_766, 0, x_762); -lean_closure_set(x_766, 1, x_25); -lean_closure_set(x_766, 2, x_26); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_762); -x_767 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_767, 0, x_762); -lean_closure_set(x_767, 1, x_25); -lean_closure_set(x_767, 2, x_26); -x_768 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_768, 0, x_763); -lean_ctor_set(x_768, 1, x_764); -lean_ctor_set(x_768, 2, x_765); -lean_ctor_set(x_768, 3, x_766); -lean_ctor_set(x_768, 4, x_767); -x_769 = x_768; -x_770 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_761); -x_771 = lean_ctor_get(x_770, 0); -lean_inc(x_771); -x_772 = lean_ctor_get(x_770, 1); -lean_inc(x_772); -lean_dec(x_770); -x_773 = lean_st_ref_get(x_9, x_772); -x_774 = lean_ctor_get(x_773, 0); -lean_inc(x_774); -x_775 = lean_ctor_get(x_773, 1); -lean_inc(x_775); -lean_dec(x_773); -x_776 = lean_ctor_get(x_774, 1); -lean_inc(x_776); -lean_dec(x_774); -x_777 = lean_environment_main_module(x_762); +x_61 = x_60; +x_62 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1; +x_63 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg), 4, 2); +lean_closure_set(x_63, 0, x_61); +lean_closure_set(x_63, 1, x_62); lean_inc(x_29); -lean_inc(x_23); -lean_inc(x_22); -x_778 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_778, 0, x_769); -lean_ctor_set(x_778, 1, x_777); -lean_ctor_set(x_778, 2, x_771); -lean_ctor_set(x_778, 3, x_22); -lean_ctor_set(x_778, 4, x_23); -lean_ctor_set(x_778, 5, x_29); -x_779 = lean_box(0); -x_780 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_780, 0, x_776); -lean_ctor_set(x_780, 1, x_779); -x_781 = x_60; -lean_inc(x_778); -x_782 = lean_apply_2(x_781, x_778, x_780); -if (lean_obj_tag(x_782) == 0) +x_64 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_63, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_52); +if (lean_obj_tag(x_64) == 0) { -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; uint8_t x_792; -x_783 = lean_ctor_get(x_782, 0); -lean_inc(x_783); -x_784 = lean_ctor_get(x_782, 1); -lean_inc(x_784); -lean_dec(x_782); -x_785 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple(x_783, x_778, x_784); -x_786 = lean_ctor_get(x_785, 0); -lean_inc(x_786); -x_787 = lean_ctor_get(x_785, 1); -lean_inc(x_787); -lean_dec(x_785); -x_788 = lean_ctor_get(x_787, 0); -lean_inc(x_788); -x_789 = lean_st_ref_take(x_9, x_775); -x_790 = lean_ctor_get(x_789, 0); -lean_inc(x_790); -x_791 = lean_ctor_get(x_789, 1); -lean_inc(x_791); -lean_dec(x_789); -x_792 = !lean_is_exclusive(x_790); -if (x_792 == 0) -{ -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; -x_793 = lean_ctor_get(x_790, 1); -lean_dec(x_793); -lean_ctor_set(x_790, 1, x_788); -x_794 = lean_st_ref_set(x_9, x_790, x_791); -x_795 = lean_ctor_get(x_794, 1); -lean_inc(x_795); -lean_dec(x_794); -x_796 = lean_ctor_get(x_787, 1); -lean_inc(x_796); -lean_dec(x_787); -x_797 = l_List_reverse___rarg(x_796); -x_798 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_797, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_795); -x_799 = lean_ctor_get(x_798, 1); -lean_inc(x_799); -lean_dec(x_798); -x_61 = x_786; -x_62 = x_799; -goto block_758; -} -else -{ -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; -x_800 = lean_ctor_get(x_790, 0); -x_801 = lean_ctor_get(x_790, 2); -x_802 = lean_ctor_get(x_790, 3); -lean_inc(x_802); -lean_inc(x_801); -lean_inc(x_800); -lean_dec(x_790); -x_803 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_803, 0, x_800); -lean_ctor_set(x_803, 1, x_788); -lean_ctor_set(x_803, 2, x_801); -lean_ctor_set(x_803, 3, x_802); -x_804 = lean_st_ref_set(x_9, x_803, x_791); -x_805 = lean_ctor_get(x_804, 1); -lean_inc(x_805); -lean_dec(x_804); -x_806 = lean_ctor_get(x_787, 1); -lean_inc(x_806); -lean_dec(x_787); -x_807 = l_List_reverse___rarg(x_806); -x_808 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_807, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_805); -x_809 = lean_ctor_get(x_808, 1); -lean_inc(x_809); -lean_dec(x_808); -x_61 = x_786; -x_62 = x_809; -goto block_758; -} -} -else -{ -lean_object* x_810; -lean_dec(x_778); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_48); -lean_dec(x_38); -lean_dec(x_29); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_19); -lean_dec(x_2); -x_810 = lean_ctor_get(x_782, 0); -lean_inc(x_810); -lean_dec(x_782); -if (lean_obj_tag(x_810) == 0) -{ -lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; uint8_t x_816; -x_811 = lean_ctor_get(x_810, 0); -lean_inc(x_811); -x_812 = lean_ctor_get(x_810, 1); -lean_inc(x_812); -lean_dec(x_810); -x_813 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_813, 0, x_812); -x_814 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_814, 0, x_813); -x_815 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_811, x_814, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_775); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_811); -x_816 = !lean_is_exclusive(x_815); -if (x_816 == 0) -{ -return x_815; -} -else -{ -lean_object* x_817; lean_object* x_818; lean_object* x_819; -x_817 = lean_ctor_get(x_815, 0); -x_818 = lean_ctor_get(x_815, 1); -lean_inc(x_818); -lean_inc(x_817); -lean_dec(x_815); -x_819 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_819, 0, x_817); -lean_ctor_set(x_819, 1, x_818); -return x_819; -} -} -else -{ -lean_object* x_820; uint8_t x_821; -lean_dec(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_820 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg(x_775); -x_821 = !lean_is_exclusive(x_820); -if (x_821 == 0) -{ -return x_820; -} -else -{ -lean_object* x_822; lean_object* x_823; lean_object* x_824; -x_822 = lean_ctor_get(x_820, 0); -x_823 = lean_ctor_get(x_820, 1); -lean_inc(x_823); -lean_inc(x_822); -lean_dec(x_820); -x_824 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_824, 0, x_822); -lean_ctor_set(x_824, 1, x_823); -return x_824; -} -} -} -block_758: -{ -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_48, 0); -lean_inc(x_63); -lean_dec(x_48); -x_64 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_63); -lean_dec(x_63); -if (x_64 == 0) -{ -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_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; -x_65 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_62); -x_66 = lean_ctor_get(x_65, 0); +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); +lean_dec(x_64); +x_67 = lean_ctor_get(x_48, 0); lean_inc(x_67); -lean_dec(x_65); -x_68 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_67); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); +lean_dec(x_48); +x_68 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +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; +x_69 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_66); +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -lean_dec(x_68); -x_71 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_71); +x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); -lean_dec(x_71); -x_74 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_75 = l_Lean_addMacroScope(x_72, x_74, x_69); -x_76 = lean_box(0); -x_77 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_78 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_78, 0, x_66); -lean_ctor_set(x_78, 1, x_77); -lean_ctor_set(x_78, 2, x_75); -lean_ctor_set(x_78, 3, x_76); -x_309 = lean_st_ref_get(x_9, x_73); -x_310 = lean_ctor_get(x_309, 0); -lean_inc(x_310); -x_311 = lean_ctor_get(x_309, 1); -lean_inc(x_311); -lean_dec(x_309); -x_312 = lean_ctor_get(x_310, 0); -lean_inc(x_312); -lean_dec(x_310); -lean_inc(x_312); -x_313 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_313, 0, x_312); -lean_inc(x_25); -x_314 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_314, 0, x_25); -lean_inc(x_312); -x_315 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_315, 0, x_312); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_312); -x_316 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_316, 0, x_312); -lean_closure_set(x_316, 1, x_25); -lean_closure_set(x_316, 2, x_26); -lean_inc(x_312); -x_317 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_317, 0, x_312); -lean_closure_set(x_317, 1, x_25); -lean_closure_set(x_317, 2, x_26); -x_318 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_318, 0, x_313); -lean_ctor_set(x_318, 1, x_314); -lean_ctor_set(x_318, 2, x_315); -lean_ctor_set(x_318, 3, x_316); -lean_ctor_set(x_318, 4, x_317); -x_319 = x_318; -x_320 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_311); -x_321 = lean_ctor_get(x_320, 0); -lean_inc(x_321); -x_322 = lean_ctor_get(x_320, 1); -lean_inc(x_322); -lean_dec(x_320); -x_323 = lean_st_ref_get(x_9, x_322); -x_324 = lean_ctor_get(x_323, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_323, 1); -lean_inc(x_325); -lean_dec(x_323); -x_326 = lean_ctor_get(x_324, 1); -lean_inc(x_326); -lean_dec(x_324); -x_327 = lean_environment_main_module(x_312); -x_328 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_328, 0, x_319); -lean_ctor_set(x_328, 1, x_327); -lean_ctor_set(x_328, 2, x_321); -lean_ctor_set(x_328, 3, x_22); -lean_ctor_set(x_328, 4, x_23); -lean_ctor_set(x_328, 5, x_29); -x_329 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_329, 0, x_326); -lean_ctor_set(x_329, 1, x_76); -x_330 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(x_53, x_78, x_54, x_328, x_329); -if (lean_obj_tag(x_330) == 0) +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_74); +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 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +x_79 = l_Lean_addMacroScope(x_76, x_78, x_73); +x_80 = lean_box(0); +x_81 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_82 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_82, 0, x_70); +lean_ctor_set(x_82, 1, x_81); +lean_ctor_set(x_82, 2, x_79); +lean_ctor_set(x_82, 3, x_80); +x_83 = lean_alloc_closure((void*)(l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple), 5, 3); +lean_closure_set(x_83, 0, x_53); +lean_closure_set(x_83, 1, x_82); +lean_closure_set(x_83, 2, x_54); +lean_inc(x_29); +x_84 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_83, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_77); +if (lean_obj_tag(x_84) == 0) { -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; -x_331 = lean_ctor_get(x_330, 0); -lean_inc(x_331); -x_332 = lean_ctor_get(x_330, 1); -lean_inc(x_332); -lean_dec(x_330); -x_333 = lean_ctor_get(x_332, 0); -lean_inc(x_333); -x_334 = lean_st_ref_take(x_9, x_325); -x_335 = lean_ctor_get(x_334, 0); -lean_inc(x_335); -x_336 = lean_ctor_get(x_334, 1); -lean_inc(x_336); -lean_dec(x_334); -x_337 = !lean_is_exclusive(x_335); -if (x_337 == 0) -{ -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; -x_338 = lean_ctor_get(x_335, 1); -lean_dec(x_338); -lean_ctor_set(x_335, 1, x_333); -x_339 = lean_st_ref_set(x_9, x_335, x_336); -x_340 = lean_ctor_get(x_339, 1); -lean_inc(x_340); -lean_dec(x_339); -x_341 = lean_ctor_get(x_332, 1); -lean_inc(x_341); -lean_dec(x_332); -x_342 = l_List_reverse___rarg(x_341); -x_343 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_342, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_340); -x_344 = lean_ctor_get(x_343, 1); -lean_inc(x_344); -lean_dec(x_343); -x_79 = x_331; -x_80 = x_344; -goto block_308; -} -else -{ -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; -x_345 = lean_ctor_get(x_335, 0); -x_346 = lean_ctor_get(x_335, 2); -x_347 = lean_ctor_get(x_335, 3); -lean_inc(x_347); -lean_inc(x_346); -lean_inc(x_345); -lean_dec(x_335); -x_348 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_348, 0, x_345); -lean_ctor_set(x_348, 1, x_333); -lean_ctor_set(x_348, 2, x_346); -lean_ctor_set(x_348, 3, x_347); -x_349 = lean_st_ref_set(x_9, x_348, x_336); -x_350 = lean_ctor_get(x_349, 1); -lean_inc(x_350); -lean_dec(x_349); -x_351 = lean_ctor_get(x_332, 1); -lean_inc(x_351); -lean_dec(x_332); -x_352 = l_List_reverse___rarg(x_351); -x_353 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_352, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_350); -x_354 = lean_ctor_get(x_353, 1); -lean_inc(x_354); -lean_dec(x_353); -x_79 = x_331; -x_80 = x_354; -goto block_308; -} -} -else -{ -lean_object* x_355; -lean_dec(x_61); -lean_dec(x_38); -lean_dec(x_19); -lean_dec(x_2); -x_355 = lean_ctor_get(x_330, 0); -lean_inc(x_355); -lean_dec(x_330); -if (lean_obj_tag(x_355) == 0) -{ -lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; uint8_t x_361; -x_356 = lean_ctor_get(x_355, 0); -lean_inc(x_356); -x_357 = lean_ctor_get(x_355, 1); -lean_inc(x_357); -lean_dec(x_355); -x_358 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_358, 0, x_357); -x_359 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_359, 0, x_358); -x_360 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_356, x_359, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_325); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_356); -x_361 = !lean_is_exclusive(x_360); -if (x_361 == 0) -{ -return x_360; -} -else -{ -lean_object* x_362; lean_object* x_363; lean_object* x_364; -x_362 = lean_ctor_get(x_360, 0); -x_363 = lean_ctor_get(x_360, 1); -lean_inc(x_363); -lean_inc(x_362); -lean_dec(x_360); -x_364 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_364, 0, x_362); -lean_ctor_set(x_364, 1, x_363); -return x_364; -} -} -else -{ -lean_object* x_365; uint8_t x_366; -lean_dec(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_365 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg(x_325); -x_366 = !lean_is_exclusive(x_365); -if (x_366 == 0) -{ -return x_365; -} -else -{ -lean_object* x_367; lean_object* x_368; lean_object* x_369; -x_367 = lean_ctor_get(x_365, 0); -x_368 = lean_ctor_get(x_365, 1); -lean_inc(x_368); -lean_inc(x_367); -lean_dec(x_365); -x_369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_369, 0, x_367); -lean_ctor_set(x_369, 1, x_368); -return x_369; -} -} -} -block_308: -{ -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; uint8_t x_120; -x_81 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_80); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_83); +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; uint8_t x_126; x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); lean_dec(x_84); -x_87 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_86); +x_87 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_86); x_88 = lean_ctor_get(x_87, 0); lean_inc(x_88); x_89 = lean_ctor_get(x_87, 1); lean_inc(x_89); lean_dec(x_87); -x_90 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; -lean_inc(x_82); -x_91 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_91, 0, x_82); -lean_ctor_set(x_91, 1, x_90); -x_92 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_82); -x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_82); -lean_ctor_set(x_93, 1, x_92); -x_94 = l_Lean_addMacroScope(x_88, x_74, x_85); -lean_inc(x_82); -x_95 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_95, 0, x_82); -lean_ctor_set(x_95, 1, x_77); -lean_ctor_set(x_95, 2, x_94); -lean_ctor_set(x_95, 3, x_76); -x_96 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_97 = lean_array_push(x_96, x_19); -x_98 = lean_array_push(x_97, x_95); -x_99 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_98); -x_101 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_82); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_104 = lean_array_push(x_103, x_100); -x_105 = lean_array_push(x_104, x_102); -x_106 = lean_array_push(x_105, x_79); -x_107 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -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 = lean_array_push(x_96, x_93); -x_110 = lean_array_push(x_109, x_108); -x_111 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_110); -x_113 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_114 = lean_array_push(x_113, x_91); -x_115 = lean_array_push(x_114, x_38); -lean_inc(x_61); -x_116 = lean_array_push(x_115, x_61); -x_117 = lean_array_push(x_116, x_112); -x_118 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2; -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_117); -x_120 = l_List_isEmpty___rarg(x_2); -if (x_120 == 0) +x_90 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_89); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_92); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; +lean_inc(x_88); +x_97 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_97, 0, x_88); +lean_ctor_set(x_97, 1, x_96); +x_98 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; +lean_inc(x_88); +x_99 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_99, 0, x_88); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_addMacroScope(x_94, x_78, x_91); +lean_inc(x_88); +x_101 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_101, 0, x_88); +lean_ctor_set(x_101, 1, x_81); +lean_ctor_set(x_101, 2, x_100); +lean_ctor_set(x_101, 3, x_80); +x_102 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_103 = lean_array_push(x_102, x_19); +x_104 = lean_array_push(x_103, x_101); +x_105 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_88); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_110 = lean_array_push(x_109, x_106); +x_111 = lean_array_push(x_110, x_108); +x_112 = lean_array_push(x_111, x_85); +x_113 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_112); +x_115 = lean_array_push(x_102, x_99); +x_116 = lean_array_push(x_115, x_114); +x_117 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___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 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_120 = lean_array_push(x_119, x_97); +x_121 = lean_array_push(x_120, x_38); +lean_inc(x_65); +x_122 = lean_array_push(x_121, x_65); +x_123 = lean_array_push(x_122, x_118); +x_124 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = l_List_isEmpty___rarg(x_2); +if (x_126 == 0) { -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_121 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_89); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_123); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_126); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; 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; +x_127 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_95); x_128 = lean_ctor_get(x_127, 0); lean_inc(x_128); x_129 = lean_ctor_get(x_127, 1); lean_inc(x_129); lean_dec(x_127); -x_130 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_122); -x_131 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_131, 0, x_122); -lean_ctor_set(x_131, 1, x_130); -x_132 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_122); -x_133 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_133, 0, x_122); -lean_ctor_set(x_133, 1, x_132); -x_134 = l_Lean_addMacroScope(x_128, x_74, x_125); -lean_inc(x_122); -x_135 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_135, 0, x_122); -lean_ctor_set(x_135, 1, x_77); -lean_ctor_set(x_135, 2, x_134); -lean_ctor_set(x_135, 3, x_76); -x_136 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_122); -x_137 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_137, 0, x_122); -lean_ctor_set(x_137, 1, x_136); -x_138 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_139 = lean_array_push(x_138, x_119); -x_140 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_139); +x_130 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_129); +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_133 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_132); +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); lean_inc(x_135); -x_142 = lean_array_push(x_113, x_135); -x_143 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_144 = lean_array_push(x_142, x_143); -x_145 = lean_array_push(x_144, x_137); -x_146 = lean_array_push(x_145, x_141); -x_147 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -x_149 = lean_array_push(x_103, x_133); -x_150 = lean_array_push(x_149, x_143); -x_151 = lean_array_push(x_150, x_148); -x_152 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_151); -x_154 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_122); -x_155 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_155, 0, x_122); -lean_ctor_set(x_155, 1, x_154); -x_156 = lean_array_push(x_138, x_155); -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_99); -lean_ctor_set(x_157, 1, x_156); -x_158 = lean_array_push(x_96, x_153); -x_159 = lean_array_push(x_158, x_157); -x_160 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_159); -x_162 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_163 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_163, 0, x_122); +lean_dec(x_133); +x_136 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_128); +x_137 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_137, 0, x_128); +lean_ctor_set(x_137, 1, x_136); +x_138 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_128); +x_139 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_139, 0, x_128); +lean_ctor_set(x_139, 1, x_138); +x_140 = l_Lean_addMacroScope(x_134, x_78, x_131); +lean_inc(x_128); +x_141 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_141, 0, x_128); +lean_ctor_set(x_141, 1, x_81); +lean_ctor_set(x_141, 2, x_140); +lean_ctor_set(x_141, 3, x_80); +x_142 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_128); +x_143 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_143, 0, x_128); +lean_ctor_set(x_143, 1, x_142); +x_144 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_145 = lean_array_push(x_144, x_125); +x_146 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_145); +lean_inc(x_141); +x_148 = lean_array_push(x_119, x_141); +x_149 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_150 = lean_array_push(x_148, x_149); +x_151 = lean_array_push(x_150, x_143); +x_152 = lean_array_push(x_151, x_147); +x_153 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_152); +x_155 = lean_array_push(x_109, x_139); +x_156 = lean_array_push(x_155, x_149); +x_157 = lean_array_push(x_156, x_154); +x_158 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_157); +x_160 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_128); +x_161 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_161, 0, x_128); +lean_ctor_set(x_161, 1, x_160); +x_162 = lean_array_push(x_144, x_161); +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_105); lean_ctor_set(x_163, 1, x_162); -x_164 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_165 = lean_array_push(x_164, x_61); -x_166 = lean_array_push(x_165, x_143); -x_167 = lean_array_push(x_166, x_143); -x_168 = lean_array_push(x_167, x_163); -x_169 = lean_array_push(x_168, x_135); -x_170 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -x_172 = lean_array_push(x_138, x_171); -x_173 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_172); -x_175 = lean_array_push(x_96, x_174); -x_176 = lean_array_push(x_175, x_143); +x_164 = lean_array_push(x_102, x_159); +x_165 = lean_array_push(x_164, x_163); +x_166 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_168 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +x_169 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_169, 0, x_128); +lean_ctor_set(x_169, 1, x_168); +x_170 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_171 = lean_array_push(x_170, x_65); +x_172 = lean_array_push(x_171, x_149); +x_173 = lean_array_push(x_172, x_149); +x_174 = lean_array_push(x_173, x_169); +x_175 = lean_array_push(x_174, x_141); +x_176 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_160); -lean_ctor_set(x_177, 1, x_176); -x_178 = lean_array_push(x_96, x_161); -x_179 = lean_array_push(x_178, x_177); +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_175); +x_178 = lean_array_push(x_144, x_177); +x_179 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_99); -lean_ctor_set(x_180, 1, x_179); -x_181 = lean_array_push(x_138, x_180); -x_182 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_178); +x_181 = lean_array_push(x_102, x_180); +x_182 = lean_array_push(x_181, x_149); x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_181); -x_184 = lean_array_push(x_96, x_131); +lean_ctor_set(x_183, 0, x_166); +lean_ctor_set(x_183, 1, x_182); +x_184 = lean_array_push(x_102, x_167); x_185 = lean_array_push(x_184, x_183); -x_186 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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_Lean_Syntax_getArg(x_187, x_11); -lean_dec(x_187); -x_189 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_188); -x_190 = l_List_append___rarg(x_189, x_2); -x_191 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_190, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_129); -return x_191; +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_105); +lean_ctor_set(x_186, 1, x_185); +x_187 = lean_array_push(x_144, x_186); +x_188 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_187); +x_190 = lean_array_push(x_102, x_137); +x_191 = lean_array_push(x_190, x_189); +x_192 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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_Lean_Syntax_getArg(x_193, x_11); +lean_dec(x_193); +x_195 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_194); +x_196 = l_List_append___rarg(x_195, x_2); +x_197 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_196, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_135); +return x_197; } else { -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 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_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 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_dec(x_2); -x_192 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_89); -x_193 = lean_ctor_get(x_192, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_192, 1); -lean_inc(x_194); -lean_dec(x_192); -x_195 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_194); -x_196 = lean_ctor_get(x_195, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_195, 1); -lean_inc(x_197); -lean_dec(x_195); -x_198 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_197); +x_198 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_95); 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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_193); -x_202 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_202, 0, x_193); -lean_ctor_set(x_202, 1, x_201); -x_203 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_193); -x_204 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_204, 0, x_193); -lean_ctor_set(x_204, 1, x_203); -lean_inc(x_196); -lean_inc(x_199); -x_205 = l_Lean_addMacroScope(x_199, x_74, x_196); -lean_inc(x_193); -x_206 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_206, 0, x_193); -lean_ctor_set(x_206, 1, x_77); -lean_ctor_set(x_206, 2, x_205); -lean_ctor_set(x_206, 3, x_76); -x_207 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_193); -x_208 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_208, 0, x_193); -lean_ctor_set(x_208, 1, x_207); -x_209 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_210 = lean_array_push(x_209, x_119); -x_211 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_210); +x_201 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_200); +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_201, 1); +lean_inc(x_203); +lean_dec(x_201); +x_204 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_203); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); lean_inc(x_206); -x_213 = lean_array_push(x_113, x_206); -x_214 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_215 = lean_array_push(x_213, x_214); -x_216 = lean_array_push(x_215, x_208); -x_217 = lean_array_push(x_216, x_212); -x_218 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_218); -lean_ctor_set(x_219, 1, x_217); -x_220 = lean_array_push(x_103, x_204); -x_221 = lean_array_push(x_220, x_214); -x_222 = lean_array_push(x_221, x_219); -x_223 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_225 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_193); -x_226 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_226, 0, x_193); -lean_ctor_set(x_226, 1, x_225); -x_227 = lean_array_push(x_209, x_226); -x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_99); -lean_ctor_set(x_228, 1, x_227); -x_229 = lean_array_push(x_96, x_224); -lean_inc(x_228); -x_230 = lean_array_push(x_229, x_228); -x_231 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_230); -x_233 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_193); -x_234 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_234, 0, x_193); -lean_ctor_set(x_234, 1, x_233); -x_235 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_236 = lean_array_push(x_235, x_61); -x_237 = lean_array_push(x_236, x_214); -x_238 = lean_array_push(x_237, x_214); -x_239 = lean_array_push(x_238, x_234); -x_240 = lean_array_push(x_239, x_206); -x_241 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_241); -lean_ctor_set(x_242, 1, x_240); -x_243 = lean_array_push(x_209, x_242); -x_244 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_243); -x_246 = lean_array_push(x_96, x_245); -x_247 = lean_array_push(x_246, x_228); -x_248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_248, 0, x_231); -lean_ctor_set(x_248, 1, x_247); -x_249 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_196); +lean_dec(x_204); +x_207 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; lean_inc(x_199); -x_250 = l_Lean_addMacroScope(x_199, x_249, x_196); -x_251 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_252 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_193); -x_253 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_253, 0, x_193); -lean_ctor_set(x_253, 1, x_251); -lean_ctor_set(x_253, 2, x_250); -lean_ctor_set(x_253, 3, x_252); -x_254 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_193); -x_255 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_255, 0, x_193); -lean_ctor_set(x_255, 1, x_254); -x_256 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_193); -x_257 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_257, 0, x_193); -lean_ctor_set(x_257, 1, x_256); -x_258 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; -lean_inc(x_193); -x_259 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_259, 0, x_193); -lean_ctor_set(x_259, 1, x_258); -x_260 = lean_array_push(x_209, x_259); -x_261 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_261); -lean_ctor_set(x_262, 1, x_260); -x_263 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; -x_264 = l_Lean_addMacroScope(x_199, x_263, x_196); -x_265 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -x_266 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; -lean_inc(x_193); -x_267 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_267, 0, x_193); -lean_ctor_set(x_267, 1, x_265); -lean_ctor_set(x_267, 2, x_264); -lean_ctor_set(x_267, 3, x_266); -x_268 = lean_array_push(x_103, x_257); -x_269 = lean_array_push(x_268, x_262); -x_270 = lean_array_push(x_269, x_267); -x_271 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_271); -lean_ctor_set(x_272, 1, x_270); -x_273 = lean_array_push(x_96, x_272); -x_274 = lean_array_push(x_273, x_214); -x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_99); -lean_ctor_set(x_275, 1, x_274); -x_276 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_277 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_277, 0, x_193); -lean_ctor_set(x_277, 1, x_276); -x_278 = lean_array_push(x_103, x_255); -x_279 = lean_array_push(x_278, x_275); -x_280 = lean_array_push(x_279, x_277); -x_281 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_281); -lean_ctor_set(x_282, 1, x_280); -x_283 = lean_array_push(x_209, x_282); -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_99); -lean_ctor_set(x_284, 1, x_283); -x_285 = lean_array_push(x_96, x_253); -x_286 = lean_array_push(x_285, x_284); -x_287 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +x_208 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_208, 0, x_199); +lean_ctor_set(x_208, 1, x_207); +x_209 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_199); +x_210 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_210, 0, x_199); +lean_ctor_set(x_210, 1, x_209); +lean_inc(x_202); +lean_inc(x_205); +x_211 = l_Lean_addMacroScope(x_205, x_78, x_202); +lean_inc(x_199); +x_212 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_212, 0, x_199); +lean_ctor_set(x_212, 1, x_81); +lean_ctor_set(x_212, 2, x_211); +lean_ctor_set(x_212, 3, x_80); +x_213 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_199); +x_214 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_214, 0, x_199); +lean_ctor_set(x_214, 1, x_213); +x_215 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_216 = lean_array_push(x_215, x_125); +x_217 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_216); +lean_inc(x_212); +x_219 = lean_array_push(x_119, x_212); +x_220 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_221 = lean_array_push(x_219, x_220); +x_222 = lean_array_push(x_221, x_214); +x_223 = lean_array_push(x_222, x_218); +x_224 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_224); +lean_ctor_set(x_225, 1, x_223); +x_226 = lean_array_push(x_109, x_210); +x_227 = lean_array_push(x_226, x_220); +x_228 = lean_array_push(x_227, x_225); +x_229 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_228); +x_231 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_199); +x_232 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_232, 0, x_199); +lean_ctor_set(x_232, 1, x_231); +x_233 = lean_array_push(x_215, x_232); +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_105); +lean_ctor_set(x_234, 1, x_233); +x_235 = lean_array_push(x_102, x_230); +lean_inc(x_234); +x_236 = lean_array_push(x_235, x_234); +x_237 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +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_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_199); +x_240 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_240, 0, x_199); +lean_ctor_set(x_240, 1, x_239); +x_241 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_242 = lean_array_push(x_241, x_65); +x_243 = lean_array_push(x_242, x_220); +x_244 = lean_array_push(x_243, x_220); +x_245 = lean_array_push(x_244, x_240); +x_246 = lean_array_push(x_245, x_212); +x_247 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___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); +x_249 = lean_array_push(x_215, x_248); +x_250 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_249); +x_252 = lean_array_push(x_102, x_251); +x_253 = lean_array_push(x_252, x_234); +x_254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_254, 0, x_237); +lean_ctor_set(x_254, 1, x_253); +x_255 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_202); +lean_inc(x_205); +x_256 = l_Lean_addMacroScope(x_205, x_255, x_202); +x_257 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_258 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_199); +x_259 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_259, 0, x_199); +lean_ctor_set(x_259, 1, x_257); +lean_ctor_set(x_259, 2, x_256); +lean_ctor_set(x_259, 3, x_258); +x_260 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_199); +x_261 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_261, 0, x_199); +lean_ctor_set(x_261, 1, x_260); +x_262 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; +lean_inc(x_199); +x_263 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_263, 0, x_199); +lean_ctor_set(x_263, 1, x_262); +x_264 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; +lean_inc(x_199); +x_265 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_265, 0, x_199); +lean_ctor_set(x_265, 1, x_264); +x_266 = lean_array_push(x_215, x_265); +x_267 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_266); +x_269 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; +x_270 = l_Lean_addMacroScope(x_205, x_269, x_202); +x_271 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; +x_272 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; +lean_inc(x_199); +x_273 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_273, 0, x_199); +lean_ctor_set(x_273, 1, x_271); +lean_ctor_set(x_273, 2, x_270); +lean_ctor_set(x_273, 3, x_272); +x_274 = lean_array_push(x_109, x_263); +x_275 = lean_array_push(x_274, x_268); +x_276 = lean_array_push(x_275, x_273); +x_277 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___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); +x_279 = lean_array_push(x_102, x_278); +x_280 = lean_array_push(x_279, x_220); +x_281 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_281, 0, x_105); +lean_ctor_set(x_281, 1, x_280); +x_282 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_283 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_283, 0, x_199); +lean_ctor_set(x_283, 1, x_282); +x_284 = lean_array_push(x_109, x_261); +x_285 = lean_array_push(x_284, x_281); +x_286 = lean_array_push(x_285, x_283); +x_287 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___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_array_push(x_209, x_288); +x_289 = lean_array_push(x_215, x_288); x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_211); +lean_ctor_set(x_290, 0, x_105); lean_ctor_set(x_290, 1, x_289); -x_291 = lean_array_push(x_96, x_290); -x_292 = lean_array_push(x_291, x_214); -x_293 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_293, 0, x_231); -lean_ctor_set(x_293, 1, x_292); -x_294 = lean_array_push(x_103, x_232); -x_295 = lean_array_push(x_294, x_248); -x_296 = lean_array_push(x_295, x_293); -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_99); -lean_ctor_set(x_297, 1, x_296); -x_298 = lean_array_push(x_209, x_297); -x_299 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_299); -lean_ctor_set(x_300, 1, x_298); -x_301 = lean_array_push(x_96, x_202); -x_302 = lean_array_push(x_301, x_300); -x_303 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_304, 0, x_303); -lean_ctor_set(x_304, 1, x_302); -x_305 = l_Lean_Syntax_getArg(x_304, x_11); -lean_dec(x_304); -x_306 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_305); -x_307 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_306, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_200); -return x_307; -} -} -} -else -{ -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_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; -x_370 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_62); -x_371 = lean_ctor_get(x_370, 0); -lean_inc(x_371); -x_372 = lean_ctor_get(x_370, 1); -lean_inc(x_372); -lean_dec(x_370); -x_373 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_372); -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 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_375); -x_377 = lean_ctor_get(x_376, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_376, 1); -lean_inc(x_378); -lean_dec(x_376); -x_379 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_380 = l_Lean_addMacroScope(x_377, x_379, x_374); -x_381 = lean_box(0); -x_382 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_383 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_383, 0, x_371); -lean_ctor_set(x_383, 1, x_382); -lean_ctor_set(x_383, 2, x_380); -lean_ctor_set(x_383, 3, x_381); -x_697 = lean_st_ref_get(x_9, x_378); -x_698 = lean_ctor_get(x_697, 0); -lean_inc(x_698); -x_699 = lean_ctor_get(x_697, 1); -lean_inc(x_699); -lean_dec(x_697); -x_700 = lean_ctor_get(x_698, 0); -lean_inc(x_700); -lean_dec(x_698); -lean_inc(x_700); -x_701 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_701, 0, x_700); -lean_inc(x_25); -x_702 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_702, 0, x_25); -lean_inc(x_700); -x_703 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_703, 0, x_700); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_700); -x_704 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_704, 0, x_700); -lean_closure_set(x_704, 1, x_25); -lean_closure_set(x_704, 2, x_26); -lean_inc(x_700); -x_705 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_705, 0, x_700); -lean_closure_set(x_705, 1, x_25); -lean_closure_set(x_705, 2, x_26); -x_706 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_706, 0, x_701); -lean_ctor_set(x_706, 1, x_702); -lean_ctor_set(x_706, 2, x_703); -lean_ctor_set(x_706, 3, x_704); -lean_ctor_set(x_706, 4, x_705); -x_707 = x_706; -x_708 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_699); -x_709 = lean_ctor_get(x_708, 0); -lean_inc(x_709); -x_710 = lean_ctor_get(x_708, 1); -lean_inc(x_710); -lean_dec(x_708); -x_711 = lean_st_ref_get(x_9, x_710); -x_712 = lean_ctor_get(x_711, 0); -lean_inc(x_712); -x_713 = lean_ctor_get(x_711, 1); -lean_inc(x_713); -lean_dec(x_711); -x_714 = lean_ctor_get(x_712, 1); -lean_inc(x_714); -lean_dec(x_712); -x_715 = lean_environment_main_module(x_700); -x_716 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_716, 0, x_707); -lean_ctor_set(x_716, 1, x_715); -lean_ctor_set(x_716, 2, x_709); -lean_ctor_set(x_716, 3, x_22); -lean_ctor_set(x_716, 4, x_23); -lean_ctor_set(x_716, 5, x_29); -x_717 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_717, 0, x_714); -lean_ctor_set(x_717, 1, x_381); -x_718 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(x_53, x_383, x_54, x_716, x_717); -if (lean_obj_tag(x_718) == 0) -{ -lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; uint8_t x_725; -x_719 = lean_ctor_get(x_718, 0); -lean_inc(x_719); -x_720 = lean_ctor_get(x_718, 1); -lean_inc(x_720); -lean_dec(x_718); -x_721 = lean_ctor_get(x_720, 0); -lean_inc(x_721); -x_722 = lean_st_ref_take(x_9, x_713); -x_723 = lean_ctor_get(x_722, 0); -lean_inc(x_723); -x_724 = lean_ctor_get(x_722, 1); -lean_inc(x_724); -lean_dec(x_722); -x_725 = !lean_is_exclusive(x_723); -if (x_725 == 0) -{ -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; -x_726 = lean_ctor_get(x_723, 1); -lean_dec(x_726); -lean_ctor_set(x_723, 1, x_721); -x_727 = lean_st_ref_set(x_9, x_723, x_724); -x_728 = lean_ctor_get(x_727, 1); -lean_inc(x_728); -lean_dec(x_727); -x_729 = lean_ctor_get(x_720, 1); -lean_inc(x_729); -lean_dec(x_720); -x_730 = l_List_reverse___rarg(x_729); -x_731 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_730, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_728); -x_732 = lean_ctor_get(x_731, 1); -lean_inc(x_732); -lean_dec(x_731); -x_384 = x_719; -x_385 = x_732; -goto block_696; -} -else -{ -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_733 = lean_ctor_get(x_723, 0); -x_734 = lean_ctor_get(x_723, 2); -x_735 = lean_ctor_get(x_723, 3); -lean_inc(x_735); -lean_inc(x_734); -lean_inc(x_733); -lean_dec(x_723); -x_736 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_736, 0, x_733); -lean_ctor_set(x_736, 1, x_721); -lean_ctor_set(x_736, 2, x_734); -lean_ctor_set(x_736, 3, x_735); -x_737 = lean_st_ref_set(x_9, x_736, x_724); -x_738 = lean_ctor_get(x_737, 1); -lean_inc(x_738); -lean_dec(x_737); -x_739 = lean_ctor_get(x_720, 1); -lean_inc(x_739); -lean_dec(x_720); -x_740 = l_List_reverse___rarg(x_739); -x_741 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_740, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_738); -x_742 = lean_ctor_get(x_741, 1); -lean_inc(x_742); -lean_dec(x_741); -x_384 = x_719; -x_385 = x_742; -goto block_696; +x_291 = lean_array_push(x_102, x_259); +x_292 = lean_array_push(x_291, x_290); +x_293 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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 = lean_array_push(x_215, x_294); +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_217); +lean_ctor_set(x_296, 1, x_295); +x_297 = lean_array_push(x_102, x_296); +x_298 = lean_array_push(x_297, x_220); +x_299 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_299, 0, x_237); +lean_ctor_set(x_299, 1, x_298); +x_300 = lean_array_push(x_109, x_238); +x_301 = lean_array_push(x_300, x_254); +x_302 = lean_array_push(x_301, x_299); +x_303 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_303, 0, x_105); +lean_ctor_set(x_303, 1, x_302); +x_304 = lean_array_push(x_215, x_303); +x_305 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +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_102, x_208); +x_308 = lean_array_push(x_307, x_306); +x_309 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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); +x_311 = l_Lean_Syntax_getArg(x_310, x_11); +lean_dec(x_310); +x_312 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_311); +x_313 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_312, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_206); +return x_313; } } else { -lean_object* x_743; -lean_dec(x_61); +lean_object* x_314; lean_object* x_315; lean_object* x_316; +lean_dec(x_65); lean_dec(x_38); +lean_dec(x_29); lean_dec(x_19); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_743 = lean_ctor_get(x_718, 0); -lean_inc(x_743); -lean_dec(x_718); -if (lean_obj_tag(x_743) == 0) -{ -lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; uint8_t x_749; -x_744 = lean_ctor_get(x_743, 0); -lean_inc(x_744); -x_745 = lean_ctor_get(x_743, 1); -lean_inc(x_745); -lean_dec(x_743); -x_746 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_746, 0, x_745); -x_747 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_747, 0, x_746); -x_748 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_744, x_747, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_713); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_744); -x_749 = !lean_is_exclusive(x_748); -if (x_749 == 0) -{ -return x_748; -} -else -{ -lean_object* x_750; lean_object* x_751; lean_object* x_752; -x_750 = lean_ctor_get(x_748, 0); -x_751 = lean_ctor_get(x_748, 1); -lean_inc(x_751); -lean_inc(x_750); -lean_dec(x_748); -x_752 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_752, 0, x_750); -lean_ctor_set(x_752, 1, x_751); -return x_752; +x_314 = lean_ctor_get(x_84, 0); +lean_inc(x_314); +x_315 = lean_ctor_get(x_84, 1); +lean_inc(x_315); +lean_dec(x_84); +x_316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_316, 0, x_314); +lean_ctor_set(x_316, 1, x_315); +return x_316; } } else { -lean_object* x_753; uint8_t x_754; -lean_dec(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_753 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg(x_713); -x_754 = !lean_is_exclusive(x_753); -if (x_754 == 0) +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; +x_317 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_66); +x_318 = lean_ctor_get(x_317, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_317, 1); +lean_inc(x_319); +lean_dec(x_317); +x_320 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_319); +x_321 = lean_ctor_get(x_320, 0); +lean_inc(x_321); +x_322 = lean_ctor_get(x_320, 1); +lean_inc(x_322); +lean_dec(x_320); +x_323 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_322); +x_324 = lean_ctor_get(x_323, 0); +lean_inc(x_324); +x_325 = lean_ctor_get(x_323, 1); +lean_inc(x_325); +lean_dec(x_323); +x_326 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +x_327 = l_Lean_addMacroScope(x_324, x_326, x_321); +x_328 = lean_box(0); +x_329 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +x_330 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_330, 0, x_318); +lean_ctor_set(x_330, 1, x_329); +lean_ctor_set(x_330, 2, x_327); +lean_ctor_set(x_330, 3, x_328); +x_331 = lean_alloc_closure((void*)(l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple), 5, 3); +lean_closure_set(x_331, 0, x_53); +lean_closure_set(x_331, 1, x_330); +lean_closure_set(x_331, 2, x_54); +lean_inc(x_29); +x_332 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_331, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_325); +if (lean_obj_tag(x_332) == 0) { -return x_753; -} -else -{ -lean_object* x_755; lean_object* x_756; lean_object* x_757; -x_755 = lean_ctor_get(x_753, 0); -x_756 = lean_ctor_get(x_753, 1); -lean_inc(x_756); -lean_inc(x_755); -lean_dec(x_753); -x_757 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_757, 0, x_755); -lean_ctor_set(x_757, 1, x_756); -return x_757; -} -} -} -block_696: -{ -lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; 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; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; -x_386 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_385); -x_387 = lean_ctor_get(x_386, 0); -lean_inc(x_387); -x_388 = lean_ctor_get(x_386, 1); -lean_inc(x_388); -lean_dec(x_386); -x_389 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_388); -x_390 = lean_ctor_get(x_389, 0); -lean_inc(x_390); -x_391 = lean_ctor_get(x_389, 1); -lean_inc(x_391); -lean_dec(x_389); -x_392 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_391); -x_393 = lean_ctor_get(x_392, 0); -lean_inc(x_393); -x_394 = lean_ctor_get(x_392, 1); -lean_inc(x_394); -lean_dec(x_392); -x_395 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; -lean_inc(x_387); -x_396 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_396, 0, x_387); -lean_ctor_set(x_396, 1, x_395); -x_397 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_387); -x_398 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_398, 0, x_387); -lean_ctor_set(x_398, 1, x_397); -x_399 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -lean_inc(x_390); -lean_inc(x_393); -x_400 = l_Lean_addMacroScope(x_393, x_399, x_390); -x_401 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_402 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_387); -x_403 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_403, 0, x_387); -lean_ctor_set(x_403, 1, x_401); -lean_ctor_set(x_403, 2, x_400); -lean_ctor_set(x_403, 3, x_402); -x_404 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -lean_inc(x_390); -lean_inc(x_393); -x_405 = l_Lean_addMacroScope(x_393, x_404, x_390); -x_406 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_407 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -lean_inc(x_387); -x_408 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_408, 0, x_387); -lean_ctor_set(x_408, 1, x_406); -lean_ctor_set(x_408, 2, x_405); -lean_ctor_set(x_408, 3, x_407); -x_409 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_410 = lean_array_push(x_409, x_408); -lean_inc(x_61); -x_411 = lean_array_push(x_410, x_61); -x_412 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_413 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_413, 0, x_412); -lean_ctor_set(x_413, 1, x_411); -x_414 = lean_array_push(x_409, x_403); -x_415 = lean_array_push(x_414, x_413); -x_416 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_417 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_417, 0, x_416); -lean_ctor_set(x_417, 1, x_415); -x_418 = lean_array_push(x_409, x_417); -x_419 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_420 = lean_array_push(x_418, x_419); -x_421 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_421, 0, x_412); -lean_ctor_set(x_421, 1, x_420); -x_422 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -lean_inc(x_387); -x_423 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_423, 0, x_387); -lean_ctor_set(x_423, 1, x_422); -x_424 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_425 = lean_array_push(x_424, x_398); -x_426 = lean_array_push(x_425, x_421); -x_427 = lean_array_push(x_426, x_423); -x_428 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_429, 0, x_428); -lean_ctor_set(x_429, 1, x_427); -x_430 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_387); -x_431 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_431, 0, x_387); -lean_ctor_set(x_431, 1, x_430); -x_432 = l_Lean_addMacroScope(x_393, x_379, x_390); -lean_inc(x_387); -x_433 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_433, 0, x_387); -lean_ctor_set(x_433, 1, x_382); -lean_ctor_set(x_433, 2, x_432); -lean_ctor_set(x_433, 3, x_381); -x_434 = lean_array_push(x_409, x_19); -lean_inc(x_433); -x_435 = lean_array_push(x_434, x_433); -x_436 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_436, 0, x_412); -lean_ctor_set(x_436, 1, x_435); -x_437 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_387); -x_438 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_438, 0, x_387); -lean_ctor_set(x_438, 1, x_437); -x_439 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_387); -x_440 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_440, 0, x_387); -lean_ctor_set(x_440, 1, x_439); -x_441 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_387); -x_442 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_442, 0, x_387); -lean_ctor_set(x_442, 1, x_441); -x_443 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_387); -x_444 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_444, 0, x_387); -lean_ctor_set(x_444, 1, x_443); -x_445 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -lean_inc(x_387); -x_446 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_446, 0, x_387); -lean_ctor_set(x_446, 1, x_445); -x_447 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_448 = lean_array_push(x_447, x_446); -x_449 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_450 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_450, 0, x_449); -lean_ctor_set(x_450, 1, x_448); -lean_inc(x_433); -x_451 = lean_array_push(x_424, x_433); -x_452 = lean_array_push(x_451, x_444); -x_453 = lean_array_push(x_452, x_450); -x_454 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_455 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_455, 0, x_454); -lean_ctor_set(x_455, 1, x_453); -x_456 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_457 = lean_array_push(x_456, x_433); -x_458 = lean_array_push(x_457, x_419); -x_459 = lean_array_push(x_458, x_419); -x_460 = lean_array_push(x_459, x_442); -x_461 = lean_array_push(x_460, x_455); -x_462 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_463, 0, x_462); -lean_ctor_set(x_463, 1, x_461); -x_464 = lean_array_push(x_447, x_463); -x_465 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; +lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; 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; 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; +x_333 = lean_ctor_get(x_332, 0); +lean_inc(x_333); +x_334 = lean_ctor_get(x_332, 1); +lean_inc(x_334); +lean_dec(x_332); +x_335 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_334); +x_336 = lean_ctor_get(x_335, 0); +lean_inc(x_336); +x_337 = lean_ctor_get(x_335, 1); +lean_inc(x_337); +lean_dec(x_335); +x_338 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_337); +x_339 = lean_ctor_get(x_338, 0); +lean_inc(x_339); +x_340 = lean_ctor_get(x_338, 1); +lean_inc(x_340); +lean_dec(x_338); +x_341 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_340); +x_342 = lean_ctor_get(x_341, 0); +lean_inc(x_342); +x_343 = lean_ctor_get(x_341, 1); +lean_inc(x_343); +lean_dec(x_341); +x_344 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; +lean_inc(x_336); +x_345 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_345, 0, x_336); +lean_ctor_set(x_345, 1, x_344); +x_346 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_336); +x_347 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_347, 0, x_336); +lean_ctor_set(x_347, 1, x_346); +x_348 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; +lean_inc(x_339); +lean_inc(x_342); +x_349 = l_Lean_addMacroScope(x_342, x_348, x_339); +x_350 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; +x_351 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; +lean_inc(x_336); +x_352 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_352, 0, x_336); +lean_ctor_set(x_352, 1, x_350); +lean_ctor_set(x_352, 2, x_349); +lean_ctor_set(x_352, 3, x_351); +x_353 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; +lean_inc(x_339); +lean_inc(x_342); +x_354 = l_Lean_addMacroScope(x_342, x_353, x_339); +x_355 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; +x_356 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; +lean_inc(x_336); +x_357 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_357, 0, x_336); +lean_ctor_set(x_357, 1, x_355); +lean_ctor_set(x_357, 2, x_354); +lean_ctor_set(x_357, 3, x_356); +x_358 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_359 = lean_array_push(x_358, x_357); +lean_inc(x_65); +x_360 = lean_array_push(x_359, x_65); +x_361 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_362, 0, x_361); +lean_ctor_set(x_362, 1, x_360); +x_363 = lean_array_push(x_358, x_352); +x_364 = lean_array_push(x_363, x_362); +x_365 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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 = lean_array_push(x_358, x_366); +x_368 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_369 = lean_array_push(x_367, x_368); +x_370 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_370, 0, x_361); +lean_ctor_set(x_370, 1, x_369); +x_371 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +lean_inc(x_336); +x_372 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_372, 0, x_336); +lean_ctor_set(x_372, 1, x_371); +x_373 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_374 = lean_array_push(x_373, x_347); +x_375 = lean_array_push(x_374, x_370); +x_376 = lean_array_push(x_375, x_372); +x_377 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_378 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_378, 0, x_377); +lean_ctor_set(x_378, 1, x_376); +x_379 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; +lean_inc(x_336); +x_380 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_380, 0, x_336); +lean_ctor_set(x_380, 1, x_379); +x_381 = l_Lean_addMacroScope(x_342, x_326, x_339); +lean_inc(x_336); +x_382 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_382, 0, x_336); +lean_ctor_set(x_382, 1, x_329); +lean_ctor_set(x_382, 2, x_381); +lean_ctor_set(x_382, 3, x_328); +x_383 = lean_array_push(x_358, x_19); +lean_inc(x_382); +x_384 = lean_array_push(x_383, x_382); +x_385 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_385, 0, x_361); +lean_ctor_set(x_385, 1, x_384); +x_386 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_336); +x_387 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_387, 0, x_336); +lean_ctor_set(x_387, 1, x_386); +x_388 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_336); +x_389 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_389, 0, x_336); +lean_ctor_set(x_389, 1, x_388); +x_390 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_336); +x_391 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_391, 0, x_336); +lean_ctor_set(x_391, 1, x_390); +x_392 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; +lean_inc(x_336); +x_393 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_393, 0, x_336); +lean_ctor_set(x_393, 1, x_392); +x_394 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; +lean_inc(x_336); +x_395 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_395, 0, x_336); +lean_ctor_set(x_395, 1, x_394); +x_396 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_397 = lean_array_push(x_396, x_395); +x_398 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; +x_399 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_399, 0, x_398); +lean_ctor_set(x_399, 1, x_397); +lean_inc(x_382); +x_400 = lean_array_push(x_373, x_382); +x_401 = lean_array_push(x_400, x_393); +x_402 = lean_array_push(x_401, x_399); +x_403 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; +x_404 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_404, 0, x_403); +lean_ctor_set(x_404, 1, x_402); +x_405 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_406 = lean_array_push(x_405, x_382); +x_407 = lean_array_push(x_406, x_368); +x_408 = lean_array_push(x_407, x_368); +x_409 = lean_array_push(x_408, x_391); +x_410 = lean_array_push(x_409, x_404); +x_411 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; +x_412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_412, 0, x_411); +lean_ctor_set(x_412, 1, x_410); +x_413 = lean_array_push(x_396, x_412); +x_414 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; +x_415 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_415, 0, x_414); +lean_ctor_set(x_415, 1, x_413); +x_416 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +x_417 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_417, 0, x_336); +lean_ctor_set(x_417, 1, x_416); +x_418 = lean_array_push(x_396, x_417); +x_419 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_419, 0, x_361); +lean_ctor_set(x_419, 1, x_418); +x_420 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_421 = lean_array_push(x_420, x_389); +x_422 = lean_array_push(x_421, x_415); +x_423 = lean_array_push(x_422, x_419); +x_424 = lean_array_push(x_423, x_333); +x_425 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; +x_426 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_426, 0, x_425); +lean_ctor_set(x_426, 1, x_424); +x_427 = lean_array_push(x_373, x_385); +x_428 = lean_array_push(x_427, x_387); +x_429 = lean_array_push(x_428, x_426); +x_430 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; +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_array_push(x_358, x_380); +x_433 = lean_array_push(x_432, x_431); +x_434 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___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 = lean_array_push(x_420, x_345); +x_437 = lean_array_push(x_436, x_38); +x_438 = lean_array_push(x_437, x_378); +x_439 = lean_array_push(x_438, x_435); +x_440 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; +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_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_29, x_9, x_343); +x_443 = lean_ctor_get(x_442, 0); +lean_inc(x_443); +x_444 = lean_ctor_get(x_442, 1); +lean_inc(x_444); +lean_dec(x_442); +x_445 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_29, x_9, x_444); +x_446 = lean_ctor_get(x_445, 0); +lean_inc(x_446); +x_447 = lean_ctor_get(x_445, 1); +lean_inc(x_447); +lean_dec(x_445); +x_448 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_447); +x_449 = lean_ctor_get(x_448, 0); +lean_inc(x_449); +x_450 = lean_ctor_get(x_448, 1); +lean_inc(x_450); +lean_dec(x_448); +x_451 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_443); +x_452 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_452, 0, x_443); +lean_ctor_set(x_452, 1, x_451); +lean_inc(x_443); +x_453 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_453, 0, x_443); +lean_ctor_set(x_453, 1, x_388); +lean_inc(x_446); +lean_inc(x_449); +x_454 = l_Lean_addMacroScope(x_449, x_326, x_446); +lean_inc(x_443); +x_455 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_455, 0, x_443); +lean_ctor_set(x_455, 1, x_329); +lean_ctor_set(x_455, 2, x_454); +lean_ctor_set(x_455, 3, x_328); +x_456 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_443); +x_457 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_457, 0, x_443); +lean_ctor_set(x_457, 1, x_456); +x_458 = lean_array_push(x_396, x_441); +x_459 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_460 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_460, 0, x_459); +lean_ctor_set(x_460, 1, x_458); +lean_inc(x_455); +x_461 = lean_array_push(x_420, x_455); +x_462 = lean_array_push(x_461, x_368); +x_463 = lean_array_push(x_462, x_457); +x_464 = lean_array_push(x_463, x_460); +x_465 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; 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_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_468 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_468, 0, x_387); -lean_ctor_set(x_468, 1, x_467); -x_469 = lean_array_push(x_447, x_468); -x_470 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_470, 0, x_412); -lean_ctor_set(x_470, 1, x_469); -x_471 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_472 = lean_array_push(x_471, x_440); -x_473 = lean_array_push(x_472, x_466); -x_474 = lean_array_push(x_473, x_470); -x_475 = lean_array_push(x_474, x_384); -x_476 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -x_477 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_477, 0, x_476); -lean_ctor_set(x_477, 1, x_475); -x_478 = lean_array_push(x_424, x_436); -x_479 = lean_array_push(x_478, x_438); -x_480 = lean_array_push(x_479, x_477); -x_481 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -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 = lean_array_push(x_409, x_431); -x_484 = lean_array_push(x_483, x_482); -x_485 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___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_471, x_396); -x_488 = lean_array_push(x_487, x_38); -x_489 = lean_array_push(x_488, x_429); -x_490 = lean_array_push(x_489, x_486); -x_491 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___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_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_394); -x_494 = lean_ctor_get(x_493, 0); -lean_inc(x_494); -x_495 = lean_ctor_get(x_493, 1); -lean_inc(x_495); -lean_dec(x_493); -x_496 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_495); -x_497 = lean_ctor_get(x_496, 0); -lean_inc(x_497); -x_498 = lean_ctor_get(x_496, 1); -lean_inc(x_498); -lean_dec(x_496); -x_499 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_498); -x_500 = lean_ctor_get(x_499, 0); -lean_inc(x_500); -x_501 = lean_ctor_get(x_499, 1); -lean_inc(x_501); -lean_dec(x_499); -x_502 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_494); -x_503 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_503, 0, x_494); -lean_ctor_set(x_503, 1, x_502); -lean_inc(x_494); +x_467 = lean_array_push(x_373, x_453); +x_468 = lean_array_push(x_467, x_368); +x_469 = lean_array_push(x_468, x_466); +x_470 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_471 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_471, 0, x_470); +lean_ctor_set(x_471, 1, x_469); +lean_inc(x_443); +x_472 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_472, 0, x_443); +lean_ctor_set(x_472, 1, x_416); +x_473 = lean_array_push(x_396, x_472); +x_474 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_474, 0, x_361); +lean_ctor_set(x_474, 1, x_473); +x_475 = lean_array_push(x_358, x_471); +lean_inc(x_474); +x_476 = lean_array_push(x_475, x_474); +x_477 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_478 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_478, 0, x_477); +lean_ctor_set(x_478, 1, x_476); +lean_inc(x_443); +x_479 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_479, 0, x_443); +lean_ctor_set(x_479, 1, x_390); +lean_inc(x_443); +x_480 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_480, 0, x_443); +lean_ctor_set(x_480, 1, x_392); +lean_inc(x_443); +x_481 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_481, 0, x_443); +lean_ctor_set(x_481, 1, x_394); +x_482 = lean_array_push(x_396, x_481); +x_483 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_483, 0, x_398); +lean_ctor_set(x_483, 1, x_482); +x_484 = lean_array_push(x_373, x_455); +x_485 = lean_array_push(x_484, x_480); +lean_inc(x_485); +x_486 = lean_array_push(x_485, x_483); +x_487 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_487, 0, x_403); +lean_ctor_set(x_487, 1, x_486); +x_488 = lean_array_push(x_405, x_65); +x_489 = lean_array_push(x_488, x_368); +x_490 = lean_array_push(x_489, x_368); +x_491 = lean_array_push(x_490, x_479); +x_492 = lean_array_push(x_491, x_487); +x_493 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___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_array_push(x_396, x_494); +x_496 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_497 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_497, 0, x_496); +lean_ctor_set(x_497, 1, x_495); +x_498 = lean_array_push(x_358, x_497); +x_499 = lean_array_push(x_498, x_474); +x_500 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_500, 0, x_477); +lean_ctor_set(x_500, 1, x_499); +x_501 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +lean_inc(x_443); +x_502 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_502, 0, x_443); +lean_ctor_set(x_502, 1, x_501); +x_503 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; +lean_inc(x_443); x_504 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_504, 0, x_494); -lean_ctor_set(x_504, 1, x_439); -lean_inc(x_497); -lean_inc(x_500); -x_505 = l_Lean_addMacroScope(x_500, x_379, x_497); -lean_inc(x_494); -x_506 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_506, 0, x_494); -lean_ctor_set(x_506, 1, x_382); -lean_ctor_set(x_506, 2, x_505); -lean_ctor_set(x_506, 3, x_381); -x_507 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_494); -x_508 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_508, 0, x_494); +lean_ctor_set(x_504, 0, x_443); +lean_ctor_set(x_504, 1, x_503); +x_505 = lean_array_push(x_396, x_504); +x_506 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_506, 0, x_398); +lean_ctor_set(x_506, 1, x_505); +x_507 = lean_array_push(x_485, x_506); +x_508 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_508, 0, x_403); lean_ctor_set(x_508, 1, x_507); -x_509 = lean_array_push(x_447, x_492); -x_510 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_511 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_511, 0, x_510); -lean_ctor_set(x_511, 1, x_509); -lean_inc(x_506); -x_512 = lean_array_push(x_471, x_506); -x_513 = lean_array_push(x_512, x_419); -x_514 = lean_array_push(x_513, x_508); -x_515 = lean_array_push(x_514, x_511); -x_516 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_517 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_517, 0, x_516); -lean_ctor_set(x_517, 1, x_515); -x_518 = lean_array_push(x_424, x_504); -x_519 = lean_array_push(x_518, x_419); -x_520 = lean_array_push(x_519, x_517); -x_521 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_509 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; +x_510 = lean_array_push(x_509, x_508); +x_511 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_512 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_512, 0, x_511); +lean_ctor_set(x_512, 1, x_510); +x_513 = lean_array_push(x_396, x_512); +x_514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_514, 0, x_361); +lean_ctor_set(x_514, 1, x_513); +x_515 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +lean_inc(x_443); +x_516 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_516, 0, x_443); +lean_ctor_set(x_516, 1, x_515); +x_517 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; +lean_inc(x_443); +x_518 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_518, 0, x_443); +lean_ctor_set(x_518, 1, x_517); +lean_inc(x_446); +lean_inc(x_449); +x_519 = l_Lean_addMacroScope(x_449, x_353, x_446); +lean_inc(x_443); +x_520 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_520, 0, x_443); +lean_ctor_set(x_520, 1, x_355); +lean_ctor_set(x_520, 2, x_519); +lean_ctor_set(x_520, 3, x_356); +x_521 = lean_array_push(x_396, x_520); x_522 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_522, 0, x_521); -lean_ctor_set(x_522, 1, x_520); -lean_inc(x_494); +lean_ctor_set(x_522, 0, x_361); +lean_ctor_set(x_522, 1, x_521); +lean_inc(x_443); x_523 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_523, 0, x_494); -lean_ctor_set(x_523, 1, x_467); -x_524 = lean_array_push(x_447, x_523); -x_525 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_525, 0, x_412); -lean_ctor_set(x_525, 1, x_524); -x_526 = lean_array_push(x_409, x_522); -lean_inc(x_525); -x_527 = lean_array_push(x_526, x_525); -x_528 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_529, 0, x_528); -lean_ctor_set(x_529, 1, x_527); -lean_inc(x_494); -x_530 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_530, 0, x_494); -lean_ctor_set(x_530, 1, x_441); -lean_inc(x_494); +lean_ctor_set(x_523, 0, x_443); +lean_ctor_set(x_523, 1, x_386); +x_524 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; +lean_inc(x_446); +lean_inc(x_449); +x_525 = l_Lean_addMacroScope(x_449, x_524, x_446); +x_526 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; +x_527 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; +lean_inc(x_443); +x_528 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_528, 0, x_443); +lean_ctor_set(x_528, 1, x_526); +lean_ctor_set(x_528, 2, x_525); +lean_ctor_set(x_528, 3, x_527); +lean_inc(x_443); +x_529 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_529, 0, x_443); +lean_ctor_set(x_529, 1, x_346); +x_530 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; +lean_inc(x_443); x_531 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_531, 0, x_494); -lean_ctor_set(x_531, 1, x_443); -lean_inc(x_494); -x_532 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_532, 0, x_494); -lean_ctor_set(x_532, 1, x_445); -x_533 = lean_array_push(x_447, x_532); -x_534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_534, 0, x_449); -lean_ctor_set(x_534, 1, x_533); -x_535 = lean_array_push(x_424, x_506); -x_536 = lean_array_push(x_535, x_531); -lean_inc(x_536); -x_537 = lean_array_push(x_536, x_534); -x_538 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_538, 0, x_454); -lean_ctor_set(x_538, 1, x_537); -x_539 = lean_array_push(x_456, x_61); -x_540 = lean_array_push(x_539, x_419); -x_541 = lean_array_push(x_540, x_419); -x_542 = lean_array_push(x_541, x_530); -x_543 = lean_array_push(x_542, x_538); -x_544 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_545 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_545, 0, x_544); -lean_ctor_set(x_545, 1, x_543); -x_546 = lean_array_push(x_447, x_545); -x_547 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_548 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_548, 0, x_547); -lean_ctor_set(x_548, 1, x_546); -x_549 = lean_array_push(x_409, x_548); -x_550 = lean_array_push(x_549, x_525); -x_551 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_551, 0, x_528); -lean_ctor_set(x_551, 1, x_550); -x_552 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_494); -x_553 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_553, 0, x_494); -lean_ctor_set(x_553, 1, x_552); -x_554 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_494); -x_555 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_555, 0, x_494); -lean_ctor_set(x_555, 1, x_554); -x_556 = lean_array_push(x_447, x_555); -x_557 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_557, 0, x_449); -lean_ctor_set(x_557, 1, x_556); -x_558 = lean_array_push(x_536, x_557); +lean_ctor_set(x_531, 0, x_443); +lean_ctor_set(x_531, 1, x_530); +x_532 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; +lean_inc(x_443); +x_533 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_533, 0, x_443); +lean_ctor_set(x_533, 1, x_532); +x_534 = lean_array_push(x_396, x_533); +x_535 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; +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_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; +lean_inc(x_446); +lean_inc(x_449); +x_538 = l_Lean_addMacroScope(x_449, x_537, x_446); +x_539 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; +x_540 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; +lean_inc(x_443); +x_541 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_541, 0, x_443); +lean_ctor_set(x_541, 1, x_539); +lean_ctor_set(x_541, 2, x_538); +lean_ctor_set(x_541, 3, x_540); +x_542 = lean_array_push(x_373, x_531); +x_543 = lean_array_push(x_542, x_536); +lean_inc(x_543); +x_544 = lean_array_push(x_543, x_541); +x_545 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___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 = lean_array_push(x_358, x_546); +x_548 = lean_array_push(x_547, x_368); +x_549 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_549, 0, x_361); +lean_ctor_set(x_549, 1, x_548); +lean_inc(x_443); +x_550 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_550, 0, x_443); +lean_ctor_set(x_550, 1, x_371); +x_551 = lean_array_push(x_373, x_529); +x_552 = lean_array_push(x_551, x_549); +x_553 = lean_array_push(x_552, x_550); +x_554 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_554, 0, x_377); +lean_ctor_set(x_554, 1, x_553); +x_555 = lean_array_push(x_396, x_554); +x_556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_556, 0, x_361); +lean_ctor_set(x_556, 1, x_555); +x_557 = lean_array_push(x_358, x_528); +x_558 = lean_array_push(x_557, x_556); x_559 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_559, 0, x_454); +lean_ctor_set(x_559, 0, x_365); lean_ctor_set(x_559, 1, x_558); -x_560 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; -x_561 = lean_array_push(x_560, x_559); -x_562 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_563 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_563, 0, x_562); -lean_ctor_set(x_563, 1, x_561); -x_564 = lean_array_push(x_447, x_563); -x_565 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_565, 0, x_412); -lean_ctor_set(x_565, 1, x_564); -x_566 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_494); -x_567 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_567, 0, x_494); -lean_ctor_set(x_567, 1, x_566); -x_568 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_494); -x_569 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_569, 0, x_494); -lean_ctor_set(x_569, 1, x_568); -lean_inc(x_497); -lean_inc(x_500); -x_570 = l_Lean_addMacroScope(x_500, x_404, x_497); -lean_inc(x_494); -x_571 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_571, 0, x_494); -lean_ctor_set(x_571, 1, x_406); -lean_ctor_set(x_571, 2, x_570); -lean_ctor_set(x_571, 3, x_407); -x_572 = lean_array_push(x_447, x_571); -x_573 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_573, 0, x_412); -lean_ctor_set(x_573, 1, x_572); -lean_inc(x_494); -x_574 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_574, 0, x_494); -lean_ctor_set(x_574, 1, x_437); -x_575 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_497); -lean_inc(x_500); -x_576 = l_Lean_addMacroScope(x_500, x_575, x_497); -x_577 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_578 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_494); -x_579 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_579, 0, x_494); -lean_ctor_set(x_579, 1, x_577); -lean_ctor_set(x_579, 2, x_576); -lean_ctor_set(x_579, 3, x_578); -lean_inc(x_494); -x_580 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_580, 0, x_494); -lean_ctor_set(x_580, 1, x_397); -x_581 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_494); -x_582 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_582, 0, x_494); -lean_ctor_set(x_582, 1, x_581); -x_583 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; -lean_inc(x_494); -x_584 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_584, 0, x_494); +x_560 = lean_array_push(x_396, x_559); +x_561 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_561, 0, x_459); +lean_ctor_set(x_561, 1, x_560); +x_562 = lean_array_push(x_358, x_561); +x_563 = lean_array_push(x_562, x_368); +x_564 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_564, 0, x_477); +lean_ctor_set(x_564, 1, x_563); +x_565 = lean_array_push(x_396, x_564); +x_566 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_566, 0, x_361); +lean_ctor_set(x_566, 1, x_565); +x_567 = lean_array_push(x_396, x_566); +x_568 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_569 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_569, 0, x_568); +lean_ctor_set(x_569, 1, x_567); +x_570 = lean_array_push(x_420, x_518); +lean_inc(x_570); +x_571 = lean_array_push(x_570, x_522); +lean_inc(x_523); +x_572 = lean_array_push(x_571, x_523); +x_573 = lean_array_push(x_572, x_569); +x_574 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; +x_575 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_575, 0, x_574); +lean_ctor_set(x_575, 1, x_573); +x_576 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; +lean_inc(x_446); +lean_inc(x_449); +x_577 = l_Lean_addMacroScope(x_449, x_576, x_446); +x_578 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; +x_579 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; +lean_inc(x_443); +x_580 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_580, 0, x_443); +lean_ctor_set(x_580, 1, x_578); +lean_ctor_set(x_580, 2, x_577); +lean_ctor_set(x_580, 3, x_579); +x_581 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; +x_582 = l_Lean_addMacroScope(x_449, x_581, x_446); +x_583 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; +lean_inc(x_443); +x_584 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_584, 0, x_443); lean_ctor_set(x_584, 1, x_583); -x_585 = lean_array_push(x_447, x_584); -x_586 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -x_587 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_587, 0, x_586); -lean_ctor_set(x_587, 1, x_585); -x_588 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; -lean_inc(x_497); -lean_inc(x_500); -x_589 = l_Lean_addMacroScope(x_500, x_588, x_497); -x_590 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -x_591 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; -lean_inc(x_494); -x_592 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_592, 0, x_494); -lean_ctor_set(x_592, 1, x_590); -lean_ctor_set(x_592, 2, x_589); -lean_ctor_set(x_592, 3, x_591); -x_593 = lean_array_push(x_424, x_582); -x_594 = lean_array_push(x_593, x_587); -lean_inc(x_594); -x_595 = lean_array_push(x_594, x_592); -x_596 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; +lean_ctor_set(x_584, 2, x_582); +lean_ctor_set(x_584, 3, x_328); +lean_inc(x_584); +x_585 = lean_array_push(x_396, x_584); +x_586 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_586, 0, x_361); +lean_ctor_set(x_586, 1, x_585); +x_587 = lean_array_push(x_358, x_580); +x_588 = lean_array_push(x_587, x_586); +x_589 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_589, 0, x_365); +lean_ctor_set(x_589, 1, x_588); +x_590 = lean_array_push(x_396, x_589); +x_591 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_591, 0, x_361); +lean_ctor_set(x_591, 1, x_590); +x_592 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; +x_593 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_593, 0, x_443); +lean_ctor_set(x_593, 1, x_592); +x_594 = lean_array_push(x_543, x_584); +x_595 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_595, 0, x_545); +lean_ctor_set(x_595, 1, x_594); +x_596 = lean_array_push(x_396, x_595); x_597 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_597, 0, x_596); -lean_ctor_set(x_597, 1, x_595); -x_598 = lean_array_push(x_409, x_597); -x_599 = lean_array_push(x_598, x_419); -x_600 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_600, 0, x_412); -lean_ctor_set(x_600, 1, x_599); -lean_inc(x_494); -x_601 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_601, 0, x_494); -lean_ctor_set(x_601, 1, x_422); -x_602 = lean_array_push(x_424, x_580); -x_603 = lean_array_push(x_602, x_600); -x_604 = lean_array_push(x_603, x_601); -x_605 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_605, 0, x_428); -lean_ctor_set(x_605, 1, x_604); -x_606 = lean_array_push(x_447, x_605); -x_607 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_607, 0, x_412); -lean_ctor_set(x_607, 1, x_606); -x_608 = lean_array_push(x_409, x_579); -x_609 = lean_array_push(x_608, x_607); -x_610 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_610, 0, x_416); -lean_ctor_set(x_610, 1, x_609); -x_611 = lean_array_push(x_447, x_610); +lean_ctor_set(x_597, 0, x_361); +lean_ctor_set(x_597, 1, x_596); +x_598 = lean_array_push(x_358, x_593); +x_599 = lean_array_push(x_598, x_597); +x_600 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; +x_601 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_601, 0, x_600); +lean_ctor_set(x_601, 1, x_599); +x_602 = lean_array_push(x_358, x_601); +x_603 = lean_array_push(x_602, x_368); +x_604 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_604, 0, x_477); +lean_ctor_set(x_604, 1, x_603); +x_605 = lean_array_push(x_396, x_604); +x_606 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_606, 0, x_361); +lean_ctor_set(x_606, 1, x_605); +x_607 = lean_array_push(x_396, x_606); +x_608 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_608, 0, x_568); +lean_ctor_set(x_608, 1, x_607); +x_609 = lean_array_push(x_570, x_591); +x_610 = lean_array_push(x_609, x_523); +x_611 = lean_array_push(x_610, x_608); x_612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_612, 0, x_510); +lean_ctor_set(x_612, 0, x_574); lean_ctor_set(x_612, 1, x_611); -x_613 = lean_array_push(x_409, x_612); -x_614 = lean_array_push(x_613, x_419); +x_613 = lean_array_push(x_358, x_575); +x_614 = lean_array_push(x_613, x_612); x_615 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_615, 0, x_528); +lean_ctor_set(x_615, 0, x_361); lean_ctor_set(x_615, 1, x_614); -x_616 = lean_array_push(x_447, x_615); -x_617 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_617, 0, x_412); -lean_ctor_set(x_617, 1, x_616); -x_618 = lean_array_push(x_447, x_617); -x_619 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_620 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_620, 0, x_619); -lean_ctor_set(x_620, 1, x_618); -x_621 = lean_array_push(x_471, x_569); -lean_inc(x_621); -x_622 = lean_array_push(x_621, x_573); -lean_inc(x_574); -x_623 = lean_array_push(x_622, x_574); -x_624 = lean_array_push(x_623, x_620); -x_625 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_626 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_626, 0, x_625); -lean_ctor_set(x_626, 1, x_624); -x_627 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -lean_inc(x_497); -lean_inc(x_500); -x_628 = l_Lean_addMacroScope(x_500, x_627, x_497); -x_629 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; -x_630 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; -lean_inc(x_494); -x_631 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_631, 0, x_494); -lean_ctor_set(x_631, 1, x_629); -lean_ctor_set(x_631, 2, x_628); -lean_ctor_set(x_631, 3, x_630); -x_632 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; -x_633 = l_Lean_addMacroScope(x_500, x_632, x_497); -x_634 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_494); -x_635 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_635, 0, x_494); -lean_ctor_set(x_635, 1, x_634); -lean_ctor_set(x_635, 2, x_633); -lean_ctor_set(x_635, 3, x_381); -lean_inc(x_635); -x_636 = lean_array_push(x_447, x_635); -x_637 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_637, 0, x_412); -lean_ctor_set(x_637, 1, x_636); -x_638 = lean_array_push(x_409, x_631); -x_639 = lean_array_push(x_638, x_637); +x_616 = lean_array_push(x_396, x_615); +x_617 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; +x_618 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_618, 0, x_617); +lean_ctor_set(x_618, 1, x_616); +x_619 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_620 = lean_array_push(x_619, x_502); +x_621 = lean_array_push(x_620, x_368); +x_622 = lean_array_push(x_621, x_514); +x_623 = lean_array_push(x_622, x_368); +x_624 = lean_array_push(x_623, x_516); +x_625 = lean_array_push(x_624, x_618); +x_626 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_627 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_627, 0, x_626); +lean_ctor_set(x_627, 1, x_625); +x_628 = lean_array_push(x_358, x_627); +x_629 = lean_array_push(x_628, x_368); +x_630 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_630, 0, x_477); +lean_ctor_set(x_630, 1, x_629); +x_631 = lean_array_push(x_373, x_478); +x_632 = lean_array_push(x_631, x_500); +x_633 = lean_array_push(x_632, x_630); +x_634 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_634, 0, x_361); +lean_ctor_set(x_634, 1, x_633); +x_635 = lean_array_push(x_396, x_634); +x_636 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_636, 0, x_568); +lean_ctor_set(x_636, 1, x_635); +x_637 = lean_array_push(x_358, x_452); +x_638 = lean_array_push(x_637, x_636); +x_639 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; x_640 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_640, 0, x_416); -lean_ctor_set(x_640, 1, x_639); -x_641 = lean_array_push(x_447, x_640); -x_642 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_642, 0, x_412); -lean_ctor_set(x_642, 1, x_641); -x_643 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -x_644 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_644, 0, x_494); -lean_ctor_set(x_644, 1, x_643); -x_645 = lean_array_push(x_594, x_635); -x_646 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_646, 0, x_596); -lean_ctor_set(x_646, 1, x_645); -x_647 = lean_array_push(x_447, x_646); -x_648 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_648, 0, x_412); -lean_ctor_set(x_648, 1, x_647); -x_649 = lean_array_push(x_409, x_644); -x_650 = lean_array_push(x_649, x_648); -x_651 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -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_array_push(x_409, x_652); -x_654 = lean_array_push(x_653, x_419); -x_655 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_655, 0, x_528); -lean_ctor_set(x_655, 1, x_654); -x_656 = lean_array_push(x_447, x_655); -x_657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_657, 0, x_412); -lean_ctor_set(x_657, 1, x_656); -x_658 = lean_array_push(x_447, x_657); -x_659 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_659, 0, x_619); -lean_ctor_set(x_659, 1, x_658); -x_660 = lean_array_push(x_621, x_642); -x_661 = lean_array_push(x_660, x_574); -x_662 = lean_array_push(x_661, x_659); -x_663 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_663, 0, x_625); -lean_ctor_set(x_663, 1, x_662); -x_664 = lean_array_push(x_409, x_626); -x_665 = lean_array_push(x_664, x_663); -x_666 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_666, 0, x_412); -lean_ctor_set(x_666, 1, x_665); -x_667 = lean_array_push(x_447, x_666); -x_668 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_669 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_669, 0, x_668); -lean_ctor_set(x_669, 1, x_667); -x_670 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_671 = lean_array_push(x_670, x_553); -x_672 = lean_array_push(x_671, x_419); -x_673 = lean_array_push(x_672, x_565); -x_674 = lean_array_push(x_673, x_419); -x_675 = lean_array_push(x_674, x_567); -x_676 = lean_array_push(x_675, x_669); -x_677 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_678 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_678, 0, x_677); -lean_ctor_set(x_678, 1, x_676); -x_679 = lean_array_push(x_409, x_678); -x_680 = lean_array_push(x_679, x_419); -x_681 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_681, 0, x_528); -lean_ctor_set(x_681, 1, x_680); -x_682 = lean_array_push(x_424, x_529); -x_683 = lean_array_push(x_682, x_551); -x_684 = lean_array_push(x_683, x_681); -x_685 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_685, 0, x_412); -lean_ctor_set(x_685, 1, x_684); -x_686 = lean_array_push(x_447, x_685); -x_687 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_687, 0, x_619); -lean_ctor_set(x_687, 1, x_686); -x_688 = lean_array_push(x_409, x_503); -x_689 = lean_array_push(x_688, x_687); -x_690 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_691 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_691, 0, x_690); -lean_ctor_set(x_691, 1, x_689); -x_692 = l_Lean_Syntax_getArg(x_691, x_11); -lean_dec(x_691); -x_693 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_692); -x_694 = l_List_append___rarg(x_693, x_2); -x_695 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_694, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_501); -return x_695; +lean_ctor_set(x_640, 0, x_639); +lean_ctor_set(x_640, 1, x_638); +x_641 = l_Lean_Syntax_getArg(x_640, x_11); +lean_dec(x_640); +x_642 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_641); +x_643 = l_List_append___rarg(x_642, x_2); +x_644 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_643, x_3, x_4, x_5, x_6, x_7, x_29, x_9, x_450); +return x_644; } +else +{ +lean_object* x_645; lean_object* x_646; lean_object* x_647; +lean_dec(x_65); +lean_dec(x_38); +lean_dec(x_29); +lean_dec(x_19); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_645 = lean_ctor_get(x_332, 0); +lean_inc(x_645); +x_646 = lean_ctor_get(x_332, 1); +lean_inc(x_646); +lean_dec(x_332); +x_647 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_647, 0, x_645); +lean_ctor_set(x_647, 1, x_646); +return x_647; } } } else { -uint8_t x_825; +lean_object* x_648; lean_object* x_649; lean_object* x_650; +lean_dec(x_54); +lean_dec(x_53); lean_dec(x_48); lean_dec(x_38); -lean_dec(x_8); lean_dec(x_29); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_22); lean_dec(x_19); lean_dec(x_9); lean_dec(x_7); @@ -64692,36 +39468,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_825 = !lean_is_exclusive(x_50); -if (x_825 == 0) -{ -return x_50; -} -else -{ -lean_object* x_826; lean_object* x_827; lean_object* x_828; -x_826 = lean_ctor_get(x_50, 0); -x_827 = lean_ctor_get(x_50, 1); -lean_inc(x_827); -lean_inc(x_826); -lean_dec(x_50); -x_828 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_828, 0, x_826); -lean_ctor_set(x_828, 1, x_827); -return x_828; -} +x_648 = lean_ctor_get(x_64, 0); +lean_inc(x_648); +x_649 = lean_ctor_get(x_64, 1); +lean_inc(x_649); +lean_dec(x_64); +x_650 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_650, 0, x_648); +lean_ctor_set(x_650, 1, x_649); +return x_650; } } else { -uint8_t x_829; +lean_object* x_651; lean_object* x_652; lean_object* x_653; +lean_dec(x_48); lean_dec(x_38); -lean_dec(x_8); lean_dec(x_29); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_22); lean_dec(x_19); lean_dec(x_9); lean_dec(x_7); @@ -64730,35 +39493,45 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_829 = !lean_is_exclusive(x_47); -if (x_829 == 0) -{ -return x_47; -} -else -{ -lean_object* x_830; lean_object* x_831; lean_object* x_832; -x_830 = lean_ctor_get(x_47, 0); -x_831 = lean_ctor_get(x_47, 1); -lean_inc(x_831); -lean_inc(x_830); -lean_dec(x_47); -x_832 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_832, 0, x_830); -lean_ctor_set(x_832, 1, x_831); -return x_832; -} +x_651 = lean_ctor_get(x_50, 0); +lean_inc(x_651); +x_652 = lean_ctor_get(x_50, 1); +lean_inc(x_652); +lean_dec(x_50); +x_653 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_653, 0, x_651); +lean_ctor_set(x_653, 1, x_652); +return x_653; } } else { -uint8_t x_833; -lean_dec(x_8); +lean_object* x_654; lean_object* x_655; lean_object* x_656; +lean_dec(x_38); +lean_dec(x_29); +lean_dec(x_19); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_654 = lean_ctor_get(x_47, 0); +lean_inc(x_654); +x_655 = lean_ctor_get(x_47, 1); +lean_inc(x_655); +lean_dec(x_47); +x_656 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_656, 0, x_654); +lean_ctor_set(x_656, 1, x_655); +return x_656; +} +} +else +{ +lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_dec(x_29); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_22); lean_dec(x_19); lean_dec(x_18); lean_dec(x_9); @@ -64768,38 +39541,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_833 = !lean_is_exclusive(x_35); -if (x_833 == 0) -{ -return x_35; -} -else -{ -lean_object* x_834; lean_object* x_835; lean_object* x_836; -x_834 = lean_ctor_get(x_35, 0); -x_835 = lean_ctor_get(x_35, 1); -lean_inc(x_835); -lean_inc(x_834); +x_657 = lean_ctor_get(x_35, 0); +lean_inc(x_657); +x_658 = lean_ctor_get(x_35, 1); +lean_inc(x_658); lean_dec(x_35); -x_836 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_836, 0, x_834); -lean_ctor_set(x_836, 1, x_835); -return x_836; -} +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; } } else { -uint8_t x_837; -lean_dec(x_8); +lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_dec(x_29); lean_dec(x_28); lean_dec(x_27); lean_dec(x_26); lean_dec(x_25); -lean_dec(x_23); +lean_dec(x_24); lean_dec(x_22); lean_dec(x_21); +lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); lean_dec(x_9); @@ -64809,4248 +39573,906 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_837 = !lean_is_exclusive(x_30); -if (x_837 == 0) -{ -return x_30; -} -else -{ -lean_object* x_838; lean_object* x_839; lean_object* x_840; -x_838 = lean_ctor_get(x_30, 0); -x_839 = lean_ctor_get(x_30, 1); -lean_inc(x_839); -lean_inc(x_838); +x_660 = lean_ctor_get(x_30, 0); +lean_inc(x_660); +x_661 = lean_ctor_get(x_30, 1); +lean_inc(x_661); lean_dec(x_30); -x_840 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_840, 0, x_838); -lean_ctor_set(x_840, 1, x_839); -return x_840; -} +x_662 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_662, 0, x_660); +lean_ctor_set(x_662, 1, x_661); +return x_662; } } else { -lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; -x_841 = lean_ctor_get(x_8, 0); -x_842 = lean_ctor_get(x_8, 1); -x_843 = lean_ctor_get(x_8, 2); -x_844 = lean_ctor_get(x_8, 3); -x_845 = lean_ctor_get(x_8, 4); -x_846 = lean_ctor_get(x_8, 5); -x_847 = lean_ctor_get(x_8, 6); -x_848 = lean_ctor_get(x_8, 7); -lean_inc(x_848); -lean_inc(x_847); -lean_inc(x_846); -lean_inc(x_845); -lean_inc(x_844); -lean_inc(x_843); -lean_inc(x_842); -lean_inc(x_841); -lean_dec(x_8); -x_849 = l_Lean_replaceRef(x_1, x_844); -lean_dec(x_844); -lean_inc(x_848); -lean_inc(x_847); -lean_inc(x_846); -lean_inc(x_845); -lean_inc(x_849); -lean_inc(x_843); -lean_inc(x_842); -lean_inc(x_841); -x_850 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_850, 0, x_841); -lean_ctor_set(x_850, 1, x_842); -lean_ctor_set(x_850, 2, x_843); -lean_ctor_set(x_850, 3, x_849); -lean_ctor_set(x_850, 4, x_845); -lean_ctor_set(x_850, 5, x_846); -lean_ctor_set(x_850, 6, x_847); -lean_ctor_set(x_850, 7, x_848); -lean_inc(x_9); -lean_inc(x_850); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_19); -x_851 = l_Lean_Elab_Term_Do_getPatternVarsEx(x_19, x_4, x_5, x_6, x_7, x_850, x_9, x_10); -if (lean_obj_tag(x_851) == 0) -{ -lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; -x_852 = lean_ctor_get(x_851, 0); -lean_inc(x_852); -x_853 = lean_ctor_get(x_851, 1); -lean_inc(x_853); -lean_dec(x_851); -x_854 = l_Lean_replaceRef(x_19, x_849); -lean_inc(x_846); -lean_inc(x_845); -lean_inc(x_843); -lean_inc(x_842); -x_855 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_855, 0, x_841); -lean_ctor_set(x_855, 1, x_842); -lean_ctor_set(x_855, 2, x_843); -lean_ctor_set(x_855, 3, x_854); -lean_ctor_set(x_855, 4, x_845); -lean_ctor_set(x_855, 5, x_846); -lean_ctor_set(x_855, 6, x_847); -lean_ctor_set(x_855, 7, x_848); -x_856 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_852, x_3, x_4, x_5, x_6, x_7, x_855, x_9, x_853); -lean_dec(x_855); -lean_dec(x_852); -if (lean_obj_tag(x_856) == 0) -{ -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; uint8_t x_866; lean_object* x_867; lean_object* x_868; -x_857 = lean_ctor_get(x_856, 1); -lean_inc(x_857); -lean_dec(x_856); -x_858 = lean_unsigned_to_nat(2u); -x_859 = l_Lean_Syntax_getArg(x_18, x_858); -lean_dec(x_18); -x_860 = lean_unsigned_to_nat(3u); -x_861 = l_Lean_Syntax_getArg(x_1, x_860); -x_862 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_861); -x_863 = lean_ctor_get(x_3, 0); -lean_inc(x_863); -x_864 = lean_ctor_get(x_3, 1); -lean_inc(x_864); -x_865 = lean_ctor_get(x_3, 2); -lean_inc(x_865); -x_866 = 1; -x_867 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_867, 0, x_863); -lean_ctor_set(x_867, 1, x_864); -lean_ctor_set(x_867, 2, x_865); -lean_ctor_set_uint8(x_867, sizeof(void*)*3, x_866); -lean_inc(x_9); -lean_inc(x_850); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_868 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_862, x_867, x_4, x_5, x_6, x_7, x_850, x_9, x_857); -if (lean_obj_tag(x_868) == 0) -{ -lean_object* x_869; lean_object* x_870; lean_object* x_871; -x_869 = lean_ctor_get(x_868, 0); -lean_inc(x_869); -x_870 = lean_ctor_get(x_868, 1); -lean_inc(x_870); -lean_dec(x_868); -lean_inc(x_850); -lean_inc(x_3); -lean_inc(x_869); -x_871 = l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(x_869, x_3, x_4, x_5, x_6, x_7, x_850, x_9, x_870); -if (lean_obj_tag(x_871) == 0) -{ -lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; size_t 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_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; -x_872 = lean_ctor_get(x_871, 0); -lean_inc(x_872); -x_873 = lean_ctor_get(x_871, 1); -lean_inc(x_873); -lean_dec(x_871); -x_874 = lean_ctor_get(x_872, 0); -lean_inc(x_874); -x_875 = lean_ctor_get(x_872, 1); -lean_inc(x_875); -lean_dec(x_872); -x_876 = lean_array_get_size(x_874); -x_877 = lean_usize_of_nat(x_876); -lean_dec(x_876); -lean_inc(x_874); -x_878 = x_874; -x_879 = lean_box_usize(x_877); -x_880 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1; -x_881 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___spec__1___boxed), 5, 3); -lean_closure_set(x_881, 0, x_879); -lean_closure_set(x_881, 1, x_880); -lean_closure_set(x_881, 2, x_878); -x_1566 = lean_st_ref_get(x_9, x_873); -x_1567 = lean_ctor_get(x_1566, 0); -lean_inc(x_1567); -x_1568 = lean_ctor_get(x_1566, 1); -lean_inc(x_1568); -lean_dec(x_1566); -x_1569 = lean_ctor_get(x_1567, 0); -lean_inc(x_1569); -lean_dec(x_1567); -lean_inc(x_1569); -x_1570 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_1570, 0, x_1569); -lean_inc(x_845); -x_1571 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_1571, 0, x_845); -lean_inc(x_1569); -x_1572 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_1572, 0, x_1569); -lean_inc(x_846); -lean_inc(x_845); -lean_inc(x_1569); -x_1573 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_1573, 0, x_1569); -lean_closure_set(x_1573, 1, x_845); -lean_closure_set(x_1573, 2, x_846); -lean_inc(x_846); -lean_inc(x_845); -lean_inc(x_1569); -x_1574 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_1574, 0, x_1569); -lean_closure_set(x_1574, 1, x_845); -lean_closure_set(x_1574, 2, x_846); -x_1575 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_1575, 0, x_1570); -lean_ctor_set(x_1575, 1, x_1571); -lean_ctor_set(x_1575, 2, x_1572); -lean_ctor_set(x_1575, 3, x_1573); -lean_ctor_set(x_1575, 4, x_1574); -x_1576 = x_1575; -x_1577 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_850, x_9, x_1568); -x_1578 = lean_ctor_get(x_1577, 0); -lean_inc(x_1578); -x_1579 = lean_ctor_get(x_1577, 1); -lean_inc(x_1579); -lean_dec(x_1577); -x_1580 = lean_st_ref_get(x_9, x_1579); -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_ctor_get(x_1581, 1); -lean_inc(x_1583); -lean_dec(x_1581); -x_1584 = lean_environment_main_module(x_1569); -lean_inc(x_849); -lean_inc(x_843); -lean_inc(x_842); -x_1585 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_1585, 0, x_1576); -lean_ctor_set(x_1585, 1, x_1584); -lean_ctor_set(x_1585, 2, x_1578); -lean_ctor_set(x_1585, 3, x_842); -lean_ctor_set(x_1585, 4, x_843); -lean_ctor_set(x_1585, 5, x_849); -x_1586 = lean_box(0); -x_1587 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1587, 0, x_1583); -lean_ctor_set(x_1587, 1, x_1586); -x_1588 = x_881; -lean_inc(x_1585); -x_1589 = lean_apply_2(x_1588, x_1585, x_1587); -if (lean_obj_tag(x_1589) == 0) -{ -lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; -x_1590 = lean_ctor_get(x_1589, 0); -lean_inc(x_1590); -x_1591 = lean_ctor_get(x_1589, 1); -lean_inc(x_1591); -lean_dec(x_1589); -x_1592 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple(x_1590, x_1585, x_1591); -x_1593 = lean_ctor_get(x_1592, 0); -lean_inc(x_1593); -x_1594 = lean_ctor_get(x_1592, 1); -lean_inc(x_1594); -lean_dec(x_1592); -x_1595 = lean_ctor_get(x_1594, 0); -lean_inc(x_1595); -x_1596 = lean_st_ref_take(x_9, x_1582); -x_1597 = lean_ctor_get(x_1596, 0); -lean_inc(x_1597); -x_1598 = lean_ctor_get(x_1596, 1); -lean_inc(x_1598); -lean_dec(x_1596); -x_1599 = lean_ctor_get(x_1597, 0); -lean_inc(x_1599); -x_1600 = lean_ctor_get(x_1597, 2); -lean_inc(x_1600); -x_1601 = lean_ctor_get(x_1597, 3); -lean_inc(x_1601); -if (lean_is_exclusive(x_1597)) { - lean_ctor_release(x_1597, 0); - lean_ctor_release(x_1597, 1); - lean_ctor_release(x_1597, 2); - lean_ctor_release(x_1597, 3); - x_1602 = x_1597; -} else { - lean_dec_ref(x_1597); - x_1602 = lean_box(0); -} -if (lean_is_scalar(x_1602)) { - x_1603 = lean_alloc_ctor(0, 4, 0); -} else { - x_1603 = x_1602; -} -lean_ctor_set(x_1603, 0, x_1599); -lean_ctor_set(x_1603, 1, x_1595); -lean_ctor_set(x_1603, 2, x_1600); -lean_ctor_set(x_1603, 3, x_1601); -x_1604 = lean_st_ref_set(x_9, x_1603, x_1598); -x_1605 = lean_ctor_get(x_1604, 1); -lean_inc(x_1605); -lean_dec(x_1604); -x_1606 = lean_ctor_get(x_1594, 1); -lean_inc(x_1606); -lean_dec(x_1594); -x_1607 = l_List_reverse___rarg(x_1606); -x_1608 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_1607, x_3, x_4, x_5, x_6, x_7, x_850, x_9, x_1605); -x_1609 = lean_ctor_get(x_1608, 1); -lean_inc(x_1609); -lean_dec(x_1608); -x_882 = x_1593; -x_883 = x_1609; -goto block_1565; -} -else -{ -lean_object* x_1610; -lean_dec(x_1585); -lean_dec(x_875); -lean_dec(x_874); -lean_dec(x_869); -lean_dec(x_859); -lean_dec(x_849); -lean_dec(x_846); -lean_dec(x_845); -lean_dec(x_843); -lean_dec(x_842); -lean_dec(x_19); -lean_dec(x_2); -x_1610 = lean_ctor_get(x_1589, 0); -lean_inc(x_1610); -lean_dec(x_1589); -if (lean_obj_tag(x_1610) == 0) -{ -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_1611 = lean_ctor_get(x_1610, 0); -lean_inc(x_1611); -x_1612 = lean_ctor_get(x_1610, 1); -lean_inc(x_1612); -lean_dec(x_1610); -x_1613 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1613, 0, x_1612); -x_1614 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1614, 0, x_1613); -x_1615 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_1611, x_1614, x_3, x_4, x_5, x_6, x_7, x_850, x_9, x_1582); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); +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; uint8_t x_687; uint8_t x_688; uint8_t x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; uint8_t 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; 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; 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; 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; +x_663 = l_Lean_instInhabitedSyntax; +x_664 = lean_array_get(x_663, x_13, x_11); +x_665 = lean_unsigned_to_nat(0u); +x_666 = l_Lean_Syntax_getArg(x_664, x_665); +x_667 = lean_unsigned_to_nat(2u); +x_668 = l_Lean_Syntax_getArg(x_664, x_667); +lean_dec(x_664); +x_669 = l_Array_eraseIdx___rarg(x_13, x_11); +x_670 = lean_unsigned_to_nat(3u); +x_671 = l_Lean_Syntax_getArg(x_1, x_670); +x_672 = lean_st_ref_take(x_9, x_10); +x_673 = lean_ctor_get(x_672, 0); +lean_inc(x_673); +x_674 = lean_ctor_get(x_672, 1); +lean_inc(x_674); +lean_dec(x_672); +x_675 = lean_ctor_get(x_673, 0); +lean_inc(x_675); +x_676 = lean_ctor_get(x_673, 1); +lean_inc(x_676); +x_677 = lean_ctor_get(x_673, 2); +lean_inc(x_677); +x_678 = lean_ctor_get(x_673, 3); +lean_inc(x_678); +lean_dec(x_673); +x_679 = lean_nat_add(x_676, x_11); +x_680 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_680, 0, x_675); +lean_ctor_set(x_680, 1, x_679); +lean_ctor_set(x_680, 2, x_677); +lean_ctor_set(x_680, 3, x_678); +x_681 = lean_st_ref_set(x_9, x_680, x_674); +x_682 = lean_ctor_get(x_681, 1); +lean_inc(x_682); +lean_dec(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_uint8(x_4, sizeof(void*)*8); +x_688 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_689 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +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_uint8(x_4, sizeof(void*)*8 + 3); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1611); -x_1616 = lean_ctor_get(x_1615, 0); -lean_inc(x_1616); -x_1617 = lean_ctor_get(x_1615, 1); -lean_inc(x_1617); -if (lean_is_exclusive(x_1615)) { - lean_ctor_release(x_1615, 0); - lean_ctor_release(x_1615, 1); - x_1618 = x_1615; -} else { - lean_dec_ref(x_1615); - x_1618 = lean_box(0); -} -if (lean_is_scalar(x_1618)) { - x_1619 = lean_alloc_ctor(1, 2, 0); -} else { - x_1619 = x_1618; -} -lean_ctor_set(x_1619, 0, x_1616); -lean_ctor_set(x_1619, 1, x_1617); -return x_1619; -} -else -{ -lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; -lean_dec(x_850); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1620 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg(x_1582); -x_1621 = lean_ctor_get(x_1620, 0); -lean_inc(x_1621); -x_1622 = lean_ctor_get(x_1620, 1); -lean_inc(x_1622); -if (lean_is_exclusive(x_1620)) { - lean_ctor_release(x_1620, 0); - lean_ctor_release(x_1620, 1); - x_1623 = x_1620; -} else { - lean_dec_ref(x_1620); - x_1623 = lean_box(0); -} -if (lean_is_scalar(x_1623)) { - x_1624 = lean_alloc_ctor(1, 2, 0); -} else { - x_1624 = x_1623; -} -lean_ctor_set(x_1624, 0, x_1621); -lean_ctor_set(x_1624, 1, x_1622); -return x_1624; -} -} -block_1565: -{ -lean_object* x_884; uint8_t x_885; -x_884 = lean_ctor_get(x_869, 0); -lean_inc(x_884); -lean_dec(x_869); -x_885 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_884); -lean_dec(x_884); -if (x_885 == 0) -{ -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_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; 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; -x_886 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_850, x_9, x_883); -x_887 = lean_ctor_get(x_886, 0); -lean_inc(x_887); -x_888 = lean_ctor_get(x_886, 1); -lean_inc(x_888); -lean_dec(x_886); -x_889 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_850, x_9, x_888); -x_890 = lean_ctor_get(x_889, 0); -lean_inc(x_890); -x_891 = lean_ctor_get(x_889, 1); -lean_inc(x_891); -lean_dec(x_889); -x_892 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_891); -x_893 = lean_ctor_get(x_892, 0); -lean_inc(x_893); -x_894 = lean_ctor_get(x_892, 1); -lean_inc(x_894); -lean_dec(x_892); -x_895 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_896 = l_Lean_addMacroScope(x_893, x_895, x_890); -x_897 = lean_box(0); -x_898 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_899 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_899, 0, x_887); -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_1130 = lean_st_ref_get(x_9, x_894); -x_1131 = lean_ctor_get(x_1130, 0); -lean_inc(x_1131); -x_1132 = lean_ctor_get(x_1130, 1); -lean_inc(x_1132); -lean_dec(x_1130); -x_1133 = lean_ctor_get(x_1131, 0); -lean_inc(x_1133); -lean_dec(x_1131); -lean_inc(x_1133); -x_1134 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_1134, 0, x_1133); -lean_inc(x_845); -x_1135 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_1135, 0, x_845); -lean_inc(x_1133); -x_1136 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_1136, 0, x_1133); -lean_inc(x_846); -lean_inc(x_845); -lean_inc(x_1133); -x_1137 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_1137, 0, x_1133); -lean_closure_set(x_1137, 1, x_845); -lean_closure_set(x_1137, 2, x_846); -lean_inc(x_1133); -x_1138 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_1138, 0, x_1133); -lean_closure_set(x_1138, 1, x_845); -lean_closure_set(x_1138, 2, x_846); -x_1139 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_1139, 0, x_1134); -lean_ctor_set(x_1139, 1, x_1135); -lean_ctor_set(x_1139, 2, x_1136); -lean_ctor_set(x_1139, 3, x_1137); -lean_ctor_set(x_1139, 4, x_1138); -x_1140 = x_1139; -x_1141 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_850, x_9, x_1132); -x_1142 = lean_ctor_get(x_1141, 0); -lean_inc(x_1142); -x_1143 = lean_ctor_get(x_1141, 1); -lean_inc(x_1143); -lean_dec(x_1141); -x_1144 = lean_st_ref_get(x_9, x_1143); -x_1145 = lean_ctor_get(x_1144, 0); -lean_inc(x_1145); -x_1146 = lean_ctor_get(x_1144, 1); -lean_inc(x_1146); -lean_dec(x_1144); -x_1147 = lean_ctor_get(x_1145, 1); -lean_inc(x_1147); -lean_dec(x_1145); -x_1148 = lean_environment_main_module(x_1133); -x_1149 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_1149, 0, x_1140); -lean_ctor_set(x_1149, 1, x_1148); -lean_ctor_set(x_1149, 2, x_1142); -lean_ctor_set(x_1149, 3, x_842); -lean_ctor_set(x_1149, 4, x_843); -lean_ctor_set(x_1149, 5, x_849); -x_1150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1150, 0, x_1147); -lean_ctor_set(x_1150, 1, x_897); -x_1151 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(x_874, x_899, x_875, x_1149, x_1150); -if (lean_obj_tag(x_1151) == 0) -{ -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; -x_1152 = lean_ctor_get(x_1151, 0); -lean_inc(x_1152); -x_1153 = lean_ctor_get(x_1151, 1); -lean_inc(x_1153); -lean_dec(x_1151); -x_1154 = lean_ctor_get(x_1153, 0); -lean_inc(x_1154); -x_1155 = lean_st_ref_take(x_9, x_1146); -x_1156 = lean_ctor_get(x_1155, 0); -lean_inc(x_1156); -x_1157 = lean_ctor_get(x_1155, 1); -lean_inc(x_1157); -lean_dec(x_1155); -x_1158 = lean_ctor_get(x_1156, 0); -lean_inc(x_1158); -x_1159 = lean_ctor_get(x_1156, 2); -lean_inc(x_1159); -x_1160 = lean_ctor_get(x_1156, 3); -lean_inc(x_1160); -if (lean_is_exclusive(x_1156)) { - lean_ctor_release(x_1156, 0); - lean_ctor_release(x_1156, 1); - lean_ctor_release(x_1156, 2); - lean_ctor_release(x_1156, 3); - x_1161 = x_1156; -} else { - lean_dec_ref(x_1156); - x_1161 = lean_box(0); -} -if (lean_is_scalar(x_1161)) { - x_1162 = lean_alloc_ctor(0, 4, 0); -} else { - x_1162 = x_1161; -} -lean_ctor_set(x_1162, 0, x_1158); -lean_ctor_set(x_1162, 1, x_1154); -lean_ctor_set(x_1162, 2, x_1159); -lean_ctor_set(x_1162, 3, x_1160); -x_1163 = lean_st_ref_set(x_9, x_1162, x_1157); -x_1164 = lean_ctor_get(x_1163, 1); -lean_inc(x_1164); -lean_dec(x_1163); -x_1165 = lean_ctor_get(x_1153, 1); -lean_inc(x_1165); -lean_dec(x_1153); -x_1166 = l_List_reverse___rarg(x_1165); -x_1167 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_1166, x_3, x_4, x_5, x_6, x_7, x_850, x_9, x_1164); -x_1168 = lean_ctor_get(x_1167, 1); -lean_inc(x_1168); -lean_dec(x_1167); -x_900 = x_1152; -x_901 = x_1168; -goto block_1129; -} -else -{ -lean_object* x_1169; -lean_dec(x_882); -lean_dec(x_859); -lean_dec(x_19); -lean_dec(x_2); -x_1169 = lean_ctor_get(x_1151, 0); -lean_inc(x_1169); -lean_dec(x_1151); -if (lean_obj_tag(x_1169) == 0) -{ -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; -x_1170 = lean_ctor_get(x_1169, 0); -lean_inc(x_1170); -x_1171 = lean_ctor_get(x_1169, 1); -lean_inc(x_1171); -lean_dec(x_1169); -x_1172 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1172, 0, x_1171); -x_1173 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1173, 0, x_1172); -x_1174 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_1170, x_1173, x_3, x_4, x_5, x_6, x_7, x_850, x_9, x_1146); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1170); -x_1175 = lean_ctor_get(x_1174, 0); -lean_inc(x_1175); -x_1176 = lean_ctor_get(x_1174, 1); -lean_inc(x_1176); -if (lean_is_exclusive(x_1174)) { - lean_ctor_release(x_1174, 0); - lean_ctor_release(x_1174, 1); - x_1177 = x_1174; -} else { - lean_dec_ref(x_1174); - x_1177 = lean_box(0); -} -if (lean_is_scalar(x_1177)) { - x_1178 = lean_alloc_ctor(1, 2, 0); -} else { - x_1178 = x_1177; -} -lean_ctor_set(x_1178, 0, x_1175); -lean_ctor_set(x_1178, 1, x_1176); -return x_1178; -} -else -{ -lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; -lean_dec(x_850); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1179 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg(x_1146); -x_1180 = lean_ctor_get(x_1179, 0); -lean_inc(x_1180); -x_1181 = lean_ctor_get(x_1179, 1); -lean_inc(x_1181); -if (lean_is_exclusive(x_1179)) { - lean_ctor_release(x_1179, 0); - lean_ctor_release(x_1179, 1); - x_1182 = x_1179; -} else { - lean_dec_ref(x_1179); - x_1182 = lean_box(0); -} -if (lean_is_scalar(x_1182)) { - x_1183 = lean_alloc_ctor(1, 2, 0); -} else { - x_1183 = x_1182; -} -lean_ctor_set(x_1183, 0, x_1180); -lean_ctor_set(x_1183, 1, x_1181); -return x_1183; -} -} -block_1129: -{ -lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; 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; uint8_t x_941; -x_902 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_850, x_9, x_901); -x_903 = lean_ctor_get(x_902, 0); -lean_inc(x_903); -x_904 = lean_ctor_get(x_902, 1); -lean_inc(x_904); -lean_dec(x_902); -x_905 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_850, x_9, x_904); -x_906 = lean_ctor_get(x_905, 0); -lean_inc(x_906); -x_907 = lean_ctor_get(x_905, 1); -lean_inc(x_907); -lean_dec(x_905); -x_908 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_907); -x_909 = lean_ctor_get(x_908, 0); -lean_inc(x_909); -x_910 = lean_ctor_get(x_908, 1); -lean_inc(x_910); -lean_dec(x_908); -x_911 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; -lean_inc(x_903); -x_912 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_912, 0, x_903); +x_694 = lean_alloc_ctor(0, 8, 4); +lean_ctor_set(x_694, 0, x_683); +lean_ctor_set(x_694, 1, x_684); +lean_ctor_set(x_694, 2, x_685); +lean_ctor_set(x_694, 3, x_686); +lean_ctor_set(x_694, 4, x_676); +lean_ctor_set(x_694, 5, x_690); +lean_ctor_set(x_694, 6, x_691); +lean_ctor_set(x_694, 7, x_692); +lean_ctor_set_uint8(x_694, sizeof(void*)*8, x_687); +lean_ctor_set_uint8(x_694, sizeof(void*)*8 + 1, x_688); +lean_ctor_set_uint8(x_694, sizeof(void*)*8 + 2, x_689); +lean_ctor_set_uint8(x_694, sizeof(void*)*8 + 3, x_693); +x_695 = lean_ctor_get(x_8, 0); +lean_inc(x_695); +x_696 = lean_ctor_get(x_8, 1); +lean_inc(x_696); +x_697 = lean_ctor_get(x_8, 2); +lean_inc(x_697); +x_698 = lean_ctor_get(x_8, 3); +lean_inc(x_698); +x_699 = lean_ctor_get(x_8, 4); +lean_inc(x_699); +x_700 = lean_ctor_get(x_8, 5); +lean_inc(x_700); +x_701 = lean_ctor_get(x_8, 6); +lean_inc(x_701); +x_702 = lean_ctor_get(x_8, 7); +lean_inc(x_702); +x_703 = l_Lean_replaceRef(x_668, x_698); +lean_dec(x_698); +x_704 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_704, 0, x_695); +lean_ctor_set(x_704, 1, x_696); +lean_ctor_set(x_704, 2, x_697); +lean_ctor_set(x_704, 3, x_703); +lean_ctor_set(x_704, 4, x_699); +lean_ctor_set(x_704, 5, x_700); +lean_ctor_set(x_704, 6, x_701); +lean_ctor_set(x_704, 7, x_702); +x_705 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_704, x_9, x_682); +x_706 = lean_ctor_get(x_705, 0); +lean_inc(x_706); +x_707 = lean_ctor_get(x_705, 1); +lean_inc(x_707); +lean_dec(x_705); +x_708 = l_Lean_Elab_Term_getCurrMacroScope(x_694, x_5, x_6, x_7, x_704, x_9, x_707); +lean_dec(x_704); +x_709 = lean_ctor_get(x_708, 0); +lean_inc(x_709); +x_710 = lean_ctor_get(x_708, 1); +lean_inc(x_710); +lean_dec(x_708); +x_711 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_710); +x_712 = lean_ctor_get(x_711, 0); +lean_inc(x_712); +x_713 = lean_ctor_get(x_711, 1); +lean_inc(x_713); +lean_dec(x_711); +x_714 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__10; +x_715 = l_Lean_addMacroScope(x_712, x_714, x_709); +x_716 = lean_box(0); +x_717 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; +x_718 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; +x_719 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_719, 0, x_706); +lean_ctor_set(x_719, 1, x_717); +lean_ctor_set(x_719, 2, x_715); +lean_ctor_set(x_719, 3, x_718); +x_720 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_713); +x_721 = lean_ctor_get(x_720, 0); +lean_inc(x_721); +x_722 = lean_ctor_get(x_720, 1); +lean_inc(x_722); +lean_dec(x_720); +x_723 = l_Lean_Elab_Term_getCurrMacroScope(x_694, x_5, x_6, x_7, x_8, x_9, x_722); +x_724 = lean_ctor_get(x_723, 0); +lean_inc(x_724); +x_725 = lean_ctor_get(x_723, 1); +lean_inc(x_725); +lean_dec(x_723); +x_726 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_725); +x_727 = lean_ctor_get(x_726, 0); +lean_inc(x_727); +x_728 = lean_ctor_get(x_726, 1); +lean_inc(x_728); +lean_dec(x_726); +x_729 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_721); +x_730 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_730, 0, x_721); +lean_ctor_set(x_730, 1, x_729); +x_731 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_721); +x_732 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_732, 0, x_721); +lean_ctor_set(x_732, 1, x_731); +x_733 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; +lean_inc(x_721); +x_734 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_734, 0, x_721); +lean_ctor_set(x_734, 1, x_733); +x_735 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_736 = lean_array_push(x_735, x_734); +x_737 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +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_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20; +lean_inc(x_724); +lean_inc(x_727); +x_740 = l_Lean_addMacroScope(x_727, x_739, x_724); +x_741 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19; +lean_inc(x_721); +x_742 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_742, 0, x_721); +lean_ctor_set(x_742, 1, x_741); +lean_ctor_set(x_742, 2, x_740); +lean_ctor_set(x_742, 3, x_716); +x_743 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +lean_inc(x_721); +x_744 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_744, 0, x_721); +lean_ctor_set(x_744, 1, x_743); +x_745 = lean_array_push(x_735, x_668); +x_746 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_746, 0, x_737); +lean_ctor_set(x_746, 1, x_745); +x_747 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_748 = lean_array_push(x_747, x_719); +x_749 = lean_array_push(x_748, x_746); +x_750 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +lean_inc(x_742); +x_753 = lean_array_push(x_752, x_742); +x_754 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_755 = lean_array_push(x_753, x_754); +x_756 = lean_array_push(x_755, x_754); +x_757 = lean_array_push(x_756, x_744); +lean_inc(x_757); +x_758 = lean_array_push(x_757, x_751); +x_759 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; +x_760 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_760, 0, x_759); +lean_ctor_set(x_760, 1, x_758); +x_761 = lean_array_push(x_735, x_760); +x_762 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; +x_763 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_763, 0, x_762); +lean_ctor_set(x_763, 1, x_761); +x_764 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_765 = lean_array_push(x_764, x_732); +x_766 = lean_array_push(x_765, x_738); +x_767 = lean_array_push(x_766, x_763); +x_768 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; +x_769 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_769, 0, x_768); +lean_ctor_set(x_769, 1, x_767); +x_770 = lean_array_push(x_747, x_769); +x_771 = lean_array_push(x_770, x_754); +x_772 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_773 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_773, 0, x_772); +lean_ctor_set(x_773, 1, x_771); +x_774 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21; +lean_inc(x_721); +x_775 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_775, 0, x_721); +lean_ctor_set(x_775, 1, x_774); +x_776 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__22; +x_777 = l_Lean_Syntax_SepArray_ofElems(x_776, x_669); +lean_dec(x_669); +x_778 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; +x_779 = l_Array_append___rarg(x_778, x_777); +lean_dec(x_777); +x_780 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_780, 0, x_737); +lean_ctor_set(x_780, 1, x_779); +x_781 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; +lean_inc(x_721); +x_782 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_782, 0, x_721); +lean_ctor_set(x_782, 1, x_781); +x_783 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29; +lean_inc(x_724); +lean_inc(x_727); +x_784 = l_Lean_addMacroScope(x_727, x_783, x_724); +x_785 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25; +x_786 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__31; +lean_inc(x_721); +x_787 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_787, 0, x_721); +lean_ctor_set(x_787, 1, x_785); +lean_ctor_set(x_787, 2, x_784); +lean_ctor_set(x_787, 3, x_786); +x_788 = lean_array_push(x_735, x_742); +x_789 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_789, 0, x_737); +lean_ctor_set(x_789, 1, x_788); +x_790 = lean_array_push(x_747, x_787); +x_791 = lean_array_push(x_790, x_789); +x_792 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_792, 0, x_750); +lean_ctor_set(x_792, 1, x_791); +x_793 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; +x_794 = lean_array_push(x_793, x_792); +x_795 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; +x_796 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_796, 0, x_795); +lean_ctor_set(x_796, 1, x_794); +x_797 = lean_array_push(x_735, x_796); +x_798 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_798, 0, x_737); +lean_ctor_set(x_798, 1, x_797); +x_799 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; +lean_inc(x_721); +x_800 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_800, 0, x_721); +lean_ctor_set(x_800, 1, x_799); +x_801 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; +lean_inc(x_721); +x_802 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_802, 0, x_721); +lean_ctor_set(x_802, 1, x_801); +x_803 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; +lean_inc(x_724); +lean_inc(x_727); +x_804 = l_Lean_addMacroScope(x_727, x_803, x_724); +x_805 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; +x_806 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; +lean_inc(x_721); +x_807 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_807, 0, x_721); +lean_ctor_set(x_807, 1, x_805); +lean_ctor_set(x_807, 2, x_804); +lean_ctor_set(x_807, 3, x_806); +x_808 = lean_array_push(x_735, x_807); +x_809 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_809, 0, x_737); +lean_ctor_set(x_809, 1, x_808); +x_810 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; +lean_inc(x_721); +x_811 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_811, 0, x_721); +lean_ctor_set(x_811, 1, x_810); +x_812 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; +lean_inc(x_721); +x_813 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_813, 0, x_721); +lean_ctor_set(x_813, 1, x_812); +x_814 = lean_array_push(x_735, x_813); +x_815 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; +x_816 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_816, 0, x_815); +lean_ctor_set(x_816, 1, x_814); +x_817 = lean_array_push(x_747, x_816); +x_818 = lean_array_push(x_817, x_754); +x_819 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_819, 0, x_772); +lean_ctor_set(x_819, 1, x_818); +x_820 = lean_array_push(x_735, x_819); +x_821 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_821, 0, x_737); +lean_ctor_set(x_821, 1, x_820); +x_822 = lean_array_push(x_735, x_821); +x_823 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_824 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_824, 0, x_823); +lean_ctor_set(x_824, 1, x_822); +x_825 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_826 = lean_array_push(x_825, x_802); +lean_inc(x_826); +x_827 = lean_array_push(x_826, x_809); +lean_inc(x_811); +x_828 = lean_array_push(x_827, x_811); +x_829 = lean_array_push(x_828, x_824); +x_830 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; +x_831 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_831, 0, x_830); +lean_ctor_set(x_831, 1, x_829); +x_832 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; +lean_inc(x_724); +lean_inc(x_727); +x_833 = l_Lean_addMacroScope(x_727, x_832, x_724); +x_834 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; +x_835 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; +lean_inc(x_721); +x_836 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_836, 0, x_721); +lean_ctor_set(x_836, 1, x_834); +lean_ctor_set(x_836, 2, x_833); +lean_ctor_set(x_836, 3, x_835); +x_837 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; +lean_inc(x_721); +x_838 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_838, 0, x_721); +lean_ctor_set(x_838, 1, x_837); +lean_inc(x_721); +x_839 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_839, 0, x_721); +lean_ctor_set(x_839, 1, x_776); +x_840 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__37; +x_841 = l_Lean_addMacroScope(x_727, x_840, x_724); +x_842 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36; +lean_inc(x_721); +x_843 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_843, 0, x_721); +lean_ctor_set(x_843, 1, x_842); +lean_ctor_set(x_843, 2, x_841); +lean_ctor_set(x_843, 3, x_716); +lean_inc(x_843); +x_844 = lean_array_push(x_735, x_843); +x_845 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_845, 0, x_737); +lean_ctor_set(x_845, 1, x_844); +x_846 = lean_array_push(x_747, x_839); +x_847 = lean_array_push(x_846, x_845); +x_848 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__33; +x_849 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_849, 0, x_848); +lean_ctor_set(x_849, 1, x_847); +x_850 = lean_array_push(x_735, x_849); +x_851 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_851, 0, x_737); +lean_ctor_set(x_851, 1, x_850); +x_852 = lean_array_push(x_747, x_666); +x_853 = lean_array_push(x_852, x_851); +x_854 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_854, 0, x_737); +lean_ctor_set(x_854, 1, x_853); +x_855 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; +x_856 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_856, 0, x_721); +lean_ctor_set(x_856, 1, x_855); +x_857 = lean_array_push(x_764, x_838); +x_858 = lean_array_push(x_857, x_854); +x_859 = lean_array_push(x_858, x_856); +x_860 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; +x_861 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_861, 0, x_860); +lean_ctor_set(x_861, 1, x_859); +x_862 = lean_array_push(x_735, x_861); +x_863 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_863, 0, x_737); +lean_ctor_set(x_863, 1, x_862); +x_864 = lean_array_push(x_747, x_836); +x_865 = lean_array_push(x_864, x_863); +x_866 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_866, 0, x_750); +lean_ctor_set(x_866, 1, x_865); +x_867 = lean_array_push(x_735, x_866); +x_868 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_868, 0, x_737); +lean_ctor_set(x_868, 1, x_867); +x_869 = lean_array_push(x_757, x_843); +x_870 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_870, 0, x_759); +lean_ctor_set(x_870, 1, x_869); +x_871 = lean_array_push(x_735, x_870); +x_872 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_873 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_873, 0, x_872); +lean_ctor_set(x_873, 1, x_871); +x_874 = lean_array_push(x_747, x_873); +x_875 = lean_array_push(x_874, x_754); +x_876 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_876, 0, x_772); +lean_ctor_set(x_876, 1, x_875); +lean_inc(x_730); +x_877 = lean_array_push(x_747, x_730); +lean_inc(x_877); +x_878 = lean_array_push(x_877, x_671); +x_879 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__9; +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 = lean_array_push(x_747, x_880); +x_882 = lean_array_push(x_881, x_754); +x_883 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_883, 0, x_772); +lean_ctor_set(x_883, 1, x_882); +x_884 = lean_array_push(x_747, x_876); +x_885 = lean_array_push(x_884, x_883); +x_886 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_886, 0, x_737); +lean_ctor_set(x_886, 1, x_885); +x_887 = lean_array_push(x_735, x_886); +x_888 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_888, 0, x_823); +lean_ctor_set(x_888, 1, x_887); +x_889 = lean_array_push(x_826, x_868); +x_890 = lean_array_push(x_889, x_811); +x_891 = lean_array_push(x_890, x_888); +x_892 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_892, 0, x_830); +lean_ctor_set(x_892, 1, x_891); +x_893 = lean_array_push(x_747, x_831); +x_894 = lean_array_push(x_893, x_892); +x_895 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_895, 0, x_737); +lean_ctor_set(x_895, 1, x_894); +x_896 = lean_array_push(x_735, x_895); +x_897 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; +x_898 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_898, 0, x_897); +lean_ctor_set(x_898, 1, x_896); +x_899 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; +x_900 = lean_array_push(x_899, x_782); +x_901 = lean_array_push(x_900, x_754); +x_902 = lean_array_push(x_901, x_798); +x_903 = lean_array_push(x_902, x_754); +x_904 = lean_array_push(x_903, x_800); +x_905 = lean_array_push(x_904, x_898); +x_906 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; +x_907 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_907, 0, x_906); +lean_ctor_set(x_907, 1, x_905); +x_908 = lean_array_push(x_747, x_907); +x_909 = lean_array_push(x_908, x_754); +x_910 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_910, 0, x_772); +lean_ctor_set(x_910, 1, x_909); +x_911 = lean_array_push(x_735, x_910); +x_912 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_912, 0, x_737); lean_ctor_set(x_912, 1, x_911); -x_913 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_903); -x_914 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_914, 0, x_903); +x_913 = lean_array_push(x_735, x_912); +x_914 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_914, 0, x_823); lean_ctor_set(x_914, 1, x_913); -x_915 = l_Lean_addMacroScope(x_909, x_895, x_906); -lean_inc(x_903); -x_916 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_916, 0, x_903); -lean_ctor_set(x_916, 1, x_898); -lean_ctor_set(x_916, 2, x_915); -lean_ctor_set(x_916, 3, x_897); -x_917 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_918 = lean_array_push(x_917, x_19); -x_919 = lean_array_push(x_918, x_916); -x_920 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_921 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_921, 0, x_920); -lean_ctor_set(x_921, 1, x_919); -x_922 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -x_923 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_923, 0, x_903); +x_915 = lean_array_push(x_825, x_775); +x_916 = lean_array_push(x_915, x_780); +x_917 = lean_array_push(x_916, x_730); +x_918 = lean_array_push(x_917, x_914); +x_919 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__5; +x_920 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_920, 0, x_919); +lean_ctor_set(x_920, 1, x_918); +x_921 = lean_array_push(x_747, x_920); +x_922 = lean_array_push(x_921, x_754); +x_923 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_923, 0, x_772); lean_ctor_set(x_923, 1, x_922); -x_924 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_925 = lean_array_push(x_924, x_921); -x_926 = lean_array_push(x_925, x_923); -x_927 = lean_array_push(x_926, x_900); -x_928 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_929 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_929, 0, x_928); -lean_ctor_set(x_929, 1, x_927); -x_930 = lean_array_push(x_917, x_914); -x_931 = lean_array_push(x_930, x_929); -x_932 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_933 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_933, 0, x_932); -lean_ctor_set(x_933, 1, x_931); -x_934 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_935 = lean_array_push(x_934, x_912); -x_936 = lean_array_push(x_935, x_859); -lean_inc(x_882); -x_937 = lean_array_push(x_936, x_882); -x_938 = lean_array_push(x_937, x_933); -x_939 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2; -x_940 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_940, 0, x_939); -lean_ctor_set(x_940, 1, x_938); -x_941 = l_List_isEmpty___rarg(x_2); -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; 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_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; 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_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; -x_942 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_850, x_9, x_910); -x_943 = lean_ctor_get(x_942, 0); -lean_inc(x_943); -x_944 = lean_ctor_get(x_942, 1); -lean_inc(x_944); -lean_dec(x_942); -x_945 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_850, x_9, x_944); -x_946 = lean_ctor_get(x_945, 0); -lean_inc(x_946); -x_947 = lean_ctor_get(x_945, 1); -lean_inc(x_947); -lean_dec(x_945); -x_948 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_947); -x_949 = lean_ctor_get(x_948, 0); -lean_inc(x_949); -x_950 = lean_ctor_get(x_948, 1); -lean_inc(x_950); -lean_dec(x_948); -x_951 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_943); -x_952 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_952, 0, x_943); -lean_ctor_set(x_952, 1, x_951); -x_953 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_943); -x_954 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_954, 0, x_943); -lean_ctor_set(x_954, 1, x_953); -x_955 = l_Lean_addMacroScope(x_949, x_895, x_946); -lean_inc(x_943); -x_956 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_956, 0, x_943); -lean_ctor_set(x_956, 1, x_898); -lean_ctor_set(x_956, 2, x_955); -lean_ctor_set(x_956, 3, x_897); -x_957 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_943); -x_958 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_958, 0, x_943); -lean_ctor_set(x_958, 1, x_957); -x_959 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_960 = lean_array_push(x_959, x_940); -x_961 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_962 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_962, 0, x_961); -lean_ctor_set(x_962, 1, x_960); -lean_inc(x_956); -x_963 = lean_array_push(x_934, x_956); -x_964 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_965 = lean_array_push(x_963, x_964); -x_966 = lean_array_push(x_965, x_958); -x_967 = lean_array_push(x_966, x_962); -x_968 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_969 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_969, 0, x_968); -lean_ctor_set(x_969, 1, x_967); -x_970 = lean_array_push(x_924, x_954); -x_971 = lean_array_push(x_970, x_964); -x_972 = lean_array_push(x_971, x_969); -x_973 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_974 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_974, 0, x_973); -lean_ctor_set(x_974, 1, x_972); -x_975 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_943); -x_976 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_976, 0, x_943); -lean_ctor_set(x_976, 1, x_975); -x_977 = lean_array_push(x_959, x_976); -x_978 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_978, 0, x_920); -lean_ctor_set(x_978, 1, x_977); -x_979 = lean_array_push(x_917, x_974); -x_980 = lean_array_push(x_979, x_978); -x_981 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_982 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_982, 0, x_981); -lean_ctor_set(x_982, 1, x_980); -x_983 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_984 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_984, 0, x_943); -lean_ctor_set(x_984, 1, x_983); -x_985 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_986 = lean_array_push(x_985, x_882); -x_987 = lean_array_push(x_986, x_964); -x_988 = lean_array_push(x_987, x_964); -x_989 = lean_array_push(x_988, x_984); -x_990 = lean_array_push(x_989, x_956); -x_991 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_992 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_992, 0, x_991); -lean_ctor_set(x_992, 1, x_990); -x_993 = lean_array_push(x_959, x_992); -x_994 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___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); -x_996 = lean_array_push(x_917, x_995); -x_997 = lean_array_push(x_996, x_964); -x_998 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_998, 0, x_981); -lean_ctor_set(x_998, 1, x_997); -x_999 = lean_array_push(x_917, x_982); -x_1000 = lean_array_push(x_999, x_998); -x_1001 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1001, 0, x_920); -lean_ctor_set(x_1001, 1, x_1000); -x_1002 = lean_array_push(x_959, x_1001); -x_1003 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_1004 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1004, 0, x_1003); -lean_ctor_set(x_1004, 1, x_1002); -x_1005 = lean_array_push(x_917, x_952); -x_1006 = lean_array_push(x_1005, x_1004); -x_1007 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1008 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1008, 0, x_1007); -lean_ctor_set(x_1008, 1, x_1006); -x_1009 = l_Lean_Syntax_getArg(x_1008, x_11); -lean_dec(x_1008); -x_1010 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1009); -x_1011 = l_List_append___rarg(x_1010, x_2); -x_1012 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_1011, x_3, x_4, x_5, x_6, x_7, x_850, x_9, x_950); -return x_1012; -} -else -{ -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; 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_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; -lean_dec(x_2); -x_1013 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_850, x_9, x_910); -x_1014 = lean_ctor_get(x_1013, 0); -lean_inc(x_1014); -x_1015 = lean_ctor_get(x_1013, 1); -lean_inc(x_1015); -lean_dec(x_1013); -x_1016 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_850, x_9, x_1015); -x_1017 = lean_ctor_get(x_1016, 0); -lean_inc(x_1017); -x_1018 = lean_ctor_get(x_1016, 1); -lean_inc(x_1018); -lean_dec(x_1016); -x_1019 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1018); -x_1020 = lean_ctor_get(x_1019, 0); -lean_inc(x_1020); -x_1021 = lean_ctor_get(x_1019, 1); -lean_inc(x_1021); -lean_dec(x_1019); -x_1022 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_1014); -x_1023 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1023, 0, x_1014); -lean_ctor_set(x_1023, 1, x_1022); -x_1024 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_1014); -x_1025 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1025, 0, x_1014); -lean_ctor_set(x_1025, 1, x_1024); -lean_inc(x_1017); -lean_inc(x_1020); -x_1026 = l_Lean_addMacroScope(x_1020, x_895, x_1017); -lean_inc(x_1014); -x_1027 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1027, 0, x_1014); -lean_ctor_set(x_1027, 1, x_898); -lean_ctor_set(x_1027, 2, x_1026); -lean_ctor_set(x_1027, 3, x_897); -x_1028 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_1014); -x_1029 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1029, 0, x_1014); -lean_ctor_set(x_1029, 1, x_1028); -x_1030 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1031 = lean_array_push(x_1030, x_940); -x_1032 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_1033 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1033, 0, x_1032); -lean_ctor_set(x_1033, 1, x_1031); -lean_inc(x_1027); -x_1034 = lean_array_push(x_934, x_1027); -x_1035 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1036 = lean_array_push(x_1034, x_1035); -x_1037 = lean_array_push(x_1036, x_1029); -x_1038 = lean_array_push(x_1037, x_1033); -x_1039 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -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_924, x_1025); -x_1042 = lean_array_push(x_1041, x_1035); -x_1043 = lean_array_push(x_1042, x_1040); -x_1044 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_1045 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1045, 0, x_1044); -lean_ctor_set(x_1045, 1, x_1043); -x_1046 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_1014); -x_1047 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1047, 0, x_1014); -lean_ctor_set(x_1047, 1, x_1046); -x_1048 = lean_array_push(x_1030, x_1047); -x_1049 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1049, 0, x_920); -lean_ctor_set(x_1049, 1, x_1048); -x_1050 = lean_array_push(x_917, x_1045); -lean_inc(x_1049); -x_1051 = lean_array_push(x_1050, x_1049); -x_1052 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_1053 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1053, 0, x_1052); -lean_ctor_set(x_1053, 1, x_1051); -x_1054 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_1014); -x_1055 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1055, 0, x_1014); -lean_ctor_set(x_1055, 1, x_1054); -x_1056 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_1057 = lean_array_push(x_1056, x_882); -x_1058 = lean_array_push(x_1057, x_1035); -x_1059 = lean_array_push(x_1058, x_1035); -x_1060 = lean_array_push(x_1059, x_1055); -x_1061 = lean_array_push(x_1060, x_1027); -x_1062 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_1063 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1063, 0, x_1062); -lean_ctor_set(x_1063, 1, x_1061); -x_1064 = lean_array_push(x_1030, x_1063); -x_1065 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_1066 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1066, 0, x_1065); -lean_ctor_set(x_1066, 1, x_1064); -x_1067 = lean_array_push(x_917, x_1066); -x_1068 = lean_array_push(x_1067, x_1049); -x_1069 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1069, 0, x_1052); -lean_ctor_set(x_1069, 1, x_1068); -x_1070 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1017); -lean_inc(x_1020); -x_1071 = l_Lean_addMacroScope(x_1020, x_1070, x_1017); -x_1072 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1073 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1014); -x_1074 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1074, 0, x_1014); -lean_ctor_set(x_1074, 1, x_1072); -lean_ctor_set(x_1074, 2, x_1071); -lean_ctor_set(x_1074, 3, x_1073); -x_1075 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1014); -x_1076 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1076, 0, x_1014); -lean_ctor_set(x_1076, 1, x_1075); -x_1077 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_1014); -x_1078 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1078, 0, x_1014); -lean_ctor_set(x_1078, 1, x_1077); -x_1079 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; -lean_inc(x_1014); -x_1080 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1080, 0, x_1014); -lean_ctor_set(x_1080, 1, x_1079); -x_1081 = lean_array_push(x_1030, x_1080); -x_1082 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -x_1083 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1083, 0, x_1082); -lean_ctor_set(x_1083, 1, x_1081); -x_1084 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; -x_1085 = l_Lean_addMacroScope(x_1020, x_1084, x_1017); -x_1086 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -x_1087 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; -lean_inc(x_1014); -x_1088 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1088, 0, x_1014); -lean_ctor_set(x_1088, 1, x_1086); -lean_ctor_set(x_1088, 2, x_1085); -lean_ctor_set(x_1088, 3, x_1087); -x_1089 = lean_array_push(x_924, x_1078); -x_1090 = lean_array_push(x_1089, x_1083); -x_1091 = lean_array_push(x_1090, x_1088); -x_1092 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -x_1093 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1093, 0, x_1092); -lean_ctor_set(x_1093, 1, x_1091); -x_1094 = lean_array_push(x_917, x_1093); -x_1095 = lean_array_push(x_1094, x_1035); -x_1096 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1096, 0, x_920); -lean_ctor_set(x_1096, 1, x_1095); -x_1097 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_1098 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1098, 0, x_1014); -lean_ctor_set(x_1098, 1, x_1097); -x_1099 = lean_array_push(x_924, x_1076); -x_1100 = lean_array_push(x_1099, x_1096); -x_1101 = lean_array_push(x_1100, x_1098); -x_1102 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1103, 0, x_1102); -lean_ctor_set(x_1103, 1, x_1101); -x_1104 = lean_array_push(x_1030, x_1103); -x_1105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1105, 0, x_920); -lean_ctor_set(x_1105, 1, x_1104); -x_1106 = lean_array_push(x_917, x_1074); -x_1107 = lean_array_push(x_1106, x_1105); -x_1108 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1109, 0, x_1108); -lean_ctor_set(x_1109, 1, x_1107); -x_1110 = lean_array_push(x_1030, x_1109); -x_1111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1111, 0, x_1032); -lean_ctor_set(x_1111, 1, x_1110); -x_1112 = lean_array_push(x_917, x_1111); -x_1113 = lean_array_push(x_1112, x_1035); -x_1114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1114, 0, x_1052); -lean_ctor_set(x_1114, 1, x_1113); -x_1115 = lean_array_push(x_924, x_1053); -x_1116 = lean_array_push(x_1115, x_1069); -x_1117 = lean_array_push(x_1116, x_1114); -x_1118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1118, 0, x_920); -lean_ctor_set(x_1118, 1, x_1117); -x_1119 = lean_array_push(x_1030, x_1118); -x_1120 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_1121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1121, 0, x_1120); -lean_ctor_set(x_1121, 1, x_1119); -x_1122 = lean_array_push(x_917, x_1023); -x_1123 = lean_array_push(x_1122, x_1121); -x_1124 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1125, 0, x_1124); -lean_ctor_set(x_1125, 1, x_1123); -x_1126 = l_Lean_Syntax_getArg(x_1125, x_11); -lean_dec(x_1125); -x_1127 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1126); -x_1128 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_1127, x_3, x_4, x_5, x_6, x_7, x_850, x_9, x_1021); -return x_1128; -} -} -} -else -{ -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_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; -x_1184 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_850, x_9, x_883); -x_1185 = lean_ctor_get(x_1184, 0); -lean_inc(x_1185); -x_1186 = lean_ctor_get(x_1184, 1); -lean_inc(x_1186); -lean_dec(x_1184); -x_1187 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_850, x_9, x_1186); -x_1188 = lean_ctor_get(x_1187, 0); -lean_inc(x_1188); -x_1189 = lean_ctor_get(x_1187, 1); -lean_inc(x_1189); -lean_dec(x_1187); -x_1190 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1189); -x_1191 = lean_ctor_get(x_1190, 0); -lean_inc(x_1191); -x_1192 = lean_ctor_get(x_1190, 1); -lean_inc(x_1192); -lean_dec(x_1190); -x_1193 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_1194 = l_Lean_addMacroScope(x_1191, x_1193, x_1188); -x_1195 = lean_box(0); -x_1196 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -x_1197 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1197, 0, x_1185); -lean_ctor_set(x_1197, 1, x_1196); -lean_ctor_set(x_1197, 2, x_1194); -lean_ctor_set(x_1197, 3, x_1195); -x_1511 = lean_st_ref_get(x_9, x_1192); -x_1512 = lean_ctor_get(x_1511, 0); -lean_inc(x_1512); -x_1513 = lean_ctor_get(x_1511, 1); -lean_inc(x_1513); -lean_dec(x_1511); -x_1514 = lean_ctor_get(x_1512, 0); -lean_inc(x_1514); -lean_dec(x_1512); -lean_inc(x_1514); -x_1515 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_1515, 0, x_1514); -lean_inc(x_845); -x_1516 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_1516, 0, x_845); -lean_inc(x_1514); -x_1517 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_1517, 0, x_1514); -lean_inc(x_846); -lean_inc(x_845); -lean_inc(x_1514); -x_1518 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_1518, 0, x_1514); -lean_closure_set(x_1518, 1, x_845); -lean_closure_set(x_1518, 2, x_846); -lean_inc(x_1514); -x_1519 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_1519, 0, x_1514); -lean_closure_set(x_1519, 1, x_845); -lean_closure_set(x_1519, 2, x_846); -x_1520 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_1520, 0, x_1515); -lean_ctor_set(x_1520, 1, x_1516); -lean_ctor_set(x_1520, 2, x_1517); -lean_ctor_set(x_1520, 3, x_1518); -lean_ctor_set(x_1520, 4, x_1519); -x_1521 = x_1520; -x_1522 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_850, x_9, x_1513); -x_1523 = lean_ctor_get(x_1522, 0); -lean_inc(x_1523); -x_1524 = lean_ctor_get(x_1522, 1); -lean_inc(x_1524); -lean_dec(x_1522); -x_1525 = lean_st_ref_get(x_9, x_1524); -x_1526 = lean_ctor_get(x_1525, 0); -lean_inc(x_1526); -x_1527 = lean_ctor_get(x_1525, 1); -lean_inc(x_1527); -lean_dec(x_1525); -x_1528 = lean_ctor_get(x_1526, 1); -lean_inc(x_1528); -lean_dec(x_1526); -x_1529 = lean_environment_main_module(x_1514); -x_1530 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_1530, 0, x_1521); -lean_ctor_set(x_1530, 1, x_1529); -lean_ctor_set(x_1530, 2, x_1523); -lean_ctor_set(x_1530, 3, x_842); -lean_ctor_set(x_1530, 4, x_843); -lean_ctor_set(x_1530, 5, x_849); -x_1531 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1531, 0, x_1528); -lean_ctor_set(x_1531, 1, x_1195); -x_1532 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(x_874, x_1197, x_875, x_1530, x_1531); -if (lean_obj_tag(x_1532) == 0) -{ -lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; -x_1533 = lean_ctor_get(x_1532, 0); -lean_inc(x_1533); -x_1534 = lean_ctor_get(x_1532, 1); -lean_inc(x_1534); -lean_dec(x_1532); -x_1535 = lean_ctor_get(x_1534, 0); -lean_inc(x_1535); -x_1536 = lean_st_ref_take(x_9, x_1527); -x_1537 = lean_ctor_get(x_1536, 0); -lean_inc(x_1537); -x_1538 = lean_ctor_get(x_1536, 1); -lean_inc(x_1538); -lean_dec(x_1536); -x_1539 = lean_ctor_get(x_1537, 0); -lean_inc(x_1539); -x_1540 = lean_ctor_get(x_1537, 2); -lean_inc(x_1540); -x_1541 = lean_ctor_get(x_1537, 3); -lean_inc(x_1541); -if (lean_is_exclusive(x_1537)) { - lean_ctor_release(x_1537, 0); - lean_ctor_release(x_1537, 1); - lean_ctor_release(x_1537, 2); - lean_ctor_release(x_1537, 3); - x_1542 = x_1537; -} else { - lean_dec_ref(x_1537); - x_1542 = lean_box(0); -} -if (lean_is_scalar(x_1542)) { - x_1543 = lean_alloc_ctor(0, 4, 0); -} else { - x_1543 = x_1542; -} -lean_ctor_set(x_1543, 0, x_1539); -lean_ctor_set(x_1543, 1, x_1535); -lean_ctor_set(x_1543, 2, x_1540); -lean_ctor_set(x_1543, 3, x_1541); -x_1544 = lean_st_ref_set(x_9, x_1543, x_1538); -x_1545 = lean_ctor_get(x_1544, 1); -lean_inc(x_1545); -lean_dec(x_1544); -x_1546 = lean_ctor_get(x_1534, 1); -lean_inc(x_1546); -lean_dec(x_1534); -x_1547 = l_List_reverse___rarg(x_1546); -x_1548 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_1547, x_3, x_4, x_5, x_6, x_7, x_850, x_9, x_1545); -x_1549 = lean_ctor_get(x_1548, 1); -lean_inc(x_1549); -lean_dec(x_1548); -x_1198 = x_1533; -x_1199 = x_1549; -goto block_1510; -} -else -{ -lean_object* x_1550; -lean_dec(x_882); -lean_dec(x_859); -lean_dec(x_19); -lean_dec(x_2); -x_1550 = lean_ctor_get(x_1532, 0); -lean_inc(x_1550); -lean_dec(x_1532); -if (lean_obj_tag(x_1550) == 0) -{ -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; -x_1551 = lean_ctor_get(x_1550, 0); -lean_inc(x_1551); -x_1552 = lean_ctor_get(x_1550, 1); -lean_inc(x_1552); -lean_dec(x_1550); -x_1553 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1553, 0, x_1552); -x_1554 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1554, 0, x_1553); -x_1555 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_1551, x_1554, x_3, x_4, x_5, x_6, x_7, x_850, x_9, x_1527); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1551); -x_1556 = lean_ctor_get(x_1555, 0); -lean_inc(x_1556); -x_1557 = lean_ctor_get(x_1555, 1); -lean_inc(x_1557); -if (lean_is_exclusive(x_1555)) { - lean_ctor_release(x_1555, 0); - lean_ctor_release(x_1555, 1); - x_1558 = x_1555; -} else { - lean_dec_ref(x_1555); - x_1558 = lean_box(0); -} -if (lean_is_scalar(x_1558)) { - x_1559 = lean_alloc_ctor(1, 2, 0); -} else { - x_1559 = x_1558; -} -lean_ctor_set(x_1559, 0, x_1556); -lean_ctor_set(x_1559, 1, x_1557); -return x_1559; -} -else -{ -lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; -lean_dec(x_850); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1560 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__6___rarg(x_1527); -x_1561 = lean_ctor_get(x_1560, 0); -lean_inc(x_1561); -x_1562 = lean_ctor_get(x_1560, 1); -lean_inc(x_1562); -if (lean_is_exclusive(x_1560)) { - lean_ctor_release(x_1560, 0); - lean_ctor_release(x_1560, 1); - x_1563 = x_1560; -} else { - lean_dec_ref(x_1560); - x_1563 = lean_box(0); -} -if (lean_is_scalar(x_1563)) { - x_1564 = lean_alloc_ctor(1, 2, 0); -} else { - x_1564 = x_1563; -} -lean_ctor_set(x_1564, 0, x_1561); -lean_ctor_set(x_1564, 1, x_1562); -return x_1564; -} -} -block_1510: -{ -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; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; 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; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; -x_1200 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_850, x_9, x_1199); -x_1201 = lean_ctor_get(x_1200, 0); -lean_inc(x_1201); -x_1202 = lean_ctor_get(x_1200, 1); -lean_inc(x_1202); -lean_dec(x_1200); -x_1203 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_850, x_9, x_1202); -x_1204 = lean_ctor_get(x_1203, 0); -lean_inc(x_1204); -x_1205 = lean_ctor_get(x_1203, 1); -lean_inc(x_1205); -lean_dec(x_1203); -x_1206 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1205); -x_1207 = lean_ctor_get(x_1206, 0); -lean_inc(x_1207); -x_1208 = lean_ctor_get(x_1206, 1); -lean_inc(x_1208); -lean_dec(x_1206); -x_1209 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__3; -lean_inc(x_1201); -x_1210 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1210, 0, x_1201); -lean_ctor_set(x_1210, 1, x_1209); -x_1211 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1201); -x_1212 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1212, 0, x_1201); -lean_ctor_set(x_1212, 1, x_1211); -x_1213 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; -lean_inc(x_1204); -lean_inc(x_1207); -x_1214 = l_Lean_addMacroScope(x_1207, x_1213, x_1204); -x_1215 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_1216 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_1201); -x_1217 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1217, 0, x_1201); -lean_ctor_set(x_1217, 1, x_1215); -lean_ctor_set(x_1217, 2, x_1214); -lean_ctor_set(x_1217, 3, x_1216); -x_1218 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -lean_inc(x_1204); -lean_inc(x_1207); -x_1219 = l_Lean_addMacroScope(x_1207, x_1218, x_1204); -x_1220 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_1221 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -lean_inc(x_1201); -x_1222 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1222, 0, x_1201); -lean_ctor_set(x_1222, 1, x_1220); -lean_ctor_set(x_1222, 2, x_1219); -lean_ctor_set(x_1222, 3, x_1221); -x_1223 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1224 = lean_array_push(x_1223, x_1222); -lean_inc(x_882); -x_1225 = lean_array_push(x_1224, x_882); -x_1226 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1227, 0, x_1226); -lean_ctor_set(x_1227, 1, x_1225); -x_1228 = lean_array_push(x_1223, x_1217); -x_1229 = lean_array_push(x_1228, x_1227); -x_1230 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__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 = lean_array_push(x_1223, x_1231); -x_1233 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1234 = lean_array_push(x_1232, x_1233); -x_1235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1235, 0, x_1226); -lean_ctor_set(x_1235, 1, x_1234); -x_1236 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -lean_inc(x_1201); -x_1237 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1237, 0, x_1201); -lean_ctor_set(x_1237, 1, x_1236); -x_1238 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1239 = lean_array_push(x_1238, x_1212); -x_1240 = lean_array_push(x_1239, x_1235); -x_1241 = lean_array_push(x_1240, x_1237); -x_1242 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1243, 0, x_1242); -lean_ctor_set(x_1243, 1, x_1241); -x_1244 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__1; -lean_inc(x_1201); -x_1245 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1245, 0, x_1201); -lean_ctor_set(x_1245, 1, x_1244); -x_1246 = l_Lean_addMacroScope(x_1207, x_1193, x_1204); -lean_inc(x_1201); -x_1247 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1247, 0, x_1201); -lean_ctor_set(x_1247, 1, x_1196); -lean_ctor_set(x_1247, 2, x_1246); -lean_ctor_set(x_1247, 3, x_1195); -x_1248 = lean_array_push(x_1223, x_19); -lean_inc(x_1247); -x_1249 = lean_array_push(x_1248, x_1247); -x_1250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1250, 0, x_1226); -lean_ctor_set(x_1250, 1, x_1249); -x_1251 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1201); -x_1252 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1252, 0, x_1201); -lean_ctor_set(x_1252, 1, x_1251); -x_1253 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_1201); -x_1254 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1254, 0, x_1201); -lean_ctor_set(x_1254, 1, x_1253); -x_1255 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_1201); -x_1256 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1256, 0, x_1201); -lean_ctor_set(x_1256, 1, x_1255); -x_1257 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__17; -lean_inc(x_1201); -x_1258 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1258, 0, x_1201); -lean_ctor_set(x_1258, 1, x_1257); -x_1259 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__23; -lean_inc(x_1201); -x_1260 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1260, 0, x_1201); -lean_ctor_set(x_1260, 1, x_1259); -x_1261 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1262 = lean_array_push(x_1261, x_1260); -x_1263 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -x_1264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1264, 0, x_1263); -lean_ctor_set(x_1264, 1, x_1262); -lean_inc(x_1247); -x_1265 = lean_array_push(x_1238, x_1247); -x_1266 = lean_array_push(x_1265, x_1258); -x_1267 = lean_array_push(x_1266, x_1264); -x_1268 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__16; -x_1269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1269, 0, x_1268); -lean_ctor_set(x_1269, 1, x_1267); -x_1270 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_1271 = lean_array_push(x_1270, x_1247); -x_1272 = lean_array_push(x_1271, x_1233); -x_1273 = lean_array_push(x_1272, x_1233); -x_1274 = lean_array_push(x_1273, x_1256); -x_1275 = lean_array_push(x_1274, x_1269); -x_1276 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_1277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1277, 0, x_1276); -lean_ctor_set(x_1277, 1, x_1275); -x_1278 = lean_array_push(x_1261, x_1277); -x_1279 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -x_1282 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1282, 0, x_1201); -lean_ctor_set(x_1282, 1, x_1281); -x_1283 = lean_array_push(x_1261, x_1282); -x_1284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1284, 0, x_1226); -lean_ctor_set(x_1284, 1, x_1283); -x_1285 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_1286 = lean_array_push(x_1285, x_1254); -x_1287 = lean_array_push(x_1286, x_1280); -x_1288 = lean_array_push(x_1287, x_1284); -x_1289 = lean_array_push(x_1288, x_1198); -x_1290 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__10; -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_array_push(x_1238, x_1250); -x_1293 = lean_array_push(x_1292, x_1252); -x_1294 = lean_array_push(x_1293, x_1291); -x_1295 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__9; -x_1296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1296, 0, x_1295); -lean_ctor_set(x_1296, 1, x_1294); -x_1297 = lean_array_push(x_1223, x_1245); -x_1298 = lean_array_push(x_1297, x_1296); -x_1299 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__2; -x_1300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1300, 0, x_1299); -lean_ctor_set(x_1300, 1, x_1298); -x_1301 = lean_array_push(x_1285, x_1210); -x_1302 = lean_array_push(x_1301, x_859); -x_1303 = lean_array_push(x_1302, x_1243); -x_1304 = lean_array_push(x_1303, x_1300); -x_1305 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2; -x_1306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1306, 0, x_1305); -lean_ctor_set(x_1306, 1, x_1304); -x_1307 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_850, x_9, x_1208); -x_1308 = lean_ctor_get(x_1307, 0); -lean_inc(x_1308); -x_1309 = lean_ctor_get(x_1307, 1); -lean_inc(x_1309); -lean_dec(x_1307); -x_1310 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_850, x_9, x_1309); -x_1311 = lean_ctor_get(x_1310, 0); -lean_inc(x_1311); -x_1312 = lean_ctor_get(x_1310, 1); -lean_inc(x_1312); -lean_dec(x_1310); -x_1313 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1312); -x_1314 = lean_ctor_get(x_1313, 0); -lean_inc(x_1314); -x_1315 = lean_ctor_get(x_1313, 1); -lean_inc(x_1315); -lean_dec(x_1313); -x_1316 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_1308); -x_1317 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1317, 0, x_1308); -lean_ctor_set(x_1317, 1, x_1316); -lean_inc(x_1308); -x_1318 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1318, 0, x_1308); -lean_ctor_set(x_1318, 1, x_1253); -lean_inc(x_1311); -lean_inc(x_1314); -x_1319 = l_Lean_addMacroScope(x_1314, x_1193, x_1311); -lean_inc(x_1308); -x_1320 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1320, 0, x_1308); -lean_ctor_set(x_1320, 1, x_1196); -lean_ctor_set(x_1320, 2, x_1319); -lean_ctor_set(x_1320, 3, x_1195); -x_1321 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_1308); -x_1322 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1322, 0, x_1308); -lean_ctor_set(x_1322, 1, x_1321); -x_1323 = lean_array_push(x_1261, x_1306); -x_1324 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_1325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1325, 0, x_1324); -lean_ctor_set(x_1325, 1, x_1323); -lean_inc(x_1320); -x_1326 = lean_array_push(x_1285, x_1320); -x_1327 = lean_array_push(x_1326, x_1233); -x_1328 = lean_array_push(x_1327, x_1322); -x_1329 = lean_array_push(x_1328, x_1325); -x_1330 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; -x_1331 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1331, 0, x_1330); -lean_ctor_set(x_1331, 1, x_1329); -x_1332 = lean_array_push(x_1238, x_1318); -x_1333 = lean_array_push(x_1332, x_1233); -x_1334 = lean_array_push(x_1333, x_1331); -x_1335 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_1336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1336, 0, x_1335); -lean_ctor_set(x_1336, 1, x_1334); -lean_inc(x_1308); -x_1337 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1337, 0, x_1308); -lean_ctor_set(x_1337, 1, x_1281); -x_1338 = lean_array_push(x_1261, x_1337); -x_1339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1339, 0, x_1226); -lean_ctor_set(x_1339, 1, x_1338); -x_1340 = lean_array_push(x_1223, x_1336); -lean_inc(x_1339); -x_1341 = lean_array_push(x_1340, x_1339); -x_1342 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_1343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1343, 0, x_1342); -lean_ctor_set(x_1343, 1, x_1341); -lean_inc(x_1308); -x_1344 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1344, 0, x_1308); -lean_ctor_set(x_1344, 1, x_1255); -lean_inc(x_1308); -x_1345 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1345, 0, x_1308); -lean_ctor_set(x_1345, 1, x_1257); -lean_inc(x_1308); -x_1346 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1346, 0, x_1308); -lean_ctor_set(x_1346, 1, x_1259); -x_1347 = lean_array_push(x_1261, x_1346); -x_1348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1348, 0, x_1263); -lean_ctor_set(x_1348, 1, x_1347); -x_1349 = lean_array_push(x_1238, x_1320); -x_1350 = lean_array_push(x_1349, x_1345); -lean_inc(x_1350); -x_1351 = lean_array_push(x_1350, x_1348); -x_1352 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1352, 0, x_1268); -lean_ctor_set(x_1352, 1, x_1351); -x_1353 = lean_array_push(x_1270, x_882); -x_1354 = lean_array_push(x_1353, x_1233); -x_1355 = lean_array_push(x_1354, x_1233); -x_1356 = lean_array_push(x_1355, x_1344); -x_1357 = lean_array_push(x_1356, x_1352); -x_1358 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_1359 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1359, 0, x_1358); -lean_ctor_set(x_1359, 1, x_1357); -x_1360 = lean_array_push(x_1261, x_1359); -x_1361 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_1362 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1362, 0, x_1361); -lean_ctor_set(x_1362, 1, x_1360); -x_1363 = lean_array_push(x_1223, x_1362); -x_1364 = lean_array_push(x_1363, x_1339); -x_1365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1365, 0, x_1342); -lean_ctor_set(x_1365, 1, x_1364); -x_1366 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_1308); -x_1367 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1367, 0, x_1308); -lean_ctor_set(x_1367, 1, x_1366); -x_1368 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__20; -lean_inc(x_1308); -x_1369 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1369, 0, x_1308); -lean_ctor_set(x_1369, 1, x_1368); -x_1370 = lean_array_push(x_1261, x_1369); -x_1371 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1371, 0, x_1263); -lean_ctor_set(x_1371, 1, x_1370); -x_1372 = lean_array_push(x_1350, x_1371); -x_1373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1373, 0, x_1268); -lean_ctor_set(x_1373, 1, x_1372); -x_1374 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; -x_1375 = lean_array_push(x_1374, x_1373); -x_1376 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -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_1261, x_1377); -x_1379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1379, 0, x_1226); -lean_ctor_set(x_1379, 1, x_1378); -x_1380 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_1308); -x_1381 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1381, 0, x_1308); -lean_ctor_set(x_1381, 1, x_1380); -x_1382 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_1308); -x_1383 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1383, 0, x_1308); -lean_ctor_set(x_1383, 1, x_1382); -lean_inc(x_1311); -lean_inc(x_1314); -x_1384 = l_Lean_addMacroScope(x_1314, x_1218, x_1311); -lean_inc(x_1308); -x_1385 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1385, 0, x_1308); -lean_ctor_set(x_1385, 1, x_1220); -lean_ctor_set(x_1385, 2, x_1384); -lean_ctor_set(x_1385, 3, x_1221); -x_1386 = lean_array_push(x_1261, x_1385); -x_1387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1387, 0, x_1226); -lean_ctor_set(x_1387, 1, x_1386); -lean_inc(x_1308); -x_1388 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1388, 0, x_1308); -lean_ctor_set(x_1388, 1, x_1251); -x_1389 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9; -lean_inc(x_1311); -lean_inc(x_1314); -x_1390 = l_Lean_addMacroScope(x_1314, x_1389, x_1311); -x_1391 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__5; -x_1392 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__11; -lean_inc(x_1308); -x_1393 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1393, 0, x_1308); -lean_ctor_set(x_1393, 1, x_1391); -lean_ctor_set(x_1393, 2, x_1390); -lean_ctor_set(x_1393, 3, x_1392); -lean_inc(x_1308); -x_1394 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1394, 0, x_1308); -lean_ctor_set(x_1394, 1, x_1211); -x_1395 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__3; -lean_inc(x_1308); -x_1396 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1396, 0, x_1308); -lean_ctor_set(x_1396, 1, x_1395); -x_1397 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__4; -lean_inc(x_1308); -x_1398 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1398, 0, x_1308); -lean_ctor_set(x_1398, 1, x_1397); -x_1399 = lean_array_push(x_1261, x_1398); -x_1400 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__5; -x_1401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1401, 0, x_1400); -lean_ctor_set(x_1401, 1, x_1399); -x_1402 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__7; -lean_inc(x_1311); -lean_inc(x_1314); -x_1403 = l_Lean_addMacroScope(x_1314, x_1402, x_1311); -x_1404 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -x_1405 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__9; -lean_inc(x_1308); -x_1406 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1406, 0, x_1308); -lean_ctor_set(x_1406, 1, x_1404); -lean_ctor_set(x_1406, 2, x_1403); -lean_ctor_set(x_1406, 3, x_1405); -x_1407 = lean_array_push(x_1238, x_1396); -x_1408 = lean_array_push(x_1407, x_1401); -lean_inc(x_1408); -x_1409 = lean_array_push(x_1408, x_1406); -x_1410 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -x_1411 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1411, 0, x_1410); -lean_ctor_set(x_1411, 1, x_1409); -x_1412 = lean_array_push(x_1223, x_1411); -x_1413 = lean_array_push(x_1412, x_1233); -x_1414 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1414, 0, x_1226); -lean_ctor_set(x_1414, 1, x_1413); -lean_inc(x_1308); -x_1415 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1415, 0, x_1308); -lean_ctor_set(x_1415, 1, x_1236); -x_1416 = lean_array_push(x_1238, x_1394); -x_1417 = lean_array_push(x_1416, x_1414); -x_1418 = lean_array_push(x_1417, x_1415); -x_1419 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1419, 0, x_1242); -lean_ctor_set(x_1419, 1, x_1418); -x_1420 = lean_array_push(x_1261, x_1419); -x_1421 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1421, 0, x_1226); -lean_ctor_set(x_1421, 1, x_1420); -x_1422 = lean_array_push(x_1223, x_1393); -x_1423 = lean_array_push(x_1422, x_1421); -x_1424 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1424, 0, x_1230); -lean_ctor_set(x_1424, 1, x_1423); -x_1425 = lean_array_push(x_1261, x_1424); -x_1426 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1426, 0, x_1324); -lean_ctor_set(x_1426, 1, x_1425); -x_1427 = lean_array_push(x_1223, x_1426); -x_1428 = lean_array_push(x_1427, x_1233); -x_1429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1429, 0, x_1342); -lean_ctor_set(x_1429, 1, x_1428); -x_1430 = lean_array_push(x_1261, x_1429); -x_1431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1431, 0, x_1226); -lean_ctor_set(x_1431, 1, x_1430); -x_1432 = lean_array_push(x_1261, x_1431); -x_1433 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_1434 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1434, 0, x_1433); -lean_ctor_set(x_1434, 1, x_1432); -x_1435 = lean_array_push(x_1285, x_1383); -lean_inc(x_1435); -x_1436 = lean_array_push(x_1435, x_1387); -lean_inc(x_1388); -x_1437 = lean_array_push(x_1436, x_1388); -x_1438 = lean_array_push(x_1437, x_1434); -x_1439 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_1440 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1440, 0, x_1439); -lean_ctor_set(x_1440, 1, x_1438); -x_1441 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -lean_inc(x_1311); -lean_inc(x_1314); -x_1442 = l_Lean_addMacroScope(x_1314, x_1441, x_1311); -x_1443 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; -x_1444 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; -lean_inc(x_1308); -x_1445 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1445, 0, x_1308); -lean_ctor_set(x_1445, 1, x_1443); -lean_ctor_set(x_1445, 2, x_1442); -lean_ctor_set(x_1445, 3, x_1444); -x_1446 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26; -x_1447 = l_Lean_addMacroScope(x_1314, x_1446, x_1311); -x_1448 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25; -lean_inc(x_1308); -x_1449 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1449, 0, x_1308); -lean_ctor_set(x_1449, 1, x_1448); -lean_ctor_set(x_1449, 2, x_1447); -lean_ctor_set(x_1449, 3, x_1195); -lean_inc(x_1449); -x_1450 = lean_array_push(x_1261, x_1449); -x_1451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1451, 0, x_1226); -lean_ctor_set(x_1451, 1, x_1450); -x_1452 = lean_array_push(x_1223, x_1445); -x_1453 = lean_array_push(x_1452, x_1451); -x_1454 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1454, 0, x_1230); -lean_ctor_set(x_1454, 1, x_1453); -x_1455 = lean_array_push(x_1261, x_1454); -x_1456 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1456, 0, x_1226); -lean_ctor_set(x_1456, 1, x_1455); -x_1457 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__29; -x_1458 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1458, 0, x_1308); -lean_ctor_set(x_1458, 1, x_1457); -x_1459 = lean_array_push(x_1408, x_1449); -x_1460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1460, 0, x_1410); -lean_ctor_set(x_1460, 1, x_1459); -x_1461 = lean_array_push(x_1261, x_1460); -x_1462 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1462, 0, x_1226); -lean_ctor_set(x_1462, 1, x_1461); -x_1463 = lean_array_push(x_1223, x_1458); -x_1464 = lean_array_push(x_1463, x_1462); -x_1465 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__22; -x_1466 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1466, 0, x_1465); -lean_ctor_set(x_1466, 1, x_1464); -x_1467 = lean_array_push(x_1223, x_1466); -x_1468 = lean_array_push(x_1467, x_1233); -x_1469 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1469, 0, x_1342); -lean_ctor_set(x_1469, 1, x_1468); -x_1470 = lean_array_push(x_1261, x_1469); -x_1471 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1471, 0, x_1226); -lean_ctor_set(x_1471, 1, x_1470); -x_1472 = lean_array_push(x_1261, x_1471); -x_1473 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1473, 0, x_1433); -lean_ctor_set(x_1473, 1, x_1472); -x_1474 = lean_array_push(x_1435, x_1456); -x_1475 = lean_array_push(x_1474, x_1388); -x_1476 = lean_array_push(x_1475, x_1473); -x_1477 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1477, 0, x_1439); -lean_ctor_set(x_1477, 1, x_1476); -x_1478 = lean_array_push(x_1223, x_1440); -x_1479 = lean_array_push(x_1478, x_1477); -x_1480 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1480, 0, x_1226); -lean_ctor_set(x_1480, 1, x_1479); -x_1481 = lean_array_push(x_1261, x_1480); -x_1482 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_1485 = lean_array_push(x_1484, x_1367); -x_1486 = lean_array_push(x_1485, x_1233); -x_1487 = lean_array_push(x_1486, x_1379); -x_1488 = lean_array_push(x_1487, x_1233); -x_1489 = lean_array_push(x_1488, x_1381); -x_1490 = lean_array_push(x_1489, x_1483); -x_1491 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_1492 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1492, 0, x_1491); -lean_ctor_set(x_1492, 1, x_1490); -x_1493 = lean_array_push(x_1223, x_1492); -x_1494 = lean_array_push(x_1493, x_1233); -x_1495 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1495, 0, x_1342); -lean_ctor_set(x_1495, 1, x_1494); -x_1496 = lean_array_push(x_1238, x_1343); -x_1497 = lean_array_push(x_1496, x_1365); -x_1498 = lean_array_push(x_1497, x_1495); -x_1499 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1499, 0, x_1226); -lean_ctor_set(x_1499, 1, x_1498); -x_1500 = lean_array_push(x_1261, x_1499); -x_1501 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1501, 0, x_1433); -lean_ctor_set(x_1501, 1, x_1500); -x_1502 = lean_array_push(x_1223, x_1317); -x_1503 = lean_array_push(x_1502, x_1501); -x_1504 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1505 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1505, 0, x_1504); -lean_ctor_set(x_1505, 1, x_1503); -x_1506 = l_Lean_Syntax_getArg(x_1505, x_11); -lean_dec(x_1505); -x_1507 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1506); -x_1508 = l_List_append___rarg(x_1507, x_2); -x_1509 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_1508, x_3, x_4, x_5, x_6, x_7, x_850, x_9, x_1315); -return x_1509; -} -} -} -} -else -{ -lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; -lean_dec(x_869); -lean_dec(x_859); -lean_dec(x_850); -lean_dec(x_849); -lean_dec(x_846); -lean_dec(x_845); -lean_dec(x_843); -lean_dec(x_842); -lean_dec(x_19); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1625 = lean_ctor_get(x_871, 0); -lean_inc(x_1625); -x_1626 = lean_ctor_get(x_871, 1); -lean_inc(x_1626); -if (lean_is_exclusive(x_871)) { - lean_ctor_release(x_871, 0); - lean_ctor_release(x_871, 1); - x_1627 = x_871; -} else { - lean_dec_ref(x_871); - x_1627 = lean_box(0); -} -if (lean_is_scalar(x_1627)) { - x_1628 = lean_alloc_ctor(1, 2, 0); -} else { - x_1628 = x_1627; -} -lean_ctor_set(x_1628, 0, x_1625); -lean_ctor_set(x_1628, 1, x_1626); -return x_1628; -} -} -else -{ -lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; -lean_dec(x_859); -lean_dec(x_850); -lean_dec(x_849); -lean_dec(x_846); -lean_dec(x_845); -lean_dec(x_843); -lean_dec(x_842); -lean_dec(x_19); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1629 = lean_ctor_get(x_868, 0); -lean_inc(x_1629); -x_1630 = lean_ctor_get(x_868, 1); -lean_inc(x_1630); -if (lean_is_exclusive(x_868)) { - lean_ctor_release(x_868, 0); - lean_ctor_release(x_868, 1); - x_1631 = x_868; -} else { - lean_dec_ref(x_868); - x_1631 = lean_box(0); -} -if (lean_is_scalar(x_1631)) { - x_1632 = lean_alloc_ctor(1, 2, 0); -} else { - x_1632 = x_1631; -} -lean_ctor_set(x_1632, 0, x_1629); -lean_ctor_set(x_1632, 1, x_1630); -return x_1632; -} -} -else -{ -lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; -lean_dec(x_850); -lean_dec(x_849); -lean_dec(x_846); -lean_dec(x_845); -lean_dec(x_843); -lean_dec(x_842); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1633 = lean_ctor_get(x_856, 0); -lean_inc(x_1633); -x_1634 = lean_ctor_get(x_856, 1); -lean_inc(x_1634); -if (lean_is_exclusive(x_856)) { - lean_ctor_release(x_856, 0); - lean_ctor_release(x_856, 1); - x_1635 = x_856; -} else { - lean_dec_ref(x_856); - x_1635 = lean_box(0); -} -if (lean_is_scalar(x_1635)) { - x_1636 = lean_alloc_ctor(1, 2, 0); -} else { - x_1636 = x_1635; -} -lean_ctor_set(x_1636, 0, x_1633); -lean_ctor_set(x_1636, 1, x_1634); -return x_1636; -} -} -else -{ -lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; -lean_dec(x_850); -lean_dec(x_849); -lean_dec(x_848); -lean_dec(x_847); -lean_dec(x_846); -lean_dec(x_845); -lean_dec(x_843); -lean_dec(x_842); -lean_dec(x_841); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1637 = lean_ctor_get(x_851, 0); -lean_inc(x_1637); -x_1638 = lean_ctor_get(x_851, 1); -lean_inc(x_1638); -if (lean_is_exclusive(x_851)) { - lean_ctor_release(x_851, 0); - lean_ctor_release(x_851, 1); - x_1639 = x_851; -} else { - lean_dec_ref(x_851); - x_1639 = lean_box(0); -} -if (lean_is_scalar(x_1639)) { - x_1640 = lean_alloc_ctor(1, 2, 0); -} else { - x_1640 = x_1639; -} -lean_ctor_set(x_1640, 0, x_1637); -lean_ctor_set(x_1640, 1, x_1638); -return x_1640; -} -} -} -else -{ -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; uint8_t x_1653; -x_1641 = l_Lean_instInhabitedSyntax; -x_1642 = lean_array_get(x_1641, x_13, x_11); -x_1643 = lean_unsigned_to_nat(0u); -x_1644 = l_Lean_Syntax_getArg(x_1642, x_1643); -x_1645 = lean_unsigned_to_nat(2u); -x_1646 = l_Lean_Syntax_getArg(x_1642, x_1645); -lean_dec(x_1642); -x_1647 = l_Array_eraseIdx___rarg(x_13, x_11); -x_1648 = lean_unsigned_to_nat(3u); -x_1649 = l_Lean_Syntax_getArg(x_1, x_1648); -x_1650 = lean_st_ref_take(x_9, x_10); -x_1651 = lean_ctor_get(x_1650, 0); -lean_inc(x_1651); -x_1652 = lean_ctor_get(x_1650, 1); -lean_inc(x_1652); -lean_dec(x_1650); -x_1653 = !lean_is_exclusive(x_1651); -if (x_1653 == 0) -{ -lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; uint8_t x_1658; -x_1654 = lean_ctor_get(x_1651, 1); -x_1655 = lean_nat_add(x_1654, x_11); -lean_ctor_set(x_1651, 1, x_1655); -x_1656 = lean_st_ref_set(x_9, x_1651, x_1652); -x_1657 = lean_ctor_get(x_1656, 1); -lean_inc(x_1657); -lean_dec(x_1656); -x_1658 = !lean_is_exclusive(x_4); -if (x_1658 == 0) -{ -lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; 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; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; -x_1659 = lean_ctor_get(x_4, 4); -lean_dec(x_1659); -lean_ctor_set(x_4, 4, x_1654); -x_1660 = lean_ctor_get(x_8, 0); -lean_inc(x_1660); -x_1661 = lean_ctor_get(x_8, 1); -lean_inc(x_1661); -x_1662 = lean_ctor_get(x_8, 2); -lean_inc(x_1662); -x_1663 = lean_ctor_get(x_8, 3); -lean_inc(x_1663); -x_1664 = lean_ctor_get(x_8, 4); -lean_inc(x_1664); -x_1665 = lean_ctor_get(x_8, 5); -lean_inc(x_1665); -x_1666 = lean_ctor_get(x_8, 6); -lean_inc(x_1666); -x_1667 = lean_ctor_get(x_8, 7); -lean_inc(x_1667); -x_1668 = l_Lean_replaceRef(x_1646, x_1663); -lean_dec(x_1663); -x_1669 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1669, 0, x_1660); -lean_ctor_set(x_1669, 1, x_1661); -lean_ctor_set(x_1669, 2, x_1662); -lean_ctor_set(x_1669, 3, x_1668); -lean_ctor_set(x_1669, 4, x_1664); -lean_ctor_set(x_1669, 5, x_1665); -lean_ctor_set(x_1669, 6, x_1666); -lean_ctor_set(x_1669, 7, x_1667); -x_1670 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_1669, x_9, x_1657); -x_1671 = lean_ctor_get(x_1670, 0); -lean_inc(x_1671); -x_1672 = lean_ctor_get(x_1670, 1); -lean_inc(x_1672); -lean_dec(x_1670); -x_1673 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_1669, x_9, x_1672); -lean_dec(x_1669); -x_1674 = lean_ctor_get(x_1673, 0); -lean_inc(x_1674); -x_1675 = lean_ctor_get(x_1673, 1); -lean_inc(x_1675); -lean_dec(x_1673); -x_1676 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1675); -x_1677 = lean_ctor_get(x_1676, 0); -lean_inc(x_1677); -x_1678 = lean_ctor_get(x_1676, 1); -lean_inc(x_1678); -lean_dec(x_1676); -x_1679 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; -x_1680 = l_Lean_addMacroScope(x_1677, x_1679, x_1674); -x_1681 = lean_box(0); -x_1682 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8; -x_1683 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14; -x_1684 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1684, 0, x_1671); -lean_ctor_set(x_1684, 1, x_1682); -lean_ctor_set(x_1684, 2, x_1680); -lean_ctor_set(x_1684, 3, x_1683); -x_1685 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_1678); -x_1686 = lean_ctor_get(x_1685, 0); -lean_inc(x_1686); -x_1687 = lean_ctor_get(x_1685, 1); -lean_inc(x_1687); -lean_dec(x_1685); -x_1688 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1687); -x_1689 = lean_ctor_get(x_1688, 0); -lean_inc(x_1689); -x_1690 = lean_ctor_get(x_1688, 1); -lean_inc(x_1690); -lean_dec(x_1688); -x_1691 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1690); -x_1692 = lean_ctor_get(x_1691, 0); -lean_inc(x_1692); -x_1693 = lean_ctor_get(x_1691, 1); -lean_inc(x_1693); -lean_dec(x_1691); -x_1694 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_1686); -x_1695 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1695, 0, x_1686); -lean_ctor_set(x_1695, 1, x_1694); -x_1696 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_1686); -x_1697 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1697, 0, x_1686); -lean_ctor_set(x_1697, 1, x_1696); -x_1698 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; -lean_inc(x_1686); -x_1699 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1699, 0, x_1686); -lean_ctor_set(x_1699, 1, x_1698); -x_1700 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1701 = lean_array_push(x_1700, x_1699); -x_1702 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1703 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1703, 0, x_1702); -lean_ctor_set(x_1703, 1, x_1701); -x_1704 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19; -lean_inc(x_1689); -lean_inc(x_1692); -x_1705 = l_Lean_addMacroScope(x_1692, x_1704, x_1689); -x_1706 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__18; -lean_inc(x_1686); -x_1707 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1707, 0, x_1686); -lean_ctor_set(x_1707, 1, x_1706); -lean_ctor_set(x_1707, 2, x_1705); -lean_ctor_set(x_1707, 3, x_1681); -x_1708 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_1686); -x_1709 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1709, 0, x_1686); -lean_ctor_set(x_1709, 1, x_1708); -x_1710 = lean_array_push(x_1700, x_1646); -x_1711 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1711, 0, x_1702); -lean_ctor_set(x_1711, 1, x_1710); -x_1712 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1713 = lean_array_push(x_1712, x_1684); -x_1714 = lean_array_push(x_1713, x_1711); -x_1715 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1716 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1716, 0, x_1715); -lean_ctor_set(x_1716, 1, x_1714); -x_1717 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -lean_inc(x_1707); -x_1718 = lean_array_push(x_1717, x_1707); -x_1719 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1720 = lean_array_push(x_1718, x_1719); -x_1721 = lean_array_push(x_1720, x_1719); -x_1722 = lean_array_push(x_1721, x_1709); -lean_inc(x_1722); -x_1723 = lean_array_push(x_1722, x_1716); -x_1724 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_1725 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1725, 0, x_1724); -lean_ctor_set(x_1725, 1, x_1723); -x_1726 = lean_array_push(x_1700, x_1725); -x_1727 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_1728 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1728, 0, x_1727); -lean_ctor_set(x_1728, 1, x_1726); -x_1729 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1730 = lean_array_push(x_1729, x_1697); -x_1731 = lean_array_push(x_1730, x_1703); -x_1732 = lean_array_push(x_1731, x_1728); -x_1733 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -x_1734 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1734, 0, x_1733); -lean_ctor_set(x_1734, 1, x_1732); -x_1735 = lean_array_push(x_1712, x_1734); -x_1736 = lean_array_push(x_1735, x_1719); -x_1737 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_1738 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1738, 0, x_1737); -lean_ctor_set(x_1738, 1, x_1736); -x_1739 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20; -lean_inc(x_1686); -x_1740 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1740, 0, x_1686); -lean_ctor_set(x_1740, 1, x_1739); -x_1741 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21; -x_1742 = l_Lean_Syntax_SepArray_ofElems(x_1741, x_1647); -lean_dec(x_1647); -x_1743 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -x_1744 = l_Array_append___rarg(x_1743, x_1742); -lean_dec(x_1742); -x_1745 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1745, 0, x_1702); -lean_ctor_set(x_1745, 1, x_1744); -x_1746 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_1686); -x_1747 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1747, 0, x_1686); -lean_ctor_set(x_1747, 1, x_1746); -x_1748 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28; -lean_inc(x_1689); -lean_inc(x_1692); -x_1749 = l_Lean_addMacroScope(x_1692, x_1748, x_1689); -x_1750 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24; -x_1751 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__30; -lean_inc(x_1686); -x_1752 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1752, 0, x_1686); -lean_ctor_set(x_1752, 1, x_1750); -lean_ctor_set(x_1752, 2, x_1749); -lean_ctor_set(x_1752, 3, x_1751); -x_1753 = lean_array_push(x_1700, x_1707); -x_1754 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1754, 0, x_1702); -lean_ctor_set(x_1754, 1, x_1753); -x_1755 = lean_array_push(x_1712, x_1752); -x_1756 = lean_array_push(x_1755, x_1754); -x_1757 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1757, 0, x_1715); -lean_ctor_set(x_1757, 1, x_1756); -x_1758 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_1759 = lean_array_push(x_1758, x_1757); -x_1760 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_1761 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1761, 0, x_1760); -lean_ctor_set(x_1761, 1, x_1759); -x_1762 = lean_array_push(x_1700, x_1761); -x_1763 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1763, 0, x_1702); -lean_ctor_set(x_1763, 1, x_1762); -x_1764 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_1686); -x_1765 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1765, 0, x_1686); -lean_ctor_set(x_1765, 1, x_1764); -x_1766 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_1686); -x_1767 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1767, 0, x_1686); -lean_ctor_set(x_1767, 1, x_1766); -x_1768 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -lean_inc(x_1689); -lean_inc(x_1692); -x_1769 = l_Lean_addMacroScope(x_1692, x_1768, x_1689); -x_1770 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_1771 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -lean_inc(x_1686); -x_1772 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1772, 0, x_1686); -lean_ctor_set(x_1772, 1, x_1770); -lean_ctor_set(x_1772, 2, x_1769); -lean_ctor_set(x_1772, 3, x_1771); -x_1773 = lean_array_push(x_1700, x_1772); -x_1774 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1774, 0, x_1702); -lean_ctor_set(x_1774, 1, x_1773); -x_1775 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1686); -x_1776 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1776, 0, x_1686); -lean_ctor_set(x_1776, 1, x_1775); -x_1777 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -lean_inc(x_1686); -x_1778 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1778, 0, x_1686); -lean_ctor_set(x_1778, 1, x_1777); -x_1779 = lean_array_push(x_1700, x_1778); -x_1780 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_1781 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1781, 0, x_1780); -lean_ctor_set(x_1781, 1, x_1779); -x_1782 = lean_array_push(x_1712, x_1781); -x_1783 = lean_array_push(x_1782, x_1719); -x_1784 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1784, 0, x_1737); -lean_ctor_set(x_1784, 1, x_1783); -x_1785 = lean_array_push(x_1700, x_1784); -x_1786 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1786, 0, x_1702); -lean_ctor_set(x_1786, 1, x_1785); -x_1787 = lean_array_push(x_1700, x_1786); -x_1788 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_1789 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1789, 0, x_1788); -lean_ctor_set(x_1789, 1, x_1787); -x_1790 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_1791 = lean_array_push(x_1790, x_1767); -lean_inc(x_1791); -x_1792 = lean_array_push(x_1791, x_1774); -lean_inc(x_1776); -x_1793 = lean_array_push(x_1792, x_1776); -x_1794 = lean_array_push(x_1793, x_1789); -x_1795 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_1796 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1796, 0, x_1795); -lean_ctor_set(x_1796, 1, x_1794); -x_1797 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -lean_inc(x_1689); -lean_inc(x_1692); -x_1798 = l_Lean_addMacroScope(x_1692, x_1797, x_1689); -x_1799 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; -x_1800 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; -lean_inc(x_1686); -x_1801 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1801, 0, x_1686); -lean_ctor_set(x_1801, 1, x_1799); -lean_ctor_set(x_1801, 2, x_1798); -lean_ctor_set(x_1801, 3, x_1800); -x_1802 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1686); -x_1803 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1803, 0, x_1686); -lean_ctor_set(x_1803, 1, x_1802); -lean_inc(x_1686); -x_1804 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1804, 0, x_1686); -lean_ctor_set(x_1804, 1, x_1741); -x_1805 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36; -x_1806 = l_Lean_addMacroScope(x_1692, x_1805, x_1689); -x_1807 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35; -lean_inc(x_1686); -x_1808 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1808, 0, x_1686); -lean_ctor_set(x_1808, 1, x_1807); -lean_ctor_set(x_1808, 2, x_1806); -lean_ctor_set(x_1808, 3, x_1681); -lean_inc(x_1808); -x_1809 = lean_array_push(x_1700, x_1808); -x_1810 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1810, 0, x_1702); -lean_ctor_set(x_1810, 1, x_1809); -x_1811 = lean_array_push(x_1712, x_1804); -x_1812 = lean_array_push(x_1811, x_1810); -x_1813 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__32; -x_1814 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1814, 0, x_1813); -lean_ctor_set(x_1814, 1, x_1812); -x_1815 = lean_array_push(x_1700, x_1814); -x_1816 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1816, 0, x_1702); -lean_ctor_set(x_1816, 1, x_1815); -x_1817 = lean_array_push(x_1712, x_1644); -x_1818 = lean_array_push(x_1817, x_1816); -x_1819 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1819, 0, x_1702); -lean_ctor_set(x_1819, 1, x_1818); -x_1820 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_1821 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1821, 0, x_1686); -lean_ctor_set(x_1821, 1, x_1820); -x_1822 = lean_array_push(x_1729, x_1803); -x_1823 = lean_array_push(x_1822, x_1819); -x_1824 = lean_array_push(x_1823, x_1821); -x_1825 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_1826 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1826, 0, x_1825); -lean_ctor_set(x_1826, 1, x_1824); -x_1827 = lean_array_push(x_1700, x_1826); -x_1828 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1828, 0, x_1702); -lean_ctor_set(x_1828, 1, x_1827); -x_1829 = lean_array_push(x_1712, x_1801); -x_1830 = lean_array_push(x_1829, x_1828); -x_1831 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1831, 0, x_1715); -lean_ctor_set(x_1831, 1, x_1830); -x_1832 = lean_array_push(x_1700, x_1831); -x_1833 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1833, 0, x_1702); -lean_ctor_set(x_1833, 1, x_1832); -x_1834 = lean_array_push(x_1722, x_1808); -x_1835 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1835, 0, x_1724); -lean_ctor_set(x_1835, 1, x_1834); -x_1836 = lean_array_push(x_1700, x_1835); -x_1837 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_1838 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1838, 0, x_1837); -lean_ctor_set(x_1838, 1, x_1836); -x_1839 = lean_array_push(x_1712, x_1838); -x_1840 = lean_array_push(x_1839, x_1719); -x_1841 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1841, 0, x_1737); -lean_ctor_set(x_1841, 1, x_1840); -lean_inc(x_1695); -x_1842 = lean_array_push(x_1712, x_1695); -lean_inc(x_1842); -x_1843 = lean_array_push(x_1842, x_1649); -x_1844 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__9; -x_1845 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1845, 0, x_1844); -lean_ctor_set(x_1845, 1, x_1843); -x_1846 = lean_array_push(x_1712, x_1845); -x_1847 = lean_array_push(x_1846, x_1719); -x_1848 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1848, 0, x_1737); -lean_ctor_set(x_1848, 1, x_1847); -x_1849 = lean_array_push(x_1712, x_1841); -x_1850 = lean_array_push(x_1849, x_1848); -x_1851 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1851, 0, x_1702); -lean_ctor_set(x_1851, 1, x_1850); -x_1852 = lean_array_push(x_1700, x_1851); -x_1853 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1853, 0, x_1788); -lean_ctor_set(x_1853, 1, x_1852); -x_1854 = lean_array_push(x_1791, x_1833); -x_1855 = lean_array_push(x_1854, x_1776); -x_1856 = lean_array_push(x_1855, x_1853); -x_1857 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1857, 0, x_1795); -lean_ctor_set(x_1857, 1, x_1856); -x_1858 = lean_array_push(x_1712, x_1796); -x_1859 = lean_array_push(x_1858, x_1857); -x_1860 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1860, 0, x_1702); -lean_ctor_set(x_1860, 1, x_1859); -x_1861 = lean_array_push(x_1700, x_1860); -x_1862 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_1863 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1863, 0, x_1862); -lean_ctor_set(x_1863, 1, x_1861); -x_1864 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_1865 = lean_array_push(x_1864, x_1747); -x_1866 = lean_array_push(x_1865, x_1719); -x_1867 = lean_array_push(x_1866, x_1763); -x_1868 = lean_array_push(x_1867, x_1719); -x_1869 = lean_array_push(x_1868, x_1765); -x_1870 = lean_array_push(x_1869, x_1863); -x_1871 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_1872 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1872, 0, x_1871); -lean_ctor_set(x_1872, 1, x_1870); -x_1873 = lean_array_push(x_1712, x_1872); -x_1874 = lean_array_push(x_1873, x_1719); -x_1875 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1875, 0, x_1737); -lean_ctor_set(x_1875, 1, x_1874); -x_1876 = lean_array_push(x_1700, x_1875); -x_1877 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1877, 0, x_1702); -lean_ctor_set(x_1877, 1, x_1876); -x_1878 = lean_array_push(x_1700, x_1877); -x_1879 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1879, 0, x_1788); -lean_ctor_set(x_1879, 1, x_1878); -x_1880 = lean_array_push(x_1790, x_1740); -x_1881 = lean_array_push(x_1880, x_1745); -x_1882 = lean_array_push(x_1881, x_1695); -x_1883 = lean_array_push(x_1882, x_1879); -x_1884 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__5; -x_1885 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1885, 0, x_1884); -lean_ctor_set(x_1885, 1, x_1883); -x_1886 = lean_array_push(x_1712, x_1885); -x_1887 = lean_array_push(x_1886, x_1719); -x_1888 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1888, 0, x_1737); -lean_ctor_set(x_1888, 1, x_1887); -x_1889 = lean_array_push(x_1712, x_1738); -x_1890 = lean_array_push(x_1889, x_1888); -x_1891 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1891, 0, x_1702); -lean_ctor_set(x_1891, 1, x_1890); -x_1892 = lean_array_push(x_1700, x_1891); -x_1893 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1893, 0, x_1788); -lean_ctor_set(x_1893, 1, x_1892); -x_1894 = lean_array_push(x_1842, x_1893); -x_1895 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_1896 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1896, 0, x_1895); -lean_ctor_set(x_1896, 1, x_1894); -x_1897 = l_Lean_Syntax_getArg(x_1896, x_11); -lean_dec(x_1896); -x_1898 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1897); -x_1899 = l_List_append___rarg(x_1898, x_2); -x_1900 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_1899, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1693); -return x_1900; -} -else -{ -lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; uint8_t x_1905; uint8_t x_1906; uint8_t x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; uint8_t x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; -x_1901 = lean_ctor_get(x_4, 0); -x_1902 = lean_ctor_get(x_4, 1); -x_1903 = lean_ctor_get(x_4, 2); -x_1904 = lean_ctor_get(x_4, 3); -x_1905 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_1906 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_1907 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_1908 = lean_ctor_get(x_4, 5); -x_1909 = lean_ctor_get(x_4, 6); -x_1910 = lean_ctor_get(x_4, 7); -x_1911 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_inc(x_1910); -lean_inc(x_1909); -lean_inc(x_1908); -lean_inc(x_1904); -lean_inc(x_1903); -lean_inc(x_1902); -lean_inc(x_1901); -lean_dec(x_4); -x_1912 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_1912, 0, x_1901); -lean_ctor_set(x_1912, 1, x_1902); -lean_ctor_set(x_1912, 2, x_1903); -lean_ctor_set(x_1912, 3, x_1904); -lean_ctor_set(x_1912, 4, x_1654); -lean_ctor_set(x_1912, 5, x_1908); -lean_ctor_set(x_1912, 6, x_1909); -lean_ctor_set(x_1912, 7, x_1910); -lean_ctor_set_uint8(x_1912, sizeof(void*)*8, x_1905); -lean_ctor_set_uint8(x_1912, sizeof(void*)*8 + 1, x_1906); -lean_ctor_set_uint8(x_1912, sizeof(void*)*8 + 2, x_1907); -lean_ctor_set_uint8(x_1912, sizeof(void*)*8 + 3, x_1911); -x_1913 = lean_ctor_get(x_8, 0); -lean_inc(x_1913); -x_1914 = lean_ctor_get(x_8, 1); -lean_inc(x_1914); -x_1915 = lean_ctor_get(x_8, 2); -lean_inc(x_1915); -x_1916 = lean_ctor_get(x_8, 3); -lean_inc(x_1916); -x_1917 = lean_ctor_get(x_8, 4); -lean_inc(x_1917); -x_1918 = lean_ctor_get(x_8, 5); -lean_inc(x_1918); -x_1919 = lean_ctor_get(x_8, 6); -lean_inc(x_1919); -x_1920 = lean_ctor_get(x_8, 7); -lean_inc(x_1920); -x_1921 = l_Lean_replaceRef(x_1646, x_1916); -lean_dec(x_1916); -x_1922 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1922, 0, x_1913); -lean_ctor_set(x_1922, 1, x_1914); -lean_ctor_set(x_1922, 2, x_1915); -lean_ctor_set(x_1922, 3, x_1921); -lean_ctor_set(x_1922, 4, x_1917); -lean_ctor_set(x_1922, 5, x_1918); -lean_ctor_set(x_1922, 6, x_1919); -lean_ctor_set(x_1922, 7, x_1920); -x_1923 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_1922, x_9, x_1657); -x_1924 = lean_ctor_get(x_1923, 0); -lean_inc(x_1924); -x_1925 = lean_ctor_get(x_1923, 1); -lean_inc(x_1925); -lean_dec(x_1923); -x_1926 = l_Lean_Elab_Term_getCurrMacroScope(x_1912, x_5, x_6, x_7, x_1922, x_9, x_1925); -lean_dec(x_1922); -x_1927 = lean_ctor_get(x_1926, 0); -lean_inc(x_1927); -x_1928 = lean_ctor_get(x_1926, 1); -lean_inc(x_1928); -lean_dec(x_1926); -x_1929 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1928); -x_1930 = lean_ctor_get(x_1929, 0); -lean_inc(x_1930); -x_1931 = lean_ctor_get(x_1929, 1); -lean_inc(x_1931); -lean_dec(x_1929); -x_1932 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; -x_1933 = l_Lean_addMacroScope(x_1930, x_1932, x_1927); -x_1934 = lean_box(0); -x_1935 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8; -x_1936 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14; -x_1937 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1937, 0, x_1924); -lean_ctor_set(x_1937, 1, x_1935); -lean_ctor_set(x_1937, 2, x_1933); -lean_ctor_set(x_1937, 3, x_1936); -x_1938 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_1931); -x_1939 = lean_ctor_get(x_1938, 0); -lean_inc(x_1939); -x_1940 = lean_ctor_get(x_1938, 1); -lean_inc(x_1940); -lean_dec(x_1938); -x_1941 = l_Lean_Elab_Term_getCurrMacroScope(x_1912, x_5, x_6, x_7, x_8, x_9, x_1940); -x_1942 = lean_ctor_get(x_1941, 0); -lean_inc(x_1942); -x_1943 = lean_ctor_get(x_1941, 1); -lean_inc(x_1943); -lean_dec(x_1941); -x_1944 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1943); -x_1945 = lean_ctor_get(x_1944, 0); -lean_inc(x_1945); -x_1946 = lean_ctor_get(x_1944, 1); -lean_inc(x_1946); -lean_dec(x_1944); -x_1947 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_1939); -x_1948 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1948, 0, x_1939); -lean_ctor_set(x_1948, 1, x_1947); -x_1949 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_1939); -x_1950 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1950, 0, x_1939); -lean_ctor_set(x_1950, 1, x_1949); -x_1951 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; -lean_inc(x_1939); -x_1952 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1952, 0, x_1939); -lean_ctor_set(x_1952, 1, x_1951); -x_1953 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_1954 = lean_array_push(x_1953, x_1952); -x_1955 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_1956 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1956, 0, x_1955); -lean_ctor_set(x_1956, 1, x_1954); -x_1957 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19; -lean_inc(x_1942); -lean_inc(x_1945); -x_1958 = l_Lean_addMacroScope(x_1945, x_1957, x_1942); -x_1959 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__18; -lean_inc(x_1939); -x_1960 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1960, 0, x_1939); -lean_ctor_set(x_1960, 1, x_1959); -lean_ctor_set(x_1960, 2, x_1958); -lean_ctor_set(x_1960, 3, x_1934); -x_1961 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_1939); -x_1962 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1962, 0, x_1939); -lean_ctor_set(x_1962, 1, x_1961); -x_1963 = lean_array_push(x_1953, x_1646); -x_1964 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1964, 0, x_1955); -lean_ctor_set(x_1964, 1, x_1963); -x_1965 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_1966 = lean_array_push(x_1965, x_1937); -x_1967 = lean_array_push(x_1966, x_1964); -x_1968 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_1969 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1969, 0, x_1968); -lean_ctor_set(x_1969, 1, x_1967); -x_1970 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -lean_inc(x_1960); -x_1971 = lean_array_push(x_1970, x_1960); -x_1972 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_1973 = lean_array_push(x_1971, x_1972); -x_1974 = lean_array_push(x_1973, x_1972); -x_1975 = lean_array_push(x_1974, x_1962); -lean_inc(x_1975); -x_1976 = lean_array_push(x_1975, x_1969); -x_1977 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_1978 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1978, 0, x_1977); -lean_ctor_set(x_1978, 1, x_1976); -x_1979 = lean_array_push(x_1953, x_1978); -x_1980 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_1981 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1981, 0, x_1980); -lean_ctor_set(x_1981, 1, x_1979); -x_1982 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_1983 = lean_array_push(x_1982, x_1950); -x_1984 = lean_array_push(x_1983, x_1956); -x_1985 = lean_array_push(x_1984, x_1981); -x_1986 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -x_1987 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1987, 0, x_1986); -lean_ctor_set(x_1987, 1, x_1985); -x_1988 = lean_array_push(x_1965, x_1987); -x_1989 = lean_array_push(x_1988, x_1972); -x_1990 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_1991 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1991, 0, x_1990); -lean_ctor_set(x_1991, 1, x_1989); -x_1992 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20; -lean_inc(x_1939); -x_1993 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1993, 0, x_1939); -lean_ctor_set(x_1993, 1, x_1992); -x_1994 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21; -x_1995 = l_Lean_Syntax_SepArray_ofElems(x_1994, x_1647); -lean_dec(x_1647); -x_1996 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -x_1997 = l_Array_append___rarg(x_1996, x_1995); -lean_dec(x_1995); -x_1998 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1998, 0, x_1955); -lean_ctor_set(x_1998, 1, x_1997); -x_1999 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_1939); -x_2000 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2000, 0, x_1939); -lean_ctor_set(x_2000, 1, x_1999); -x_2001 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28; -lean_inc(x_1942); -lean_inc(x_1945); -x_2002 = l_Lean_addMacroScope(x_1945, x_2001, x_1942); -x_2003 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24; -x_2004 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__30; -lean_inc(x_1939); -x_2005 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2005, 0, x_1939); -lean_ctor_set(x_2005, 1, x_2003); -lean_ctor_set(x_2005, 2, x_2002); -lean_ctor_set(x_2005, 3, x_2004); -x_2006 = lean_array_push(x_1953, x_1960); -x_2007 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2007, 0, x_1955); -lean_ctor_set(x_2007, 1, x_2006); -x_2008 = lean_array_push(x_1965, x_2005); -x_2009 = lean_array_push(x_2008, x_2007); -x_2010 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2010, 0, x_1968); -lean_ctor_set(x_2010, 1, x_2009); -x_2011 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_2012 = lean_array_push(x_2011, x_2010); -x_2013 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_2014 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2014, 0, x_2013); -lean_ctor_set(x_2014, 1, x_2012); -x_2015 = lean_array_push(x_1953, x_2014); -x_2016 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2016, 0, x_1955); -lean_ctor_set(x_2016, 1, x_2015); -x_2017 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_1939); -x_2018 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2018, 0, x_1939); -lean_ctor_set(x_2018, 1, x_2017); -x_2019 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_1939); -x_2020 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2020, 0, x_1939); -lean_ctor_set(x_2020, 1, x_2019); -x_2021 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -lean_inc(x_1942); -lean_inc(x_1945); -x_2022 = l_Lean_addMacroScope(x_1945, x_2021, x_1942); -x_2023 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_2024 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -lean_inc(x_1939); -x_2025 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2025, 0, x_1939); -lean_ctor_set(x_2025, 1, x_2023); -lean_ctor_set(x_2025, 2, x_2022); -lean_ctor_set(x_2025, 3, x_2024); -x_2026 = lean_array_push(x_1953, x_2025); -x_2027 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2027, 0, x_1955); -lean_ctor_set(x_2027, 1, x_2026); -x_2028 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_1939); -x_2029 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2029, 0, x_1939); -lean_ctor_set(x_2029, 1, x_2028); -x_2030 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -lean_inc(x_1939); -x_2031 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2031, 0, x_1939); -lean_ctor_set(x_2031, 1, x_2030); -x_2032 = lean_array_push(x_1953, x_2031); -x_2033 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_2034 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2034, 0, x_2033); -lean_ctor_set(x_2034, 1, x_2032); -x_2035 = lean_array_push(x_1965, x_2034); -x_2036 = lean_array_push(x_2035, x_1972); -x_2037 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2037, 0, x_1990); -lean_ctor_set(x_2037, 1, x_2036); -x_2038 = lean_array_push(x_1953, x_2037); -x_2039 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2039, 0, x_1955); -lean_ctor_set(x_2039, 1, x_2038); -x_2040 = lean_array_push(x_1953, x_2039); -x_2041 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_2042 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2042, 0, x_2041); -lean_ctor_set(x_2042, 1, x_2040); -x_2043 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_2044 = lean_array_push(x_2043, x_2020); -lean_inc(x_2044); -x_2045 = lean_array_push(x_2044, x_2027); -lean_inc(x_2029); -x_2046 = lean_array_push(x_2045, x_2029); -x_2047 = lean_array_push(x_2046, x_2042); -x_2048 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_2049 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2049, 0, x_2048); -lean_ctor_set(x_2049, 1, x_2047); -x_2050 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -lean_inc(x_1942); -lean_inc(x_1945); -x_2051 = l_Lean_addMacroScope(x_1945, x_2050, x_1942); -x_2052 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; -x_2053 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; -lean_inc(x_1939); -x_2054 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2054, 0, x_1939); -lean_ctor_set(x_2054, 1, x_2052); -lean_ctor_set(x_2054, 2, x_2051); -lean_ctor_set(x_2054, 3, x_2053); -x_2055 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_1939); -x_2056 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2056, 0, x_1939); -lean_ctor_set(x_2056, 1, x_2055); -lean_inc(x_1939); -x_2057 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2057, 0, x_1939); -lean_ctor_set(x_2057, 1, x_1994); -x_2058 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36; -x_2059 = l_Lean_addMacroScope(x_1945, x_2058, x_1942); -x_2060 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35; -lean_inc(x_1939); -x_2061 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2061, 0, x_1939); -lean_ctor_set(x_2061, 1, x_2060); -lean_ctor_set(x_2061, 2, x_2059); -lean_ctor_set(x_2061, 3, x_1934); -lean_inc(x_2061); -x_2062 = lean_array_push(x_1953, x_2061); -x_2063 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2063, 0, x_1955); -lean_ctor_set(x_2063, 1, x_2062); -x_2064 = lean_array_push(x_1965, x_2057); -x_2065 = lean_array_push(x_2064, x_2063); -x_2066 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__32; -x_2067 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2067, 0, x_2066); -lean_ctor_set(x_2067, 1, x_2065); -x_2068 = lean_array_push(x_1953, x_2067); -x_2069 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2069, 0, x_1955); -lean_ctor_set(x_2069, 1, x_2068); -x_2070 = lean_array_push(x_1965, x_1644); -x_2071 = lean_array_push(x_2070, x_2069); -x_2072 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2072, 0, x_1955); -lean_ctor_set(x_2072, 1, x_2071); -x_2073 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_2074 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2074, 0, x_1939); -lean_ctor_set(x_2074, 1, x_2073); -x_2075 = lean_array_push(x_1982, x_2056); -x_2076 = lean_array_push(x_2075, x_2072); -x_2077 = lean_array_push(x_2076, x_2074); -x_2078 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_2079 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2079, 0, x_2078); -lean_ctor_set(x_2079, 1, x_2077); -x_2080 = lean_array_push(x_1953, x_2079); -x_2081 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2081, 0, x_1955); -lean_ctor_set(x_2081, 1, x_2080); -x_2082 = lean_array_push(x_1965, x_2054); -x_2083 = lean_array_push(x_2082, x_2081); -x_2084 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2084, 0, x_1968); -lean_ctor_set(x_2084, 1, x_2083); -x_2085 = lean_array_push(x_1953, x_2084); -x_2086 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2086, 0, x_1955); -lean_ctor_set(x_2086, 1, x_2085); -x_2087 = lean_array_push(x_1975, x_2061); -x_2088 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2088, 0, x_1977); -lean_ctor_set(x_2088, 1, x_2087); -x_2089 = lean_array_push(x_1953, x_2088); -x_2090 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_2091 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2091, 0, x_2090); -lean_ctor_set(x_2091, 1, x_2089); -x_2092 = lean_array_push(x_1965, x_2091); -x_2093 = lean_array_push(x_2092, x_1972); -x_2094 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2094, 0, x_1990); -lean_ctor_set(x_2094, 1, x_2093); -lean_inc(x_1948); -x_2095 = lean_array_push(x_1965, x_1948); -lean_inc(x_2095); -x_2096 = lean_array_push(x_2095, x_1649); -x_2097 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__9; -x_2098 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2098, 0, x_2097); -lean_ctor_set(x_2098, 1, x_2096); -x_2099 = lean_array_push(x_1965, x_2098); -x_2100 = lean_array_push(x_2099, x_1972); -x_2101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2101, 0, x_1990); -lean_ctor_set(x_2101, 1, x_2100); -x_2102 = lean_array_push(x_1965, x_2094); -x_2103 = lean_array_push(x_2102, x_2101); -x_2104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2104, 0, x_1955); -lean_ctor_set(x_2104, 1, x_2103); -x_2105 = lean_array_push(x_1953, x_2104); -x_2106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2106, 0, x_2041); -lean_ctor_set(x_2106, 1, x_2105); -x_2107 = lean_array_push(x_2044, x_2086); -x_2108 = lean_array_push(x_2107, x_2029); -x_2109 = lean_array_push(x_2108, x_2106); -x_2110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2110, 0, x_2048); -lean_ctor_set(x_2110, 1, x_2109); -x_2111 = lean_array_push(x_1965, x_2049); -x_2112 = lean_array_push(x_2111, x_2110); -x_2113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2113, 0, x_1955); -lean_ctor_set(x_2113, 1, x_2112); -x_2114 = lean_array_push(x_1953, x_2113); -x_2115 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_2116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2116, 0, x_2115); -lean_ctor_set(x_2116, 1, x_2114); -x_2117 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_2118 = lean_array_push(x_2117, x_2000); -x_2119 = lean_array_push(x_2118, x_1972); -x_2120 = lean_array_push(x_2119, x_2016); -x_2121 = lean_array_push(x_2120, x_1972); -x_2122 = lean_array_push(x_2121, x_2018); -x_2123 = lean_array_push(x_2122, x_2116); -x_2124 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_2125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2125, 0, x_2124); -lean_ctor_set(x_2125, 1, x_2123); -x_2126 = lean_array_push(x_1965, x_2125); -x_2127 = lean_array_push(x_2126, x_1972); -x_2128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2128, 0, x_1990); -lean_ctor_set(x_2128, 1, x_2127); -x_2129 = lean_array_push(x_1953, x_2128); -x_2130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2130, 0, x_1955); -lean_ctor_set(x_2130, 1, x_2129); -x_2131 = lean_array_push(x_1953, x_2130); -x_2132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2132, 0, x_2041); -lean_ctor_set(x_2132, 1, x_2131); -x_2133 = lean_array_push(x_2043, x_1993); -x_2134 = lean_array_push(x_2133, x_1998); -x_2135 = lean_array_push(x_2134, x_1948); -x_2136 = lean_array_push(x_2135, x_2132); -x_2137 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__5; -x_2138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2138, 0, x_2137); -lean_ctor_set(x_2138, 1, x_2136); -x_2139 = lean_array_push(x_1965, x_2138); -x_2140 = lean_array_push(x_2139, x_1972); -x_2141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2141, 0, x_1990); -lean_ctor_set(x_2141, 1, x_2140); -x_2142 = lean_array_push(x_1965, x_1991); -x_2143 = lean_array_push(x_2142, x_2141); -x_2144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2144, 0, x_1955); -lean_ctor_set(x_2144, 1, x_2143); -x_2145 = lean_array_push(x_1953, x_2144); -x_2146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2146, 0, x_2041); -lean_ctor_set(x_2146, 1, x_2145); -x_2147 = lean_array_push(x_2095, x_2146); -x_2148 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_2149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2149, 0, x_2148); -lean_ctor_set(x_2149, 1, x_2147); -x_2150 = l_Lean_Syntax_getArg(x_2149, x_11); -lean_dec(x_2149); -x_2151 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_2150); -x_2152 = l_List_append___rarg(x_2151, x_2); -x_2153 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_2152, x_3, x_1912, x_5, x_6, x_7, x_8, x_9, x_1946); -return x_2153; -} -} -else -{ -lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; uint8_t x_2166; uint8_t x_2167; uint8_t x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; uint8_t x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; lean_object* x_2239; lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; -x_2154 = lean_ctor_get(x_1651, 0); -x_2155 = lean_ctor_get(x_1651, 1); -x_2156 = lean_ctor_get(x_1651, 2); -x_2157 = lean_ctor_get(x_1651, 3); -lean_inc(x_2157); -lean_inc(x_2156); -lean_inc(x_2155); -lean_inc(x_2154); -lean_dec(x_1651); -x_2158 = lean_nat_add(x_2155, x_11); -x_2159 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_2159, 0, x_2154); -lean_ctor_set(x_2159, 1, x_2158); -lean_ctor_set(x_2159, 2, x_2156); -lean_ctor_set(x_2159, 3, x_2157); -x_2160 = lean_st_ref_set(x_9, x_2159, x_1652); -x_2161 = lean_ctor_get(x_2160, 1); -lean_inc(x_2161); -lean_dec(x_2160); -x_2162 = lean_ctor_get(x_4, 0); -lean_inc(x_2162); -x_2163 = lean_ctor_get(x_4, 1); -lean_inc(x_2163); -x_2164 = lean_ctor_get(x_4, 2); -lean_inc(x_2164); -x_2165 = lean_ctor_get(x_4, 3); -lean_inc(x_2165); -x_2166 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_2167 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_2168 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_2169 = lean_ctor_get(x_4, 5); -lean_inc(x_2169); -x_2170 = lean_ctor_get(x_4, 6); -lean_inc(x_2170); -x_2171 = lean_ctor_get(x_4, 7); -lean_inc(x_2171); -x_2172 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -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); - x_2173 = x_4; -} else { - lean_dec_ref(x_4); - x_2173 = lean_box(0); -} -if (lean_is_scalar(x_2173)) { - x_2174 = lean_alloc_ctor(0, 8, 4); -} else { - x_2174 = x_2173; -} -lean_ctor_set(x_2174, 0, x_2162); -lean_ctor_set(x_2174, 1, x_2163); -lean_ctor_set(x_2174, 2, x_2164); -lean_ctor_set(x_2174, 3, x_2165); -lean_ctor_set(x_2174, 4, x_2155); -lean_ctor_set(x_2174, 5, x_2169); -lean_ctor_set(x_2174, 6, x_2170); -lean_ctor_set(x_2174, 7, x_2171); -lean_ctor_set_uint8(x_2174, sizeof(void*)*8, x_2166); -lean_ctor_set_uint8(x_2174, sizeof(void*)*8 + 1, x_2167); -lean_ctor_set_uint8(x_2174, sizeof(void*)*8 + 2, x_2168); -lean_ctor_set_uint8(x_2174, sizeof(void*)*8 + 3, x_2172); -x_2175 = lean_ctor_get(x_8, 0); -lean_inc(x_2175); -x_2176 = lean_ctor_get(x_8, 1); -lean_inc(x_2176); -x_2177 = lean_ctor_get(x_8, 2); -lean_inc(x_2177); -x_2178 = lean_ctor_get(x_8, 3); -lean_inc(x_2178); -x_2179 = lean_ctor_get(x_8, 4); -lean_inc(x_2179); -x_2180 = lean_ctor_get(x_8, 5); -lean_inc(x_2180); -x_2181 = lean_ctor_get(x_8, 6); -lean_inc(x_2181); -x_2182 = lean_ctor_get(x_8, 7); -lean_inc(x_2182); -x_2183 = l_Lean_replaceRef(x_1646, x_2178); -lean_dec(x_2178); -x_2184 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_2184, 0, x_2175); -lean_ctor_set(x_2184, 1, x_2176); -lean_ctor_set(x_2184, 2, x_2177); -lean_ctor_set(x_2184, 3, x_2183); -lean_ctor_set(x_2184, 4, x_2179); -lean_ctor_set(x_2184, 5, x_2180); -lean_ctor_set(x_2184, 6, x_2181); -lean_ctor_set(x_2184, 7, x_2182); -x_2185 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_2184, x_9, x_2161); -x_2186 = lean_ctor_get(x_2185, 0); -lean_inc(x_2186); -x_2187 = lean_ctor_get(x_2185, 1); -lean_inc(x_2187); -lean_dec(x_2185); -x_2188 = l_Lean_Elab_Term_getCurrMacroScope(x_2174, x_5, x_6, x_7, x_2184, x_9, x_2187); -lean_dec(x_2184); -x_2189 = lean_ctor_get(x_2188, 0); -lean_inc(x_2189); -x_2190 = lean_ctor_get(x_2188, 1); -lean_inc(x_2190); -lean_dec(x_2188); -x_2191 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_2190); -x_2192 = lean_ctor_get(x_2191, 0); -lean_inc(x_2192); -x_2193 = lean_ctor_get(x_2191, 1); -lean_inc(x_2193); -lean_dec(x_2191); -x_2194 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__9; -x_2195 = l_Lean_addMacroScope(x_2192, x_2194, x_2189); -x_2196 = lean_box(0); -x_2197 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__8; -x_2198 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__14; -x_2199 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2199, 0, x_2186); -lean_ctor_set(x_2199, 1, x_2197); -lean_ctor_set(x_2199, 2, x_2195); -lean_ctor_set(x_2199, 3, x_2198); -x_2200 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_2193); -x_2201 = lean_ctor_get(x_2200, 0); -lean_inc(x_2201); -x_2202 = lean_ctor_get(x_2200, 1); -lean_inc(x_2202); -lean_dec(x_2200); -x_2203 = l_Lean_Elab_Term_getCurrMacroScope(x_2174, x_5, x_6, x_7, x_8, x_9, x_2202); -x_2204 = lean_ctor_get(x_2203, 0); -lean_inc(x_2204); -x_2205 = lean_ctor_get(x_2203, 1); -lean_inc(x_2205); -lean_dec(x_2203); -x_2206 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_2205); -x_2207 = lean_ctor_get(x_2206, 0); -lean_inc(x_2207); -x_2208 = lean_ctor_get(x_2206, 1); -lean_inc(x_2208); -lean_dec(x_2206); -x_2209 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_2201); -x_2210 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2210, 0, x_2201); -lean_ctor_set(x_2210, 1, x_2209); -x_2211 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_2201); -x_2212 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2212, 0, x_2201); -lean_ctor_set(x_2212, 1, x_2211); -x_2213 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; -lean_inc(x_2201); -x_2214 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2214, 0, x_2201); -lean_ctor_set(x_2214, 1, x_2213); -x_2215 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_2216 = lean_array_push(x_2215, x_2214); -x_2217 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_2218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2218, 0, x_2217); -lean_ctor_set(x_2218, 1, x_2216); -x_2219 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19; -lean_inc(x_2204); -lean_inc(x_2207); -x_2220 = l_Lean_addMacroScope(x_2207, x_2219, x_2204); -x_2221 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__18; -lean_inc(x_2201); -x_2222 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2222, 0, x_2201); -lean_ctor_set(x_2222, 1, x_2221); -lean_ctor_set(x_2222, 2, x_2220); -lean_ctor_set(x_2222, 3, x_2196); -x_2223 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -lean_inc(x_2201); -x_2224 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2224, 0, x_2201); -lean_ctor_set(x_2224, 1, x_2223); -x_2225 = lean_array_push(x_2215, x_1646); -x_2226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2226, 0, x_2217); -lean_ctor_set(x_2226, 1, x_2225); -x_2227 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_2228 = lean_array_push(x_2227, x_2199); -x_2229 = lean_array_push(x_2228, x_2226); -x_2230 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -x_2231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2231, 0, x_2230); -lean_ctor_set(x_2231, 1, x_2229); -x_2232 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -lean_inc(x_2222); -x_2233 = lean_array_push(x_2232, x_2222); -x_2234 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_2235 = lean_array_push(x_2233, x_2234); -x_2236 = lean_array_push(x_2235, x_2234); -x_2237 = lean_array_push(x_2236, x_2224); -lean_inc(x_2237); -x_2238 = lean_array_push(x_2237, x_2231); -x_2239 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_2240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2240, 0, x_2239); -lean_ctor_set(x_2240, 1, x_2238); -x_2241 = lean_array_push(x_2215, x_2240); -x_2242 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_2243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2243, 0, x_2242); -lean_ctor_set(x_2243, 1, x_2241); -x_2244 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_2245 = lean_array_push(x_2244, x_2212); -x_2246 = lean_array_push(x_2245, x_2218); -x_2247 = lean_array_push(x_2246, x_2243); -x_2248 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -x_2249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2249, 0, x_2248); -lean_ctor_set(x_2249, 1, x_2247); -x_2250 = lean_array_push(x_2227, x_2249); -x_2251 = lean_array_push(x_2250, x_2234); -x_2252 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_2253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2253, 0, x_2252); -lean_ctor_set(x_2253, 1, x_2251); -x_2254 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__20; -lean_inc(x_2201); -x_2255 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2255, 0, x_2201); -lean_ctor_set(x_2255, 1, x_2254); -x_2256 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__21; -x_2257 = l_Lean_Syntax_SepArray_ofElems(x_2256, x_1647); -lean_dec(x_1647); -x_2258 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -x_2259 = l_Array_append___rarg(x_2258, x_2257); -lean_dec(x_2257); -x_2260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2260, 0, x_2217); -lean_ctor_set(x_2260, 1, x_2259); -x_2261 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__16; -lean_inc(x_2201); -x_2262 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2262, 0, x_2201); -lean_ctor_set(x_2262, 1, x_2261); -x_2263 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28; -lean_inc(x_2204); -lean_inc(x_2207); -x_2264 = l_Lean_addMacroScope(x_2207, x_2263, x_2204); -x_2265 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__24; -x_2266 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__30; -lean_inc(x_2201); -x_2267 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2267, 0, x_2201); -lean_ctor_set(x_2267, 1, x_2265); -lean_ctor_set(x_2267, 2, x_2264); -lean_ctor_set(x_2267, 3, x_2266); -x_2268 = lean_array_push(x_2215, x_2222); -x_2269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2269, 0, x_2217); -lean_ctor_set(x_2269, 1, x_2268); -x_2270 = lean_array_push(x_2227, x_2267); -x_2271 = lean_array_push(x_2270, x_2269); -x_2272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2272, 0, x_2230); -lean_ctor_set(x_2272, 1, x_2271); -x_2273 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__12; -x_2274 = lean_array_push(x_2273, x_2272); -x_2275 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; -x_2276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2276, 0, x_2275); -lean_ctor_set(x_2276, 1, x_2274); -x_2277 = lean_array_push(x_2215, x_2276); -x_2278 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2278, 0, x_2217); -lean_ctor_set(x_2278, 1, x_2277); -x_2279 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__10; -lean_inc(x_2201); -x_2280 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2280, 0, x_2201); -lean_ctor_set(x_2280, 1, x_2279); -x_2281 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__12; -lean_inc(x_2201); -x_2282 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2282, 0, x_2201); -lean_ctor_set(x_2282, 1, x_2281); -x_2283 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__13; -lean_inc(x_2204); -lean_inc(x_2207); -x_2284 = l_Lean_addMacroScope(x_2207, x_2283, x_2204); -x_2285 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -x_2286 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__16; -lean_inc(x_2201); -x_2287 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2287, 0, x_2201); -lean_ctor_set(x_2287, 1, x_2285); -lean_ctor_set(x_2287, 2, x_2284); -lean_ctor_set(x_2287, 3, x_2286); -x_2288 = lean_array_push(x_2215, x_2287); -x_2289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2289, 0, x_2217); -lean_ctor_set(x_2289, 1, x_2288); -x_2290 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__13; -lean_inc(x_2201); -x_2291 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2291, 0, x_2201); -lean_ctor_set(x_2291, 1, x_2290); -x_2292 = l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__6; -lean_inc(x_2201); -x_2293 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2293, 0, x_2201); -lean_ctor_set(x_2293, 1, x_2292); -x_2294 = lean_array_push(x_2215, x_2293); -x_2295 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__18; -x_2296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2296, 0, x_2295); -lean_ctor_set(x_2296, 1, x_2294); -x_2297 = lean_array_push(x_2227, x_2296); -x_2298 = lean_array_push(x_2297, x_2234); -x_2299 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2299, 0, x_2252); -lean_ctor_set(x_2299, 1, x_2298); -x_2300 = lean_array_push(x_2215, x_2299); -x_2301 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2301, 0, x_2217); -lean_ctor_set(x_2301, 1, x_2300); -x_2302 = lean_array_push(x_2215, x_2301); -x_2303 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_2304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2304, 0, x_2303); -lean_ctor_set(x_2304, 1, x_2302); -x_2305 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_2306 = lean_array_push(x_2305, x_2282); -lean_inc(x_2306); -x_2307 = lean_array_push(x_2306, x_2289); -lean_inc(x_2291); -x_2308 = lean_array_push(x_2307, x_2291); -x_2309 = lean_array_push(x_2308, x_2304); -x_2310 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm___spec__1___closed__1; -x_2311 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2311, 0, x_2310); -lean_ctor_set(x_2311, 1, x_2309); -x_2312 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -lean_inc(x_2204); -lean_inc(x_2207); -x_2313 = l_Lean_addMacroScope(x_2207, x_2312, x_2204); -x_2314 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__14; -x_2315 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__20; -lean_inc(x_2201); -x_2316 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2316, 0, x_2201); -lean_ctor_set(x_2316, 1, x_2314); -lean_ctor_set(x_2316, 2, x_2313); -lean_ctor_set(x_2316, 3, x_2315); -x_2317 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__3; -lean_inc(x_2201); -x_2318 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2318, 0, x_2201); -lean_ctor_set(x_2318, 1, x_2317); -lean_inc(x_2201); -x_2319 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2319, 0, x_2201); -lean_ctor_set(x_2319, 1, x_2256); -x_2320 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36; -x_2321 = l_Lean_addMacroScope(x_2207, x_2320, x_2204); -x_2322 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35; -lean_inc(x_2201); -x_2323 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2323, 0, x_2201); -lean_ctor_set(x_2323, 1, x_2322); -lean_ctor_set(x_2323, 2, x_2321); -lean_ctor_set(x_2323, 3, x_2196); -lean_inc(x_2323); -x_2324 = lean_array_push(x_2215, x_2323); -x_2325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2325, 0, x_2217); -lean_ctor_set(x_2325, 1, x_2324); -x_2326 = lean_array_push(x_2227, x_2319); -x_2327 = lean_array_push(x_2326, x_2325); -x_2328 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__32; -x_2329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2329, 0, x_2328); -lean_ctor_set(x_2329, 1, x_2327); -x_2330 = lean_array_push(x_2215, x_2329); -x_2331 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2331, 0, x_2217); -lean_ctor_set(x_2331, 1, x_2330); -x_2332 = lean_array_push(x_2227, x_1644); -x_2333 = lean_array_push(x_2332, x_2331); -x_2334 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2334, 0, x_2217); -lean_ctor_set(x_2334, 1, x_2333); -x_2335 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__17; -x_2336 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2336, 0, x_2201); -lean_ctor_set(x_2336, 1, x_2335); -x_2337 = lean_array_push(x_2244, x_2318); -x_2338 = lean_array_push(x_2337, x_2334); -x_2339 = lean_array_push(x_2338, x_2336); -x_2340 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2; -x_2341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2341, 0, x_2340); -lean_ctor_set(x_2341, 1, x_2339); -x_2342 = lean_array_push(x_2215, x_2341); -x_2343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2343, 0, x_2217); -lean_ctor_set(x_2343, 1, x_2342); -x_2344 = lean_array_push(x_2227, x_2316); -x_2345 = lean_array_push(x_2344, x_2343); -x_2346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2346, 0, x_2230); -lean_ctor_set(x_2346, 1, x_2345); -x_2347 = lean_array_push(x_2215, x_2346); -x_2348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2348, 0, x_2217); -lean_ctor_set(x_2348, 1, x_2347); -x_2349 = lean_array_push(x_2237, x_2323); -x_2350 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2350, 0, x_2239); -lean_ctor_set(x_2350, 1, x_2349); -x_2351 = lean_array_push(x_2215, x_2350); -x_2352 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_2353 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2353, 0, x_2352); -lean_ctor_set(x_2353, 1, x_2351); -x_2354 = lean_array_push(x_2227, x_2353); -x_2355 = lean_array_push(x_2354, x_2234); -x_2356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2356, 0, x_2252); -lean_ctor_set(x_2356, 1, x_2355); -lean_inc(x_2210); -x_2357 = lean_array_push(x_2227, x_2210); -lean_inc(x_2357); -x_2358 = lean_array_push(x_2357, x_1649); -x_2359 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__9; -x_2360 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2360, 0, x_2359); -lean_ctor_set(x_2360, 1, x_2358); -x_2361 = lean_array_push(x_2227, x_2360); -x_2362 = lean_array_push(x_2361, x_2234); -x_2363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2363, 0, x_2252); -lean_ctor_set(x_2363, 1, x_2362); -x_2364 = lean_array_push(x_2227, x_2356); -x_2365 = lean_array_push(x_2364, x_2363); -x_2366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2366, 0, x_2217); -lean_ctor_set(x_2366, 1, x_2365); -x_2367 = lean_array_push(x_2215, x_2366); -x_2368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2368, 0, x_2303); -lean_ctor_set(x_2368, 1, x_2367); -x_2369 = lean_array_push(x_2306, x_2348); -x_2370 = lean_array_push(x_2369, x_2291); -x_2371 = lean_array_push(x_2370, x_2368); -x_2372 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2372, 0, x_2310); -lean_ctor_set(x_2372, 1, x_2371); -x_2373 = lean_array_push(x_2227, x_2311); -x_2374 = lean_array_push(x_2373, x_2372); -x_2375 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2375, 0, x_2217); -lean_ctor_set(x_2375, 1, x_2374); -x_2376 = lean_array_push(x_2215, x_2375); -x_2377 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__4; -x_2378 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2378, 0, x_2377); -lean_ctor_set(x_2378, 1, x_2376); -x_2379 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__6___lambda__1___closed__4; -x_2380 = lean_array_push(x_2379, x_2262); -x_2381 = lean_array_push(x_2380, x_2234); -x_2382 = lean_array_push(x_2381, x_2278); -x_2383 = lean_array_push(x_2382, x_2234); -x_2384 = lean_array_push(x_2383, x_2280); -x_2385 = lean_array_push(x_2384, x_2378); -x_2386 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__10; -x_2387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2387, 0, x_2386); -lean_ctor_set(x_2387, 1, x_2385); -x_2388 = lean_array_push(x_2227, x_2387); -x_2389 = lean_array_push(x_2388, x_2234); -x_2390 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2390, 0, x_2252); -lean_ctor_set(x_2390, 1, x_2389); -x_2391 = lean_array_push(x_2215, x_2390); -x_2392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2392, 0, x_2217); -lean_ctor_set(x_2392, 1, x_2391); -x_2393 = lean_array_push(x_2215, x_2392); -x_2394 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2394, 0, x_2303); -lean_ctor_set(x_2394, 1, x_2393); -x_2395 = lean_array_push(x_2305, x_2255); -x_2396 = lean_array_push(x_2395, x_2260); -x_2397 = lean_array_push(x_2396, x_2210); -x_2398 = lean_array_push(x_2397, x_2394); -x_2399 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__5; -x_2400 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2400, 0, x_2399); -lean_ctor_set(x_2400, 1, x_2398); -x_2401 = lean_array_push(x_2227, x_2400); -x_2402 = lean_array_push(x_2401, x_2234); -x_2403 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2403, 0, x_2252); -lean_ctor_set(x_2403, 1, x_2402); -x_2404 = lean_array_push(x_2227, x_2253); -x_2405 = lean_array_push(x_2404, x_2403); -x_2406 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2406, 0, x_2217); -lean_ctor_set(x_2406, 1, x_2405); -x_2407 = lean_array_push(x_2215, x_2406); -x_2408 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2408, 0, x_2303); -lean_ctor_set(x_2408, 1, x_2407); -x_2409 = lean_array_push(x_2357, x_2408); -x_2410 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_2411 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2411, 0, x_2410); -lean_ctor_set(x_2411, 1, x_2409); -x_2412 = l_Lean_Syntax_getArg(x_2411, x_11); -lean_dec(x_2411); -x_2413 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_2412); -x_2414 = l_List_append___rarg(x_2413, x_2); -x_2415 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_2414, x_3, x_2174, x_5, x_6, x_7, x_8, x_9, x_2208); -return x_2415; -} +x_924 = lean_array_push(x_747, x_773); +x_925 = lean_array_push(x_924, x_923); +x_926 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_926, 0, x_737); +lean_ctor_set(x_926, 1, x_925); +x_927 = lean_array_push(x_735, x_926); +x_928 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_928, 0, x_823); +lean_ctor_set(x_928, 1, x_927); +x_929 = lean_array_push(x_877, x_928); +x_930 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_931 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_931, 0, x_930); +lean_ctor_set(x_931, 1, x_929); +x_932 = l_Lean_Syntax_getArg(x_931, x_11); +lean_dec(x_931); +x_933 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_932); +x_934 = l_List_append___rarg(x_933, x_2); +x_935 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_934, x_3, x_694, x_5, x_6, x_7, x_8, x_9, x_728); +return x_935; } } } lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doUnlessToCode(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) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +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_11 = lean_unsigned_to_nat(1u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); x_13 = lean_unsigned_to_nat(3u); x_14 = l_Lean_Syntax_getArg(x_1, x_13); x_15 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_14); -x_16 = !lean_is_exclusive(x_8); -if (x_16 == 0) -{ -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; +x_16 = lean_ctor_get(x_8, 0); x_17 = lean_ctor_get(x_8, 1); x_18 = lean_ctor_get(x_8, 2); x_19 = lean_ctor_get(x_8, 3); x_20 = lean_ctor_get(x_8, 4); x_21 = lean_ctor_get(x_8, 5); -x_22 = l_Lean_replaceRef(x_1, x_19); -lean_dec(x_19); +x_22 = lean_ctor_get(x_8, 6); +x_23 = lean_ctor_get(x_8, 7); +x_24 = l_Lean_replaceRef(x_1, x_19); +lean_inc(x_23); +lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); -lean_inc(x_22); lean_inc(x_18); lean_inc(x_17); -lean_ctor_set(x_8, 3, x_22); +lean_inc(x_16); +x_25 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_25, 0, x_16); +lean_ctor_set(x_25, 1, x_17); +lean_ctor_set(x_25, 2, x_18); +lean_ctor_set(x_25, 3, x_24); +lean_ctor_set(x_25, 4, x_20); +lean_ctor_set(x_25, 5, x_21); +lean_ctor_set(x_25, 6, x_22); +lean_ctor_set(x_25, 7, x_23); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_25); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_23 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_23) == 0) +x_26 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_15, x_3, x_4, x_5, x_6, x_7, x_25, x_9, x_10); +if (lean_obj_tag(x_26) == 0) { -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; uint8_t x_55; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_st_ref_get(x_9, x_25); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = lean_ctor_get(x_27, 0); -lean_inc(x_29); -lean_dec(x_27); -lean_inc(x_29); -x_30 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_30, 0, x_29); -lean_inc(x_20); -x_31 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_31, 0, x_20); -lean_inc(x_29); -x_32 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_32, 0, x_29); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_29); -x_33 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_33, 0, x_29); -lean_closure_set(x_33, 1, x_20); -lean_closure_set(x_33, 2, x_21); -lean_inc(x_29); -x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_34, 0, x_29); -lean_closure_set(x_34, 1, x_20); -lean_closure_set(x_34, 2, x_21); -x_35 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_35, 0, x_30); -lean_ctor_set(x_35, 1, x_31); -lean_ctor_set(x_35, 2, x_32); -lean_ctor_set(x_35, 3, x_33); -lean_ctor_set(x_35, 4, x_34); -x_36 = x_35; -x_37 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_28); -x_38 = lean_ctor_get(x_37, 0); +x_29 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkUnless___boxed), 4, 2); +lean_closure_set(x_29, 0, x_12); +lean_closure_set(x_29, 1, x_27); +lean_inc(x_25); +x_30 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__1(x_29, x_3, x_4, x_5, x_6, x_7, x_25, x_9, x_28); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_25, x_9, x_32); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_25); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_34 = lean_ctor_get(x_30, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_30, 1); +lean_inc(x_35); +lean_dec(x_30); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_25); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_37 = lean_ctor_get(x_26, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_26, 1); lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_st_ref_get(x_9, x_39); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_environment_main_module(x_29); -x_45 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_45, 0, x_36); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_38); -lean_ctor_set(x_45, 3, x_17); -lean_ctor_set(x_45, 4, x_18); -lean_ctor_set(x_45, 5, x_22); -x_46 = lean_box(0); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_43); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_Elab_Term_Do_mkUnless(x_12, x_24, x_45, x_47); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_st_ref_take(x_9, x_42); -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); -x_55 = !lean_is_exclusive(x_53); -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; -x_56 = lean_ctor_get(x_53, 1); -lean_dec(x_56); -lean_ctor_set(x_53, 1, x_51); -x_57 = lean_st_ref_set(x_9, x_53, x_54); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = lean_ctor_get(x_50, 1); -lean_inc(x_59); -lean_dec(x_50); -x_60 = l_List_reverse___rarg(x_59); -x_61 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_60, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_58); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_63 = l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_62); -return x_63; -} -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; -x_64 = lean_ctor_get(x_53, 0); -x_65 = lean_ctor_get(x_53, 2); -x_66 = lean_ctor_get(x_53, 3); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_53); -x_67 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_67, 0, x_64); -lean_ctor_set(x_67, 1, x_51); -lean_ctor_set(x_67, 2, x_65); -lean_ctor_set(x_67, 3, x_66); -x_68 = lean_st_ref_set(x_9, x_67, x_54); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_ctor_get(x_50, 1); -lean_inc(x_70); -lean_dec(x_50); -x_71 = l_List_reverse___rarg(x_70); -x_72 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_69); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -lean_dec(x_72); -x_74 = l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_73); -return x_74; -} -} -else -{ -uint8_t x_75; -lean_dec(x_8); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_75 = !lean_is_exclusive(x_23); -if (x_75 == 0) -{ -return x_23; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_23, 0); -x_77 = lean_ctor_get(x_23, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_23); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -return x_78; +lean_dec(x_26); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } -else -{ -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; -x_79 = lean_ctor_get(x_8, 0); -x_80 = lean_ctor_get(x_8, 1); -x_81 = lean_ctor_get(x_8, 2); -x_82 = lean_ctor_get(x_8, 3); -x_83 = lean_ctor_get(x_8, 4); -x_84 = lean_ctor_get(x_8, 5); -x_85 = lean_ctor_get(x_8, 6); -x_86 = lean_ctor_get(x_8, 7); -lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_8); -x_87 = l_Lean_replaceRef(x_1, x_82); -lean_dec(x_82); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_87); -lean_inc(x_81); -lean_inc(x_80); -x_88 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_88, 0, x_79); -lean_ctor_set(x_88, 1, x_80); -lean_ctor_set(x_88, 2, x_81); -lean_ctor_set(x_88, 3, x_87); -lean_ctor_set(x_88, 4, x_83); -lean_ctor_set(x_88, 5, x_84); -lean_ctor_set(x_88, 6, x_85); -lean_ctor_set(x_88, 7, x_86); -lean_inc(x_9); -lean_inc(x_88); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_89 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_15, x_3, x_4, x_5, x_6, x_7, x_88, x_9, x_10); -if (lean_obj_tag(x_89) == 0) -{ -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; -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = lean_st_ref_get(x_9, x_91); -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_ctor_get(x_93, 0); -lean_inc(x_95); -lean_dec(x_93); -lean_inc(x_95); -x_96 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_96, 0, x_95); -lean_inc(x_83); -x_97 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_97, 0, x_83); -lean_inc(x_95); -x_98 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_98, 0, x_95); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_95); -x_99 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_99, 0, x_95); -lean_closure_set(x_99, 1, x_83); -lean_closure_set(x_99, 2, x_84); -lean_inc(x_95); -x_100 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_100, 0, x_95); -lean_closure_set(x_100, 1, x_83); -lean_closure_set(x_100, 2, x_84); -x_101 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_101, 0, x_96); -lean_ctor_set(x_101, 1, x_97); -lean_ctor_set(x_101, 2, x_98); -lean_ctor_set(x_101, 3, x_99); -lean_ctor_set(x_101, 4, x_100); -x_102 = x_101; -x_103 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_88, x_9, x_94); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_st_ref_get(x_9, x_105); -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); -lean_dec(x_106); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_environment_main_module(x_95); -x_111 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_111, 0, x_102); -lean_ctor_set(x_111, 1, x_110); -lean_ctor_set(x_111, 2, x_104); -lean_ctor_set(x_111, 3, x_80); -lean_ctor_set(x_111, 4, x_81); -lean_ctor_set(x_111, 5, x_87); -x_112 = lean_box(0); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_109); -lean_ctor_set(x_113, 1, x_112); -x_114 = l_Lean_Elab_Term_Do_mkUnless(x_12, x_90, x_111, x_113); -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -lean_dec(x_114); -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_st_ref_take(x_9, x_108); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_121 = lean_ctor_get(x_119, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_119, 2); -lean_inc(x_122); -x_123 = lean_ctor_get(x_119, 3); -lean_inc(x_123); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - lean_ctor_release(x_119, 2); - lean_ctor_release(x_119, 3); - x_124 = x_119; -} else { - lean_dec_ref(x_119); - x_124 = lean_box(0); -} -if (lean_is_scalar(x_124)) { - x_125 = lean_alloc_ctor(0, 4, 0); -} else { - x_125 = x_124; -} -lean_ctor_set(x_125, 0, x_121); -lean_ctor_set(x_125, 1, x_117); -lean_ctor_set(x_125, 2, x_122); -lean_ctor_set(x_125, 3, x_123); -x_126 = lean_st_ref_set(x_9, x_125, x_120); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -lean_dec(x_126); -x_128 = lean_ctor_get(x_116, 1); -lean_inc(x_128); -lean_dec(x_116); -x_129 = l_List_reverse___rarg(x_128); -x_130 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_129, x_3, x_4, x_5, x_6, x_7, x_88, x_9, x_127); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -x_132 = l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(x_115, x_2, x_3, x_4, x_5, x_6, x_7, x_88, x_9, x_131); -return x_132; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -lean_dec(x_88); -lean_dec(x_87); -lean_dec(x_84); -lean_dec(x_83); -lean_dec(x_81); -lean_dec(x_80); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_133 = lean_ctor_get(x_89, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_89, 1); -lean_inc(x_134); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_135 = x_89; -} else { - lean_dec_ref(x_89); - x_135 = lean_box(0); -} -if (lean_is_scalar(x_135)) { - x_136 = lean_alloc_ctor(1, 2, 0); -} else { - x_136 = x_135; -} -lean_ctor_set(x_136, 0, x_133); -lean_ctor_set(x_136, 1, x_134); -return x_136; -} -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_10 = lean_ctor_get(x_7, 3); x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); lean_inc(x_10); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } } -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 3); -x_13 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 3, x_13); -x_14 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -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; lean_object* x_24; lean_object* x_25; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -x_17 = lean_ctor_get(x_8, 2); -x_18 = lean_ctor_get(x_8, 3); -x_19 = lean_ctor_get(x_8, 4); -x_20 = lean_ctor_get(x_8, 5); -x_21 = lean_ctor_get(x_8, 6); -x_22 = lean_ctor_get(x_8, 7); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); +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_11 = lean_ctor_get(x_8, 0); +x_12 = lean_ctor_get(x_8, 1); +x_13 = lean_ctor_get(x_8, 2); +x_14 = lean_ctor_get(x_8, 3); +x_15 = lean_ctor_get(x_8, 4); +x_16 = lean_ctor_get(x_8, 5); +x_17 = lean_ctor_get(x_8, 6); +x_18 = lean_ctor_get(x_8, 7); +x_19 = l_Lean_replaceRef(x_1, x_14); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_dec(x_8); -x_23 = l_Lean_replaceRef(x_1, x_18); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_24, 0, x_15); -lean_ctor_set(x_24, 1, x_16); -lean_ctor_set(x_24, 2, x_17); -lean_ctor_set(x_24, 3, x_23); -lean_ctor_set(x_24, 4, x_19); -lean_ctor_set(x_24, 5, x_20); -lean_ctor_set(x_24, 6, x_21); -lean_ctor_set(x_24, 7, x_22); -x_25 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); -lean_dec(x_24); -return x_25; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_20 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_12); +lean_ctor_set(x_20, 2, x_13); +lean_ctor_set(x_20, 3, x_19); +lean_ctor_set(x_20, 4, x_15); +lean_ctor_set(x_20, 5, x_16); +lean_ctor_set(x_20, 6, x_17); +lean_ctor_set(x_20, 7, x_18); +x_21 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_10); +lean_dec(x_20); +return x_21; } } -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__4___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__4(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3___rarg), 1, 0); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__4___rarg), 1, 0); return x_8; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__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) { +_start: +{ +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_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 4); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 5); +lean_inc(x_15); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__1___boxed), 4, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_13); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__2___boxed), 4, 1); +lean_closure_set(x_18, 0, x_13); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__3___boxed), 6, 3); +lean_closure_set(x_19, 0, x_13); +lean_closure_set(x_19, 1, x_14); +lean_closure_set(x_19, 2, x_15); +lean_inc(x_13); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__2___lambda__4___boxed), 6, 3); +lean_closure_set(x_20, 0, x_13); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_15); +x_21 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_17); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_19); +lean_ctor_set(x_21, 4, x_20); +x_22 = x_21; +x_23 = lean_ctor_get(x_7, 3); +lean_inc(x_23); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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_ctor_get(x_7, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_7, 2); +lean_inc(x_28); +x_29 = lean_st_ref_get(x_8, x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_environment_main_module(x_13); +x_34 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_25); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_23); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_apply_2(x_1, x_34, x_36); +if (lean_obj_tag(x_37) == 0) +{ +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; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_st_ref_take(x_8, x_31); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_42, 2); +lean_inc(x_45); +x_46 = lean_ctor_get(x_42, 3); +lean_inc(x_46); +lean_dec(x_42); +x_47 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_40); +lean_ctor_set(x_47, 2, x_45); +lean_ctor_set(x_47, 3, x_46); +x_48 = lean_st_ref_set(x_8, x_47, x_43); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_ctor_get(x_39, 1); +lean_inc(x_50); +lean_dec(x_39); +x_51 = l_List_reverse___rarg(x_50); +x_52 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__4(x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_49); +lean_dec(x_7); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_38); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +else +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_37, 0); +lean_inc(x_55); +lean_dec(x_37); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +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(2, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_59, 0, x_58); +x_60 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2(x_56, x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_7); +lean_dec(x_56); +return x_60; +} +else +{ +lean_object* x_61; +lean_dec(x_7); +x_61 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__4___rarg(x_31); +return x_61; +} +} +} +} lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(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) { _start: { -lean_object* x_11; lean_object* x_12; 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; uint8_t x_77; -x_43 = lean_st_ref_get(x_9, x_10); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_ctor_get(x_44, 0); -lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_ctor_get(x_8, 4); -lean_inc(x_47); -x_48 = lean_ctor_get(x_8, 5); -lean_inc(x_48); -lean_inc(x_46); -x_49 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_49, 0, x_46); -lean_inc(x_47); -x_50 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_50, 0, x_47); -lean_inc(x_46); -x_51 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_51, 0, x_46); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); -x_52 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_52, 0, x_46); -lean_closure_set(x_52, 1, x_47); -lean_closure_set(x_52, 2, x_48); -lean_inc(x_46); -x_53 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_53, 0, x_46); -lean_closure_set(x_53, 1, x_47); -lean_closure_set(x_53, 2, x_48); -x_54 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_54, 0, x_49); -lean_ctor_set(x_54, 1, x_50); -lean_ctor_set(x_54, 2, x_51); -lean_ctor_set(x_54, 3, x_52); -lean_ctor_set(x_54, 4, x_53); -x_55 = x_54; -x_56 = lean_ctor_get(x_8, 3); -lean_inc(x_56); -x_57 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_45); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_ctor_get(x_8, 1); -lean_inc(x_60); -x_61 = lean_ctor_get(x_8, 2); -lean_inc(x_61); -x_62 = lean_st_ref_get(x_9, x_59); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_environment_main_module(x_46); -x_67 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_67, 0, x_55); -lean_ctor_set(x_67, 1, x_66); -lean_ctor_set(x_67, 2, x_58); -lean_ctor_set(x_67, 3, x_60); -lean_ctor_set(x_67, 4, x_61); -lean_ctor_set(x_67, 5, x_56); -x_68 = lean_box(0); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_65); -lean_ctor_set(x_69, 1, x_68); -x_70 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkDoIfView(x_1, x_67, x_69); -lean_dec(x_67); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_st_ref_take(x_9, x_64); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = !lean_is_exclusive(x_75); -if (x_77 == 0) +lean_object* x_11; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkDoIfView___boxed), 3, 1); +lean_closure_set(x_11, 0, x_1); +lean_inc(x_8); +x_12 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__1(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) { -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; -x_78 = lean_ctor_get(x_75, 1); -lean_dec(x_78); -lean_ctor_set(x_75, 1, x_73); -x_79 = lean_st_ref_set(x_9, x_75, x_76); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_81 = lean_ctor_get(x_72, 1); -lean_inc(x_81); -lean_dec(x_72); -x_82 = l_List_reverse___rarg(x_81); -x_83 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_82, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_80); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_11 = x_71; -x_12 = x_84; -goto block_42; -} -else -{ -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; -x_85 = lean_ctor_get(x_75, 0); -x_86 = lean_ctor_get(x_75, 2); -x_87 = lean_ctor_get(x_75, 3); -lean_inc(x_87); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_75); -x_88 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_88, 0, x_85); -lean_ctor_set(x_88, 1, x_73); -lean_ctor_set(x_88, 2, x_86); -lean_ctor_set(x_88, 3, x_87); -x_89 = lean_st_ref_set(x_9, x_88, x_76); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -x_91 = lean_ctor_get(x_72, 1); -lean_inc(x_91); -lean_dec(x_72); -x_92 = l_List_reverse___rarg(x_91); -x_93 = l_List_forM___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3(x_92, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_90); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_11 = x_71; -x_12 = x_94; -goto block_42; -} -block_42: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_11, 3); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -x_14 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_13, 3); +lean_inc(x_15); +x_16 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_15); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -69058,18 +40480,18 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_15 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); -if (lean_obj_tag(x_15) == 0) +x_17 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -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); -x_18 = lean_ctor_get(x_11, 4); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -x_19 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_13, 4); +lean_inc(x_20); +x_21 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_20); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -69077,43 +40499,43 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_20 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); -if (lean_obj_tag(x_20) == 0) +x_22 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_ctor_get(x_11, 0); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -x_24 = lean_ctor_get(x_11, 1); +x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); -x_25 = lean_ctor_get(x_11, 2); +lean_dec(x_22); +x_25 = lean_ctor_get(x_13, 0); lean_inc(x_25); -lean_dec(x_11); +x_26 = lean_ctor_get(x_13, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_13, 2); +lean_inc(x_27); +lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_26 = l_Lean_Elab_Term_Do_mkIte(x_23, x_24, x_25, x_16, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -if (lean_obj_tag(x_26) == 0) +x_28 = l_Lean_Elab_Term_Do_mkIte(x_25, x_26, x_27, x_18, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); -return x_29; +lean_object* x_29; lean_object* x_30; lean_object* x_31; +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 = l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_30); +return x_31; } else { -uint8_t x_30; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -69122,63 +40544,45 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_30 = !lean_is_exclusive(x_26); -if (x_30 == 0) -{ -return x_26; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_26, 0); -x_32 = lean_ctor_get(x_26, 1); +x_32 = lean_ctor_get(x_28, 0); lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_26); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +x_33 = lean_ctor_get(x_28, 1); +lean_inc(x_33); +lean_dec(x_28); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } -} -else -{ -uint8_t x_34; -lean_dec(x_16); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_34 = !lean_is_exclusive(x_20); -if (x_34 == 0) -{ -return x_20; -} else { lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_20, 0); -x_36 = lean_ctor_get(x_20, 1); -lean_inc(x_36); +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_35 = lean_ctor_get(x_22, 0); lean_inc(x_35); -lean_dec(x_20); +x_36 = lean_ctor_get(x_22, 1); +lean_inc(x_36); +lean_dec(x_22); x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); return x_37; } } -} else { -uint8_t x_38; -lean_dec(x_11); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -69187,25 +40591,37 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_38 = !lean_is_exclusive(x_15); -if (x_38 == 0) -{ -return x_15; +x_38 = lean_ctor_get(x_17, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_17, 1); +lean_inc(x_39); +lean_dec(x_17); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_15, 0); -x_40 = lean_ctor_get(x_15, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_15); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} +lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_41 = lean_ctor_get(x_12, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_12, 1); +lean_inc(x_42); +lean_dec(x_12); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } @@ -69298,7 +40714,7 @@ lean_object* x_18; lean_object* x_19; lean_dec(x_12); lean_dec(x_2); x_18 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__1; -x_19 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_19 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -69326,7 +40742,7 @@ lean_dec(x_22); lean_dec(x_20); lean_dec(x_2); x_26 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__3; -x_27 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_27 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -69338,655 +40754,327 @@ return x_27; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +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; uint8_t x_44; uint8_t x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; x_28 = lean_st_ref_take(x_9, x_10); 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_29); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_31 = lean_ctor_get(x_29, 0); +lean_inc(x_31); x_32 = lean_ctor_get(x_29, 1); -x_33 = lean_unsigned_to_nat(1u); -x_34 = lean_nat_add(x_32, x_33); -lean_ctor_set(x_29, 1, x_34); -x_35 = lean_st_ref_set(x_9, x_29, x_30); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = !lean_is_exclusive(x_4); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_38 = lean_ctor_get(x_4, 4); +lean_inc(x_32); +x_33 = lean_ctor_get(x_29, 2); +lean_inc(x_33); +x_34 = lean_ctor_get(x_29, 3); +lean_inc(x_34); +lean_dec(x_29); +x_35 = lean_unsigned_to_nat(1u); +x_36 = lean_nat_add(x_32, x_35); +x_37 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_37, 0, x_31); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_37, 2, x_33); +lean_ctor_set(x_37, 3, x_34); +x_38 = lean_st_ref_set(x_9, x_37, x_30); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); lean_dec(x_38); -lean_ctor_set(x_4, 4, x_32); -x_39 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_36); -x_40 = lean_ctor_get(x_39, 0); +x_40 = lean_ctor_get(x_4, 0); lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); +x_41 = lean_ctor_get(x_4, 1); lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_41); -x_43 = lean_ctor_get(x_42, 0); +x_42 = lean_ctor_get(x_4, 2); +lean_inc(x_42); +x_43 = lean_ctor_get(x_4, 3); lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_44); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); +x_44 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_45 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_46 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_47 = lean_ctor_get(x_4, 5); lean_inc(x_47); -lean_dec(x_45); -x_48 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_40); -x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_40); -lean_ctor_set(x_49, 1, x_48); -x_50 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_40); -x_51 = lean_alloc_ctor(2, 2, 0); +x_48 = lean_ctor_get(x_4, 6); +lean_inc(x_48); +x_49 = lean_ctor_get(x_4, 7); +lean_inc(x_49); +x_50 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); +lean_dec(x_4); +x_51 = lean_alloc_ctor(0, 8, 4); lean_ctor_set(x_51, 0, x_40); -lean_ctor_set(x_51, 1, x_50); -x_52 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; -x_53 = l_Lean_addMacroScope(x_46, x_52, x_43); -x_54 = lean_box(0); -x_55 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; -lean_inc(x_40); -x_56 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_56, 0, x_40); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_53); -lean_ctor_set(x_56, 3, x_54); -x_57 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_40); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_40); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_ctor_set(x_51, 1, x_41); +lean_ctor_set(x_51, 2, x_42); +lean_ctor_set(x_51, 3, x_43); +lean_ctor_set(x_51, 4, x_32); +lean_ctor_set(x_51, 5, x_47); +lean_ctor_set(x_51, 6, x_48); +lean_ctor_set(x_51, 7, x_49); +lean_ctor_set_uint8(x_51, sizeof(void*)*8, x_44); +lean_ctor_set_uint8(x_51, sizeof(void*)*8 + 1, x_45); +lean_ctor_set_uint8(x_51, sizeof(void*)*8 + 2, x_46); +lean_ctor_set_uint8(x_51, sizeof(void*)*8 + 3, x_50); +x_52 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_39); +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); +x_55 = l_Lean_Elab_Term_getCurrMacroScope(x_51, x_5, x_6, x_7, x_8, x_9, x_54); +x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); -x_60 = lean_array_push(x_59, x_56); -x_61 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_62 = lean_array_push(x_60, x_61); -x_63 = lean_array_push(x_62, x_58); -x_64 = lean_array_push(x_63, x_22); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_14); -lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_67 = lean_array_push(x_66, x_51); -x_68 = lean_array_push(x_67, x_61); -x_69 = lean_array_push(x_68, x_65); -x_70 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -x_72 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_40); -x_73 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_73, 0, x_40); -lean_ctor_set(x_73, 1, x_72); -x_74 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_75 = lean_array_push(x_74, x_73); -x_76 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_79 = lean_array_push(x_78, x_71); -x_80 = lean_array_push(x_79, x_77); -x_81 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -x_83 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_84 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_84, 0, x_40); -lean_ctor_set(x_84, 1, x_83); -x_85 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_86 = lean_array_push(x_85, x_20); -x_87 = lean_array_push(x_86, x_61); -x_88 = lean_array_push(x_87, x_61); -x_89 = lean_array_push(x_88, x_84); -x_90 = lean_array_push(x_89, x_56); -x_91 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = lean_array_push(x_74, x_92); -x_94 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_57); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_53); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_53); +lean_ctor_set(x_62, 1, x_61); +x_63 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_53); +x_64 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_64, 0, x_53); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; +x_66 = l_Lean_addMacroScope(x_59, x_65, x_56); +x_67 = lean_box(0); +x_68 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; +lean_inc(x_53); +x_69 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_69, 0, x_53); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_69, 2, x_66); +lean_ctor_set(x_69, 3, x_67); +x_70 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_53); +x_71 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_71, 0, x_53); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_69); +x_73 = lean_array_push(x_72, x_69); +x_74 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_75 = lean_array_push(x_73, x_74); +x_76 = lean_array_push(x_75, x_71); +x_77 = lean_array_push(x_76, x_22); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_14); +lean_ctor_set(x_78, 1, x_77); +x_79 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_80 = lean_array_push(x_79, x_64); +x_81 = lean_array_push(x_80, x_74); +x_82 = lean_array_push(x_81, x_78); +x_83 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_82); +x_85 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_53); +x_86 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_86, 0, x_53); +lean_ctor_set(x_86, 1, x_85); +x_87 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_88 = lean_array_push(x_87, x_86); +x_89 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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); +x_91 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_92 = lean_array_push(x_91, x_84); +x_93 = lean_array_push(x_92, x_90); +x_94 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; x_95 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_95, 0, x_94); lean_ctor_set(x_95, 1, x_93); -x_96 = lean_array_push(x_78, x_95); -x_97 = lean_array_push(x_96, x_61); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_81); -lean_ctor_set(x_98, 1, x_97); -x_99 = lean_array_push(x_78, x_82); -x_100 = lean_array_push(x_99, x_98); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_76); -lean_ctor_set(x_101, 1, x_100); -x_102 = lean_array_push(x_74, x_101); -x_103 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -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_78, x_49); -x_106 = lean_array_push(x_105, x_104); -x_107 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_96 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +x_97 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_97, 0, x_53); +lean_ctor_set(x_97, 1, x_96); +x_98 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_99 = lean_array_push(x_98, x_20); +x_100 = lean_array_push(x_99, x_74); +x_101 = lean_array_push(x_100, x_74); +x_102 = lean_array_push(x_101, x_97); +x_103 = lean_array_push(x_102, x_69); +x_104 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_103); +x_106 = lean_array_push(x_87, x_105); +x_107 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; 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_Lean_Syntax_getArg(x_108, x_33); -lean_dec(x_108); -x_110 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_109); -x_111 = l_List_append___rarg(x_110, x_2); -x_112 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_111, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_47); -return x_112; +x_109 = lean_array_push(x_91, x_108); +x_110 = lean_array_push(x_109, x_74); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_94); +lean_ctor_set(x_111, 1, x_110); +x_112 = lean_array_push(x_91, x_95); +x_113 = lean_array_push(x_112, x_111); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_89); +lean_ctor_set(x_114, 1, x_113); +x_115 = lean_array_push(x_87, x_114); +x_116 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_115); +x_118 = lean_array_push(x_91, x_62); +x_119 = lean_array_push(x_118, x_117); +x_120 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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); +x_122 = l_Lean_Syntax_getArg(x_121, x_35); +lean_dec(x_121); +x_123 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_122); +x_124 = l_List_append___rarg(x_123, x_2); +x_125 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_124, x_3, x_51, x_5, x_6, x_7, x_8, x_9, x_60); +return x_125; +} +} } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; uint8_t x_118; uint8_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_113 = lean_ctor_get(x_4, 0); -x_114 = lean_ctor_get(x_4, 1); -x_115 = lean_ctor_get(x_4, 2); -x_116 = lean_ctor_get(x_4, 3); -x_117 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_118 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_119 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_120 = lean_ctor_get(x_4, 5); -x_121 = lean_ctor_get(x_4, 6); -x_122 = lean_ctor_get(x_4, 7); -x_123 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_inc(x_122); -lean_inc(x_121); -lean_inc(x_120); -lean_inc(x_116); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_4); -x_124 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_124, 0, x_113); -lean_ctor_set(x_124, 1, x_114); -lean_ctor_set(x_124, 2, x_115); -lean_ctor_set(x_124, 3, x_116); -lean_ctor_set(x_124, 4, x_32); -lean_ctor_set(x_124, 5, x_120); -lean_ctor_set(x_124, 6, x_121); -lean_ctor_set(x_124, 7, x_122); -lean_ctor_set_uint8(x_124, sizeof(void*)*8, x_117); -lean_ctor_set_uint8(x_124, sizeof(void*)*8 + 1, x_118); -lean_ctor_set_uint8(x_124, sizeof(void*)*8 + 2, x_119); -lean_ctor_set_uint8(x_124, sizeof(void*)*8 + 3, x_123); -x_125 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_36); -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); -lean_inc(x_127); -lean_dec(x_125); -x_128 = l_Lean_Elab_Term_getCurrMacroScope(x_124, x_5, x_6, x_7, x_8, x_9, x_127); -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +lean_dec(x_13); +x_126 = lean_unsigned_to_nat(3u); +x_127 = l_Lean_Syntax_getArg(x_12, x_126); +x_128 = l_Lean_Syntax_getArg(x_12, x_11); +lean_dec(x_12); +x_129 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_10); +x_130 = lean_ctor_get(x_129, 0); lean_inc(x_130); -lean_dec(x_128); -x_131 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_130); -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); +x_131 = lean_ctor_get(x_129, 1); +lean_inc(x_131); +lean_dec(x_129); +x_132 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_131); +x_133 = lean_ctor_get(x_132, 0); lean_inc(x_133); -lean_dec(x_131); -x_134 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_126); -x_135 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_135, 0, x_126); -lean_ctor_set(x_135, 1, x_134); -x_136 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_126); -x_137 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_137, 0, x_126); -lean_ctor_set(x_137, 1, x_136); -x_138 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; -x_139 = l_Lean_addMacroScope(x_132, x_138, x_129); -x_140 = lean_box(0); -x_141 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; -lean_inc(x_126); -x_142 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_142, 0, x_126); -lean_ctor_set(x_142, 1, x_141); -lean_ctor_set(x_142, 2, x_139); -lean_ctor_set(x_142, 3, x_140); -x_143 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_126); -x_144 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_144, 0, x_126); -lean_ctor_set(x_144, 1, x_143); -x_145 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_142); -x_146 = lean_array_push(x_145, x_142); -x_147 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_148 = lean_array_push(x_146, x_147); -x_149 = lean_array_push(x_148, x_144); -x_150 = lean_array_push(x_149, x_22); -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_14); -lean_ctor_set(x_151, 1, x_150); -x_152 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_153 = lean_array_push(x_152, x_137); -x_154 = lean_array_push(x_153, x_147); -x_155 = lean_array_push(x_154, x_151); -x_156 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_155); -x_158 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_126); -x_159 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_159, 0, x_126); -lean_ctor_set(x_159, 1, x_158); -x_160 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_161 = lean_array_push(x_160, x_159); -x_162 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_161); -x_164 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_165 = lean_array_push(x_164, x_157); -x_166 = lean_array_push(x_165, x_163); -x_167 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -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_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_170 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_170, 0, x_126); -lean_ctor_set(x_170, 1, x_169); -x_171 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_172 = lean_array_push(x_171, x_20); -x_173 = lean_array_push(x_172, x_147); -x_174 = lean_array_push(x_173, x_147); -x_175 = lean_array_push(x_174, x_170); -x_176 = lean_array_push(x_175, x_142); -x_177 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_176); -x_179 = lean_array_push(x_160, x_178); -x_180 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_179); -x_182 = lean_array_push(x_164, x_181); -x_183 = lean_array_push(x_182, x_147); -x_184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_184, 0, x_167); -lean_ctor_set(x_184, 1, x_183); -x_185 = lean_array_push(x_164, x_168); -x_186 = lean_array_push(x_185, x_184); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_162); -lean_ctor_set(x_187, 1, x_186); -x_188 = lean_array_push(x_160, x_187); -x_189 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_188); -x_191 = lean_array_push(x_164, x_135); -x_192 = lean_array_push(x_191, x_190); -x_193 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_130); +x_139 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_139, 0, x_130); +lean_ctor_set(x_139, 1, x_138); +x_140 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_130); +x_141 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_141, 0, x_130); +lean_ctor_set(x_141, 1, x_140); +x_142 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; +x_143 = l_Lean_addMacroScope(x_136, x_142, x_133); +x_144 = lean_box(0); +x_145 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; +lean_inc(x_130); +x_146 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_146, 0, x_130); +lean_ctor_set(x_146, 1, x_145); +lean_ctor_set(x_146, 2, x_143); +lean_ctor_set(x_146, 3, x_144); +x_147 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_130); +x_148 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_148, 0, x_130); +lean_ctor_set(x_148, 1, x_147); +x_149 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_146); +x_150 = lean_array_push(x_149, x_146); +x_151 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_152 = lean_array_push(x_150, x_151); +x_153 = lean_array_push(x_152, x_148); +x_154 = lean_array_push(x_153, x_127); +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_14); +lean_ctor_set(x_155, 1, x_154); +x_156 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_157 = lean_array_push(x_156, x_141); +x_158 = lean_array_push(x_157, x_151); +x_159 = lean_array_push(x_158, x_155); +x_160 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_159); +x_162 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_130); +x_163 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_163, 0, x_130); +lean_ctor_set(x_163, 1, x_162); +x_164 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_165 = lean_array_push(x_164, x_163); +x_166 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_168 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_169 = lean_array_push(x_168, x_161); +x_170 = lean_array_push(x_169, x_167); +x_171 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +x_174 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_174, 0, x_130); +lean_ctor_set(x_174, 1, x_173); +x_175 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_176 = lean_array_push(x_175, x_128); +x_177 = lean_array_push(x_176, x_151); +x_178 = lean_array_push(x_177, x_151); +x_179 = lean_array_push(x_178, x_174); +x_180 = lean_array_push(x_179, x_146); +x_181 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; +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_array_push(x_164, x_182); +x_184 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___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_151); +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_171); +lean_ctor_set(x_188, 1, x_187); +x_189 = lean_array_push(x_168, x_172); +x_190 = lean_array_push(x_189, x_188); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_166); +lean_ctor_set(x_191, 1, x_190); +x_192 = lean_array_push(x_164, x_191); +x_193 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; x_194 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_194, 0, x_193); lean_ctor_set(x_194, 1, x_192); -x_195 = l_Lean_Syntax_getArg(x_194, x_33); -lean_dec(x_194); -x_196 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_195); -x_197 = l_List_append___rarg(x_196, x_2); -x_198 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_197, x_3, x_124, x_5, x_6, x_7, x_8, x_9, x_133); -return x_198; -} -} -else -{ -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; uint8_t x_212; uint8_t x_213; uint8_t x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 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; -x_199 = lean_ctor_get(x_29, 0); -x_200 = lean_ctor_get(x_29, 1); -x_201 = lean_ctor_get(x_29, 2); -x_202 = lean_ctor_get(x_29, 3); -lean_inc(x_202); -lean_inc(x_201); -lean_inc(x_200); -lean_inc(x_199); -lean_dec(x_29); -x_203 = lean_unsigned_to_nat(1u); -x_204 = lean_nat_add(x_200, x_203); -x_205 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_205, 0, x_199); -lean_ctor_set(x_205, 1, x_204); -lean_ctor_set(x_205, 2, x_201); -lean_ctor_set(x_205, 3, x_202); -x_206 = lean_st_ref_set(x_9, x_205, x_30); -x_207 = lean_ctor_get(x_206, 1); -lean_inc(x_207); -lean_dec(x_206); -x_208 = lean_ctor_get(x_4, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_4, 1); -lean_inc(x_209); -x_210 = lean_ctor_get(x_4, 2); -lean_inc(x_210); -x_211 = lean_ctor_get(x_4, 3); -lean_inc(x_211); -x_212 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_213 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_214 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_215 = lean_ctor_get(x_4, 5); -lean_inc(x_215); -x_216 = lean_ctor_get(x_4, 6); -lean_inc(x_216); -x_217 = lean_ctor_get(x_4, 7); -lean_inc(x_217); -x_218 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -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); - x_219 = x_4; -} else { - lean_dec_ref(x_4); - x_219 = lean_box(0); -} -if (lean_is_scalar(x_219)) { - x_220 = lean_alloc_ctor(0, 8, 4); -} else { - x_220 = x_219; -} -lean_ctor_set(x_220, 0, x_208); -lean_ctor_set(x_220, 1, x_209); -lean_ctor_set(x_220, 2, x_210); -lean_ctor_set(x_220, 3, x_211); -lean_ctor_set(x_220, 4, x_200); -lean_ctor_set(x_220, 5, x_215); -lean_ctor_set(x_220, 6, x_216); -lean_ctor_set(x_220, 7, x_217); -lean_ctor_set_uint8(x_220, sizeof(void*)*8, x_212); -lean_ctor_set_uint8(x_220, sizeof(void*)*8 + 1, x_213); -lean_ctor_set_uint8(x_220, sizeof(void*)*8 + 2, x_214); -lean_ctor_set_uint8(x_220, sizeof(void*)*8 + 3, x_218); -x_221 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_207); -x_222 = lean_ctor_get(x_221, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_221, 1); -lean_inc(x_223); -lean_dec(x_221); -x_224 = l_Lean_Elab_Term_getCurrMacroScope(x_220, x_5, x_6, x_7, x_8, x_9, x_223); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -lean_dec(x_224); -x_227 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_226); -x_228 = lean_ctor_get(x_227, 0); -lean_inc(x_228); -x_229 = lean_ctor_get(x_227, 1); -lean_inc(x_229); -lean_dec(x_227); -x_230 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_222); -x_231 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_231, 0, x_222); -lean_ctor_set(x_231, 1, x_230); -x_232 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_222); -x_233 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_233, 0, x_222); -lean_ctor_set(x_233, 1, x_232); -x_234 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; -x_235 = l_Lean_addMacroScope(x_228, x_234, x_225); -x_236 = lean_box(0); -x_237 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; -lean_inc(x_222); -x_238 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_238, 0, x_222); -lean_ctor_set(x_238, 1, x_237); -lean_ctor_set(x_238, 2, x_235); -lean_ctor_set(x_238, 3, x_236); -x_239 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_222); -x_240 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_240, 0, x_222); -lean_ctor_set(x_240, 1, x_239); -x_241 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_238); -x_242 = lean_array_push(x_241, x_238); -x_243 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_244 = lean_array_push(x_242, x_243); -x_245 = lean_array_push(x_244, x_240); -x_246 = lean_array_push(x_245, x_22); -x_247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_247, 0, x_14); -lean_ctor_set(x_247, 1, x_246); -x_248 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_249 = lean_array_push(x_248, x_233); -x_250 = lean_array_push(x_249, x_243); -x_251 = lean_array_push(x_250, x_247); -x_252 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_251); -x_254 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_222); -x_255 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_255, 0, x_222); -lean_ctor_set(x_255, 1, x_254); -x_256 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_257 = lean_array_push(x_256, x_255); -x_258 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_258); -lean_ctor_set(x_259, 1, x_257); -x_260 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_261 = lean_array_push(x_260, x_253); -x_262 = lean_array_push(x_261, x_259); -x_263 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_262); -x_265 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_266 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_266, 0, x_222); -lean_ctor_set(x_266, 1, x_265); -x_267 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_268 = lean_array_push(x_267, x_20); -x_269 = lean_array_push(x_268, x_243); -x_270 = lean_array_push(x_269, x_243); -x_271 = lean_array_push(x_270, x_266); -x_272 = lean_array_push(x_271, x_238); -x_273 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_273); -lean_ctor_set(x_274, 1, x_272); -x_275 = lean_array_push(x_256, x_274); -x_276 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___closed__2; -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_276); -lean_ctor_set(x_277, 1, x_275); -x_278 = lean_array_push(x_260, x_277); -x_279 = lean_array_push(x_278, x_243); -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_263); -lean_ctor_set(x_280, 1, x_279); -x_281 = lean_array_push(x_260, x_264); -x_282 = lean_array_push(x_281, x_280); -x_283 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_283, 0, x_258); -lean_ctor_set(x_283, 1, x_282); -x_284 = lean_array_push(x_256, x_283); -x_285 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_284); -x_287 = lean_array_push(x_260, x_231); -x_288 = lean_array_push(x_287, x_286); -x_289 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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 = l_Lean_Syntax_getArg(x_290, x_203); -lean_dec(x_290); -x_292 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_291); -x_293 = l_List_append___rarg(x_292, x_2); -x_294 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_293, x_3, x_220, x_5, x_6, x_7, x_8, x_9, x_229); -return x_294; -} -} -} -} -else -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; 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_dec(x_13); -x_295 = lean_unsigned_to_nat(3u); -x_296 = l_Lean_Syntax_getArg(x_12, x_295); -x_297 = l_Lean_Syntax_getArg(x_12, x_11); -lean_dec(x_12); -x_298 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_10); -x_299 = lean_ctor_get(x_298, 0); -lean_inc(x_299); -x_300 = lean_ctor_get(x_298, 1); -lean_inc(x_300); -lean_dec(x_298); -x_301 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_300); -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); -x_303 = lean_ctor_get(x_301, 1); -lean_inc(x_303); -lean_dec(x_301); -x_304 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_303); -x_305 = lean_ctor_get(x_304, 0); -lean_inc(x_305); -x_306 = lean_ctor_get(x_304, 1); -lean_inc(x_306); -lean_dec(x_304); -x_307 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_299); -x_308 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_308, 0, x_299); -lean_ctor_set(x_308, 1, x_307); -x_309 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_299); -x_310 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_310, 0, x_299); -lean_ctor_set(x_310, 1, x_309); -x_311 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__9; -x_312 = l_Lean_addMacroScope(x_305, x_311, x_302); -x_313 = lean_box(0); -x_314 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; -lean_inc(x_299); -x_315 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_315, 0, x_299); -lean_ctor_set(x_315, 1, x_314); -lean_ctor_set(x_315, 2, x_312); -lean_ctor_set(x_315, 3, x_313); -x_316 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_299); -x_317 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_317, 0, x_299); -lean_ctor_set(x_317, 1, x_316); -x_318 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_315); -x_319 = lean_array_push(x_318, x_315); -x_320 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_321 = lean_array_push(x_319, x_320); -x_322 = lean_array_push(x_321, x_317); -x_323 = lean_array_push(x_322, x_296); -x_324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_324, 0, x_14); -lean_ctor_set(x_324, 1, x_323); -x_325 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_326 = lean_array_push(x_325, x_310); -x_327 = lean_array_push(x_326, x_320); -x_328 = lean_array_push(x_327, x_324); -x_329 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_330 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_330, 0, x_329); -lean_ctor_set(x_330, 1, x_328); -x_331 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_299); -x_332 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_332, 0, x_299); -lean_ctor_set(x_332, 1, x_331); -x_333 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_334 = lean_array_push(x_333, x_332); -x_335 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_336, 0, x_335); -lean_ctor_set(x_336, 1, x_334); -x_337 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_338 = lean_array_push(x_337, x_330); -x_339 = lean_array_push(x_338, x_336); -x_340 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_341, 0, x_340); -lean_ctor_set(x_341, 1, x_339); -x_342 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_343 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_343, 0, x_299); -lean_ctor_set(x_343, 1, x_342); -x_344 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_345 = lean_array_push(x_344, x_297); -x_346 = lean_array_push(x_345, x_320); -x_347 = lean_array_push(x_346, x_320); -x_348 = lean_array_push(x_347, x_343); -x_349 = lean_array_push(x_348, x_315); -x_350 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_350); -lean_ctor_set(x_351, 1, x_349); -x_352 = lean_array_push(x_333, x_351); -x_353 = l_Lean_Elab_Term_Do_ToTerm_reassignToTerm___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); -x_355 = lean_array_push(x_337, x_354); -x_356 = lean_array_push(x_355, x_320); -x_357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_357, 0, x_340); -lean_ctor_set(x_357, 1, x_356); -x_358 = lean_array_push(x_337, x_341); -x_359 = lean_array_push(x_358, x_357); -x_360 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_360, 0, x_335); -lean_ctor_set(x_360, 1, x_359); -x_361 = lean_array_push(x_333, x_360); -x_362 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_363, 0, x_362); -lean_ctor_set(x_363, 1, x_361); -x_364 = lean_array_push(x_337, x_308); -x_365 = lean_array_push(x_364, x_363); -x_366 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_367 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_367, 0, x_366); -lean_ctor_set(x_367, 1, x_365); -x_368 = lean_unsigned_to_nat(1u); -x_369 = l_Lean_Syntax_getArg(x_367, x_368); -lean_dec(x_367); -x_370 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_369); -x_371 = l_List_append___rarg(x_370, x_2); -x_372 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_371, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_306); -return x_372; +x_195 = lean_array_push(x_168, x_139); +x_196 = lean_array_push(x_195, x_194); +x_197 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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_unsigned_to_nat(1u); +x_200 = l_Lean_Syntax_getArg(x_198, x_199); +lean_dec(x_198); +x_201 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_200); +x_202 = l_List_append___rarg(x_201, x_2); +x_203 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_202, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_137); +return x_203; } } } @@ -70263,7 +41351,7 @@ lean_dec(x_12); lean_dec(x_2); lean_dec(x_1); x_18 = l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__4; -x_19 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_19 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -70298,13 +41386,13 @@ return x_29; } else { -lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_dec(x_24); lean_dec(x_22); lean_dec(x_21); lean_dec(x_2); x_30 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__2; -x_31 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_31 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -70312,1005 +41400,370 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -return x_31; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_31, 0); -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); lean_inc(x_33); lean_dec(x_31); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } else { -uint8_t x_36; uint8_t x_37; +uint8_t x_35; uint8_t x_36; lean_dec(x_24); -x_36 = l_Lean_Elab_Term_Do_isMutableLet(x_1); +x_35 = l_Lean_Elab_Term_Do_isMutableLet(x_1); +if (x_35 == 0) +{ +uint8_t x_215; +x_215 = 0; +x_36 = x_215; +goto block_214; +} +else +{ +uint8_t x_216; +x_216 = 1; +x_36 = x_216; +goto block_214; +} +block_214: +{ +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; uint8_t x_53; uint8_t x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; +x_37 = lean_st_ref_take(x_9, x_10); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_38, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_38, 2); +lean_inc(x_42); +x_43 = lean_ctor_get(x_38, 3); +lean_inc(x_43); +lean_dec(x_38); +x_44 = lean_unsigned_to_nat(1u); +x_45 = lean_nat_add(x_41, x_44); +x_46 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_46, 0, x_40); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_46, 2, x_42); +lean_ctor_set(x_46, 3, x_43); +x_47 = lean_st_ref_set(x_9, x_46, x_39); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get(x_4, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_4, 1); +lean_inc(x_50); +x_51 = lean_ctor_get(x_4, 2); +lean_inc(x_51); +x_52 = lean_ctor_get(x_4, 3); +lean_inc(x_52); +x_53 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_54 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_55 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_56 = lean_ctor_get(x_4, 5); +lean_inc(x_56); +x_57 = lean_ctor_get(x_4, 6); +lean_inc(x_57); +x_58 = lean_ctor_get(x_4, 7); +lean_inc(x_58); +x_59 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); +lean_dec(x_4); +x_60 = lean_alloc_ctor(0, 8, 4); +lean_ctor_set(x_60, 0, x_49); +lean_ctor_set(x_60, 1, x_50); +lean_ctor_set(x_60, 2, x_51); +lean_ctor_set(x_60, 3, x_52); +lean_ctor_set(x_60, 4, x_41); +lean_ctor_set(x_60, 5, x_56); +lean_ctor_set(x_60, 6, x_57); +lean_ctor_set(x_60, 7, x_58); +lean_ctor_set_uint8(x_60, sizeof(void*)*8, x_53); +lean_ctor_set_uint8(x_60, sizeof(void*)*8 + 1, x_54); +lean_ctor_set_uint8(x_60, sizeof(void*)*8 + 2, x_55); +lean_ctor_set_uint8(x_60, sizeof(void*)*8 + 3, x_59); if (x_36 == 0) { -uint8_t x_543; -x_543 = 0; -x_37 = x_543; -goto block_542; -} -else -{ -uint8_t x_544; -x_544 = 1; -x_37 = x_544; -goto block_542; -} -block_542: -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_38 = lean_st_ref_take(x_9, x_10); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = !lean_is_exclusive(x_39); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_42 = lean_ctor_get(x_39, 1); -x_43 = lean_unsigned_to_nat(1u); -x_44 = lean_nat_add(x_42, x_43); -lean_ctor_set(x_39, 1, x_44); -x_45 = lean_st_ref_set(x_9, x_39, x_40); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = !lean_is_exclusive(x_4); -if (x_47 == 0) -{ -lean_object* x_48; -x_48 = lean_ctor_get(x_4, 4); -lean_dec(x_48); -lean_ctor_set(x_4, 4, x_42); -if (x_37 == 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; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_49 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_46); -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); -x_52 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_51); -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); -x_55 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_54); -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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_50); -x_59 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_59, 0, x_50); -lean_ctor_set(x_59, 1, x_58); -x_60 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_50); -x_61 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_61, 0, x_50); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; -x_63 = l_Lean_addMacroScope(x_56, x_62, x_53); -x_64 = lean_box(0); -x_65 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; -lean_inc(x_50); -x_66 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_66, 0, x_50); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_63); -lean_ctor_set(x_66, 3, x_64); -x_67 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_50); -x_68 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_68, 0, x_50); -lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_61 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_48); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = l_Lean_Elab_Term_getCurrMacroScope(x_60, x_5, x_6, x_7, x_8, x_9, x_63); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); lean_inc(x_66); -x_70 = lean_array_push(x_69, x_66); -x_71 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_72 = lean_array_push(x_70, x_71); -x_73 = lean_array_push(x_72, x_68); -x_74 = lean_array_push(x_73, x_22); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_14); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_77 = lean_array_push(x_76, x_61); -x_78 = lean_array_push(x_77, x_71); +lean_dec(x_64); +x_67 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_62); +x_71 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_71, 0, x_62); +lean_ctor_set(x_71, 1, x_70); +x_72 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_62); +x_73 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_73, 0, x_62); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; +x_75 = l_Lean_addMacroScope(x_68, x_74, x_65); +x_76 = lean_box(0); +x_77 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; +lean_inc(x_62); +x_78 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_78, 0, x_62); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_78, 2, x_75); +lean_ctor_set(x_78, 3, x_76); +x_79 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_62); +x_80 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_80, 0, x_62); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; lean_inc(x_78); -x_79 = lean_array_push(x_78, x_75); -x_80 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -x_82 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_50); -x_83 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_83, 0, x_50); -lean_ctor_set(x_83, 1, x_82); -x_84 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_85 = lean_array_push(x_84, x_83); -x_86 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_82 = lean_array_push(x_81, x_78); +x_83 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_84 = lean_array_push(x_82, x_83); +x_85 = lean_array_push(x_84, x_80); +x_86 = lean_array_push(x_85, x_22); 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_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_89 = lean_array_push(x_88, x_81); -x_90 = lean_array_push(x_89, x_87); -x_91 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_94 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_94, 0, x_50); -lean_ctor_set(x_94, 1, x_93); -x_95 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_96 = lean_array_push(x_95, x_21); -x_97 = lean_array_push(x_96, x_71); -x_98 = lean_array_push(x_97, x_71); -x_99 = lean_array_push(x_98, x_94); -x_100 = lean_array_push(x_99, x_66); -x_101 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_103 = lean_array_push(x_84, x_102); -x_104 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -x_106 = lean_array_push(x_78, x_105); -x_107 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -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 = lean_array_push(x_88, x_108); -x_110 = lean_array_push(x_109, x_71); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_91); -lean_ctor_set(x_111, 1, x_110); -x_112 = lean_array_push(x_88, x_92); -x_113 = lean_array_push(x_112, x_111); +lean_ctor_set(x_87, 0, x_14); +lean_ctor_set(x_87, 1, x_86); +x_88 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_89 = lean_array_push(x_88, x_73); +x_90 = lean_array_push(x_89, x_83); +lean_inc(x_90); +x_91 = lean_array_push(x_90, x_87); +x_92 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +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_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_62); +x_95 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_95, 0, x_62); +lean_ctor_set(x_95, 1, x_94); +x_96 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_97 = lean_array_push(x_96, x_95); +x_98 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_101 = lean_array_push(x_100, x_93); +x_102 = lean_array_push(x_101, x_99); +x_103 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_105 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +x_106 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_106, 0, x_62); +lean_ctor_set(x_106, 1, x_105); +x_107 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_108 = lean_array_push(x_107, x_21); +x_109 = lean_array_push(x_108, x_83); +x_110 = lean_array_push(x_109, x_83); +x_111 = lean_array_push(x_110, x_106); +x_112 = lean_array_push(x_111, x_78); +x_113 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_86); -lean_ctor_set(x_114, 1, x_113); -x_115 = lean_array_push(x_84, x_114); -x_116 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_112); +x_115 = lean_array_push(x_96, x_114); +x_116 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; x_117 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_117, 0, x_116); lean_ctor_set(x_117, 1, x_115); -x_118 = lean_array_push(x_88, x_59); -x_119 = lean_array_push(x_118, x_117); -x_120 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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); -x_122 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_2, x_121, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_57); -lean_dec(x_121); -return x_122; +x_118 = lean_array_push(x_90, x_117); +x_119 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = lean_array_push(x_100, x_120); +x_122 = lean_array_push(x_121, x_83); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_103); +lean_ctor_set(x_123, 1, x_122); +x_124 = lean_array_push(x_100, x_104); +x_125 = lean_array_push(x_124, x_123); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_98); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_array_push(x_96, x_126); +x_128 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +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 = lean_array_push(x_100, x_71); +x_131 = lean_array_push(x_130, x_129); +x_132 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_2, x_133, x_3, x_60, x_5, x_6, x_7, x_8, x_9, x_69); +lean_dec(x_133); +return x_134; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_123 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_46); -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_125); -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 1); -lean_inc(x_128); -lean_dec(x_126); -x_129 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_128); -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___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_124); -x_133 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_133, 0, x_124); -lean_ctor_set(x_133, 1, x_132); -x_134 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_124); -x_135 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_135, 0, x_124); -lean_ctor_set(x_135, 1, x_134); -x_136 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; -x_137 = l_Lean_addMacroScope(x_130, x_136, x_127); -x_138 = lean_box(0); -x_139 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; -lean_inc(x_124); -x_140 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_140, 0, x_124); -lean_ctor_set(x_140, 1, x_139); -lean_ctor_set(x_140, 2, x_137); -lean_ctor_set(x_140, 3, x_138); -x_141 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_124); -x_142 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_142, 0, x_124); -lean_ctor_set(x_142, 1, x_141); -x_143 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +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; 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; +x_135 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_48); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = l_Lean_Elab_Term_getCurrMacroScope(x_60, x_5, x_6, x_7, x_8, x_9, x_137); +x_139 = lean_ctor_get(x_138, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_138, 1); lean_inc(x_140); -x_144 = lean_array_push(x_143, x_140); -x_145 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_146 = lean_array_push(x_144, x_145); -x_147 = lean_array_push(x_146, x_142); -x_148 = lean_array_push(x_147, x_22); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_14); -lean_ctor_set(x_149, 1, x_148); -x_150 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_151 = lean_array_push(x_150, x_135); -lean_inc(x_151); -x_152 = lean_array_push(x_151, x_145); -x_153 = lean_array_push(x_152, x_149); -x_154 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_153); -x_156 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_124); -x_157 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_157, 0, x_124); -lean_ctor_set(x_157, 1, x_156); -x_158 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_159 = lean_array_push(x_158, x_157); -x_160 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +lean_dec(x_138); +x_141 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_140); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +x_144 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +lean_inc(x_136); +x_145 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_145, 0, x_136); +lean_ctor_set(x_145, 1, x_144); +x_146 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_136); +x_147 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_147, 0, x_136); +lean_ctor_set(x_147, 1, x_146); +x_148 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; +x_149 = l_Lean_addMacroScope(x_142, x_148, x_139); +x_150 = lean_box(0); +x_151 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; +lean_inc(x_136); +x_152 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_152, 0, x_136); +lean_ctor_set(x_152, 1, x_151); +lean_ctor_set(x_152, 2, x_149); +lean_ctor_set(x_152, 3, x_150); +x_153 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; +lean_inc(x_136); +x_154 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_154, 0, x_136); +lean_ctor_set(x_154, 1, x_153); +x_155 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +lean_inc(x_152); +x_156 = lean_array_push(x_155, x_152); +x_157 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_158 = lean_array_push(x_156, x_157); +x_159 = lean_array_push(x_158, x_154); +x_160 = lean_array_push(x_159, x_22); x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_159); -x_162 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_163 = lean_array_push(x_162, x_155); -x_164 = lean_array_push(x_163, x_161); -x_165 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_164); -x_167 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; -lean_inc(x_124); -x_168 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_168, 0, x_124); -lean_ctor_set(x_168, 1, x_167); -x_169 = lean_array_push(x_158, x_168); -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_160); -lean_ctor_set(x_170, 1, x_169); -x_171 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_172 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_172, 0, x_124); -lean_ctor_set(x_172, 1, x_171); -x_173 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_174 = lean_array_push(x_173, x_21); -x_175 = lean_array_push(x_174, x_145); -x_176 = lean_array_push(x_175, x_145); -x_177 = lean_array_push(x_176, x_172); -x_178 = lean_array_push(x_177, x_140); -x_179 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___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); -x_181 = lean_array_push(x_158, x_180); -x_182 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_181); -x_184 = lean_array_push(x_151, x_170); -x_185 = lean_array_push(x_184, x_183); -x_186 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -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 = lean_array_push(x_162, x_187); -x_189 = lean_array_push(x_188, x_145); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_165); -lean_ctor_set(x_190, 1, x_189); -x_191 = lean_array_push(x_162, x_166); -x_192 = lean_array_push(x_191, x_190); -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_160); -lean_ctor_set(x_193, 1, x_192); -x_194 = lean_array_push(x_158, x_193); -x_195 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -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 = lean_array_push(x_162, x_133); -x_198 = lean_array_push(x_197, x_196); -x_199 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -x_201 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_2, x_200, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_131); -lean_dec(x_200); -return x_201; -} -} -else -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_206; uint8_t x_207; uint8_t x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; lean_object* x_213; -x_202 = lean_ctor_get(x_4, 0); -x_203 = lean_ctor_get(x_4, 1); -x_204 = lean_ctor_get(x_4, 2); -x_205 = lean_ctor_get(x_4, 3); -x_206 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_207 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_208 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_209 = lean_ctor_get(x_4, 5); -x_210 = lean_ctor_get(x_4, 6); -x_211 = lean_ctor_get(x_4, 7); -x_212 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_inc(x_211); -lean_inc(x_210); -lean_inc(x_209); -lean_inc(x_205); -lean_inc(x_204); -lean_inc(x_203); -lean_inc(x_202); -lean_dec(x_4); -x_213 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_213, 0, x_202); -lean_ctor_set(x_213, 1, x_203); -lean_ctor_set(x_213, 2, x_204); -lean_ctor_set(x_213, 3, x_205); -lean_ctor_set(x_213, 4, x_42); -lean_ctor_set(x_213, 5, x_209); -lean_ctor_set(x_213, 6, x_210); -lean_ctor_set(x_213, 7, x_211); -lean_ctor_set_uint8(x_213, sizeof(void*)*8, x_206); -lean_ctor_set_uint8(x_213, sizeof(void*)*8 + 1, x_207); -lean_ctor_set_uint8(x_213, sizeof(void*)*8 + 2, x_208); -lean_ctor_set_uint8(x_213, sizeof(void*)*8 + 3, x_212); -if (x_37 == 0) -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; -x_214 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_46); -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -lean_dec(x_214); -x_217 = l_Lean_Elab_Term_getCurrMacroScope(x_213, x_5, x_6, x_7, x_8, x_9, x_216); -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_217, 1); -lean_inc(x_219); -lean_dec(x_217); -x_220 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_219); -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); -lean_inc(x_222); -lean_dec(x_220); -x_223 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_215); -x_224 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_224, 0, x_215); -lean_ctor_set(x_224, 1, x_223); -x_225 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_215); -x_226 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_226, 0, x_215); -lean_ctor_set(x_226, 1, x_225); -x_227 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; -x_228 = l_Lean_addMacroScope(x_221, x_227, x_218); -x_229 = lean_box(0); -x_230 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; -lean_inc(x_215); -x_231 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_231, 0, x_215); -lean_ctor_set(x_231, 1, x_230); -lean_ctor_set(x_231, 2, x_228); -lean_ctor_set(x_231, 3, x_229); -x_232 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_215); -x_233 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_233, 0, x_215); -lean_ctor_set(x_233, 1, x_232); -x_234 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_231); -x_235 = lean_array_push(x_234, x_231); -x_236 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_237 = lean_array_push(x_235, x_236); -x_238 = lean_array_push(x_237, x_233); -x_239 = lean_array_push(x_238, x_22); -x_240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_240, 0, x_14); -lean_ctor_set(x_240, 1, x_239); -x_241 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_242 = lean_array_push(x_241, x_226); -x_243 = lean_array_push(x_242, x_236); -lean_inc(x_243); -x_244 = lean_array_push(x_243, x_240); -x_245 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_215); -x_248 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_248, 0, x_215); -lean_ctor_set(x_248, 1, x_247); -x_249 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_250 = lean_array_push(x_249, x_248); -x_251 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_250); -x_253 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_254 = lean_array_push(x_253, x_246); -x_255 = lean_array_push(x_254, x_252); -x_256 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_256); -lean_ctor_set(x_257, 1, x_255); -x_258 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_259 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_259, 0, x_215); -lean_ctor_set(x_259, 1, x_258); -x_260 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_261 = lean_array_push(x_260, x_21); -x_262 = lean_array_push(x_261, x_236); -x_263 = lean_array_push(x_262, x_236); -x_264 = lean_array_push(x_263, x_259); -x_265 = lean_array_push(x_264, x_231); -x_266 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_267 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_267, 0, x_266); -lean_ctor_set(x_267, 1, x_265); -x_268 = lean_array_push(x_249, x_267); -x_269 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -x_271 = lean_array_push(x_243, x_270); -x_272 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -x_273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_271); -x_274 = lean_array_push(x_253, x_273); -x_275 = lean_array_push(x_274, x_236); -x_276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_276, 0, x_256); -lean_ctor_set(x_276, 1, x_275); -x_277 = lean_array_push(x_253, x_257); -x_278 = lean_array_push(x_277, x_276); -x_279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_279, 0, x_251); -lean_ctor_set(x_279, 1, x_278); -x_280 = lean_array_push(x_249, x_279); -x_281 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_281); -lean_ctor_set(x_282, 1, x_280); -x_283 = lean_array_push(x_253, x_224); -x_284 = lean_array_push(x_283, x_282); -x_285 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_284); -x_287 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_2, x_286, x_3, x_213, x_5, x_6, x_7, x_8, x_9, x_222); -lean_dec(x_286); -return x_287; -} -else -{ -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; 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_288 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_46); -x_289 = lean_ctor_get(x_288, 0); -lean_inc(x_289); -x_290 = lean_ctor_get(x_288, 1); -lean_inc(x_290); -lean_dec(x_288); -x_291 = l_Lean_Elab_Term_getCurrMacroScope(x_213, x_5, x_6, x_7, x_8, x_9, x_290); -x_292 = lean_ctor_get(x_291, 0); -lean_inc(x_292); -x_293 = lean_ctor_get(x_291, 1); -lean_inc(x_293); -lean_dec(x_291); -x_294 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_293); -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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_289); -x_298 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_298, 0, x_289); -lean_ctor_set(x_298, 1, x_297); -x_299 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_289); -x_300 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_300, 0, x_289); -lean_ctor_set(x_300, 1, x_299); -x_301 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; -x_302 = l_Lean_addMacroScope(x_295, x_301, x_292); -x_303 = lean_box(0); -x_304 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; -lean_inc(x_289); -x_305 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_305, 0, x_289); -lean_ctor_set(x_305, 1, x_304); -lean_ctor_set(x_305, 2, x_302); -lean_ctor_set(x_305, 3, x_303); -x_306 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_289); -x_307 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_307, 0, x_289); -lean_ctor_set(x_307, 1, x_306); -x_308 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_305); -x_309 = lean_array_push(x_308, x_305); -x_310 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_311 = lean_array_push(x_309, x_310); -x_312 = lean_array_push(x_311, x_307); -x_313 = lean_array_push(x_312, x_22); -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_14); -lean_ctor_set(x_314, 1, x_313); -x_315 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_316 = lean_array_push(x_315, x_300); -lean_inc(x_316); -x_317 = lean_array_push(x_316, x_310); -x_318 = lean_array_push(x_317, x_314); -x_319 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_320 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_320, 0, x_319); -lean_ctor_set(x_320, 1, x_318); -x_321 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_289); -x_322 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_322, 0, x_289); -lean_ctor_set(x_322, 1, x_321); -x_323 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_324 = lean_array_push(x_323, x_322); -x_325 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -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 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_328 = lean_array_push(x_327, x_320); -x_329 = lean_array_push(x_328, x_326); -x_330 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_331 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_331, 0, x_330); -lean_ctor_set(x_331, 1, x_329); -x_332 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; -lean_inc(x_289); -x_333 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_333, 0, x_289); -lean_ctor_set(x_333, 1, x_332); -x_334 = lean_array_push(x_323, x_333); -x_335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_335, 0, x_325); -lean_ctor_set(x_335, 1, x_334); -x_336 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_337 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_337, 0, x_289); -lean_ctor_set(x_337, 1, x_336); -x_338 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_339 = lean_array_push(x_338, x_21); -x_340 = lean_array_push(x_339, x_310); -x_341 = lean_array_push(x_340, x_310); -x_342 = lean_array_push(x_341, x_337); -x_343 = lean_array_push(x_342, x_305); -x_344 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_345, 0, x_344); -lean_ctor_set(x_345, 1, x_343); -x_346 = lean_array_push(x_323, x_345); -x_347 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_348, 0, x_347); -lean_ctor_set(x_348, 1, x_346); -x_349 = lean_array_push(x_316, x_335); -x_350 = lean_array_push(x_349, x_348); -x_351 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -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_327, x_352); -x_354 = lean_array_push(x_353, x_310); -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_330); -lean_ctor_set(x_355, 1, x_354); -x_356 = lean_array_push(x_327, x_331); -x_357 = lean_array_push(x_356, x_355); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_325); -lean_ctor_set(x_358, 1, x_357); -x_359 = lean_array_push(x_323, x_358); -x_360 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -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 = lean_array_push(x_327, x_298); -x_363 = lean_array_push(x_362, x_361); -x_364 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_365, 0, x_364); -lean_ctor_set(x_365, 1, x_363); -x_366 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_2, x_365, x_3, x_213, x_5, x_6, x_7, x_8, x_9, x_296); -lean_dec(x_365); -return x_366; -} -} -} -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; uint8_t x_380; uint8_t x_381; uint8_t x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; uint8_t x_386; lean_object* x_387; lean_object* x_388; -x_367 = lean_ctor_get(x_39, 0); -x_368 = lean_ctor_get(x_39, 1); -x_369 = lean_ctor_get(x_39, 2); -x_370 = lean_ctor_get(x_39, 3); -lean_inc(x_370); -lean_inc(x_369); -lean_inc(x_368); -lean_inc(x_367); -lean_dec(x_39); -x_371 = lean_unsigned_to_nat(1u); -x_372 = lean_nat_add(x_368, x_371); -x_373 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_373, 0, x_367); -lean_ctor_set(x_373, 1, x_372); -lean_ctor_set(x_373, 2, x_369); -lean_ctor_set(x_373, 3, x_370); -x_374 = lean_st_ref_set(x_9, x_373, x_40); -x_375 = lean_ctor_get(x_374, 1); -lean_inc(x_375); -lean_dec(x_374); -x_376 = lean_ctor_get(x_4, 0); -lean_inc(x_376); -x_377 = lean_ctor_get(x_4, 1); -lean_inc(x_377); -x_378 = lean_ctor_get(x_4, 2); -lean_inc(x_378); -x_379 = lean_ctor_get(x_4, 3); -lean_inc(x_379); -x_380 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_381 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_382 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_383 = lean_ctor_get(x_4, 5); -lean_inc(x_383); -x_384 = lean_ctor_get(x_4, 6); -lean_inc(x_384); -x_385 = lean_ctor_get(x_4, 7); -lean_inc(x_385); -x_386 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -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); - x_387 = x_4; -} else { - lean_dec_ref(x_4); - x_387 = lean_box(0); -} -if (lean_is_scalar(x_387)) { - x_388 = lean_alloc_ctor(0, 8, 4); -} else { - x_388 = x_387; -} -lean_ctor_set(x_388, 0, x_376); -lean_ctor_set(x_388, 1, x_377); -lean_ctor_set(x_388, 2, x_378); -lean_ctor_set(x_388, 3, x_379); -lean_ctor_set(x_388, 4, x_368); -lean_ctor_set(x_388, 5, x_383); -lean_ctor_set(x_388, 6, x_384); -lean_ctor_set(x_388, 7, x_385); -lean_ctor_set_uint8(x_388, sizeof(void*)*8, x_380); -lean_ctor_set_uint8(x_388, sizeof(void*)*8 + 1, x_381); -lean_ctor_set_uint8(x_388, sizeof(void*)*8 + 2, x_382); -lean_ctor_set_uint8(x_388, sizeof(void*)*8 + 3, x_386); -if (x_37 == 0) -{ -lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_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; -x_389 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_375); -x_390 = lean_ctor_get(x_389, 0); -lean_inc(x_390); -x_391 = lean_ctor_get(x_389, 1); -lean_inc(x_391); -lean_dec(x_389); -x_392 = l_Lean_Elab_Term_getCurrMacroScope(x_388, x_5, x_6, x_7, x_8, x_9, x_391); -x_393 = lean_ctor_get(x_392, 0); -lean_inc(x_393); -x_394 = lean_ctor_get(x_392, 1); -lean_inc(x_394); -lean_dec(x_392); -x_395 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_394); -x_396 = lean_ctor_get(x_395, 0); -lean_inc(x_396); -x_397 = lean_ctor_get(x_395, 1); -lean_inc(x_397); -lean_dec(x_395); -x_398 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_390); -x_399 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_399, 0, x_390); -lean_ctor_set(x_399, 1, x_398); -x_400 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_390); -x_401 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_401, 0, x_390); -lean_ctor_set(x_401, 1, x_400); -x_402 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; -x_403 = l_Lean_addMacroScope(x_396, x_402, x_393); -x_404 = lean_box(0); -x_405 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; -lean_inc(x_390); -x_406 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_406, 0, x_390); -lean_ctor_set(x_406, 1, x_405); -lean_ctor_set(x_406, 2, x_403); -lean_ctor_set(x_406, 3, x_404); -x_407 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_390); -x_408 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_408, 0, x_390); -lean_ctor_set(x_408, 1, x_407); -x_409 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_406); -x_410 = lean_array_push(x_409, x_406); -x_411 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_412 = lean_array_push(x_410, x_411); -x_413 = lean_array_push(x_412, x_408); -x_414 = lean_array_push(x_413, x_22); -x_415 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_415, 0, x_14); -lean_ctor_set(x_415, 1, x_414); -x_416 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_417 = lean_array_push(x_416, x_401); -x_418 = lean_array_push(x_417, x_411); -lean_inc(x_418); -x_419 = lean_array_push(x_418, x_415); -x_420 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -x_421 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_421, 0, x_420); -lean_ctor_set(x_421, 1, x_419); -x_422 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_390); -x_423 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_423, 0, x_390); -lean_ctor_set(x_423, 1, x_422); -x_424 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_425 = lean_array_push(x_424, x_423); -x_426 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_427 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_427, 0, x_426); -lean_ctor_set(x_427, 1, x_425); -x_428 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_429 = lean_array_push(x_428, x_421); -x_430 = lean_array_push(x_429, x_427); -x_431 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_432 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_432, 0, x_431); -lean_ctor_set(x_432, 1, x_430); -x_433 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_434 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_434, 0, x_390); -lean_ctor_set(x_434, 1, x_433); -x_435 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_436 = lean_array_push(x_435, x_21); -x_437 = lean_array_push(x_436, x_411); -x_438 = lean_array_push(x_437, x_411); -x_439 = lean_array_push(x_438, x_434); -x_440 = lean_array_push(x_439, x_406); -x_441 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_442 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_442, 0, x_441); -lean_ctor_set(x_442, 1, x_440); -x_443 = lean_array_push(x_424, x_442); -x_444 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_445 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_445, 0, x_444); -lean_ctor_set(x_445, 1, x_443); -x_446 = lean_array_push(x_418, x_445); -x_447 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -x_448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_448, 0, x_447); -lean_ctor_set(x_448, 1, x_446); -x_449 = lean_array_push(x_428, x_448); -x_450 = lean_array_push(x_449, x_411); -x_451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_451, 0, x_431); -lean_ctor_set(x_451, 1, x_450); -x_452 = lean_array_push(x_428, x_432); -x_453 = lean_array_push(x_452, x_451); -x_454 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_454, 0, x_426); -lean_ctor_set(x_454, 1, x_453); -x_455 = lean_array_push(x_424, x_454); -x_456 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_457 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_457, 0, x_456); -lean_ctor_set(x_457, 1, x_455); -x_458 = lean_array_push(x_428, x_399); -x_459 = lean_array_push(x_458, x_457); -x_460 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_461 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_461, 0, x_460); -lean_ctor_set(x_461, 1, x_459); -x_462 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_2, x_461, x_3, x_388, x_5, x_6, x_7, x_8, x_9, x_397); -lean_dec(x_461); -return x_462; -} -else -{ -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; -x_463 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_375); -x_464 = lean_ctor_get(x_463, 0); -lean_inc(x_464); -x_465 = lean_ctor_get(x_463, 1); -lean_inc(x_465); -lean_dec(x_463); -x_466 = l_Lean_Elab_Term_getCurrMacroScope(x_388, x_5, x_6, x_7, x_8, x_9, x_465); -x_467 = lean_ctor_get(x_466, 0); -lean_inc(x_467); -x_468 = lean_ctor_get(x_466, 1); -lean_inc(x_468); -lean_dec(x_466); -x_469 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_468); -x_470 = lean_ctor_get(x_469, 0); -lean_inc(x_470); -x_471 = lean_ctor_get(x_469, 1); -lean_inc(x_471); -lean_dec(x_469); -x_472 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -lean_inc(x_464); -x_473 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_473, 0, x_464); -lean_ctor_set(x_473, 1, x_472); -x_474 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_464); -x_475 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_475, 0, x_464); -lean_ctor_set(x_475, 1, x_474); -x_476 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__7; -x_477 = l_Lean_addMacroScope(x_470, x_476, x_467); -x_478 = lean_box(0); -x_479 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__6; -lean_inc(x_464); -x_480 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_480, 0, x_464); -lean_ctor_set(x_480, 1, x_479); -lean_ctor_set(x_480, 2, x_477); -lean_ctor_set(x_480, 3, x_478); -x_481 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__6; -lean_inc(x_464); -x_482 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_482, 0, x_464); -lean_ctor_set(x_482, 1, x_481); -x_483 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -lean_inc(x_480); -x_484 = lean_array_push(x_483, x_480); -x_485 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_486 = lean_array_push(x_484, x_485); -x_487 = lean_array_push(x_486, x_482); -x_488 = lean_array_push(x_487, x_22); -x_489 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_489, 0, x_14); -lean_ctor_set(x_489, 1, x_488); -x_490 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; -x_491 = lean_array_push(x_490, x_475); -lean_inc(x_491); -x_492 = lean_array_push(x_491, x_485); -x_493 = lean_array_push(x_492, x_489); -x_494 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; -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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; -lean_inc(x_464); -x_497 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_497, 0, x_464); -lean_ctor_set(x_497, 1, x_496); -x_498 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_499 = lean_array_push(x_498, x_497); -x_500 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_501 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_501, 0, x_500); -lean_ctor_set(x_501, 1, x_499); -x_502 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_503 = lean_array_push(x_502, x_495); -x_504 = lean_array_push(x_503, x_501); -x_505 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_506 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_506, 0, x_505); -lean_ctor_set(x_506, 1, x_504); -x_507 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; -lean_inc(x_464); -x_508 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_508, 0, x_464); -lean_ctor_set(x_508, 1, x_507); -x_509 = lean_array_push(x_498, x_508); -x_510 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_510, 0, x_500); -lean_ctor_set(x_510, 1, x_509); -x_511 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; -x_512 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_512, 0, x_464); -lean_ctor_set(x_512, 1, x_511); -x_513 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; -x_514 = lean_array_push(x_513, x_21); -x_515 = lean_array_push(x_514, x_485); -x_516 = lean_array_push(x_515, x_485); -x_517 = lean_array_push(x_516, x_512); -x_518 = lean_array_push(x_517, x_480); -x_519 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; -x_520 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_520, 0, x_519); -lean_ctor_set(x_520, 1, x_518); -x_521 = lean_array_push(x_498, x_520); -x_522 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; -x_523 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_523, 0, x_522); -lean_ctor_set(x_523, 1, x_521); -x_524 = lean_array_push(x_491, x_510); -x_525 = lean_array_push(x_524, x_523); -x_526 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; -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_502, x_527); -x_529 = lean_array_push(x_528, x_485); -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_505); -lean_ctor_set(x_530, 1, x_529); -x_531 = lean_array_push(x_502, x_506); -x_532 = lean_array_push(x_531, x_530); -x_533 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_533, 0, x_500); -lean_ctor_set(x_533, 1, x_532); -x_534 = lean_array_push(x_498, x_533); -x_535 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -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 = lean_array_push(x_502, x_473); -x_538 = lean_array_push(x_537, x_536); -x_539 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_2, x_540, x_3, x_388, x_5, x_6, x_7, x_8, x_9, x_471); -lean_dec(x_540); -return x_541; -} +lean_ctor_set(x_161, 0, x_14); +lean_ctor_set(x_161, 1, x_160); +x_162 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__10; +x_163 = lean_array_push(x_162, x_147); +lean_inc(x_163); +x_164 = lean_array_push(x_163, x_157); +x_165 = lean_array_push(x_164, x_161); +x_166 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_168 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__22; +lean_inc(x_136); +x_169 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_169, 0, x_136); +lean_ctor_set(x_169, 1, x_168); +x_170 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_171 = lean_array_push(x_170, x_169); +x_172 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_175 = lean_array_push(x_174, x_167); +x_176 = lean_array_push(x_175, x_173); +x_177 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_176); +x_179 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; +lean_inc(x_136); +x_180 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_180, 0, x_136); +lean_ctor_set(x_180, 1, x_179); +x_181 = lean_array_push(x_170, x_180); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_172); +lean_ctor_set(x_182, 1, x_181); +x_183 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__14; +x_184 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_184, 0, x_136); +lean_ctor_set(x_184, 1, x_183); +x_185 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__21; +x_186 = lean_array_push(x_185, x_21); +x_187 = lean_array_push(x_186, x_157); +x_188 = lean_array_push(x_187, x_157); +x_189 = lean_array_push(x_188, x_184); +x_190 = lean_array_push(x_189, x_152); +x_191 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__2; +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_190); +x_193 = lean_array_push(x_170, x_192); +x_194 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__13; +x_195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_193); +x_196 = lean_array_push(x_163, x_182); +x_197 = lean_array_push(x_196, x_195); +x_198 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__12; +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_197); +x_200 = lean_array_push(x_174, x_199); +x_201 = lean_array_push(x_200, x_157); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_177); +lean_ctor_set(x_202, 1, x_201); +x_203 = lean_array_push(x_174, x_178); +x_204 = lean_array_push(x_203, x_202); +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_172); +lean_ctor_set(x_205, 1, x_204); +x_206 = lean_array_push(x_170, x_205); +x_207 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_206); +x_209 = lean_array_push(x_174, x_145); +x_210 = lean_array_push(x_209, x_208); +x_211 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_210); +x_213 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(x_2, x_212, x_3, x_60, x_5, x_6, x_7, x_8, x_9, x_143); +lean_dec(x_212); +return x_213; } } } @@ -71318,30 +41771,30 @@ return x_541; } else { -lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_dec(x_13); -x_545 = lean_unsigned_to_nat(0u); -x_546 = l_Lean_Syntax_getArg(x_12, x_545); -x_547 = l_Lean_Syntax_getId(x_546); -lean_dec(x_546); -x_548 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -lean_inc(x_547); -x_549 = lean_array_push(x_548, x_547); -x_550 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_549, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_550) == 0) +x_217 = lean_unsigned_to_nat(0u); +x_218 = l_Lean_Syntax_getArg(x_12, x_217); +x_219 = l_Lean_Syntax_getId(x_218); +lean_dec(x_218); +x_220 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +lean_inc(x_219); +x_221 = lean_array_push(x_220, x_219); +x_222 = l_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable(x_221, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_222) == 0) { -lean_object* x_551; lean_object* x_552; lean_object* x_553; uint8_t x_554; -x_551 = lean_ctor_get(x_550, 1); -lean_inc(x_551); -lean_dec(x_550); -x_552 = lean_unsigned_to_nat(3u); -x_553 = l_Lean_Syntax_getArg(x_12, x_552); +lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; +x_223 = lean_ctor_get(x_222, 1); +lean_inc(x_223); +lean_dec(x_222); +x_224 = lean_unsigned_to_nat(3u); +x_225 = l_Lean_Syntax_getArg(x_12, x_224); lean_dec(x_12); lean_inc(x_1); -x_554 = l_Lean_Elab_Term_Do_isMutableLet(x_1); -if (x_554 == 0) +x_226 = l_Lean_Elab_Term_Do_isMutableLet(x_1); +if (x_226 == 0) { -lean_object* x_555; +lean_object* x_227; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -71350,99 +41803,87 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_555 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_551); -if (lean_obj_tag(x_555) == 0) +x_227 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_223); +if (lean_obj_tag(x_227) == 0) { -uint8_t x_556; -x_556 = !lean_is_exclusive(x_555); -if (x_556 == 0) +lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_228 = lean_ctor_get(x_227, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_227, 1); +lean_inc(x_229); +lean_dec(x_227); +lean_inc(x_225); +x_230 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_225); +if (lean_obj_tag(x_230) == 0) { -lean_object* x_557; lean_object* x_558; lean_object* x_559; -x_557 = lean_ctor_get(x_555, 0); -x_558 = lean_ctor_get(x_555, 1); -lean_inc(x_553); -x_559 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_553); -if (lean_obj_tag(x_559) == 0) -{ -lean_object* x_560; -lean_free_object(x_555); -lean_dec(x_549); +lean_object* x_231; +lean_dec(x_221); lean_dec(x_1); -lean_inc(x_8); -lean_inc(x_553); -x_560 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_553, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_558); -if (lean_obj_tag(x_560) == 0) +lean_inc(x_225); +x_231 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_225, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_229); +if (lean_obj_tag(x_231) == 0) { -lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; -x_561 = lean_ctor_get(x_560, 1); -lean_inc(x_561); -lean_dec(x_560); -x_562 = lean_box(0); -x_563 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_563, 0, x_553); -lean_ctor_set(x_563, 1, x_562); +lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_232 = lean_ctor_get(x_231, 1); +lean_inc(x_232); +lean_dec(x_231); +x_233 = lean_box(0); +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_225); +lean_ctor_set(x_234, 1, x_233); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_564 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_563, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_561); -if (lean_obj_tag(x_564) == 0) +x_235 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_234, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_232); +if (lean_obj_tag(x_235) == 0) { if (lean_obj_tag(x_2) == 0) { -uint8_t x_565; -lean_dec(x_557); -lean_dec(x_547); +lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec(x_228); +lean_dec(x_219); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_565 = !lean_is_exclusive(x_564); -if (x_565 == 0) -{ -return x_564; +x_236 = lean_ctor_get(x_235, 0); +lean_inc(x_236); +x_237 = lean_ctor_get(x_235, 1); +lean_inc(x_237); +lean_dec(x_235); +x_238 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_238, 0, x_236); +lean_ctor_set(x_238, 1, x_237); +return x_238; } else { -lean_object* x_566; lean_object* x_567; lean_object* x_568; -x_566 = lean_ctor_get(x_564, 0); -x_567 = lean_ctor_get(x_564, 1); -lean_inc(x_567); -lean_inc(x_566); -lean_dec(x_564); -x_568 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_568, 0, x_566); -lean_ctor_set(x_568, 1, x_567); -return x_568; -} -} -else -{ -lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; -x_569 = lean_ctor_get(x_564, 0); -lean_inc(x_569); -x_570 = lean_ctor_get(x_564, 1); -lean_inc(x_570); -lean_dec(x_564); -x_571 = lean_ctor_get(x_2, 0); -lean_inc(x_571); +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_239 = lean_ctor_get(x_235, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_235, 1); +lean_inc(x_240); +lean_dec(x_235); +x_241 = lean_ctor_get(x_2, 0); +lean_inc(x_241); lean_dec(x_2); -x_572 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_572, 0, x_547); -x_573 = l_Lean_Elab_Term_Do_concat(x_569, x_571, x_572, x_557, x_4, x_5, x_6, x_7, x_8, x_9, x_570); -lean_dec(x_571); -return x_573; +x_242 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_242, 0, x_219); +x_243 = l_Lean_Elab_Term_Do_concat(x_239, x_241, x_242, x_228, x_4, x_5, x_6, x_7, x_8, x_9, x_240); +lean_dec(x_241); +return x_243; } } else { -uint8_t x_574; -lean_dec(x_557); -lean_dec(x_547); +lean_object* x_244; lean_object* x_245; lean_object* x_246; +lean_dec(x_228); +lean_dec(x_219); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -71450,32 +41891,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_574 = !lean_is_exclusive(x_564); -if (x_574 == 0) -{ -return x_564; -} -else -{ -lean_object* x_575; lean_object* x_576; lean_object* x_577; -x_575 = lean_ctor_get(x_564, 0); -x_576 = lean_ctor_get(x_564, 1); -lean_inc(x_576); -lean_inc(x_575); -lean_dec(x_564); -x_577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_577, 0, x_575); -lean_ctor_set(x_577, 1, x_576); -return x_577; -} +x_244 = lean_ctor_get(x_235, 0); +lean_inc(x_244); +x_245 = lean_ctor_get(x_235, 1); +lean_inc(x_245); +lean_dec(x_235); +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_244); +lean_ctor_set(x_246, 1, x_245); +return x_246; } } else { -uint8_t x_578; -lean_dec(x_557); -lean_dec(x_553); -lean_dec(x_547); +lean_object* x_247; lean_object* x_248; lean_object* x_249; +lean_dec(x_228); +lean_dec(x_225); +lean_dec(x_219); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -71484,32 +41916,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_578 = !lean_is_exclusive(x_560); -if (x_578 == 0) -{ -return x_560; -} -else -{ -lean_object* x_579; lean_object* x_580; lean_object* x_581; -x_579 = lean_ctor_get(x_560, 0); -x_580 = lean_ctor_get(x_560, 1); -lean_inc(x_580); -lean_inc(x_579); -lean_dec(x_560); -x_581 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_581, 0, x_579); -lean_ctor_set(x_581, 1, x_580); -return x_581; -} +x_247 = lean_ctor_get(x_231, 0); +lean_inc(x_247); +x_248 = lean_ctor_get(x_231, 1); +lean_inc(x_248); +lean_dec(x_231); +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_247); +lean_ctor_set(x_249, 1, x_248); +return x_249; } } else { -lean_object* x_582; -lean_dec(x_559); -lean_dec(x_553); -lean_dec(x_547); +lean_object* x_250; lean_object* x_251; +lean_dec(x_230); +lean_dec(x_225); +lean_dec(x_219); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -71518,196 +41941,19 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_582 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_549, x_1, x_557); -lean_ctor_set(x_555, 0, x_582); -return x_555; +x_250 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_221, x_1, x_228); +x_251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_229); +return x_251; } } else { -lean_object* x_583; lean_object* x_584; lean_object* x_585; -x_583 = lean_ctor_get(x_555, 0); -x_584 = lean_ctor_get(x_555, 1); -lean_inc(x_584); -lean_inc(x_583); -lean_dec(x_555); -lean_inc(x_553); -x_585 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_553); -if (lean_obj_tag(x_585) == 0) -{ -lean_object* x_586; -lean_dec(x_549); -lean_dec(x_1); -lean_inc(x_8); -lean_inc(x_553); -x_586 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_553, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_584); -if (lean_obj_tag(x_586) == 0) -{ -lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; -x_587 = lean_ctor_get(x_586, 1); -lean_inc(x_587); -lean_dec(x_586); -x_588 = lean_box(0); -x_589 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_589, 0, x_553); -lean_ctor_set(x_589, 1, x_588); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_590 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_589, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_587); -if (lean_obj_tag(x_590) == 0) -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; -lean_dec(x_583); -lean_dec(x_547); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_591 = lean_ctor_get(x_590, 0); -lean_inc(x_591); -x_592 = lean_ctor_get(x_590, 1); -lean_inc(x_592); -if (lean_is_exclusive(x_590)) { - lean_ctor_release(x_590, 0); - lean_ctor_release(x_590, 1); - x_593 = x_590; -} else { - lean_dec_ref(x_590); - x_593 = lean_box(0); -} -if (lean_is_scalar(x_593)) { - x_594 = lean_alloc_ctor(0, 2, 0); -} else { - x_594 = x_593; -} -lean_ctor_set(x_594, 0, x_591); -lean_ctor_set(x_594, 1, x_592); -return x_594; -} -else -{ -lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; -x_595 = lean_ctor_get(x_590, 0); -lean_inc(x_595); -x_596 = lean_ctor_get(x_590, 1); -lean_inc(x_596); -lean_dec(x_590); -x_597 = lean_ctor_get(x_2, 0); -lean_inc(x_597); -lean_dec(x_2); -x_598 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_598, 0, x_547); -x_599 = l_Lean_Elab_Term_Do_concat(x_595, x_597, x_598, x_583, x_4, x_5, x_6, x_7, x_8, x_9, x_596); -lean_dec(x_597); -return x_599; -} -} -else -{ -lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; -lean_dec(x_583); -lean_dec(x_547); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_600 = lean_ctor_get(x_590, 0); -lean_inc(x_600); -x_601 = lean_ctor_get(x_590, 1); -lean_inc(x_601); -if (lean_is_exclusive(x_590)) { - lean_ctor_release(x_590, 0); - lean_ctor_release(x_590, 1); - x_602 = x_590; -} else { - lean_dec_ref(x_590); - x_602 = lean_box(0); -} -if (lean_is_scalar(x_602)) { - x_603 = lean_alloc_ctor(1, 2, 0); -} else { - x_603 = x_602; -} -lean_ctor_set(x_603, 0, x_600); -lean_ctor_set(x_603, 1, x_601); -return x_603; -} -} -else -{ -lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; -lean_dec(x_583); -lean_dec(x_553); -lean_dec(x_547); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_604 = lean_ctor_get(x_586, 0); -lean_inc(x_604); -x_605 = lean_ctor_get(x_586, 1); -lean_inc(x_605); -if (lean_is_exclusive(x_586)) { - lean_ctor_release(x_586, 0); - lean_ctor_release(x_586, 1); - x_606 = x_586; -} else { - lean_dec_ref(x_586); - x_606 = lean_box(0); -} -if (lean_is_scalar(x_606)) { - x_607 = lean_alloc_ctor(1, 2, 0); -} else { - x_607 = x_606; -} -lean_ctor_set(x_607, 0, x_604); -lean_ctor_set(x_607, 1, x_605); -return x_607; -} -} -else -{ -lean_object* x_608; lean_object* x_609; -lean_dec(x_585); -lean_dec(x_553); -lean_dec(x_547); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_608 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_549, x_1, x_583); -x_609 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_609, 0, x_608); -lean_ctor_set(x_609, 1, x_584); -return x_609; -} -} -} -else -{ -uint8_t x_610; -lean_dec(x_553); -lean_dec(x_549); -lean_dec(x_547); +lean_object* x_252; lean_object* x_253; lean_object* x_254; +lean_dec(x_225); +lean_dec(x_221); +lean_dec(x_219); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -71717,42 +41963,33 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_610 = !lean_is_exclusive(x_555); -if (x_610 == 0) -{ -return x_555; -} -else -{ -lean_object* x_611; lean_object* x_612; lean_object* x_613; -x_611 = lean_ctor_get(x_555, 0); -x_612 = lean_ctor_get(x_555, 1); -lean_inc(x_612); -lean_inc(x_611); -lean_dec(x_555); -x_613 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_613, 0, x_611); -lean_ctor_set(x_613, 1, x_612); -return x_613; -} +x_252 = lean_ctor_get(x_227, 0); +lean_inc(x_252); +x_253 = lean_ctor_get(x_227, 1); +lean_inc(x_253); +lean_dec(x_227); +x_254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_254, 0, x_252); +lean_ctor_set(x_254, 1, x_253); +return x_254; } } else { -lean_object* x_614; lean_object* x_615; lean_object* x_616; uint8_t x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; -x_614 = lean_ctor_get(x_3, 0); -lean_inc(x_614); -x_615 = lean_ctor_get(x_3, 1); -lean_inc(x_615); -x_616 = lean_ctor_get(x_3, 2); -lean_inc(x_616); -x_617 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); -x_618 = l_Lean_Elab_Term_Do_insertVars(x_616, x_549); -x_619 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_619, 0, x_614); -lean_ctor_set(x_619, 1, x_615); -lean_ctor_set(x_619, 2, x_618); -lean_ctor_set_uint8(x_619, sizeof(void*)*3, x_617); +lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; +x_255 = lean_ctor_get(x_3, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_3, 1); +lean_inc(x_256); +x_257 = lean_ctor_get(x_3, 2); +lean_inc(x_257); +x_258 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); +x_259 = l_Lean_Elab_Term_Do_insertVars(x_257, x_221); +x_260 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_260, 0, x_255); +lean_ctor_set(x_260, 1, x_256); +lean_ctor_set(x_260, 2, x_259); +lean_ctor_set_uint8(x_260, sizeof(void*)*3, x_258); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -71760,99 +41997,87 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_620 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_2, x_619, x_4, x_5, x_6, x_7, x_8, x_9, x_551); -if (lean_obj_tag(x_620) == 0) +x_261 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_2, x_260, x_4, x_5, x_6, x_7, x_8, x_9, x_223); +if (lean_obj_tag(x_261) == 0) { -uint8_t x_621; -x_621 = !lean_is_exclusive(x_620); -if (x_621 == 0) +lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_262 = lean_ctor_get(x_261, 0); +lean_inc(x_262); +x_263 = lean_ctor_get(x_261, 1); +lean_inc(x_263); +lean_dec(x_261); +lean_inc(x_225); +x_264 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_225); +if (lean_obj_tag(x_264) == 0) { -lean_object* x_622; lean_object* x_623; lean_object* x_624; -x_622 = lean_ctor_get(x_620, 0); -x_623 = lean_ctor_get(x_620, 1); -lean_inc(x_553); -x_624 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_553); -if (lean_obj_tag(x_624) == 0) -{ -lean_object* x_625; -lean_free_object(x_620); -lean_dec(x_549); +lean_object* x_265; +lean_dec(x_221); lean_dec(x_1); -lean_inc(x_8); -lean_inc(x_553); -x_625 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_553, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_623); -if (lean_obj_tag(x_625) == 0) +lean_inc(x_225); +x_265 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_225, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_263); +if (lean_obj_tag(x_265) == 0) { -lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; -x_626 = lean_ctor_get(x_625, 1); -lean_inc(x_626); -lean_dec(x_625); -x_627 = lean_box(0); -x_628 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_628, 0, x_553); -lean_ctor_set(x_628, 1, x_627); +lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_266 = lean_ctor_get(x_265, 1); +lean_inc(x_266); +lean_dec(x_265); +x_267 = lean_box(0); +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_225); +lean_ctor_set(x_268, 1, x_267); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_629 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_628, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_626); -if (lean_obj_tag(x_629) == 0) +x_269 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_268, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_266); +if (lean_obj_tag(x_269) == 0) { if (lean_obj_tag(x_2) == 0) { -uint8_t x_630; -lean_dec(x_622); -lean_dec(x_547); +lean_object* x_270; lean_object* x_271; lean_object* x_272; +lean_dec(x_262); +lean_dec(x_219); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_630 = !lean_is_exclusive(x_629); -if (x_630 == 0) -{ -return x_629; +x_270 = lean_ctor_get(x_269, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_269, 1); +lean_inc(x_271); +lean_dec(x_269); +x_272 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_272, 0, x_270); +lean_ctor_set(x_272, 1, x_271); +return x_272; } else { -lean_object* x_631; lean_object* x_632; lean_object* x_633; -x_631 = lean_ctor_get(x_629, 0); -x_632 = lean_ctor_get(x_629, 1); -lean_inc(x_632); -lean_inc(x_631); -lean_dec(x_629); -x_633 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_633, 0, x_631); -lean_ctor_set(x_633, 1, x_632); -return x_633; -} -} -else -{ -lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; -x_634 = lean_ctor_get(x_629, 0); -lean_inc(x_634); -x_635 = lean_ctor_get(x_629, 1); -lean_inc(x_635); -lean_dec(x_629); -x_636 = lean_ctor_get(x_2, 0); -lean_inc(x_636); +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; +x_273 = lean_ctor_get(x_269, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_269, 1); +lean_inc(x_274); +lean_dec(x_269); +x_275 = lean_ctor_get(x_2, 0); +lean_inc(x_275); lean_dec(x_2); -x_637 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_637, 0, x_547); -x_638 = l_Lean_Elab_Term_Do_concat(x_634, x_636, x_637, x_622, x_4, x_5, x_6, x_7, x_8, x_9, x_635); -lean_dec(x_636); -return x_638; +x_276 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_276, 0, x_219); +x_277 = l_Lean_Elab_Term_Do_concat(x_273, x_275, x_276, x_262, x_4, x_5, x_6, x_7, x_8, x_9, x_274); +lean_dec(x_275); +return x_277; } } else { -uint8_t x_639; -lean_dec(x_622); -lean_dec(x_547); +lean_object* x_278; lean_object* x_279; lean_object* x_280; +lean_dec(x_262); +lean_dec(x_219); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -71860,32 +42085,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_639 = !lean_is_exclusive(x_629); -if (x_639 == 0) -{ -return x_629; -} -else -{ -lean_object* x_640; lean_object* x_641; lean_object* x_642; -x_640 = lean_ctor_get(x_629, 0); -x_641 = lean_ctor_get(x_629, 1); -lean_inc(x_641); -lean_inc(x_640); -lean_dec(x_629); -x_642 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_642, 0, x_640); -lean_ctor_set(x_642, 1, x_641); -return x_642; -} +x_278 = lean_ctor_get(x_269, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_269, 1); +lean_inc(x_279); +lean_dec(x_269); +x_280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_280, 0, x_278); +lean_ctor_set(x_280, 1, x_279); +return x_280; } } else { -uint8_t x_643; -lean_dec(x_622); -lean_dec(x_553); -lean_dec(x_547); +lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_dec(x_262); +lean_dec(x_225); +lean_dec(x_219); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -71894,32 +42110,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_643 = !lean_is_exclusive(x_625); -if (x_643 == 0) -{ -return x_625; -} -else -{ -lean_object* x_644; lean_object* x_645; lean_object* x_646; -x_644 = lean_ctor_get(x_625, 0); -x_645 = lean_ctor_get(x_625, 1); -lean_inc(x_645); -lean_inc(x_644); -lean_dec(x_625); -x_646 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_646, 0, x_644); -lean_ctor_set(x_646, 1, x_645); -return x_646; -} +x_281 = lean_ctor_get(x_265, 0); +lean_inc(x_281); +x_282 = lean_ctor_get(x_265, 1); +lean_inc(x_282); +lean_dec(x_265); +x_283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_283, 0, x_281); +lean_ctor_set(x_283, 1, x_282); +return x_283; } } else { -lean_object* x_647; -lean_dec(x_624); -lean_dec(x_553); -lean_dec(x_547); +lean_object* x_284; lean_object* x_285; +lean_dec(x_264); +lean_dec(x_225); +lean_dec(x_219); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -71928,196 +42135,19 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_647 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_549, x_1, x_622); -lean_ctor_set(x_620, 0, x_647); -return x_620; +x_284 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_221, x_1, x_262); +x_285 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_285, 0, x_284); +lean_ctor_set(x_285, 1, x_263); +return x_285; } } else { -lean_object* x_648; lean_object* x_649; lean_object* x_650; -x_648 = lean_ctor_get(x_620, 0); -x_649 = lean_ctor_get(x_620, 1); -lean_inc(x_649); -lean_inc(x_648); -lean_dec(x_620); -lean_inc(x_553); -x_650 = l_Lean_Elab_Term_Do_isDoExpr_x3f(x_553); -if (lean_obj_tag(x_650) == 0) -{ -lean_object* x_651; -lean_dec(x_549); -lean_dec(x_1); -lean_inc(x_8); -lean_inc(x_553); -x_651 = l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(x_553, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_649); -if (lean_obj_tag(x_651) == 0) -{ -lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; -x_652 = lean_ctor_get(x_651, 1); -lean_inc(x_652); -lean_dec(x_651); -x_653 = lean_box(0); -x_654 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_654, 0, x_553); -lean_ctor_set(x_654, 1, x_653); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_655 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_654, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_652); -if (lean_obj_tag(x_655) == 0) -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; -lean_dec(x_648); -lean_dec(x_547); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_656 = lean_ctor_get(x_655, 0); -lean_inc(x_656); -x_657 = lean_ctor_get(x_655, 1); -lean_inc(x_657); -if (lean_is_exclusive(x_655)) { - lean_ctor_release(x_655, 0); - lean_ctor_release(x_655, 1); - x_658 = x_655; -} else { - lean_dec_ref(x_655); - x_658 = lean_box(0); -} -if (lean_is_scalar(x_658)) { - x_659 = lean_alloc_ctor(0, 2, 0); -} else { - x_659 = x_658; -} -lean_ctor_set(x_659, 0, x_656); -lean_ctor_set(x_659, 1, x_657); -return x_659; -} -else -{ -lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; -x_660 = lean_ctor_get(x_655, 0); -lean_inc(x_660); -x_661 = lean_ctor_get(x_655, 1); -lean_inc(x_661); -lean_dec(x_655); -x_662 = lean_ctor_get(x_2, 0); -lean_inc(x_662); -lean_dec(x_2); -x_663 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_663, 0, x_547); -x_664 = l_Lean_Elab_Term_Do_concat(x_660, x_662, x_663, x_648, x_4, x_5, x_6, x_7, x_8, x_9, x_661); -lean_dec(x_662); -return x_664; -} -} -else -{ -lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; -lean_dec(x_648); -lean_dec(x_547); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_665 = lean_ctor_get(x_655, 0); -lean_inc(x_665); -x_666 = lean_ctor_get(x_655, 1); -lean_inc(x_666); -if (lean_is_exclusive(x_655)) { - lean_ctor_release(x_655, 0); - lean_ctor_release(x_655, 1); - x_667 = x_655; -} else { - lean_dec_ref(x_655); - x_667 = lean_box(0); -} -if (lean_is_scalar(x_667)) { - x_668 = lean_alloc_ctor(1, 2, 0); -} else { - x_668 = x_667; -} -lean_ctor_set(x_668, 0, x_665); -lean_ctor_set(x_668, 1, x_666); -return x_668; -} -} -else -{ -lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; -lean_dec(x_648); -lean_dec(x_553); -lean_dec(x_547); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_669 = lean_ctor_get(x_651, 0); -lean_inc(x_669); -x_670 = lean_ctor_get(x_651, 1); -lean_inc(x_670); -if (lean_is_exclusive(x_651)) { - lean_ctor_release(x_651, 0); - lean_ctor_release(x_651, 1); - x_671 = x_651; -} else { - lean_dec_ref(x_651); - x_671 = lean_box(0); -} -if (lean_is_scalar(x_671)) { - x_672 = lean_alloc_ctor(1, 2, 0); -} else { - x_672 = x_671; -} -lean_ctor_set(x_672, 0, x_669); -lean_ctor_set(x_672, 1, x_670); -return x_672; -} -} -else -{ -lean_object* x_673; lean_object* x_674; -lean_dec(x_650); -lean_dec(x_553); -lean_dec(x_547); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_673 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_549, x_1, x_648); -x_674 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_674, 0, x_673); -lean_ctor_set(x_674, 1, x_649); -return x_674; -} -} -} -else -{ -uint8_t x_675; -lean_dec(x_553); -lean_dec(x_549); -lean_dec(x_547); +lean_object* x_286; lean_object* x_287; lean_object* x_288; +lean_dec(x_225); +lean_dec(x_221); +lean_dec(x_219); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -72127,32 +42157,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_675 = !lean_is_exclusive(x_620); -if (x_675 == 0) -{ -return x_620; -} -else -{ -lean_object* x_676; lean_object* x_677; lean_object* x_678; -x_676 = lean_ctor_get(x_620, 0); -x_677 = lean_ctor_get(x_620, 1); -lean_inc(x_677); -lean_inc(x_676); -lean_dec(x_620); -x_678 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_678, 0, x_676); -lean_ctor_set(x_678, 1, x_677); -return x_678; -} +x_286 = lean_ctor_get(x_261, 0); +lean_inc(x_286); +x_287 = lean_ctor_get(x_261, 1); +lean_inc(x_287); +lean_dec(x_261); +x_288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_288, 0, x_286); +lean_ctor_set(x_288, 1, x_287); +return x_288; } } } else { -uint8_t x_679; -lean_dec(x_549); -lean_dec(x_547); +lean_object* x_289; lean_object* x_290; lean_object* x_291; +lean_dec(x_221); +lean_dec(x_219); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); @@ -72163,33 +42184,24 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_679 = !lean_is_exclusive(x_550); -if (x_679 == 0) -{ -return x_550; -} -else -{ -lean_object* x_680; lean_object* x_681; lean_object* x_682; -x_680 = lean_ctor_get(x_550, 0); -x_681 = lean_ctor_get(x_550, 1); -lean_inc(x_681); -lean_inc(x_680); -lean_dec(x_550); -x_682 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_682, 0, x_680); -lean_ctor_set(x_682, 1, x_681); -return x_682; +x_289 = lean_ctor_get(x_222, 0); +lean_inc(x_289); +x_290 = lean_ctor_get(x_222, 1); +lean_inc(x_290); +lean_dec(x_222); +x_291 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_291, 0, x_289); +lean_ctor_set(x_291, 1, x_290); +return x_291; } } } } -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -72200,12 +42212,13 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -72215,11 +42228,11 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -72230,11 +42243,85 @@ lean_dec(x_1); return x_8; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8___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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__11___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) { _start: { lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -72243,12 +42330,13 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10___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) { _start: { lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -72256,11 +42344,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__12___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_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__12(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -72270,56 +42358,23 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13___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) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7___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) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_8; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -72335,6 +42390,7 @@ _start: { lean_object* x_13; x_13 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___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_10); lean_dec(x_4); lean_dec(x_1); return x_13; @@ -72400,11 +42456,11 @@ x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___s return x_14; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5___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* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -72415,12 +42471,13 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5___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) { _start: { lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -72430,11 +42487,11 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -72445,7 +42502,21 @@ lean_dec(x_1); return x_8; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___boxed(lean_object** _args) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -72467,17 +42538,17 @@ lean_object* x_18 = _args[17]; _start: { uint8_t x_19; uint8_t x_20; uint8_t x_21; size_t x_22; size_t x_23; lean_object* x_24; -x_19 = lean_unbox(x_4); +x_19 = lean_unbox(x_3); +lean_dec(x_3); +x_20 = lean_unbox(x_4); lean_dec(x_4); -x_20 = lean_unbox(x_5); +x_21 = lean_unbox(x_5); lean_dec(x_5); -x_21 = lean_unbox(x_6); -lean_dec(x_6); x_22 = lean_unbox_usize(x_8); lean_dec(x_8); x_23 = lean_unbox_usize(x_9); lean_dec(x_9); -x_24 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7(x_1, x_2, x_3, x_19, x_20, x_21, x_7, x_22, x_23, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_24 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8(x_1, x_2, x_19, x_20, x_21, x_6, x_7, x_22, x_23, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec(x_11); lean_dec(x_7); return x_24; @@ -72587,15 +42658,16 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Term_Do_ToCodeBlock_doUnlessToCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_8); lean_dec(x_1); return x_11; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -72606,12 +42678,13 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -72621,11 +42694,11 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -72636,6 +42709,20 @@ lean_dec(x_1); return x_8; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___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) { _start: { @@ -72817,7 +42904,7 @@ lean_inc(x_29); x_35 = l_Lean_Elab_Term_elabTerm(x_29, x_33, x_34, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_32); if (lean_obj_tag(x_35) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -72830,59 +42917,37 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_39, 0); -lean_dec(x_41); -lean_ctor_set(x_39, 0, x_29); -return x_39; -} -else -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); lean_dec(x_39); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_29); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_29); +lean_ctor_set(x_41, 1, x_40); +return x_41; } else { -uint8_t x_44; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_dec(x_29); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_35); -if (x_44 == 0) -{ -return x_35; +x_42 = lean_ctor_get(x_35, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_35, 1); +lean_inc(x_43); +lean_dec(x_35); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} } else { lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_35, 0); -x_46 = lean_ctor_get(x_35, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_35); -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; -} -} -} -else -{ -uint8_t x_48; lean_dec(x_29); lean_dec(x_7); lean_dec(x_6); @@ -72891,96 +42956,65 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_48 = !lean_is_exclusive(x_30); -if (x_48 == 0) -{ -return x_30; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_30, 0); -x_50 = lean_ctor_get(x_30, 1); -lean_inc(x_50); -lean_inc(x_49); +x_45 = lean_ctor_get(x_30, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_30, 1); +lean_inc(x_46); lean_dec(x_30); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} +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_Do_elabDo___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) { _start: { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_5); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_5, 3); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_12 = lean_ctor_get(x_5, 0); +x_13 = lean_ctor_get(x_5, 1); +x_14 = lean_ctor_get(x_5, 2); +x_15 = lean_ctor_get(x_5, 3); +x_16 = lean_ctor_get(x_5, 4); +x_17 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); +x_18 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); +x_19 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); +x_20 = lean_ctor_get(x_5, 5); +x_21 = lean_ctor_get(x_5, 6); +x_22 = lean_ctor_get(x_5, 7); +x_23 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); lean_inc(x_2); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_1); -lean_ctor_set(x_14, 1, x_2); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -lean_ctor_set(x_5, 3, x_15); -x_16 = 1; -x_17 = l_Lean_Elab_Term_elabTermEnsuringType(x_2, x_3, x_16, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; -x_18 = lean_ctor_get(x_5, 0); -x_19 = lean_ctor_get(x_5, 1); -x_20 = lean_ctor_get(x_5, 2); -x_21 = lean_ctor_get(x_5, 3); -x_22 = lean_ctor_get(x_5, 4); -x_23 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_24 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_25 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -x_26 = lean_ctor_get(x_5, 5); -x_27 = lean_ctor_get(x_5, 6); -x_28 = lean_ctor_get(x_5, 7); -x_29 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 3); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_2); +lean_inc(x_15); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_15); lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_5); -lean_inc(x_2); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_1); -lean_ctor_set(x_30, 1, x_2); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_21); -x_32 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_32, 0, x_18); -lean_ctor_set(x_32, 1, x_19); -lean_ctor_set(x_32, 2, x_20); -lean_ctor_set(x_32, 3, x_31); -lean_ctor_set(x_32, 4, x_22); -lean_ctor_set(x_32, 5, x_26); -lean_ctor_set(x_32, 6, x_27); -lean_ctor_set(x_32, 7, x_28); -lean_ctor_set_uint8(x_32, sizeof(void*)*8, x_23); -lean_ctor_set_uint8(x_32, sizeof(void*)*8 + 1, x_24); -lean_ctor_set_uint8(x_32, sizeof(void*)*8 + 2, x_25); -lean_ctor_set_uint8(x_32, sizeof(void*)*8 + 3, x_29); -x_33 = 1; -x_34 = l_Lean_Elab_Term_elabTermEnsuringType(x_2, x_3, x_33, x_33, x_4, x_32, x_6, x_7, x_8, x_9, x_10, x_11); -return x_34; -} +lean_inc(x_16); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_26 = lean_alloc_ctor(0, 8, 4); +lean_ctor_set(x_26, 0, x_12); +lean_ctor_set(x_26, 1, x_13); +lean_ctor_set(x_26, 2, x_14); +lean_ctor_set(x_26, 3, x_25); +lean_ctor_set(x_26, 4, x_16); +lean_ctor_set(x_26, 5, x_20); +lean_ctor_set(x_26, 6, x_21); +lean_ctor_set(x_26, 7, x_22); +lean_ctor_set_uint8(x_26, sizeof(void*)*8, x_17); +lean_ctor_set_uint8(x_26, sizeof(void*)*8 + 1, x_18); +lean_ctor_set_uint8(x_26, sizeof(void*)*8 + 2, x_19); +lean_ctor_set_uint8(x_26, sizeof(void*)*8 + 3, x_23); +x_27 = 1; +x_28 = l_Lean_Elab_Term_elabTermEnsuringType(x_2, x_3, x_27, x_27, x_4, x_26, x_6, x_7, x_8, x_9, x_10, x_11); +return x_28; } } static lean_object* _init_l_Lean_Elab_Term_Do_elabDo___closed__1() { @@ -73061,7 +43095,7 @@ lean_inc(x_1); x_19 = l_Lean_Elab_Term_Do_ToCodeBlock_run(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_18); if (lean_obj_tag(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_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; uint8_t x_76; lean_object* x_77; +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_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -73070,311 +43104,125 @@ lean_dec(x_19); x_22 = lean_ctor_get(x_20, 0); lean_inc(x_22); lean_dec(x_20); -x_48 = lean_st_ref_get(x_8, x_21); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_ctor_get(x_49, 0); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_ctor_get(x_7, 4); -lean_inc(x_52); -x_53 = lean_ctor_get(x_7, 5); -lean_inc(x_53); -lean_inc(x_51); -x_54 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_54, 0, x_51); -lean_inc(x_52); -x_55 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_55, 0, x_52); -lean_inc(x_51); -x_56 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__1___boxed), 4, 1); -lean_closure_set(x_56, 0, x_51); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -x_57 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__2___boxed), 6, 3); -lean_closure_set(x_57, 0, x_51); -lean_closure_set(x_57, 1, x_52); -lean_closure_set(x_57, 2, x_53); -lean_inc(x_51); -x_58 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_mkJmp___lambda__3___boxed), 6, 3); -lean_closure_set(x_58, 0, x_51); -lean_closure_set(x_58, 1, x_52); -lean_closure_set(x_58, 2, x_53); -x_59 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_59, 0, x_54); -lean_ctor_set(x_59, 1, x_55); -lean_ctor_set(x_59, 2, x_56); -lean_ctor_set(x_59, 3, x_57); -lean_ctor_set(x_59, 4, x_58); -x_60 = x_59; -x_61 = lean_ctor_get(x_7, 3); -lean_inc(x_61); -x_62 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_50); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_ctor_get(x_7, 1); -lean_inc(x_65); -x_66 = lean_ctor_get(x_7, 2); -lean_inc(x_66); -x_67 = lean_st_ref_get(x_8, x_64); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_environment_main_module(x_51); -x_72 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_72, 0, x_60); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set(x_72, 2, x_63); -lean_ctor_set(x_72, 3, x_65); -lean_ctor_set(x_72, 4, x_66); -lean_ctor_set(x_72, 5, x_61); -x_73 = lean_box(0); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_70); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -x_76 = 0; -x_77 = l_Lean_Elab_Term_Do_ToTerm_run(x_22, x_17, x_75, x_76, x_72, x_74); -if (lean_obj_tag(x_77) == 0) +x_23 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; +x_24 = 0; +x_25 = lean_box(x_24); +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_ToTerm_run___boxed), 6, 4); +lean_closure_set(x_26, 0, x_22); +lean_closure_set(x_26, 1, x_17); +lean_closure_set(x_26, 2, x_23); +lean_closure_set(x_26, 3, x_25); +lean_inc(x_7); +lean_inc(x_3); +x_27 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_st_ref_take(x_8, x_69); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = !lean_is_exclusive(x_82); -if (x_84 == 0) +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_37 = lean_st_ref_get(x_8, x_29); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_38, 3); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); +lean_dec(x_39); +if (x_40 == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_85 = lean_ctor_get(x_82, 1); -lean_dec(x_85); -lean_ctor_set(x_82, 1, x_80); -x_86 = lean_st_ref_set(x_8, x_82, x_83); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -lean_dec(x_86); -x_88 = lean_ctor_get(x_79, 1); -lean_inc(x_88); -lean_dec(x_79); -x_89 = l_List_reverse___rarg(x_88); -x_90 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_87); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_23 = x_78; -x_24 = x_91; -goto block_47; +lean_object* x_41; +x_41 = lean_ctor_get(x_37, 1); +lean_inc(x_41); +lean_dec(x_37); +x_30 = x_41; +goto block_36; } 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; -x_92 = lean_ctor_get(x_82, 0); -x_93 = lean_ctor_get(x_82, 2); -x_94 = lean_ctor_get(x_82, 3); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_82); -x_95 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_95, 0, x_92); -lean_ctor_set(x_95, 1, x_80); -lean_ctor_set(x_95, 2, x_93); -lean_ctor_set(x_95, 3, x_94); -x_96 = lean_st_ref_set(x_8, x_95, x_83); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_98 = lean_ctor_get(x_79, 1); -lean_inc(x_98); -lean_dec(x_79); -x_99 = l_List_reverse___rarg(x_98); -x_100 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_99, x_3, x_4, x_5, x_6, x_7, x_8, x_97); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -lean_dec(x_100); -x_23 = x_78; -x_24 = x_101; -goto block_47; -} +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_37, 1); +lean_inc(x_42); +lean_dec(x_37); +x_43 = l_Lean_Elab_Term_Do_elabDo___closed__2; +x_44 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_43, x_3, x_4, x_5, x_6, x_7, x_8, x_42); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_unbox(x_45); +lean_dec(x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +lean_dec(x_44); +x_30 = x_47; +goto block_36; } else { -lean_object* x_102; +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_44, 1); +lean_inc(x_48); +lean_dec(x_44); +lean_inc(x_28); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_28); +x_50 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_43, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +lean_dec(x_50); +x_30 = x_51; +goto block_36; +} +} +block_36: +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_13, 3); +lean_inc(x_31); lean_dec(x_13); -lean_dec(x_1); -x_102 = lean_ctor_get(x_77, 0); -lean_inc(x_102); -lean_dec(x_77); -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; uint8_t x_108; -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -lean_dec(x_102); -x_105 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_105, 0, x_104); -x_106 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_106, 0, x_105); -x_107 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_103, x_106, x_3, x_4, x_5, x_6, x_7, x_8, x_69); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_103); -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) -{ -return x_107; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_107, 0); -x_110 = lean_ctor_get(x_107, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_107); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -return x_111; +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_box(0); +lean_inc(x_28); +lean_inc(x_1); +x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_elabDo___lambda__1___boxed), 11, 4); +lean_closure_set(x_34, 0, x_1); +lean_closure_set(x_34, 1, x_28); +lean_closure_set(x_34, 2, x_32); +lean_closure_set(x_34, 3, x_33); +x_35 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_28, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_30); +return x_35; } } else { -lean_object* x_112; uint8_t x_113; +lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_112 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_69); -x_113 = !lean_is_exclusive(x_112); -if (x_113 == 0) -{ -return x_112; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_112, 0); -x_115 = lean_ctor_get(x_112, 1); -lean_inc(x_115); -lean_inc(x_114); -lean_dec(x_112); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; -} -} -} -block_47: -{ -lean_object* x_25; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_32 = lean_st_ref_get(x_8, x_24); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_33, 3); -lean_inc(x_34); -lean_dec(x_33); -x_35 = lean_ctor_get_uint8(x_34, sizeof(void*)*1); -lean_dec(x_34); -if (x_35 == 0) -{ -lean_object* x_36; -x_36 = lean_ctor_get(x_32, 1); -lean_inc(x_36); -lean_dec(x_32); -x_25 = x_36; -goto block_31; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_37 = lean_ctor_get(x_32, 1); -lean_inc(x_37); -lean_dec(x_32); -x_38 = l_Lean_Elab_Term_Do_elabDo___closed__2; -x_39 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_37); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_unbox(x_40); -lean_dec(x_40); -if (x_41 == 0) -{ -lean_object* x_42; -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); -lean_dec(x_39); -x_25 = x_42; -goto block_31; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = lean_ctor_get(x_39, 1); -lean_inc(x_43); -lean_dec(x_39); -lean_inc(x_23); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_23); -x_45 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_38, x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_43); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_25 = x_46; -goto block_31; -} -} -block_31: -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_13, 3); -lean_inc(x_26); -lean_dec(x_13); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -x_28 = lean_box(0); -lean_inc(x_23); -lean_inc(x_1); -x_29 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_elabDo___lambda__1), 11, 4); -lean_closure_set(x_29, 0, x_1); -lean_closure_set(x_29, 1, x_23); -lean_closure_set(x_29, 2, x_27); -lean_closure_set(x_29, 3, x_28); -x_30 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_23, x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_25); -return x_30; -} +lean_dec(x_1); +x_52 = lean_ctor_get(x_27, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_27, 1); +lean_inc(x_53); +lean_dec(x_27); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } else { -uint8_t x_117; +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_dec(x_17); lean_dec(x_13); lean_dec(x_8); @@ -73384,29 +43232,20 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_117 = !lean_is_exclusive(x_19); -if (x_117 == 0) -{ -return x_19; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_19, 0); -x_119 = lean_ctor_get(x_19, 1); -lean_inc(x_119); -lean_inc(x_118); +x_55 = lean_ctor_get(x_19, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_19, 1); +lean_inc(x_56); lean_dec(x_19); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; -} +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } else { -uint8_t x_121; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); @@ -73415,29 +43254,20 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_121 = !lean_is_exclusive(x_16); -if (x_121 == 0) -{ -return x_16; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_16, 0); -x_123 = lean_ctor_get(x_16, 1); -lean_inc(x_123); -lean_inc(x_122); +x_58 = lean_ctor_get(x_16, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_16, 1); +lean_inc(x_59); lean_dec(x_16); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -return x_124; -} +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } else { -uint8_t x_125; +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -73445,29 +43275,20 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_125 = !lean_is_exclusive(x_12); -if (x_125 == 0) -{ -return x_12; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_12, 0); -x_127 = lean_ctor_get(x_12, 1); -lean_inc(x_127); -lean_inc(x_126); +x_61 = lean_ctor_get(x_12, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_12, 1); +lean_inc(x_62); lean_dec(x_12); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -return x_128; -} +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_129; +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -73476,26 +43297,26 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_129 = !lean_is_exclusive(x_10); -if (x_129 == 0) -{ -return x_10; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_10, 0); -x_131 = lean_ctor_get(x_10, 1); -lean_inc(x_131); -lean_inc(x_130); +x_64 = lean_ctor_get(x_10, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_10, 1); +lean_inc(x_65); lean_dec(x_10); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -return x_132; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; } } } +lean_object* l_Lean_Elab_Term_Do_elabDo___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Term_Do_elabDo___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_5); +return x_12; +} } static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__1() { _start: @@ -73553,7 +43374,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24069_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24070_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -73565,175 +43386,76 @@ return x_3; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; uint8_t x_6; +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; x_5 = l_Lean_Syntax_setKind(x_2, x_1); -x_6 = !lean_is_exclusive(x_3); -if (x_6 == 0) +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +x_9 = lean_ctor_get(x_3, 3); +x_10 = lean_ctor_get(x_3, 4); +x_11 = lean_ctor_get(x_3, 5); +x_12 = l_Lean_replaceRef(x_5, x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_13 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_7); +lean_ctor_set(x_13, 2, x_8); +lean_ctor_set(x_13, 3, x_9); +lean_ctor_set(x_13, 4, x_10); +lean_ctor_set(x_13, 5, x_12); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_13, x_4); +lean_dec(x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_20 = lean_array_push(x_19, x_5); +x_21 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; +x_22 = lean_array_push(x_20, x_21); +x_23 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; +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_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_26 = lean_array_push(x_25, x_24); +x_27 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_array_push(x_25, x_28); +x_30 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = lean_array_push(x_19, x_18); +x_33 = lean_array_push(x_32, x_31); +x_34 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_16); +return x_36; +} +} +lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_ctor_get(x_3, 5); -x_8 = l_Lean_replaceRef(x_5, x_7); -lean_dec(x_7); -lean_ctor_set(x_3, 5, x_8); -x_9 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_3, x_4); +lean_object* x_5; +x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(x_1, x_2, x_3, x_4); lean_dec(x_3); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -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; -x_11 = lean_ctor_get(x_9, 0); -x_12 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -x_13 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -x_14 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_15 = lean_array_push(x_14, x_5); -x_16 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_17 = lean_array_push(x_15, x_16); -x_18 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -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_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_21 = lean_array_push(x_20, x_19); -x_22 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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 = lean_array_push(x_20, x_23); -x_25 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -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_14, x_13); -x_28 = lean_array_push(x_27, x_26); -x_29 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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); -lean_ctor_set(x_9, 0, x_30); -return x_9; -} -else -{ -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; -x_31 = lean_ctor_get(x_9, 0); -x_32 = lean_ctor_get(x_9, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_9); -x_33 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -x_34 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_34, 0, x_31); -lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_36 = lean_array_push(x_35, x_5); -x_37 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_38 = lean_array_push(x_36, x_37); -x_39 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -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 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_42 = lean_array_push(x_41, x_40); -x_43 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___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_41, x_44); -x_46 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -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 = lean_array_push(x_35, x_34); -x_49 = lean_array_push(x_48, x_47); -x_50 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__2; -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_32); -return x_52; -} -} -else -{ -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; -x_53 = lean_ctor_get(x_3, 0); -x_54 = lean_ctor_get(x_3, 1); -x_55 = lean_ctor_get(x_3, 2); -x_56 = lean_ctor_get(x_3, 3); -x_57 = lean_ctor_get(x_3, 4); -x_58 = lean_ctor_get(x_3, 5); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_3); -x_59 = l_Lean_replaceRef(x_5, x_58); -lean_dec(x_58); -x_60 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_60, 0, x_53); -lean_ctor_set(x_60, 1, x_54); -lean_ctor_set(x_60, 2, x_55); -lean_ctor_set(x_60, 3, x_56); -lean_ctor_set(x_60, 4, x_57); -lean_ctor_set(x_60, 5, x_59); -x_61 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_60, x_4); -lean_dec(x_60); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_64 = x_61; -} else { - lean_dec_ref(x_61); - x_64 = lean_box(0); -} -x_65 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__1; -x_66 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_66, 0, x_62); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_68 = lean_array_push(x_67, x_5); -x_69 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__3; -x_70 = lean_array_push(x_68, x_69); -x_71 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__5; -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_74 = lean_array_push(x_73, x_72); -x_75 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -x_77 = lean_array_push(x_73, x_76); -x_78 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__10; -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_array_push(x_67, x_66); -x_81 = lean_array_push(x_80, x_79); -x_82 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___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); -if (lean_is_scalar(x_64)) { - x_84 = lean_alloc_ctor(0, 2, 0); -} else { - x_84 = x_64; -} -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_63); -return x_84; -} +return x_5; } } lean_object* l_Lean_Elab_Term_expandTermFor(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -73745,6 +43467,15 @@ x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(x_4, x_1, x_2, x_3); return x_5; } } +lean_object* l_Lean_Elab_Term_expandTermFor___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Term_expandTermFor(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1() { _start: { @@ -73767,7 +43498,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandTermFor), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandTermFor___boxed), 3, 0); return x_1; } } @@ -73792,6 +43523,15 @@ x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(x_4, x_1, x_2, x_3); return x_5; } } +lean_object* l_Lean_Elab_Term_expandTermTry___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Term_expandTermTry(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTermTry___closed__1() { _start: { @@ -73814,7 +43554,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTermTry___closed__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandTermTry), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandTermTry___boxed), 3, 0); return x_1; } } @@ -73839,6 +43579,15 @@ x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(x_4, x_1, x_2, x_3); return x_5; } } +lean_object* l_Lean_Elab_Term_expandTermUnless___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Term_expandTermUnless(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTermUnless___closed__1() { _start: { @@ -73861,7 +43610,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTermUnless___close _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandTermUnless), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandTermUnless___boxed), 3, 0); return x_1; } } @@ -73886,6 +43635,15 @@ x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(x_4, x_1, x_2, x_3); return x_5; } } +lean_object* l_Lean_Elab_Term_expandTermReturn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Term_expandTermReturn(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTermReturn___closed__1() { _start: { @@ -73908,7 +43666,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandTermReturn___close _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandTermReturn), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandTermReturn___boxed), 3, 0); return x_1; } } @@ -74218,16 +43976,16 @@ l_Lean_Elab_Term_Do_mkSimpleJmp___closed__8 = _init_l_Lean_Elab_Term_Do_mkSimple lean_mark_persistent(l_Lean_Elab_Term_Do_mkSimpleJmp___closed__8); l_Lean_Elab_Term_Do_mkSimpleJmp___closed__9 = _init_l_Lean_Elab_Term_Do_mkSimpleJmp___closed__9(); lean_mark_persistent(l_Lean_Elab_Term_Do_mkSimpleJmp___closed__9); -l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__1); -l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__2); -l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__3); -l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__3___closed__4); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__7___rarg___closed__1); +l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__1); +l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__2); +l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__3); +l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Do_mkJmp___spec__4___closed__4); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__8___rarg___closed__1); l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__1 = _init_l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__1); l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2 = _init_l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2(); @@ -74934,6 +44692,8 @@ l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__6 = _init_l_Lean_Elab lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__6); l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__1); +l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__2 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__2); l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__1); l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__2 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__2(); @@ -74964,6 +44724,8 @@ l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__1 = _init_l_Lean_Elab_Term lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__1); l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__2 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__2); +l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__3 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__3); l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__1(); lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__1); l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__2(); @@ -74984,36 +44746,36 @@ l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3_ lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__9); l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__10 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__10(); lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__10); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__1(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__1); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__2 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__2(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__2); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__3 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__3(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__3); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__4 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__4(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__4); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__5 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__5(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__5); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__6 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__6(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__6); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__7 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__7(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__7); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__8 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__8(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__8); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__9 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__9(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__9); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__10 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__10(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__10); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__11 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__11(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__11); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__12 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__12(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__12); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__13 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__13(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__13); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__14 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__14(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__14); -l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__15 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__15(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__7___closed__15); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__1); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__2 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__2(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__2); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__3 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__3(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__3); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__4 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__4(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__4); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__5 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__5(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__5); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__6 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__6(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__6); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__7 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__7(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__7); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__8 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__8(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__8); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__9 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__9(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__9); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__10 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__10(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__10); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__11 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__11(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__11); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__12 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__12(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__12); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__13 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__13(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__13); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__14 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__14(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__14); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__15 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__15(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8___closed__15); l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__1); l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__2 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__2(); @@ -75120,6 +44882,8 @@ l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35 = _init_l_Lean_Elab_Ter lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__35); l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__36); +l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__37 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__37(); +lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__37); l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1); l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__1 = _init_l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__1(); @@ -75171,7 +44935,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__5); res = l___regBuiltin_Lean_Elab_Term_Do_elabDo(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24069_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_24070_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Extra.c b/stage0/stdlib/Lean/Elab/Extra.c index e020cb91d5..9261334dd9 100644 --- a/stage0/stdlib/Lean/Elab/Extra.c +++ b/stage0/stdlib/Lean/Elab/Extra.c @@ -71,7 +71,6 @@ lean_object* l_Lean_Elab_Term_elabForIn_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__12; lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabBinRel___lambda__3___closed__2; -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinOp_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinRel___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn_getMonad___closed__6; @@ -108,6 +107,7 @@ extern lean_object* l_Lean_Elab_Term_termElabAttribute; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__11; lean_object* l_Lean_Elab_Term_elabForIn_throwFailure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__4; +lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn_throwFailure___closed__1; lean_object* l_Lean_Elab_Term_elabBinOp_match__2(lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__8; @@ -2938,7 +2938,7 @@ x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBinOp___lambda__1), 10, 3 lean_closure_set(x_35, 0, x_1); lean_closure_set(x_35, 1, x_33); lean_closure_set(x_35, 2, x_34); -x_36 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_33, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_24); +x_36 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_33, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_24); return x_36; } else diff --git a/stage0/stdlib/Lean/Elab/Frontend.c b/stage0/stdlib/Lean/Elab/Frontend.c index 1d25c4eaf9..b89f4fcadc 100644 --- a/stage0/stdlib/Lean/Elab/Frontend.c +++ b/stage0/stdlib/Lean/Elab/Frontend.c @@ -17,13 +17,13 @@ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(lean_object*); lean_object* l_Lean_Elab_Frontend_runCommandElabM_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__2; static lean_object* l_Lean_Elab_process___closed__2; lean_object* l_Lean_Elab_IO_processCommands_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Parser_parseHeader(lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_State_commands___default; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2; lean_object* l_Lean_Elab_IO_processCommands(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_processCommand_match__1___rarg(lean_object*, lean_object*); lean_object* lean_run_frontend(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -31,7 +31,6 @@ static lean_object* l_Lean_Elab_process___closed__1; lean_object* lean_environment_set_main_module(lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_setCommandState___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__1; lean_object* l_Lean_Elab_Frontend_getCommandState___rarg___boxed(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -39,18 +38,18 @@ lean_object* l_Lean_Parser_mkInputContext(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_runCommandElabM(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__4; lean_object* l_Lean_Elab_Frontend_processCommand_match__1(lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__4; lean_object* lean_profileit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_enableInfoTree___at_Lean_Elab_Frontend_elabCommandAtFrontend___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__1; lean_object* l_Lean_Elab_processHeader(lean_object*, lean_object*, lean_object*, lean_object*, uint32_t, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__3; lean_object* l_Lean_Elab_runFrontend_match__1___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__5; lean_object* l_List_forIn_loop___at_Lean_Elab_runFrontend___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_toList(lean_object*); lean_object* l_Lean_Elab_runFrontend_match__1(lean_object*); lean_object* l_Lean_Elab_Frontend_processCommand___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__3; static lean_object* l_Lean_Elab_process___closed__4; lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -58,6 +57,7 @@ lean_object* l_Lean_Elab_Frontend_getInputContext___boxed(lean_object*, lean_obj uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_Frontend_setParserState___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_print___at_IO_println___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__5; lean_object* l_Lean_Elab_Command_mkState(lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_runFrontend___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -65,7 +65,7 @@ lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend(lean_object*, lean_objec lean_object* l_Lean_Elab_getPrintMessageEndPos___boxed(lean_object*); static lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg___closed__1; static lean_object* l_Lean_Elab_Frontend_processCommand___closed__1; -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753_(lean_object*); lean_object* l_Lean_Elab_Frontend_updateCmdPos(lean_object*); extern lean_object* l_Lean_firstFrontendMacroScope; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); @@ -2450,7 +2450,7 @@ return x_47; } } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__1() { _start: { lean_object* x_1; @@ -2458,17 +2458,17 @@ x_1 = lean_mk_string("printMessageEndPos"); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____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_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__3() { _start: { uint8_t x_1; lean_object* x_2; @@ -2478,7 +2478,7 @@ lean_ctor_set_uint8(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__4() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__4() { _start: { lean_object* x_1; @@ -2486,13 +2486,13 @@ x_1 = lean_mk_string("print end position of each message in addition to start po return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__5() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__3; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__3; x_2 = l_Lean_Elab_Frontend_runCommandElabM___rarg___closed__2; -x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__4; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2500,12 +2500,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__2; -x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__5; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__5; x_4 = lean_register_option(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -2545,7 +2545,7 @@ uint8_t l_Lean_Elab_getPrintMessageEndPos(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__2; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2; x_3 = 0; x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); return x_4; @@ -3109,17 +3109,17 @@ l_Lean_Elab_process___closed__4 = _init_l_Lean_Elab_process___closed__4(); lean_mark_persistent(l_Lean_Elab_process___closed__4); l_Lean_Elab_process___closed__5 = _init_l_Lean_Elab_process___closed__5(); lean_mark_persistent(l_Lean_Elab_process___closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__4(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__5(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747____closed__5); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_747_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__3); +l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__4(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__4); +l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__5(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753____closed__5); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_753_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/GenInjective.c b/stage0/stdlib/Lean/Elab/GenInjective.c index 49f9ad2c56..952e610b50 100644 --- a/stage0/stdlib/Lean/Elab/GenInjective.c +++ b/stage0/stdlib/Lean/Elab/GenInjective.c @@ -31,6 +31,7 @@ lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_obj lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__4; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__8; @@ -50,7 +51,6 @@ lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabGenI lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__1___closed__3; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__1___closed__1; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__4___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__10; @@ -176,7 +176,7 @@ x_10 = l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabGenInjectiveTheore x_11 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_11, x_2, x_3, x_4); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_11, x_2, x_3, x_4); return x_12; } } diff --git a/stage0/stdlib/Lean/Elab/InfoTree.c b/stage0/stdlib/Lean/Elab/InfoTree.c index 95d098ad74..d942176312 100644 --- a/stage0/stdlib/Lean/Elab/InfoTree.c +++ b/stage0/stdlib/Lean/Elab/InfoTree.c @@ -37,6 +37,7 @@ lean_object* l_Lean_Elab_withInfoContext_x27(lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_TacticInfo_format(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__1(lean_object*); +static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__2; lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_findInfo_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_TermInfo_format___lambda__1___closed__2; @@ -56,11 +57,11 @@ lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_modifyInfoTrees___rarg( lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos(lean_object*, lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); lean_object* l_Lean_Elab_InfoTree_format_match__1(lean_object*); +lean_object* l_Lean_Elab_instInhabitedElabInfo; lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_findInfo_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_TermInfo_runMetaM(lean_object*); -static lean_object* l_Lean_Elab_TermInfo_format___lambda__1___closed__5; static lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__5; lean_object* l_Lean_Elab_withInfoContext_x27_match__1(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -201,6 +202,7 @@ lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__4; static lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__1; +lean_object* l_Lean_Elab_Info_toElabInfo_x3f___boxed(lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_toPPContext(lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__9; @@ -222,6 +224,7 @@ lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__5(lean_object*, le static uint64_t l_Lean_Elab_instInhabitedTermInfo___closed__5; lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Elab_assignInfoHoleId___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_instInhabitedElabInfo___closed__1; lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos_match__1(lean_object*); lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_substitute_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -236,6 +239,7 @@ extern lean_object* l_Lean_firstFrontendMacroScope; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_CompletionInfo_stx___boxed(lean_object*); lean_object* l_Lean_Elab_ContextInfo_ppGoals___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_toElabInfo_x3f(lean_object*); lean_object* l_Lean_Elab_Info_updateContext_x3f_match__1(lean_object*); size_t l_USize_mul(size_t, size_t); static lean_object* l_Lean_Elab_ContextInfo_ppGoals___closed__2; @@ -293,6 +297,7 @@ lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_findInfo lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedInfo___closed__1; lean_object* l_Lean_Elab_CommandInfo_format(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Name_isAnonymous(lean_object*); lean_object* l_Lean_Elab_assignInfoHoleId(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Elab_MacroExpansionInfo_format___closed__1; @@ -324,7 +329,6 @@ lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedTermInfo___closed__3; lean_object* l_Lean_ppTerm(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__9; -static lean_object* l_Lean_Elab_TermInfo_format___lambda__1___closed__6; lean_object* l_Lean_Elab_withInfoTreeContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_enableInfoTree___rarg___lambda__1___boxed(lean_object*, lean_object*); @@ -347,7 +351,9 @@ static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_f lean_object* l_Lean_Elab_TermInfo_runMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); +lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__2(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__1; static lean_object* l_Lean_Elab_ContextInfo_mctx___default___closed__2; lean_object* l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__5; @@ -392,6 +398,7 @@ lean_object* l_Lean_Elab_withInfoHole___rarg___lambda__4(lean_object*, lean_obje lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_CompletionInfo_stx_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__3; +lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); @@ -614,6 +621,26 @@ x_1 = l_Lean_Elab_instInhabitedContextInfo___closed__9; return x_1; } } +static lean_object* _init_l_Lean_Elab_instInhabitedElabInfo___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_instInhabitedElabInfo() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_instInhabitedElabInfo___closed__1; +return x_1; +} +} static lean_object* _init_l_Lean_Elab_instInhabitedTermInfo___closed__1() { _start: { @@ -688,13 +715,13 @@ _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_instInhabitedTermInfo___closed__4; -x_3 = l_Lean_Elab_instInhabitedTermInfo___closed__6; -x_4 = lean_box(0); +x_2 = l_Lean_Elab_instInhabitedElabInfo___closed__1; +x_3 = l_Lean_Elab_instInhabitedTermInfo___closed__4; +x_4 = l_Lean_Elab_instInhabitedTermInfo___closed__6; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_2); -lean_ctor_set(x_5, 1, x_1); -lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_1); lean_ctor_set(x_5, 3, x_4); return x_5; } @@ -711,7 +738,7 @@ static lean_object* _init_l_Lean_Elab_instInhabitedCommandInfo() { _start: { lean_object* x_1; -x_1 = lean_box(0); +x_1 = l_Lean_Elab_instInhabitedElabInfo___closed__1; return x_1; } } @@ -835,18 +862,19 @@ _start: { if (lean_obj_tag(x_1) == 0) { -lean_object* x_2; lean_object* x_3; +lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = lean_ctor_get(x_1, 0); -x_3 = lean_ctor_get(x_2, 3); -lean_inc(x_3); -return x_3; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +return x_4; } else { -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -return x_4; +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +return x_5; } } } @@ -888,13 +916,13 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(0); -x_2 = l_Lean_Elab_ContextInfo_mctx___default___closed__4; -x_3 = lean_box(0); +x_2 = l_Lean_Elab_instInhabitedElabInfo___closed__1; +x_3 = l_Lean_Elab_ContextInfo_mctx___default___closed__4; x_4 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_1); -lean_ctor_set(x_4, 2, x_3); -lean_ctor_set(x_4, 3, x_2); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set(x_4, 2, x_1); +lean_ctor_set(x_4, 3, x_3); lean_ctor_set(x_4, 4, x_1); return x_4; } @@ -3110,11 +3138,83 @@ lean_dec(x_1); return x_3; } } +static lean_object* _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" @ "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = l_Lean_Name_isAnonymous(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange(x_1, x_5); +lean_dec(x_5); +x_7 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__7; +x_8 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +x_9 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__2; +x_10 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +x_11 = l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(x_3); +x_12 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_7); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +lean_dec(x_2); +x_15 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange(x_1, x_14); +lean_dec(x_14); +return x_15; +} +} +} +lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} lean_object* l_Lean_Elab_TermInfo_runMetaM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); lean_inc(x_5); lean_dec(x_1); x_6 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_2, x_5, x_3, x_4); @@ -3174,24 +3274,6 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" @ "); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_TermInfo_format___lambda__1___closed__5; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} lean_object* l_Lean_Elab_TermInfo_format___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) { _start: { @@ -3245,12 +3327,14 @@ lean_ctor_set(x_49, 1, x_48); x_50 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_45); -x_51 = l_Lean_Elab_TermInfo_format___lambda__1___closed__6; +x_51 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__2; x_52 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); -x_53 = lean_ctor_get(x_2, 3); -x_54 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange(x_3, x_53); +x_53 = lean_ctor_get(x_2, 0); +lean_inc(x_53); +lean_dec(x_2); +x_54 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(x_3, x_53); x_55 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_55, 0, x_52); lean_ctor_set(x_55, 1, x_54); @@ -3279,12 +3363,14 @@ lean_ctor_set(x_62, 1, x_61); x_63 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_57); -x_64 = l_Lean_Elab_TermInfo_format___lambda__1___closed__6; +x_64 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__2; x_65 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_65, 0, x_63); lean_ctor_set(x_65, 1, x_64); -x_66 = lean_ctor_get(x_2, 3); -x_67 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange(x_3, x_66); +x_66 = lean_ctor_get(x_2, 0); +lean_inc(x_66); +lean_dec(x_2); +x_67 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(x_3, x_66); x_68 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_68, 0, x_65); lean_ctor_set(x_68, 1, x_67); @@ -3352,8 +3438,10 @@ x_15 = l_Lean_Elab_TermInfo_format___lambda__1___closed__2; x_16 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); -x_17 = lean_ctor_get(x_2, 3); -x_18 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange(x_3, x_17); +x_17 = lean_ctor_get(x_2, 0); +lean_inc(x_17); +lean_dec(x_2); +x_18 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(x_3, x_17); x_19 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_19, 0, x_16); lean_ctor_set(x_19, 1, x_18); @@ -3379,8 +3467,10 @@ x_25 = l_Lean_Elab_TermInfo_format___lambda__1___closed__2; x_26 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); -x_27 = lean_ctor_get(x_2, 3); -x_28 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange(x_3, x_27); +x_27 = lean_ctor_get(x_2, 0); +lean_inc(x_27); +lean_dec(x_2); +x_28 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(x_3, x_27); x_29 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_29, 0, x_26); lean_ctor_set(x_29, 1, x_28); @@ -3396,6 +3486,7 @@ return x_31; else { uint8_t x_32; +lean_dec(x_2); x_32 = !lean_is_exclusive(x_10); if (x_32 == 0) { @@ -3422,7 +3513,7 @@ lean_object* l_Lean_Elab_TermInfo_format(lean_object* x_1, lean_object* x_2, lea _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_2, 2); +x_4 = lean_ctor_get(x_2, 3); lean_inc(x_4); lean_inc(x_1); lean_inc(x_2); @@ -3441,7 +3532,6 @@ _start: lean_object* x_9; x_9 = l_Lean_Elab_TermInfo_format___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); -lean_dec(x_2); return x_9; } } @@ -3718,7 +3808,7 @@ lean_dec(x_34); x_41 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_41, 0, x_39); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_Elab_TermInfo_format___lambda__1___closed__6; +x_42 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__2; x_43 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_43, 0, x_41); lean_ctor_set(x_43, 1, x_42); @@ -3750,7 +3840,7 @@ x_53 = l_Lean_Elab_CompletionInfo_format___closed__2; x_54 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); -x_55 = l_Lean_Elab_TermInfo_format___lambda__1___closed__6; +x_55 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__2; x_56 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); @@ -3815,7 +3905,7 @@ lean_object* l_Lean_Elab_CommandInfo_format(lean_object* x_1, lean_object* x_2, _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; -x_4 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange(x_1, x_2); +x_4 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(x_1, x_2); x_5 = l_Lean_Elab_CommandInfo_format___closed__2; x_6 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_6, 0, x_5); @@ -3835,7 +3925,6 @@ _start: { lean_object* x_4; x_4 = l_Lean_Elab_CommandInfo_format(x_1, x_2, x_3); -lean_dec(x_2); lean_dec(x_1); return x_4; } @@ -3919,7 +4008,7 @@ lean_ctor_set(x_26, 1, x_25); x_27 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_17); -x_28 = l_Lean_Elab_TermInfo_format___lambda__1___closed__6; +x_28 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__2; x_29 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); @@ -3966,7 +4055,7 @@ lean_ctor_set(x_44, 1, x_43); x_45 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_34); -x_46 = l_Lean_Elab_TermInfo_format___lambda__1___closed__6; +x_46 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__2; x_47 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_47, 0, x_45); lean_ctor_set(x_47, 1, x_46); @@ -4573,7 +4662,7 @@ x_5 = lean_ctor_get(x_1, 1); x_6 = lean_ctor_get(x_1, 3); x_7 = lean_ctor_get(x_1, 4); x_8 = lean_ctor_get(x_1, 5); -x_9 = lean_ctor_get(x_2, 0); +x_9 = lean_ctor_get(x_2, 1); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -4601,7 +4690,7 @@ lean_ctor_set(x_12, 2, x_11); lean_ctor_set(x_12, 3, x_6); lean_ctor_set(x_12, 4, x_7); lean_ctor_set(x_12, 5, x_8); -x_13 = lean_ctor_get(x_2, 1); +x_13 = lean_ctor_get(x_2, 2); lean_inc(x_13); x_14 = l_Lean_Elab_ContextInfo_ppGoals(x_10, x_13, x_3); lean_dec(x_10); @@ -4623,12 +4712,13 @@ 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_35; lean_object* x_36; +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_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_2, 2); +x_21 = lean_ctor_get(x_2, 0); lean_inc(x_21); lean_dec(x_2); -x_22 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange(x_1, x_21); +lean_inc(x_21); +x_22 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(x_1, x_21); x_23 = l_Lean_Elab_TacticInfo_format___closed__2; x_24 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_24, 0, x_23); @@ -4637,126 +4727,133 @@ x_25 = l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__2; x_26 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__2(x_21); -x_28 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Elab_TacticInfo_format___closed__4; -x_30 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); +x_27 = lean_ctor_get(x_21, 1); +lean_inc(x_27); +lean_dec(x_21); +x_28 = l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__2(x_27); +x_29 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Elab_TacticInfo_format___closed__4; x_31 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_15); -x_32 = l_Lean_Elab_TacticInfo_format___closed__6; -x_33 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_15); +x_33 = l_Lean_Elab_TacticInfo_format___closed__6; x_34 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_20); -x_35 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__7; -x_36 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_18, 0, x_36); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_35 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_20); +x_36 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__7; +x_37 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_18, 0, x_37); return x_18; } else { -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; -x_37 = lean_ctor_get(x_18, 0); -x_38 = lean_ctor_get(x_18, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_18); -x_39 = lean_ctor_get(x_2, 2); +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; +x_38 = lean_ctor_get(x_18, 0); +x_39 = lean_ctor_get(x_18, 1); lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_18); +x_40 = lean_ctor_get(x_2, 0); +lean_inc(x_40); lean_dec(x_2); -x_40 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange(x_1, x_39); -x_41 = l_Lean_Elab_TacticInfo_format___closed__2; -x_42 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__2; -x_44 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__2(x_39); -x_46 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Elab_TacticInfo_format___closed__4; +lean_inc(x_40); +x_41 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(x_1, x_40); +x_42 = l_Lean_Elab_TacticInfo_format___closed__2; +x_43 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__2; +x_45 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +x_46 = lean_ctor_get(x_40, 1); +lean_inc(x_46); +lean_dec(x_40); +x_47 = l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__2(x_46); x_48 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 0, x_45); lean_ctor_set(x_48, 1, x_47); -x_49 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_15); -x_50 = l_Lean_Elab_TacticInfo_format___closed__6; +x_49 = l_Lean_Elab_TacticInfo_format___closed__4; +x_50 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); x_51 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_37); -x_53 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__7; +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_15); +x_52 = l_Lean_Elab_TacticInfo_format___closed__6; +x_53 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); x_54 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_38); -return x_55; +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_38); +x_55 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__7; +x_56 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_39); +return x_57; } } else { -uint8_t x_56; +uint8_t x_58; lean_dec(x_15); lean_dec(x_2); -x_56 = !lean_is_exclusive(x_18); -if (x_56 == 0) +x_58 = !lean_is_exclusive(x_18); +if (x_58 == 0) { return x_18; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_18, 0); -x_58 = lean_ctor_get(x_18, 1); -lean_inc(x_58); -lean_inc(x_57); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_18, 0); +x_60 = lean_ctor_get(x_18, 1); +lean_inc(x_60); +lean_inc(x_59); lean_dec(x_18); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; } } } else { -uint8_t x_60; +uint8_t x_62; lean_dec(x_12); lean_dec(x_2); -x_60 = !lean_is_exclusive(x_14); -if (x_60 == 0) +x_62 = !lean_is_exclusive(x_14); +if (x_62 == 0) { return x_14; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_14, 0); -x_62 = lean_ctor_get(x_14, 1); -lean_inc(x_62); -lean_inc(x_61); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_14, 0); +x_64 = lean_ctor_get(x_14, 1); +lean_inc(x_64); +lean_inc(x_63); lean_dec(x_14); -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; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } } @@ -5071,7 +5168,6 @@ x_8 = lean_ctor_get(x_2, 0); lean_inc(x_8); lean_dec(x_2); x_9 = l_Lean_Elab_CommandInfo_format(x_1, x_8, x_3); -lean_dec(x_8); lean_dec(x_1); return x_9; } @@ -5106,6 +5202,57 @@ return x_15; } } } +lean_object* l_Lean_Elab_Info_toElabInfo_x3f(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_3); +return x_4; +} +case 1: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +case 2: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +default: +{ +lean_object* x_10; +x_10 = lean_box(0); +return x_10; +} +} +} +} +lean_object* l_Lean_Elab_Info_toElabInfo_x3f___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Info_toElabInfo_x3f(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Lean_Elab_Info_updateContext_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -6261,18 +6408,22 @@ return x_2; lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___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_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = l_Lean_LocalContext_empty; -x_9 = lean_alloc_ctor(0, 4, 0); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_9, 0, x_8); lean_ctor_set(x_9, 1, x_1); -lean_ctor_set(x_9, 2, x_7); -lean_ctor_set(x_9, 3, x_2); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_9); -x_11 = l_Lean_Elab_pushInfoLeaf___rarg(x_3, x_4, x_10); -x_12 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_11, x_5); -return x_12; +x_10 = l_Lean_LocalContext_empty; +x_11 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set(x_11, 2, x_2); +lean_ctor_set(x_11, 3, x_7); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = l_Lean_Elab_pushInfoLeaf___rarg(x_3, x_4, x_12); +x_14 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_13, x_5); +return x_14; } } lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -6360,8 +6511,8 @@ lean_closure_set(x_11, 1, x_1); lean_closure_set(x_11, 2, x_9); lean_closure_set(x_11, 3, x_4); lean_closure_set(x_11, 4, x_5); -lean_closure_set(x_11, 5, x_8); -lean_closure_set(x_11, 6, x_6); +lean_closure_set(x_11, 5, x_6); +lean_closure_set(x_11, 6, x_8); x_12 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_10, x_11); return x_12; } @@ -6411,21 +6562,25 @@ return x_6; lean_object* l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___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_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_7 = l_Lean_LocalContext_empty; -x_8 = lean_alloc_ctor(0, 4, 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; +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_7); lean_ctor_set(x_8, 1, x_1); -lean_ctor_set(x_8, 2, x_6); -lean_ctor_set(x_8, 3, x_2); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_8); +x_9 = l_Lean_LocalContext_empty; +x_10 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +lean_ctor_set(x_10, 2, x_2); +lean_ctor_set(x_10, 3, x_6); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); lean_inc(x_3); -x_10 = l_Lean_Elab_pushInfoLeaf___rarg(x_3, x_4, x_9); -x_11 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___boxed), 2, 1); -lean_closure_set(x_11, 0, x_3); -x_12 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_10, x_11); -return x_12; +x_12 = l_Lean_Elab_pushInfoLeaf___rarg(x_3, x_4, x_11); +x_13 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_13, 0, x_3); +x_14 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_12, x_13); +return x_14; } } lean_object* l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___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, lean_object* x_8, lean_object* x_9) { @@ -6503,11 +6658,11 @@ x_16 = l_Lean_mkConstWithLevelParams___rarg(x_1, x_3, x_4, x_13); lean_inc(x_7); lean_inc(x_2); lean_inc(x_1); -lean_inc(x_5); lean_inc(x_6); +lean_inc(x_5); x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_resolveGlobalConstWithInfos___spec__1___rarg___lambda__2), 6, 5); -lean_closure_set(x_17, 0, x_6); -lean_closure_set(x_17, 1, x_5); +lean_closure_set(x_17, 0, x_5); +lean_closure_set(x_17, 1, x_6); lean_closure_set(x_17, 2, x_1); lean_closure_set(x_17, 3, x_2); lean_closure_set(x_17, 4, x_7); @@ -8031,7 +8186,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__4; x_2 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__5; -x_3 = lean_unsigned_to_nat(304u); +x_3 = lean_unsigned_to_nat(322u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8659,6 +8814,10 @@ l_Lean_Elab_instInhabitedContextInfo___closed__9 = _init_l_Lean_Elab_instInhabit lean_mark_persistent(l_Lean_Elab_instInhabitedContextInfo___closed__9); l_Lean_Elab_instInhabitedContextInfo = _init_l_Lean_Elab_instInhabitedContextInfo(); lean_mark_persistent(l_Lean_Elab_instInhabitedContextInfo); +l_Lean_Elab_instInhabitedElabInfo___closed__1 = _init_l_Lean_Elab_instInhabitedElabInfo___closed__1(); +lean_mark_persistent(l_Lean_Elab_instInhabitedElabInfo___closed__1); +l_Lean_Elab_instInhabitedElabInfo = _init_l_Lean_Elab_instInhabitedElabInfo(); +lean_mark_persistent(l_Lean_Elab_instInhabitedElabInfo); l_Lean_Elab_instInhabitedTermInfo___closed__1 = _init_l_Lean_Elab_instInhabitedTermInfo___closed__1(); lean_mark_persistent(l_Lean_Elab_instInhabitedTermInfo___closed__1); l_Lean_Elab_instInhabitedTermInfo___closed__2 = _init_l_Lean_Elab_instInhabitedTermInfo___closed__2(); @@ -8762,6 +8921,10 @@ l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange___closed__1 = _init_l lean_mark_persistent(l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange___closed__1); l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange___closed__2 = _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange___closed__2(); lean_mark_persistent(l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange___closed__2); +l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__1 = _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__1); +l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__2 = _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__2); l_Lean_Elab_TermInfo_format___lambda__1___closed__1 = _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_TermInfo_format___lambda__1___closed__1); l_Lean_Elab_TermInfo_format___lambda__1___closed__2 = _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__2(); @@ -8770,10 +8933,6 @@ l_Lean_Elab_TermInfo_format___lambda__1___closed__3 = _init_l_Lean_Elab_TermInfo lean_mark_persistent(l_Lean_Elab_TermInfo_format___lambda__1___closed__3); l_Lean_Elab_TermInfo_format___lambda__1___closed__4 = _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__4(); lean_mark_persistent(l_Lean_Elab_TermInfo_format___lambda__1___closed__4); -l_Lean_Elab_TermInfo_format___lambda__1___closed__5 = _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_TermInfo_format___lambda__1___closed__5); -l_Lean_Elab_TermInfo_format___lambda__1___closed__6 = _init_l_Lean_Elab_TermInfo_format___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Elab_TermInfo_format___lambda__1___closed__6); l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__1___closed__1 = _init_l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__1___closed__1(); lean_mark_persistent(l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__1___closed__1); l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__1___closed__2 = _init_l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/LetRec.c b/stage0/stdlib/Lean/Elab/LetRec.c index aa92dbb794..bab6784d7b 100644 --- a/stage0/stdlib/Lean/Elab/LetRec.c +++ b/stage0/stdlib/Lean/Elab/LetRec.c @@ -24,10 +24,8 @@ lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); @@ -38,8 +36,11 @@ lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Te static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2___closed__4; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10___rarg(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___closed__1; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2___closed__1; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -47,18 +48,18 @@ lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_T lean_object* l_List_append___rarg(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__2; lean_object* lean_private_to_user_name(lean_object*); static lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__14___closed__1; extern lean_object* l_Lean_declRangeExt; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10___rarg___closed__1; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__7; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__3; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__1; static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2___closed__2; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__8; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__3; lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___rarg(lean_object*); lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -66,39 +67,37 @@ lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDocString___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2; lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__5; lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_expandOptDocComment_x3f___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__1___closed__4; lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__9; lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop(lean_object*); lean_object* l_Lean_Elab_Term_elabLetRec___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__4; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_foldr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__1(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__4; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__8; static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__9; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__7; lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__4; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__4; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__1___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -106,37 +105,33 @@ static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__1; lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__2; lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__8; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__1; static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__8; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__9; lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandOptDocComment_x3f___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___closed__3; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__6; lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__2; lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___rarg___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* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___rarg___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_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed__const__1; lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__3; static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2___closed__3; lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -144,6 +139,7 @@ lean_object* lean_array_to_list(lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOptType(lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__5; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_docStringExt; extern lean_object* l_Lean_instInhabitedExpr; @@ -155,7 +151,9 @@ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Te lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__6; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___boxed__const__1; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__1___closed__4; @@ -164,9 +162,10 @@ lean_object* l_Lean_Elab_expandOptDocComment_x3f___at___private_Lean_Elab_LetRec lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___rarg(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_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); @@ -177,11 +176,13 @@ lean_object* l_Lean_addDocString___at___private_Lean_Elab_LetRec_0__Lean_Elab_Te lean_object* l_Lean_Syntax_getSepArgs(lean_object*); uint8_t l_Lean_isAttribute(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__3; lean_object* lean_environment_main_module(lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___closed__2; lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec(lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__1___closed__3; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__6; lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__3; @@ -189,62 +190,64 @@ static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__7; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__10; lean_object* l_Lean_Elab_Term_withDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__1___closed__2; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__10; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Elab_expandOptDocComment_x3f___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__1___closed__3; lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__1; -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object*); +lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__3; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20___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_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__5; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__2; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__7; -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__2___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__6; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatch(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatch___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: @@ -1281,59 +1284,6 @@ return x_24; } } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(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) { -_start: -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_7, 3); -x_12 = l_Lean_replaceRef(x_1, x_11); -lean_dec(x_11); -lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -return x_13; -} -else -{ -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_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -x_16 = lean_ctor_get(x_7, 2); -x_17 = lean_ctor_get(x_7, 3); -x_18 = lean_ctor_get(x_7, 4); -x_19 = lean_ctor_get(x_7, 5); -x_20 = lean_ctor_get(x_7, 6); -x_21 = lean_ctor_get(x_7, 7); -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_inc(x_14); -lean_dec(x_7); -x_22 = l_Lean_replaceRef(x_1, x_17); -lean_dec(x_17); -x_23 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_23, 1, x_15); -lean_ctor_set(x_23, 2, x_16); -lean_ctor_set(x_23, 3, x_22); -lean_ctor_set(x_23, 4, x_18); -lean_ctor_set(x_23, 5, x_19); -lean_ctor_set(x_23, 6, x_20); -lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); -lean_dec(x_23); -return x_24; -} -} -} lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18(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) { _start: { @@ -1454,6 +1404,435 @@ x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___priva return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__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; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__4(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; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(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) { +_start: +{ +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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 5); +lean_inc(x_14); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__2___boxed), 4, 1); +lean_closure_set(x_17, 0, x_12); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__3___boxed), 6, 3); +lean_closure_set(x_18, 0, x_12); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_14); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__4___boxed), 6, 3); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_14); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = x_20; +x_22 = lean_ctor_get(x_6, 3); +lean_inc(x_22); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_6, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 2); +lean_inc(x_27); +x_28 = lean_st_ref_get(x_7, x_25); +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_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_environment_main_module(x_12); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_24); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_27); +lean_ctor_set(x_33, 5, x_22); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_2(x_1, x_33, x_35); +if (lean_obj_tag(x_36) == 0) +{ +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_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_st_ref_take(x_7, x_30); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_41, 1); +lean_dec(x_44); +lean_ctor_set(x_41, 1, x_39); +x_45 = lean_st_ref_set(x_7, x_41, x_42); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_ctor_get(x_38, 1); +lean_inc(x_47); +lean_dec(x_38); +x_48 = l_List_reverse___rarg(x_47); +x_49 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_6); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_37); +return x_49; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +else +{ +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; +x_54 = lean_ctor_get(x_41, 0); +x_55 = lean_ctor_get(x_41, 2); +x_56 = lean_ctor_get(x_41, 3); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_41); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_39); +lean_ctor_set(x_57, 2, x_55); +lean_ctor_set(x_57, 3, x_56); +x_58 = lean_st_ref_set(x_7, x_57, x_42); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get(x_38, 1); +lean_inc(x_60); +lean_dec(x_38); +x_61 = l_List_reverse___rarg(x_60); +x_62 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_59); +lean_dec(x_6); +lean_dec(x_2); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_37); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_36, 0); +lean_inc(x_66); +lean_dec(x_36); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__17(x_67, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +lean_dec(x_67); +return x_71; +} +else +{ +lean_object* x_72; +lean_dec(x_6); +lean_dec(x_2); +x_72 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___rarg(x_30); +return x_72; +} +} +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20(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) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +return x_13; +} +else +{ +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_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +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_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -1561,40 +1940,6 @@ return x_27; } } } -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__3(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; lean_object* x_7; -x_5 = l_Lean_Environment_contains(x_1, x_2); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__4(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; -x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5(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; -x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} static lean_object* _init_l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__1() { _start: { @@ -1687,506 +2032,153 @@ return x_2; lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15(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) { _start: { -lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; 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_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_unsigned_to_nat(0u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_103 = lean_st_ref_get(x_7, x_8); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_ctor_get(x_104, 0); -lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_ctor_get(x_6, 4); -lean_inc(x_107); -x_108 = lean_ctor_get(x_6, 5); -lean_inc(x_108); -lean_inc(x_106); -x_109 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_109, 0, x_106); -lean_inc(x_107); -x_110 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_110, 0, x_107); -lean_inc(x_106); -x_111 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__3___boxed), 4, 1); -lean_closure_set(x_111, 0, x_106); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); -x_112 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__4___boxed), 6, 3); -lean_closure_set(x_112, 0, x_106); -lean_closure_set(x_112, 1, x_107); -lean_closure_set(x_112, 2, x_108); -lean_inc(x_106); -x_113 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5___boxed), 6, 3); -lean_closure_set(x_113, 0, x_106); -lean_closure_set(x_113, 1, x_107); -lean_closure_set(x_113, 2, x_108); -x_114 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_114, 0, x_109); -lean_ctor_set(x_114, 1, x_110); -lean_ctor_set(x_114, 2, x_111); -lean_ctor_set(x_114, 3, x_112); -lean_ctor_set(x_114, 4, x_113); -x_115 = x_114; -x_116 = lean_ctor_get(x_6, 3); -lean_inc(x_116); -x_117 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_105); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = lean_ctor_get(x_6, 1); -lean_inc(x_120); -x_121 = lean_ctor_get(x_6, 2); -lean_inc(x_121); -x_122 = lean_st_ref_get(x_7, x_119); -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = lean_environment_main_module(x_106); -x_127 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_127, 0, x_115); -lean_ctor_set(x_127, 1, x_126); -lean_ctor_set(x_127, 2, x_118); -lean_ctor_set(x_127, 3, x_120); -lean_ctor_set(x_127, 4, x_121); -lean_ctor_set(x_127, 5, x_116); -x_128 = lean_box(0); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_125); -lean_ctor_set(x_129, 1, x_128); -x_130 = l_Lean_Elab_toAttributeKind(x_10, x_127, x_129); -lean_dec(x_10); -if (lean_obj_tag(x_130) == 0) +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___boxed), 3, 1); +lean_closure_set(x_11, 0, x_10); +lean_inc(x_6); +lean_inc(x_2); +x_12 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_ctor_get(x_132, 0); -lean_inc(x_133); -x_134 = lean_st_ref_take(x_7, x_124); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = !lean_is_exclusive(x_135); -if (x_137 == 0) +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +x_17 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1); +lean_closure_set(x_17, 0, x_16); +lean_inc(x_6); +lean_inc(x_2); +x_18 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +if (lean_obj_tag(x_18) == 0) { -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; uint8_t x_145; -x_138 = lean_ctor_get(x_135, 1); -lean_dec(x_138); -lean_ctor_set(x_135, 1, x_133); -x_139 = lean_st_ref_set(x_7, x_135, x_136); -x_140 = lean_ctor_get(x_139, 1); -lean_inc(x_140); -lean_dec(x_139); -x_141 = lean_ctor_get(x_132, 1); -lean_inc(x_141); -lean_dec(x_132); -x_142 = l_List_reverse___rarg(x_141); -x_143 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_142, x_2, x_3, x_4, x_5, x_6, x_7, x_140); -x_144 = lean_ctor_get(x_143, 1); -lean_inc(x_144); -lean_dec(x_143); -x_145 = lean_unbox(x_131); -lean_dec(x_131); -x_11 = x_145; -x_12 = x_144; -goto block_102; -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; -x_146 = lean_ctor_get(x_135, 0); -x_147 = lean_ctor_get(x_135, 2); -x_148 = lean_ctor_get(x_135, 3); -lean_inc(x_148); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_135); -x_149 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_149, 0, x_146); -lean_ctor_set(x_149, 1, x_133); -lean_ctor_set(x_149, 2, x_147); -lean_ctor_set(x_149, 3, x_148); -x_150 = lean_st_ref_set(x_7, x_149, x_136); -x_151 = lean_ctor_get(x_150, 1); -lean_inc(x_151); -lean_dec(x_150); -x_152 = lean_ctor_get(x_132, 1); -lean_inc(x_152); -lean_dec(x_132); -x_153 = l_List_reverse___rarg(x_152); -x_154 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_153, x_2, x_3, x_4, x_5, x_6, x_7, x_151); -x_155 = lean_ctor_get(x_154, 1); -lean_inc(x_155); -lean_dec(x_154); -x_156 = lean_unbox(x_131); -lean_dec(x_131); -x_11 = x_156; -x_12 = x_155; -goto block_102; -} -} -else -{ -lean_object* x_157; -x_157 = lean_ctor_get(x_130, 0); -lean_inc(x_157); -lean_dec(x_130); -if (lean_obj_tag(x_157) == 0) -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_160, 0, x_159); -x_161 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_161, 0, x_160); -x_162 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__17(x_158, x_161, x_2, x_3, x_4, x_5, x_6, x_7, x_124); -lean_dec(x_158); -x_163 = !lean_is_exclusive(x_162); -if (x_163 == 0) -{ -return x_162; -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_162, 0); -x_165 = lean_ctor_get(x_162, 1); -lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_162); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -return x_166; -} -} -else -{ -lean_object* x_167; uint8_t x_168; -lean_dec(x_6); -lean_dec(x_2); -x_167 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___rarg(x_124); -x_168 = !lean_is_exclusive(x_167); -if (x_168 == 0) -{ -return x_167; -} -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_167, 0); -x_170 = lean_ctor_get(x_167, 1); -lean_inc(x_170); -lean_inc(x_169); -lean_dec(x_167); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -return x_171; -} -} -} -block_102: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 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; -x_13 = lean_unsigned_to_nat(1u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_35 = lean_st_ref_get(x_7, x_12); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_36, 0); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_ctor_get(x_6, 4); -lean_inc(x_39); -x_40 = lean_ctor_get(x_6, 5); -lean_inc(x_40); -lean_inc(x_38); -x_41 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_41, 0, x_38); -lean_inc(x_39); -x_42 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_42, 0, x_39); -lean_inc(x_38); -x_43 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__3___boxed), 4, 1); -lean_closure_set(x_43, 0, x_38); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -x_44 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__4___boxed), 6, 3); -lean_closure_set(x_44, 0, x_38); -lean_closure_set(x_44, 1, x_39); -lean_closure_set(x_44, 2, x_40); -lean_inc(x_38); -x_45 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5___boxed), 6, 3); -lean_closure_set(x_45, 0, x_38); -lean_closure_set(x_45, 1, x_39); -lean_closure_set(x_45, 2, x_40); -x_46 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_46, 0, x_41); -lean_ctor_set(x_46, 1, x_42); -lean_ctor_set(x_46, 2, x_43); -lean_ctor_set(x_46, 3, x_44); -lean_ctor_set(x_46, 4, x_45); -x_47 = x_46; -x_48 = lean_ctor_get(x_6, 3); -lean_inc(x_48); -x_49 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_37); -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); -x_52 = lean_ctor_get(x_6, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_6, 2); -lean_inc(x_53); -x_54 = lean_st_ref_get(x_7, x_51); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = lean_environment_main_module(x_38); -x_59 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_59, 0, x_47); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set(x_59, 2, x_50); -lean_ctor_set(x_59, 3, x_52); -lean_ctor_set(x_59, 4, x_53); -lean_ctor_set(x_59, 5, x_48); -x_60 = lean_box(0); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_57); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_expandMacros(x_14, x_59, x_61); -if (lean_obj_tag(x_62) == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_st_ref_take(x_7, x_56); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = !lean_is_exclusive(x_67); -if (x_69 == 0) -{ -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; -x_70 = lean_ctor_get(x_67, 1); -lean_dec(x_70); -lean_ctor_set(x_67, 1, x_65); -x_71 = lean_st_ref_set(x_7, x_67, x_68); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_ctor_get(x_64, 1); -lean_inc(x_73); -lean_dec(x_64); -x_74 = l_List_reverse___rarg(x_73); -x_75 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_74, x_2, x_3, x_4, x_5, x_6, x_7, x_72); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_15 = x_63; -x_16 = x_76; -goto block_34; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_77 = lean_ctor_get(x_67, 0); -x_78 = lean_ctor_get(x_67, 2); -x_79 = lean_ctor_get(x_67, 3); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_67); -x_80 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_80, 0, x_77); -lean_ctor_set(x_80, 1, x_65); -lean_ctor_set(x_80, 2, x_78); -lean_ctor_set(x_80, 3, x_79); -x_81 = lean_st_ref_set(x_7, x_80, x_68); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -x_83 = lean_ctor_get(x_64, 1); -lean_inc(x_83); -lean_dec(x_64); -x_84 = l_List_reverse___rarg(x_83); -x_85 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_84, x_2, x_3, x_4, x_5, x_6, x_7, x_82); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_15 = x_63; -x_16 = x_86; -goto block_34; -} -} -else -{ -lean_object* x_87; -x_87 = lean_ctor_get(x_62, 0); -lean_inc(x_87); -lean_dec(x_62); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_90, 0, x_89); -x_91 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_91, 0, x_90); -x_92 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_88, x_91, x_2, x_3, x_4, x_5, x_6, x_7, x_56); -lean_dec(x_88); -x_93 = !lean_is_exclusive(x_92); -if (x_93 == 0) -{ -return x_92; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_92, 0); -x_95 = lean_ctor_get(x_92, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_92); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; -} -} -else -{ -lean_object* x_97; uint8_t x_98; -lean_dec(x_6); -lean_dec(x_2); -x_97 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_56); -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) -{ -return x_97; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_97, 0); -x_100 = lean_ctor_get(x_97, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_97); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; -} -} -} -block_34: -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -lean_inc(x_15); -x_17 = l_Lean_Syntax_getKind(x_15); -x_18 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__8; -x_19 = lean_name_eq(x_17, x_18); -if (x_19 == 0) -{ -if (lean_obj_tag(x_17) == 1) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_17, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_box(0); -x_22 = lean_name_mk_string(x_21, x_20); -x_23 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2(x_11, x_15, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_18); +lean_inc(x_19); +x_21 = l_Lean_Syntax_getKind(x_19); +x_22 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__8; +x_23 = lean_name_eq(x_21, x_22); +if (x_23 == 0) +{ +if (lean_obj_tag(x_21) == 1) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_box(0); +x_26 = lean_name_mk_string(x_25, x_24); +x_27 = lean_unbox(x_13); +lean_dec(x_13); +x_28 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2(x_27, x_19, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_20); lean_dec(x_6); -return x_23; +return x_28; } else { -lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_17); -x_24 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__10; -x_25 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(x_15, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_16); -lean_dec(x_15); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +lean_object* x_29; lean_object* x_30; uint8_t x_31; +lean_dec(x_21); +lean_dec(x_13); +x_29 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__10; +x_30 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20(x_19, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_20); +lean_dec(x_19); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) { -return x_25; +return x_30; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_25); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_17); -x_30 = l_Lean_Syntax_getArg(x_15, x_9); -x_31 = l_Lean_Syntax_getId(x_30); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_inc(x_32); lean_dec(x_30); -x_32 = lean_erase_macro_scopes(x_31); -x_33 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2(x_11, x_15, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_16); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; +lean_dec(x_21); +x_35 = l_Lean_Syntax_getArg(x_19, x_9); +x_36 = l_Lean_Syntax_getId(x_35); +lean_dec(x_35); +x_37 = lean_erase_macro_scopes(x_36); +x_38 = lean_unbox(x_13); +lean_dec(x_13); +x_39 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__2(x_38, x_19, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_20); lean_dec(x_6); -return x_33; +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +x_40 = !lean_is_exclusive(x_18); +if (x_40 == 0) +{ +return x_18; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_18, 0); +x_42 = lean_ctor_get(x_18, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_18); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint8_t x_44; +lean_dec(x_6); +lean_dec(x_2); +x_44 = !lean_is_exclusive(x_12); +if (x_44 == 0) +{ +return x_12; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_12, 0); +x_46 = lean_ctor_get(x_12, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_12); +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_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20(lean_object* x_1, size_t x_2, size_t 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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21(lean_object* x_1, size_t x_2, size_t 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) { _start: { uint8_t x_12; @@ -2271,7 +2263,7 @@ x_10 = lean_usize_of_nat(x_9); lean_dec(x_9); x_11 = 0; x_12 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__14___closed__1; -x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20(x_1, x_10, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21(x_1, x_10, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_13) == 0) { uint8_t x_14; @@ -2331,7 +2323,7 @@ lean_dec(x_11); return x_12; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -2339,27 +2331,27 @@ x_1 = lean_mk_string("failed to infer 'let rec' declaration type"); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__1; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__3() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__2; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___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) { _start: { lean_object* x_10; @@ -2379,7 +2371,7 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__3; +x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__3; x_14 = l_Lean_Elab_Term_registerCustomErrorIfMVar(x_11, x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12); lean_dec(x_4); lean_dec(x_3); @@ -2484,7 +2476,7 @@ return x_35; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___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, 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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___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, 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) { _start: { lean_object* x_16; lean_object* x_17; @@ -2503,7 +2495,7 @@ lean_ctor_set(x_17, 1, x_15); return x_17; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -2511,17 +2503,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__4; -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__3() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__3() { _start: { lean_object* x_1; @@ -2529,17 +2521,17 @@ x_1 = lean_mk_string("letPatDecl"); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__4() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2; -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__3; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__2; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__5() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__5() { _start: { lean_object* x_1; @@ -2547,17 +2539,17 @@ x_1 = lean_mk_string("letIdDecl"); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__6() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2; -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__5; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__2; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__7() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__7() { _start: { lean_object* x_1; @@ -2565,17 +2557,17 @@ x_1 = lean_mk_string("letEqnsDecl"); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__8() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2; -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__7; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__2; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__9() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__9() { _start: { lean_object* x_1; @@ -2583,16 +2575,16 @@ x_1 = lean_mk_string("patterns are not allowed in 'let rec' expressions"); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__10() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__9; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__9; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -2601,24 +2593,24 @@ x_12 = l_Lean_Syntax_getArg(x_1, x_11); x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Syntax_getArg(x_12, x_13); lean_dec(x_12); -x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__4; +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__4; lean_inc(x_14); x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); if (x_16 == 0) { lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__6; +x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__6; lean_inc(x_14); x_18 = l_Lean_Syntax_isOfKind(x_14, x_17); if (x_18 == 0) { -lean_object* x_131; uint8_t x_132; -x_131 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__8; +lean_object* x_87; uint8_t x_88; +x_87 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__8; lean_inc(x_14); -x_132 = l_Lean_Syntax_isOfKind(x_14, x_131); -if (x_132 == 0) +x_88 = l_Lean_Syntax_isOfKind(x_14, x_87); +if (x_88 == 0) { -lean_object* x_133; +lean_object* x_89; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); @@ -2628,25 +2620,25 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_133 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10___rarg(x_10); -return x_133; +x_89 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10___rarg(x_10); +return x_89; } else { -lean_object* x_134; -x_134 = lean_box(0); -x_19 = x_134; -goto block_130; +lean_object* x_90; +x_90 = lean_box(0); +x_19 = x_90; +goto block_86; } } else { -lean_object* x_135; -x_135 = lean_box(0); -x_19 = x_135; -goto block_130; +lean_object* x_91; +x_91 = lean_box(0); +x_19 = x_91; +goto block_86; } -block_130: +block_86: { 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_dec(x_19); @@ -2660,21 +2652,21 @@ lean_inc(x_24); lean_dec(x_22); if (lean_obj_tag(x_23) == 0) { -lean_object* x_128; -x_128 = lean_box(0); -x_25 = x_128; -goto block_127; +lean_object* x_84; +x_84 = lean_box(0); +x_25 = x_84; +goto block_83; } else { -lean_object* x_129; -x_129 = lean_ctor_get(x_23, 0); -lean_inc(x_129); +lean_object* x_85; +x_85 = lean_ctor_get(x_23, 0); +lean_inc(x_85); lean_dec(x_23); -x_25 = x_129; -goto block_127; +x_25 = x_85; +goto block_83; } -block_127: +block_83: { lean_object* x_26; lean_object* x_27; lean_inc(x_21); @@ -2719,7 +2711,7 @@ lean_dec(x_37); x_39 = l_Lean_Syntax_getArg(x_14, x_11); x_40 = l_Lean_Elab_Term_expandOptType(x_14, x_39); lean_dec(x_39); -x_41 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1), 9, 1); +x_41 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1), 9, 1); lean_closure_set(x_41, 0, x_40); lean_inc(x_9); lean_inc(x_8); @@ -2750,7 +2742,7 @@ lean_inc(x_6); x_50 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_47, x_48, x_49, x_6, x_7, x_8, x_9, x_44); if (x_18 == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 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; uint8_t 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; uint8_t x_90; +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); @@ -2758,183 +2750,39 @@ lean_inc(x_52); lean_dec(x_50); x_53 = lean_unsigned_to_nat(3u); x_54 = l_Lean_Syntax_getArg(x_14, x_53); -x_55 = lean_st_ref_get(x_9, x_52); -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_ctor_get(x_56, 0); -lean_inc(x_58); -lean_dec(x_56); -x_59 = lean_ctor_get(x_8, 4); +x_55 = 0; +x_56 = lean_box(x_55); +lean_inc(x_14); +x_57 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandMatchAltsIntoMatch___boxed), 5, 3); +lean_closure_set(x_57, 0, x_14); +lean_closure_set(x_57, 1, x_54); +lean_closure_set(x_57, 2, x_56); +lean_inc(x_8); +lean_inc(x_4); +x_58 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_57, x_4, x_5, x_6, x_7, x_8, x_9, x_52); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_58, 0); lean_inc(x_59); -x_60 = lean_ctor_get(x_8, 5); +x_60 = lean_ctor_get(x_58, 1); lean_inc(x_60); -lean_inc(x_58); -x_61 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_61, 0, x_58); -lean_inc(x_59); -x_62 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_62, 0, x_59); -lean_inc(x_58); -x_63 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__3___boxed), 4, 1); -lean_closure_set(x_63, 0, x_58); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -x_64 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__4___boxed), 6, 3); -lean_closure_set(x_64, 0, x_58); -lean_closure_set(x_64, 1, x_59); -lean_closure_set(x_64, 2, x_60); -lean_inc(x_58); -x_65 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5___boxed), 6, 3); -lean_closure_set(x_65, 0, x_58); -lean_closure_set(x_65, 1, x_59); -lean_closure_set(x_65, 2, x_60); -x_66 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_66, 0, x_61); -lean_ctor_set(x_66, 1, x_62); -lean_ctor_set(x_66, 2, x_63); -lean_ctor_set(x_66, 3, x_64); -lean_ctor_set(x_66, 4, x_65); -x_67 = x_66; -x_68 = lean_ctor_get(x_8, 3); -lean_inc(x_68); -x_69 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_57); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_ctor_get(x_8, 1); -lean_inc(x_72); -x_73 = lean_ctor_get(x_8, 2); -lean_inc(x_73); -x_74 = lean_st_ref_get(x_9, x_71); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_environment_main_module(x_58); -x_79 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_79, 0, x_67); -lean_ctor_set(x_79, 1, x_78); -lean_ctor_set(x_79, 2, x_70); -lean_ctor_set(x_79, 3, x_72); -lean_ctor_set(x_79, 4, x_73); -lean_ctor_set(x_79, 5, x_68); -x_80 = lean_box(0); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_77); -lean_ctor_set(x_81, 1, x_80); -x_82 = 0; -x_83 = l_Lean_Elab_Term_expandMatchAltsIntoMatch(x_14, x_54, x_82, x_79, x_81); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_st_ref_take(x_9, x_76); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = !lean_is_exclusive(x_88); -if (x_90 == 0) -{ -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; -x_91 = lean_ctor_get(x_88, 1); -lean_dec(x_91); -lean_ctor_set(x_88, 1, x_86); -x_92 = lean_st_ref_set(x_9, x_88, x_89); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -x_94 = lean_ctor_get(x_85, 1); -lean_inc(x_94); -lean_dec(x_85); -x_95 = l_List_reverse___rarg(x_94); -x_96 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_95, x_4, x_5, x_6, x_7, x_8, x_9, x_93); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_98 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_51, x_84, x_4, x_5, x_6, x_7, x_8, x_9, x_97); +lean_dec(x_58); +x_61 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_51, x_59, x_4, x_5, x_6, x_7, x_8, x_9, x_60); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_98; +return x_61; } else { -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; -x_99 = lean_ctor_get(x_88, 0); -x_100 = lean_ctor_get(x_88, 2); -x_101 = lean_ctor_get(x_88, 3); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_88); -x_102 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_102, 0, x_99); -lean_ctor_set(x_102, 1, x_86); -lean_ctor_set(x_102, 2, x_100); -lean_ctor_set(x_102, 3, x_101); -x_103 = lean_st_ref_set(x_9, x_102, x_89); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -lean_dec(x_103); -x_105 = lean_ctor_get(x_85, 1); -lean_inc(x_105); -lean_dec(x_85); -x_106 = l_List_reverse___rarg(x_105); -x_107 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_106, x_4, x_5, x_6, x_7, x_8, x_9, x_104); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -lean_dec(x_107); -x_109 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_51, x_84, x_4, x_5, x_6, x_7, x_8, x_9, x_108); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_109; -} -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_110 = lean_ctor_get(x_50, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_50, 1); -lean_inc(x_111); -lean_dec(x_50); -x_112 = lean_unsigned_to_nat(4u); -x_113 = l_Lean_Syntax_getArg(x_14, x_112); -x_114 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_110, x_113, x_4, x_5, x_6, x_7, x_8, x_9, x_111); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_114; -} -} -else -{ -uint8_t x_115; +uint8_t x_62; +lean_dec(x_51); +lean_dec(x_46); +lean_dec(x_45); lean_dec(x_26); lean_dec(x_21); lean_dec(x_14); @@ -2945,29 +2793,82 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_115 = !lean_is_exclusive(x_42); -if (x_115 == 0) +x_62 = !lean_is_exclusive(x_58); +if (x_62 == 0) +{ +return x_58; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_58, 0); +x_64 = lean_ctor_get(x_58, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_58); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_66 = lean_ctor_get(x_50, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_50, 1); +lean_inc(x_67); +lean_dec(x_50); +x_68 = lean_unsigned_to_nat(4u); +x_69 = l_Lean_Syntax_getArg(x_14, x_68); +x_70 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_66, x_69, x_4, x_5, x_6, x_7, x_8, x_9, x_67); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_70; +} +} +else +{ +uint8_t x_71; +lean_dec(x_26); +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_71 = !lean_is_exclusive(x_42); +if (x_71 == 0) { return x_42; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_42, 0); -x_117 = lean_ctor_get(x_42, 1); -lean_inc(x_117); -lean_inc(x_116); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_42, 0); +x_73 = lean_ctor_get(x_42, 1); +lean_inc(x_73); +lean_inc(x_72); lean_dec(x_42); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -return x_118; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } else { -uint8_t x_119; +uint8_t x_75; lean_dec(x_26); lean_dec(x_21); lean_dec(x_20); @@ -2980,29 +2881,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_119 = !lean_is_exclusive(x_30); -if (x_119 == 0) +x_75 = !lean_is_exclusive(x_30); +if (x_75 == 0) { return x_30; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_120 = lean_ctor_get(x_30, 0); -x_121 = lean_ctor_get(x_30, 1); -lean_inc(x_121); -lean_inc(x_120); +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_30, 0); +x_77 = lean_ctor_get(x_30, 1); +lean_inc(x_77); +lean_inc(x_76); lean_dec(x_30); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_120); -lean_ctor_set(x_122, 1, x_121); -return x_122; +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; } } } else { -uint8_t x_123; +uint8_t x_79; lean_dec(x_26); lean_dec(x_21); lean_dec(x_20); @@ -3015,23 +2916,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_123 = !lean_is_exclusive(x_27); -if (x_123 == 0) +x_79 = !lean_is_exclusive(x_27); +if (x_79 == 0) { return x_27; } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_27, 0); -x_125 = lean_ctor_get(x_27, 1); -lean_inc(x_125); -lean_inc(x_124); +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_27, 0); +x_81 = lean_ctor_get(x_27, 1); +lean_inc(x_81); +lean_inc(x_80); lean_dec(x_27); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); -return x_126; +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; } } } @@ -3039,21 +2940,21 @@ return x_126; } else { -lean_object* x_136; lean_object* x_137; +lean_object* x_92; lean_object* x_93; lean_dec(x_3); lean_dec(x_2); -x_136 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__10; -x_137 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__11(x_14, x_136, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_92 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__10; +x_93 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__11(x_14, x_92, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_14); -return x_137; +return x_93; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21(size_t x_1, size_t 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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22(size_t x_1, size_t 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) { _start: { uint8_t x_11; @@ -3119,7 +3020,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3(x_17, x_20, x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_28); +x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3(x_17, x_20, x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_28); lean_dec(x_17); if (lean_obj_tag(x_29) == 0) { @@ -3211,7 +3112,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_46 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3(x_17, x_20, x_45, x_4, x_5, x_6, x_7, x_8, x_9, x_21); +x_46 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3(x_17, x_20, x_45, x_4, x_5, x_6, x_7, x_8, x_9, x_21); lean_dec(x_17); if (lean_obj_tag(x_46) == 0) { @@ -3320,7 +3221,7 @@ lean_dec(x_14); x_16 = x_13; x_17 = lean_box_usize(x_15); x_18 = l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed__const__1; -x_19 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___boxed), 10, 3); +x_19 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___boxed), 10, 3); lean_closure_set(x_19, 0, x_17); lean_closure_set(x_19, 1, x_18); lean_closure_set(x_19, 2, x_16); @@ -3578,19 +3479,6 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_10; -} -} lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18___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) { _start: { @@ -3631,6 +3519,72 @@ lean_dec(x_1); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___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_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__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_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__4___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_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___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) { _start: { @@ -3663,38 +3617,6 @@ lean_dec(x_5); return x_12; } } -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__3___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_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__4___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_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5___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_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; -} -} lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___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) { _start: { @@ -3708,7 +3630,7 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20___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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___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) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -3716,7 +3638,7 @@ x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__20(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -3751,11 +3673,11 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___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, 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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___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, 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) { _start: { lean_object* x_16; -x_16 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_16 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -3765,16 +3687,16 @@ lean_dec(x_9); return x_16; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_11; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___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) { _start: { size_t x_11; size_t x_12; lean_object* x_13; @@ -3782,7 +3704,7 @@ x_11 = lean_unbox_usize(x_1); lean_dec(x_1); x_12 = lean_unbox_usize(x_2); lean_dec(x_2); -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } @@ -4868,7 +4790,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__2; x_2 = l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -4897,7 +4819,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__4; -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -5029,32 +4951,32 @@ l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecD lean_mark_persistent(l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__10); l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__14___closed__1 = _init_l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__14___closed__1(); lean_mark_persistent(l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__14___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__2); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__1___closed__3); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__2); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__3); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__4 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__4(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__4); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__5 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__5(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__5); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__6 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__6(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__6); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__7 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__7(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__7); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__8 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__8(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__8); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__9 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__9(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__9); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__10 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__10(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___lambda__3___closed__10); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__1___closed__3); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__3); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__4 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__4); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__5 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__5); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__6 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__6); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__7 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__7); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__8 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__8(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__8); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__9 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__9(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__9); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__10 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__10(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__10); l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed__const__1 = _init_l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed__const__1); l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___boxed__const__1 = _init_l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___boxed__const__1(); diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index baaeb53b31..4ff6c81402 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -39,7 +39,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_withDepElimPatterns__ lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1(lean_object*); -lean_object* l_Lean_Elab_Term_getPatternVars___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_precheckMatch___closed__3; uint8_t l_Lean_Expr_isCharLit(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__3; @@ -47,7 +46,6 @@ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isNatLit(lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__3; @@ -56,6 +54,7 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux__ lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__6; lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6; lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Term_elabDoubleQuotedName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -63,6 +62,7 @@ lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_matc static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkSort(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); @@ -71,7 +71,6 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefin lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__27; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterMapM___at_Lean_Elab_Term_getPatternVarNames___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__1; @@ -84,7 +83,6 @@ lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l_Lean_Elab_Term_elabMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__17; extern lean_object* l_Lean_nullKind; -lean_object* l_Lean_Elab_Term_getPatternVars___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__30; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -108,6 +106,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_El static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateMatchType___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___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_mapMUnsafe_map___at_Lean_expandMacros___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -115,6 +114,7 @@ lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_commitIfNoErrors_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_precheckParen___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNoMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBTree_toList___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__2(lean_object*); lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_precheckMatch___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__6; @@ -167,7 +167,6 @@ size_t l_USize_sub(size_t, size_t); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___rarg___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__10; lean_object* lean_environment_find(lean_object*, lean_object*); -static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheckIdent___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Term_elabTermAndSynthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -175,8 +174,8 @@ uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_CollectPatternVars_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8; +static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__7; -lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -189,6 +188,7 @@ lean_object* l_Lean_LocalContext_get_x21(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__5(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f_go_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -201,10 +201,10 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_markAsVisited___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__1___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch_match__2___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___rarg___closed__1; lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___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* l_List_mapM___at_Lean_Elab_Term_ToDepElimPattern_main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__10___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__27; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_eraseIndices___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -217,8 +217,10 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMa static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__5; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_precheckMatch___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__10(lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_split___rarg(lean_object*, lean_object*); @@ -233,6 +235,7 @@ static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__13; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__5___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*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__2; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___closed__2; +lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); @@ -269,8 +272,10 @@ uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isDone( static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__7; lean_object* l_Lean_Elab_Term_throwMVarError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern(lean_object*); static lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault___closed__2; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(size_t, size_t, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__4; lean_object* l_Lean_Elab_Term_precheckMatch_match__6___rarg(lean_object*, lean_object*, lean_object*); @@ -278,12 +283,11 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(si lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); uint8_t l_Array_qsort_sort___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__6___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___closed__1; -static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__1; lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_precheckMatch___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_replaceFVars(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1___closed__4; @@ -298,6 +302,7 @@ lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__1___ra lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__4; extern lean_object* l_Lean_levelZero; static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__4; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -306,7 +311,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_fi lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_isAtomicDiscr_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_match__1(lean_object*); lean_object* l_Lean_Elab_Term_getPatternsVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___rarg___closed__2; lean_object* l_Lean_Elab_Term_instToStringPatternVar_match__1(lean_object*); @@ -314,7 +318,6 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lea static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__31; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch___lambda__1(lean_object*, lean_object*); -lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch(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_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -322,6 +325,8 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f(lean_ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars_match__1(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___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*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__8; lean_object* l_Array_zip___rarg(lean_object*, lean_object*); @@ -335,6 +340,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_upd lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg_match__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__23; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3___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_Lean_Elab_Term_precheckMatch_match__3(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); @@ -351,6 +357,7 @@ lean_object* l_List_map___at_Lean_Elab_Term_CollectPatternVars_collect_processEx lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__21; lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getDiscrs(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -360,19 +367,17 @@ lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg(uint8_t, lea static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__12; lean_object* l_Lean_Syntax_SepArray_getElems___rarg(lean_object*); lean_object* l_Lean_Elab_Term_withDepElimPatterns___rarg___boxed__const__1; -static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__4; lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___closed__1; -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_value(lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__26; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); -lean_object* l_Lean_Elab_Term_getPatternVars___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop_match__1(lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__3___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*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; @@ -387,32 +392,30 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPa static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___closed__2; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__15; -lean_object* l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_isAtomicIdent(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop_match__1(lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__5; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___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*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__5; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___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*); extern lean_object* l_Lean_numLitKind; lean_object* l_Lean_Elab_Term_CollectPatternVars_Context_newArgs___default; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__14; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -444,7 +447,6 @@ lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_ lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__5(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_State_found___default; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__5; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__7___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_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2(lean_object*); @@ -464,9 +466,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__ lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns_match__2(lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___closed__4; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -494,17 +494,16 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f_match lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern_match__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_match__1(lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__19; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__3; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop_match__2(lean_object*); lean_object* l_Lean_Expr_isFVar___boxed(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getDiscrs___boxed(lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch_match__5___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___rarg(lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__11; lean_object* l_Nat_repr(lean_object*); @@ -520,7 +519,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux_match__2 lean_object* l_Array_filterMapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabNoMatch___closed__2; lean_object* lean_st_mk_ref(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__3; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__4; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -542,7 +540,6 @@ lean_object* l_Lean_Elab_Term_withDepElimPatterns_match__1___rarg(lean_object*, static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__6; uint8_t l_Array_contains___at_Lean_findField_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__4; @@ -566,6 +563,7 @@ lean_object* l_Lean_Meta_Match_mkInaccessible(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__17; +lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__6; static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__32; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch___closed__1; @@ -573,14 +571,15 @@ static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__10; lean_object* l_Lean_Elab_Term_precheckMatch_match__4___rarg(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_getPatternVarNames___spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1(size_t, size_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_alreadyVisited(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveId_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg_match__1(lean_object*); @@ -598,15 +597,13 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscr static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19; static lean_object* l_Lean_Elab_Term_precheckMatch___lambda__1___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__2; lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux_match__1___rarg(lean_object*, lean_object*); lean_object* l_Array_unzip___rarg(lean_object*); -lean_object* l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4; +static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_ToDepElimPattern_State_found___default; uint8_t l_Lean_Expr_isConst(lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); @@ -620,6 +617,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_pr lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___lambda__1___boxed__const__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___rarg___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__4; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_addWildcardPatterns___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMatch_elabMatchDefault___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_addWildcardPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -642,6 +640,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_pr static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__24; lean_object* l_Lean_mkFVar(lean_object*); uint8_t l_List_elem___at_Lean_Occurrences_contains___spec__1(lean_object*, lean_object*); +lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__4; lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMVarSyntaxMVarId___boxed(lean_object*); @@ -654,6 +653,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize_match__1(l static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__7; +static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11; extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_Elab_Term_precheckMatch_match__4(lean_object*); @@ -669,10 +669,15 @@ lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec_ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedTypeAndDiscrs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_alreadyVisited___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___closed__1; +lean_object* l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__2; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__31; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___rarg(lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_eraseIndices(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -687,13 +692,14 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPa lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__2; +lean_object* l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabMatch___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__1; extern lean_object* l_Lean_Elab_Term_termElabAttribute; lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_precheckMatch___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__4; static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279____closed__2; +lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___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*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; @@ -702,14 +708,16 @@ lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__3; lean_object* l_Lean_LocalDecl_type(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2(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_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isMissing(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__1; extern uint8_t l_Lean_instInhabitedBinderInfo; lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -721,20 +729,22 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__7; static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___closed__5; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_isNextArgAccessible_match__1(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instToStringPatternVar_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_isAtomicDiscr_x3f___spec__1___rarg(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__2(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_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterMapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_State_newLocals___default; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___closed__1; lean_object* l_Lean_Elab_Term_elabMVarWithIdKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_getPatternVars___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_withDepElimPatterns___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType_match__2(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -774,8 +784,8 @@ lean_object* lean_environment_main_module(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__16; uint8_t lean_expr_eqv(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__1; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); @@ -789,9 +799,9 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch___closed__3; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__20; lean_object* l_Lean_Elab_Term_elabInaccessible___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_main___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -800,8 +810,8 @@ lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_obj lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__10; lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__3; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__5; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -829,7 +839,6 @@ uint8_t l_Lean_LocalDecl_hasExprMVar(lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___closed__8; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -853,13 +862,13 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGenera lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___lambda__1(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__6; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch___closed__1; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__2(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_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___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* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___spec__1(size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType_match__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize_match__3(lean_object*); @@ -875,6 +884,7 @@ lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_isAtomicDiscr_x3f___closed__3; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__3; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr_match__1(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__13; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -882,9 +892,9 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___r lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__22; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__13; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg(lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9___boxed(lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3(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*); @@ -893,7 +903,6 @@ lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_containsFVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_precheckMatch(lean_object*); -lean_object* l_Lean_Elab_Term_getPatternVars___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___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*); extern lean_object* l_Lean_instInhabitedName; @@ -901,6 +910,7 @@ lean_object* l_Lean_Elab_Term_CollectPatternVars_Context_paramDeclIdx___default; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__6(size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS_match__1___rarg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); @@ -913,13 +923,13 @@ lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, l static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__29; static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___closed__2; lean_object* l_Std_RBTree_toList___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__2___boxed(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_arrayLit_x3f(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_precheckMatch___closed__3; extern lean_object* l_Lean_Elab_Term_instInhabitedNamedArg; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__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* l_Lean_Elab_Term_getPatternVarNames_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNameLit_x3f(lean_object*); -lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___spec__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* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1___rarg(lean_object*, lean_object*); @@ -930,7 +940,6 @@ lean_object* l_Lean_Elab_Term_precheckMatch_match__6(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_ToDepElimPattern_main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___closed__2; uint8_t l_Lean_Expr_isStringLit(lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -939,7 +948,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_upd static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__5; static lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_isAtomicDiscr_x3f___spec__1___rarg___closed__1; lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__3; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -953,6 +961,7 @@ lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView_match__1(lean_object*); lean_object* l_Lean_Elab_Term_getPatternVarNames___boxed(lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_isAtomicDiscr_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__5(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__7; @@ -961,7 +970,6 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPattern static lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__4; uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_containsFVar(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___closed__2; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5___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*); @@ -969,7 +977,6 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPattern lean_object* l_Std_fmt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__1(lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__32; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object*); lean_object* l_Lean_Meta_mkFreshTypeMVar(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__11; @@ -986,8 +993,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscr lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId_match__1(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___rarg(lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1007,13 +1012,13 @@ lean_object* l_Lean_Elab_Term_mkMatcher___boxed(lean_object*, lean_object*, lean lean_object* l_Lean_Elab_Term_finalizePatternDecls_match__1(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__19; lean_object* l_Lean_Expr_getAppFn(lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedMatchAltView; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars(lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop_match__3___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__2; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6; lean_object* l_Lean_Elab_Term_withDepElimPatterns_match__1(lean_object*); @@ -1032,11 +1037,13 @@ uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__4; lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___lambda__1___boxed__const__1; lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg(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_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppCore_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_match_ignoreUnusedAlts; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__4; lean_object* l_Lean_throwError___at_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1062,25 +1069,26 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPattern static lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1; lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__3(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_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__5___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__6___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__18; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVarWithId(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_precheckMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDepElimPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__4(size_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_kabstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_mkBinding___spec__1(size_t, size_t, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_13306_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_13318_(lean_object*); lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_2279_(lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1095,6 +1103,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__4; lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__14; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg___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*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__28; lean_object* l_List_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__2(lean_object*); @@ -1102,7 +1111,6 @@ lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1; -lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getPatternsVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__30; @@ -1128,7 +1136,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___spec__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* l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_main___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1137,12 +1144,10 @@ static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__2; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__9; lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2___boxed(lean_object*); lean_object* l_Lean_Elab_Term_precheckMatch___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___closed__1; -lean_object* l_Lean_Elab_Term_getPatternVars___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___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* l_Lean_Elab_Term_CollectPatternVars_collect_pushNewArg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1522,7 +1527,7 @@ x_49 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_ lean_closure_set(x_49, 0, x_1); lean_closure_set(x_49, 1, x_48); lean_closure_set(x_49, 2, x_5); -x_50 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_48, x_49, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +x_50 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_48, x_49, x_6, x_7, x_8, x_9, x_10, x_11, x_19); return x_50; } } @@ -7673,7 +7678,7 @@ _start: { lean_object* x_8; lean_object* x_9; x_8 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__1___closed__2; -x_9 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__4(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_9; } } @@ -17089,379 +17094,132 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVars_match__1___rarg return x_2; } } -lean_object* l_Lean_Elab_Term_getPatternVars___lambda__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; lean_object* x_7; -x_5 = l_Lean_Environment_contains(x_1, x_2); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_getPatternVars___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; -x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_Term_getPatternVars___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) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} lean_object* l_Lean_Elab_Term_getPatternVars(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) { _start: { -lean_object* x_9; lean_object* x_10; 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; -x_34 = lean_st_ref_get(x_7, x_8); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_6, 4); -lean_inc(x_38); -x_39 = lean_ctor_get(x_6, 5); -lean_inc(x_39); -lean_inc(x_37); -x_40 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_40, 0, x_37); -lean_inc(x_38); -x_41 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_41, 0, x_38); -lean_inc(x_37); -x_42 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVars___lambda__1___boxed), 4, 1); -lean_closure_set(x_42, 0, x_37); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -x_43 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVars___lambda__2___boxed), 6, 3); -lean_closure_set(x_43, 0, x_37); -lean_closure_set(x_43, 1, x_38); -lean_closure_set(x_43, 2, x_39); -lean_inc(x_37); -x_44 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVars___lambda__3___boxed), 6, 3); -lean_closure_set(x_44, 0, x_37); -lean_closure_set(x_44, 1, x_38); -lean_closure_set(x_44, 2, x_39); -x_45 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_45, 0, x_40); -lean_ctor_set(x_45, 1, x_41); -lean_ctor_set(x_45, 2, x_42); -lean_ctor_set(x_45, 3, x_43); -lean_ctor_set(x_45, 4, x_44); -x_46 = x_45; -x_47 = lean_ctor_get(x_6, 3); -lean_inc(x_47); -x_48 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_36); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_ctor_get(x_6, 1); -lean_inc(x_51); -x_52 = lean_ctor_get(x_6, 2); -lean_inc(x_52); -x_53 = lean_st_ref_get(x_7, x_50); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_environment_main_module(x_37); -x_58 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_58, 0, x_46); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_58, 2, x_49); -lean_ctor_set(x_58, 3, x_51); -lean_ctor_set(x_58, 4, x_52); -lean_ctor_set(x_58, 5, x_47); -x_59 = lean_box(0); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_56); -lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_expandMacros(x_1, x_58, x_60); -if (lean_obj_tag(x_61) == 0) +lean_object* x_9; lean_object* x_10; +x_9 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1); +lean_closure_set(x_9, 0, x_1); +lean_inc(x_6); +lean_inc(x_2); +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_st_ref_take(x_7, x_55); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = !lean_is_exclusive(x_66); -if (x_68 == 0) +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; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_st_ref_get(x_7, x_12); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1; +x_16 = lean_st_mk_ref(x_15, x_14); +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_7); +lean_inc(x_17); +x_19 = l_Lean_Elab_Term_CollectPatternVars_collect(x_11, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_18); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_69 = lean_ctor_get(x_66, 1); -lean_dec(x_69); -lean_ctor_set(x_66, 1, x_64); -x_70 = lean_st_ref_set(x_7, x_66, x_67); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_ctor_get(x_63, 1); -lean_inc(x_72); -lean_dec(x_63); -x_73 = l_List_reverse___rarg(x_72); -x_74 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_73, x_2, x_3, x_4, x_5, x_6, x_7, x_71); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_9 = x_62; -x_10 = x_75; -goto block_33; -} -else -{ -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; -x_76 = lean_ctor_get(x_66, 0); -x_77 = lean_ctor_get(x_66, 2); -x_78 = lean_ctor_get(x_66, 3); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_66); -x_79 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_79, 0, x_76); -lean_ctor_set(x_79, 1, x_64); -lean_ctor_set(x_79, 2, x_77); -lean_ctor_set(x_79, 3, x_78); -x_80 = lean_st_ref_set(x_7, x_79, x_67); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = lean_ctor_get(x_63, 1); -lean_inc(x_82); -lean_dec(x_63); -x_83 = l_List_reverse___rarg(x_82); -x_84 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_83, x_2, x_3, x_4, x_5, x_6, x_7, x_81); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_9 = x_62; -x_10 = x_85; -goto block_33; -} -} -else -{ -lean_object* x_86; -x_86 = lean_ctor_get(x_61, 0); -lean_inc(x_86); -lean_dec(x_61); -if (lean_obj_tag(x_86) == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_90 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_90, 0, x_89); -x_91 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_87, x_90, x_2, x_3, x_4, x_5, x_6, x_7, x_55); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_st_ref_get(x_7, x_20); lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_87); -x_92 = !lean_is_exclusive(x_91); -if (x_92 == 0) +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_st_ref_get(x_17, x_22); +lean_dec(x_17); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) { -return x_91; +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +lean_ctor_set(x_23, 0, x_26); +return x_23; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_91, 0); -x_94 = lean_ctor_get(x_91, 1); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_91); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -return x_95; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_23, 0); +x_28 = lean_ctor_get(x_23, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_23); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; } } else { -lean_object* x_96; uint8_t x_97; +uint8_t x_31; +lean_dec(x_17); +lean_dec(x_7); +x_31 = !lean_is_exclusive(x_19); +if (x_31 == 0) +{ +return x_19; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_19, 0); +x_33 = lean_ctor_get(x_19, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_19); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_96 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_55); -x_97 = !lean_is_exclusive(x_96); -if (x_97 == 0) +x_35 = !lean_is_exclusive(x_10); +if (x_35 == 0) { -return x_96; +return x_10; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_96, 0); -x_99 = lean_ctor_get(x_96, 1); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_96); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -return x_100; +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_10, 0); +x_37 = lean_ctor_get(x_10, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_10); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } -block_33: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_11 = lean_st_ref_get(x_7, x_10); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1; -x_14 = lean_st_mk_ref(x_13, x_12); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -lean_inc(x_7); -lean_inc(x_15); -x_17 = l_Lean_Elab_Term_CollectPatternVars_collect(x_9, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_16); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_st_ref_get(x_7, x_18); -lean_dec(x_7); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_st_ref_get(x_15, x_20); -lean_dec(x_15); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -lean_ctor_set(x_21, 0, x_24); -return x_21; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = lean_ctor_get(x_21, 0); -x_26 = lean_ctor_get(x_21, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_21); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -return x_28; -} -} -else -{ -uint8_t x_29; -lean_dec(x_15); -lean_dec(x_7); -x_29 = !lean_is_exclusive(x_17); -if (x_29 == 0) -{ -return x_17; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_17, 0); -x_31 = lean_ctor_get(x_17, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_17); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -} -} -} -lean_object* l_Lean_Elab_Term_getPatternVars___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_Elab_Term_getPatternVars___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_getPatternVars___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_Lean_Elab_Term_getPatternVars___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_getPatternVars___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_Term_getPatternVars___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; -} } lean_object* l_Lean_Elab_Term_getPatternsVars_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: @@ -17484,7 +17242,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternsVars_match__1___rar return x_2; } } -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__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* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -17705,7 +17463,7 @@ return x_83; } } } -lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_1) == 0) @@ -17784,7 +17542,7 @@ x_29 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_29, 0, x_15); x_30 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_30, 0, x_29); -x_31 = l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__1(x_14, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28); +x_31 = l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__2(x_14, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28); x_32 = lean_ctor_get(x_31, 1); lean_inc(x_32); lean_dec(x_31); @@ -17796,7 +17554,7 @@ goto _start; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__4(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) { _start: { uint8_t x_11; @@ -17849,7 +17607,7 @@ return x_25; } } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -17861,26 +17619,399 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___rarg), 1, 0); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg), 1, 0); return x_8; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__5(lean_object* x_1, size_t x_2, size_t 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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__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; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4(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; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__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) { +_start: +{ +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_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 4); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 5); +lean_inc(x_15); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_13); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_18, 0, x_13); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_19, 0, x_13); +lean_closure_set(x_19, 1, x_14); +lean_closure_set(x_19, 2, x_15); +lean_inc(x_13); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_20, 0, x_13); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_15); +x_21 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_17); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_19); +lean_ctor_set(x_21, 4, x_20); +x_22 = x_21; +x_23 = lean_ctor_get(x_7, 3); +lean_inc(x_23); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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_ctor_get(x_7, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_7, 2); +lean_inc(x_28); +x_29 = lean_st_ref_get(x_8, x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_environment_main_module(x_13); +x_34 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_25); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_23); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_apply_2(x_1, x_34, x_36); +if (lean_obj_tag(x_37) == 0) +{ +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; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_st_ref_take(x_8, x_31); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = !lean_is_exclusive(x_42); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_45 = lean_ctor_get(x_42, 1); +lean_dec(x_45); +lean_ctor_set(x_42, 1, x_40); +x_46 = lean_st_ref_set(x_8, x_42, x_43); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_ctor_get(x_39, 1); +lean_inc(x_48); +lean_dec(x_39); +x_49 = l_List_reverse___rarg(x_48); +x_50 = l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_47); +lean_dec(x_7); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) +{ +lean_object* x_52; +x_52 = lean_ctor_get(x_50, 0); +lean_dec(x_52); +lean_ctor_set(x_50, 0, x_38); +return x_50; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_38); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +else +{ +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; +x_55 = lean_ctor_get(x_42, 0); +x_56 = lean_ctor_get(x_42, 2); +x_57 = lean_ctor_get(x_42, 3); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_42); +x_58 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_58, 0, x_55); +lean_ctor_set(x_58, 1, x_40); +lean_ctor_set(x_58, 2, x_56); +lean_ctor_set(x_58, 3, x_57); +x_59 = lean_st_ref_set(x_8, x_58, x_43); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_61 = lean_ctor_get(x_39, 1); +lean_inc(x_61); +lean_dec(x_39); +x_62 = l_List_reverse___rarg(x_61); +x_63 = l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_60); +lean_dec(x_7); +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_65 = x_63; +} else { + lean_dec_ref(x_63); + x_65 = lean_box(0); +} +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(0, 2, 0); +} else { + x_66 = x_65; +} +lean_ctor_set(x_66, 0, x_38); +lean_ctor_set(x_66, 1, x_64); +return x_66; +} +} +else +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_37, 0); +lean_inc(x_67); +lean_dec(x_37); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__4(x_68, x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_68); +return x_72; +} +else +{ +lean_object* x_73; +lean_dec(x_7); +x_73 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg(x_31); +return x_73; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6(lean_object* x_1, size_t x_2, size_t 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: { uint8_t x_13; @@ -17902,234 +18033,21 @@ return x_14; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; 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_15; lean_object* x_16; lean_object* x_17; lean_dec(x_4); x_15 = lean_array_uget(x_1, x_3); -x_29 = lean_st_ref_get(x_11, x_12); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_30, 0); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_ctor_get(x_10, 4); -lean_inc(x_33); -x_34 = lean_ctor_get(x_10, 5); -lean_inc(x_34); -lean_inc(x_32); -x_35 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_35, 0, x_32); -lean_inc(x_33); -x_36 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_36, 0, x_33); -lean_inc(x_32); -x_37 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVars___lambda__1___boxed), 4, 1); -lean_closure_set(x_37, 0, x_32); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -x_38 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVars___lambda__2___boxed), 6, 3); -lean_closure_set(x_38, 0, x_32); -lean_closure_set(x_38, 1, x_33); -lean_closure_set(x_38, 2, x_34); -lean_inc(x_32); -x_39 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVars___lambda__3___boxed), 6, 3); -lean_closure_set(x_39, 0, x_32); -lean_closure_set(x_39, 1, x_33); -lean_closure_set(x_39, 2, x_34); -x_40 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_40, 0, x_35); -lean_ctor_set(x_40, 1, x_36); -lean_ctor_set(x_40, 2, x_37); -lean_ctor_set(x_40, 3, x_38); -lean_ctor_set(x_40, 4, x_39); -x_41 = x_40; -x_42 = lean_ctor_get(x_10, 3); -lean_inc(x_42); -x_43 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_31); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_ctor_get(x_10, 1); -lean_inc(x_46); -x_47 = lean_ctor_get(x_10, 2); -lean_inc(x_47); -x_48 = lean_st_ref_get(x_11, x_45); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_environment_main_module(x_32); -x_53 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_53, 0, x_41); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_53, 2, x_44); -lean_ctor_set(x_53, 3, x_46); -lean_ctor_set(x_53, 4, x_47); -lean_ctor_set(x_53, 5, x_42); -x_54 = lean_box(0); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_51); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_expandMacros(x_15, x_53, x_55); -if (lean_obj_tag(x_56) == 0) +x_16 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1); +lean_closure_set(x_16, 0, x_15); +lean_inc(x_10); +x_17 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_st_ref_take(x_11, x_50); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = !lean_is_exclusive(x_61); -if (x_63 == 0) -{ -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; -x_64 = lean_ctor_get(x_61, 1); -lean_dec(x_64); -lean_ctor_set(x_61, 1, x_59); -x_65 = lean_st_ref_set(x_11, x_61, x_62); -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_ctor_get(x_58, 1); -lean_inc(x_67); -lean_dec(x_58); -x_68 = l_List_reverse___rarg(x_67); -x_69 = l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__2(x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_66); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_16 = x_57; -x_17 = x_70; -goto block_28; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_71 = lean_ctor_get(x_61, 0); -x_72 = lean_ctor_get(x_61, 2); -x_73 = lean_ctor_get(x_61, 3); -lean_inc(x_73); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_61); -x_74 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_74, 0, x_71); -lean_ctor_set(x_74, 1, x_59); -lean_ctor_set(x_74, 2, x_72); -lean_ctor_set(x_74, 3, x_73); -x_75 = lean_st_ref_set(x_11, x_74, x_62); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_77 = lean_ctor_get(x_58, 1); -lean_inc(x_77); -lean_dec(x_58); -x_78 = l_List_reverse___rarg(x_77); -x_79 = l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__2(x_78, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_76); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_16 = x_57; -x_17 = x_80; -goto block_28; -} -} -else -{ -lean_object* x_81; -x_81 = lean_ctor_get(x_56, 0); -lean_inc(x_81); -lean_dec(x_56); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_84, 0, x_83); -x_85 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_85, 0, x_84); -x_86 = l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__3(x_82, x_85, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_50); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_82); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) -{ -return x_86; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_86, 0); -x_89 = lean_ctor_get(x_86, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_86); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; -} -} -else -{ -lean_object* x_91; uint8_t x_92; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_91 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___rarg(x_50); -x_92 = !lean_is_exclusive(x_91); -if (x_92 == 0) -{ -return x_91; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_91, 0); -x_94 = lean_ctor_get(x_91, 1); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_91); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -return x_95; -} -} -} -block_28: -{ -lean_object* x_18; +lean_object* x_18; lean_object* x_19; lean_object* x_20; +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); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -18137,24 +18055,24 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_18 = l_Lean_Elab_Term_CollectPatternVars_collect(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_18) == 0) +x_20 = l_Lean_Elab_Term_CollectPatternVars_collect(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = 1; -x_21 = x_3 + x_20; -x_22 = lean_box(0); -x_3 = x_21; -x_4 = x_22; -x_12 = x_19; +lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = 1; +x_23 = x_3 + x_22; +x_24 = lean_box(0); +x_3 = x_23; +x_4 = x_24; +x_12 = x_21; goto _start; } else { -uint8_t x_24; +uint8_t x_26; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -18162,26 +18080,55 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_24 = !lean_is_exclusive(x_18); -if (x_24 == 0) +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) { -return x_18; +return x_20; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_18, 0); -x_26 = lean_ctor_get(x_18, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_18); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_20, 0); +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_20); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } +else +{ +uint8_t x_30; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_30 = !lean_is_exclusive(x_17); +if (x_30 == 0) +{ +return x_17; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_17); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} } } } @@ -18207,7 +18154,7 @@ lean_dec(x_15); x_18 = lean_box(0); lean_inc(x_7); lean_inc(x_16); -x_19 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__5(x_1, x_10, x_11, x_18, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_17); +x_19 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6(x_1, x_10, x_11, x_18, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_17); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; @@ -18275,11 +18222,11 @@ return x_34; } } } -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__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* l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_addTrace___at_Lean_Elab_Term_getPatternsVars___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -18290,11 +18237,11 @@ lean_dec(x_3); return x_11; } } -lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_List_forM___at_Lean_Elab_Term_getPatternsVars___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -18305,11 +18252,11 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -18320,11 +18267,11 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -18335,7 +18282,62 @@ lean_dec(x_1); return x_8; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__5___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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___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_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__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_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4___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_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; @@ -18343,7 +18345,7 @@ x_13 = lean_unbox_usize(x_2); lean_dec(x_2); x_14 = lean_unbox_usize(x_3); lean_dec(x_3); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__5(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__6(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); return x_15; } @@ -39951,7 +39953,7 @@ lean_dec(x_2); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -39961,7 +39963,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__2() { _start: { lean_object* x_1; @@ -39969,17 +39971,17 @@ x_1 = lean_mk_string("ignoreUnusedAlts"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__1; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__2; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__4() { _start: { lean_object* x_1; @@ -39987,13 +39989,13 @@ x_1 = lean_mk_string("if true, do not generate error if an alternative is not us return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__5() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__15; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__4; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__4; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -40002,12 +40004,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__3; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__5; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -42319,7 +42321,340 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_e return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +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; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +return x_13; +} +else +{ +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_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +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_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___rarg), 1, 0); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__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) { +_start: +{ +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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 5); +lean_inc(x_14); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_17, 0, x_12); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_18, 0, x_12); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_14); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_14); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = x_20; +x_22 = lean_ctor_get(x_6, 3); +lean_inc(x_22); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_6, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 2); +lean_inc(x_27); +x_28 = lean_st_ref_get(x_7, x_25); +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_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_environment_main_module(x_12); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_24); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_27); +lean_ctor_set(x_33, 5, x_22); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_2(x_1, x_33, x_35); +if (lean_obj_tag(x_36) == 0) +{ +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_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_st_ref_take(x_7, x_30); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_41, 1); +lean_dec(x_44); +lean_ctor_set(x_41, 1, x_39); +x_45 = lean_st_ref_set(x_7, x_41, x_42); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_ctor_get(x_38, 1); +lean_inc(x_47); +lean_dec(x_38); +x_48 = l_List_reverse___rarg(x_47); +x_49 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_6); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_37); +return x_49; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +else +{ +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; +x_54 = lean_ctor_get(x_41, 0); +x_55 = lean_ctor_get(x_41, 2); +x_56 = lean_ctor_get(x_41, 3); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_41); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_39); +lean_ctor_set(x_57, 2, x_55); +lean_ctor_set(x_57, 3, x_56); +x_58 = lean_st_ref_set(x_7, x_57, x_42); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get(x_38, 1); +lean_inc(x_60); +lean_dec(x_38); +x_61 = l_List_reverse___rarg(x_60); +x_62 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_59); +lean_dec(x_6); +lean_dec(x_2); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_37); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_36, 0); +lean_inc(x_66); +lean_dec(x_36); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2(x_67, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +lean_dec(x_67); +return x_71; +} +else +{ +lean_object* x_72; +lean_dec(x_6); +lean_dec(x_2); +x_72 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___rarg(x_30); +return x_72; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -42350,7 +42685,7 @@ goto _start; } } } -lean_object* l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2___rarg(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* l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6___rarg(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) { _start: { lean_object* x_10; lean_object* x_11; @@ -42402,15 +42737,15 @@ return x_19; } } } -lean_object* l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2(lean_object* x_1) { +lean_object* l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6___rarg), 9, 0); return x_2; } } -static lean_object* _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__1() { +static lean_object* _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -42418,16 +42753,16 @@ x_1 = lean_mk_string("invalid match-expression, type of pattern variable '"); return x_1; } } -static lean_object* _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__2() { +static lean_object* _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__1; +x_1 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__3() { +static lean_object* _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__3() { _start: { lean_object* x_1; @@ -42435,16 +42770,16 @@ x_1 = lean_mk_string("' contains metavariables"); return x_1; } } -static lean_object* _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__4() { +static lean_object* _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__3; +x_1 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___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* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___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) { _start: { lean_object* x_9; @@ -42458,11 +42793,11 @@ lean_dec(x_9); x_11 = l_Lean_LocalDecl_toExpr(x_1); x_12 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_12, 0, x_11); -x_13 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__2; +x_13 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__2; x_14 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); -x_15 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__4; +x_15 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__4; x_16 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); @@ -42503,7 +42838,7 @@ return x_26; } } } -lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7(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) { _start: { if (lean_obj_tag(x_2) == 0) @@ -42543,7 +42878,7 @@ goto _start; else { lean_object* x_17; lean_object* x_18; -x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___boxed), 8, 1); +x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___boxed), 8, 1); lean_closure_set(x_17, 0, x_12); lean_inc(x_9); lean_inc(x_8); @@ -42552,7 +42887,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_18 = l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2___rarg(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_18 = l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6___rarg(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; @@ -42599,7 +42934,7 @@ return x_25; } } } -static lean_object* _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__1() { +static lean_object* _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -42607,16 +42942,16 @@ x_1 = lean_mk_string("invalid match-expression, pattern contains metavariables") return x_1; } } -static lean_object* _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__2() { +static lean_object* _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__1; +x_1 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___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) { _start: { lean_object* x_9; @@ -42642,7 +42977,7 @@ x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); x_15 = l_Lean_indentExpr(x_13); -x_16 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__2; +x_16 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__2; x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_15); @@ -42715,7 +43050,7 @@ return x_28; } } } -lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4(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* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8(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) { _start: { if (lean_obj_tag(x_2) == 0) @@ -42755,7 +43090,7 @@ goto _start; else { lean_object* x_17; lean_object* x_18; -x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___boxed), 8, 1); +x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___boxed), 8, 1); lean_closure_set(x_17, 0, x_12); lean_inc(x_9); lean_inc(x_8); @@ -42764,7 +43099,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_18 = l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2___rarg(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_18 = l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6___rarg(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; @@ -42811,7 +43146,7 @@ return x_25; } } } -lean_object* l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(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* l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(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) { _start: { if (lean_obj_tag(x_1) == 0) @@ -42894,7 +43229,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc_n(x_19, 2); -x_31 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3(x_19, x_19, x_30, x_2, x_3, x_4, x_5, x_29, x_7, x_17); +x_31 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7(x_19, x_19, x_30, x_2, x_3, x_4, x_5, x_29, x_7, x_17); if (lean_obj_tag(x_31) == 0) { lean_object* x_32; lean_object* x_33; lean_object* x_34; @@ -42908,14 +43243,14 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_34 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4(x_19, x_33, x_30, x_2, x_3, x_4, x_5, x_29, x_7, x_32); +x_34 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8(x_19, x_33, x_30, x_2, x_3, x_4, x_5, x_29, x_7, x_32); if (lean_obj_tag(x_34) == 0) { lean_object* x_35; lean_object* x_36; x_35 = lean_ctor_get(x_34, 1); lean_inc(x_35); lean_dec(x_34); -x_36 = l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_35); +x_36 = l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_35); if (lean_obj_tag(x_36) == 0) { uint8_t x_37; @@ -43131,7 +43466,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc_n(x_65, 2); -x_77 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3(x_65, x_65, x_76, x_2, x_3, x_4, x_5, x_75, x_7, x_63); +x_77 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7(x_65, x_65, x_76, x_2, x_3, x_4, x_5, x_75, x_7, x_63); if (lean_obj_tag(x_77) == 0) { lean_object* x_78; lean_object* x_79; lean_object* x_80; @@ -43145,14 +43480,14 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_80 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4(x_65, x_79, x_76, x_2, x_3, x_4, x_5, x_75, x_7, x_78); +x_80 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8(x_65, x_79, x_76, x_2, x_3, x_4, x_5, x_75, x_7, x_78); if (lean_obj_tag(x_80) == 0) { lean_object* x_81; lean_object* x_82; x_81 = lean_ctor_get(x_80, 1); lean_inc(x_81); lean_dec(x_80); -x_82 = l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_81); +x_82 = l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_81); if (lean_obj_tag(x_82) == 0) { lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; @@ -43309,127 +43644,7 @@ return x_103; } } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7(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) { -_start: -{ -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; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 3); -x_10 = lean_ctor_get(x_2, 3); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -lean_dec(x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6(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) { -_start: -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_7, 3); -x_12 = l_Lean_replaceRef(x_1, x_11); -lean_dec(x_11); -lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -return x_13; -} -else -{ -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_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -x_16 = lean_ctor_get(x_7, 2); -x_17 = lean_ctor_get(x_7, 3); -x_18 = lean_ctor_get(x_7, 4); -x_19 = lean_ctor_get(x_7, 5); -x_20 = lean_ctor_get(x_7, 6); -x_21 = lean_ctor_get(x_7, 7); -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_inc(x_14); -lean_dec(x_7); -x_22 = l_Lean_replaceRef(x_1, x_17); -lean_dec(x_17); -x_23 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_23, 1, x_15); -lean_ctor_set(x_23, 2, x_16); -lean_ctor_set(x_23, 3, x_22); -lean_ctor_set(x_23, 4, x_18); -lean_ctor_set(x_23, 5, x_19); -lean_ctor_set(x_23, 6, x_20); -lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); -lean_dec(x_23); -return x_24; -} -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___rarg), 1, 0); -return x_7; -} -} -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__10(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -43519,7 +43734,7 @@ lean_inc(x_6); x_13 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs(x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { -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; 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_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_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -43533,612 +43748,401 @@ x_18 = lean_ctor_get_uint8(x_14, sizeof(void*)*3); x_19 = lean_ctor_get(x_14, 2); lean_inc(x_19); lean_dec(x_14); -x_104 = lean_st_ref_get(x_11, x_15); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_ctor_get(x_105, 0); -lean_inc(x_107); -lean_dec(x_105); -x_108 = lean_ctor_get(x_10, 4); -lean_inc(x_108); -x_109 = lean_ctor_get(x_10, 5); -lean_inc(x_109); -lean_inc(x_107); -x_110 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_110, 0, x_107); -lean_inc(x_108); -x_111 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_111, 0, x_108); -lean_inc(x_107); -x_112 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVars___lambda__1___boxed), 4, 1); -lean_closure_set(x_112, 0, x_107); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -x_113 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVars___lambda__2___boxed), 6, 3); -lean_closure_set(x_113, 0, x_107); -lean_closure_set(x_113, 1, x_108); -lean_closure_set(x_113, 2, x_109); -lean_inc(x_107); -x_114 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getPatternVars___lambda__3___boxed), 6, 3); -lean_closure_set(x_114, 0, x_107); -lean_closure_set(x_114, 1, x_108); -lean_closure_set(x_114, 2, x_109); -x_115 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_115, 0, x_110); -lean_ctor_set(x_115, 1, x_111); -lean_ctor_set(x_115, 2, x_112); -lean_ctor_set(x_115, 3, x_113); -lean_ctor_set(x_115, 4, x_114); -x_116 = x_115; -x_117 = lean_ctor_get(x_10, 3); -lean_inc(x_117); -x_118 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_106); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_121 = lean_ctor_get(x_10, 1); -lean_inc(x_121); -x_122 = lean_ctor_get(x_10, 2); -lean_inc(x_122); -x_123 = lean_st_ref_get(x_11, x_120); -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = lean_environment_main_module(x_107); -x_128 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_128, 0, x_116); -lean_ctor_set(x_128, 1, x_127); -lean_ctor_set(x_128, 2, x_119); -lean_ctor_set(x_128, 3, x_121); -lean_ctor_set(x_128, 4, x_122); -lean_ctor_set(x_128, 5, x_117); -x_129 = lean_box(0); -x_130 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_130, 0, x_126); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Term_expandMacrosInPatterns(x_19, x_128, x_130); -if (lean_obj_tag(x_131) == 0) +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandMacrosInPatterns), 3, 1); +lean_closure_set(x_20, 0, x_19); +lean_inc(x_10); +lean_inc(x_6); +x_21 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -lean_dec(x_131); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_st_ref_take(x_11, x_125); -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_135, 1); -lean_inc(x_137); -lean_dec(x_135); -x_138 = !lean_is_exclusive(x_136); -if (x_138 == 0) -{ -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_139 = lean_ctor_get(x_136, 1); -lean_dec(x_139); -lean_ctor_set(x_136, 1, x_134); -x_140 = lean_st_ref_set(x_11, x_136, x_137); -x_141 = lean_ctor_get(x_140, 1); -lean_inc(x_141); -lean_dec(x_140); -x_142 = lean_ctor_get(x_133, 1); -lean_inc(x_142); -lean_dec(x_133); -x_143 = l_List_reverse___rarg(x_142); -x_144 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_143, x_6, x_7, x_8, x_9, x_10, x_11, x_141); -x_145 = lean_ctor_get(x_144, 1); -lean_inc(x_145); -lean_dec(x_144); -x_20 = x_132; -x_21 = x_145; -goto block_103; -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_146 = lean_ctor_get(x_136, 0); -x_147 = lean_ctor_get(x_136, 2); -x_148 = lean_ctor_get(x_136, 3); -lean_inc(x_148); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_136); -x_149 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_149, 0, x_146); -lean_ctor_set(x_149, 1, x_134); -lean_ctor_set(x_149, 2, x_147); -lean_ctor_set(x_149, 3, x_148); -x_150 = lean_st_ref_set(x_11, x_149, x_137); -x_151 = lean_ctor_get(x_150, 1); -lean_inc(x_151); -lean_dec(x_150); -x_152 = lean_ctor_get(x_133, 1); -lean_inc(x_152); -lean_dec(x_133); -x_153 = l_List_reverse___rarg(x_152); -x_154 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_153, x_6, x_7, x_8, x_9, x_10, x_11, x_151); -x_155 = lean_ctor_get(x_154, 1); -lean_inc(x_155); -lean_dec(x_154); -x_20 = x_132; -x_21 = x_155; -goto block_103; -} -} -else -{ -lean_object* x_156; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_5); -x_156 = lean_ctor_get(x_131, 0); -lean_inc(x_156); -lean_dec(x_131); -if (lean_obj_tag(x_156) == 0) -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; -x_157 = lean_ctor_get(x_156, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_156, 1); -lean_inc(x_158); -lean_dec(x_156); -x_159 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_159, 0, x_158); -x_160 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_160, 0, x_159); -x_161 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6(x_157, x_160, x_6, x_7, x_8, x_9, x_10, x_11, x_125); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_157); -x_162 = !lean_is_exclusive(x_161); -if (x_162 == 0) -{ -return x_161; -} -else -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_163 = lean_ctor_get(x_161, 0); -x_164 = lean_ctor_get(x_161, 1); -lean_inc(x_164); -lean_inc(x_163); -lean_dec(x_161); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_163); -lean_ctor_set(x_165, 1, x_164); -return x_165; -} -} -else -{ -lean_object* x_166; uint8_t x_167; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_166 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___rarg(x_125); -x_167 = !lean_is_exclusive(x_166); -if (x_167 == 0) -{ -return x_166; -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_168 = lean_ctor_get(x_166, 0); -x_169 = lean_ctor_get(x_166, 1); -lean_inc(x_169); -lean_inc(x_168); -lean_dec(x_166); -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_168); -lean_ctor_set(x_170, 1, x_169); -return x_170; -} -} -} -block_103: -{ -lean_object* x_22; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_84 = lean_st_ref_get(x_11, x_21); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_85, 3); -lean_inc(x_86); -lean_dec(x_85); -x_87 = lean_ctor_get_uint8(x_86, sizeof(void*)*1); -lean_dec(x_86); -if (x_87 == 0) -{ -lean_object* x_88; -x_88 = lean_ctor_get(x_84, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_86 = lean_st_ref_get(x_11, x_23); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_87, 3); lean_inc(x_88); -lean_dec(x_84); -x_22 = x_88; -goto block_83; +lean_dec(x_87); +x_89 = lean_ctor_get_uint8(x_88, sizeof(void*)*1); +lean_dec(x_88); +if (x_89 == 0) +{ +lean_object* x_90; +x_90 = lean_ctor_get(x_86, 1); +lean_inc(x_90); +lean_dec(x_86); +x_24 = x_90; +goto block_85; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_89 = lean_ctor_get(x_84, 1); -lean_inc(x_89); -lean_dec(x_84); -x_90 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; -x_91 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_90, x_6, x_7, x_8, x_9, x_10, x_11, x_89); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_unbox(x_92); -lean_dec(x_92); -if (x_93 == 0) -{ -lean_object* x_94; -x_94 = lean_ctor_get(x_91, 1); +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_91 = lean_ctor_get(x_86, 1); +lean_inc(x_91); +lean_dec(x_86); +x_92 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__8; +x_93 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_92, x_6, x_7, x_8, x_9, x_10, x_11, x_91); +x_94 = lean_ctor_get(x_93, 0); lean_inc(x_94); -lean_dec(x_91); -x_22 = x_94; -goto block_83; +x_95 = lean_unbox(x_94); +lean_dec(x_94); +if (x_95 == 0) +{ +lean_object* x_96; +x_96 = lean_ctor_get(x_93, 1); +lean_inc(x_96); +lean_dec(x_93); +x_24 = x_96; +goto block_85; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_95 = lean_ctor_get(x_91, 1); -lean_inc(x_95); -lean_dec(x_91); +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; +x_97 = lean_ctor_get(x_93, 1); +lean_inc(x_97); +lean_dec(x_93); lean_inc(x_17); -x_96 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_96, 0, x_17); -x_97 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__2; -x_98 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_98 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_98, 0, x_17); +x_99 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__2; x_100 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -x_101 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_90, x_100, x_6, x_7, x_8, x_9, x_10, x_11, x_95); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_22 = x_102; -goto block_83; +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +x_101 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__16; +x_102 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_92, x_102, x_6, x_7, x_8, x_9, x_10, x_11, x_97); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +lean_dec(x_103); +x_24 = x_104; +goto block_85; } } -block_83: +block_85: { -lean_object* x_23; +lean_object* x_25; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_23 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews(x_5, x_16, x_17, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_22); -if (lean_obj_tag(x_23) == 0) +x_25 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews(x_5, x_16, x_17, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_24); +if (lean_obj_tag(x_25) == 0) { -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; uint8_t x_35; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_25, 1); +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; uint8_t x_37; +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -x_27 = lean_ctor_get(x_23, 1); +x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); -lean_dec(x_23); -x_28 = lean_ctor_get(x_24, 0); +x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - lean_ctor_release(x_24, 1); - x_29 = x_24; -} else { - lean_dec_ref(x_24); - x_29 = lean_box(0); -} -x_30 = lean_ctor_get(x_25, 0); +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = lean_ctor_get(x_26, 0); lean_inc(x_30); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_31 = x_25; -} else { - lean_dec_ref(x_25); - x_31 = lean_box(0); -} -x_32 = lean_ctor_get(x_26, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_26, 1); -lean_inc(x_33); if (lean_is_exclusive(x_26)) { lean_ctor_release(x_26, 0); lean_ctor_release(x_26, 1); - x_34 = x_26; + x_31 = x_26; } else { lean_dec_ref(x_26); - x_34 = lean_box(0); + x_31 = lean_box(0); +} +x_32 = lean_ctor_get(x_27, 0); +lean_inc(x_32); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + x_33 = x_27; +} else { + lean_dec_ref(x_27); + x_33 = lean_box(0); +} +x_34 = lean_ctor_get(x_28, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_28, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + x_36 = x_28; +} else { + lean_dec_ref(x_28); + x_36 = lean_box(0); } if (x_18 == 0) { -uint8_t x_77; -x_77 = lean_unbox(x_33); -lean_dec(x_33); -x_35 = x_77; -goto block_76; +uint8_t x_79; +x_79 = lean_unbox(x_35); +lean_dec(x_35); +x_37 = x_79; +goto block_78; } else { -uint8_t x_78; -lean_dec(x_33); -x_78 = 1; -x_35 = x_78; -goto block_76; +uint8_t x_80; +lean_dec(x_35); +x_80 = 1; +x_37 = x_80; +goto block_78; } -block_76: +block_78: { -lean_object* x_36; +lean_object* x_38; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_36 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_6, x_7, x_8, x_9, x_10, x_11, x_27); -if (lean_obj_tag(x_36) == 0) +x_38 = l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(x_6, x_7, x_8, x_9, x_10, x_11, x_29); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_array_get_size(x_32); -x_39 = lean_usize_of_nat(x_38); +lean_object* x_39; lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); lean_dec(x_38); -x_40 = 0; -lean_inc(x_32); -x_41 = x_32; -x_42 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1(x_39, x_40, x_41); -x_43 = x_42; +x_40 = lean_array_get_size(x_34); +x_41 = lean_usize_of_nat(x_40); +lean_dec(x_40); +x_42 = 0; +lean_inc(x_34); +x_43 = x_34; +x_44 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(x_41, x_42, x_43); +x_45 = x_44; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_44 = l_Lean_Meta_instantiateMVars(x_30, x_8, x_9, x_10, x_11, x_37); -if (lean_obj_tag(x_44) == 0) +x_46 = l_Lean_Meta_instantiateMVars(x_32, x_8, x_9, x_10, x_11, x_39); +if (lean_obj_tag(x_46) == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_array_to_list(lean_box(0), x_32); -x_48 = l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_46); -if (lean_obj_tag(x_48) == 0) +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = lean_array_to_list(lean_box(0), x_34); +x_50 = l_List_mapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(x_49, x_6, x_7, x_8, x_9, x_10, x_11, x_48); +if (lean_obj_tag(x_50) == 0) { -uint8_t x_49; -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) +uint8_t x_51; +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_50 = lean_ctor_get(x_48, 0); -x_51 = lean_box(x_35); -if (lean_is_scalar(x_34)) { - x_52 = lean_alloc_ctor(0, 2, 0); -} else { - x_52 = x_34; -} -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_43); -if (lean_is_scalar(x_31)) { - x_53 = lean_alloc_ctor(0, 2, 0); -} else { - x_53 = x_31; -} -lean_ctor_set(x_53, 0, x_50); -lean_ctor_set(x_53, 1, x_52); -if (lean_is_scalar(x_29)) { +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_52 = lean_ctor_get(x_50, 0); +x_53 = lean_box(x_37); +if (lean_is_scalar(x_36)) { x_54 = lean_alloc_ctor(0, 2, 0); } else { - x_54 = x_29; + x_54 = x_36; } -lean_ctor_set(x_54, 0, x_45); -lean_ctor_set(x_54, 1, x_53); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_28); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_45); +if (lean_is_scalar(x_33)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_33; +} +lean_ctor_set(x_55, 0, x_52); lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_48, 0, x_55); -return x_48; +if (lean_is_scalar(x_31)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_31; +} +lean_ctor_set(x_56, 0, x_47); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_30); +lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_50, 0, x_57); +return x_50; } 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; -x_56 = lean_ctor_get(x_48, 0); -x_57 = lean_ctor_get(x_48, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_48); -x_58 = lean_box(x_35); -if (lean_is_scalar(x_34)) { - x_59 = lean_alloc_ctor(0, 2, 0); -} else { - x_59 = x_34; -} -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_43); -if (lean_is_scalar(x_31)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_31; -} -lean_ctor_set(x_60, 0, x_56); -lean_ctor_set(x_60, 1, x_59); -if (lean_is_scalar(x_29)) { +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; +x_58 = lean_ctor_get(x_50, 0); +x_59 = lean_ctor_get(x_50, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_50); +x_60 = lean_box(x_37); +if (lean_is_scalar(x_36)) { x_61 = lean_alloc_ctor(0, 2, 0); } else { - x_61 = x_29; + x_61 = x_36; } -lean_ctor_set(x_61, 0, x_45); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_28); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_45); +if (lean_is_scalar(x_33)) { + x_62 = lean_alloc_ctor(0, 2, 0); +} else { + x_62 = x_33; +} +lean_ctor_set(x_62, 0, x_58); lean_ctor_set(x_62, 1, x_61); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_57); -return x_63; +if (lean_is_scalar(x_31)) { + x_63 = lean_alloc_ctor(0, 2, 0); +} else { + x_63 = x_31; +} +lean_ctor_set(x_63, 0, x_47); +lean_ctor_set(x_63, 1, x_62); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_30); +lean_ctor_set(x_64, 1, x_63); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_59); +return x_65; } } else { -uint8_t x_64; +uint8_t x_66; +lean_dec(x_47); lean_dec(x_45); -lean_dec(x_43); -lean_dec(x_34); +lean_dec(x_36); +lean_dec(x_33); lean_dec(x_31); -lean_dec(x_29); -lean_dec(x_28); -x_64 = !lean_is_exclusive(x_48); -if (x_64 == 0) +lean_dec(x_30); +x_66 = !lean_is_exclusive(x_50); +if (x_66 == 0) { -return x_48; +return x_50; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_48, 0); -x_66 = lean_ctor_get(x_48, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_48); -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; +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_50, 0); +x_68 = lean_ctor_get(x_50, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_50); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; } } } else { -uint8_t x_68; -lean_dec(x_43); +uint8_t x_70; +lean_dec(x_45); +lean_dec(x_36); lean_dec(x_34); -lean_dec(x_32); +lean_dec(x_33); lean_dec(x_31); -lean_dec(x_29); -lean_dec(x_28); +lean_dec(x_30); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_68 = !lean_is_exclusive(x_44); -if (x_68 == 0) +x_70 = !lean_is_exclusive(x_46); +if (x_70 == 0) { -return x_44; +return x_46; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_44, 0); -x_70 = lean_ctor_get(x_44, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_44); -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; +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_46, 0); +x_72 = lean_ctor_get(x_46, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_46); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; } } } else { -uint8_t x_72; +uint8_t x_74; +lean_dec(x_36); lean_dec(x_34); +lean_dec(x_33); lean_dec(x_32); lean_dec(x_31); lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_72 = !lean_is_exclusive(x_36); -if (x_72 == 0) +x_74 = !lean_is_exclusive(x_38); +if (x_74 == 0) { -return x_36; +return x_38; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_36, 0); -x_74 = lean_ctor_get(x_36, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_36); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_38, 0); +x_76 = lean_ctor_get(x_38, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_38); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } } } else { -uint8_t x_79; +uint8_t x_81; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_79 = !lean_is_exclusive(x_23); -if (x_79 == 0) +x_81 = !lean_is_exclusive(x_25); +if (x_81 == 0) { -return x_23; +return x_25; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_23, 0); -x_81 = lean_ctor_get(x_23, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_23); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; -} +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_25, 0); +x_83 = lean_ctor_get(x_25, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_25); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } } } else { -uint8_t x_171; +uint8_t x_105; +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -44146,23 +44150,53 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_171 = !lean_is_exclusive(x_13); -if (x_171 == 0) +x_105 = !lean_is_exclusive(x_21); +if (x_105 == 0) +{ +return x_21; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_21, 0); +x_107 = lean_ctor_get(x_21, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_21); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; +} +} +} +else +{ +uint8_t x_109; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_109 = !lean_is_exclusive(x_13); +if (x_109 == 0) { return x_13; } else { -lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_172 = lean_ctor_get(x_13, 0); -x_173 = lean_ctor_get(x_13, 1); -lean_inc(x_173); -lean_inc(x_172); +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_13, 0); +x_111 = lean_ctor_get(x_13, 1); +lean_inc(x_111); +lean_inc(x_110); lean_dec(x_13); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_172); -lean_ctor_set(x_174, 1, x_173); -return x_174; +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +return x_112; } } } @@ -44342,7 +44376,7 @@ if (lean_obj_tag(x_28) == 0) lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_21); x_30 = lean_array_get_size(x_22); -x_31 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__1; +x_31 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1; lean_inc(x_7); x_32 = l_Lean_Elab_Term_mkAuxName(x_31, x_7, x_8, x_9, x_10, x_11, x_12, x_29); if (lean_obj_tag(x_32) == 0) @@ -44831,7 +44865,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_15 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__13; -x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(x_1, x_15); +x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__10(x_1, x_15); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; @@ -44882,46 +44916,11 @@ return x_26; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1(x_4, x_5, x_3); -return x_6; -} -} -lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___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* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___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) { -_start: -{ -lean_object* x_9; -x_9 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); -return x_9; -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -44930,11 +44929,11 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -44943,11 +44942,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -44957,11 +44956,58 @@ lean_dec(x_1); return x_7; } } -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(x_4, x_5, x_3); +return x_6; +} +} +lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___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) { +_start: +{ +lean_object* x_9; +x_9 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___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) { +_start: +{ +lean_object* x_9; +x_9 = l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__10___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__10(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -47870,7 +47916,7 @@ x_36 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_ lean_closure_set(x_36, 0, x_1); lean_closure_set(x_36, 1, x_35); lean_closure_set(x_36, 2, x_2); -x_37 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_35, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +x_37 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_35, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_34); return x_37; } } @@ -48234,7 +48280,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_13306_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_13318_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -48411,7 +48457,7 @@ x_67 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_ lean_closure_set(x_67, 0, x_1); lean_closure_set(x_67, 1, x_66); lean_closure_set(x_67, 2, x_2); -x_68 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_66, x_67, x_3, x_4, x_5, x_6, x_7, x_8, x_26); +x_68 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_66, x_67, x_3, x_4, x_5, x_6, x_7, x_8, x_26); return x_68; } else @@ -48960,8 +49006,8 @@ l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1 = _init_l_Lean_Elab_T lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars___closed__1); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__4___rarg___closed__1); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5___rarg___closed__1); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__1); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__2(); @@ -49089,19 +49135,19 @@ l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__4 lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__4); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___boxed__const__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658____closed__5); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670____closed__5); l_Lean_Elab_Term_match_ignoreUnusedAlts___closed__1 = _init_l_Lean_Elab_Term_match_ignoreUnusedAlts___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_match_ignoreUnusedAlts___closed__1); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10658_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_10670_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_match_ignoreUnusedAlts = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_match_ignoreUnusedAlts); @@ -49134,18 +49180,18 @@ l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__5 = _ini lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__5); l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__6); -l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__1 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__1(); -lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__1); -l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__2 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__2(); -lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__2); -l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__3 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__3(); -lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__3); -l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__4 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__4(); -lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3___lambda__1___closed__4); -l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__1 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__1(); -lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__1); -l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__2 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__2(); -lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___lambda__1___closed__2); +l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__1 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__1); +l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__2 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__2(); +lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__2); +l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__3 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__3(); +lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__3); +l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__4 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__4(); +lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___lambda__1___closed__4); +l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__1 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__1); +l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__2 = _init_l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__2(); +lean_mark_persistent(l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___lambda__1___closed__2); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__1 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1___closed__2(); @@ -49193,7 +49239,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabMatch___closed__3); res = l___regBuiltin_Lean_Elab_Term_elabMatch(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_13306_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_13318_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_elabNoMatch___closed__1 = _init_l_Lean_Elab_Term_elabNoMatch___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 082130d01c..2feb6110d8 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -15,7 +15,6 @@ extern "C" { #endif static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3; lean_object* l_Lean_Elab_Term_elabMutualDef_go___lambda__2___boxed__const__1; -lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__4___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__9; @@ -28,7 +27,6 @@ lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_FixPoint_run_match__1(lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); @@ -38,7 +36,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check(lean_object lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__4; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLetRecsToLift___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -69,7 +66,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_E lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_MutualClosure_getKindForLetRecs(lean_object*); static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__4; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -210,6 +207,7 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isTheorem___boxed lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_getUsedFVarsMap___rarg(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__4___closed__3; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___closed__4; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls(lean_object*); @@ -218,7 +216,6 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0_ lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMutualDef___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__1; @@ -232,11 +229,9 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWher lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls_loop(lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__4; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__4___closed__1; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed(lean_object*); lean_object* l_Lean_Elab_Term_elabMutualDef_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns(lean_object*, lean_object*, lean_object*, lean_object*); @@ -263,7 +258,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_Fix lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__4___closed__4; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabDeclAttrs___at_Lean_Elab_Command_elabMutualDef___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -314,11 +308,9 @@ lean_object* l_Lean_Expr_collectMVars(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__4; lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__2___closed__3; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -390,7 +382,6 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___la lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_match__1(lean_object*); @@ -399,7 +390,6 @@ lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_o uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); extern lean_object* l_Lean_protectedExt; static lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2; -lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___lambda__2(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -418,6 +408,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lea lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames___boxed(lean_object*); @@ -425,7 +416,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___lamb static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__5; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__3; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_fixpoint_match__1___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__2___closed__2; @@ -437,7 +427,6 @@ lean_object* l_Std_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_T lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__1; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_resetZetaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -501,6 +490,7 @@ extern lean_object* l_Lean_Expr_FindImpl_initCache; uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___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*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___closed__3; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_match__2(lean_object*); @@ -514,6 +504,7 @@ lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed_match__1(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_index(lean_object*); @@ -531,9 +522,7 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModif lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; lean_object* l_List_mapM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___rarg(lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_environment_main_module(lean_object*); lean_object* l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes_match__1(lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -547,7 +536,6 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnus static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__7; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls_loop___rarg___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* l_List_foldl___at_Lean_Elab_Term_MutualClosure_insertReplacementForLetRecs___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isExample___boxed(lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); @@ -614,11 +602,9 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_isModified___rarg(lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1; @@ -657,7 +643,7 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsA lean_object* l_Lean_indentD(lean_object*); lean_object* l_Lean_Elab_instantiateMVarsAtPreDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_match__1(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object*); +lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_Term_MutualClosure_main___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(lean_object*, lean_object*); @@ -673,9 +659,7 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkC lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___boxed__const__1; lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_foldr___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun___spec__1(lean_object*, uint8_t, lean_object*); -lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor_match__1___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3___closed__2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf(lean_object*, lean_object*, lean_object*); @@ -699,6 +683,7 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__1 lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__1___boxed(lean_object**); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__6; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -713,7 +698,6 @@ lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_T lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___closed__2; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___boxed__const__1; uint8_t l_List_beq___at_Lean_OpenDecl_instToStringOpenDecl___spec__1(lean_object*, lean_object*); lean_object* l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -723,7 +707,6 @@ lean_object* l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_E lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getDeclarationSelectionRef(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__6; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___closed__1; @@ -741,7 +724,6 @@ lean_object* l_Lean_Elab_Term_MutualClosure_getKindForLetRecs___boxed(lean_objec lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandWhereDeclsOpt(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___closed__2; @@ -755,7 +737,6 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0_ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_markModified___boxed(lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_ReplaceImpl_initCache; @@ -7453,280 +7434,63 @@ return x_22; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_5 = l_Lean_Environment_contains(x_1, x_2); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___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) { -_start: +lean_object* x_10; +lean_inc(x_7); +lean_inc(x_3); +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__4(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; -x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__5(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) { -_start: -{ -lean_object* x_10; lean_object* x_11; 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; -x_18 = lean_st_ref_get(x_8, x_9); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get(x_7, 4); -lean_inc(x_22); -x_23 = lean_ctor_get(x_7, 5); -lean_inc(x_23); -lean_inc(x_21); -x_24 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_24, 0, x_21); -lean_inc(x_22); -x_25 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_25, 0, x_22); -lean_inc(x_21); -x_26 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__2___boxed), 4, 1); -lean_closure_set(x_26, 0, x_21); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -x_27 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__3___boxed), 6, 3); -lean_closure_set(x_27, 0, x_21); -lean_closure_set(x_27, 1, x_22); -lean_closure_set(x_27, 2, x_23); -lean_inc(x_21); -x_28 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__4___boxed), 6, 3); -lean_closure_set(x_28, 0, x_21); -lean_closure_set(x_28, 1, x_22); -lean_closure_set(x_28, 2, x_23); -x_29 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_29, 0, x_24); -lean_ctor_set(x_29, 1, x_25); -lean_ctor_set(x_29, 2, x_26); -lean_ctor_set(x_29, 3, x_27); -lean_ctor_set(x_29, 4, x_28); -x_30 = x_29; -x_31 = lean_ctor_get(x_7, 3); -lean_inc(x_31); -x_32 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_20); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_ctor_get(x_7, 1); -lean_inc(x_35); -x_36 = lean_ctor_get(x_7, 2); -lean_inc(x_36); -x_37 = lean_st_ref_get(x_8, x_34); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_environment_main_module(x_21); -x_42 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_42, 0, x_30); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_42, 2, x_33); -lean_ctor_set(x_42, 3, x_35); -lean_ctor_set(x_42, 4, x_36); -lean_ctor_set(x_42, 5, x_31); -x_43 = lean_box(0); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_40); -lean_ctor_set(x_44, 1, x_43); -x_45 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm(x_2, x_42, x_44); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_st_ref_take(x_8, x_39); -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); -x_52 = !lean_is_exclusive(x_50); -if (x_52 == 0) -{ -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_53 = lean_ctor_get(x_50, 1); -lean_dec(x_53); -lean_ctor_set(x_50, 1, x_48); -x_54 = lean_st_ref_set(x_8, x_50, x_51); -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -lean_dec(x_54); -x_56 = lean_ctor_get(x_47, 1); -lean_inc(x_56); -lean_dec(x_47); -x_57 = l_List_reverse___rarg(x_56); -x_58 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_55); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_10 = x_46; -x_11 = x_59; -goto block_17; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_2, 6); +lean_inc(x_13); +x_14 = lean_ctor_get(x_2, 5); +lean_inc(x_14); +lean_dec(x_2); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__1), 10, 1); +lean_closure_set(x_16, 0, x_11); +x_17 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__1___rarg(x_13, x_15, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +return x_17; } 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; -x_60 = lean_ctor_get(x_50, 0); -x_61 = lean_ctor_get(x_50, 2); -x_62 = lean_ctor_get(x_50, 3); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_50); -x_63 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_63, 0, x_60); -lean_ctor_set(x_63, 1, x_48); -lean_ctor_set(x_63, 2, x_61); -lean_ctor_set(x_63, 3, x_62); -x_64 = lean_st_ref_set(x_8, x_63, x_51); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec(x_64); -x_66 = lean_ctor_get(x_47, 1); -lean_inc(x_66); -lean_dec(x_47); -x_67 = l_List_reverse___rarg(x_66); -x_68 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_67, x_3, x_4, x_5, x_6, x_7, x_8, x_65); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_10 = x_46; -x_11 = x_69; -goto block_17; -} -} -else -{ -lean_object* x_70; -lean_dec(x_1); -x_70 = lean_ctor_get(x_45, 0); -lean_inc(x_70); -lean_dec(x_45); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_73, 0, x_72); -x_74 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_74, 0, x_73); -x_75 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_71, x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_39); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_71); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -return x_75; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_75, 0); -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_75); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} -} -else -{ -lean_object* x_80; uint8_t x_81; +uint8_t x_18; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_80 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_39); -x_81 = !lean_is_exclusive(x_80); -if (x_81 == 0) +lean_dec(x_2); +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) { -return x_80; +return x_10; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_80, 0); -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_80); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -return x_84; +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } -block_17: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_1, 6); -lean_inc(x_12); -x_13 = lean_ctor_get(x_1, 5); -lean_inc(x_13); -lean_dec(x_1); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -x_15 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__1), 10, 1); -lean_closure_set(x_15, 0, x_10); -x_16 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__1___rarg(x_12, x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_11); -return x_16; -} -} } lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1(size_t x_1, size_t 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) { _start: @@ -7750,7 +7514,7 @@ return x_13; } else { -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_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_14 = lean_array_uget(x_3, x_2); x_15 = lean_unsigned_to_nat(0u); x_16 = lean_array_uset(x_3, x_2, x_15); @@ -7761,39 +7525,41 @@ x_19 = lean_ctor_get(x_17, 4); lean_inc(x_19); x_20 = lean_ctor_get(x_17, 7); lean_inc(x_20); -x_21 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__5), 9, 2); -lean_closure_set(x_21, 0, x_17); -lean_closure_set(x_21, 1, x_20); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withLevelNames___rarg), 9, 2); -lean_closure_set(x_22, 0, x_19); -lean_closure_set(x_22, 1, x_21); +x_21 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm), 3, 1); +lean_closure_set(x_21, 0, x_20); +x_22 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__2), 9, 2); +lean_closure_set(x_22, 0, x_21); +lean_closure_set(x_22, 1, x_17); +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withLevelNames___rarg), 9, 2); +lean_closure_set(x_23, 0, x_19); +lean_closure_set(x_23, 1, x_22); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_23 = l_Lean_Elab_Term_withDeclName___rarg(x_18, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_23) == 0) +x_24 = l_Lean_Elab_Term_withDeclName___rarg(x_18, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); +lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; +x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -lean_dec(x_23); -x_26 = 1; -x_27 = x_2 + x_26; -x_28 = x_24; -x_29 = lean_array_uset(x_16, x_2, x_28); -x_2 = x_27; -x_3 = x_29; -x_10 = x_25; +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = 1; +x_28 = x_2 + x_27; +x_29 = x_25; +x_30 = lean_array_uset(x_16, x_2, x_29); +x_2 = x_28; +x_3 = x_30; +x_10 = x_26; goto _start; } else { -uint8_t x_31; +uint8_t x_32; lean_dec(x_16); lean_dec(x_9); lean_dec(x_8); @@ -7801,23 +7567,23 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_31 = !lean_is_exclusive(x_23); -if (x_31 == 0) +x_32 = !lean_is_exclusive(x_24); +if (x_32 == 0) { -return x_23; +return x_24; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_23, 0); -x_33 = lean_ctor_get(x_23, 1); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_24, 0); +x_34 = lean_ctor_get(x_24, 1); +lean_inc(x_34); lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_23); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_dec(x_24); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } @@ -7851,38 +7617,6 @@ x_16 = lean_apply_7(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_16; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__2(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; -} -} lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__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) { _start: { @@ -19990,7 +19724,7 @@ x_15 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lam x_16 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_16, x_4, x_5, x_9); +x_17 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_16, x_4, x_5, x_9); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -20076,579 +19810,144 @@ return x_2; lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4(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; uint8_t x_7; lean_object* x_8; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_5 = lean_unsigned_to_nat(0u); x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_115 = lean_st_ref_get(x_3, x_4); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_ctor_get(x_116, 0); -lean_inc(x_118); -lean_dec(x_116); -x_119 = l_Lean_Elab_Command_getScope___rarg(x_3, x_117); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_ctor_get(x_120, 2); -lean_inc(x_122); -lean_dec(x_120); -x_123 = l_Lean_Elab_Command_getScope___rarg(x_3, x_121); -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = lean_ctor_get(x_124, 3); -lean_inc(x_126); -lean_dec(x_124); -lean_inc(x_118); -x_127 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_127, 0, x_118); -lean_inc(x_122); -x_128 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_128, 0, x_122); -lean_inc(x_118); -x_129 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__2___boxed), 4, 1); -lean_closure_set(x_129, 0, x_118); -lean_inc(x_126); -lean_inc(x_122); -lean_inc(x_118); -x_130 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__3___boxed), 6, 3); -lean_closure_set(x_130, 0, x_118); -lean_closure_set(x_130, 1, x_122); -lean_closure_set(x_130, 2, x_126); -lean_inc(x_118); -x_131 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__4___boxed), 6, 3); -lean_closure_set(x_131, 0, x_118); -lean_closure_set(x_131, 1, x_122); -lean_closure_set(x_131, 2, x_126); -x_132 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_132, 0, x_127); -lean_ctor_set(x_132, 1, x_128); -lean_ctor_set(x_132, 2, x_129); -lean_ctor_set(x_132, 3, x_130); -lean_ctor_set(x_132, 4, x_131); -x_133 = x_132; -x_134 = l_Lean_Elab_Command_getRef(x_2, x_3, x_125); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_136); -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_137, 1); -lean_inc(x_139); -lean_dec(x_137); -x_140 = lean_ctor_get(x_2, 2); -lean_inc(x_140); -x_141 = lean_st_ref_get(x_3, x_139); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = lean_ctor_get(x_142, 4); -lean_inc(x_144); -lean_dec(x_142); -x_145 = lean_st_ref_get(x_3, x_143); -x_146 = lean_ctor_get(x_145, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_145, 1); -lean_inc(x_147); -lean_dec(x_145); -x_148 = lean_ctor_get(x_146, 3); -lean_inc(x_148); -lean_dec(x_146); -x_149 = lean_environment_main_module(x_118); -x_150 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_150, 0, x_133); -lean_ctor_set(x_150, 1, x_149); -lean_ctor_set(x_150, 2, x_138); -lean_ctor_set(x_150, 3, x_140); -lean_ctor_set(x_150, 4, x_144); -lean_ctor_set(x_150, 5, x_135); -x_151 = lean_box(0); -x_152 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_152, 0, x_148); -lean_ctor_set(x_152, 1, x_151); -x_153 = l_Lean_Elab_toAttributeKind(x_6, x_150, x_152); -lean_dec(x_6); -if (lean_obj_tag(x_153) == 0) +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___boxed), 3, 1); +lean_closure_set(x_7, 0, x_6); +lean_inc(x_2); +x_8 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(x_7, x_2, x_3, x_4); +if (lean_obj_tag(x_8) == 0) { -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_153, 1); -lean_inc(x_155); -lean_dec(x_153); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_st_ref_take(x_3, x_147); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = !lean_is_exclusive(x_158); -if (x_160 == 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; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1); +lean_closure_set(x_13, 0, x_12); +lean_inc(x_2); +x_14 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1(x_13, x_2, x_3, x_10); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; -x_161 = lean_ctor_get(x_158, 3); -lean_dec(x_161); -lean_ctor_set(x_158, 3, x_156); -x_162 = lean_st_ref_set(x_3, x_158, x_159); -x_163 = lean_ctor_get(x_162, 1); -lean_inc(x_163); -lean_dec(x_162); -x_164 = lean_ctor_get(x_155, 1); -lean_inc(x_164); -lean_dec(x_155); -x_165 = l_List_reverse___rarg(x_164); -x_166 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_165, x_2, x_3, x_163); -x_167 = lean_ctor_get(x_166, 1); -lean_inc(x_167); -lean_dec(x_166); -x_168 = lean_unbox(x_154); -lean_dec(x_154); -x_7 = x_168; -x_8 = x_167; -goto block_114; -} -else -{ -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; uint8_t x_184; -x_169 = lean_ctor_get(x_158, 0); -x_170 = lean_ctor_get(x_158, 1); -x_171 = lean_ctor_get(x_158, 2); -x_172 = lean_ctor_get(x_158, 4); -x_173 = lean_ctor_get(x_158, 5); -x_174 = lean_ctor_get(x_158, 6); -x_175 = lean_ctor_get(x_158, 7); -x_176 = lean_ctor_get(x_158, 8); -lean_inc(x_176); -lean_inc(x_175); -lean_inc(x_174); -lean_inc(x_173); -lean_inc(x_172); -lean_inc(x_171); -lean_inc(x_170); -lean_inc(x_169); -lean_dec(x_158); -x_177 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_177, 0, x_169); -lean_ctor_set(x_177, 1, x_170); -lean_ctor_set(x_177, 2, x_171); -lean_ctor_set(x_177, 3, x_156); -lean_ctor_set(x_177, 4, x_172); -lean_ctor_set(x_177, 5, x_173); -lean_ctor_set(x_177, 6, x_174); -lean_ctor_set(x_177, 7, x_175); -lean_ctor_set(x_177, 8, x_176); -x_178 = lean_st_ref_set(x_3, x_177, x_159); -x_179 = lean_ctor_get(x_178, 1); -lean_inc(x_179); -lean_dec(x_178); -x_180 = lean_ctor_get(x_155, 1); -lean_inc(x_180); -lean_dec(x_155); -x_181 = l_List_reverse___rarg(x_180); -x_182 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_181, x_2, x_3, x_179); -x_183 = lean_ctor_get(x_182, 1); -lean_inc(x_183); -lean_dec(x_182); -x_184 = lean_unbox(x_154); -lean_dec(x_154); -x_7 = x_184; -x_8 = x_183; -goto block_114; -} -} -else -{ -lean_object* x_185; -x_185 = lean_ctor_get(x_153, 0); -lean_inc(x_185); -lean_dec(x_153); -if (lean_obj_tag(x_185) == 0) -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_185, 1); -lean_inc(x_187); -lean_dec(x_185); -x_188 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_188, 0, x_187); -x_189 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_189, 0, x_188); -x_190 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(x_186, x_189, x_2, x_3, x_147); -lean_dec(x_186); -x_191 = !lean_is_exclusive(x_190); -if (x_191 == 0) -{ -return x_190; -} -else -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; -x_192 = lean_ctor_get(x_190, 0); -x_193 = lean_ctor_get(x_190, 1); -lean_inc(x_193); -lean_inc(x_192); -lean_dec(x_190); -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_192); -lean_ctor_set(x_194, 1, x_193); -return x_194; -} -} -else -{ -lean_object* x_195; uint8_t x_196; -lean_dec(x_2); -x_195 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___rarg(x_147); -x_196 = !lean_is_exclusive(x_195); -if (x_196 == 0) -{ -return x_195; -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_197 = lean_ctor_get(x_195, 0); -x_198 = lean_ctor_get(x_195, 1); -lean_inc(x_198); -lean_inc(x_197); -lean_dec(x_195); -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_197); -lean_ctor_set(x_199, 1, x_198); -return x_199; -} -} -} -block_114: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 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; -x_9 = lean_unsigned_to_nat(1u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_31 = lean_st_ref_get(x_3, x_8); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_ctor_get(x_32, 0); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_Elab_Command_getScope___rarg(x_3, x_33); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_36, 2); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Elab_Command_getScope___rarg(x_3, x_37); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_ctor_get(x_40, 3); -lean_inc(x_42); -lean_dec(x_40); -lean_inc(x_34); -x_43 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_43, 0, x_34); -lean_inc(x_38); -x_44 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_44, 0, x_38); -lean_inc(x_34); -x_45 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__2___boxed), 4, 1); -lean_closure_set(x_45, 0, x_34); -lean_inc(x_42); -lean_inc(x_38); -lean_inc(x_34); -x_46 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__3___boxed), 6, 3); -lean_closure_set(x_46, 0, x_34); -lean_closure_set(x_46, 1, x_38); -lean_closure_set(x_46, 2, x_42); -lean_inc(x_34); -x_47 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___lambda__4___boxed), 6, 3); -lean_closure_set(x_47, 0, x_34); -lean_closure_set(x_47, 1, x_38); -lean_closure_set(x_47, 2, x_42); -x_48 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_48, 0, x_43); -lean_ctor_set(x_48, 1, x_44); -lean_ctor_set(x_48, 2, x_45); -lean_ctor_set(x_48, 3, x_46); -lean_ctor_set(x_48, 4, x_47); -x_49 = x_48; -x_50 = l_Lean_Elab_Command_getRef(x_2, x_3, x_41); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_52); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_ctor_get(x_2, 2); -lean_inc(x_56); -x_57 = lean_st_ref_get(x_3, x_55); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_ctor_get(x_58, 4); -lean_inc(x_60); -lean_dec(x_58); -x_61 = lean_st_ref_get(x_3, x_59); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_ctor_get(x_62, 3); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_environment_main_module(x_34); -x_66 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_66, 0, x_49); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_54); -lean_ctor_set(x_66, 3, x_56); -lean_ctor_set(x_66, 4, x_60); -lean_ctor_set(x_66, 5, x_51); -x_67 = lean_box(0); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_64); -lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_expandMacros(x_10, x_66, x_68); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_st_ref_take(x_3, x_63); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_76 = !lean_is_exclusive(x_74); -if (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; -x_77 = lean_ctor_get(x_74, 3); -lean_dec(x_77); -lean_ctor_set(x_74, 3, x_72); -x_78 = lean_st_ref_set(x_3, x_74, x_75); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_ctor_get(x_71, 1); -lean_inc(x_80); -lean_dec(x_71); -x_81 = l_List_reverse___rarg(x_80); -x_82 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_81, x_2, x_3, x_79); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_11 = x_70; -x_12 = x_83; -goto block_30; -} -else -{ -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; -x_84 = lean_ctor_get(x_74, 0); -x_85 = lean_ctor_get(x_74, 1); -x_86 = lean_ctor_get(x_74, 2); -x_87 = lean_ctor_get(x_74, 4); -x_88 = lean_ctor_get(x_74, 5); -x_89 = lean_ctor_get(x_74, 6); -x_90 = lean_ctor_get(x_74, 7); -x_91 = lean_ctor_get(x_74, 8); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_89); -lean_inc(x_88); -lean_inc(x_87); -lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_74); -x_92 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_92, 0, x_84); -lean_ctor_set(x_92, 1, x_85); -lean_ctor_set(x_92, 2, x_86); -lean_ctor_set(x_92, 3, x_72); -lean_ctor_set(x_92, 4, x_87); -lean_ctor_set(x_92, 5, x_88); -lean_ctor_set(x_92, 6, x_89); -lean_ctor_set(x_92, 7, x_90); -lean_ctor_set(x_92, 8, x_91); -x_93 = lean_st_ref_set(x_3, x_92, x_75); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_95 = lean_ctor_get(x_71, 1); -lean_inc(x_95); -lean_dec(x_71); -x_96 = l_List_reverse___rarg(x_95); -x_97 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_96, x_2, x_3, x_94); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_11 = x_70; -x_12 = x_98; -goto block_30; -} -} -else -{ -lean_object* x_99; -x_99 = lean_ctor_get(x_69, 0); -lean_inc(x_99); -lean_dec(x_69); -if (lean_obj_tag(x_99) == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_102, 0, x_101); -x_103 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_103, 0, x_102); -x_104 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_100, x_103, x_2, x_3, x_63); -lean_dec(x_100); -x_105 = !lean_is_exclusive(x_104); -if (x_105 == 0) -{ -return x_104; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_104, 0); -x_107 = lean_ctor_get(x_104, 1); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_104); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; -} -} -else -{ -lean_object* x_109; uint8_t x_110; -lean_dec(x_2); -x_109 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_63); -x_110 = !lean_is_exclusive(x_109); -if (x_110 == 0) -{ -return x_109; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_109, 0); -x_112 = lean_ctor_get(x_109, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_109); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -return x_113; -} -} -} -block_30: -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -lean_inc(x_11); -x_13 = l_Lean_Syntax_getKind(x_11); -x_14 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__4; -x_15 = lean_name_eq(x_13, x_14); -if (x_15 == 0) -{ -if (lean_obj_tag(x_13) == 1) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_13, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -lean_dec(x_13); -x_17 = lean_box(0); -x_18 = lean_name_mk_string(x_17, x_16); -x_19 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(x_7, x_11, x_18, x_2, x_3, x_12); -return x_19; +lean_dec(x_14); +lean_inc(x_15); +x_17 = l_Lean_Syntax_getKind(x_15); +x_18 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__4; +x_19 = lean_name_eq(x_17, x_18); +if (x_19 == 0) +{ +if (lean_obj_tag(x_17) == 1) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_box(0); +x_22 = lean_name_mk_string(x_21, x_20); +x_23 = lean_unbox(x_9); +lean_dec(x_9); +x_24 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(x_23, x_15, x_22, x_2, x_3, x_16); +return x_24; } else { -lean_object* x_20; lean_object* x_21; uint8_t x_22; -lean_dec(x_13); -x_20 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__6; -x_21 = l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__1(x_11, x_20, x_2, x_3, x_12); -lean_dec(x_11); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +lean_object* x_25; lean_object* x_26; uint8_t x_27; +lean_dec(x_17); +lean_dec(x_9); +x_25 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__6; +x_26 = l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__6(x_15, x_25, x_2, x_3, x_16); +lean_dec(x_15); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -return x_21; +return x_26; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_21); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_13); -x_26 = l_Lean_Syntax_getArg(x_11, x_5); -x_27 = l_Lean_Syntax_getId(x_26); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_inc(x_28); lean_dec(x_26); -x_28 = lean_erase_macro_scopes(x_27); -x_29 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(x_7, x_11, x_28, x_2, x_3, x_12); -return x_29; +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; +lean_dec(x_17); +x_31 = l_Lean_Syntax_getArg(x_15, x_5); +x_32 = l_Lean_Syntax_getId(x_31); +lean_dec(x_31); +x_33 = lean_erase_macro_scopes(x_32); +x_34 = lean_unbox(x_9); +lean_dec(x_9); +x_35 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(x_34, x_15, x_33, x_2, x_3, x_16); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_dec(x_9); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_14); +if (x_36 == 0) +{ +return x_14; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_14, 0); +x_38 = lean_ctor_get(x_14, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_14); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_2); +x_40 = !lean_is_exclusive(x_8); +if (x_40 == 0) +{ +return x_8; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_8, 0); +x_42 = lean_ctor_get(x_8, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_8); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} } } lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c index e82a41ab05..10ee23cd67 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c @@ -426,7 +426,7 @@ lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToEx lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f_match__1(lean_object*); -lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_6367_(lean_object*); +lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_6385_(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_elimRecursion___lambda__3___closed__3; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadParamDep_x3f___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); @@ -19839,7 +19839,7 @@ lean_dec(x_1); return x_14; } } -lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_6367_(lean_object* x_1) { +lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_6385_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -20181,7 +20181,7 @@ l_Lean_Elab_Structural_structuralRecursion___closed__3 = _init_l_Lean_Elab_Struc lean_mark_persistent(l_Lean_Elab_Structural_structuralRecursion___closed__3); l_Lean_Elab_Structural_structuralRecursion___closed__4 = _init_l_Lean_Elab_Structural_structuralRecursion___closed__4(); lean_mark_persistent(l_Lean_Elab_Structural_structuralRecursion___closed__4); -res = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_6367_(lean_io_mk_world()); +res = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_6385_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Print.c b/stage0/stdlib/Lean/Elab/Print.c index 0a93697980..ded0e31c6e 100644 --- a/stage0/stdlib/Lean/Elab/Print.c +++ b/stage0/stdlib/Lean/Elab/Print.c @@ -82,6 +82,7 @@ lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_levelParamsToMessa static lean_object* l___regBuiltin_Lean_Elab_Command_elabPrint___closed__5; lean_object* l_List_forM___at___private_Lean_Elab_Print_0__Lean_Elab_Command_printId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_mkHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_printIdCore___closed__2; static lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_mkHeader___closed__1; extern lean_object* l_Lean_LocalContext_empty; @@ -192,7 +193,6 @@ lean_object* l_List_forIn_loop___at___private_Lean_Elab_Print_0__Lean_Elab_Comma lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_mkHeader___closed__10; static lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_levelParamsToMessageData___closed__6; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabPrintAxioms___closed__3; lean_object* l_Lean_Elab_Command_elabPrintAxioms(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); @@ -2427,7 +2427,7 @@ x_10 = l___private_Lean_Elab_Print_0__Lean_Elab_Command_throwUnknownId___closed_ x_11 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_11, x_2, x_3, x_4); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_11, x_2, x_3, x_4); return x_12; } } @@ -2582,56 +2582,60 @@ lean_inc(x_5); x_11 = l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_Print_0__Lean_Elab_Command_printId___spec__5(x_9, x_5, x_6, x_7); if (lean_obj_tag(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_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_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_LocalContext_empty; +x_14 = lean_box(0); lean_inc(x_1); -lean_inc(x_2); -x_15 = lean_alloc_ctor(0, 4, 0); +x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_2); -lean_ctor_set(x_15, 2, x_12); -lean_ctor_set(x_15, 3, x_1); -x_16 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabEnd___spec__3(x_16, x_5, x_6, x_13); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_box(0); +lean_ctor_set(x_15, 1, x_1); +x_16 = l_Lean_LocalContext_empty; +lean_inc(x_2); +x_17 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_17, 2, x_2); +lean_ctor_set(x_17, 3, x_12); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabEnd___spec__3(x_18, x_5, x_6, x_13); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_box(0); x_3 = x_10; -x_4 = x_19; -x_7 = x_18; +x_4 = x_21; +x_7 = x_20; goto _start; } else { -uint8_t x_21; +uint8_t x_23; lean_dec(x_10); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_21 = !lean_is_exclusive(x_11); -if (x_21 == 0) +x_23 = !lean_is_exclusive(x_11); +if (x_23 == 0) { return x_11; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_11, 0); -x_23 = lean_ctor_get(x_11, 1); -lean_inc(x_23); -lean_inc(x_22); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_11, 0); +x_25 = lean_ctor_get(x_11, 1); +lean_inc(x_25); +lean_inc(x_24); lean_dec(x_11); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } } diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index b3b8bd797c..59bd6cde56 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -15,52 +15,60 @@ extern "C" { #endif uint8_t l_Lean_Syntax_isQuot(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18___boxed(lean_object**); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__44; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__9; lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__16; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__13; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__24; lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__8; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__2; lean_object* l_Lean_Syntax_unescapeAntiquot(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__13; uint8_t l_Lean_Syntax_isAntiquotSuffixSplice(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__38; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__5; lean_object* l_Lean_extractMacroScopes(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__17; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__4; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__2(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__9; size_t l_USize_add(size_t, size_t); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4; lean_object* l_List_tail_x21___rarg(lean_object*); uint8_t l_Lean_Syntax_isTokenAntiquot(lean_object*); uint8_t l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__9; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__17; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__27; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__9; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__7; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__11; +static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__27; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__6; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9; static lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__4; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238____closed__5; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__44; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__56; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___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*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27; lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__40; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__20; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___boxed(lean_object*, lean_object*, lean_object*); @@ -72,7 +80,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__24; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__26; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__17; @@ -81,10 +88,10 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__18; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__19; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__15; +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__6; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__32; @@ -97,47 +104,48 @@ lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__16; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13(lean_object*, lean_object*); -lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable___boxed(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__4; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__5; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__17; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3228____closed__1; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__34; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__31; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__6; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__1; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__25; lean_object* l_Lean_Syntax_antiquotSuffixSplice_x3f(lean_object*); lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9(lean_object*); static lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__1; +lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__11___boxed(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__28; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3228____closed__2; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__19; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__30; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__1; lean_object* l_Lean_SourceInfo_fromRef(lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__36; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__37; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__9; -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___rarg___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__12; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9; lean_object* l_Lean_Elab_Term_Quotation_mkTuple_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__28; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__15; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__4; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__35; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__14; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238____closed__1; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___boxed(lean_object**); +lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__11(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__12; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__7; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__40; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___boxed(lean_object**); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24; @@ -147,19 +155,21 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_append(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__2; static lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__3; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3(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*); size_t l_USize_sub(size_t, size_t); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__21; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__30; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__14; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___boxed(lean_object**); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10(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_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__40; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__4; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6___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_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Level_PP_Result_quote___spec__1___boxed(lean_object*, lean_object*); @@ -171,23 +181,22 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__10; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__23; lean_object* l_List_append___rarg(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___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*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__42; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__16; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__26; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__55; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__15; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233____closed__1; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___boxed(lean_object**); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__6; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__21; static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__27; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__13; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__1; @@ -196,6 +205,7 @@ lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Qu static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs_match__1___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__32; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__53; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__12; @@ -204,15 +214,15 @@ static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_ lean_object* l_Lean_Elab_Term_Quotation_mkTuple_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__42; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__1; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__18; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__10; -static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__20; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__39; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__9; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__2(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__1; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__23; @@ -228,10 +238,10 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243____closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__13; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(lean_object*); lean_object* l_Lean_Syntax_getAntiquotTerm(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__23; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__3; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__46; @@ -241,32 +251,34 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__44; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__1; +lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__17; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__6; lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__10; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__29; lean_object* l_Lean_Elab_Term_Quotation_getPatternsVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_mkTuple(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__13; lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__37; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__16; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__14; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__18; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__3; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__41; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203____closed__1; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__11; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__41; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nameLitKind; @@ -277,8 +289,8 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__13; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__11; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__16; lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__9; lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -301,7 +313,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__2; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__24; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__7; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__25; @@ -331,11 +342,8 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__6; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__42; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__26; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__5; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__22; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__2(lean_object*); @@ -344,26 +352,26 @@ static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______clos static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__15; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__18; -static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__1; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__12; lean_object* l_List_replicate___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__25; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__18; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238____closed__3; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__15; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__3; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___boxed(lean_object**); -static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__28; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__30; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__4; -lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__6; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3(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*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__12; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__2; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__8(lean_object*, size_t, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__3; @@ -376,22 +384,23 @@ static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotatio lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__8___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__22; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__23; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203____closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__29; -static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__37; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___boxed__const__1; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__25; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__21; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__7; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__6; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__14; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__8; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__13; extern lean_object* l_Lean_numLitKind; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__9; static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__4; @@ -409,9 +418,9 @@ static lean_object* l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Te lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__3; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__23; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__8; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__7; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__17; lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__4; @@ -420,37 +429,36 @@ static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Ela static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__8; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__17; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__18; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__5; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__34; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__12; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__33; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__8; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___closed__1; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__14; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__28; lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__19; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build_match__1(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__38; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__21; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__15; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__48; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__6; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__3; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__5; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__14; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__30; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__31; lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__2; @@ -459,10 +467,12 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__9; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__26; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__38; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__60; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__6; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__47; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__21; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3___rarg(lean_object*, lean_object*); @@ -474,17 +484,17 @@ static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotatio static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__12; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___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*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__17; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__3(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___boxed(lean_object**); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__43; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203____closed__5; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__8; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__9; -static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__4; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__4; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__2; @@ -498,11 +508,12 @@ uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*) static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__50; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233____closed__3; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__26; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__34; lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__19; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__20; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__40; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__17; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__12; @@ -513,22 +524,21 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233____closed__5; lean_object* l___private_Init_Meta_0__Lean_quoteNameMk(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243____closed__3; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__10; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__32; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__27; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__13; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__13; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28; -static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__14; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__20; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__1; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__16; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__26; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8; @@ -551,9 +561,8 @@ lean_object* l_Lean_Elab_Term_Quotation_mkTuple___boxed(lean_object*, lean_objec uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__11; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__7; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__5; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__64; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); @@ -564,6 +573,7 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__6; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__2(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__57; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__13; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats(lean_object*, lean_object*); @@ -573,19 +583,15 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__17; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__5; static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__11; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__15; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__32; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__16; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__9; lean_object* l_Std_RBNode_find___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__2(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__26; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24(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_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9681_(lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9687_(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__12; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__3; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__8; @@ -594,17 +600,17 @@ static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotatio uint8_t l_Array_isEmpty___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__43; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__24; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__20; extern lean_object* l_Lean_instInhabitedSyntax; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__15; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__14; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__24; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__21; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__27; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10; lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -612,49 +618,55 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__44; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__9; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3; +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__2; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__32; lean_object* l_String_dropRight(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__16; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__15; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__4; size_t lean_usize_of_nat(lean_object*); static lean_object* l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__3; uint8_t l_Lean_Syntax_isAntiquot(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_empty; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__11; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__30; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate_match__1(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__8; static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__6; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__17; lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__15; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__2; lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__20; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__36; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__12; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__6; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__18; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__22; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__18; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__3___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__15; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isAtom(lean_object*); @@ -662,75 +674,72 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__5(lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__8; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop_match__1(lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__37; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__4(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__11; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__11; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__24; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__19; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3(lean_object*); static lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__51; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__12; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__19; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__25; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__18; +lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__36; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(size_t, size_t, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2; lean_object* l_Lean_Syntax_getQuotContent(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__5(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__12; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__39; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__32; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__10; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__7(lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__16; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__16; lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__7; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__1; lean_object* l_List_redLength___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__39; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___boxed(lean_object**); +static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__35; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__15; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__6; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__9; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__19; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__16; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__32; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__23; +static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__5; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__8; -lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__3; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__18; lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213_(lean_object*); @@ -748,19 +757,21 @@ lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Q static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__5; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__30; +lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__1(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__18; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__21; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__65; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__20; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__2; +static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__7; extern lean_object* l_Id_instMonadId; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__8; uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__42; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1; @@ -771,9 +782,11 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice_match__1(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs_match__1(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__36; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__1; lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__2(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_Lean_Elab_Term_Quotation_ArrayStxBuilder_build_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -781,23 +794,21 @@ lean_object* l_Lean_Syntax_getAntiquotSpliceSuffix(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(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_Lean_MacroScopesView_review(lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__11; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3248____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33; lean_object* lean_panic_fn(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__29; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__22; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__27; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__19; static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__11; static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__3; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__33; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___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* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -806,46 +817,46 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___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* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__4; lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__2; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__18; static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__24; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__20; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__14; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__35; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__26; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__58; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__12; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__14; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__1; +static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__1___rarg(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__26; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__17; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4; lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__28; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__14; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__19; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238____closed__2; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__1; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__4; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__25; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__20; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__29; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__2; lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -855,24 +866,23 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__22; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__14; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__27; extern lean_object* l_Lean_instInhabitedName; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___boxed(lean_object**); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__2; lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__3; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__22; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6; lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__13; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__61; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1(lean_object*); @@ -880,6 +890,7 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243____closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__12; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__9; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__6; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -892,9 +903,11 @@ lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop___boxed(lean static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__31; lean_object* l_Lean_Syntax_getAntiquotSpliceContents(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233____closed__4; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__25; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__6; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__36; lean_object* lean_mk_array(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; lean_object* l_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -917,13 +930,10 @@ lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_Quotation_match__synta lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203____closed__4; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__13; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__17; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__7; -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__26; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__35; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__10; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__10; @@ -931,39 +941,39 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3213____closed__5; lean_object* lean_string_length(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__8; extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__15; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__39; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__29; lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object*); uint8_t l_Lean_Syntax_isEscapedAntiquot(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__66; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___boxed(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__24; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__13; +lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__13; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__4___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__41; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__4; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__13; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__41; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__15; static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__7(lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__13; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__23; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__16; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -974,7 +984,6 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3228____closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3218____closed__4; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3208____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__28; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__5; @@ -997,7 +1006,6 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3203____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__3; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__38; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate_match__2(lean_object*); @@ -1005,13 +1013,13 @@ lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__43; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__16; static lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__6; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__19; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__15; lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__21; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__43; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__30; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__23; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__2(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__30; @@ -1022,37 +1030,34 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3223____closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__18; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__34; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__25; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3193____closed__2; extern lean_object* l_Lean_Elab_Term_Quotation_hygiene; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__6; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3238____closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___boxed(lean_object**); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__11; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__22; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3198____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__2; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__16; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__28; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__14; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__17; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__20; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__2; lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__3; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__5; lean_object* lean_nat_to_int(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__3; lean_object* l_Lean_Syntax_antiquotKind_x3f(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__13; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); @@ -1060,33 +1065,32 @@ static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__1; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___closed__8; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__49; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__18; uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_245____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__7; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__15; static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__3; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3243____closed__2; lean_object* l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8(lean_object*); -lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__24; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__4; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__63; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3233____closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__1(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___boxed(lean_object**); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__25; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__14; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg___closed__3; @@ -1100,9 +1104,10 @@ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__14; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__17; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__29; static lean_object* l_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__1; uint8_t l_Lean_Syntax_isIdent(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__16; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__29; uint8_t l_Lean_Syntax_isAntiquotSplice(lean_object*); @@ -3671,7 +3676,38 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Te return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1(size_t x_1, size_t 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) { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; +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_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__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; +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg), 1, 0); +return x_7; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(size_t x_1, size_t 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) { _start: { uint8_t x_11; @@ -3754,7 +3790,7 @@ return x_29; } } } -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -3791,7 +3827,7 @@ return x_8; } } } -static lean_object* _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__1() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1() { _start: { lean_object* x_1; @@ -3799,22 +3835,22 @@ x_1 = lean_mk_string("Array.zip"); return x_1; } } -static lean_object* _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__2() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__1; +x_1 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__3() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__1; +x_1 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__2; +x_3 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___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); @@ -3822,7 +3858,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__4() { +static lean_object* _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__4() { _start: { lean_object* x_1; @@ -3830,7 +3866,7 @@ x_1 = lean_mk_string("zip"); return x_1; } } -lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -3859,7 +3895,7 @@ lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -x_26 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__4; +x_26 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__4; lean_inc(x_1); x_27 = lean_name_mk_string(x_1, x_26); lean_inc(x_27); @@ -3871,7 +3907,7 @@ lean_ctor_set(x_30, 1, x_29); 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 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__3; +x_32 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__3; x_33 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_33, 0, x_18); lean_ctor_set(x_33, 1, x_32); @@ -3906,7 +3942,7 @@ return x_44; } } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1() { _start: { lean_object* x_1; @@ -3914,7 +3950,7 @@ x_1 = lean_mk_string("matchDiscr"); return x_1; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { _start: { uint8_t x_6; @@ -3934,7 +3970,7 @@ x_8 = lean_array_uget(x_5, x_4); x_9 = lean_unsigned_to_nat(0u); x_10 = lean_array_uset(x_5, x_4, x_9); x_11 = x_8; -x_12 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1; +x_12 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; lean_inc(x_1); x_13 = lean_name_mk_string(x_1, x_12); x_14 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; @@ -3954,7 +3990,7 @@ goto _start; } } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1() { _start: { lean_object* x_1; @@ -3962,22 +3998,22 @@ x_1 = lean_mk_string("some"); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__2; +x_3 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___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); @@ -3985,17 +4021,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__4() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__5() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5() { _start: { lean_object* x_1; @@ -4003,51 +4039,51 @@ x_1 = lean_mk_string("Option"); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__6() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__5; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__7() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__6; -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__8() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__7; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___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; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__9() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__8; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___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_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -4073,12 +4109,12 @@ x_14 = x_11; x_15 = l_Lean_Elab_Term_Quotation_mkTuple___closed__1; lean_inc(x_4); x_16 = lean_name_mk_string(x_4, x_15); -x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__4; +x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4; lean_inc(x_2); lean_inc(x_3); x_18 = l_Lean_addMacroScope(x_3, x_17, x_2); -x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3; -x_20 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__9; +x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3; +x_20 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9; lean_inc(x_1); x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_1); @@ -4107,7 +4143,108 @@ goto _start; } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___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* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8(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) { +_start: +{ +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; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(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) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +return x_13; +} +else +{ +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_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +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_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___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) { _start: { lean_object* x_9; @@ -4117,7 +4254,7 @@ lean_ctor_set(x_9, 1, x_8); return x_9; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -4179,7 +4316,7 @@ return x_25; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4189,17 +4326,17 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__1; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__1; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__3() { _start: { lean_object* x_1; @@ -4207,22 +4344,22 @@ x_1 = lean_mk_string("mkSepArray"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__3; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__3; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__5() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__3; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__4; +x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4230,51 +4367,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__6() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__3; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__7() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__2; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__3; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__8() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__7; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___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; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__9() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__8; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___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; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10() { _start: { lean_object* x_1; @@ -4282,17 +4419,17 @@ x_1 = lean_mk_string("paren"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12() { _start: { lean_object* x_1; @@ -4300,7 +4437,7 @@ x_1 = lean_mk_string("("); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__13() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__13() { _start: { lean_object* x_1; @@ -4308,22 +4445,22 @@ x_1 = lean_mk_string("mkAtom"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__14() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__13; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__13; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__15() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__13; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__13; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__14; +x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___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); @@ -4331,51 +4468,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__16() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__13; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__17() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__2; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__13; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__18() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__17; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__17; 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; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__19() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__18; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__18; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20() { _start: { lean_object* x_1; @@ -4383,7 +4520,7 @@ x_1 = lean_mk_string(")"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21() { _start: { lean_object* x_1; lean_object* x_2; @@ -4392,16 +4529,16 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___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, 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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; uint8_t x_15; -x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__2; -x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(x_3, x_14); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2; +x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_3, x_14); if (x_15 == 0) { lean_object* x_16; -x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__2(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_16; } else @@ -4425,27 +4562,27 @@ lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -x_26 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__6; +x_26 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__6; lean_inc(x_21); lean_inc(x_24); x_27 = l_Lean_addMacroScope(x_24, x_26, x_21); -x_28 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__5; -x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__9; +x_28 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__5; +x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__9; lean_inc(x_18); x_30 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_30, 0, x_18); lean_ctor_set(x_30, 1, x_28); lean_ctor_set(x_30, 2, x_27); lean_ctor_set(x_30, 3, x_29); -x_31 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_31 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_18); x_32 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_32, 0, x_18); lean_ctor_set(x_32, 1, x_31); -x_33 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__16; +x_33 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__16; x_34 = l_Lean_addMacroScope(x_24, x_33, x_21); -x_35 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__15; -x_36 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__19; +x_35 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__15; +x_36 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__19; lean_inc(x_18); x_37 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_37, 0, x_18); @@ -4472,15 +4609,15 @@ x_50 = lean_array_push(x_48, x_49); x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_41); lean_ctor_set(x_51, 1, x_50); -x_52 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_52 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_53 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_53, 0, x_18); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_55 = lean_array_push(x_54, x_32); x_56 = lean_array_push(x_55, x_51); x_57 = lean_array_push(x_56, x_53); -x_58 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_58 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); @@ -4494,12 +4631,12 @@ x_64 = lean_array_push(x_63, x_62); x_65 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_65, 0, x_46); lean_ctor_set(x_65, 1, x_64); -x_66 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2(x_1, x_2, x_5, x_65, x_7, x_8, x_9, x_10, x_11, x_12, x_25); +x_66 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__2(x_1, x_2, x_5, x_65, x_7, x_8, x_9, x_10, x_11, x_12, x_25); return x_66; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -4507,22 +4644,22 @@ x_1 = lean_mk_string("Array.map"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__1; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__1; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__2; +x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___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); @@ -4530,7 +4667,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4() { _start: { lean_object* x_1; @@ -4538,7 +4675,7 @@ x_1 = lean_mk_string("map"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5() { _start: { lean_object* x_1; @@ -4546,17 +4683,17 @@ x_1 = lean_mk_string("fun"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__7() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7() { _start: { lean_object* x_1; @@ -4564,17 +4701,17 @@ x_1 = lean_mk_string("basicFun"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__7; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9() { _start: { lean_object* x_1; @@ -4582,7 +4719,7 @@ x_1 = lean_mk_string("=>"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10() { _start: { lean_object* x_1; @@ -4590,17 +4727,17 @@ x_1 = lean_mk_string("match"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__11() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__12() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__12() { _start: { lean_object* x_1; @@ -4608,19 +4745,19 @@ x_1 = lean_mk_string(","); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__13() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(2); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__12; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__12; 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; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__14() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14() { _start: { lean_object* x_1; @@ -4628,7 +4765,7 @@ x_1 = lean_mk_string("with"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__15() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__15() { _start: { lean_object* x_1; @@ -4636,17 +4773,17 @@ x_1 = lean_mk_string("matchAlts"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__16() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__15; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__15; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__17() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__17() { _start: { lean_object* x_1; @@ -4654,17 +4791,17 @@ x_1 = lean_mk_string("matchAlt"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__18() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__17; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__19() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19() { _start: { lean_object* x_1; @@ -4672,7 +4809,7 @@ x_1 = lean_mk_string("|"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__20() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__20() { _start: { lean_object* x_1; @@ -4680,22 +4817,22 @@ x_1 = lean_mk_string("none"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__21() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__20; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__20; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__22() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__20; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__20; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__21; +x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__21; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4703,51 +4840,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__23() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__20; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__24() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__6; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__20; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__25() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__24; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__24; 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; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__26() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__25; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___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; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__27() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__27() { _start: { lean_object* x_1; @@ -4755,22 +4892,22 @@ x_1 = lean_mk_string("Array.empty"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__28() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__28() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__27; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__27; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__29() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__27; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__27; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__28; +x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__28; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4778,7 +4915,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__30() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__30() { _start: { lean_object* x_1; @@ -4786,7 +4923,7 @@ x_1 = lean_mk_string("empty"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31() { _start: { lean_object* x_1; lean_object* x_2; @@ -4795,7 +4932,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4(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, size_t 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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4(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, size_t 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) { _start: { if (lean_obj_tag(x_3) == 0) @@ -4840,7 +4977,7 @@ lean_dec(x_27); x_96 = lean_usize_of_nat(x_26); lean_dec(x_26); lean_inc(x_6); -x_97 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_6, x_24, x_95, x_96, x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_97 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_6, x_24, x_95, x_96, x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_24); x_98 = lean_ctor_get(x_97, 0); lean_inc(x_98); @@ -4874,7 +5011,7 @@ lean_dec(x_25); x_102 = lean_usize_of_nat(x_26); lean_dec(x_26); lean_inc(x_6); -x_103 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_6, x_24, x_101, x_102, x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_103 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_6, x_24, x_101, x_102, x_18, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_24); x_104 = lean_ctor_get(x_103, 0); lean_inc(x_104); @@ -4913,7 +5050,7 @@ lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__4; +x_43 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4; x_44 = lean_name_mk_string(x_6, x_43); lean_inc(x_44); x_45 = l_Lean_addMacroScope(x_41, x_44, x_38); @@ -4924,19 +5061,19 @@ lean_ctor_set(x_47, 1, x_46); 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_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__3; +x_49 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__3; lean_inc(x_35); x_50 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_50, 0, x_35); lean_ctor_set(x_50, 1, x_49); lean_ctor_set(x_50, 2, x_45); lean_ctor_set(x_50, 3, x_48); -x_51 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_51 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_35); x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_35); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_35); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_35); @@ -4947,7 +5084,7 @@ x_57 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiq 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_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_35); x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_35); @@ -4955,18 +5092,18 @@ lean_ctor_set(x_60, 1, x_59); x_61 = l_Lean_instInhabitedSyntax; x_62 = lean_array_get(x_61, x_7, x_22); lean_dec(x_7); -x_63 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_63 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_64 = lean_array_push(x_63, x_58); x_65 = lean_array_push(x_64, x_60); x_66 = lean_array_push(x_65, x_62); -x_67 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8; +x_67 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8; 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 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_70 = lean_array_push(x_69, x_54); x_71 = lean_array_push(x_70, x_68); -x_72 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6; +x_72 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6; x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); @@ -4976,14 +5113,14 @@ x_76 = lean_array_push(x_74, x_75); x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_57); lean_ctor_set(x_77, 1, x_76); -x_78 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_78 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_79 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_79, 0, x_35); lean_ctor_set(x_79, 1, x_78); x_80 = lean_array_push(x_63, x_52); x_81 = lean_array_push(x_80, x_77); x_82 = lean_array_push(x_81, x_79); -x_83 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_83 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_84 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_82); @@ -4998,7 +5135,7 @@ x_90 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); -x_92 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3(x_1, x_2, x_3, x_4, x_9, x_91, x_11, x_12, x_13, x_14, x_15, x_16, x_42); +x_92 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3(x_1, x_2, x_3, x_4, x_9, x_91, x_11, x_12, x_13, x_14, x_15, x_16, x_42); return x_92; } } @@ -5049,7 +5186,7 @@ lean_dec(x_116); x_185 = lean_usize_of_nat(x_115); lean_dec(x_115); lean_inc(x_6); -x_186 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_6, x_113, x_184, x_185, x_107, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_186 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_6, x_113, x_184, x_185, x_107, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_113); x_187 = lean_ctor_get(x_186, 0); lean_inc(x_187); @@ -5083,7 +5220,7 @@ lean_dec(x_114); x_191 = lean_usize_of_nat(x_115); lean_dec(x_115); lean_inc(x_6); -x_192 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_6, x_113, x_190, x_191, x_107, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_192 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_6, x_113, x_190, x_191, x_107, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_113); x_193 = lean_ctor_get(x_192, 0); lean_inc(x_193); @@ -5122,7 +5259,7 @@ lean_inc(x_130); x_131 = lean_ctor_get(x_129, 1); lean_inc(x_131); lean_dec(x_129); -x_132 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__4; +x_132 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4; x_133 = lean_name_mk_string(x_6, x_132); lean_inc(x_133); x_134 = l_Lean_addMacroScope(x_130, x_133, x_127); @@ -5133,19 +5270,19 @@ lean_ctor_set(x_136, 1, x_135); x_137 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_137, 0, x_136); lean_ctor_set(x_137, 1, x_135); -x_138 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__3; +x_138 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__3; lean_inc(x_124); x_139 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_139, 0, x_124); lean_ctor_set(x_139, 1, x_138); lean_ctor_set(x_139, 2, x_134); lean_ctor_set(x_139, 3, x_137); -x_140 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_140 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_124); x_141 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_141, 0, x_124); lean_ctor_set(x_141, 1, x_140); -x_142 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_142 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_124); x_143 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_143, 0, x_124); @@ -5156,7 +5293,7 @@ x_146 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAnti x_147 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_147, 0, x_146); lean_ctor_set(x_147, 1, x_145); -x_148 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_148 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_124); x_149 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_149, 0, x_124); @@ -5164,18 +5301,18 @@ lean_ctor_set(x_149, 1, x_148); x_150 = l_Lean_instInhabitedSyntax; x_151 = lean_array_get(x_150, x_7, x_111); lean_dec(x_7); -x_152 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_152 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_153 = lean_array_push(x_152, x_147); x_154 = lean_array_push(x_153, x_149); x_155 = lean_array_push(x_154, x_151); -x_156 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8; +x_156 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8; x_157 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_157, 0, x_156); lean_ctor_set(x_157, 1, x_155); x_158 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_159 = lean_array_push(x_158, x_143); x_160 = lean_array_push(x_159, x_157); -x_161 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6; +x_161 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6; x_162 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_160); @@ -5185,14 +5322,14 @@ x_165 = lean_array_push(x_163, x_164); x_166 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_166, 0, x_146); lean_ctor_set(x_166, 1, x_165); -x_167 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_167 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_168 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_168, 0, x_124); lean_ctor_set(x_168, 1, x_167); x_169 = lean_array_push(x_152, x_141); x_170 = lean_array_push(x_169, x_166); x_171 = lean_array_push(x_170, x_168); -x_172 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_172 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_173 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_173, 0, x_172); lean_ctor_set(x_173, 1, x_171); @@ -5207,7 +5344,7 @@ x_179 = l_Lean_Elab_Term_Quotation_mkTuple___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); -x_181 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3(x_1, x_2, x_3, x_4, x_9, x_180, x_11, x_12, x_13, x_14, x_15, x_16, x_131); +x_181 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3(x_1, x_2, x_3, x_4, x_9, x_180, x_11, x_12, x_13, x_14, x_15, x_16, x_131); return x_181; } } @@ -5264,7 +5401,7 @@ lean_dec(x_208); x_277 = lean_usize_of_nat(x_207); lean_dec(x_207); lean_inc(x_6); -x_278 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_6, x_205, x_276, x_277, x_199, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_278 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_6, x_205, x_276, x_277, x_199, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_205); x_279 = lean_ctor_get(x_278, 0); lean_inc(x_279); @@ -5298,7 +5435,7 @@ lean_dec(x_206); x_283 = lean_usize_of_nat(x_207); lean_dec(x_207); lean_inc(x_6); -x_284 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_6, x_205, x_282, x_283, x_199, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_284 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_6, x_205, x_282, x_283, x_199, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_205); x_285 = lean_ctor_get(x_284, 0); lean_inc(x_285); @@ -5337,7 +5474,7 @@ lean_inc(x_222); x_223 = lean_ctor_get(x_221, 1); lean_inc(x_223); lean_dec(x_221); -x_224 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__4; +x_224 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4; x_225 = lean_name_mk_string(x_6, x_224); lean_inc(x_225); x_226 = l_Lean_addMacroScope(x_222, x_225, x_219); @@ -5348,19 +5485,19 @@ lean_ctor_set(x_228, 1, x_227); 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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__3; +x_230 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__3; lean_inc(x_216); x_231 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_231, 0, x_216); lean_ctor_set(x_231, 1, x_230); lean_ctor_set(x_231, 2, x_226); lean_ctor_set(x_231, 3, x_229); -x_232 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_232 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_216); x_233 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_233, 0, x_216); lean_ctor_set(x_233, 1, x_232); -x_234 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_234 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_216); x_235 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_235, 0, x_216); @@ -5371,7 +5508,7 @@ x_238 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAnti x_239 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_239, 0, x_238); lean_ctor_set(x_239, 1, x_237); -x_240 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_240 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_216); x_241 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_241, 0, x_216); @@ -5379,18 +5516,18 @@ lean_ctor_set(x_241, 1, x_240); x_242 = l_Lean_instInhabitedSyntax; x_243 = lean_array_get(x_242, x_7, x_203); lean_dec(x_7); -x_244 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_244 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_245 = lean_array_push(x_244, x_239); x_246 = lean_array_push(x_245, x_241); x_247 = lean_array_push(x_246, x_243); -x_248 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8; +x_248 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8; x_249 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_249, 0, x_248); lean_ctor_set(x_249, 1, x_247); x_250 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_251 = lean_array_push(x_250, x_235); x_252 = lean_array_push(x_251, x_249); -x_253 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6; +x_253 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6; x_254 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_254, 0, x_253); lean_ctor_set(x_254, 1, x_252); @@ -5400,14 +5537,14 @@ x_257 = lean_array_push(x_255, x_256); x_258 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_258, 0, x_238); lean_ctor_set(x_258, 1, x_257); -x_259 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_259 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_260 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_260, 0, x_216); lean_ctor_set(x_260, 1, x_259); x_261 = lean_array_push(x_244, x_233); x_262 = lean_array_push(x_261, x_258); x_263 = lean_array_push(x_262, x_260); -x_264 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_264 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_265 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_265, 0, x_264); lean_ctor_set(x_265, 1, x_263); @@ -5422,7 +5559,7 @@ x_271 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; x_272 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_272, 0, x_271); lean_ctor_set(x_272, 1, x_270); -x_273 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3(x_1, x_2, x_3, x_4, x_9, x_272, x_11, x_12, x_13, x_14, x_15, x_16, x_223); +x_273 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3(x_1, x_2, x_3, x_4, x_9, x_272, x_11, x_12, x_13, x_14, x_15, x_16, x_223); return x_273; } } @@ -5447,7 +5584,7 @@ lean_inc(x_294); x_295 = lean_ctor_get(x_293, 1); lean_inc(x_295); lean_dec(x_293); -x_296 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10; +x_296 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10; lean_inc(x_288); x_297 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_297, 0, x_288); @@ -5459,9 +5596,9 @@ x_300 = x_5; x_301 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; x_302 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; lean_inc(x_300); -x_303 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_301, x_302, x_299, x_8, x_300); +x_303 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(x_301, x_302, x_299, x_8, x_300); x_304 = x_303; -x_305 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__13; +x_305 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__13; x_306 = l_Lean_mkSepArray(x_304, x_305); lean_dec(x_304); x_307 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__15; @@ -5471,12 +5608,12 @@ x_309 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAnti x_310 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_310, 0, x_309); lean_ctor_set(x_310, 1, x_308); -x_311 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__14; +x_311 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14; lean_inc(x_288); x_312 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_312, 0, x_288); lean_ctor_set(x_312, 1, x_311); -x_313 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__19; +x_313 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19; lean_inc(x_288); x_314 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_314, 0, x_288); @@ -5484,7 +5621,7 @@ lean_ctor_set(x_314, 1, x_313); lean_inc(x_294); lean_inc(x_291); lean_inc(x_288); -x_315 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(x_288, x_291, x_294, x_301, x_309, x_299, x_8, x_300); +x_315 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(x_288, x_291, x_294, x_301, x_309, x_299, x_8, x_300); x_316 = x_315; x_317 = l_Lean_mkSepArray(x_316, x_305); lean_dec(x_316); @@ -5493,7 +5630,7 @@ lean_dec(x_317); x_319 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_319, 0, x_309); lean_ctor_set(x_319, 1, x_318); -x_320 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_320 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_288); x_321 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_321, 0, x_288); @@ -5511,17 +5648,17 @@ x_330 = lean_array_push(x_329, x_319); lean_inc(x_321); x_331 = lean_array_push(x_330, x_321); x_332 = lean_array_push(x_331, x_327); -x_333 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__18; +x_333 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__18; x_334 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_334, 0, x_333); lean_ctor_set(x_334, 1, x_332); -x_335 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__23; +x_335 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__23; lean_inc(x_291); lean_inc(x_294); x_336 = l_Lean_addMacroScope(x_294, x_335, x_291); x_337 = lean_box(0); -x_338 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__22; -x_339 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__26; +x_338 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__22; +x_339 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__26; lean_inc(x_288); x_340 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_340, 0, x_288); @@ -5532,7 +5669,7 @@ x_341 = lean_array_push(x_324, x_340); x_342 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_342, 0, x_309); lean_ctor_set(x_342, 1, x_341); -x_343 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__30; +x_343 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__30; x_344 = lean_name_mk_string(x_6, x_343); lean_inc(x_344); x_345 = l_Lean_addMacroScope(x_294, x_344, x_291); @@ -5542,7 +5679,7 @@ lean_ctor_set(x_346, 1, x_337); x_347 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_347, 0, x_346); lean_ctor_set(x_347, 1, x_337); -x_348 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__29; +x_348 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__29; x_349 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_349, 0, x_288); lean_ctor_set(x_349, 1, x_348); @@ -5561,22 +5698,22 @@ x_357 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_357, 0, x_309); lean_ctor_set(x_357, 1, x_356); x_358 = lean_array_push(x_324, x_357); -x_359 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__16; +x_359 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__16; x_360 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_360, 0, x_359); lean_ctor_set(x_360, 1, x_358); -x_361 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31; +x_361 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31; x_362 = lean_array_push(x_361, x_297); x_363 = lean_array_push(x_362, x_302); x_364 = lean_array_push(x_363, x_310); x_365 = lean_array_push(x_364, x_302); x_366 = lean_array_push(x_365, x_312); x_367 = lean_array_push(x_366, x_360); -x_368 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__11; +x_368 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11; x_369 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_369, 0, x_368); lean_ctor_set(x_369, 1, x_367); -x_370 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3(x_1, x_2, x_3, x_4, x_9, x_369, x_11, x_12, x_13, x_14, x_15, x_16, x_295); +x_370 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3(x_1, x_2, x_3, x_4, x_9, x_369, x_11, x_12, x_13, x_14, x_15, x_16, x_295); return x_370; } } @@ -5622,7 +5759,7 @@ lean_dec(x_380); x_449 = lean_usize_of_nat(x_379); lean_dec(x_379); lean_inc(x_6); -x_450 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_6, x_377, x_448, x_449, x_371, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_450 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_6, x_377, x_448, x_449, x_371, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_377); x_451 = lean_ctor_get(x_450, 0); lean_inc(x_451); @@ -5656,7 +5793,7 @@ lean_dec(x_378); x_455 = lean_usize_of_nat(x_379); lean_dec(x_379); lean_inc(x_6); -x_456 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_6, x_377, x_454, x_455, x_371, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_456 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_6, x_377, x_454, x_455, x_371, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_377); x_457 = lean_ctor_get(x_456, 0); lean_inc(x_457); @@ -5695,7 +5832,7 @@ lean_inc(x_394); x_395 = lean_ctor_get(x_393, 1); lean_inc(x_395); lean_dec(x_393); -x_396 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__4; +x_396 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4; x_397 = lean_name_mk_string(x_6, x_396); lean_inc(x_397); x_398 = l_Lean_addMacroScope(x_394, x_397, x_391); @@ -5706,19 +5843,19 @@ lean_ctor_set(x_400, 1, x_399); x_401 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_401, 0, x_400); lean_ctor_set(x_401, 1, x_399); -x_402 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__3; +x_402 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__3; lean_inc(x_388); x_403 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_403, 0, x_388); lean_ctor_set(x_403, 1, x_402); lean_ctor_set(x_403, 2, x_398); lean_ctor_set(x_403, 3, x_401); -x_404 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_404 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_388); x_405 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_405, 0, x_388); lean_ctor_set(x_405, 1, x_404); -x_406 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_406 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_388); x_407 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_407, 0, x_388); @@ -5729,7 +5866,7 @@ x_410 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAnti 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_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_412 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_388); x_413 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_413, 0, x_388); @@ -5737,18 +5874,18 @@ lean_ctor_set(x_413, 1, x_412); x_414 = l_Lean_instInhabitedSyntax; x_415 = lean_array_get(x_414, x_7, x_375); lean_dec(x_7); -x_416 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_416 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_417 = lean_array_push(x_416, x_411); x_418 = lean_array_push(x_417, x_413); x_419 = lean_array_push(x_418, x_415); -x_420 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8; +x_420 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8; x_421 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_421, 0, x_420); lean_ctor_set(x_421, 1, x_419); x_422 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_423 = lean_array_push(x_422, x_407); x_424 = lean_array_push(x_423, x_421); -x_425 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6; +x_425 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6; x_426 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_426, 0, x_425); lean_ctor_set(x_426, 1, x_424); @@ -5758,14 +5895,14 @@ x_429 = lean_array_push(x_427, x_428); x_430 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_430, 0, x_410); lean_ctor_set(x_430, 1, x_429); -x_431 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_431 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_432 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_432, 0, x_388); lean_ctor_set(x_432, 1, x_431); x_433 = lean_array_push(x_416, x_405); x_434 = lean_array_push(x_433, x_430); x_435 = lean_array_push(x_434, x_432); -x_436 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_436 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_437 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_437, 0, x_436); lean_ctor_set(x_437, 1, x_435); @@ -5780,7 +5917,7 @@ x_443 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; x_444 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_444, 0, x_443); lean_ctor_set(x_444, 1, x_442); -x_445 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3(x_1, x_2, x_3, x_4, x_9, x_444, x_11, x_12, x_13, x_14, x_15, x_16, x_395); +x_445 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3(x_1, x_2, x_3, x_4, x_9, x_444, x_11, x_12, x_13, x_14, x_15, x_16, x_395); return x_445; } } @@ -5826,7 +5963,7 @@ lean_dec(x_468); x_537 = lean_usize_of_nat(x_467); lean_dec(x_467); lean_inc(x_6); -x_538 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_6, x_465, x_536, x_537, x_459, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_538 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_6, x_465, x_536, x_537, x_459, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_465); x_539 = lean_ctor_get(x_538, 0); lean_inc(x_539); @@ -5860,7 +5997,7 @@ lean_dec(x_466); x_543 = lean_usize_of_nat(x_467); lean_dec(x_467); lean_inc(x_6); -x_544 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_6, x_465, x_542, x_543, x_459, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_544 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_6, x_465, x_542, x_543, x_459, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_465); x_545 = lean_ctor_get(x_544, 0); lean_inc(x_545); @@ -5899,7 +6036,7 @@ lean_inc(x_482); x_483 = lean_ctor_get(x_481, 1); lean_inc(x_483); lean_dec(x_481); -x_484 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__4; +x_484 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4; x_485 = lean_name_mk_string(x_6, x_484); lean_inc(x_485); x_486 = l_Lean_addMacroScope(x_482, x_485, x_479); @@ -5910,19 +6047,19 @@ lean_ctor_set(x_488, 1, x_487); 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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__3; +x_490 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__3; lean_inc(x_476); x_491 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_491, 0, x_476); lean_ctor_set(x_491, 1, x_490); lean_ctor_set(x_491, 2, x_486); lean_ctor_set(x_491, 3, x_489); -x_492 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_492 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_476); x_493 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_493, 0, x_476); lean_ctor_set(x_493, 1, x_492); -x_494 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_494 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_476); x_495 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_495, 0, x_476); @@ -5933,7 +6070,7 @@ x_498 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAnti x_499 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_499, 0, x_498); lean_ctor_set(x_499, 1, x_497); -x_500 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_500 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_476); x_501 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_501, 0, x_476); @@ -5941,18 +6078,18 @@ lean_ctor_set(x_501, 1, x_500); x_502 = l_Lean_instInhabitedSyntax; x_503 = lean_array_get(x_502, x_7, x_463); lean_dec(x_7); -x_504 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_504 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_505 = lean_array_push(x_504, x_499); x_506 = lean_array_push(x_505, x_501); x_507 = lean_array_push(x_506, x_503); -x_508 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8; +x_508 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8; 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 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_511 = lean_array_push(x_510, x_495); x_512 = lean_array_push(x_511, x_509); -x_513 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6; +x_513 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6; x_514 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_514, 0, x_513); lean_ctor_set(x_514, 1, x_512); @@ -5962,14 +6099,14 @@ x_517 = lean_array_push(x_515, x_516); x_518 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_518, 0, x_498); lean_ctor_set(x_518, 1, x_517); -x_519 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_519 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_520 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_520, 0, x_476); lean_ctor_set(x_520, 1, x_519); x_521 = lean_array_push(x_504, x_493); x_522 = lean_array_push(x_521, x_518); x_523 = lean_array_push(x_522, x_520); -x_524 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_524 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_525 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_525, 0, x_524); lean_ctor_set(x_525, 1, x_523); @@ -5984,7 +6121,7 @@ x_531 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; x_532 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_532, 0, x_531); lean_ctor_set(x_532, 1, x_530); -x_533 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3(x_1, x_2, x_3, x_4, x_9, x_532, x_11, x_12, x_13, x_14, x_15, x_16, x_483); +x_533 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3(x_1, x_2, x_3, x_4, x_9, x_532, x_11, x_12, x_13, x_14, x_15, x_16, x_483); return x_533; } } @@ -6032,7 +6169,7 @@ lean_dec(x_556); x_625 = lean_usize_of_nat(x_555); lean_dec(x_555); lean_inc(x_6); -x_626 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_6, x_553, x_624, x_625, x_547, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_626 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_6, x_553, x_624, x_625, x_547, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_553); x_627 = lean_ctor_get(x_626, 0); lean_inc(x_627); @@ -6066,7 +6203,7 @@ lean_dec(x_554); x_631 = lean_usize_of_nat(x_555); lean_dec(x_555); lean_inc(x_6); -x_632 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_6, x_553, x_630, x_631, x_547, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_632 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_6, x_553, x_630, x_631, x_547, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_553); x_633 = lean_ctor_get(x_632, 0); lean_inc(x_633); @@ -6105,7 +6242,7 @@ lean_inc(x_570); x_571 = lean_ctor_get(x_569, 1); lean_inc(x_571); lean_dec(x_569); -x_572 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__4; +x_572 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4; x_573 = lean_name_mk_string(x_6, x_572); lean_inc(x_573); x_574 = l_Lean_addMacroScope(x_570, x_573, x_567); @@ -6116,19 +6253,19 @@ lean_ctor_set(x_576, 1, x_575); x_577 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_577, 0, x_576); lean_ctor_set(x_577, 1, x_575); -x_578 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__3; +x_578 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__3; lean_inc(x_564); x_579 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_579, 0, x_564); lean_ctor_set(x_579, 1, x_578); lean_ctor_set(x_579, 2, x_574); lean_ctor_set(x_579, 3, x_577); -x_580 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_580 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_564); x_581 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_581, 0, x_564); lean_ctor_set(x_581, 1, x_580); -x_582 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_582 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_564); x_583 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_583, 0, x_564); @@ -6139,7 +6276,7 @@ x_586 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAnti x_587 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_587, 0, x_586); lean_ctor_set(x_587, 1, x_585); -x_588 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_588 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_564); x_589 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_589, 0, x_564); @@ -6147,18 +6284,18 @@ lean_ctor_set(x_589, 1, x_588); x_590 = l_Lean_instInhabitedSyntax; x_591 = lean_array_get(x_590, x_7, x_551); lean_dec(x_7); -x_592 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_592 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_593 = lean_array_push(x_592, x_587); x_594 = lean_array_push(x_593, x_589); x_595 = lean_array_push(x_594, x_591); -x_596 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8; +x_596 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8; x_597 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_597, 0, x_596); lean_ctor_set(x_597, 1, x_595); x_598 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_599 = lean_array_push(x_598, x_583); x_600 = lean_array_push(x_599, x_597); -x_601 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6; +x_601 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6; x_602 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_602, 0, x_601); lean_ctor_set(x_602, 1, x_600); @@ -6168,14 +6305,14 @@ x_605 = lean_array_push(x_603, x_604); x_606 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_606, 0, x_586); lean_ctor_set(x_606, 1, x_605); -x_607 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_607 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_608 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_608, 0, x_564); lean_ctor_set(x_608, 1, x_607); x_609 = lean_array_push(x_592, x_581); x_610 = lean_array_push(x_609, x_606); x_611 = lean_array_push(x_610, x_608); -x_612 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_612 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_613 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_613, 0, x_612); lean_ctor_set(x_613, 1, x_611); @@ -6190,7 +6327,7 @@ x_619 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; x_620 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_620, 0, x_619); lean_ctor_set(x_620, 1, x_618); -x_621 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3(x_1, x_2, x_3, x_4, x_9, x_620, x_11, x_12, x_13, x_14, x_15, x_16, x_571); +x_621 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3(x_1, x_2, x_3, x_4, x_9, x_620, x_11, x_12, x_13, x_14, x_15, x_16, x_571); return x_621; } } @@ -6198,15 +6335,15 @@ return x_621; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__1___boxed), 8, 0); +x_1 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__1___boxed), 8, 0); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__2() { _start: { lean_object* x_1; @@ -6214,16 +6351,16 @@ x_1 = lean_mk_string("antiquotation splice must contain at least one antiquotati return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__4() { _start: { lean_object* x_1; @@ -6231,48 +6368,48 @@ x_1 = lean_mk_string("invalid antiquotation suffix splice kind '"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__20; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__20; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__6; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__7; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__9() { _start: { lean_object* x_1; @@ -6280,28 +6417,28 @@ x_1 = lean_mk_string("'"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__10() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__9; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__11() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__10; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__8; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__12() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__12() { _start: { lean_object* x_1; @@ -6309,47 +6446,47 @@ x_1 = lean_mk_string("some ("); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__13() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__12; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__12; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__14() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__13; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__13; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__15() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__16() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__15; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__15; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__17() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__17() { _start: { lean_object* x_1; @@ -6357,17 +6494,17 @@ x_1 = lean_mk_string("explicit"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__18() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__17; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__19() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__19() { _start: { lean_object* x_1; @@ -6375,7 +6512,7 @@ x_1 = lean_mk_string("@"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__20() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__20() { _start: { lean_object* x_1; @@ -6383,22 +6520,22 @@ x_1 = lean_mk_string("SepArray.elemsAndSeps"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__21() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__20; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__20; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__22() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__20; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__20; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__21; +x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__21; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -6406,7 +6543,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__23() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__23() { _start: { lean_object* x_1; @@ -6414,17 +6551,17 @@ x_1 = lean_mk_string("SepArray"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__24() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__23; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__23; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__25() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__25() { _start: { lean_object* x_1; @@ -6432,17 +6569,17 @@ x_1 = lean_mk_string("elemsAndSeps"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__26() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__24; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__25; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__24; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__27() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27() { _start: { lean_object* x_1; @@ -6450,71 +6587,71 @@ x_1 = lean_mk_string("Syntax"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__2; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__27; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__29() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__23; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__23; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__30() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__29; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__25; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__29; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__31() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__30; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__30; 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; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__32() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__31; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__31; 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; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__33() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__34() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -6524,7 +6661,7 @@ x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__35() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__35() { _start: { lean_object* x_1; @@ -6532,22 +6669,22 @@ x_1 = lean_mk_string("x"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__36() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__36() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__35; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__35; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__37() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__35; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__35; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__36; +x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___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); @@ -6555,17 +6692,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__38() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__35; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__35; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__39() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__39() { _start: { lean_object* x_1; @@ -6573,22 +6710,22 @@ x_1 = lean_mk_string("Array.empty.push"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__40() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__39; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__39; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__41() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__39; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__39; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__40; +x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__40; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -6596,7 +6733,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__42() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -6608,31 +6745,31 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__43() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__43() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__24; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__24; 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; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__44() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__44() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__43; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t 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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t 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) { _start: { uint8_t x_18; @@ -6788,7 +6925,7 @@ else { lean_object* x_57; lean_object* x_58; lean_object* x_59; x_57 = l_Lean_Syntax_antiquotSpliceKind_x3f(x_20); -x_58 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1; +x_58 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__1; lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); @@ -6816,7 +6953,7 @@ lean_dec(x_65); x_67 = x_64; x_68 = lean_box_usize(x_66); x_69 = lean_box_usize(x_5); -x_70 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___boxed), 10, 3); +x_70 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2___boxed), 10, 3); lean_closure_set(x_70, 0, x_68); lean_closure_set(x_70, 1, x_69); lean_closure_set(x_70, 2, x_67); @@ -6865,7 +7002,7 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_3); lean_inc(x_4); -x_80 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4(x_63, x_4, x_57, x_62, x_76, x_3, x_73, x_5, x_10, x_79, x_11, x_12, x_13, x_14, x_15, x_16, x_77); +x_80 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4(x_63, x_4, x_57, x_62, x_76, x_3, x_73, x_5, x_10, x_79, x_11, x_12, x_13, x_14, x_15, x_16, x_77); lean_dec(x_62); lean_dec(x_57); if (lean_obj_tag(x_80) == 0) @@ -6924,7 +7061,7 @@ lean_dec(x_10); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_87 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3; +x_87 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__3; x_88 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(x_2, x_87, x_11, x_12, x_13, x_14, x_15, x_16, x_77); lean_dec(x_16); lean_dec(x_14); @@ -7072,8 +7209,8 @@ lean_dec(x_10); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_108 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__11; -x_109 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_20, x_108, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_108 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__11; +x_109 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_20, x_108, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_16); lean_dec(x_14); lean_dec(x_13); @@ -7137,23 +7274,23 @@ lean_dec(x_4); lean_dec(x_3); x_123 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_123, 0, x_114); -x_124 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__14; +x_124 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__14; x_125 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_125, 0, x_124); lean_ctor_set(x_125, 1, x_123); -x_126 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__16; +x_126 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__16; x_127 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_127, 0, x_125); lean_ctor_set(x_127, 1, x_126); -x_128 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5; +x_128 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5; x_129 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_129, 0, x_128); lean_ctor_set(x_129, 1, x_127); -x_130 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__10; +x_130 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10; x_131 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_131, 0, x_129); lean_ctor_set(x_131, 1, x_130); -x_132 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_20, x_131, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_132 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_20, x_131, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_16); lean_dec(x_14); lean_dec(x_13); @@ -7200,15 +7337,15 @@ lean_inc(x_144); x_145 = lean_ctor_get(x_143, 1); lean_inc(x_145); lean_dec(x_143); -x_146 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__19; +x_146 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__19; lean_inc(x_138); x_147 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_147, 0, x_138); lean_ctor_set(x_147, 1, x_146); -x_148 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__26; +x_148 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__26; x_149 = l_Lean_addMacroScope(x_144, x_148, x_141); -x_150 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__22; -x_151 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__32; +x_150 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__22; +x_151 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__32; x_152 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_152, 0, x_138); lean_ctor_set(x_152, 1, x_150); @@ -7217,7 +7354,7 @@ lean_ctor_set(x_152, 3, x_151); x_153 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_154 = lean_array_push(x_153, x_147); x_155 = lean_array_push(x_154, x_152); -x_156 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__18; +x_156 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__18; x_157 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_157, 0, x_156); lean_ctor_set(x_157, 1, x_155); @@ -7279,16 +7416,16 @@ lean_inc(x_176); x_177 = lean_ctor_get(x_175, 1); lean_inc(x_177); lean_dec(x_175); -x_178 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10; +x_178 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10; lean_inc(x_170); x_179 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_179, 0, x_170); lean_ctor_set(x_179, 1, x_178); x_180 = l_Lean_Syntax_getAntiquotTerm(x_106); lean_dec(x_106); -x_181 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__34; +x_181 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__34; x_182 = lean_array_push(x_181, x_180); -x_183 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__33; +x_183 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33; x_184 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_184, 0, x_183); lean_ctor_set(x_184, 1, x_182); @@ -7298,34 +7435,34 @@ x_187 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAnti x_188 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_188, 0, x_187); lean_ctor_set(x_188, 1, x_186); -x_189 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__14; +x_189 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14; lean_inc(x_170); x_190 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_190, 0, x_170); lean_ctor_set(x_190, 1, x_189); -x_191 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__19; +x_191 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19; lean_inc(x_170); x_192 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_192, 0, x_170); lean_ctor_set(x_192, 1, x_191); -x_193 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__4; +x_193 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4; lean_inc(x_173); lean_inc(x_176); x_194 = l_Lean_addMacroScope(x_176, x_193, x_173); x_195 = lean_box(0); -x_196 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3; -x_197 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__9; +x_196 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3; +x_197 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9; lean_inc(x_170); x_198 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_198, 0, x_170); lean_ctor_set(x_198, 1, x_196); lean_ctor_set(x_198, 2, x_194); lean_ctor_set(x_198, 3, x_197); -x_199 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__38; +x_199 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__38; lean_inc(x_173); lean_inc(x_176); x_200 = l_Lean_addMacroScope(x_176, x_199, x_173); -x_201 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__37; +x_201 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__37; lean_inc(x_170); x_202 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_202, 0, x_170); @@ -7348,12 +7485,12 @@ x_210 = lean_array_push(x_185, x_209); x_211 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_211, 0, x_187); lean_ctor_set(x_211, 1, x_210); -x_212 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_212 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_170); x_213 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_213, 0, x_170); lean_ctor_set(x_213, 1, x_212); -x_214 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__30; +x_214 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__30; lean_inc(x_3); x_215 = lean_name_mk_string(x_3, x_214); x_216 = l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__3; @@ -7362,7 +7499,7 @@ x_217 = lean_name_mk_string(x_215, x_216); lean_inc(x_173); lean_inc(x_176); x_218 = l_Lean_addMacroScope(x_176, x_217, x_173); -x_219 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__42; +x_219 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__42; lean_inc(x_215); x_220 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_220, 0, x_215); @@ -7370,7 +7507,7 @@ lean_ctor_set(x_220, 1, x_219); x_221 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_221, 0, x_220); lean_ctor_set(x_221, 1, x_195); -x_222 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__41; +x_222 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__41; lean_inc(x_170); x_223 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_223, 0, x_170); @@ -7389,16 +7526,16 @@ x_229 = lean_array_push(x_228, x_211); lean_inc(x_213); x_230 = lean_array_push(x_229, x_213); x_231 = lean_array_push(x_230, x_226); -x_232 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__18; +x_232 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__18; x_233 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_233, 0, x_232); lean_ctor_set(x_233, 1, x_231); -x_234 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__23; +x_234 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__23; lean_inc(x_173); lean_inc(x_176); x_235 = l_Lean_addMacroScope(x_176, x_234, x_173); -x_236 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__22; -x_237 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__44; +x_236 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__22; +x_237 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__44; lean_inc(x_170); x_238 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_238, 0, x_170); @@ -7417,7 +7554,7 @@ lean_ctor_set(x_242, 1, x_195); x_243 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_243, 0, x_242); lean_ctor_set(x_243, 1, x_195); -x_244 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__29; +x_244 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__29; x_245 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_245, 0, x_170); lean_ctor_set(x_245, 1, x_244); @@ -7435,11 +7572,11 @@ x_252 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_252, 0, x_187); lean_ctor_set(x_252, 1, x_251); x_253 = lean_array_push(x_185, x_252); -x_254 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__16; +x_254 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__16; x_255 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_255, 0, x_254); lean_ctor_set(x_255, 1, x_253); -x_256 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31; +x_256 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31; x_257 = lean_array_push(x_256, x_179); x_258 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; x_259 = lean_array_push(x_257, x_258); @@ -7447,7 +7584,7 @@ x_260 = lean_array_push(x_259, x_188); x_261 = lean_array_push(x_260, x_258); x_262 = lean_array_push(x_261, x_190); x_263 = lean_array_push(x_262, x_255); -x_264 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__11; +x_264 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11; x_265 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_265, 0, x_264); lean_ctor_set(x_265, 1, x_263); @@ -7467,23 +7604,23 @@ lean_dec(x_4); lean_dec(x_3); x_266 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_266, 0, x_114); -x_267 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__14; +x_267 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__14; x_268 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_268, 0, x_267); lean_ctor_set(x_268, 1, x_266); -x_269 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__16; +x_269 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__16; x_270 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_270, 0, x_268); lean_ctor_set(x_270, 1, x_269); -x_271 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5; +x_271 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5; x_272 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_272, 0, x_271); lean_ctor_set(x_272, 1, x_270); -x_273 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__10; +x_273 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10; x_274 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_274, 0, x_272); lean_ctor_set(x_274, 1, x_273); -x_275 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_20, x_274, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_275 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_20, x_274, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_16); lean_dec(x_14); lean_dec(x_13); @@ -7519,23 +7656,23 @@ lean_dec(x_4); lean_dec(x_3); x_280 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_280, 0, x_114); -x_281 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__14; +x_281 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__14; x_282 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_282, 0, x_281); lean_ctor_set(x_282, 1, x_280); -x_283 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__16; +x_283 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__16; x_284 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_284, 0, x_282); lean_ctor_set(x_284, 1, x_283); -x_285 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5; +x_285 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5; x_286 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_286, 0, x_285); lean_ctor_set(x_286, 1, x_284); -x_287 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__10; +x_287 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10; x_288 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_288, 0, x_286); lean_ctor_set(x_288, 1, x_287); -x_289 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_20, x_288, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_289 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_20, x_288, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_16); lean_dec(x_14); lean_dec(x_13); @@ -7613,7 +7750,7 @@ goto block_29; } } } -lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8(lean_object* x_1) { +lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__11(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -7629,7 +7766,7 @@ x_3 = lean_ctor_get(x_1, 0); x_4 = lean_ctor_get(x_1, 1); x_5 = lean_box(2); x_6 = l_Lean_Syntax_mkStrLit(x_3, x_5); -x_7 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8(x_4); +x_7 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__11(x_4); x_8 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_9 = lean_array_push(x_8, x_6); x_10 = lean_array_push(x_9, x_7); @@ -7639,7 +7776,7 @@ return x_12; } } } -static lean_object* _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__1() { _start: { lean_object* x_1; @@ -7647,17 +7784,17 @@ x_1 = lean_mk_string("quotedName"); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__1; +x_2 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3() { _start: { lean_object* x_1; @@ -7665,7 +7802,7 @@ x_1 = lean_mk_string("."); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4() { _start: { lean_object* x_1; @@ -7673,7 +7810,7 @@ x_1 = lean_mk_string("`"); return x_1; } } -lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(lean_object* x_1) { +lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -7690,7 +7827,7 @@ 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_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_4); +x_5 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10(x_4); x_6 = lean_ctor_get(x_3, 0); lean_inc(x_6); x_7 = lean_ctor_get(x_3, 1); @@ -7699,7 +7836,7 @@ lean_dec(x_3); x_8 = lean_box(0); lean_inc(x_6); x_9 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_8, x_6); -x_10 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8(x_7); +x_10 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__11(x_7); lean_dec(x_7); if (lean_obj_tag(x_9) == 0) { @@ -7723,9 +7860,9 @@ lean_dec(x_6); x_21 = lean_ctor_get(x_9, 0); lean_inc(x_21); lean_dec(x_9); -x_22 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_22 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_23 = l_String_intercalate(x_22, x_21); -x_24 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_24 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_25 = lean_string_append(x_24, x_23); lean_dec(x_23); x_26 = l_Lean_nameLitKind; @@ -7733,7 +7870,7 @@ x_27 = lean_box(2); x_28 = l_Lean_Syntax_mkLit(x_26, x_25, x_27); x_29 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; x_30 = lean_array_push(x_29, x_28); -x_31 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2; +x_31 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___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); @@ -7787,7 +7924,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__27; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -7814,7 +7951,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -8125,9 +8262,9 @@ lean_inc(x_173); x_174 = lean_ctor_get(x_168, 1); lean_inc(x_174); lean_dec(x_168); -x_175 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_175 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_176 = l_String_intercalate(x_175, x_172); -x_177 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_177 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_178 = lean_string_append(x_177, x_176); lean_dec(x_176); x_179 = l_Lean_nameLitKind; @@ -8135,7 +8272,7 @@ x_180 = lean_box(2); x_181 = l_Lean_Syntax_mkLit(x_179, x_178, x_180); x_182 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; x_183 = lean_array_push(x_182, x_181); -x_184 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2; +x_184 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___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); @@ -8184,7 +8321,7 @@ lean_ctor_set(x_37, 0, x_20); lean_ctor_set(x_37, 1, x_36); lean_ctor_set(x_37, 2, x_35); lean_ctor_set(x_37, 3, x_30); -x_38 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_38 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_20); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_20); @@ -8221,7 +8358,7 @@ lean_ctor_set(x_52, 0, x_20); lean_ctor_set(x_52, 1, x_51); lean_ctor_set(x_52, 2, x_50); lean_ctor_set(x_52, 3, x_30); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_54 = lean_array_push(x_53, x_48); x_55 = lean_array_push(x_54, x_19); x_56 = lean_array_push(x_55, x_52); @@ -8242,18 +8379,18 @@ x_66 = lean_array_push(x_64, x_65); x_67 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_67, 0, x_57); lean_ctor_set(x_67, 1, x_66); -x_68 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_68 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_69 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_69, 0, x_20); lean_ctor_set(x_69, 1, x_68); x_70 = lean_array_push(x_53, x_39); x_71 = lean_array_push(x_70, x_67); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_73 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; 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___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_18); +x_75 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10(x_18); x_76 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; x_77 = lean_array_push(x_76, x_37); x_78 = lean_array_push(x_59, x_33); @@ -8313,7 +8450,7 @@ lean_ctor_set(x_106, 0, x_20); lean_ctor_set(x_106, 1, x_105); lean_ctor_set(x_106, 2, x_104); lean_ctor_set(x_106, 3, x_99); -x_107 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_107 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_20); x_108 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_108, 0, x_20); @@ -8350,7 +8487,7 @@ lean_ctor_set(x_121, 0, x_20); lean_ctor_set(x_121, 1, x_120); lean_ctor_set(x_121, 2, x_119); lean_ctor_set(x_121, 3, x_99); -x_122 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_122 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_123 = lean_array_push(x_122, x_117); x_124 = lean_array_push(x_123, x_19); x_125 = lean_array_push(x_124, x_121); @@ -8371,18 +8508,18 @@ x_135 = lean_array_push(x_133, x_134); x_136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_136, 0, x_126); lean_ctor_set(x_136, 1, x_135); -x_137 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_137 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_138 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_138, 0, x_20); lean_ctor_set(x_138, 1, x_137); x_139 = lean_array_push(x_122, x_108); x_140 = lean_array_push(x_139, x_136); x_141 = lean_array_push(x_140, x_138); -x_142 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_142 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; 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_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_18); +x_144 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10(x_18); x_145 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; x_146 = lean_array_push(x_145, x_106); x_147 = lean_array_push(x_128, x_102); @@ -8486,7 +8623,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -8621,7 +8758,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -8694,7 +8831,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__6; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__28; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -8769,7 +8906,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__32; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -8812,7 +8949,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_9 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_9 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(x_8); return x_9; } case 1: @@ -8890,7 +9027,7 @@ lean_ctor_set(x_160, 0, x_147); lean_ctor_set(x_160, 1, x_158); lean_ctor_set(x_160, 2, x_156); lean_ctor_set(x_160, 3, x_159); -x_161 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_161 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_147); lean_ctor_set(x_142, 1, x_161); lean_ctor_set(x_142, 0, x_147); @@ -8945,18 +9082,18 @@ x_186 = lean_array_push(x_184, x_185); x_187 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_187, 0, x_178); lean_ctor_set(x_187, 1, x_186); -x_188 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_188 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_147); x_189 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_189, 0, x_147); lean_ctor_set(x_189, 1, x_188); -x_190 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_190 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_191 = lean_array_push(x_190, x_142); lean_inc(x_191); x_192 = lean_array_push(x_191, x_187); lean_inc(x_189); x_193 = lean_array_push(x_192, x_189); -x_194 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_194 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_195 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_195, 0, x_194); lean_ctor_set(x_195, 1, x_193); @@ -9027,18 +9164,18 @@ x_231 = lean_array_push(x_229, x_230); x_232 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_232, 0, x_222); lean_ctor_set(x_232, 1, x_231); -x_233 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_233 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_147); x_234 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_234, 0, x_147); lean_ctor_set(x_234, 1, x_233); -x_235 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_235 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_236 = lean_array_push(x_235, x_142); lean_inc(x_236); x_237 = lean_array_push(x_236, x_232); lean_inc(x_234); x_238 = lean_array_push(x_237, x_234); -x_239 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_239 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_240 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_240, 0, x_239); lean_ctor_set(x_240, 1, x_238); @@ -9108,7 +9245,7 @@ lean_ctor_set(x_272, 0, x_147); lean_ctor_set(x_272, 1, x_270); lean_ctor_set(x_272, 2, x_268); lean_ctor_set(x_272, 3, x_271); -x_273 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_273 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_147); lean_ctor_set(x_142, 1, x_273); lean_ctor_set(x_142, 0, x_147); @@ -9168,18 +9305,18 @@ x_297 = lean_array_push(x_295, x_296); x_298 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_298, 0, x_288); lean_ctor_set(x_298, 1, x_297); -x_299 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_299 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_147); x_300 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_300, 0, x_147); lean_ctor_set(x_300, 1, x_299); -x_301 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_301 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_302 = lean_array_push(x_301, x_142); lean_inc(x_302); x_303 = lean_array_push(x_302, x_298); lean_inc(x_300); x_304 = lean_array_push(x_303, x_300); -x_305 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_305 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_306 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_306, 0, x_305); lean_ctor_set(x_306, 1, x_304); @@ -9280,7 +9417,7 @@ lean_ctor_set(x_348, 0, x_334); lean_ctor_set(x_348, 1, x_346); lean_ctor_set(x_348, 2, x_344); lean_ctor_set(x_348, 3, x_347); -x_349 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_349 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_334); x_350 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_350, 0, x_334); @@ -9341,18 +9478,18 @@ x_374 = lean_array_push(x_372, x_373); x_375 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_375, 0, x_365); lean_ctor_set(x_375, 1, x_374); -x_376 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_376 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_334); x_377 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_377, 0, x_334); lean_ctor_set(x_377, 1, x_376); -x_378 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_378 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_379 = lean_array_push(x_378, x_350); lean_inc(x_379); x_380 = lean_array_push(x_379, x_375); lean_inc(x_377); x_381 = lean_array_push(x_380, x_377); -x_382 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_382 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_383 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_383, 0, x_382); lean_ctor_set(x_383, 1, x_381); @@ -9412,7 +9549,7 @@ else lean_object* x_409; lean_object* x_410; lean_dec(x_142); x_409 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__16; -x_410 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_1, x_409, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_410 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_1, x_409, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); @@ -9512,7 +9649,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_27 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(x_10, x_12, x_25, x_18, x_23, x_24, x_20, x_22, x_23, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_16); +x_27 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9(x_10, x_12, x_25, x_18, x_23, x_24, x_20, x_22, x_23, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_16); lean_dec(x_20); lean_dec(x_12); if (lean_obj_tag(x_27) == 0) @@ -9591,9 +9728,9 @@ lean_dec(x_10); x_57 = lean_ctor_get(x_45, 0); lean_inc(x_57); lean_dec(x_45); -x_58 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_58 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_59 = l_String_intercalate(x_58, x_57); -x_60 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_60 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_61 = lean_string_append(x_60, x_59); lean_dec(x_59); x_62 = l_Lean_nameLitKind; @@ -9601,7 +9738,7 @@ x_63 = lean_box(2); x_64 = l_Lean_Syntax_mkLit(x_62, x_61, x_63); x_65 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; x_66 = lean_array_push(x_65, x_64); -x_67 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2; +x_67 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2; if (lean_is_scalar(x_13)) { x_68 = lean_alloc_ctor(1, 2, 0); } else { @@ -9678,9 +9815,9 @@ lean_dec(x_10); x_97 = lean_ctor_get(x_84, 0); lean_inc(x_97); lean_dec(x_84); -x_98 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_98 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_99 = l_String_intercalate(x_98, x_97); -x_100 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_100 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_101 = lean_string_append(x_100, x_99); lean_dec(x_99); x_102 = l_Lean_nameLitKind; @@ -9688,7 +9825,7 @@ x_103 = lean_box(2); x_104 = l_Lean_Syntax_mkLit(x_102, x_101, x_103); x_105 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; x_106 = lean_array_push(x_105, x_104); -x_107 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2; +x_107 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2; if (lean_is_scalar(x_13)) { x_108 = lean_alloc_ctor(1, 2, 0); } else { @@ -9771,7 +9908,7 @@ if (x_128 == 0) lean_object* x_129; lean_object* x_130; lean_dec(x_10); x_129 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__14; -x_130 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_1, x_129, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_130 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_1, x_129, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); @@ -9797,7 +9934,7 @@ if (x_132 == 0) lean_object* x_133; lean_object* x_134; lean_dec(x_10); x_133 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__14; -x_134 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_1, x_133, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_134 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_1, x_133, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); @@ -10090,7 +10227,7 @@ lean_ctor_set(x_529, 2, x_527); lean_ctor_set(x_529, 3, x_523); lean_inc(x_506); x_530 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_523, x_506); -x_531 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_507); +x_531 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10(x_507); x_532 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; x_533 = lean_array_push(x_532, x_529); x_534 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; @@ -10139,15 +10276,15 @@ lean_dec(x_506); x_555 = lean_ctor_get(x_530, 0); lean_inc(x_555); lean_dec(x_530); -x_556 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_556 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_557 = l_String_intercalate(x_556, x_555); -x_558 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_558 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_559 = lean_string_append(x_558, x_557); lean_dec(x_557); x_560 = l_Lean_nameLitKind; x_561 = l_Lean_Syntax_mkLit(x_560, x_559, x_540); x_562 = lean_array_push(x_542, x_561); -x_563 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2; +x_563 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2; x_564 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_564, 0, x_563); lean_ctor_set(x_564, 1, x_562); @@ -10196,7 +10333,7 @@ lean_ctor_set(x_582, 2, x_580); lean_ctor_set(x_582, 3, x_576); lean_inc(x_506); x_583 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_576, x_506); -x_584 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_507); +x_584 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10(x_507); x_585 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; x_586 = lean_array_push(x_585, x_582); x_587 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; @@ -10247,15 +10384,15 @@ lean_dec(x_506); x_609 = lean_ctor_get(x_583, 0); lean_inc(x_609); lean_dec(x_583); -x_610 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_610 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_611 = l_String_intercalate(x_610, x_609); -x_612 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_612 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_613 = lean_string_append(x_612, x_611); lean_dec(x_611); x_614 = l_Lean_nameLitKind; x_615 = l_Lean_Syntax_mkLit(x_614, x_613, x_593); x_616 = lean_array_push(x_595, x_615); -x_617 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2; +x_617 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2; x_618 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_618, 0, x_617); lean_ctor_set(x_618, 1, x_616); @@ -10364,7 +10501,7 @@ lean_ctor_set(x_654, 2, x_652); lean_ctor_set(x_654, 3, x_647); lean_inc(x_630); x_655 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_647, x_630); -x_656 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_631); +x_656 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10(x_631); x_657 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__21; x_658 = lean_array_push(x_657, x_654); x_659 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; @@ -10419,15 +10556,15 @@ lean_dec(x_630); x_681 = lean_ctor_get(x_655, 0); lean_inc(x_681); lean_dec(x_655); -x_682 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_682 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_683 = l_String_intercalate(x_682, x_681); -x_684 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_684 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_685 = lean_string_append(x_684, x_683); lean_dec(x_683); x_686 = l_Lean_nameLitKind; x_687 = l_Lean_Syntax_mkLit(x_686, x_685, x_665); x_688 = lean_array_push(x_667, x_687); -x_689 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2; +x_689 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2; x_690 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_690, 0, x_689); lean_ctor_set(x_690, 1, x_688); @@ -10470,7 +10607,21 @@ return x_700; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__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_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { size_t x_11; size_t x_12; lean_object* x_13; @@ -10478,22 +10629,22 @@ x_11 = lean_unbox_usize(x_1); lean_dec(x_1); x_12 = lean_unbox_usize(x_2); lean_dec(x_2); -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* 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: { size_t x_13; size_t x_14; lean_object* x_15; @@ -10501,7 +10652,7 @@ x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_15 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -10512,7 +10663,7 @@ lean_dec(x_2); return x_15; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { size_t x_6; size_t x_7; lean_object* x_8; @@ -10520,11 +10671,11 @@ x_6 = lean_unbox_usize(x_3); lean_dec(x_3); x_7 = lean_unbox_usize(x_4); lean_dec(x_4); -x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_1, x_2, x_6, x_7, x_5); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(x_1, x_2, x_6, x_7, x_5); return x_8; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { size_t x_9; size_t x_10; lean_object* x_11; @@ -10532,15 +10683,41 @@ x_9 = lean_unbox_usize(x_6); lean_dec(x_6); x_10 = lean_unbox_usize(x_7); lean_dec(x_7); -x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); +x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); return x_11; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___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* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8___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) { _start: { lean_object* x_9; -x_9 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -10550,17 +10727,17 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___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, 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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_4); lean_dec(x_3); return x_14; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___boxed(lean_object** _args) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -10583,14 +10760,14 @@ _start: size_t x_18; lean_object* x_19; x_18 = lean_unbox_usize(x_8); lean_dec(x_8); -x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_10); lean_dec(x_4); lean_dec(x_3); return x_19; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___boxed(lean_object** _args) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -10617,18 +10794,18 @@ x_19 = lean_unbox_usize(x_8); lean_dec(x_8); x_20 = lean_unbox_usize(x_9); lean_dec(x_9); -x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(x_1, x_2, x_3, x_4, x_18, x_6, x_7, x_19, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9(x_1, x_2, x_3, x_4, x_18, x_6, x_7, x_19, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); return x_21; } } -lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8___boxed(lean_object* x_1) { +lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__11___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__8(x_1); +x_2 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__11(x_1); lean_dec(x_1); return x_2; } @@ -11178,12 +11355,12 @@ lean_ctor_set(x_32, 0, x_14); lean_ctor_set(x_32, 1, x_30); lean_ctor_set(x_32, 2, x_29); lean_ctor_set(x_32, 3, x_31); -x_33 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_33 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_14); x_34 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_34, 0, x_14); lean_ctor_set(x_34, 1, x_33); -x_35 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_35 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_14); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_14); @@ -11205,7 +11382,7 @@ x_43 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiq 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 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_45 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_14); x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_14); @@ -11285,19 +11462,19 @@ x_79 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; x_80 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_78); -x_81 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_81 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_82 = lean_array_push(x_81, x_68); lean_inc(x_46); x_83 = lean_array_push(x_82, x_46); x_84 = lean_array_push(x_83, x_80); -x_85 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8; +x_85 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8; x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); x_87 = lean_array_push(x_76, x_36); lean_inc(x_87); x_88 = lean_array_push(x_87, x_86); -x_89 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6; +x_89 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); @@ -11307,7 +11484,7 @@ x_93 = lean_array_push(x_91, x_92); x_94 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_94, 0, x_43); lean_ctor_set(x_94, 1, x_93); -x_95 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_95 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_96 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_96, 0, x_14); lean_ctor_set(x_96, 1, x_95); @@ -11316,7 +11493,7 @@ lean_inc(x_97); x_98 = lean_array_push(x_97, x_94); lean_inc(x_96); x_99 = lean_array_push(x_98, x_96); -x_100 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_100 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_101, 0, x_100); lean_ctor_set(x_101, 1, x_99); @@ -11430,12 +11607,12 @@ lean_ctor_set(x_154, 0, x_14); lean_ctor_set(x_154, 1, x_152); lean_ctor_set(x_154, 2, x_151); lean_ctor_set(x_154, 3, x_153); -x_155 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_155 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_14); x_156 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_156, 0, x_14); lean_ctor_set(x_156, 1, x_155); -x_157 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_157 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_14); x_158 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_158, 0, x_14); @@ -11457,7 +11634,7 @@ x_165 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAnti x_166 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_166, 0, x_165); lean_ctor_set(x_166, 1, x_164); -x_167 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_167 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_14); x_168 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_168, 0, x_14); @@ -11537,19 +11714,19 @@ x_201 = l_Lean_Elab_Term_Quotation_mkTuple___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); -x_203 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_203 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_204 = lean_array_push(x_203, x_190); lean_inc(x_168); x_205 = lean_array_push(x_204, x_168); x_206 = lean_array_push(x_205, x_202); -x_207 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8; +x_207 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8; x_208 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_208, 0, x_207); lean_ctor_set(x_208, 1, x_206); x_209 = lean_array_push(x_198, x_158); lean_inc(x_209); x_210 = lean_array_push(x_209, x_208); -x_211 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6; +x_211 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6; x_212 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_212, 0, x_211); lean_ctor_set(x_212, 1, x_210); @@ -11559,7 +11736,7 @@ x_215 = lean_array_push(x_213, x_214); x_216 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_216, 0, x_165); lean_ctor_set(x_216, 1, x_215); -x_217 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_217 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_218 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_218, 0, x_14); lean_ctor_set(x_218, 1, x_217); @@ -11568,7 +11745,7 @@ lean_inc(x_219); x_220 = lean_array_push(x_219, x_216); lean_inc(x_218); x_221 = lean_array_push(x_220, x_218); -x_222 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_222 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_223 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_223, 0, x_222); lean_ctor_set(x_223, 1, x_221); @@ -12075,7 +12252,7 @@ static lean_object* _init_l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Qu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__16; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -12561,7 +12738,7 @@ lean_inc(x_12); x_38 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_38, 0, x_12); lean_ctor_set(x_38, 1, x_37); -x_39 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_39 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_40 = lean_array_push(x_39, x_16); x_41 = lean_array_push(x_40, x_36); x_42 = lean_array_push(x_41, x_38); @@ -12633,7 +12810,7 @@ x_77 = lean_array_push(x_22, x_76); x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_24); lean_ctor_set(x_78, 1, x_77); -x_79 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__34; +x_79 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__34; x_80 = lean_array_push(x_79, x_78); x_81 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__36; x_82 = lean_alloc_ctor(1, 2, 0); @@ -12758,7 +12935,7 @@ lean_inc(x_117); x_144 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_144, 0, x_117); lean_ctor_set(x_144, 1, x_143); -x_145 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_145 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_146 = lean_array_push(x_145, x_122); x_147 = lean_array_push(x_146, x_142); x_148 = lean_array_push(x_147, x_144); @@ -12830,7 +13007,7 @@ x_183 = lean_array_push(x_128, x_182); x_184 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_184, 0, x_130); lean_ctor_set(x_184, 1, x_183); -x_185 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__34; +x_185 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__34; x_186 = lean_array_push(x_185, x_184); x_187 = l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2911____closed__36; x_188 = lean_alloc_ctor(1, 2, 0); @@ -13257,7 +13434,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__33; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33; x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3188____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -14777,11 +14954,11 @@ lean_inc(x_2); x_6 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_6, 0, x_2); lean_ctor_set(x_6, 1, x_5); -x_7 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_7 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_8 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_8, 0, x_2); lean_ctor_set(x_8, 1, x_7); -x_9 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_9 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_10 = lean_array_push(x_9, x_6); x_11 = lean_array_push(x_10, x_1); x_12 = lean_array_push(x_11, x_8); @@ -14883,7 +15060,7 @@ static lean_object* _init_l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; x_2 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -15279,7 +15456,7 @@ x_37 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotatio lean_inc(x_32); lean_inc(x_35); x_38 = l_Lean_addMacroScope(x_35, x_37, x_32); -x_39 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__27; +x_39 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27; lean_inc(x_2); x_40 = lean_name_mk_string(x_2, x_39); x_41 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; @@ -15310,7 +15487,7 @@ lean_ctor_set(x_48, 0, x_29); lean_ctor_set(x_48, 1, x_47); lean_ctor_set(x_48, 2, x_46); lean_ctor_set(x_48, 3, x_5); -x_49 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_49 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_29); x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_29); @@ -15352,7 +15529,7 @@ lean_inc(x_6); x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_6); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_67 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_29); lean_ctor_set(x_68, 1, x_67); @@ -15437,7 +15614,7 @@ x_98 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotatio lean_inc(x_93); lean_inc(x_96); x_99 = l_Lean_addMacroScope(x_96, x_98, x_93); -x_100 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__27; +x_100 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27; lean_inc(x_2); x_101 = lean_name_mk_string(x_2, x_100); x_102 = l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__4; @@ -15469,7 +15646,7 @@ lean_ctor_set(x_110, 0, x_90); lean_ctor_set(x_110, 1, x_109); lean_ctor_set(x_110, 2, x_108); lean_ctor_set(x_110, 3, x_5); -x_111 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_111 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_90); x_112 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_112, 0, x_90); @@ -15511,7 +15688,7 @@ lean_inc(x_6); x_128 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_128, 0, x_6); lean_ctor_set(x_128, 1, x_127); -x_129 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_129 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_130 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_130, 0, x_90); lean_ctor_set(x_130, 1, x_129); @@ -15619,7 +15796,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__5; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__4; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -15699,22 +15876,22 @@ lean_ctor_set(x_45, 0, x_23); lean_ctor_set(x_45, 1, x_44); lean_ctor_set(x_45, 2, x_43); lean_ctor_set(x_45, 3, x_3); -x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10; +x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; lean_inc(x_1); x_47 = lean_name_mk_string(x_1, x_46); -x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_23); x_49 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_49, 0, x_23); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_1); x_51 = lean_name_mk_string(x_1, x_50); lean_inc(x_23); x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_23); lean_ctor_set(x_52, 1, x_50); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__7; +x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; lean_inc(x_1); x_54 = lean_name_mk_string(x_1, x_53); lean_inc(x_7); @@ -15724,12 +15901,12 @@ lean_inc(x_4); x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_4); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_23); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_23); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_60 = lean_array_push(x_59, x_56); x_61 = lean_array_push(x_60, x_58); lean_inc(x_21); @@ -15751,7 +15928,7 @@ lean_inc(x_4); x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_4); lean_ctor_set(x_69, 1, x_68); -x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_23); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_23); @@ -15892,22 +16069,22 @@ lean_ctor_set(x_45, 0, x_23); lean_ctor_set(x_45, 1, x_44); lean_ctor_set(x_45, 2, x_43); lean_ctor_set(x_45, 3, x_3); -x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10; +x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; lean_inc(x_1); x_47 = lean_name_mk_string(x_1, x_46); -x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_23); x_49 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_49, 0, x_23); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_1); x_51 = lean_name_mk_string(x_1, x_50); lean_inc(x_23); x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_23); lean_ctor_set(x_52, 1, x_50); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__7; +x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; lean_inc(x_1); x_54 = lean_name_mk_string(x_1, x_53); lean_inc(x_7); @@ -15917,12 +16094,12 @@ lean_inc(x_4); x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_4); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_23); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_23); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_60 = lean_array_push(x_59, x_56); x_61 = lean_array_push(x_60, x_58); lean_inc(x_21); @@ -15944,7 +16121,7 @@ lean_inc(x_4); x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_4); lean_ctor_set(x_69, 1, x_68); -x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_23); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_23); @@ -16085,22 +16262,22 @@ lean_ctor_set(x_45, 0, x_23); lean_ctor_set(x_45, 1, x_44); lean_ctor_set(x_45, 2, x_43); lean_ctor_set(x_45, 3, x_3); -x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10; +x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; lean_inc(x_1); x_47 = lean_name_mk_string(x_1, x_46); -x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_23); x_49 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_49, 0, x_23); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_1); x_51 = lean_name_mk_string(x_1, x_50); lean_inc(x_23); x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_23); lean_ctor_set(x_52, 1, x_50); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__7; +x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; lean_inc(x_1); x_54 = lean_name_mk_string(x_1, x_53); lean_inc(x_7); @@ -16110,12 +16287,12 @@ lean_inc(x_4); x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_4); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_23); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_23); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_60 = lean_array_push(x_59, x_56); x_61 = lean_array_push(x_60, x_58); lean_inc(x_21); @@ -16137,7 +16314,7 @@ lean_inc(x_4); x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_4); lean_ctor_set(x_69, 1, x_68); -x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_23); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_23); @@ -16235,11 +16412,11 @@ x_20 = lean_array_uget(x_17, x_16); x_21 = lean_unsigned_to_nat(0u); x_22 = lean_array_uset(x_17, x_16, x_21); x_23 = x_20; -x_24 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__4; +x_24 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4; lean_inc(x_5); lean_inc(x_6); x_25 = l_Lean_addMacroScope(x_6, x_24, x_5); -x_26 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; +x_26 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1; lean_inc(x_1); x_27 = lean_name_mk_string(x_1, x_26); lean_inc(x_2); @@ -16250,7 +16427,7 @@ lean_inc(x_3); x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_3); -x_30 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3; +x_30 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3; lean_inc(x_4); x_31 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_31, 0, x_4); @@ -16371,22 +16548,22 @@ lean_ctor_set(x_45, 0, x_23); lean_ctor_set(x_45, 1, x_44); lean_ctor_set(x_45, 2, x_43); lean_ctor_set(x_45, 3, x_3); -x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10; +x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; lean_inc(x_1); x_47 = lean_name_mk_string(x_1, x_46); -x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_23); x_49 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_49, 0, x_23); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_1); x_51 = lean_name_mk_string(x_1, x_50); lean_inc(x_23); x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_23); lean_ctor_set(x_52, 1, x_50); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__7; +x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; lean_inc(x_1); x_54 = lean_name_mk_string(x_1, x_53); lean_inc(x_7); @@ -16396,12 +16573,12 @@ lean_inc(x_4); x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_4); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_23); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_23); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_60 = lean_array_push(x_59, x_56); x_61 = lean_array_push(x_60, x_58); lean_inc(x_21); @@ -16423,7 +16600,7 @@ lean_inc(x_4); x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_4); lean_ctor_set(x_69, 1, x_68); -x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_23); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_23); @@ -16564,22 +16741,22 @@ lean_ctor_set(x_45, 0, x_23); lean_ctor_set(x_45, 1, x_44); lean_ctor_set(x_45, 2, x_43); lean_ctor_set(x_45, 3, x_3); -x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10; +x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; lean_inc(x_1); x_47 = lean_name_mk_string(x_1, x_46); -x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_23); x_49 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_49, 0, x_23); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_1); x_51 = lean_name_mk_string(x_1, x_50); lean_inc(x_23); x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_23); lean_ctor_set(x_52, 1, x_50); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__7; +x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; lean_inc(x_1); x_54 = lean_name_mk_string(x_1, x_53); lean_inc(x_7); @@ -16589,12 +16766,12 @@ lean_inc(x_4); x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_4); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_23); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_23); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_60 = lean_array_push(x_59, x_56); x_61 = lean_array_push(x_60, x_58); lean_inc(x_21); @@ -16616,7 +16793,7 @@ lean_inc(x_4); x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_4); lean_ctor_set(x_69, 1, x_68); -x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_23); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_23); @@ -16757,22 +16934,22 @@ lean_ctor_set(x_45, 0, x_23); lean_ctor_set(x_45, 1, x_44); lean_ctor_set(x_45, 2, x_43); lean_ctor_set(x_45, 3, x_3); -x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10; +x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; lean_inc(x_1); x_47 = lean_name_mk_string(x_1, x_46); -x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_23); x_49 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_49, 0, x_23); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_1); x_51 = lean_name_mk_string(x_1, x_50); lean_inc(x_23); x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_23); lean_ctor_set(x_52, 1, x_50); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__7; +x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7; lean_inc(x_1); x_54 = lean_name_mk_string(x_1, x_53); lean_inc(x_7); @@ -16782,12 +16959,12 @@ lean_inc(x_4); x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_4); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_23); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_23); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_60 = lean_array_push(x_59, x_56); x_61 = lean_array_push(x_60, x_58); lean_inc(x_21); @@ -16809,7 +16986,7 @@ lean_inc(x_4); x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_4); lean_ctor_set(x_69, 1, x_68); -x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_23); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_23); @@ -17239,7 +17416,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__1; x_2 = 1; x_3 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -17631,7 +17808,7 @@ lean_ctor_set(x_36, 0, x_24); lean_ctor_set(x_36, 1, x_34); lean_ctor_set(x_36, 2, x_33); lean_ctor_set(x_36, 3, x_35); -x_37 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_37 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_24); x_38 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_38, 0, x_24); @@ -17677,15 +17854,15 @@ x_60 = lean_array_push(x_58, x_59); x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_52); lean_ctor_set(x_61, 1, x_60); -x_62 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_62 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_24); lean_ctor_set(x_63, 1, x_62); -x_64 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_64 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_65 = lean_array_push(x_64, x_38); x_66 = lean_array_push(x_65, x_61); x_67 = lean_array_push(x_66, x_63); -x_68 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_68 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); @@ -17723,7 +17900,7 @@ lean_ctor_set(x_83, 0, x_24); lean_ctor_set(x_83, 1, x_81); lean_ctor_set(x_83, 2, x_80); lean_ctor_set(x_83, 3, x_82); -x_84 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_84 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_24); x_85 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_85, 0, x_24); @@ -17769,15 +17946,15 @@ x_107 = lean_array_push(x_105, x_106); x_108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_108, 0, x_99); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_109 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_110 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_110, 0, x_24); lean_ctor_set(x_110, 1, x_109); -x_111 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_111 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_112 = lean_array_push(x_111, x_85); x_113 = lean_array_push(x_112, x_108); x_114 = lean_array_push(x_113, x_110); -x_115 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_115 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_116 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_116, 0, x_115); lean_ctor_set(x_116, 1, x_114); @@ -17914,7 +18091,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -17997,7 +18174,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -18080,7 +18257,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -18202,9 +18379,9 @@ lean_dec(x_2); x_50 = lean_ctor_get(x_38, 0); lean_inc(x_50); lean_dec(x_38); -x_51 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_51 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_52 = l_String_intercalate(x_51, x_50); -x_53 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_53 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_54 = lean_string_append(x_53, x_52); lean_dec(x_52); x_55 = l_Lean_nameLitKind; @@ -18212,7 +18389,7 @@ x_56 = lean_box(2); x_57 = l_Lean_Syntax_mkLit(x_55, x_54, x_56); x_58 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; x_59 = lean_array_push(x_58, x_57); -x_60 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2; +x_60 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2; x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_60); lean_ctor_set(x_61, 1, x_59); @@ -18303,9 +18480,9 @@ lean_dec(x_88); x_101 = lean_ctor_get(x_89, 0); lean_inc(x_101); lean_dec(x_89); -x_102 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_102 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_103 = l_String_intercalate(x_102, x_101); -x_104 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_104 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_105 = lean_string_append(x_104, x_103); lean_dec(x_103); x_106 = l_Lean_nameLitKind; @@ -18313,7 +18490,7 @@ x_107 = lean_box(2); x_108 = l_Lean_Syntax_mkLit(x_106, x_105, x_107); x_109 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; x_110 = lean_array_push(x_109, x_108); -x_111 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2; +x_111 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2; x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_111); lean_ctor_set(x_112, 1, x_110); @@ -18470,9 +18647,9 @@ lean_dec(x_2); x_185 = lean_ctor_get(x_173, 0); lean_inc(x_185); lean_dec(x_173); -x_186 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_186 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_187 = l_String_intercalate(x_186, x_185); -x_188 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_188 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_189 = lean_string_append(x_188, x_187); lean_dec(x_187); x_190 = l_Lean_nameLitKind; @@ -18480,7 +18657,7 @@ x_191 = lean_box(2); x_192 = l_Lean_Syntax_mkLit(x_190, x_189, x_191); x_193 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; x_194 = lean_array_push(x_193, x_192); -x_195 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2; +x_195 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2; x_196 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_196, 0, x_195); lean_ctor_set(x_196, 1, x_194); @@ -18570,9 +18747,9 @@ lean_dec(x_2); x_235 = lean_ctor_get(x_223, 0); lean_inc(x_235); lean_dec(x_223); -x_236 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_236 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_237 = l_String_intercalate(x_236, x_235); -x_238 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_238 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_239 = lean_string_append(x_238, x_237); lean_dec(x_237); x_240 = l_Lean_nameLitKind; @@ -18580,7 +18757,7 @@ x_241 = lean_box(2); x_242 = l_Lean_Syntax_mkLit(x_240, x_239, x_241); x_243 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; x_244 = lean_array_push(x_243, x_242); -x_245 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2; +x_245 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___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); @@ -19028,7 +19205,7 @@ lean_ctor_set(x_31, 0, x_18); lean_ctor_set(x_31, 1, x_29); lean_ctor_set(x_31, 2, x_27); lean_ctor_set(x_31, 3, x_30); -x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_18); x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_18); @@ -19065,7 +19242,7 @@ lean_ctor_set(x_47, 1, x_46); lean_inc(x_2); x_48 = l_Nat_repr(x_2); x_49 = l_Lean_Syntax_mkLit(x_39, x_48, x_40); -x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_51 = lean_array_push(x_50, x_45); x_52 = lean_array_push(x_51, x_47); x_53 = lean_array_push(x_52, x_49); @@ -19081,7 +19258,7 @@ x_60 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiq x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_60); lean_ctor_set(x_61, 1, x_59); -x_62 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_62 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_18); lean_ctor_set(x_63, 1, x_62); @@ -19090,7 +19267,7 @@ lean_inc(x_64); x_65 = lean_array_push(x_64, x_61); lean_inc(x_63); x_66 = lean_array_push(x_65, x_63); -x_67 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_67 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_68 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_66); @@ -19621,7 +19798,7 @@ if (x_27 == 0) { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; 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; x_28 = lean_ctor_get(x_26, 0); -x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10; +x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10; lean_inc(x_1); x_30 = lean_name_mk_string(x_1, x_29); lean_inc(x_21); @@ -19633,7 +19810,7 @@ lean_inc(x_2); x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_2); lean_ctor_set(x_33, 1, x_32); -x_34 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1; +x_34 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; lean_inc(x_1); x_35 = lean_name_mk_string(x_1, x_34); x_36 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__7; @@ -19655,10 +19832,10 @@ lean_ctor_set(x_41, 0, x_21); lean_ctor_set(x_41, 1, x_40); lean_ctor_set(x_41, 2, x_37); lean_ctor_set(x_41, 3, x_39); -x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10; +x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; lean_inc(x_1); x_43 = lean_name_mk_string(x_1, x_42); -x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_21); x_45 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_45, 0, x_21); @@ -19666,7 +19843,7 @@ lean_ctor_set(x_45, 1, x_44); x_46 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__8; lean_inc(x_1); x_47 = lean_name_mk_string(x_1, x_46); -x_48 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_48 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; lean_inc(x_21); x_49 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_49, 0, x_21); @@ -19683,27 +19860,27 @@ lean_ctor_set(x_53, 0, x_21); lean_ctor_set(x_53, 1, x_52); lean_ctor_set(x_53, 2, x_51); lean_ctor_set(x_53, 3, x_3); -x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_55 = lean_array_push(x_54, x_4); x_56 = lean_array_push(x_55, x_49); x_57 = lean_array_push(x_56, x_53); x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_47); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_1); x_60 = lean_name_mk_string(x_1, x_59); lean_inc(x_21); x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_21); lean_ctor_set(x_61, 1, x_59); -x_62 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__15; +x_62 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__15; lean_inc(x_1); x_63 = lean_name_mk_string(x_1, x_62); -x_64 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__17; +x_64 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__17; lean_inc(x_1); x_65 = lean_name_mk_string(x_1, x_64); -x_66 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__19; +x_66 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19; lean_inc(x_21); x_67 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_67, 0, x_21); @@ -19716,7 +19893,7 @@ lean_inc(x_21); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_21); lean_ctor_set(x_71, 1, x_70); -x_72 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_72 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_21); x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_21); @@ -19734,16 +19911,16 @@ lean_inc(x_2); x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_2); lean_ctor_set(x_79, 1, x_78); -x_80 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_80 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_21); x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_21); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__4; +x_82 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4; lean_inc(x_24); lean_inc(x_28); x_83 = l_Lean_addMacroScope(x_28, x_82, x_24); -x_84 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__7; +x_84 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7; lean_inc(x_3); x_85 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_85, 0, x_84); @@ -19752,7 +19929,7 @@ lean_inc(x_3); x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_3); -x_87 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3; +x_87 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3; lean_inc(x_21); x_88 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_88, 0, x_21); @@ -19802,9 +19979,9 @@ lean_inc(x_2); x_107 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_107, 0, x_2); lean_ctor_set(x_107, 1, x_106); -x_108 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__23; +x_108 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__23; x_109 = l_Lean_addMacroScope(x_28, x_108, x_24); -x_110 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__24; +x_110 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__24; lean_inc(x_3); x_111 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_111, 0, x_110); @@ -19812,7 +19989,7 @@ lean_ctor_set(x_111, 1, x_3); x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_111); lean_ctor_set(x_112, 1, x_3); -x_113 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__22; +x_113 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__22; lean_inc(x_21); x_114 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_114, 0, x_21); @@ -19901,7 +20078,7 @@ lean_inc(x_2); x_148 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_148, 0, x_2); lean_ctor_set(x_148, 1, x_147); -x_149 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__14; +x_149 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14; x_150 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_150, 0, x_21); lean_ctor_set(x_150, 1, x_149); @@ -19951,7 +20128,7 @@ x_170 = lean_array_push(x_5, x_169); x_171 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_171, 0, x_63); lean_ctor_set(x_171, 1, x_170); -x_172 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31; +x_172 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31; x_173 = lean_array_push(x_172, x_31); lean_inc(x_33); x_174 = lean_array_push(x_173, x_33); @@ -19973,7 +20150,7 @@ x_181 = lean_ctor_get(x_26, 1); lean_inc(x_181); lean_inc(x_180); lean_dec(x_26); -x_182 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10; +x_182 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10; lean_inc(x_1); x_183 = lean_name_mk_string(x_1, x_182); lean_inc(x_21); @@ -19985,7 +20162,7 @@ lean_inc(x_2); x_186 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_186, 0, x_2); lean_ctor_set(x_186, 1, x_185); -x_187 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1; +x_187 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; lean_inc(x_1); x_188 = lean_name_mk_string(x_1, x_187); x_189 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__7; @@ -20007,10 +20184,10 @@ lean_ctor_set(x_194, 0, x_21); lean_ctor_set(x_194, 1, x_193); lean_ctor_set(x_194, 2, x_190); lean_ctor_set(x_194, 3, x_192); -x_195 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10; +x_195 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; lean_inc(x_1); x_196 = lean_name_mk_string(x_1, x_195); -x_197 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_197 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_21); x_198 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_198, 0, x_21); @@ -20018,7 +20195,7 @@ lean_ctor_set(x_198, 1, x_197); x_199 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__8; lean_inc(x_1); x_200 = lean_name_mk_string(x_1, x_199); -x_201 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_201 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; lean_inc(x_21); x_202 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_202, 0, x_21); @@ -20035,27 +20212,27 @@ lean_ctor_set(x_206, 0, x_21); lean_ctor_set(x_206, 1, x_205); lean_ctor_set(x_206, 2, x_204); lean_ctor_set(x_206, 3, x_3); -x_207 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_207 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_208 = lean_array_push(x_207, x_4); x_209 = lean_array_push(x_208, x_202); x_210 = lean_array_push(x_209, x_206); x_211 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_211, 0, x_200); lean_ctor_set(x_211, 1, x_210); -x_212 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5; +x_212 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5; lean_inc(x_1); x_213 = lean_name_mk_string(x_1, x_212); lean_inc(x_21); x_214 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_214, 0, x_21); lean_ctor_set(x_214, 1, x_212); -x_215 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__15; +x_215 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__15; lean_inc(x_1); x_216 = lean_name_mk_string(x_1, x_215); -x_217 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__17; +x_217 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__17; lean_inc(x_1); x_218 = lean_name_mk_string(x_1, x_217); -x_219 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__19; +x_219 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19; lean_inc(x_21); x_220 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_220, 0, x_21); @@ -20068,7 +20245,7 @@ lean_inc(x_21); x_224 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_224, 0, x_21); lean_ctor_set(x_224, 1, x_223); -x_225 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_225 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_21); x_226 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_226, 0, x_21); @@ -20086,16 +20263,16 @@ lean_inc(x_2); x_232 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_232, 0, x_2); lean_ctor_set(x_232, 1, x_231); -x_233 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_233 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_21); x_234 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_234, 0, x_21); lean_ctor_set(x_234, 1, x_233); -x_235 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__4; +x_235 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4; lean_inc(x_24); lean_inc(x_180); x_236 = l_Lean_addMacroScope(x_180, x_235, x_24); -x_237 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__7; +x_237 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7; lean_inc(x_3); x_238 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_238, 0, x_237); @@ -20104,7 +20281,7 @@ lean_inc(x_3); x_239 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_239, 0, x_238); lean_ctor_set(x_239, 1, x_3); -x_240 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3; +x_240 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3; lean_inc(x_21); x_241 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_241, 0, x_21); @@ -20154,9 +20331,9 @@ lean_inc(x_2); x_260 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_260, 0, x_2); lean_ctor_set(x_260, 1, x_259); -x_261 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__23; +x_261 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__23; x_262 = l_Lean_addMacroScope(x_180, x_261, x_24); -x_263 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__24; +x_263 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__24; lean_inc(x_3); x_264 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_264, 0, x_263); @@ -20164,7 +20341,7 @@ lean_ctor_set(x_264, 1, x_3); x_265 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_265, 0, x_264); lean_ctor_set(x_265, 1, x_3); -x_266 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__22; +x_266 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__22; lean_inc(x_21); x_267 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_267, 0, x_21); @@ -20253,7 +20430,7 @@ lean_inc(x_2); x_301 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_301, 0, x_2); lean_ctor_set(x_301, 1, x_300); -x_302 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__14; +x_302 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14; x_303 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_303, 0, x_21); lean_ctor_set(x_303, 1, x_302); @@ -20303,7 +20480,7 @@ x_323 = lean_array_push(x_5, x_322); x_324 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_324, 0, x_216); lean_ctor_set(x_324, 1, x_323); -x_325 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31; +x_325 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31; x_326 = lean_array_push(x_325, x_184); lean_inc(x_186); x_327 = lean_array_push(x_326, x_186); @@ -20846,7 +21023,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -21222,8 +21399,8 @@ x_48 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); -x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__2; -x_51 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(x_11, x_50); +x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2; +x_51 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_11, x_50); if (x_51 == 0) { lean_object* x_52; lean_object* x_53; lean_object* x_54; @@ -21354,8 +21531,8 @@ x_105 = l_Lean_Elab_Term_Quotation_mkTuple___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__2; -x_108 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(x_11, x_107); +x_107 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2; +x_108 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_11, x_107); lean_dec(x_11); if (x_108 == 0) { @@ -21496,8 +21673,8 @@ x_165 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; x_166 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_166, 0, x_165); lean_ctor_set(x_166, 1, x_164); -x_167 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__2; -x_168 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(x_11, x_167); +x_167 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2; +x_168 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_11, x_167); lean_dec(x_11); if (x_168 == 0) { @@ -21586,10 +21763,10 @@ lean_inc(x_201); x_202 = lean_ctor_get(x_200, 1); lean_inc(x_202); lean_dec(x_200); -x_203 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__23; +x_203 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__23; x_204 = l_Lean_addMacroScope(x_201, x_203, x_198); -x_205 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__22; -x_206 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__44; +x_205 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__22; +x_206 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__44; x_207 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_207, 0, x_195); lean_ctor_set(x_207, 1, x_205); @@ -21719,23 +21896,23 @@ lean_inc(x_211); x_267 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_267, 0, x_211); lean_ctor_set(x_267, 1, x_266); -x_268 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_268 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_211); x_269 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_269, 0, x_211); lean_ctor_set(x_269, 1, x_268); -x_270 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_270 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_211); x_271 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_271, 0, x_211); lean_ctor_set(x_271, 1, x_270); -x_272 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_272 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_273 = lean_array_push(x_272, x_269); lean_inc(x_273); x_274 = lean_array_push(x_273, x_237); lean_inc(x_271); x_275 = lean_array_push(x_274, x_271); -x_276 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_276 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_277 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_277, 0, x_276); lean_ctor_set(x_277, 1, x_275); @@ -21765,7 +21942,7 @@ lean_inc(x_211); x_292 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_292, 0, x_211); lean_ctor_set(x_292, 1, x_291); -x_293 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10; +x_293 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10; lean_inc(x_211); x_294 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_294, 0, x_211); @@ -21781,9 +21958,9 @@ lean_ctor_set(x_298, 0, x_211); lean_ctor_set(x_298, 1, x_297); lean_ctor_set(x_298, 2, x_296); lean_ctor_set(x_298, 3, x_16); -x_299 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__34; +x_299 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__34; x_300 = lean_array_push(x_299, x_298); -x_301 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__33; +x_301 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33; x_302 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_302, 0, x_301); lean_ctor_set(x_302, 1, x_300); @@ -21791,12 +21968,12 @@ x_303 = lean_array_push(x_227, x_302); x_304 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_304, 0, x_233); lean_ctor_set(x_304, 1, x_303); -x_305 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__14; +x_305 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14; lean_inc(x_211); x_306 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_306, 0, x_211); lean_ctor_set(x_306, 1, x_305); -x_307 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__19; +x_307 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19; lean_inc(x_211); x_308 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_308, 0, x_211); @@ -21822,7 +21999,7 @@ x_318 = lean_array_push(x_227, x_317); x_319 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_319, 0, x_233); lean_ctor_set(x_319, 1, x_318); -x_320 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_320 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_211); x_321 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_321, 0, x_211); @@ -21830,7 +22007,7 @@ lean_ctor_set(x_321, 1, x_320); x_322 = lean_usize_of_nat(x_208); lean_dec(x_208); x_323 = x_14; -x_324 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__6; +x_324 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6; x_325 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(x_324, x_16, x_16, x_211, x_214, x_218, x_233, x_227, x_237, x_235, x_289, x_276, x_271, x_273, x_322, x_281, x_323); x_326 = x_325; x_327 = l_Array_append___rarg(x_278, x_326); @@ -21849,7 +22026,7 @@ x_333 = lean_array_push(x_332, x_319); lean_inc(x_321); x_334 = lean_array_push(x_333, x_321); x_335 = lean_array_push(x_334, x_330); -x_336 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__18; +x_336 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__18; x_337 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_337, 0, x_336); lean_ctor_set(x_337, 1, x_335); @@ -21868,18 +22045,18 @@ x_345 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_345, 0, x_233); lean_ctor_set(x_345, 1, x_344); x_346 = lean_array_push(x_227, x_345); -x_347 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__16; +x_347 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__16; x_348 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_348, 0, x_347); lean_ctor_set(x_348, 1, x_346); -x_349 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31; +x_349 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31; x_350 = lean_array_push(x_349, x_294); x_351 = lean_array_push(x_350, x_237); x_352 = lean_array_push(x_351, x_304); x_353 = lean_array_push(x_352, x_237); x_354 = lean_array_push(x_353, x_306); x_355 = lean_array_push(x_354, x_348); -x_356 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__11; +x_356 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11; x_357 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_357, 0, x_356); lean_ctor_set(x_357, 1, x_355); @@ -22009,23 +22186,23 @@ lean_inc(x_211); x_422 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_422, 0, x_211); lean_ctor_set(x_422, 1, x_421); -x_423 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_423 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_211); x_424 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_424, 0, x_211); lean_ctor_set(x_424, 1, x_423); -x_425 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_425 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_211); x_426 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_426, 0, x_211); lean_ctor_set(x_426, 1, x_425); -x_427 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_427 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_428 = lean_array_push(x_427, x_424); lean_inc(x_428); x_429 = lean_array_push(x_428, x_392); lean_inc(x_426); x_430 = lean_array_push(x_429, x_426); -x_431 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_431 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_432 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_432, 0, x_431); lean_ctor_set(x_432, 1, x_430); @@ -22055,7 +22232,7 @@ lean_inc(x_211); x_447 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_447, 0, x_211); lean_ctor_set(x_447, 1, x_446); -x_448 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10; +x_448 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10; lean_inc(x_211); x_449 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_449, 0, x_211); @@ -22071,9 +22248,9 @@ lean_ctor_set(x_453, 0, x_211); lean_ctor_set(x_453, 1, x_452); lean_ctor_set(x_453, 2, x_451); lean_ctor_set(x_453, 3, x_16); -x_454 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__34; +x_454 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__34; x_455 = lean_array_push(x_454, x_453); -x_456 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__33; +x_456 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33; x_457 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_457, 0, x_456); lean_ctor_set(x_457, 1, x_455); @@ -22081,12 +22258,12 @@ x_458 = lean_array_push(x_382, x_457); x_459 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_459, 0, x_388); lean_ctor_set(x_459, 1, x_458); -x_460 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__14; +x_460 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14; lean_inc(x_211); x_461 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_461, 0, x_211); lean_ctor_set(x_461, 1, x_460); -x_462 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__19; +x_462 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19; lean_inc(x_211); x_463 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_463, 0, x_211); @@ -22112,7 +22289,7 @@ x_473 = lean_array_push(x_382, x_472); x_474 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_474, 0, x_388); lean_ctor_set(x_474, 1, x_473); -x_475 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_475 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; lean_inc(x_211); x_476 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_476, 0, x_211); @@ -22120,7 +22297,7 @@ lean_ctor_set(x_476, 1, x_475); x_477 = lean_usize_of_nat(x_208); lean_dec(x_208); x_478 = x_14; -x_479 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__6; +x_479 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6; x_480 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(x_479, x_16, x_16, x_211, x_214, x_372, x_388, x_382, x_392, x_390, x_444, x_431, x_426, x_428, x_477, x_436, x_478); x_481 = x_480; x_482 = l_Array_append___rarg(x_433, x_481); @@ -22139,7 +22316,7 @@ x_488 = lean_array_push(x_487, x_474); lean_inc(x_476); x_489 = lean_array_push(x_488, x_476); x_490 = lean_array_push(x_489, x_485); -x_491 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__18; +x_491 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__18; x_492 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_492, 0, x_491); lean_ctor_set(x_492, 1, x_490); @@ -22158,18 +22335,18 @@ x_500 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_500, 0, x_388); lean_ctor_set(x_500, 1, x_499); x_501 = lean_array_push(x_382, x_500); -x_502 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__16; +x_502 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__16; x_503 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_503, 0, x_502); lean_ctor_set(x_503, 1, x_501); -x_504 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31; +x_504 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31; x_505 = lean_array_push(x_504, x_449); x_506 = lean_array_push(x_505, x_392); x_507 = lean_array_push(x_506, x_459); x_508 = lean_array_push(x_507, x_392); x_509 = lean_array_push(x_508, x_461); x_510 = lean_array_push(x_509, x_503); -x_511 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__11; +x_511 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11; x_512 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_512, 0, x_511); lean_ctor_set(x_512, 1, x_510); @@ -22259,8 +22436,8 @@ x_555 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; x_556 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_556, 0, x_555); lean_ctor_set(x_556, 1, x_554); -x_557 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__2; -x_558 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(x_11, x_557); +x_557 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2; +x_558 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_11, x_557); lean_dec(x_11); if (x_558 == 0) { @@ -22388,8 +22565,8 @@ x_611 = l_Lean_Elab_Term_Quotation_mkTuple___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__2; -x_614 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(x_11, x_613); +x_613 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2; +x_614 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_11, x_613); lean_dec(x_11); if (x_614 == 0) { @@ -22518,8 +22695,8 @@ x_667 = l_Lean_Elab_Term_Quotation_mkTuple___closed__2; x_668 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_668, 0, x_667); lean_ctor_set(x_668, 1, x_666); -x_669 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__2; -x_670 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(x_11, x_669); +x_669 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2; +x_670 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_11, x_669); lean_dec(x_11); if (x_670 == 0) { @@ -22724,7 +22901,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__24; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__24; x_2 = l_Lean_Elab_Term_Quotation_mkTuple___closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -22734,7 +22911,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__29; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__29; x_2 = l_Lean_Elab_Term_Quotation_mkTuple___closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -22841,7 +23018,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -22881,8 +23058,8 @@ if (lean_obj_tag(x_12) == 0) lean_object* x_13; lean_object* x_14; lean_dec(x_4); lean_dec(x_3); -x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__11; -x_14 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_2, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__11; +x_14 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_2, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_14; } else @@ -22921,23 +23098,23 @@ lean_dec(x_4); lean_dec(x_3); x_24 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_24, 0, x_15); -x_25 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__14; +x_25 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__14; x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); -x_27 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__16; +x_27 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__16; x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5; +x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5; x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); -x_31 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__10; +x_31 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10; x_32 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_2, x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_33 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_2, x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_33; } else @@ -22974,7 +23151,7 @@ lean_inc(x_35); x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_35); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__19; +x_47 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__19; lean_inc(x_35); x_48 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_48, 0, x_35); @@ -22995,12 +23172,12 @@ lean_ctor_set(x_54, 3, x_53); x_55 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_56 = lean_array_push(x_55, x_48); x_57 = lean_array_push(x_56, x_54); -x_58 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__18; +x_58 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__18; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); x_60 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice(x_1); -x_61 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_61 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_35); x_62 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_62, 0, x_35); @@ -23044,16 +23221,16 @@ x_82 = lean_array_push(x_80, x_81); x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_74); lean_ctor_set(x_83, 1, x_82); -x_84 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_84 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_35); x_85 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_85, 0, x_35); lean_ctor_set(x_85, 1, x_84); -x_86 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_86 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_87 = lean_array_push(x_86, x_62); x_88 = lean_array_push(x_87, x_83); x_89 = lean_array_push(x_88, x_85); -x_90 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_90 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); @@ -23120,7 +23297,7 @@ lean_inc(x_35); x_125 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_125, 0, x_35); lean_ctor_set(x_125, 1, x_124); -x_126 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__19; +x_126 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__19; lean_inc(x_35); x_127 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_127, 0, x_35); @@ -23141,12 +23318,12 @@ lean_ctor_set(x_133, 3, x_132); x_134 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_135 = lean_array_push(x_134, x_127); x_136 = lean_array_push(x_135, x_133); -x_137 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__18; +x_137 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__18; 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 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice(x_1); -x_140 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_140 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_35); x_141 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_141, 0, x_35); @@ -23190,16 +23367,16 @@ x_161 = lean_array_push(x_159, x_160); x_162 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_162, 0, x_153); lean_ctor_set(x_162, 1, x_161); -x_163 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_163 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; lean_inc(x_35); x_164 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_164, 0, x_35); lean_ctor_set(x_164, 1, x_163); -x_165 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_165 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_166 = lean_array_push(x_165, x_141); x_167 = lean_array_push(x_166, x_162); x_168 = lean_array_push(x_167, x_164); -x_169 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11; +x_169 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11; x_170 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_170, 0, x_169); lean_ctor_set(x_170, 1, x_168); @@ -23658,23 +23835,23 @@ lean_dec(x_4); lean_dec(x_3); x_408 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_408, 0, x_15); -x_409 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__14; +x_409 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__14; x_410 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_410, 0, x_409); lean_ctor_set(x_410, 1, x_408); -x_411 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__16; +x_411 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__16; x_412 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_412, 0, x_410); lean_ctor_set(x_412, 1, x_411); -x_413 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5; +x_413 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5; x_414 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_414, 0, x_413); lean_ctor_set(x_414, 1, x_412); -x_415 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__10; +x_415 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10; x_416 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_416, 0, x_414); lean_ctor_set(x_416, 1, x_415); -x_417 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_2, x_416, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_417 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_2, x_416, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_417; } } @@ -23685,23 +23862,23 @@ lean_dec(x_4); lean_dec(x_3); x_418 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_418, 0, x_15); -x_419 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__14; +x_419 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__14; x_420 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_420, 0, x_419); lean_ctor_set(x_420, 1, x_418); -x_421 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__16; +x_421 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__16; x_422 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_422, 0, x_420); lean_ctor_set(x_422, 1, x_421); -x_423 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5; +x_423 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5; x_424 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_424, 0, x_423); lean_ctor_set(x_424, 1, x_422); -x_425 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__10; +x_425 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10; x_426 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_426, 0, x_424); lean_ctor_set(x_426, 1, x_425); -x_427 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_2, x_426, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_427 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7(x_2, x_426, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_427; } } @@ -23918,10 +24095,10 @@ lean_ctor_set(x_35, 0, x_21); 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_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10; +x_36 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; lean_inc(x_1); x_37 = lean_name_mk_string(x_1, x_36); -x_38 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_38 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_21); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_21); @@ -23930,7 +24107,7 @@ x_40 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo__ lean_inc(x_24); lean_inc(x_28); x_41 = l_Lean_addMacroScope(x_28, x_40, x_24); -x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__27; +x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27; x_43 = lean_name_mk_string(x_2, x_42); x_44 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4; x_45 = lean_name_mk_string(x_43, x_44); @@ -23961,11 +24138,11 @@ x_54 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_13, x_3); x_55 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_56 = lean_array_push(x_55, x_53); x_57 = lean_array_push(x_55, x_49); -x_58 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_58 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_59 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_59, 0, x_21); lean_ctor_set(x_59, 1, x_58); -x_60 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_60 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_61 = lean_array_push(x_60, x_39); x_62 = lean_array_push(x_55, x_35); if (lean_obj_tag(x_54) == 0) @@ -24014,11 +24191,11 @@ lean_dec(x_3); x_82 = lean_ctor_get(x_54, 0); lean_inc(x_82); lean_dec(x_54); -x_83 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__1; +x_83 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__1; x_84 = lean_name_mk_string(x_1, x_83); -x_85 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_85 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_86 = l_String_intercalate(x_85, x_82); -x_87 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_87 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_88 = lean_string_append(x_87, x_86); lean_dec(x_86); x_89 = l_Lean_nameLitKind; @@ -24087,10 +24264,10 @@ lean_ctor_set(x_121, 0, x_21); lean_ctor_set(x_121, 1, x_119); lean_ctor_set(x_121, 2, x_118); lean_ctor_set(x_121, 3, x_120); -x_122 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10; +x_122 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10; lean_inc(x_1); x_123 = lean_name_mk_string(x_1, x_122); -x_124 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_124 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; lean_inc(x_21); x_125 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_125, 0, x_21); @@ -24099,7 +24276,7 @@ x_126 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_ lean_inc(x_24); lean_inc(x_113); x_127 = l_Lean_addMacroScope(x_113, x_126, x_24); -x_128 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__27; +x_128 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27; x_129 = lean_name_mk_string(x_2, x_128); x_130 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4; x_131 = lean_name_mk_string(x_129, x_130); @@ -24130,11 +24307,11 @@ x_140 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_13, x_3); x_141 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_142 = lean_array_push(x_141, x_139); x_143 = lean_array_push(x_141, x_135); -x_144 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20; +x_144 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20; x_145 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_145, 0, x_21); lean_ctor_set(x_145, 1, x_144); -x_146 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21; +x_146 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21; x_147 = lean_array_push(x_146, x_125); x_148 = lean_array_push(x_141, x_121); if (lean_obj_tag(x_140) == 0) @@ -24185,11 +24362,11 @@ lean_dec(x_3); x_169 = lean_ctor_get(x_140, 0); lean_inc(x_169); lean_dec(x_140); -x_170 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__1; +x_170 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__1; x_171 = lean_name_mk_string(x_1, x_170); -x_172 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3; +x_172 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3; x_173 = l_String_intercalate(x_172, x_169); -x_174 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4; +x_174 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4; x_175 = lean_string_append(x_174, x_173); lean_dec(x_173); x_176 = l_Lean_nameLitKind; @@ -24531,7 +24708,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__1; x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -30353,7 +30530,7 @@ x_24 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_23); x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); -x_26 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__19; +x_26 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19; lean_inc(x_20); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_20); @@ -30364,7 +30541,7 @@ x_29 = l_List_redLength___rarg(x_28); x_30 = lean_mk_empty_array_with_capacity(x_29); lean_dec(x_29); x_31 = l_List_toArrayAux___rarg(x_28, x_30); -x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__12; +x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__12; x_33 = l_Lean_Syntax_SepArray_ofElems(x_32, x_31); lean_dec(x_31); lean_inc(x_1); @@ -30374,7 +30551,7 @@ x_35 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiq 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_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9; +x_37 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9; x_38 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_38, 0, x_20); lean_ctor_set(x_38, 1, x_37); @@ -30386,7 +30563,7 @@ x_41 = lean_array_push(x_40, x_27); x_42 = lean_array_push(x_41, x_36); x_43 = lean_array_push(x_42, x_38); x_44 = lean_array_push(x_43, x_39); -x_45 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__18; +x_45 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__18; x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); @@ -30618,7 +30795,7 @@ static lean_object* _init_l_List_format___at___private_Lean_Elab_Quotation_0__Le _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__12; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__12; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -30720,7 +30897,7 @@ static lean_object* _init_l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_E _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; x_2 = lean_string_length(x_1); return x_2; } @@ -30738,7 +30915,7 @@ static lean_object* _init_l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_E _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -30773,7 +30950,7 @@ x_14 = l_Std_fmt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); -x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__15; +x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__15; x_17 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); @@ -31061,7 +31238,7 @@ lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); lean_dec(x_39); -x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10; +x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10; lean_inc(x_34); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_34); @@ -31086,11 +31263,11 @@ lean_inc(x_45); x_52 = lean_array_push(x_51, x_45); lean_inc(x_52); x_53 = lean_array_push(x_52, x_50); -x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__33; +x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33; x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); -x_56 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__12; +x_56 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__12; lean_inc(x_34); x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_34); @@ -31107,7 +31284,7 @@ lean_dec(x_63); x_65 = x_62; x_66 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5(x_54, x_52, x_64, x_24, x_65); x_67 = x_66; -x_68 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__13; +x_68 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__13; x_69 = l_Lean_mkSepArray(x_67, x_68); lean_dec(x_67); x_70 = l_Array_append___rarg(x_59, x_69); @@ -31115,7 +31292,7 @@ lean_dec(x_69); x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_44); lean_ctor_set(x_71, 1, x_70); -x_72 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__14; +x_72 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14; x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_34); lean_ctor_set(x_73, 1, x_72); @@ -31126,11 +31303,11 @@ lean_ctor_set(x_75, 0, x_44); lean_ctor_set(x_75, 1, x_74); x_76 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__19; x_77 = lean_array_push(x_76, x_75); -x_78 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__16; +x_78 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__16; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); -x_80 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31; +x_80 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31; x_81 = lean_array_push(x_80, x_43); lean_inc(x_45); x_82 = lean_array_push(x_81, x_45); @@ -31138,7 +31315,7 @@ x_83 = lean_array_push(x_82, x_71); x_84 = lean_array_push(x_83, x_45); x_85 = lean_array_push(x_84, x_73); x_86 = lean_array_push(x_85, x_79); -x_87 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__11; +x_87 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11; x_88 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_88, 0, x_87); lean_ctor_set(x_88, 1, x_86); @@ -33117,23 +33294,11 @@ goto _start; } } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___rarg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; -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_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___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); @@ -33293,7 +33458,7 @@ lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__1(lean_ob _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1; +x_3 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; x_4 = lean_name_mk_string(x_1, x_3); lean_inc(x_2); x_5 = l_Lean_Syntax_isOfKind(x_2, x_4); @@ -33353,7 +33518,7 @@ lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3(lean_ob _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__17; +x_5 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__17; x_6 = lean_name_mk_string(x_1, x_5); lean_inc(x_4); x_7 = l_Lean_Syntax_isOfKind(x_4, x_6); @@ -33784,7 +33949,7 @@ lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand(lean_object* x_1, l _start: { lean_object* x_9; uint8_t x_10; -x_9 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__11; +x_9 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11; lean_inc(x_1); x_10 = l_Lean_Syntax_isOfKind(x_1, x_9); if (x_10 == 0) @@ -33797,7 +33962,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(x_8); return x_11; } else @@ -33818,7 +33983,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_17 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(x_8); return x_17; } else @@ -33884,7 +34049,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_26 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_26 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(x_8); return x_26; } else @@ -33907,7 +34072,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_31 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_31 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(x_8); return x_31; } else @@ -33916,7 +34081,7 @@ lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; x_32 = lean_unsigned_to_nat(5u); x_33 = l_Lean_Syntax_getArg(x_1, x_32); lean_dec(x_1); -x_34 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__16; +x_34 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__16; lean_inc(x_33); x_35 = l_Lean_Syntax_isOfKind(x_33, x_34); if (x_35 == 0) @@ -33930,7 +34095,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_36 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_36 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(x_8); return x_36; } else @@ -33953,7 +34118,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_41 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_41 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(x_8); return x_41; } else @@ -34245,14 +34410,14 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__11; +x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11; x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__2; x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9681_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9687_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -34465,234 +34630,236 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1 lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg___closed__2); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg___closed__3(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg___closed__3); -l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__1 = _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__1(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__1); -l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__2 = _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__2(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__2); -l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__3 = _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__3(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__3); -l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__4 = _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__4(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___closed__4); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1); +l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___closed__1); +l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1 = _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__1); +l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__2 = _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__2(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__2); +l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__3 = _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__3(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__3); +l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__4 = _init_l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__4(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__4); l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1(); lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__2); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__4 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__4(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__4); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__5 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__5(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__5); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__6 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__6(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__6); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__7 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__7(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__7); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__8 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__8(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__8); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__9 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__9(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__9); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__3); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__4); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__5); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__6); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__7 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__7(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__7); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__8 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__8(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__8); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__9 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__9(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__9); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__10); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__11); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__12); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__13 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__13(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__13); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__14 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__14(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__14); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__15 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__15(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__15); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__16 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__16(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__16); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__17 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__17(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__17); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__18 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__18(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__18); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__19 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__19(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__19); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__20); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__3___closed__21); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__3); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__4); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__5); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__6); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__7 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__7(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__7); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__8); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__9); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__10); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__11 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__11(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__11); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__12 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__12(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__12); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__13 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__13(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__13); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__14 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__14(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__14); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__15 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__15(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__15); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__16 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__16(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__16); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__17 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__17(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__17); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__18 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__18(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__18); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__19 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__19(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__19); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__20 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__20(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__20); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__21 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__21(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__21); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__22 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__22(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__22); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__23 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__23(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__23); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__24 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__24(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__24); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__25 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__25(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__25); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__26 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__26(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__26); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__27 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__27(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__27); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__28 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__28(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__28); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__29 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__29(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__29); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__30 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__30(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__30); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__4___closed__31); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__10 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__10(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__10); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__11 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__11(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__11); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__12 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__12(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__12); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__13 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__13(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__13); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__14 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__14(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__14); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__15 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__15(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__15); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__16 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__16(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__16); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__17 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__17(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__17); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__18 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__18(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__18); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__19 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__19(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__19); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__20 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__20(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__20); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__21 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__21(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__21); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__22 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__22(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__22); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__23 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__23(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__23); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__24 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__24(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__24); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__25 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__25(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__25); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__26 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__26(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__26); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__27 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__27(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__27); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__28); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__29 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__29(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__29); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__30 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__30(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__30); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__31 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__31(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__31); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__32 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__32(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__32); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__33 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__33(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__33); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__34 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__34(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__34); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__35 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__35(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__35); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__36 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__36(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__36); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__37 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__37(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__37); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__38 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__38(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__38); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__39 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__39(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__39); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__40 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__40(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__40); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__41 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__41(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__41); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__42 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__42(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__42); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__43 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__43(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__43); -l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__44 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__44(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__44); -l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__1 = _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__1); -l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2 = _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__2); -l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3 = _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__3); -l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4 = _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___closed__4); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__3); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__4); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__5); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__6); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__7); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__8); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__9); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__5); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__6); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__7 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__7(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__7); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__8 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__8(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__8); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__9 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__9(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__9); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__10); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__11); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__12); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__13 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__13(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__13); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__14 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__14(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__14); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__15 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__15(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__15); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__16 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__16(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__16); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__17 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__17(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__17); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__18 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__18(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__18); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__19 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__19(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__19); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__20); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__21); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__5); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__6); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__7); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__8); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__9); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__10); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__11); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__12 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__12(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__12); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__13 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__13(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__13); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__14); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__15 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__15(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__15); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__16 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__16(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__16); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__17 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__17(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__17); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__18 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__18(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__18); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__19); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__20 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__20(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__20); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__21 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__21(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__21); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__22 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__22(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__22); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__23 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__23(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__23); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__24 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__24(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__24); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__25 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__25(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__25); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__26 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__26(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__26); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__27 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__27(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__27); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__28 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__28(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__28); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__29 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__29(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__29); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__30 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__30(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__30); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__4___closed__31); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__5); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__6); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__7 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__7(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__7); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__8 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__8(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__8); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__9 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__9(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__9); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__10); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__11 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__11(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__11); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__12 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__12(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__12); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__13 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__13(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__13); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__14 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__14(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__14); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__15 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__15(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__15); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__16 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__16(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__16); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__17 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__17(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__17); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__18 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__18(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__18); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__19 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__19(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__19); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__20 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__20(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__20); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__21 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__21(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__21); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__22 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__22(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__22); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__23 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__23(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__23); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__24 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__24(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__24); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__25 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__25(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__25); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__26 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__26(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__26); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__27); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__28); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__29 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__29(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__29); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__30 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__30(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__30); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__31 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__31(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__31); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__32 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__32(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__32); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__33); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__34 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__34(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__34); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__35 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__35(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__35); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__36 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__36(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__36); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__37 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__37(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__37); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__38 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__38(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__38); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__39 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__39(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__39); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__40 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__40(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__40); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__41 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__41(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__41); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__42 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__42(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__42); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__43 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__43(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__43); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__44 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__44(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__44); +l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__1 = _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__1); +l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2 = _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__2); +l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3 = _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__3); +l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4 = _init_l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10___closed__4); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__2(); @@ -35728,8 +35895,6 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___cl lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__16); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__17(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__17); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___rarg___closed__1); l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1 = _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1); l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__1 = _init_l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__4___closed__1(); @@ -35753,7 +35918,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___c res = l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9681_(lean_io_mk_world()); +res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9687_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Quotation/Precheck.c b/stage0/stdlib/Lean/Elab/Quotation/Precheck.c index a61a5923c7..c54b0678be 100644 --- a/stage0/stdlib/Lean/Elab/Quotation/Precheck.c +++ b/stage0/stdlib/Lean/Elab/Quotation/Precheck.c @@ -17,9 +17,7 @@ lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__9; static lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__6; static lean_object* l_Lean_Elab_Term_Quotation_precheckApp___closed__2; -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isAnyAntiquot(lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabPrecheckedQuot(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_withNewLocals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -27,61 +25,65 @@ lean_object* l_Lean_Elab_Term_Quotation_precheckIdent_match__4(lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheckIdent___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_withNewLocal___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckIdent_match__2(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckApp___closed__1; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__5; lean_object* l_Lean_Elab_Term_Quotation_precheck_hasQuotedIdent___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__17; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__8; lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_96_(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_76_(lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_precheckParen___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckParen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__1; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___closed__15; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckApp(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheckIdent___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_id___rarg___boxed(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___closed__5; +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_76____closed__4; lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__4(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_Lean_Elab_Term_Quotation_precheck___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_Quotation_precheckIdent___spec__3(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_Lean_Elab_Term_Quotation_precheck___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__5___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___closed__14; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckApp___closed__1; -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckApp___closed__2; -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___closed__6; uint8_t l_Std_RBNode_any___at___private_Lean_Elab_Quotation_Precheck_0__Lean_Elab_Term_Quotation_isSectionVariable___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabPrecheckedQuot___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute(lean_object*); uint8_t l_USize_decLt(size_t, size_t); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_precheckParen___spec__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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__1___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Quotation_precheckApp___spec__1___closed__1; lean_object* l_Lean_Elab_Term_Quotation_precheckApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -94,14 +96,15 @@ lean_object* l_Lean_Elab_Term_Quotation_precheckIdent_match__3___rarg(lean_objec lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___closed__9; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Quotation_precheckApp___spec__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_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__6___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabPrecheckedQuot___closed__4; lean_object* l_Lean_Elab_Term_Quotation_precheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_getElems___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_withNewLocal(lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_76____closed__2; lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckParen___closed__3; @@ -113,8 +116,10 @@ lean_object* l_Lean_Elab_Term_Quotation_quotPrecheck; static lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_76____closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckIdent___closed__5; lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__5(lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheck_hasQuotedIdent_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckParen___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__14; static lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__5; @@ -130,7 +135,6 @@ lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__1(uint8_t, l static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__5; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckParen___closed__2; -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static uint32_t l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__2___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckIdent___closed__3; uint8_t l_Lean_Elab_Term_Quotation_precheck_hasQuotedIdent(lean_object*); @@ -138,9 +142,8 @@ lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckParen(lean_object*) lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_withNewLocals___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabPrecheckedQuot___closed__1; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckParen___closed__4; lean_object* l_Lean_Elab_Term_Quotation_precheck_hasQuotedIdent_match__1(lean_object*); @@ -152,26 +155,24 @@ lean_object* l_Lean_Elab_Term_resolveName(lean_object*, lean_object*, lean_objec lean_object* l___private_Lean_Elab_Quotation_Precheck_0__Lean_Elab_Term_Quotation_isSectionVariable___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__5(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_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getValues___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__7(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_Quotation_withNewLocals(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckIdent_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__4___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_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__16; -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__4(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_96____closed__2; size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_Elab_Term_Quotation_precheck_match__1(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_quotPrecheck___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_precheckParen___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___closed__10; @@ -187,30 +188,28 @@ lean_object* l_Lean_Syntax_getQuotContent(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckIdent(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__6(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_Precheck_0__Lean_Elab_Term_Quotation_isSectionVariable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabPrecheckedQuot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckIdent___closed__1; lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__13; lean_object* lean_environment_main_module(lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckIdent_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckParen___closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckIdent_match__3(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__1; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___rarg___closed__1; lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_96____closed__4; lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__3; lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Quotation_precheckApp___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -222,13 +221,13 @@ static lean_object* l_Lean_Elab_Term_Quotation_precheckParen___closed__6; static lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__4; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_Quotation_precheckIdent___spec__3___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_Lean_Elab_Term_Quotation_precheck_match__2___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__5; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__7___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__5___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_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___rarg___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_76____closed__3; lean_object* l_Lean_Elab_Term_Quotation_precheck_match__2(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_96____closed__1; @@ -236,16 +235,17 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckApp___closed lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__7___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___closed__16; +lean_object* l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__12; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckIdent___closed__4; static lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_76____closed__5; static lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__1___closed__2; -lean_object* l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabPrecheckedQuot___closed__3; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckIdent_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__11; static lean_object* l_Lean_Elab_Term_Quotation_precheckApp___closed__3; @@ -260,16 +260,20 @@ static lean_object* l_Lean_Elab_Term_Quotation_precheckApp___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabPrecheckedQuot___closed__5; lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute___lambda__8___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__4; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_any___at___private_Lean_Elab_Quotation_Precheck_0__Lean_Elab_Term_Quotation_isSectionVariable___spec__1___boxed(lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_precheckIdent_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__4; uint32_t lean_uint32_of_nat(lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__2; extern lean_object* l_Lean_Elab_Term_Quotation_hygiene; static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__3; lean_object* l_Lean_Elab_Term_Quotation_runPrecheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__1; +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__7; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_withNewLocals___spec__1(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__2___closed__1; @@ -1308,98 +1312,7 @@ x_3 = lean_box(x_2); return x_3; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_7, 3); -x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -lean_inc(x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__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) { -_start: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 3); -x_13 = l_Lean_replaceRef(x_1, x_12); -lean_dec(x_12); -lean_ctor_set(x_8, 3, x_13); -x_14 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -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; lean_object* x_24; lean_object* x_25; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -x_17 = lean_ctor_get(x_8, 2); -x_18 = lean_ctor_get(x_8, 3); -x_19 = lean_ctor_get(x_8, 4); -x_20 = lean_ctor_get(x_8, 5); -x_21 = lean_ctor_get(x_8, 6); -x_22 = lean_ctor_get(x_8, 7); -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_8); -x_23 = l_Lean_replaceRef(x_1, x_18); -lean_dec(x_18); -x_24 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_24, 0, x_15); -lean_ctor_set(x_24, 1, x_16); -lean_ctor_set(x_24, 2, x_17); -lean_ctor_set(x_24, 3, x_23); -lean_ctor_set(x_24, 4, x_19); -lean_ctor_set(x_24, 5, x_20); -lean_ctor_set(x_24, 6, x_21); -lean_ctor_set(x_24, 7, x_22); -x_25 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); -lean_dec(x_24); -return x_25; -} -} -} -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; @@ -1412,7 +1325,7 @@ lean_ctor_set(x_13, 1, x_9); return x_13; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__1() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__1() { _start: { lean_object* x_1; @@ -1420,16 +1333,16 @@ x_1 = lean_mk_string("["); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__2() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__1; +x_1 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__3() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__3() { _start: { lean_object* x_1; @@ -1437,16 +1350,16 @@ x_1 = lean_mk_string("] "); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__4() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__3; +x_1 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__5() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -1455,7 +1368,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4(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* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -1488,18 +1401,18 @@ x_22 = lean_ctor_get(x_17, 0); lean_inc(x_1); x_23 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_23, 0, x_1); -x_24 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__2; +x_24 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__2; x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__4; +x_26 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__4; x_27 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_13); -x_29 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__5; +x_29 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__5; x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); @@ -1546,18 +1459,18 @@ lean_dec(x_17); lean_inc(x_1); x_43 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_43, 0, x_1); -x_44 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__2; +x_44 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__2; x_45 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__4; +x_46 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__4; x_47 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_47, 0, x_45); lean_ctor_set(x_47, 1, x_46); x_48 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_13); -x_49 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__5; +x_49 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__5; x_50 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_50, 0, x_48); lean_ctor_set(x_50, 1, x_49); @@ -1618,18 +1531,18 @@ if (lean_is_exclusive(x_17)) { lean_inc(x_1); x_66 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_66, 0, x_1); -x_67 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__2; +x_67 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__2; x_68 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_66); -x_69 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__4; +x_69 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__4; x_70 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_70, 0, x_68); lean_ctor_set(x_70, 1, x_69); x_71 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_13); -x_72 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__5; +x_72 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__5; x_73 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_73, 0, x_71); lean_ctor_set(x_73, 1, x_72); @@ -1676,7 +1589,7 @@ return x_83; } } } -lean_object* l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__5(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* l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__4(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) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1728,7 +1641,7 @@ x_22 = lean_ctor_get(x_16, 1); lean_inc(x_22); lean_dec(x_16); lean_inc(x_14); -x_23 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__3(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +x_23 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__2(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_unbox(x_24); @@ -1755,7 +1668,7 @@ x_29 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_29, 0, x_15); x_30 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_30, 0, x_29); -x_31 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4(x_14, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28); +x_31 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3(x_14, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28); x_32 = lean_ctor_get(x_31, 1); lean_inc(x_32); lean_dec(x_31); @@ -1767,7 +1680,7 @@ goto _start; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__7(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* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__6(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) { _start: { lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -1805,7 +1718,7 @@ return x_18; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__6(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* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__5(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) { _start: { uint8_t x_11; @@ -1817,7 +1730,7 @@ x_12 = lean_ctor_get(x_8, 3); x_13 = l_Lean_replaceRef(x_1, x_12); lean_dec(x_12); lean_ctor_set(x_8, 3, x_13); -x_14 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_14 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); return x_14; } @@ -1852,13 +1765,13 @@ lean_ctor_set(x_24, 4, x_19); lean_ctor_set(x_24, 5, x_20); lean_ctor_set(x_24, 6, x_21); lean_ctor_set(x_24, 7, x_22); -x_25 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__7(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); +x_25 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); lean_dec(x_24); return x_25; } } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1870,25 +1783,489 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___rarg), 1, 0); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___rarg), 1, 0); return x_8; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__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; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__4(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; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__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) { +_start: +{ +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_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_7, 4); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 5); +lean_inc(x_15); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_13); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_18, 0, x_13); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_19, 0, x_13); +lean_closure_set(x_19, 1, x_14); +lean_closure_set(x_19, 2, x_15); +lean_inc(x_13); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_20, 0, x_13); +lean_closure_set(x_20, 1, x_14); +lean_closure_set(x_20, 2, x_15); +x_21 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_17); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_19); +lean_ctor_set(x_21, 4, x_20); +x_22 = x_21; +x_23 = lean_ctor_get(x_7, 3); +lean_inc(x_23); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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_ctor_get(x_7, 1); +lean_inc(x_27); +x_28 = lean_ctor_get(x_7, 2); +lean_inc(x_28); +x_29 = lean_st_ref_get(x_8, x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_environment_main_module(x_13); +x_34 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_25); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_23); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_apply_2(x_1, x_34, x_36); +if (lean_obj_tag(x_37) == 0) +{ +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; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_st_ref_take(x_8, x_31); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = !lean_is_exclusive(x_42); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_45 = lean_ctor_get(x_42, 1); +lean_dec(x_45); +lean_ctor_set(x_42, 1, x_40); +x_46 = lean_st_ref_set(x_8, x_42, x_43); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_ctor_get(x_39, 1); +lean_inc(x_48); +lean_dec(x_39); +x_49 = l_List_reverse___rarg(x_48); +x_50 = l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__4(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_47); +lean_dec(x_7); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) +{ +lean_object* x_52; +x_52 = lean_ctor_get(x_50, 0); +lean_dec(x_52); +lean_ctor_set(x_50, 0, x_38); +return x_50; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_38); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +else +{ +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; +x_55 = lean_ctor_get(x_42, 0); +x_56 = lean_ctor_get(x_42, 2); +x_57 = lean_ctor_get(x_42, 3); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_42); +x_58 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_58, 0, x_55); +lean_ctor_set(x_58, 1, x_40); +lean_ctor_set(x_58, 2, x_56); +lean_ctor_set(x_58, 3, x_57); +x_59 = lean_st_ref_set(x_8, x_58, x_43); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_61 = lean_ctor_get(x_39, 1); +lean_inc(x_61); +lean_dec(x_39); +x_62 = l_List_reverse___rarg(x_61); +x_63 = l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__4(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_60); +lean_dec(x_7); +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_65 = x_63; +} else { + lean_dec_ref(x_63); + x_65 = lean_box(0); +} +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(0, 2, 0); +} else { + x_66 = x_65; +} +lean_ctor_set(x_66, 0, x_38); +lean_ctor_set(x_66, 1, x_64); +return x_66; +} +} +else +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_37, 0); +lean_inc(x_67); +lean_dec(x_37); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__5(x_68, x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_68); +return x_72; +} +else +{ +lean_object* x_73; +lean_dec(x_7); +x_73 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___rarg(x_31); +return x_73; +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__9(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) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_7, 3); +x_11 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__8(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) { +_start: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_8); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_8, 3); +x_13 = l_Lean_replaceRef(x_1, x_12); +lean_dec(x_12); +lean_ctor_set(x_8, 3, x_13); +x_14 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_8); +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; lean_object* x_24; lean_object* x_25; +x_15 = lean_ctor_get(x_8, 0); +x_16 = lean_ctor_get(x_8, 1); +x_17 = lean_ctor_get(x_8, 2); +x_18 = lean_ctor_get(x_8, 3); +x_19 = lean_ctor_get(x_8, 4); +x_20 = lean_ctor_get(x_8, 5); +x_21 = lean_ctor_get(x_8, 6); +x_22 = lean_ctor_get(x_8, 7); +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_8); +x_23 = l_Lean_replaceRef(x_1, x_18); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_24, 0, x_15); +lean_ctor_set(x_24, 1, x_16); +lean_ctor_set(x_24, 2, x_17); +lean_ctor_set(x_24, 3, x_23); +lean_ctor_set(x_24, 4, x_19); +lean_ctor_set(x_24, 5, x_20); +lean_ctor_set(x_24, 6, x_21); +lean_ctor_set(x_24, 7, x_22); +x_25 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__9(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_9, x_10); +lean_dec(x_24); +return x_25; +} +} +} static lean_object* _init_l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__1() { _start: { @@ -1967,245 +2344,105 @@ x_20 = l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__6; x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__1(x_1, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_22 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__8(x_1, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_22; } } -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Term_Quotation_precheck___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_5 = l_Lean_Environment_contains(x_1, x_2); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_Quotation_precheck___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) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__4(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; -x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__5(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) { -_start: -{ -lean_object* x_11; lean_object* x_12; 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; -x_28 = lean_st_ref_get(x_9, x_10); -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_ctor_get(x_29, 0); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_8, 4); -lean_inc(x_32); -x_33 = lean_ctor_get(x_8, 5); -lean_inc(x_33); -lean_inc(x_31); -x_34 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_34, 0, x_31); -lean_inc(x_32); -x_35 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_35, 0, x_32); -lean_inc(x_31); -x_36 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_precheck___lambda__2___boxed), 4, 1); -lean_closure_set(x_36, 0, x_31); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -x_37 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_precheck___lambda__3___boxed), 6, 3); -lean_closure_set(x_37, 0, x_31); -lean_closure_set(x_37, 1, x_32); -lean_closure_set(x_37, 2, x_33); -lean_inc(x_31); -x_38 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_precheck___lambda__4___boxed), 6, 3); -lean_closure_set(x_38, 0, x_31); -lean_closure_set(x_38, 1, x_32); -lean_closure_set(x_38, 2, x_33); -x_39 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_39, 0, x_34); -lean_ctor_set(x_39, 1, x_35); -lean_ctor_set(x_39, 2, x_36); -lean_ctor_set(x_39, 3, x_37); -lean_ctor_set(x_39, 4, x_38); -x_40 = x_39; -x_41 = lean_ctor_get(x_8, 3); -lean_inc(x_41); -x_42 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_30); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_ctor_get(x_8, 1); -lean_inc(x_45); -x_46 = lean_ctor_get(x_8, 2); -lean_inc(x_46); -x_47 = lean_st_ref_get(x_9, x_44); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_environment_main_module(x_31); -x_52 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_52, 0, x_40); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_52, 2, x_43); -lean_ctor_set(x_52, 3, x_45); -lean_ctor_set(x_52, 4, x_46); -lean_ctor_set(x_52, 5, x_41); -x_53 = lean_box(0); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_50); -lean_ctor_set(x_54, 1, x_53); +lean_object* x_11; lean_object* x_12; lean_inc(x_1); -x_55 = l_Lean_Macro_expandMacro_x3f(x_1, x_52, x_54); -if (lean_obj_tag(x_55) == 0) +x_11 = lean_alloc_closure((void*)(l_Lean_Macro_expandMacro_x3f), 3, 1); +lean_closure_set(x_11, 0, x_1); +lean_inc(x_8); +x_12 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 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; uint8_t x_62; -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_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_st_ref_take(x_9, x_49); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -x_62 = !lean_is_exclusive(x_60); -if (x_62 == 0) +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) { -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; -x_63 = lean_ctor_get(x_60, 1); -lean_dec(x_63); -lean_ctor_set(x_60, 1, x_58); -x_64 = lean_st_ref_set(x_9, x_60, x_61); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec(x_64); -x_66 = lean_ctor_get(x_57, 1); -lean_inc(x_66); -lean_dec(x_57); -x_67 = l_List_reverse___rarg(x_66); -x_68 = l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__5(x_67, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_65); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_11 = x_56; -x_12 = x_69; -goto block_27; -} -else -{ -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; -x_70 = lean_ctor_get(x_60, 0); -x_71 = lean_ctor_get(x_60, 2); -x_72 = lean_ctor_get(x_60, 3); -lean_inc(x_72); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_60); -x_73 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_73, 0, x_70); -lean_ctor_set(x_73, 1, x_58); -lean_ctor_set(x_73, 2, x_71); -lean_ctor_set(x_73, 3, x_72); -x_74 = lean_st_ref_set(x_9, x_73, x_61); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_76 = lean_ctor_get(x_57, 1); -lean_inc(x_76); -lean_dec(x_57); -x_77 = l_List_reverse___rarg(x_76); -x_78 = l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__5(x_77, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_75); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_11 = x_56; -x_12 = x_79; -goto block_27; -} -} -else -{ -lean_object* x_80; -lean_dec(x_1); -x_80 = lean_ctor_get(x_55, 0); -lean_inc(x_80); -lean_dec(x_55); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_83, 0, x_82); -x_84 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_84, 0, x_83); -x_85 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__6(x_81, x_84, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_49); +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_box(0); +x_16 = l_Lean_Elab_Term_Quotation_precheck___lambda__1(x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_81); -x_86 = !lean_is_exclusive(x_85); -if (x_86 == 0) -{ -return x_85; +return x_16; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_85, 0); -x_88 = lean_ctor_get(x_85, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_85); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_1); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = lean_ctor_get(x_13, 0); +lean_inc(x_18); +lean_dec(x_13); +x_19 = l_Lean_Elab_Term_Quotation_precheck(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +x_22 = lean_box(0); +lean_ctor_set(x_19, 0, x_22); +return x_19; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_dec(x_19); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; } } else { -lean_object* x_90; uint8_t x_91; +uint8_t x_26; +x_26 = !lean_is_exclusive(x_19); +if (x_26 == 0) +{ +return x_19; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_19, 0); +x_28 = lean_ctor_get(x_19, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_19); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +else +{ +uint8_t x_30; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2213,103 +2450,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_90 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___rarg(x_49); -x_91 = !lean_is_exclusive(x_90); -if (x_91 == 0) -{ -return x_90; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_90, 0); -x_93 = lean_ctor_get(x_90, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_90); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; -} -} -} -block_27: -{ -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_box(0); -x_14 = l_Lean_Elab_Term_Quotation_precheck___lambda__1(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_dec(x_1); -x_15 = lean_ctor_get(x_11, 0); -lean_inc(x_15); -lean_dec(x_11); -x_16 = l_Lean_Elab_Term_Quotation_precheck(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); -if (lean_obj_tag(x_16) == 0) +x_30 = !lean_is_exclusive(x_12); +if (x_30 == 0) { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_16, 0); -lean_dec(x_18); -x_19 = lean_box(0); -lean_ctor_set(x_16, 0, x_19); -return x_16; +return x_12; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_dec(x_16); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -else -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) -{ -return x_16; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_16, 0); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_16); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_12, 0); +x_32 = lean_ctor_get(x_12, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_12); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } } -} -} -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__6(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* l_Lean_Elab_Term_Quotation_precheck___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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -2336,12 +2499,12 @@ else { lean_object* x_14; lean_object* x_15; x_14 = lean_box(0); -x_15 = l_Lean_Elab_Term_Quotation_precheck___lambda__5(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_15 = l_Lean_Elab_Term_Quotation_precheck___lambda__2(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_15; } } } -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__7(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* l_Lean_Elab_Term_Quotation_precheck___lambda__4(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) { _start: { uint8_t x_11; @@ -2351,7 +2514,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_box(0); -x_13 = l_Lean_Elab_Term_Quotation_precheck___lambda__6(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Lean_Elab_Term_Quotation_precheck___lambda__3(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } else @@ -2396,7 +2559,7 @@ if (lean_obj_tag(x_16) == 0) { lean_object* x_17; lean_object* x_18; x_17 = lean_box(0); -x_18 = l_Lean_Elab_Term_Quotation_precheck___lambda__7(x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_18 = l_Lean_Elab_Term_Quotation_precheck___lambda__4(x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); return x_18; } else @@ -2543,7 +2706,7 @@ lean_object* x_48; lean_object* x_49; lean_free_object(x_30); lean_dec(x_37); x_48 = lean_box(0); -x_49 = l_Lean_Elab_Term_Quotation_precheck___lambda__7(x_1, x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_43); +x_49 = l_Lean_Elab_Term_Quotation_precheck___lambda__4(x_1, x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_43); return x_49; } } @@ -2579,7 +2742,7 @@ else lean_object* x_55; lean_object* x_56; lean_dec(x_37); x_55 = lean_box(0); -x_56 = l_Lean_Elab_Term_Quotation_precheck___lambda__7(x_1, x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_50); +x_56 = l_Lean_Elab_Term_Quotation_precheck___lambda__4(x_1, x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_50); return x_56; } } @@ -2588,11 +2751,11 @@ return x_56; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -2603,11 +2766,56 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__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* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} +lean_object* l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__5___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -2618,86 +2826,11 @@ lean_dec(x_1); return x_11; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_11; -} -} -lean_object* l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__5___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) { -_start: -{ -lean_object* x_10; -x_10 = l_List_forM___at_Lean_Elab_Term_Quotation_precheck___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__7___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___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_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -2708,6 +2841,91 @@ lean_dec(x_1); return x_8; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___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_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__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_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__4___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_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Quotation_precheck___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__9___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__8___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_11; +} +} lean_object* l_Lean_Elab_Term_Quotation_precheck___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) { _start: { @@ -2723,61 +2941,29 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__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_Term_Quotation_precheck___lambda__2(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_Quotation_precheck___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_Term_Quotation_precheck___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__4___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_Quotation_precheck___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__5___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* l_Lean_Elab_Term_Quotation_precheck___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_Term_Quotation_precheck___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_Term_Quotation_precheck___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_2); return x_11; } } -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Term_Quotation_precheck___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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_Term_Quotation_precheck___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_Term_Quotation_precheck___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_2); return x_11; } } -lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__7___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* l_Lean_Elab_Term_Quotation_precheck___lambda__4___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) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_Term_Quotation_precheck___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_Term_Quotation_precheck___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_2); return x_11; } @@ -3039,7 +3225,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_pr _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___rarg___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); @@ -3288,7 +3474,7 @@ x_14 = l_Lean_Elab_Term_Quotation_precheckIdent___lambda__1___closed__4; x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__2(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_16 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__9(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_16; } } @@ -4923,18 +5109,18 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_Quotation_precheckAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_Quotation_precheckAttribute); lean_dec_ref(res); -l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__1); -l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__2); -l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__3); -l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__4); -l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__5 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__5(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__4___closed__5); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8___rarg___closed__1); +l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__1); +l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__2); +l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__3); +l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__4); +l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__5 = _init_l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__5(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_Quotation_precheck___spec__3___closed__5); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__7___rarg___closed__1); l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__1 = _init_l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__1); l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__2 = _init_l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index 3ba6ed4eb6..4c7f0220ad 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -16,12 +16,13 @@ extern "C" { lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnexpectedExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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* l_Lean_Elab_Term_StructInst_Struct_modifyFields(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___spec__1___rarg___closed__1; lean_object* l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__6(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__6; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); uint8_t l_List_foldr___at_Lean_Elab_Term_StructInst_Struct_allDefault___spec__1(uint8_t, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__3; @@ -48,7 +49,6 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkSort(lean_object*); lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___closed__4; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_DefaultFields_reduce___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_allDefault_match__2___rarg(lean_object*, lean_object*); @@ -69,7 +69,6 @@ lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax_match__1___rarg(lean_ lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__4___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_expr_update_mdata(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst___closed__3; @@ -88,7 +87,6 @@ static lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___ static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__29; static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___lambda__1___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkProjStx(lean_object*, lean_object*); @@ -127,7 +125,6 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_group static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__16; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__4; lean_object* l_List_append___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_instToStringFieldStruct___closed__1; lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields___spec__1(lean_object*, lean_object*); @@ -176,6 +173,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedTy lean_object* l_Lean_Elab_Term_StructInst_elabStructInst_match__1(lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__14; lean_object* l_Lean_Expr_appArg_x21(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); @@ -277,9 +275,10 @@ static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___c lean_object* l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__7; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnexpectedExpectedType___closed__3; +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__8; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap_match__1(lean_object*); static lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__3___closed__4; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -314,7 +313,6 @@ lean_object* l_Lean_mkAnnotation(lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Source_isNone_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__10; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldName___closed__2; @@ -349,6 +347,7 @@ static lean_object* l_List_map___at_Lean_Elab_Term_StructInst_formatStruct___spe static lean_object* l_Lean_Elab_Term_StructInst_markDefaultMissing___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux(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_List_map___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___closed__2; lean_object* l_List_findSome_x3f___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduceProjOf_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -392,12 +391,12 @@ lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(l static lean_object* l_Lean_Elab_Term_StructInst_instInhabitedFieldVal___closed__1; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__10; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_findField_x3f(lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_dbg_to_string(lean_object*); -lean_object* l_Std_fmt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop___closed__2; lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_defaultMissing_x3f(lean_object*); @@ -485,6 +484,7 @@ static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructIns static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__10; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -494,11 +494,13 @@ uint8_t l_Lean_Syntax_isMissing(lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_findField_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_instToStringStruct___closed__2; extern lean_object* l_Lean_Expr_FindImpl_initCache; lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__1; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__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_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst___closed__2; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__4; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___closed__2; @@ -509,6 +511,7 @@ static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___c lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_collectStructNames_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_Field_toSyntax___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_instantiate_value_lparams(lean_object*, lean_object*); @@ -572,7 +575,6 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expan lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_ref___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f___lambda__1___closed__1; -lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__7(lean_object*, lean_object*); static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___closed__1; @@ -600,6 +602,7 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expan lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax_match__1(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduceProjOf_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__4; @@ -627,6 +630,7 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop_match__1___ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__8; uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSource___closed__15; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValue_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -635,9 +639,10 @@ lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_objec lean_object* l_Lean_isSubobjectField_x3f(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___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_mk_array(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_setStructSourceSyntax_match__1(lean_object*); uint8_t l_Lean_Elab_Term_StructInst_Source_isNone(lean_object*); @@ -665,6 +670,7 @@ lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_0__Le lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__7; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault(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_Std_fmt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__5(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct_match__3___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__24; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -683,7 +689,6 @@ lean_object* l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f___boxed(lean lean_object* l_Lean_Elab_Term_StructInst_instInhabitedFieldVal(lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3___closed__6; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___closed__3; static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__1; @@ -698,7 +703,6 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSim lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__8; lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS_match__1(lean_object*); -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at_Lean_Elab_Term_StructInst_DefaultFields_getHierarchyDepth___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields_match__2___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_StructInst_DefaultFields_State_progress___default; @@ -4232,7 +4236,7 @@ x_140 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab lean_closure_set(x_140, 0, x_1); lean_closure_set(x_140, 1, x_137); lean_closure_set(x_140, 2, x_4); -x_141 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_137, x_140, x_5, x_6, x_7, x_8, x_9, x_10, x_139); +x_141 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_137, x_140, x_5, x_6, x_7, x_8, x_9, x_10, x_139); return x_141; } else @@ -4269,7 +4273,7 @@ x_153 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab lean_closure_set(x_153, 0, x_1); lean_closure_set(x_153, 1, x_137); lean_closure_set(x_153, 2, x_4); -x_154 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_137, x_153, x_5, x_6, x_7, x_8, x_9, x_10, x_152); +x_154 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_137, x_153, x_5, x_6, x_7, x_8, x_9, x_10, x_152); return x_154; } } @@ -4521,7 +4525,7 @@ x_291 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab lean_closure_set(x_291, 0, x_1); lean_closure_set(x_291, 1, x_288); lean_closure_set(x_291, 2, x_4); -x_292 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_288, x_291, x_5, x_6, x_7, x_8, x_9, x_10, x_290); +x_292 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_288, x_291, x_5, x_6, x_7, x_8, x_9, x_10, x_290); return x_292; } else @@ -4558,7 +4562,7 @@ x_304 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab lean_closure_set(x_304, 0, x_1); lean_closure_set(x_304, 1, x_288); lean_closure_set(x_304, 2, x_4); -x_305 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_288, x_304, x_5, x_6, x_7, x_8, x_9, x_10, x_303); +x_305 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_288, x_304, x_5, x_6, x_7, x_8, x_9, x_10, x_303); return x_305; } } @@ -18431,7 +18435,7 @@ x_59 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Struc x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_58); lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_60, x_4, x_5, x_6, x_7, x_8, x_9, x_55); +x_61 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_60, x_4, x_5, x_6, x_7, x_8, x_9, x_55); x_62 = !lean_is_exclusive(x_61); if (x_62 == 0) { @@ -18603,7 +18607,7 @@ x_98 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Struc x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_97); lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_99, x_4, x_5, x_6, x_7, x_8, x_9, x_94); +x_100 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_99, x_4, x_5, x_6, x_7, x_8, x_9, x_94); x_101 = !lean_is_exclusive(x_100); if (x_101 == 0) { @@ -18728,7 +18732,7 @@ x_124 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_125 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_125, 0, x_123); lean_ctor_set(x_125, 1, x_124); -x_126 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_125, x_4, x_5, x_6, x_7, x_8, x_9, x_120); +x_126 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_125, x_4, x_5, x_6, x_7, x_8, x_9, x_120); x_127 = lean_ctor_get(x_126, 1); lean_inc(x_127); if (lean_is_exclusive(x_126)) { @@ -18868,7 +18872,7 @@ x_149 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_150 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_150, 0, x_148); lean_ctor_set(x_150, 1, x_149); -x_151 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_150, x_4, x_5, x_6, x_7, x_8, x_9, x_142); +x_151 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_150, x_4, x_5, x_6, x_7, x_8, x_9, x_142); x_152 = !lean_is_exclusive(x_151); if (x_152 == 0) { @@ -18933,7 +18937,7 @@ x_165 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_166 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_166, 0, x_164); lean_ctor_set(x_166, 1, x_165); -x_167 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_166, x_4, x_5, x_6, x_7, x_8, x_9, x_142); +x_167 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_166, x_4, x_5, x_6, x_7, x_8, x_9, x_142); x_168 = lean_ctor_get(x_167, 1); lean_inc(x_168); if (lean_is_exclusive(x_167)) { @@ -19092,7 +19096,7 @@ x_197 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_198 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_198, 0, x_196); lean_ctor_set(x_198, 1, x_197); -x_199 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_198, x_4, x_5, x_6, x_7, x_8, x_9, x_192); +x_199 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_198, x_4, x_5, x_6, x_7, x_8, x_9, x_192); x_200 = lean_ctor_get(x_199, 1); lean_inc(x_200); if (lean_is_exclusive(x_199)) { @@ -19240,7 +19244,7 @@ x_223 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_224 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_224, 0, x_222); lean_ctor_set(x_224, 1, x_223); -x_225 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_224, x_4, x_5, x_6, x_7, x_8, x_9, x_215); +x_225 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_224, x_4, x_5, x_6, x_7, x_8, x_9, x_215); x_226 = lean_ctor_get(x_225, 1); lean_inc(x_226); if (lean_is_exclusive(x_225)) { @@ -19383,7 +19387,7 @@ x_259 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_260 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_260, 0, x_258); lean_ctor_set(x_260, 1, x_259); -x_261 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_260, x_4, x_5, x_6, x_7, x_8, x_9, x_254); +x_261 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_260, x_4, x_5, x_6, x_7, x_8, x_9, x_254); x_262 = !lean_is_exclusive(x_261); if (x_262 == 0) { @@ -19601,7 +19605,7 @@ x_314 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_315 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_315, 0, x_313); lean_ctor_set(x_315, 1, x_314); -x_316 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_315, x_4, x_5, x_6, x_7, x_8, x_9, x_310); +x_316 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_315, x_4, x_5, x_6, x_7, x_8, x_9, x_310); x_317 = lean_ctor_get(x_316, 1); lean_inc(x_317); if (lean_is_exclusive(x_316)) { @@ -19779,7 +19783,7 @@ x_351 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_352 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_352, 0, x_350); lean_ctor_set(x_352, 1, x_351); -x_353 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_352, x_4, x_5, x_6, x_7, x_8, x_9, x_346); +x_353 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_352, x_4, x_5, x_6, x_7, x_8, x_9, x_346); x_354 = lean_ctor_get(x_353, 1); lean_inc(x_354); if (lean_is_exclusive(x_353)) { @@ -19936,7 +19940,7 @@ x_378 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_379 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_379, 0, x_377); lean_ctor_set(x_379, 1, x_378); -x_380 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_379, x_4, x_5, x_6, x_7, x_8, x_9, x_370); +x_380 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_379, x_4, x_5, x_6, x_7, x_8, x_9, x_370); x_381 = lean_ctor_get(x_380, 1); lean_inc(x_381); if (lean_is_exclusive(x_380)) { @@ -20082,7 +20086,7 @@ x_415 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_416 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_416, 0, x_414); lean_ctor_set(x_416, 1, x_415); -x_417 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_416, x_4, x_5, x_6, x_7, x_8, x_9, x_410); +x_417 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_416, x_4, x_5, x_6, x_7, x_8, x_9, x_410); x_418 = lean_ctor_get(x_417, 1); lean_inc(x_418); if (lean_is_exclusive(x_417)) { @@ -20303,7 +20307,7 @@ x_468 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_469 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_469, 0, x_467); lean_ctor_set(x_469, 1, x_468); -x_470 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_469, x_4, x_5, x_6, x_7, x_8, x_9, x_464); +x_470 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_469, x_4, x_5, x_6, x_7, x_8, x_9, x_464); x_471 = lean_ctor_get(x_470, 1); lean_inc(x_471); if (lean_is_exclusive(x_470)) { @@ -20487,7 +20491,7 @@ x_506 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_507 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_507, 0, x_505); lean_ctor_set(x_507, 1, x_506); -x_508 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_507, x_4, x_5, x_6, x_7, x_8, x_9, x_501); +x_508 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_507, x_4, x_5, x_6, x_7, x_8, x_9, x_501); x_509 = lean_ctor_get(x_508, 1); lean_inc(x_509); if (lean_is_exclusive(x_508)) { @@ -20649,7 +20653,7 @@ x_534 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_535 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_535, 0, x_533); lean_ctor_set(x_535, 1, x_534); -x_536 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_535, x_4, x_5, x_6, x_7, x_8, x_9, x_526); +x_536 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_535, x_4, x_5, x_6, x_7, x_8, x_9, x_526); x_537 = lean_ctor_get(x_536, 1); lean_inc(x_537); if (lean_is_exclusive(x_536)) { @@ -20801,7 +20805,7 @@ x_572 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_573 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_573, 0, x_571); lean_ctor_set(x_573, 1, x_572); -x_574 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_573, x_4, x_5, x_6, x_7, x_8, x_9, x_567); +x_574 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_573, x_4, x_5, x_6, x_7, x_8, x_9, x_567); x_575 = lean_ctor_get(x_574, 1); lean_inc(x_575); if (lean_is_exclusive(x_574)) { @@ -21038,7 +21042,7 @@ x_628 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_629 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_629, 0, x_627); lean_ctor_set(x_629, 1, x_628); -x_630 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_629, x_4, x_5, x_6, x_7, x_8, x_9, x_624); +x_630 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_629, x_4, x_5, x_6, x_7, x_8, x_9, x_624); x_631 = lean_ctor_get(x_630, 1); lean_inc(x_631); if (lean_is_exclusive(x_630)) { @@ -21226,7 +21230,7 @@ x_667 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_668 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_668, 0, x_666); lean_ctor_set(x_668, 1, x_667); -x_669 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_668, x_4, x_5, x_6, x_7, x_8, x_9, x_662); +x_669 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_668, x_4, x_5, x_6, x_7, x_8, x_9, x_662); x_670 = lean_ctor_get(x_669, 1); lean_inc(x_670); if (lean_is_exclusive(x_669)) { @@ -21394,7 +21398,7 @@ x_695 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_696 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_696, 0, x_694); lean_ctor_set(x_696, 1, x_695); -x_697 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_696, x_4, x_5, x_6, x_7, x_8, x_9, x_687); +x_697 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_696, x_4, x_5, x_6, x_7, x_8, x_9, x_687); x_698 = lean_ctor_get(x_697, 1); lean_inc(x_698); if (lean_is_exclusive(x_697)) { @@ -21551,7 +21555,7 @@ x_734 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_735 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_735, 0, x_733); lean_ctor_set(x_735, 1, x_734); -x_736 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_735, x_4, x_5, x_6, x_7, x_8, x_9, x_729); +x_736 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_735, x_4, x_5, x_6, x_7, x_8, x_9, x_729); x_737 = lean_ctor_get(x_736, 1); lean_inc(x_737); if (lean_is_exclusive(x_736)) { @@ -21926,7 +21930,7 @@ x_816 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_817 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_817, 0, x_815); lean_ctor_set(x_817, 1, x_816); -x_818 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_817, x_4, x_5, x_6, x_7, x_8, x_9, x_812); +x_818 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_817, x_4, x_5, x_6, x_7, x_8, x_9, x_812); x_819 = lean_ctor_get(x_818, 1); lean_inc(x_819); if (lean_is_exclusive(x_818)) { @@ -22120,7 +22124,7 @@ x_856 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_857 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_857, 0, x_855); lean_ctor_set(x_857, 1, x_856); -x_858 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_857, x_4, x_5, x_6, x_7, x_8, x_9, x_851); +x_858 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_857, x_4, x_5, x_6, x_7, x_8, x_9, x_851); x_859 = lean_ctor_get(x_858, 1); lean_inc(x_859); if (lean_is_exclusive(x_858)) { @@ -22287,7 +22291,7 @@ x_885 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_886 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_886, 0, x_884); lean_ctor_set(x_886, 1, x_885); -x_887 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_886, x_4, x_5, x_6, x_7, x_8, x_9, x_877); +x_887 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_886, x_4, x_5, x_6, x_7, x_8, x_9, x_877); x_888 = lean_ctor_get(x_887, 1); lean_inc(x_888); if (lean_is_exclusive(x_887)) { @@ -22449,7 +22453,7 @@ x_925 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru x_926 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_926, 0, x_924); lean_ctor_set(x_926, 1, x_925); -x_927 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_926, x_4, x_5, x_6, x_7, x_8, x_9, x_920); +x_927 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_926, x_4, x_5, x_6, x_7, x_8, x_9, x_920); x_928 = lean_ctor_get(x_927, 1); lean_inc(x_928); if (lean_is_exclusive(x_927)) { @@ -27974,14 +27978,6 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_T return x_2; } } -lean_object* l_Std_fmt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Elab_Term_StructInst_formatStruct(x_1); -return x_2; -} -} lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -28114,7 +28110,136 @@ x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___priva return x_7; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__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; lean_object* x_7; @@ -28126,7 +28251,7 @@ lean_ctor_set(x_7, 1, x_4); return x_7; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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) { +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___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) { _start: { lean_object* x_7; lean_object* x_8; @@ -28137,7 +28262,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__4(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; @@ -28148,442 +28273,484 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__4(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) { +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__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) { _start: { -lean_object* x_13; lean_object* x_14; 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; -x_62 = lean_st_ref_get(x_11, x_12); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_ctor_get(x_63, 0); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_ctor_get(x_10, 4); -lean_inc(x_66); -x_67 = lean_ctor_get(x_10, 5); -lean_inc(x_67); -lean_inc(x_65); -x_68 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_68, 0, x_65); -lean_inc(x_66); -x_69 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_69, 0, x_66); -lean_inc(x_65); -x_70 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__1___boxed), 4, 1); -lean_closure_set(x_70, 0, x_65); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_65); -x_71 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__2___boxed), 6, 3); -lean_closure_set(x_71, 0, x_65); -lean_closure_set(x_71, 1, x_66); -lean_closure_set(x_71, 2, x_67); -lean_inc(x_65); -x_72 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__3___boxed), 6, 3); -lean_closure_set(x_72, 0, x_65); -lean_closure_set(x_72, 1, x_66); -lean_closure_set(x_72, 2, x_67); -x_73 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_73, 0, x_68); -lean_ctor_set(x_73, 1, x_69); -lean_ctor_set(x_73, 2, x_70); -lean_ctor_set(x_73, 3, x_71); -lean_ctor_set(x_73, 4, x_72); -x_74 = x_73; -x_75 = lean_ctor_get(x_10, 3); -lean_inc(x_75); -x_76 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_64); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_ctor_get(x_10, 1); -lean_inc(x_79); -x_80 = lean_ctor_get(x_10, 2); -lean_inc(x_80); -x_81 = lean_st_ref_get(x_11, x_78); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_environment_main_module(x_65); -x_86 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_86, 0, x_74); -lean_ctor_set(x_86, 1, x_85); -lean_ctor_set(x_86, 2, x_77); -lean_ctor_set(x_86, 3, x_79); -lean_ctor_set(x_86, 4, x_80); -lean_ctor_set(x_86, 5, x_75); -x_87 = lean_box(0); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_84); -lean_ctor_set(x_88, 1, x_87); -x_89 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkStructView(x_2, x_3, x_4, x_86, x_88); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_st_ref_take(x_11, x_83); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); -x_96 = !lean_is_exclusive(x_94); -if (x_96 == 0) -{ -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; -x_97 = lean_ctor_get(x_94, 1); -lean_dec(x_97); -lean_ctor_set(x_94, 1, x_92); -x_98 = lean_st_ref_set(x_11, x_94, x_95); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -lean_dec(x_98); -x_100 = lean_ctor_get(x_91, 1); -lean_inc(x_100); -lean_dec(x_91); -x_101 = l_List_reverse___rarg(x_100); -x_102 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_101, x_6, x_7, x_8, x_9, x_10, x_11, x_99); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -lean_dec(x_102); -x_13 = x_90; -x_14 = x_103; -goto block_61; -} -else -{ -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; -x_104 = lean_ctor_get(x_94, 0); -x_105 = lean_ctor_get(x_94, 2); -x_106 = lean_ctor_get(x_94, 3); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_94); -x_107 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_107, 0, x_104); -lean_ctor_set(x_107, 1, x_92); -lean_ctor_set(x_107, 2, x_105); -lean_ctor_set(x_107, 3, x_106); -x_108 = lean_st_ref_set(x_11, x_107, x_95); -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -lean_dec(x_108); -x_110 = lean_ctor_get(x_91, 1); -lean_inc(x_110); -lean_dec(x_91); -x_111 = l_List_reverse___rarg(x_110); -x_112 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_111, x_6, x_7, x_8, x_9, x_10, x_11, x_109); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -lean_dec(x_112); -x_13 = x_90; -x_14 = x_113; -goto block_61; -} -} -else -{ -lean_object* x_114; -lean_dec(x_1); -x_114 = lean_ctor_get(x_89, 0); -lean_inc(x_114); -lean_dec(x_89); -if (lean_obj_tag(x_114) == 0) -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -lean_dec(x_114); -x_117 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_117, 0, x_116); -x_118 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_118, 0, x_117); -x_119 = l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__2(x_115, x_118, x_6, x_7, x_8, x_9, x_10, x_11, x_83); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_115); -x_120 = !lean_is_exclusive(x_119); -if (x_120 == 0) -{ -return x_119; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_121 = lean_ctor_get(x_119, 0); -x_122 = lean_ctor_get(x_119, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_119); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -return x_123; -} -} -else -{ -lean_object* x_124; uint8_t x_125; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_124 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__4___rarg(x_83); -x_125 = !lean_is_exclusive(x_124); -if (x_125 == 0) -{ -return x_124; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_124, 0); -x_127 = lean_ctor_get(x_124, 1); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_124); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -return x_128; -} -} -} -block_61: -{ -lean_object* x_15; -lean_inc(x_11); +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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_15 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct(x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_14); -if (lean_obj_tag(x_15) == 0) +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 5); +lean_inc(x_14); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_17, 0, x_12); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_18, 0, x_12); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_14); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_14); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = x_20; +x_22 = lean_ctor_get(x_6, 3); +lean_inc(x_22); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_6, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 2); +lean_inc(x_27); +x_28 = lean_st_ref_get(x_7, x_25); +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_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_environment_main_module(x_12); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_24); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_27); +lean_ctor_set(x_33, 5, x_22); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_2(x_1, x_33, x_35); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -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); -x_38 = lean_st_ref_get(x_11, x_17); +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_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); -x_40 = lean_ctor_get(x_39, 3); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_ctor_get_uint8(x_40, sizeof(void*)*1); -lean_dec(x_40); -if (x_41 == 0) -{ -lean_object* x_42; -x_42 = lean_ctor_get(x_38, 1); +x_40 = lean_st_ref_take(x_7, x_30); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); -lean_dec(x_38); -x_18 = x_42; -goto block_37; -} -else +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) { -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_38, 1); -lean_inc(x_43); -lean_dec(x_38); -x_44 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__3; -x_45 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_44, x_6, x_7, x_8, x_9, x_10, x_11, x_43); -x_46 = lean_ctor_get(x_45, 0); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_41, 1); +lean_dec(x_44); +lean_ctor_set(x_41, 1, x_39); +x_45 = lean_st_ref_set(x_7, x_41, x_42); +x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); -x_47 = lean_unbox(x_46); -lean_dec(x_46); -if (x_47 == 0) -{ -lean_object* x_48; -x_48 = lean_ctor_get(x_45, 1); -lean_inc(x_48); lean_dec(x_45); -x_18 = x_48; -goto block_37; +x_47 = lean_ctor_get(x_38, 1); +lean_inc(x_47); +lean_dec(x_38); +x_48 = l_List_reverse___rarg(x_47); +x_49 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_6); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_37); +return x_49; } else { -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; -x_49 = lean_ctor_get(x_45, 1); -lean_inc(x_49); -lean_dec(x_45); -lean_inc(x_16); -x_50 = l_Lean_Elab_Term_StructInst_formatStruct(x_16); -x_51 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_51, 0, x_50); -x_52 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; -x_53 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_44, x_54, x_6, x_7, x_8, x_9, x_10, x_11, x_49); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -lean_dec(x_55); -x_18 = x_56; -goto block_37; +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } -block_37: +else { -lean_object* x_19; +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; +x_54 = lean_ctor_get(x_41, 0); +x_55 = lean_ctor_get(x_41, 2); +x_56 = lean_ctor_get(x_41, 3); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_41); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_39); +lean_ctor_set(x_57, 2, x_55); +lean_ctor_set(x_57, 3, x_56); +x_58 = lean_st_ref_set(x_7, x_57, x_42); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get(x_38, 1); +lean_inc(x_60); +lean_dec(x_38); +x_61 = l_List_reverse___rarg(x_60); +x_62 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_59); +lean_dec(x_6); +lean_dec(x_2); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_37); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_36, 0); +lean_inc(x_66); +lean_dec(x_36); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__2(x_67, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +lean_dec(x_67); +return x_71; +} +else +{ +lean_object* x_72; +lean_dec(x_6); +lean_dec(x_2); +x_72 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__4___rarg(x_30); +return x_72; +} +} +} +} +lean_object* l_Std_fmt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Term_StructInst_formatStruct(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkStructView), 5, 3); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_2); +lean_closure_set(x_13, 2, x_3); +lean_inc(x_10); +lean_inc(x_6); +x_14 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1(x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_19 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct(x_16, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_19) == 0) +x_17 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct(x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -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_ctor_get(x_20, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_dec(x_20); -x_24 = l_Lean_Elab_Term_StructInst_DefaultFields_propagate(x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_21); -if (lean_obj_tag(x_24) == 0) +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +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_40 = lean_st_ref_get(x_11, x_19); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_41, 3); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*1); +lean_dec(x_42); +if (x_43 == 0) { -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -lean_ctor_set(x_24, 0, x_22); -return x_24; +lean_object* x_44; +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_dec(x_40); +x_20 = x_44; +goto block_39; } else { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_22); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__3; +x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_46, x_6, x_7, x_8, x_9, x_10, x_11, x_45); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_unbox(x_48); +lean_dec(x_48); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_47, 1); +lean_inc(x_50); +lean_dec(x_47); +x_20 = x_50; +goto block_39; } else { -uint8_t x_29; -lean_dec(x_22); -x_29 = !lean_is_exclusive(x_24); -if (x_29 == 0) -{ -return x_24; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_24, 0); -x_31 = lean_ctor_get(x_24, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_24); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -} -else -{ -uint8_t x_33; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_33 = !lean_is_exclusive(x_19); -if (x_33 == 0) -{ -return x_19; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_19, 0); -x_35 = lean_ctor_get(x_19, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_19); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -} -else -{ -uint8_t x_57; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_57 = !lean_is_exclusive(x_15); -if (x_57 == 0) -{ -return x_15; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_15, 0); -x_59 = lean_ctor_get(x_15, 1); -lean_inc(x_59); +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_51 = lean_ctor_get(x_47, 1); +lean_inc(x_51); +lean_dec(x_47); +lean_inc(x_18); +x_52 = l_Lean_Elab_Term_StructInst_formatStruct(x_18); +x_53 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_53, 0, x_52); +x_54 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__33; +x_55 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_46, x_56, x_6, x_7, x_8, x_9, x_10, x_11, x_51); +x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); -lean_dec(x_15); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; +lean_dec(x_57); +x_20 = x_58; +goto block_39; } } +block_39: +{ +lean_object* x_21; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_21 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct(x_18, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = l_Lean_Elab_Term_StructInst_DefaultFields_propagate(x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +if (lean_obj_tag(x_26) == 0) +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_26, 0); +lean_dec(x_28); +lean_ctor_set(x_26, 0, x_24); +return x_26; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_dec(x_26); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_24); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_24); +x_31 = !lean_is_exclusive(x_26); +if (x_31 == 0) +{ +return x_26; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_26, 0); +x_33 = lean_ctor_get(x_26, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_26); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +uint8_t x_35; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_35 = !lean_is_exclusive(x_21); +if (x_35 == 0) +{ +return x_21; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_21, 0); +x_37 = lean_ctor_get(x_21, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_21); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_59 = !lean_is_exclusive(x_17); +if (x_59 == 0) +{ +return x_17; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_17, 0); +x_61 = lean_ctor_get(x_17, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_17); +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; +} +} +} +else +{ +uint8_t x_63; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_63 = !lean_is_exclusive(x_14); +if (x_63 == 0) +{ +return x_14; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_14, 0); +x_65 = lean_ctor_get(x_14, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_14); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} } } } @@ -28686,7 +28853,7 @@ else lean_object* x_31; lean_object* x_32; lean_dec(x_15); x_31 = lean_box(0); -x_32 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__4(x_2, x_1, x_14, x_3, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_18); +x_32 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__1(x_1, x_14, x_3, x_2, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_18); return x_32; } } @@ -28763,21 +28930,30 @@ lean_dec(x_1); return x_7; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__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_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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) { +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___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) { _start: { lean_object* x_7; -x_7 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -28785,21 +28961,33 @@ lean_dec(x_1); return x_7; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__4___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_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_2); return x_7; } } -lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__4___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) { +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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_5); return x_13; } @@ -29069,7 +29257,7 @@ x_37 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_ lean_closure_set(x_37, 0, x_1); lean_closure_set(x_37, 1, x_36); lean_closure_set(x_37, 2, x_2); -x_38 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_36, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_35); +x_38 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_1, x_36, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_35); return x_38; } } diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index abceb9bc3d..c05afb117b 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -17,6 +17,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea lean_object* l_List_reverse___rarg(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedStructFieldInfo; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__12; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__3___closed__2; @@ -24,8 +25,6 @@ lean_object* l_Lean_Elab_Command_elabStructure___lambda__1___boxed(lean_object** lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___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*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__6; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___closed__3; -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -41,12 +40,12 @@ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg___closed__4; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___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_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__3(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___closed__6; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -54,11 +53,9 @@ lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___rarg(lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__2; static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___closed__3; lean_object* l_Lean_mkCasesOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -80,8 +77,10 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToPar lean_object* l_Lean_Elab_Command_mkResultUniverse(lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isProtected(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg(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_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVars___spec__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* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__10; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__11; @@ -92,12 +91,13 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_mat lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___spec__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*); static size_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__4; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__4; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkNoConfusion___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__2; extern lean_object* l_Lean_Elab_instInhabitedAttribute; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___rarg___closed__1; +static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__5(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue___lambda__1___closed__1; @@ -105,11 +105,12 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2___closed__1; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkInjectiveTheorems(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure_match__1(lean_object*); @@ -118,23 +119,22 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea lean_object* lean_mk_projections(lean_object*, lean_object*, lean_object*, uint8_t); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__2; lean_object* lean_private_to_user_name(lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__9; extern lean_object* l_Lean_declRangeExt; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___closed__2; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__1; lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1___closed__3; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4___closed__7; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1___boxed(lean_object**); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); @@ -164,13 +164,11 @@ lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Ela lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___closed__2; lean_object* l_Lean_Elab_Term_getLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__1; static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___closed__5; lean_object* l_Lean_Elab_Command_shouldInferResultUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__5___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* l_Lean_Elab_Command_accLevelAtCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -179,7 +177,6 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed_ma lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___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* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabStructure___closed__10; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); @@ -193,18 +190,19 @@ lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2___boxed(lea lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields___closed__1; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__16; -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabStructure___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___closed__1; static lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabStructure___spec__10___closed__1; lean_object* l_Lean_throwKernelException___at_Lean_Elab_Term_evalExpr___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAuxDefinition(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___closed__4; lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__7(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -212,34 +210,35 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFie lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux(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_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__2(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructType___boxed(lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent___boxed(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse_match__1(lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4; lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__2; uint8_t l_Lean_Elab_Command_StructFieldInfo_inferMod___default; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_setBinderInfo(lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__8; +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__4; static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop(lean_object*); -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__6; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4___closed__5; -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___closed__1; lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_value(lean_object*); @@ -261,24 +260,27 @@ static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure_ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructType(lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__3; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg___closed__3; static lean_object* l_Lean_Elab_Command_elabStructure___closed__9; lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Command_StructFieldInfo_isSubobject(lean_object*); +static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__4; lean_object* l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__1(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__1; lean_object* l_Lean_Elab_Command_elabStructure___lambda__5___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* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__8___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_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabStructure___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -289,7 +291,8 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___closed__1; lean_object* l_Lean_Elab_Command_elabStructure___lambda__4___boxed(lean_object**); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__3; +lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withUsed_match__1(lean_object*); @@ -305,14 +308,13 @@ static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure_match__1(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___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*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withUsed(lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__4; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabStructure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); @@ -320,17 +322,17 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_mat lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabStructure___closed__4; -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2___boxed__const__1; -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__2___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedStructFieldInfo___closed__2; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___closed__6; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__2___closed__1; @@ -342,14 +344,13 @@ lean_object* l_Lean_Elab_Command_StructFieldInfo_value_x3f___default; static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___closed__7; lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_elabDeriving___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__2; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___closed__3; -lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__1(lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1___closed__4; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__2___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -359,14 +360,13 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___closed__5; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___closed__2; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__2; lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___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* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedStructFieldInfo___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10___closed__1; lean_object* l_Lean_Meta_addInstance(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -375,23 +375,25 @@ static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___boxed(lean_object**); lean_object* l_Lean_Elab_Command_elabStructure___lambda__2___boxed(lean_object**); lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject___boxed(lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); uint8_t l_Lean_Name_isAtomic(lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__1; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_protectedExt; lean_object* l_Lean_Elab_Command_elabStructure___lambda__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10___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_Lean_CollectLevelParams_main(lean_object*, lean_object*); static lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__4___closed__1; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -402,6 +404,7 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_ extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__2; static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__4; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults_match__1(lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___closed__8; @@ -418,6 +421,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___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*); static lean_object* l_Lean_Elab_Command_elabStructure___closed__3; lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__1(lean_object*); lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -440,19 +444,19 @@ lean_object* l_Lean_Elab_expandDeclIdCore(lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4___closed__4; lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure___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_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__1; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__2___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabStructure___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___closed__3; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents(lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__14; uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_containsFieldName(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure___closed__1; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields(lean_object*); @@ -462,21 +466,27 @@ lean_object* l_Lean_Elab_DerivingClassView_applyHandlers(lean_object*, lean_obje lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkProjection(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue_match__1(lean_object*); +lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg___closed__1; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux___boxed__const__1; lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4___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*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux___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_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___closed__2; uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__2(lean_object*); +static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__1; lean_object* l_Lean_Name_getString_x21(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg(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_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -495,15 +505,15 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelPa lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabStructure___spec__10___closed__2; lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__5; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabStructure___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__24; lean_object* lean_environment_main_module(lean_object*); -lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___boxed__const__1; -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__22(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__2___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*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__2___closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -513,10 +523,8 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelPa lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__4(lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___closed__4; static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__8; -static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__17; @@ -529,8 +537,6 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___l lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___closed__2; -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); @@ -539,6 +545,7 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandC lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___lambda__1(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabStructure___closed__1; @@ -548,50 +555,49 @@ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4(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_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__3; lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__6; -static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__2; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4___closed__2; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__3; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withUsed___rarg___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_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields_match__1(lean_object*); lean_object* l_Lean_Elab_expandDeclSig(lean_object*); static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___closed__2; -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___closed__2; lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2___closed__1; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_elabStructure___spec__7___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields___rarg(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*); uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_getLevelOffset(lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2___closed__4; lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Command_StructFieldInfo_isFromParent(lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName___closed__2; lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_set_reducibility_status(lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___lambda__1(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -599,7 +605,7 @@ lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent_match__1___rarg(ui lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__10; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_5119_(lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__20; @@ -613,31 +619,30 @@ lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Ela lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_inferImplicit(lean_object*, lean_object*, uint8_t); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4___closed__8; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections_match__1(lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___closed__4; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructType_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__1; +lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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_object*, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; -static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___closed__2; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object*); +lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___closed__1; lean_object* l_Lean_Elab_Command_checkValidFieldModifier___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___closed__1; uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___closed__1; lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -650,7 +655,6 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFie lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__2; -lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___closed__1; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4___closed__1; @@ -658,12 +662,14 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_C lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields_match__2(lean_object*); lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent_match__1(lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__2(lean_object*); lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__2; @@ -675,26 +681,24 @@ lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*) lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withUsed_match__1___rarg(lean_object*, lean_object*); uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setReducibilityStatus___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1___closed__1; +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__3; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___closed__4; lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabStructure___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__8(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__1; static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___closed__4; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2___closed__3; -static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__1; lean_object* l_Lean_indentExpr(lean_object*); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1___closed__2; lean_object* l_Lean_Elab_getDeclarationSelectionRef(lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__2(lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__5; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___closed__6; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars___spec__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* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -706,12 +710,12 @@ lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lea uint8_t l_Lean_Elab_Command_instInhabitedStructFieldKind; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_elabStructure___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___spec__9___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_Lean_Elab_Command_elabStructure___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___closed__2; -lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); @@ -723,8 +727,8 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeV lean_object* l_Lean_Elab_Command_elabStructure___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___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*); uint8_t l_Lean_isStructure(lean_object*, lean_object*); +lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabStructure___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___closed__1; @@ -737,7 +741,6 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___closed__1; -static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___closed__2; @@ -985,59 +988,6 @@ x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName___clo return x_1; } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(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) { -_start: -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_7, 3); -x_12 = l_Lean_replaceRef(x_1, x_11); -lean_dec(x_11); -lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -return x_13; -} -else -{ -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_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -x_16 = lean_ctor_get(x_7, 2); -x_17 = lean_ctor_get(x_7, 3); -x_18 = lean_ctor_get(x_7, 4); -x_19 = lean_ctor_get(x_7, 5); -x_20 = lean_ctor_get(x_7, 6); -x_21 = lean_ctor_get(x_7, 7); -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_inc(x_14); -lean_dec(x_7); -x_22 = l_Lean_replaceRef(x_1, x_17); -lean_dec(x_17); -x_23 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_23, 1, x_15); -lean_ctor_set(x_23, 2, x_16); -lean_ctor_set(x_23, 3, x_22); -lean_ctor_set(x_23, 4, x_18); -lean_ctor_set(x_23, 5, x_19); -lean_ctor_set(x_23, 6, x_20); -lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); -lean_dec(x_23); -return x_24; -} -} -} lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(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) { _start: { @@ -1170,6 +1120,435 @@ x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___priva return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__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; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__4(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; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(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) { +_start: +{ +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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 5); +lean_inc(x_14); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__2___boxed), 4, 1); +lean_closure_set(x_17, 0, x_12); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__3___boxed), 6, 3); +lean_closure_set(x_18, 0, x_12); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_14); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__4___boxed), 6, 3); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_14); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = x_20; +x_22 = lean_ctor_get(x_6, 3); +lean_inc(x_22); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_6, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 2); +lean_inc(x_27); +x_28 = lean_st_ref_get(x_7, x_25); +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_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_environment_main_module(x_12); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_24); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_27); +lean_ctor_set(x_33, 5, x_22); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_2(x_1, x_33, x_35); +if (lean_obj_tag(x_36) == 0) +{ +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_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_st_ref_take(x_7, x_30); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_41, 1); +lean_dec(x_44); +lean_ctor_set(x_41, 1, x_39); +x_45 = lean_st_ref_set(x_7, x_41, x_42); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_ctor_get(x_38, 1); +lean_inc(x_47); +lean_dec(x_38); +x_48 = l_List_reverse___rarg(x_47); +x_49 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_6); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_37); +return x_49; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +else +{ +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; +x_54 = lean_ctor_get(x_41, 0); +x_55 = lean_ctor_get(x_41, 2); +x_56 = lean_ctor_get(x_41, 3); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_41); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_39); +lean_ctor_set(x_57, 2, x_55); +lean_ctor_set(x_57, 3, x_56); +x_58 = lean_st_ref_set(x_7, x_57, x_42); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get(x_38, 1); +lean_inc(x_60); +lean_dec(x_38); +x_61 = l_List_reverse___rarg(x_60); +x_62 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_59); +lean_dec(x_6); +lean_dec(x_2); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_37); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_36, 0); +lean_inc(x_66); +lean_dec(x_36); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(x_67, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +lean_dec(x_67); +return x_71; +} +else +{ +lean_object* x_72; +lean_dec(x_6); +lean_dec(x_2); +x_72 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___rarg(x_30); +return x_72; +} +} +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(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) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +return x_13; +} +else +{ +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_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +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_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -1277,40 +1656,6 @@ return x_27; } } } -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3(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; lean_object* x_7; -x_5 = l_Lean_Environment_contains(x_1, x_2); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__4(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; -x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__5(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; -x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} static lean_object* _init_l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__1() { _start: { @@ -1403,506 +1748,153 @@ return x_2; lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4(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) { _start: { -lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; 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_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_unsigned_to_nat(0u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_103 = lean_st_ref_get(x_7, x_8); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_ctor_get(x_104, 0); -lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_ctor_get(x_6, 4); -lean_inc(x_107); -x_108 = lean_ctor_get(x_6, 5); -lean_inc(x_108); -lean_inc(x_106); -x_109 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_109, 0, x_106); -lean_inc(x_107); -x_110 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_110, 0, x_107); -lean_inc(x_106); -x_111 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3___boxed), 4, 1); -lean_closure_set(x_111, 0, x_106); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); -x_112 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__4___boxed), 6, 3); -lean_closure_set(x_112, 0, x_106); -lean_closure_set(x_112, 1, x_107); -lean_closure_set(x_112, 2, x_108); -lean_inc(x_106); -x_113 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__5___boxed), 6, 3); -lean_closure_set(x_113, 0, x_106); -lean_closure_set(x_113, 1, x_107); -lean_closure_set(x_113, 2, x_108); -x_114 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_114, 0, x_109); -lean_ctor_set(x_114, 1, x_110); -lean_ctor_set(x_114, 2, x_111); -lean_ctor_set(x_114, 3, x_112); -lean_ctor_set(x_114, 4, x_113); -x_115 = x_114; -x_116 = lean_ctor_get(x_6, 3); -lean_inc(x_116); -x_117 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_105); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = lean_ctor_get(x_6, 1); -lean_inc(x_120); -x_121 = lean_ctor_get(x_6, 2); -lean_inc(x_121); -x_122 = lean_st_ref_get(x_7, x_119); -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = lean_environment_main_module(x_106); -x_127 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_127, 0, x_115); -lean_ctor_set(x_127, 1, x_126); -lean_ctor_set(x_127, 2, x_118); -lean_ctor_set(x_127, 3, x_120); -lean_ctor_set(x_127, 4, x_121); -lean_ctor_set(x_127, 5, x_116); -x_128 = lean_box(0); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_125); -lean_ctor_set(x_129, 1, x_128); -x_130 = l_Lean_Elab_toAttributeKind(x_10, x_127, x_129); -lean_dec(x_10); -if (lean_obj_tag(x_130) == 0) +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___boxed), 3, 1); +lean_closure_set(x_11, 0, x_10); +lean_inc(x_6); +lean_inc(x_2); +x_12 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_ctor_get(x_132, 0); -lean_inc(x_133); -x_134 = lean_st_ref_take(x_7, x_124); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = !lean_is_exclusive(x_135); -if (x_137 == 0) +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +x_17 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1); +lean_closure_set(x_17, 0, x_16); +lean_inc(x_6); +lean_inc(x_2); +x_18 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +if (lean_obj_tag(x_18) == 0) { -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; uint8_t x_145; -x_138 = lean_ctor_get(x_135, 1); -lean_dec(x_138); -lean_ctor_set(x_135, 1, x_133); -x_139 = lean_st_ref_set(x_7, x_135, x_136); -x_140 = lean_ctor_get(x_139, 1); -lean_inc(x_140); -lean_dec(x_139); -x_141 = lean_ctor_get(x_132, 1); -lean_inc(x_141); -lean_dec(x_132); -x_142 = l_List_reverse___rarg(x_141); -x_143 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_142, x_2, x_3, x_4, x_5, x_6, x_7, x_140); -x_144 = lean_ctor_get(x_143, 1); -lean_inc(x_144); -lean_dec(x_143); -x_145 = lean_unbox(x_131); -lean_dec(x_131); -x_11 = x_145; -x_12 = x_144; -goto block_102; -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; -x_146 = lean_ctor_get(x_135, 0); -x_147 = lean_ctor_get(x_135, 2); -x_148 = lean_ctor_get(x_135, 3); -lean_inc(x_148); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_135); -x_149 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_149, 0, x_146); -lean_ctor_set(x_149, 1, x_133); -lean_ctor_set(x_149, 2, x_147); -lean_ctor_set(x_149, 3, x_148); -x_150 = lean_st_ref_set(x_7, x_149, x_136); -x_151 = lean_ctor_get(x_150, 1); -lean_inc(x_151); -lean_dec(x_150); -x_152 = lean_ctor_get(x_132, 1); -lean_inc(x_152); -lean_dec(x_132); -x_153 = l_List_reverse___rarg(x_152); -x_154 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_153, x_2, x_3, x_4, x_5, x_6, x_7, x_151); -x_155 = lean_ctor_get(x_154, 1); -lean_inc(x_155); -lean_dec(x_154); -x_156 = lean_unbox(x_131); -lean_dec(x_131); -x_11 = x_156; -x_12 = x_155; -goto block_102; -} -} -else -{ -lean_object* x_157; -x_157 = lean_ctor_get(x_130, 0); -lean_inc(x_157); -lean_dec(x_130); -if (lean_obj_tag(x_157) == 0) -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_160, 0, x_159); -x_161 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_161, 0, x_160); -x_162 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(x_158, x_161, x_2, x_3, x_4, x_5, x_6, x_7, x_124); -lean_dec(x_158); -x_163 = !lean_is_exclusive(x_162); -if (x_163 == 0) -{ -return x_162; -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_162, 0); -x_165 = lean_ctor_get(x_162, 1); -lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_162); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -return x_166; -} -} -else -{ -lean_object* x_167; uint8_t x_168; -lean_dec(x_6); -lean_dec(x_2); -x_167 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___rarg(x_124); -x_168 = !lean_is_exclusive(x_167); -if (x_168 == 0) -{ -return x_167; -} -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_167, 0); -x_170 = lean_ctor_get(x_167, 1); -lean_inc(x_170); -lean_inc(x_169); -lean_dec(x_167); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -return x_171; -} -} -} -block_102: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 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; -x_13 = lean_unsigned_to_nat(1u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_35 = lean_st_ref_get(x_7, x_12); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_36, 0); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_ctor_get(x_6, 4); -lean_inc(x_39); -x_40 = lean_ctor_get(x_6, 5); -lean_inc(x_40); -lean_inc(x_38); -x_41 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_41, 0, x_38); -lean_inc(x_39); -x_42 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_42, 0, x_39); -lean_inc(x_38); -x_43 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3___boxed), 4, 1); -lean_closure_set(x_43, 0, x_38); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -x_44 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__4___boxed), 6, 3); -lean_closure_set(x_44, 0, x_38); -lean_closure_set(x_44, 1, x_39); -lean_closure_set(x_44, 2, x_40); -lean_inc(x_38); -x_45 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__5___boxed), 6, 3); -lean_closure_set(x_45, 0, x_38); -lean_closure_set(x_45, 1, x_39); -lean_closure_set(x_45, 2, x_40); -x_46 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_46, 0, x_41); -lean_ctor_set(x_46, 1, x_42); -lean_ctor_set(x_46, 2, x_43); -lean_ctor_set(x_46, 3, x_44); -lean_ctor_set(x_46, 4, x_45); -x_47 = x_46; -x_48 = lean_ctor_get(x_6, 3); -lean_inc(x_48); -x_49 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_37); -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); -x_52 = lean_ctor_get(x_6, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_6, 2); -lean_inc(x_53); -x_54 = lean_st_ref_get(x_7, x_51); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = lean_environment_main_module(x_38); -x_59 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_59, 0, x_47); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set(x_59, 2, x_50); -lean_ctor_set(x_59, 3, x_52); -lean_ctor_set(x_59, 4, x_53); -lean_ctor_set(x_59, 5, x_48); -x_60 = lean_box(0); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_57); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_expandMacros(x_14, x_59, x_61); -if (lean_obj_tag(x_62) == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_st_ref_take(x_7, x_56); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = !lean_is_exclusive(x_67); -if (x_69 == 0) -{ -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; -x_70 = lean_ctor_get(x_67, 1); -lean_dec(x_70); -lean_ctor_set(x_67, 1, x_65); -x_71 = lean_st_ref_set(x_7, x_67, x_68); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_ctor_get(x_64, 1); -lean_inc(x_73); -lean_dec(x_64); -x_74 = l_List_reverse___rarg(x_73); -x_75 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_74, x_2, x_3, x_4, x_5, x_6, x_7, x_72); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_15 = x_63; -x_16 = x_76; -goto block_34; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_77 = lean_ctor_get(x_67, 0); -x_78 = lean_ctor_get(x_67, 2); -x_79 = lean_ctor_get(x_67, 3); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_67); -x_80 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_80, 0, x_77); -lean_ctor_set(x_80, 1, x_65); -lean_ctor_set(x_80, 2, x_78); -lean_ctor_set(x_80, 3, x_79); -x_81 = lean_st_ref_set(x_7, x_80, x_68); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -x_83 = lean_ctor_get(x_64, 1); -lean_inc(x_83); -lean_dec(x_64); -x_84 = l_List_reverse___rarg(x_83); -x_85 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_84, x_2, x_3, x_4, x_5, x_6, x_7, x_82); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_15 = x_63; -x_16 = x_86; -goto block_34; -} -} -else -{ -lean_object* x_87; -x_87 = lean_ctor_get(x_62, 0); -lean_inc(x_87); -lean_dec(x_62); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_90, 0, x_89); -x_91 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_91, 0, x_90); -x_92 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_88, x_91, x_2, x_3, x_4, x_5, x_6, x_7, x_56); -lean_dec(x_88); -x_93 = !lean_is_exclusive(x_92); -if (x_93 == 0) -{ -return x_92; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_92, 0); -x_95 = lean_ctor_get(x_92, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_92); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; -} -} -else -{ -lean_object* x_97; uint8_t x_98; -lean_dec(x_6); -lean_dec(x_2); -x_97 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_56); -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) -{ -return x_97; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_97, 0); -x_100 = lean_ctor_get(x_97, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_97); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; -} -} -} -block_34: -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -lean_inc(x_15); -x_17 = l_Lean_Syntax_getKind(x_15); -x_18 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__8; -x_19 = lean_name_eq(x_17, x_18); -if (x_19 == 0) -{ -if (lean_obj_tag(x_17) == 1) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_17, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_box(0); -x_22 = lean_name_mk_string(x_21, x_20); -x_23 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_11, x_15, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_18); +lean_inc(x_19); +x_21 = l_Lean_Syntax_getKind(x_19); +x_22 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__8; +x_23 = lean_name_eq(x_21, x_22); +if (x_23 == 0) +{ +if (lean_obj_tag(x_21) == 1) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_box(0); +x_26 = lean_name_mk_string(x_25, x_24); +x_27 = lean_unbox(x_13); +lean_dec(x_13); +x_28 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_27, x_19, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_20); lean_dec(x_6); -return x_23; +return x_28; } else { -lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_17); -x_24 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__10; -x_25 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(x_15, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_16); -lean_dec(x_15); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +lean_object* x_29; lean_object* x_30; uint8_t x_31; +lean_dec(x_21); +lean_dec(x_13); +x_29 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__10; +x_30 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(x_19, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_20); +lean_dec(x_19); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) { -return x_25; +return x_30; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_25); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_17); -x_30 = l_Lean_Syntax_getArg(x_15, x_9); -x_31 = l_Lean_Syntax_getId(x_30); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_inc(x_32); lean_dec(x_30); -x_32 = lean_erase_macro_scopes(x_31); -x_33 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_11, x_15, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_16); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; +lean_dec(x_21); +x_35 = l_Lean_Syntax_getArg(x_19, x_9); +x_36 = l_Lean_Syntax_getId(x_35); +lean_dec(x_35); +x_37 = lean_erase_macro_scopes(x_36); +x_38 = lean_unbox(x_13); +lean_dec(x_13); +x_39 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_38, x_19, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_20); lean_dec(x_6); -return x_33; +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +x_40 = !lean_is_exclusive(x_18); +if (x_40 == 0) +{ +return x_18; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_18, 0); +x_42 = lean_ctor_get(x_18, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_18); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint8_t x_44; +lean_dec(x_6); +lean_dec(x_2); +x_44 = !lean_is_exclusive(x_12); +if (x_44 == 0) +{ +return x_12; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_12, 0); +x_46 = lean_ctor_get(x_12, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_12); +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_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(lean_object* x_1, size_t x_2, size_t 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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10(lean_object* x_1, size_t x_2, size_t 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) { _start: { uint8_t x_12; @@ -1987,7 +1979,7 @@ x_10 = lean_usize_of_nat(x_9); lean_dec(x_9); x_11 = 0; x_12 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___closed__1; -x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(x_1, x_10, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10(x_1, x_10, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_13) == 0) { uint8_t x_14; @@ -2047,7 +2039,7 @@ lean_dec(x_11); return x_12; } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11(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* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(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) { _start: { 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; uint8_t x_16; @@ -2095,7 +2087,7 @@ return x_22; } } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10(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* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11(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) { _start: { uint8_t x_10; @@ -2107,7 +2099,7 @@ x_11 = lean_ctor_get(x_7, 3); x_12 = l_Lean_replaceRef(x_1, x_11); lean_dec(x_11); lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); return x_13; } @@ -2142,13 +2134,13 @@ lean_ctor_set(x_23, 4, x_18); lean_ctor_set(x_23, 5, x_19); lean_ctor_set(x_23, 6, x_20); lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +x_24 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); lean_dec(x_23); return x_24; } } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(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* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(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) { _start: { 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; uint8_t x_16; @@ -2196,7 +2188,7 @@ return x_22; } } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(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* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(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) { _start: { uint8_t x_10; @@ -2208,7 +2200,7 @@ x_11 = lean_ctor_get(x_7, 3); x_12 = l_Lean_replaceRef(x_1, x_11); lean_dec(x_11); lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); return x_13; } @@ -2243,7 +2235,7 @@ lean_ctor_set(x_23, 4, x_18); lean_ctor_set(x_23, 5, x_19); lean_ctor_set(x_23, 6, x_20); lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +x_24 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); lean_dec(x_23); return x_24; } @@ -2579,7 +2571,7 @@ if (x_22 == 0) lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_dec(x_6); x_23 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___closed__8; -x_24 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10(x_17, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_24 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11(x_17, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_17); x_25 = !lean_is_exclusive(x_24); if (x_25 == 0) @@ -2736,7 +2728,7 @@ x_36 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(x_25, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_38 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_25, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_25); x_39 = !lean_is_exclusive(x_38); if (x_39 == 0) @@ -2807,7 +2799,7 @@ x_55 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab x_56 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(x_43, x_56, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_57 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_43, x_56, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_43); x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); @@ -2834,7 +2826,7 @@ return x_61; } } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -2842,16 +2834,16 @@ x_1 = lean_mk_string("invalid use of attributes in constructor declaration"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___closed__1; +x_1 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___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) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -2863,7 +2855,7 @@ lean_dec(x_11); if (x_13 == 0) { lean_object* x_14; lean_object* x_15; -x_14 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___closed__2; +x_14 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__2; x_15 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_15; } @@ -2879,7 +2871,7 @@ return x_17; } } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -2887,16 +2879,16 @@ x_1 = lean_mk_string("invalid use of 'unsafe' in constructor declaration"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___closed__1; +x_1 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -2905,13 +2897,13 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; x_11 = lean_box(0); -x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___closed__2; +x_13 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___closed__2; x_14 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) @@ -2934,7 +2926,7 @@ return x_18; } } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -2942,16 +2934,16 @@ x_1 = lean_mk_string("invalid use of 'partial' in constructor declaration"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___closed__1; +x_1 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___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, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -2960,13 +2952,13 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; x_11 = lean_box(0); -x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___closed__2; +x_13 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___closed__2; x_14 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) @@ -2989,7 +2981,7 @@ return x_18; } } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__1() { _start: { lean_object* x_1; @@ -2997,16 +2989,16 @@ x_1 = lean_mk_string("invalid use of 'noncomputable' in constructor declaration" return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__1; +x_1 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(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* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(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) { _start: { uint8_t x_9; @@ -3015,13 +3007,13 @@ if (x_9 == 0) { lean_object* x_10; lean_object* x_11; x_10 = lean_box(0); -x_11 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_11 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_11; } else { lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__2; +x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__2; x_13 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) @@ -3044,7 +3036,7 @@ return x_17; } } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -3052,16 +3044,16 @@ x_1 = lean_mk_string("a non-private declaration '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__1; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__3() { _start: { lean_object* x_1; @@ -3069,16 +3061,16 @@ x_1 = lean_mk_string("' has already been declared"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__3; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___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* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___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) { _start: { lean_object* x_11; @@ -3117,11 +3109,11 @@ else lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_18 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_18, 0, x_14); -x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__2; +x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__2; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4; +x_21 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -3131,7 +3123,7 @@ return x_23; } } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -3139,16 +3131,16 @@ x_1 = lean_mk_string("a private declaration '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__1; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -3162,7 +3154,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; x_13 = lean_box(0); -x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_14; } else @@ -3171,11 +3163,11 @@ lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean lean_dec(x_2); x_15 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_15, 0, x_1); -x_16 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__2; +x_16 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__2; x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4; +x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -3201,7 +3193,7 @@ return x_24; } } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__1() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__1() { _start: { lean_object* x_1; @@ -3209,16 +3201,16 @@ x_1 = lean_mk_string("'"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__2() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__1; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__3() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__3() { _start: { lean_object* x_1; @@ -3226,16 +3218,16 @@ x_1 = lean_mk_string("private declaration '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__4() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__3; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(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* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -3254,7 +3246,7 @@ if (x_13 == 0) { lean_object* x_14; lean_object* x_15; x_14 = lean_box(0); -x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2(x_1, x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2(x_1, x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_11); return x_15; } else @@ -3268,11 +3260,11 @@ if (lean_obj_tag(x_16) == 0) lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; x_17 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_17, 0, x_1); -x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__2; +x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__2; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); -x_20 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4; +x_20 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4; x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); @@ -3305,11 +3297,11 @@ lean_inc(x_27); lean_dec(x_16); x_28 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_28, 0, x_27); -x_29 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__4; +x_29 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__4; x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); -x_31 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4; +x_31 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4; x_32 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -3336,7 +3328,7 @@ return x_37; } } } -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { switch (x_1) { @@ -3344,7 +3336,7 @@ case 0: { lean_object* x_10; lean_inc(x_2); -x_10 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_10) == 0) { uint8_t x_11; @@ -3398,7 +3390,7 @@ case 1: lean_object* x_19; lean_inc(x_3); lean_inc(x_2); -x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(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; uint8_t x_28; @@ -3479,7 +3471,7 @@ lean_inc(x_39); lean_dec(x_37); x_40 = l_Lean_mkPrivateName(x_39, x_2); lean_inc(x_40); -x_41 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_38); +x_41 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_38); if (lean_obj_tag(x_41) == 0) { uint8_t x_42; @@ -3531,7 +3523,7 @@ return x_49; } } } -lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(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* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(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) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -3615,7 +3607,7 @@ return x_35; } } } -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(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* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(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) { _start: { if (lean_obj_tag(x_2) == 0) @@ -3634,12 +3626,12 @@ lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_2, 0); lean_inc(x_12); lean_dec(x_2); -x_13 = l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_13; } } } -lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(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* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(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) { _start: { lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; @@ -3756,7 +3748,7 @@ return x_38; } } } -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(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* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__22(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) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -3840,17 +3832,17 @@ return x_35; } } } -lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(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* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(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) { _start: { 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; -x_11 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_14 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -3859,7 +3851,7 @@ lean_dec(x_14); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_12); lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +x_18 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__22(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); return x_18; } } @@ -3878,7 +3870,7 @@ lean_inc(x_17); x_18 = l_Lean_Name_append(x_2, x_17); x_19 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); lean_inc(x_5); -x_20 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_19, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_20 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_19, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (x_14 == 0) { if (lean_obj_tag(x_20) == 0) @@ -3892,12 +3884,12 @@ lean_dec(x_20); x_23 = lean_ctor_get(x_3, 0); lean_inc(x_23); lean_inc(x_21); -x_24 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_21, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +x_24 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_21, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_22); x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); lean_inc(x_21); -x_26 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_21, x_16, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_25); +x_26 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_21, x_16, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_25); lean_dec(x_5); lean_dec(x_16); x_27 = !lean_is_exclusive(x_26); @@ -3976,12 +3968,12 @@ lean_dec(x_20); x_41 = lean_ctor_get(x_3, 0); lean_inc(x_41); lean_inc(x_39); -x_42 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_39, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_40); +x_42 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_39, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_40); x_43 = lean_ctor_get(x_42, 1); lean_inc(x_43); lean_dec(x_42); lean_inc(x_39); -x_44 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_39, x_16, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_43); +x_44 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_39, x_16, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_43); lean_dec(x_5); lean_dec(x_16); x_45 = !lean_is_exclusive(x_44); @@ -4202,7 +4194,7 @@ x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); lean_inc(x_4); -x_30 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_30 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_29); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; uint8_t x_32; @@ -4356,7 +4348,7 @@ x_64 = lean_ctor_get(x_62, 1); lean_inc(x_64); lean_dec(x_62); lean_inc(x_4); -x_65 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_63, x_4, x_5, x_6, x_7, x_61, x_9, x_64); +x_65 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_63, x_4, x_5, x_6, x_7, x_61, x_9, x_64); if (lean_obj_tag(x_65) == 0) { lean_object* x_66; uint8_t x_67; @@ -4478,7 +4470,7 @@ else lean_object* x_87; uint8_t x_88; lean_dec(x_19); lean_inc(x_12); -x_87 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_12, x_14, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_87 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_12, x_14, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); lean_dec(x_4); lean_dec(x_14); @@ -4525,7 +4517,7 @@ else lean_object* x_98; uint8_t x_99; lean_dec(x_16); lean_inc(x_12); -x_98 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_12, x_14, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_98 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_12, x_14, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); lean_dec(x_4); lean_dec(x_14); @@ -4568,19 +4560,6 @@ return x_108; } } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_10; -} -} lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___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) { _start: { @@ -4621,6 +4600,72 @@ lean_dec(x_1); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___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_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__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_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__4___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_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { _start: { @@ -4653,38 +4698,6 @@ lean_dec(x_5); return x_12; } } -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3___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_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__4___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_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__5___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_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; -} -} lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -4698,7 +4711,7 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9___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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10___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) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -4706,7 +4719,7 @@ x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -4741,11 +4754,11 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11___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* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___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) { _start: { lean_object* x_9; -x_9 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4754,11 +4767,11 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10___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* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11___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) { _start: { lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -4767,11 +4780,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13___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* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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) { _start: { lean_object* x_9; -x_9 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4780,11 +4793,11 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12___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* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13___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) { _start: { lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -4860,11 +4873,11 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___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) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4875,11 +4888,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4890,11 +4903,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___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, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4905,11 +4918,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___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* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___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) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4919,11 +4932,11 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___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* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___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) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -4933,11 +4946,11 @@ lean_dec(x_3); return x_11; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -4947,11 +4960,11 @@ lean_dec(x_3); return x_11; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___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* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___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) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4960,13 +4973,13 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___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* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___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) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4975,11 +4988,11 @@ lean_dec(x_4); return x_11; } } -lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18___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* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19___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) { _start: { lean_object* x_10; -x_10 = l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4989,11 +5002,11 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___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* l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18___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) { _start: { lean_object* x_10; -x_10 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -5003,11 +5016,11 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20___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* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21___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) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5018,11 +5031,11 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21___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* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__22___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) { _start: { lean_object* x_10; -x_10 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__22(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -5032,11 +5045,11 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19___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* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20___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) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5482,7 +5495,7 @@ lean_inc(x_2); x_19 = l_Lean_Name_append(x_1, x_2); x_20 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); lean_inc(x_12); -x_21 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_20, x_19, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_21 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_20, x_19, x_12, x_13, x_14, x_15, x_16, x_17, x_18); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; @@ -5494,7 +5507,7 @@ lean_dec(x_21); x_24 = lean_ctor_get(x_3, 0); lean_inc(x_24); lean_inc(x_22); -x_25 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_22, x_24, x_12, x_13, x_14, x_15, x_16, x_17, x_23); +x_25 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_22, x_24, x_12, x_13, x_14, x_15, x_16, x_17, x_23); lean_dec(x_12); x_26 = !lean_is_exclusive(x_25); if (x_26 == 0) @@ -7258,7 +7271,7 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean lean_free_object(x_11); x_17 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_17, 0, x_10); -x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__2; +x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__2; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); @@ -7311,7 +7324,7 @@ if (x_30 == 0) 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_31 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_31, 0, x_10); -x_32 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__2; +x_32 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__2; x_33 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); @@ -7804,7 +7817,7 @@ lean_ctor_set(x_27, 0, x_3); x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4; +x_29 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4; x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); @@ -8074,7 +8087,7 @@ x_36 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loo x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); -x_38 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4; +x_38 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4; x_39 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); @@ -8263,7 +8276,7 @@ x_79 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loo x_80 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_78); -x_81 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4; +x_81 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4; x_82 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_82, 0, x_80); lean_ctor_set(x_82, 1, x_81); @@ -11051,7 +11064,7 @@ x_54 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loo x_55 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); -x_56 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4; +x_56 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4; x_57 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_57, 0, x_55); lean_ctor_set(x_57, 1, x_56); @@ -11477,7 +11490,7 @@ x_160 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_lo x_161 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_161, 0, x_160); lean_ctor_set(x_161, 1, x_159); -x_162 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4; +x_162 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4; x_163 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_163, 0, x_161); lean_ctor_set(x_163, 1, x_162); @@ -16501,7 +16514,7 @@ lean_inc(x_10); x_11 = lean_ctor_get(x_1, 0); lean_inc(x_11); lean_dec(x_1); -x_12 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__19(x_10, x_11, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_10, x_11, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_11); return x_12; } @@ -18629,7 +18642,7 @@ else { lean_object* x_9; lean_object* x_10; uint8_t x_11; x_9 = l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2___closed__2; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_9, x_3, x_4, x_5); +x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_9, x_3, x_4, x_5); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -18684,7 +18697,7 @@ else { lean_object* x_8; lean_object* x_9; uint8_t x_10; x_8 = l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___closed__2; -x_9 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_8, x_2, x_3, x_4); +x_9 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_8, x_2, x_3, x_4); x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) { @@ -18905,7 +18918,7 @@ lean_inc(x_2); x_12 = l_Lean_Name_append(x_1, x_2); x_13 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); lean_inc(x_5); -x_14 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(x_13, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16(x_13, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; @@ -19075,7 +19088,7 @@ x_16 = l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__5___c x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__2; +x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__2; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -19192,7 +19205,7 @@ x_10 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_elab x_11 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4; +x_12 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4; x_13 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); @@ -19376,7 +19389,7 @@ x_28 = lean_ctor_get(x_3, 0); lean_inc(x_28); lean_dec(x_3); lean_inc(x_26); -x_29 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17(x_26, x_28, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +x_29 = l_Lean_addDocString_x27___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(x_26, x_28, x_6, x_7, x_8, x_9, x_10, x_11, x_25); lean_dec(x_6); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) @@ -19627,14 +19640,14 @@ lean_dec(x_10); if (x_12 == 0) { 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_13 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); 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); x_16 = l_Lean_Elab_getDeclarationSelectionRef(x_2); -x_17 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__20(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_17 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_15); lean_dec(x_16); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); @@ -19644,7 +19657,7 @@ lean_dec(x_17); x_20 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_20, 0, x_14); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +x_21 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__22(x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_19); return x_21; } else @@ -21447,42 +21460,42 @@ l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Comman lean_mark_persistent(l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___closed__3); l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___closed__4 = _init_l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___closed__4(); lean_mark_persistent(l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___closed__4); -l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___closed__1); -l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__1___closed__2); -l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___closed__1); -l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__2___closed__2); -l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___closed__1); -l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___lambda__3___closed__2); -l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__1); -l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__2); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__2); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__3 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__3); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__1___closed__4); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__2); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__2(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__2); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__3 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__3(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__3); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__4 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__4(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__4); +l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__1); +l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__1___closed__2); +l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___closed__1); +l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__2___closed__2); +l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___closed__1); +l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___lambda__3___closed__2); +l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__1); +l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15___closed__2); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__2); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__3 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__3); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__1___closed__4); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__2___closed__2); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__2); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__3 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__3(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__3); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__4 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__4(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___closed__4); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__1 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__1); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__2 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 68ce1fefe2..e7461ce71a 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Syntax -// Imports: Init Lean.Elab.Command Lean.Parser.Syntax +// Imports: Init Lean.Elab.Command Lean.Parser.Syntax Lean.Elab.Util #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,12 +14,12 @@ extern "C" { #endif static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); uint8_t l_Lean_Syntax_isQuot(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__17; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__9; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__34; lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___boxed(lean_object*, lean_object*); @@ -30,42 +30,44 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDesc lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotation___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__6; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__9; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__2; -lean_object* l_Lean_Elab_expandOptNamedName(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__86; lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__4; +lean_object* l_Lean_Elab_Command_resolveSyntaxKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__2___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*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__57; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMacro___lambda__1(lean_object*, size_t, size_t, 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_Lean_Elab_Command_expandMacro___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2___boxed(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3; static lean_object* l_Lean_Elab_Command_expandNotation___closed__1; +static lean_object* l_Lean_Elab_Command_resolveSyntaxKind___closed__1; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__8; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17; -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11; +lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_expandOptNamedPrio(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); extern lean_object* l_String_instInhabitedString; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__3; +static lean_object* l_Lean_Elab_Command_resolveSyntaxKind___closed__2; lean_object* l_Lean_Elab_Term_toParserDescr_processSeq___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__3(lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___boxed(lean_object**); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__22; static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; @@ -73,80 +75,87 @@ static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed_ static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__18; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(lean_object*); +static lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__3; +static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1; lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__15; -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__6(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_Lean_Elab_Command_elabElabRules___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__12; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__6; lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__11; +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8; extern lean_object* l_Lean_nullKind; static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__20; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__6; -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__46; extern lean_object* l_Lean_Parser_leadPrec; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax(lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__19; lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___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*); uint8_t l_USize_decEq(size_t, size_t); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__14; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__69; lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__1; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__28; lean_object* lean_io_error_to_string(lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2; +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__4; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__39; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__30; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__65; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__4; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__6; lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__5; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___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*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__59; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__88; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__6___rarg(lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__31; +lean_object* l_Lean_Elab_Command_elabElabRulesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotation___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__35; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__72; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__2; extern lean_object* l_Lean_Elab_Command_commandElabAttribute; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__33; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules(lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -163,12 +172,12 @@ static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_toParserDescr_ensureNoPrec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__23; uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__41; lean_object* l_Lean_Elab_Command_expandNotation___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__70; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__16; lean_object* l_Lean_Elab_Command_withExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__19; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__4; @@ -176,74 +185,81 @@ lean_object* l_Lean_Elab_Term_toParserDescr_processSeq___boxed(lean_object*, lea lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__1(lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -lean_object* l_Lean_Elab_Command_expandMacro___boxed__const__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__3; -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__6; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7___closed__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__76; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__14; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30; lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg(uint8_t, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__9; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__91; +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__78; uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__5; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__11; lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__51; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__22; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__5; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__46; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkAntiquotSuffixSpliceNode(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___rarg(lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__15; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__2; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__52; static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__29; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__29; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8; lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6; lean_object* lean_array_get_size(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___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*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* lean_string_utf8_set(lean_object*, lean_object*, uint32_t); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__10; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__1; lean_object* l_Lean_MessageData_ofList(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Command_elabElab(lean_object*); lean_object* l_List_map___at_Lean_resolveGlobalConst___spec__2(lean_object*); +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotation___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14635____closed__1; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getAntiquotTerm(lean_object*); uint8_t l_Char_isWhitespace(uint32_t); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; @@ -251,27 +267,24 @@ lean_object* l_Lean_Elab_Term_toParserDescr_processSeq___lambda__1(lean_object*, lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__9; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__12; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__52; -lean_object* l_Lean_Elab_Command_expandMacro___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__50; +lean_object* l___regBuiltin_Lean_Elab_Command_expandElab(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__27; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNotFirst(lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__61; +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__40; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13; +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_Command_resolveSyntaxKind___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; lean_object* l_String_mapAux___at_Lean_Elab_Command_mkNameFromParserSyntax_visit___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__25; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__10; lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__4; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4___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_Lean_Elab_Term_checkLeftRec___lambda__5(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*); -static lean_object* l_Lean_Elab_Command_elabElab___closed__1; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandElab___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_strLitToPattern(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__80; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__6; @@ -279,20 +292,29 @@ static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__36; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13(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_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +static lean_object* l_Lean_Elab_Command_expandMacro___closed__1; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__29; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; extern lean_object* l_Lean_nameLitKind; -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__1; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSeq___lambda__1___boxed__const__1; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__18; +lean_object* l_Lean_Elab_Command_expandElab___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__84; +lean_object* l_Lean_Elab_Command_expandElab___lambda__3___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*); +static lean_object* l_Lean_Elab_Command_expandElab___lambda__3___closed__1; +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__54; static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__6; lean_object* l_List_filterMap___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__11(lean_object*, lean_object*); @@ -301,124 +323,146 @@ static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyn lean_object* l_Lean_Syntax_mkAntiquotNode(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__25; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__37; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__70; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; lean_object* l_Lean_Elab_Command_expandMixfix___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_nat_add(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__42; lean_object* l_Lean_Elab_Command_elabSyntax_match__2(lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__4; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__22; +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__4; +lean_object* l_Lean_Elab_Command_elabElabRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__4; lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__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* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_toParserDescr_processSeq___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___lambda__2___boxed(lean_object**); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_resolveSyntaxKind(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__9; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__13; static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_checkLeftRec___closed__1; lean_object* l_Lean_Elab_Term_checkLeftRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; extern lean_object* l_Lean_LocalContext_empty; -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___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_Lean_Elab_Command_mkSimpleDelab_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_next(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___closed__1; +lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__6; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_mkNameFromParserSyntax_visit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__65; lean_object* l_Lean_Elab_Term_expandOptPrecedence___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; -static lean_object* l___regBuiltin_Lean_Elab_Command_elabElab___closed__2; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__3; -lean_object* l_Lean_Elab_Command_expandElab___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandElab___lambda__1___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__9; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__8; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__7; -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__2; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__64; +static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__7; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation(lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__17; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__67; -static lean_object* l___regBuiltin_Lean_Elab_Command_elabElab___closed__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__5; +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__4; lean_object* l_Lean_Elab_Command_expandMacro(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_checkLeftRec___closed__4; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__2; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__41; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; +lean_object* l_Lean_Elab_Command_expandElab___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__1; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__23; +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__1___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* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +lean_object* l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__5; lean_object* lean_array_fget(lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__6(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__10; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__38; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__21; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_toParserDescr_process___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__7; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__1(lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__13; +lean_object* l_Lean_Elab_Command_expandElab___lambda__4___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* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__17; -static lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__5; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__34; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRules___closed__1; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__8; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandElab___closed__2; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__3; +lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__11; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__51; +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_toParserDescr_process___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__3; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__82; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__2; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__7; static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Command_elabElab___closed__4; uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__8; -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__1; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_markAsTrailingParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__4; lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__14; extern lean_object* l_Lean_strLitKind; @@ -428,161 +472,177 @@ lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__19; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__48; lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__4___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* l_Lean_Elab_Command_mkSimpleDelab___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__5(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_mapIdxM_map___at_Lean_Elab_Term_toParserDescr_processSeq___spec__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_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__13; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___closed__1; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__1; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__55; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__2; +static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5; static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__21; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__71; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__5(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_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__5; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__7; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__12; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__3; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__72; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5; static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__23; lean_object* l_String_capitalize(lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14635_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044_(lean_object*); lean_object* l_List_map___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__3(lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__16; lean_object* l_Lean_Elab_Command_elabSyntax_match__2___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__13; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__5; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__7; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__24; lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__2; static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__5; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__32; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__10; -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__3; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__44; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__63; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__6___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__14; lean_object* l_Lean_Elab_Command_withExpectedType_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15; lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit_match__1(lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__7; static lean_object* l_Lean_Elab_Command_elabMacroRules___closed__1; +static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__18; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__15; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_strLitToPattern___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__15; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__5; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__3; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8___closed__2; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__5; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__20; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__14; static lean_object* l_Lean_Elab_Term_toParserDescr_ensureNoPrec___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__4(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__45; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__66; -static lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3; static lean_object* l_Lean_Elab_Command_withExpectedType___closed__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__64; lean_object* l_Lean_Elab_Term_toParserDescr_ensureNoPrec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__56; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__27; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1; lean_object* l_Lean_Elab_Command_elabMacroRules(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacro___lambda__5___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_st_mk_ref(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__3; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNestedParser(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; lean_object* l___private_Init_Meta_0__Lean_quoteNameMk(lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__9; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__7; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_maxPrec; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__16; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__57; +static lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__1; lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__3; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__83; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__4; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_mkNameFromParserSyntax_visit___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__7; static lean_object* l_Lean_Elab_Term_checkLeftRec___closed__2; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__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* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__16; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__4; -lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__5; static lean_object* l_Lean_Elab_Command_withExpectedType___closed__2; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10; lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__6; +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__3; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__7; -lean_object* l_Lean_Elab_Command_expandMacro___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_object*); +lean_object* l_Lean_Elab_Command_expandMacro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1; uint32_t lean_string_utf8_get(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__10; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4___rarg(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab_match__1(lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__8; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__16; -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__5___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*); +static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__4; -static lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__1; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__3; uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__12; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -lean_object* l_Lean_Elab_Command_expandElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__8; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser_match__1(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___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*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__68; @@ -590,127 +650,132 @@ static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_ lean_object* l_Lean_evalOptPrec(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSeq(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_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__5; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___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*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__5; -lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___closed__3; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__87; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16; static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandElab___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandElab___lambda__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__3___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__12; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__10; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__33; lean_object* l_Lean_Elab_Term_toParserDescr_processAtom_match__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__14; lean_object* l_Lean_Elab_Term_toParserDescr_processAtom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__2; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__28; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__4___rarg(lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__20; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7___closed__3; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__3; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__3___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__5; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__10; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__3; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__30; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__76; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__18; lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__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_Lean_Elab_Command_elabSyntax___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__6; static lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__1___rarg___closed__2; +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__3; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__10; uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind(lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__53; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__1; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__22; -lean_object* l_Lean_Elab_Command_expandMacro_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__4; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__4; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__5; lean_object* l_Lean_Elab_Command_expandMixfix_withAttrKindGlobal(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__37; -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__8___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*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandElab___closed__1; +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_Command_resolveSyntaxKind___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__7; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_toParserDescr_processSeq___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; lean_object* l_Lean_evalPrec(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1; lean_object* l_Lean_Elab_Term_checkLeftRec___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* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ensureUnaryParserAlias(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__43; -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___closed__1; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__3; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__15; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__6; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__1; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__15; lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__42; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1; lean_object* l_Lean_Parser_registerParserCategory(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; lean_object* l_Lean_Syntax_getQuotContent(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__4___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__1; +static lean_object* l_Lean_Elab_Command_expandMacro___lambda__3___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__8; lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_appendCatName(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processAtom_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__1(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabElab(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +static lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__2; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6; lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); lean_object* l_Lean_Name_getString_x21(lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabElab___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1(lean_object*, lean_object*); uint8_t l_Lean_Name_isStr(lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___closed__4; lean_object* lean_name_append_after(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__69; @@ -720,24 +785,22 @@ lean_object* l_Lean_Elab_Command_expandNotation___lambda__2___boxed(lean_object* static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__14; static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__3; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__3; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__3___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*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__1; static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__59; lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__6; extern lean_object* l_Lean_Elab_macroAttribute; lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix(lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__1; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__2; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___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_environment_main_module(lean_object*); @@ -745,41 +808,42 @@ static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__1___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__5; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___boxed(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__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* l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__3___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*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__3; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax___boxed(lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Syntax_hasArgs(lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_markAsTrailingParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__7___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__1___rarg___closed__1; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__13; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__3; +static lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__4; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__31; lean_object* l_Lean_Parser_ensureConstantParserAlias(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_expandElab___closed__1; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__2; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__5; -lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__13; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__15; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__90; static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__5; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__7; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__3; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_checkLeftRec___closed__3; @@ -790,19 +854,20 @@ lean_object* l_Lean_Macro_resolveGlobalName(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Elab_Command_expandMixfix___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__26; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__6; +uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__4; lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__6; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7435_(uint8_t, uint8_t); static lean_object* l_Lean_Elab_Command_elabSyntax___closed__1; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNestedParser___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_checkLeftRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -810,109 +875,130 @@ static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__7; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__68; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__9; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__58; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__4; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__2; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__62; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__75; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__54; static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescr_process(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__2; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__7; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__6; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__1(lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabInitQuot___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Term_toParserDescr_processSeq___spec__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*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__74; +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; static lean_object* l_Lean_Elab_Command_elabSyntax___closed__2; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__60; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__47; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__4; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__7; lean_object* l_Lean_Parser_isParserAlias(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__25; +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__6; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22; lean_object* l_Lean_Elab_Term_toParserDescr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__26; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__1; +lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_appendCatName___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__17; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__4(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_Lean_Elab_Command_expandMixfix___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__26; +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__12; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__39; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__75; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__16; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__42; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2; lean_object* l_Lean_Name_getPrefix(lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabElabRules(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +lean_object* l_Lean_Elab_Command_expandElab___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_process_match__1(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__43; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; lean_object* l_Lean_Elab_Command_elabSyntax(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__3___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__1; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5; +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__2(lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__3; lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacro___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_process___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; +static lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__35; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg(lean_object*); lean_object* l_Lean_Elab_Command_withExpectedType_match__1(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__3; lean_object* l_Lean_Elab_Command_elabSyntax_match__3(lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__6; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__7(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___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_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__58; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__38; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__21; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__53; lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_trim(lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__4; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___rarg(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044____closed__1; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotation___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___closed__1; +lean_object* l_Lean_Elab_Command_expandElab___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__7___rarg(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOptPrecedence(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMacro___lambda__5(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_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__9; lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___boxed(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); @@ -920,25 +1006,22 @@ static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyn static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__10; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__16; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__18; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__73; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__32; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__10; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processBinary(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__15; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__2; lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__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* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__2; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__10; -lean_object* l_Lean_Elab_Command_expandElab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandElab(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_process___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__7; lean_object* l_Lean_Elab_Command_expandNotation_match__1(lean_object*); @@ -946,102 +1029,104 @@ static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyn static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__5; static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8___closed__1; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__5; extern lean_object* l_Lean_Elab_mkAttrKindGlobal; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4(lean_object*, size_t, size_t, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__20; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__14; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__3; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ensureBinaryParserAlias(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__6; +lean_object* l_Lean_Elab_Command_expandMacro___lambda__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote_match__1(lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_syntax_ident(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandElab___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__8; -lean_object* l_Lean_Elab_Command_elabMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__3; static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__4; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7___closed__2; lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__3; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__19; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__11; -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__9___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* l_Lean_Elab_Command_elabSyntax___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_resolveParserName_match__3(lean_object*); -lean_object* l_Lean_Elab_Command_expandElab___boxed__const__1; -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4(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_Lean_throwError___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__77; static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__2; +lean_object* l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__10(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*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__1(lean_object*); lean_object* l_List_map___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__2(lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(lean_object*); +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__8; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__1; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__11; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__6___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__79; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__40; +lean_object* l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__17; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__9; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1(lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__67; +static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__1; -lean_object* l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__9(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_Lean_Elab_Command_elabSyntax___lambda__9(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*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNotFirst___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__56; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__66; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___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_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__85; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__8; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__3___rarg(lean_object*); lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__36; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesIdent(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandMacro_match__1(lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandElab___closed__2; static lean_object* l_Lean_Elab_Term_toParserDescr_ensureNoPrec___closed__2; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__45; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13; lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__4; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; lean_object* l_Lean_Elab_Term_toParserDescr_process_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); @@ -1049,12 +1134,14 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr_processBinary___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__24; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__17; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__11; lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__63; -lean_object* l_Lean_Elab_Command_expandElab___lambda__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandElab___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__13; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__2; @@ -1062,17 +1149,20 @@ static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_ static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__81; lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat_match__1(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_elabElab___closed__5; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(lean_object*, size_t, size_t); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__12; static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__12; -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__49; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux_match__1(lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__44; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__6; lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__1; lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +static lean_object* l___regBuiltin_Lean_Elab_Command_expandElab___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2; @@ -1080,26 +1170,25 @@ static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__17; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__4; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__11; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; lean_object* l_Lean_Elab_Command_expandNotation(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_Command_expandElab___lambda__2___closed__77; static lean_object* l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Command_elabElab___closed__3; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__71; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__4; lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__4; -lean_object* l_Lean_Elab_Command_elabElab___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabElabRules___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*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1109,10 +1198,10 @@ static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__8; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__4; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__8; +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1; uint8_t l_Lean_Syntax_isIdent(lean_object*); -static lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__3; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__1; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; lean_object* l_Lean_Elab_Term_expandOptPrecedence(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -1624,7 +1713,7 @@ else lean_object* x_29; lean_dec(x_9); lean_dec(x_1); -x_29 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_8); +x_29 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_8); return x_29; } } @@ -1789,98 +1878,7 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_ return x_2; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_8, 3); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_6, x_7, x_8, x_9, x_10); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_11); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_11); -lean_ctor_set(x_15, 1, x_14); -lean_ctor_set_tag(x_12, 1); -lean_ctor_set(x_12, 0, x_15); -return x_12; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_12, 0); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_12); -lean_inc(x_11); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_16); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__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) { -_start: -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_9, 3); -x_14 = l_Lean_replaceRef(x_1, x_13); -lean_dec(x_13); -lean_ctor_set(x_9, 3, x_14); -x_15 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_9); -return x_15; -} -else -{ -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_16 = lean_ctor_get(x_9, 0); -x_17 = lean_ctor_get(x_9, 1); -x_18 = lean_ctor_get(x_9, 2); -x_19 = lean_ctor_get(x_9, 3); -x_20 = lean_ctor_get(x_9, 4); -x_21 = lean_ctor_get(x_9, 5); -x_22 = lean_ctor_get(x_9, 6); -x_23 = lean_ctor_get(x_9, 7); -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_dec(x_9); -x_24 = l_Lean_replaceRef(x_1, x_19); -lean_dec(x_19); -x_25 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_25, 0, x_16); -lean_ctor_set(x_25, 1, x_17); -lean_ctor_set(x_25, 2, x_18); -lean_ctor_set(x_25, 3, x_24); -lean_ctor_set(x_25, 4, x_20); -lean_ctor_set(x_25, 5, x_21); -lean_ctor_set(x_25, 6, x_22); -lean_ctor_set(x_25, 7, x_23); -x_26 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11); -lean_dec(x_25); -return x_26; -} -} -} -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; @@ -1893,7 +1891,7 @@ lean_ctor_set(x_14, 1, x_10); return x_14; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__1() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1() { _start: { lean_object* x_1; @@ -1901,16 +1899,16 @@ x_1 = lean_mk_string("["); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__2() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__1; +x_1 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__3() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__3() { _start: { lean_object* x_1; @@ -1918,16 +1916,16 @@ x_1 = lean_mk_string("] "); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__4() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__3; +x_1 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__5() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__5() { _start: { lean_object* x_1; @@ -1935,16 +1933,16 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__6() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__5; +x_1 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4(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* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { 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; uint8_t x_20; @@ -1977,18 +1975,18 @@ x_23 = lean_ctor_get(x_18, 0); lean_inc(x_1); x_24 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_24, 0, x_1); -x_25 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__2; +x_25 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__2; x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); -x_27 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__4; +x_27 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__4; x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); x_29 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_14); -x_30 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__6; +x_30 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6; x_31 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); @@ -2035,18 +2033,18 @@ lean_dec(x_18); lean_inc(x_1); x_44 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_44, 0, x_1); -x_45 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__2; +x_45 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__2; x_46 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); -x_47 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__4; +x_47 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__4; x_48 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_48, 0, x_46); lean_ctor_set(x_48, 1, x_47); x_49 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_14); -x_50 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__6; +x_50 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6; x_51 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_51, 0, x_49); lean_ctor_set(x_51, 1, x_50); @@ -2107,18 +2105,18 @@ if (lean_is_exclusive(x_18)) { lean_inc(x_1); x_67 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_67, 0, x_1); -x_68 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__2; +x_68 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__2; x_69 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__4; +x_70 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__4; x_71 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); x_72 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_14); -x_73 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__6; +x_73 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6; x_74 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_74, 0, x_72); lean_ctor_set(x_74, 1, x_73); @@ -2165,7 +2163,7 @@ return x_84; } } } -lean_object* l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__5(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* l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__4(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) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2217,7 +2215,7 @@ x_23 = lean_ctor_get(x_17, 1); lean_inc(x_23); lean_dec(x_17); lean_inc(x_15); -x_24 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__3(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +x_24 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__2(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_unbox(x_25); @@ -2244,7 +2242,7 @@ x_30 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_30, 0, x_16); x_31 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_31, 0, x_30); -x_32 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4(x_15, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_32 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3(x_15, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); @@ -2256,7 +2254,7 @@ goto _start; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__7(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* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__6(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) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -2294,7 +2292,7 @@ return x_19; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__6(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* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__5(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) { _start: { uint8_t x_12; @@ -2306,7 +2304,7 @@ x_13 = lean_ctor_get(x_9, 3); x_14 = l_Lean_replaceRef(x_1, x_13); lean_dec(x_13); lean_ctor_set(x_9, 3, x_14); -x_15 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_15 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_9); return x_15; } @@ -2341,13 +2339,13 @@ lean_ctor_set(x_25, 4, x_20); lean_ctor_set(x_25, 5, x_21); lean_ctor_set(x_25, 6, x_22); lean_ctor_set(x_25, 7, x_23); -x_26 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11); +x_26 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11); lean_dec(x_25); return x_26; } } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2359,25 +2357,489 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8(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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7(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) { _start: { lean_object* x_9; -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg), 1, 0); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg), 1, 0); return x_9; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__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; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__4(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; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__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) { +_start: +{ +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; +x_11 = lean_st_ref_get(x_9, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_8, 4); +lean_inc(x_15); +x_16 = lean_ctor_get(x_8, 5); +lean_inc(x_16); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_15); +x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_18, 0, x_15); +lean_inc(x_14); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_19, 0, x_14); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_20, 0, x_14); +lean_closure_set(x_20, 1, x_15); +lean_closure_set(x_20, 2, x_16); +lean_inc(x_14); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_21, 0, x_14); +lean_closure_set(x_21, 1, x_15); +lean_closure_set(x_21, 2, x_16); +x_22 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_20); +lean_ctor_set(x_22, 4, x_21); +x_23 = x_22; +x_24 = lean_ctor_get(x_8, 3); +lean_inc(x_24); +x_25 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_ctor_get(x_8, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_8, 2); +lean_inc(x_29); +x_30 = lean_st_ref_get(x_9, x_27); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_environment_main_module(x_14); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_23); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_26); +lean_ctor_set(x_35, 3, x_28); +lean_ctor_set(x_35, 4, x_29); +lean_ctor_set(x_35, 5, x_24); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_apply_2(x_1, x_35, x_37); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_st_ref_take(x_9, x_32); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = !lean_is_exclusive(x_43); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_46 = lean_ctor_get(x_43, 1); +lean_dec(x_46); +lean_ctor_set(x_43, 1, x_41); +x_47 = lean_st_ref_set(x_9, x_43, x_44); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get(x_40, 1); +lean_inc(x_49); +lean_dec(x_40); +x_50 = l_List_reverse___rarg(x_49); +x_51 = l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__4(x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_48); +lean_dec(x_8); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_51, 0); +lean_dec(x_53); +lean_ctor_set(x_51, 0, x_39); +return x_51; +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_39); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +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_65; lean_object* x_66; lean_object* x_67; +x_56 = lean_ctor_get(x_43, 0); +x_57 = lean_ctor_get(x_43, 2); +x_58 = lean_ctor_get(x_43, 3); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_43); +x_59 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_41); +lean_ctor_set(x_59, 2, x_57); +lean_ctor_set(x_59, 3, x_58); +x_60 = lean_st_ref_set(x_9, x_59, x_44); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +lean_dec(x_60); +x_62 = lean_ctor_get(x_40, 1); +lean_inc(x_62); +lean_dec(x_40); +x_63 = l_List_reverse___rarg(x_62); +x_64 = l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__4(x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_61); +lean_dec(x_8); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_66 = x_64; +} else { + lean_dec_ref(x_64); + x_66 = lean_box(0); +} +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_39); +lean_ctor_set(x_67, 1, x_65); +return x_67; +} +} +else +{ +lean_object* x_68; +x_68 = lean_ctor_get(x_38, 0); +lean_inc(x_68); +lean_dec(x_38); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_72, 0, x_71); +x_73 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__5(x_69, x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); +lean_dec(x_69); +return x_73; +} +else +{ +lean_object* x_74; +lean_dec(x_8); +x_74 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg(x_32); +return x_74; +} +} +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__9(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) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_8, 3); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_6, x_7, x_8, x_9, x_10); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +lean_inc(x_11); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__8(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) { +_start: +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 3); +x_14 = l_Lean_replaceRef(x_1, x_13); +lean_dec(x_13); +lean_ctor_set(x_9, 3, x_14); +x_15 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +return x_15; +} +else +{ +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_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_9, 1); +x_18 = lean_ctor_get(x_9, 2); +x_19 = lean_ctor_get(x_9, 3); +x_20 = lean_ctor_get(x_9, 4); +x_21 = lean_ctor_get(x_9, 5); +x_22 = lean_ctor_get(x_9, 6); +x_23 = lean_ctor_get(x_9, 7); +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_dec(x_9); +x_24 = l_Lean_replaceRef(x_1, x_19); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_25, 0, x_16); +lean_ctor_set(x_25, 1, x_17); +lean_ctor_set(x_25, 2, x_18); +lean_ctor_set(x_25, 3, x_24); +lean_ctor_set(x_25, 4, x_20); +lean_ctor_set(x_25, 5, x_21); +lean_ctor_set(x_25, 6, x_22); +lean_ctor_set(x_25, 7, x_23); +x_26 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11); +lean_dec(x_25); +return x_26; +} +} +} lean_object* l_Lean_Elab_Term_checkLeftRec___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) { _start: { @@ -2445,41 +2907,7 @@ return x_31; } } } -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__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; lean_object* x_7; -x_5 = l_Lean_Environment_contains(x_1, x_2); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_checkLeftRec___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) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__4(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; -x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -static lean_object* _init_l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__1() { +static lean_object* _init_l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -2487,16 +2915,16 @@ x_1 = lean_mk_string("invalid occurrence of '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__2() { +static lean_object* _init_l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__1; +x_1 = l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__3() { +static lean_object* _init_l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -2504,287 +2932,110 @@ x_1 = lean_mk_string("', parser algorithm does not allow this form of left recur return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__4() { +static lean_object* _init_l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__3; +x_1 = l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__5(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, lean_object* x_13) { +lean_object* l_Lean_Elab_Term_checkLeftRec___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, 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) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 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_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_unsigned_to_nat(1u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_34 = lean_st_ref_get(x_12, x_13); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_11, 4); -lean_inc(x_38); -x_39 = lean_ctor_get(x_11, 5); -lean_inc(x_39); -lean_inc(x_37); -x_40 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_40, 0, x_37); -lean_inc(x_38); -x_41 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_41, 0, x_38); -lean_inc(x_37); -x_42 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_42, 0, x_37); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -x_43 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_43, 0, x_37); -lean_closure_set(x_43, 1, x_38); -lean_closure_set(x_43, 2, x_39); -lean_inc(x_37); -x_44 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_44, 0, x_37); -lean_closure_set(x_44, 1, x_38); -lean_closure_set(x_44, 2, x_39); -x_45 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_45, 0, x_40); -lean_ctor_set(x_45, 1, x_41); -lean_ctor_set(x_45, 2, x_42); -lean_ctor_set(x_45, 3, x_43); -lean_ctor_set(x_45, 4, x_44); -x_46 = x_45; -x_47 = lean_ctor_get(x_11, 3); -lean_inc(x_47); -x_48 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_36); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_ctor_get(x_11, 1); -lean_inc(x_51); -x_52 = lean_ctor_get(x_11, 2); -lean_inc(x_52); -x_53 = lean_st_ref_get(x_12, x_50); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_environment_main_module(x_37); -x_58 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_58, 0, x_46); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_58, 2, x_49); -lean_ctor_set(x_58, 3, x_51); -lean_ctor_set(x_58, 4, x_52); -lean_ctor_set(x_58, 5, x_47); -x_59 = lean_box(0); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_56); -lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_Elab_Term_expandOptPrecedence(x_15, x_58, x_60); -lean_dec(x_15); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_st_ref_take(x_12, x_55); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = !lean_is_exclusive(x_66); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_69 = lean_ctor_get(x_66, 1); -lean_dec(x_69); -lean_ctor_set(x_66, 1, x_64); -x_70 = lean_st_ref_set(x_12, x_66, x_67); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_ctor_get(x_63, 1); -lean_inc(x_72); -lean_dec(x_63); -x_73 = l_List_reverse___rarg(x_72); -x_74 = l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__5(x_73, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_71); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_16 = x_62; -x_17 = x_75; -goto block_33; -} -else -{ -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; -x_76 = lean_ctor_get(x_66, 0); -x_77 = lean_ctor_get(x_66, 2); -x_78 = lean_ctor_get(x_66, 3); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_66); -x_79 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_79, 0, x_76); -lean_ctor_set(x_79, 1, x_64); -lean_ctor_set(x_79, 2, x_77); -lean_ctor_set(x_79, 3, x_78); -x_80 = lean_st_ref_set(x_12, x_79, x_67); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = lean_ctor_get(x_63, 1); -lean_inc(x_82); -lean_dec(x_63); -x_83 = l_List_reverse___rarg(x_82); -x_84 = l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__5(x_83, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_81); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_16 = x_62; -x_17 = x_85; -goto block_33; -} -} -else -{ -lean_object* x_86; -lean_dec(x_3); -x_86 = lean_ctor_get(x_61, 0); -lean_inc(x_86); -lean_dec(x_61); -if (lean_obj_tag(x_86) == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_90 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_90, 0, x_89); -x_91 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__6(x_87, x_90, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_55); -lean_dec(x_87); -x_92 = !lean_is_exclusive(x_91); -if (x_92 == 0) -{ -return x_91; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_91, 0); -x_94 = lean_ctor_get(x_91, 1); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_91); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -return x_95; -} -} -else -{ -lean_object* x_96; uint8_t x_97; -lean_dec(x_11); -x_96 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg(x_55); -x_97 = !lean_is_exclusive(x_96); -if (x_97 == 0) -{ -return x_96; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_96, 0); -x_99 = lean_ctor_get(x_96, 1); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_96); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -return x_100; -} -} -} -block_33: +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandOptPrecedence___boxed), 3, 1); +lean_closure_set(x_16, 0, x_15); +lean_inc(x_11); +x_17 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) { uint8_t x_18; x_18 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 1); 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; uint8_t x_27; -lean_dec(x_16); -x_19 = lean_unsigned_to_nat(3u); -x_20 = l_Lean_Syntax_getArg(x_1, x_19); -x_21 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_21, 0, x_3); -x_22 = l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__2; -x_23 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -x_24 = l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__4; -x_25 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1(x_20, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); -lean_dec(x_20); -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 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; uint8_t x_28; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_unsigned_to_nat(3u); +x_21 = l_Lean_Syntax_getArg(x_1, x_20); +x_22 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_22, 0, x_3); +x_23 = l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__2; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__4; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__8(x_21, x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); +lean_dec(x_21); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) { -return x_26; +return x_27; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_26, 0); -x_29 = lean_ctor_get(x_26, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_27, 0); +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_26); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_dec(x_27); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } else { -lean_object* x_31; lean_object* x_32; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_dec(x_3); -x_31 = lean_box(0); -x_32 = l_Lean_Elab_Term_checkLeftRec___lambda__1(x_16, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_17); +x_32 = lean_ctor_get(x_17, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_17, 1); +lean_inc(x_33); +lean_dec(x_17); +x_34 = lean_box(0); +x_35 = l_Lean_Elab_Term_checkLeftRec___lambda__1(x_32, x_34, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_33); lean_dec(x_11); -return x_32; +return x_35; +} +} +else +{ +uint8_t x_36; +lean_dec(x_11); +lean_dec(x_3); +x_36 = !lean_is_exclusive(x_17); +if (x_36 == 0) +{ +return x_17; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_17, 0); +x_38 = lean_ctor_get(x_17, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_17); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } } -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__6(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) { +lean_object* l_Lean_Elab_Term_checkLeftRec___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, 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; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; @@ -2811,7 +3062,7 @@ else { lean_object* x_22; lean_object* x_23; x_22 = lean_box(0); -x_23 = l_Lean_Elab_Term_checkLeftRec___lambda__5(x_1, x_2, x_16, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_23 = l_Lean_Elab_Term_checkLeftRec___lambda__2(x_1, x_2, x_16, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_23; } } @@ -2893,18 +3144,18 @@ else { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Elab_Term_checkLeftRec___lambda__6(x_1, x_2, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_22 = l_Lean_Elab_Term_checkLeftRec___lambda__3(x_1, x_2, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_22; } } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2916,11 +3167,59 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__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* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__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 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_12; +} +} +lean_object* l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__5___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -2932,91 +3231,11 @@ lean_dec(x_1); return x_12; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} -lean_object* l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__5___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) { -_start: -{ -lean_object* x_11; -x_11 = l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__7___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) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___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) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -3028,6 +3247,94 @@ lean_dec(x_1); return x_9; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___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_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__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_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__4___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_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__9___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__8___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_12; +} +} lean_object* l_Lean_Elab_Term_checkLeftRec___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) { _start: { @@ -3045,43 +3352,11 @@ lean_dec(x_2); return x_12; } } -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__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_Term_checkLeftRec___lambda__2(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_checkLeftRec___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_Term_checkLeftRec___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__4___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_checkLeftRec___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__5___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, lean_object* x_13) { +lean_object* l_Lean_Elab_Term_checkLeftRec___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, 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) { _start: { lean_object* x_14; -x_14 = l_Lean_Elab_Term_checkLeftRec___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_14 = l_Lean_Elab_Term_checkLeftRec___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); @@ -3095,11 +3370,11 @@ lean_dec(x_1); return x_14; } } -lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_checkLeftRec___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, 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_Lean_Elab_Term_checkLeftRec___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Elab_Term_checkLeftRec___lambda__3(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); lean_dec(x_9); lean_dec(x_8); @@ -4481,7 +4756,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDesc _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___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); @@ -5320,425 +5595,246 @@ return x_1; lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_107; lean_object* x_108; 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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_108; x_13 = lean_unsigned_to_nat(1u); x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_117 = lean_st_ref_get(x_11, x_12); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = lean_ctor_get(x_118, 0); -lean_inc(x_120); -lean_dec(x_118); -x_121 = lean_ctor_get(x_10, 4); -lean_inc(x_121); -x_122 = lean_ctor_get(x_10, 5); -lean_inc(x_122); -lean_inc(x_120); -x_123 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_123, 0, x_120); -lean_inc(x_121); -x_124 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_124, 0, x_121); -lean_inc(x_120); -x_125 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_125, 0, x_120); -lean_inc(x_122); -lean_inc(x_121); -lean_inc(x_120); -x_126 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_126, 0, x_120); -lean_closure_set(x_126, 1, x_121); -lean_closure_set(x_126, 2, x_122); -lean_inc(x_120); -x_127 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_127, 0, x_120); -lean_closure_set(x_127, 1, x_121); -lean_closure_set(x_127, 2, x_122); -x_128 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_128, 0, x_123); -lean_ctor_set(x_128, 1, x_124); -lean_ctor_set(x_128, 2, x_125); -lean_ctor_set(x_128, 3, x_126); -lean_ctor_set(x_128, 4, x_127); -x_129 = x_128; -x_130 = lean_ctor_get(x_10, 3); -lean_inc(x_130); -x_131 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_119); -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -lean_dec(x_131); -x_134 = lean_ctor_get(x_10, 1); -lean_inc(x_134); -x_135 = lean_ctor_get(x_10, 2); -lean_inc(x_135); -x_136 = lean_st_ref_get(x_11, x_133); -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, 1); -lean_inc(x_139); -lean_dec(x_137); -x_140 = lean_environment_main_module(x_120); -x_141 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_141, 0, x_129); -lean_ctor_set(x_141, 1, x_140); -lean_ctor_set(x_141, 2, x_132); -lean_ctor_set(x_141, 3, x_134); -lean_ctor_set(x_141, 4, x_135); -lean_ctor_set(x_141, 5, x_130); -x_142 = lean_box(0); -x_143 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_143, 0, x_139); -lean_ctor_set(x_143, 1, x_142); -x_144 = l_Lean_Elab_Term_expandOptPrecedence(x_14, x_141, x_143); -lean_dec(x_14); -if (lean_obj_tag(x_144) == 0) +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandOptPrecedence___boxed), 3, 1); +lean_closure_set(x_15, 0, x_14); +lean_inc(x_10); +x_108 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_108) == 0) { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -lean_dec(x_144); -x_147 = lean_ctor_get(x_146, 0); -lean_inc(x_147); -x_148 = lean_st_ref_take(x_11, x_138); -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); -lean_inc(x_150); -lean_dec(x_148); -x_151 = !lean_is_exclusive(x_149); -if (x_151 == 0) -{ -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; -x_152 = lean_ctor_get(x_149, 1); -lean_dec(x_152); -lean_ctor_set(x_149, 1, x_147); -x_153 = lean_st_ref_set(x_11, x_149, x_150); -x_154 = lean_ctor_get(x_153, 1); -lean_inc(x_154); -lean_dec(x_153); -x_155 = lean_ctor_get(x_146, 1); -lean_inc(x_155); -lean_dec(x_146); -x_156 = l_List_reverse___rarg(x_155); -x_157 = l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__5(x_156, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_154); -x_158 = lean_ctor_get(x_157, 1); -lean_inc(x_158); -lean_dec(x_157); -x_107 = x_145; -x_108 = x_158; -goto block_116; -} -else -{ -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; -x_159 = lean_ctor_get(x_149, 0); -x_160 = lean_ctor_get(x_149, 2); -x_161 = lean_ctor_get(x_149, 3); -lean_inc(x_161); -lean_inc(x_160); -lean_inc(x_159); -lean_dec(x_149); -x_162 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_162, 0, x_159); -lean_ctor_set(x_162, 1, x_147); -lean_ctor_set(x_162, 2, x_160); -lean_ctor_set(x_162, 3, x_161); -x_163 = lean_st_ref_set(x_11, x_162, x_150); -x_164 = lean_ctor_get(x_163, 1); -lean_inc(x_164); -lean_dec(x_163); -x_165 = lean_ctor_get(x_146, 1); -lean_inc(x_165); -lean_dec(x_146); -x_166 = l_List_reverse___rarg(x_165); -x_167 = l_List_forM___at_Lean_Elab_Term_checkLeftRec___spec__5(x_166, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_164); -x_168 = lean_ctor_get(x_167, 1); -lean_inc(x_168); -lean_dec(x_167); -x_107 = x_145; -x_108 = x_168; -goto block_116; -} -} -else -{ -lean_object* x_169; -lean_dec(x_2); -x_169 = lean_ctor_get(x_144, 0); -lean_inc(x_169); -lean_dec(x_144); -if (lean_obj_tag(x_169) == 0) -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; -x_170 = lean_ctor_get(x_169, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_169, 1); -lean_inc(x_171); -lean_dec(x_169); -x_172 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_172, 0, x_171); -x_173 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_173, 0, x_172); -x_174 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__6(x_170, x_173, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_138); -lean_dec(x_170); -x_175 = !lean_is_exclusive(x_174); -if (x_175 == 0) -{ -return x_174; -} -else -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_176 = lean_ctor_get(x_174, 0); -x_177 = lean_ctor_get(x_174, 1); -lean_inc(x_177); -lean_inc(x_176); -lean_dec(x_174); -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_176); -lean_ctor_set(x_178, 1, x_177); -return x_178; -} -} -else -{ -lean_object* x_179; uint8_t x_180; -lean_dec(x_10); -x_179 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg(x_138); -x_180 = !lean_is_exclusive(x_179); -if (x_180 == 0) -{ -return x_179; -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_179, 0); -x_182 = lean_ctor_get(x_179, 1); -lean_inc(x_182); -lean_inc(x_181); -lean_dec(x_179); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_182); -return x_183; -} -} -} -block_106: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_17); -lean_dec(x_10); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_20); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 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; -x_23 = lean_ctor_get(x_21, 0); -x_24 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__4; -x_25 = l_Lean_addMacroScope(x_23, x_24, x_19); -x_26 = lean_box(0); -x_27 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__3; -x_28 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__7; -x_29 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_29, 0, x_16); -lean_ctor_set(x_29, 1, x_27); -lean_ctor_set(x_29, 2, x_25); -lean_ctor_set(x_29, 3, x_28); -lean_inc(x_2); -x_30 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_26, x_2); -x_31 = l_Nat_repr(x_15); -x_32 = l_Lean_numLitKind; -x_33 = lean_box(2); -x_34 = l_Lean_Syntax_mkLit(x_32, x_31, x_33); -x_35 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_36 = lean_array_push(x_35, x_29); -if (lean_obj_tag(x_30) == 0) -{ -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_37 = l___private_Init_Meta_0__Lean_quoteNameMk(x_2); -x_38 = lean_array_push(x_35, x_37); -x_39 = lean_array_push(x_38, x_34); -x_40 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -x_42 = lean_array_push(x_36, x_41); -x_43 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -lean_ctor_set(x_21, 0, x_44); -return x_21; -} -else -{ -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_dec(x_2); -x_45 = lean_ctor_get(x_30, 0); -lean_inc(x_45); -lean_dec(x_30); -x_46 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; -x_47 = l_String_intercalate(x_46, x_45); -x_48 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; -x_49 = lean_string_append(x_48, x_47); -lean_dec(x_47); -x_50 = l_Lean_nameLitKind; -x_51 = l_Lean_Syntax_mkLit(x_50, x_49, x_33); -x_52 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_53 = lean_array_push(x_52, x_51); -x_54 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__23; -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = lean_array_push(x_35, x_55); -x_57 = lean_array_push(x_56, x_34); -x_58 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -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_array_push(x_36, x_59); -x_61 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -lean_ctor_set(x_21, 0, x_62); -return x_21; -} -} -else -{ -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_63 = lean_ctor_get(x_21, 0); -x_64 = lean_ctor_get(x_21, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_21); -x_65 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__4; -x_66 = l_Lean_addMacroScope(x_63, x_65, x_19); -x_67 = lean_box(0); -x_68 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__3; -x_69 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__7; -x_70 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_70, 0, x_16); -lean_ctor_set(x_70, 1, x_68); -lean_ctor_set(x_70, 2, x_66); -lean_ctor_set(x_70, 3, x_69); -lean_inc(x_2); -x_71 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_67, x_2); -x_72 = l_Nat_repr(x_15); -x_73 = l_Lean_numLitKind; -x_74 = lean_box(2); -x_75 = l_Lean_Syntax_mkLit(x_73, x_72, x_74); -x_76 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_77 = lean_array_push(x_76, x_70); -if (lean_obj_tag(x_71) == 0) -{ -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_78 = l___private_Init_Meta_0__Lean_quoteNameMk(x_2); -x_79 = lean_array_push(x_76, x_78); -x_80 = lean_array_push(x_79, x_75); -x_81 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -x_83 = lean_array_push(x_77, x_82); -x_84 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -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_64); -return x_86; -} -else -{ -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_dec(x_2); -x_87 = lean_ctor_get(x_71, 0); -lean_inc(x_87); -lean_dec(x_71); -x_88 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; -x_89 = l_String_intercalate(x_88, x_87); -x_90 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; -x_91 = lean_string_append(x_90, x_89); -lean_dec(x_89); -x_92 = l_Lean_nameLitKind; -x_93 = l_Lean_Syntax_mkLit(x_92, x_91, x_74); -x_94 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_95 = lean_array_push(x_94, x_93); -x_96 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__23; -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -x_98 = lean_array_push(x_76, x_97); -x_99 = lean_array_push(x_98, x_75); -x_100 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = lean_array_push(x_77, x_101); -x_103 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_64); -return x_105; -} -} -} -block_116: -{ -lean_object* x_109; -x_109 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2___rarg(x_10, x_11, x_108); -if (lean_obj_tag(x_107) == 0) -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_109, 0); +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_112 = lean_unsigned_to_nat(0u); -x_15 = x_112; -x_16 = x_110; -x_17 = x_111; -goto block_106; +lean_dec(x_108); +x_111 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2___rarg(x_10, x_11, x_110); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = lean_unsigned_to_nat(0u); +x_16 = x_114; +x_17 = x_112; +x_18 = x_113; +goto block_107; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_107, 0); -lean_inc(x_113); -lean_dec(x_107); -x_114 = lean_ctor_get(x_109, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_109, 1); +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_109, 0); lean_inc(x_115); lean_dec(x_109); -x_15 = x_113; -x_16 = x_114; -x_17 = x_115; -goto block_106; +x_116 = lean_ctor_get(x_111, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_111, 1); +lean_inc(x_117); +lean_dec(x_111); +x_16 = x_115; +x_17 = x_116; +x_18 = x_117; +goto block_107; +} +} +else +{ +uint8_t x_118; +lean_dec(x_10); +lean_dec(x_2); +x_118 = !lean_is_exclusive(x_108); +if (x_118 == 0) +{ +return x_108; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_108, 0); +x_120 = lean_ctor_get(x_108, 1); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_108); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; +} +} +block_107: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_18); +lean_dec(x_10); +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 = l_Lean_Elab_Term_getMainModule___rarg(x_11, x_21); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +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_24 = lean_ctor_get(x_22, 0); +x_25 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__4; +x_26 = l_Lean_addMacroScope(x_24, x_25, x_20); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__3; +x_29 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__7; +x_30 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_30, 0, x_17); +lean_ctor_set(x_30, 1, x_28); +lean_ctor_set(x_30, 2, x_26); +lean_ctor_set(x_30, 3, x_29); +lean_inc(x_2); +x_31 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_27, x_2); +x_32 = l_Nat_repr(x_16); +x_33 = l_Lean_numLitKind; +x_34 = lean_box(2); +x_35 = l_Lean_Syntax_mkLit(x_33, x_32, x_34); +x_36 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_37 = lean_array_push(x_36, x_30); +if (lean_obj_tag(x_31) == 0) +{ +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; +x_38 = l___private_Init_Meta_0__Lean_quoteNameMk(x_2); +x_39 = lean_array_push(x_36, x_38); +x_40 = lean_array_push(x_39, x_35); +x_41 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +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_37, x_42); +x_44 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +lean_ctor_set(x_22, 0, x_45); +return x_22; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_dec(x_2); +x_46 = lean_ctor_get(x_31, 0); +lean_inc(x_46); +lean_dec(x_31); +x_47 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; +x_48 = l_String_intercalate(x_47, x_46); +x_49 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; +x_50 = lean_string_append(x_49, x_48); +lean_dec(x_48); +x_51 = l_Lean_nameLitKind; +x_52 = l_Lean_Syntax_mkLit(x_51, x_50, x_34); +x_53 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_54 = lean_array_push(x_53, x_52); +x_55 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__23; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = lean_array_push(x_36, x_56); +x_58 = lean_array_push(x_57, x_35); +x_59 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = lean_array_push(x_37, x_60); +x_62 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; +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_22, 0, x_63); +return x_22; +} +} +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; +x_64 = lean_ctor_get(x_22, 0); +x_65 = lean_ctor_get(x_22, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_22); +x_66 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__4; +x_67 = l_Lean_addMacroScope(x_64, x_66, x_20); +x_68 = lean_box(0); +x_69 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__3; +x_70 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__7; +x_71 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_71, 0, x_17); +lean_ctor_set(x_71, 1, x_69); +lean_ctor_set(x_71, 2, x_67); +lean_ctor_set(x_71, 3, x_70); +lean_inc(x_2); +x_72 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_68, x_2); +x_73 = l_Nat_repr(x_16); +x_74 = l_Lean_numLitKind; +x_75 = lean_box(2); +x_76 = l_Lean_Syntax_mkLit(x_74, x_73, x_75); +x_77 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_78 = lean_array_push(x_77, x_71); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_79 = l___private_Init_Meta_0__Lean_quoteNameMk(x_2); +x_80 = lean_array_push(x_77, x_79); +x_81 = lean_array_push(x_80, x_76); +x_82 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_81); +x_84 = lean_array_push(x_78, x_83); +x_85 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_84); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_65); +return x_87; +} +else +{ +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_dec(x_2); +x_88 = lean_ctor_get(x_72, 0); +lean_inc(x_88); +lean_dec(x_72); +x_89 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; +x_90 = l_String_intercalate(x_89, x_88); +x_91 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; +x_92 = lean_string_append(x_91, x_90); +lean_dec(x_90); +x_93 = l_Lean_nameLitKind; +x_94 = l_Lean_Syntax_mkLit(x_93, x_92, x_75); +x_95 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_96 = lean_array_push(x_95, x_94); +x_97 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__23; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_96); +x_99 = lean_array_push(x_77, x_98); +x_100 = lean_array_push(x_99, x_76); +x_101 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_103 = lean_array_push(x_78, x_102); +x_104 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_103); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_65); +return x_106; +} } } } @@ -5794,7 +5890,7 @@ else lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_dec(x_14); x_22 = l_Lean_Elab_Term_toParserDescr_processParserCategory___closed__2; -x_23 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1(x_1, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_23 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__8(x_1, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_24 = !lean_is_exclusive(x_23); if (x_24 == 0) { @@ -5878,7 +5974,7 @@ if (x_13 == 0) { lean_object* x_14; lean_object* x_15; x_14 = l_Lean_Elab_Term_toParserDescr_ensureNoPrec___closed__2; -x_15 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1(x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_15 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__8(x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_12); return x_15; } @@ -6009,7 +6105,7 @@ x_16 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolvePars x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__2(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_18 = l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__9(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_18; } } @@ -6590,55 +6686,59 @@ lean_dec(x_3); x_17 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__5(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); 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_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_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 = l_Lean_LocalContext_empty; +x_20 = lean_box(0); lean_inc(x_1); -lean_inc(x_2); -x_21 = lean_alloc_ctor(0, 4, 0); +x_21 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_2); -lean_ctor_set(x_21, 2, x_18); -lean_ctor_set(x_21, 3, x_1); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_21); -x_23 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8(x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_box(0); +lean_ctor_set(x_21, 1, x_1); +x_22 = l_Lean_LocalContext_empty; +lean_inc(x_2); +x_23 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_2); +lean_ctor_set(x_23, 3, x_18); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8(x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_box(0); x_3 = x_16; -x_4 = x_25; -x_13 = x_24; +x_4 = x_27; +x_13 = x_26; goto _start; } else { -uint8_t x_27; +uint8_t x_29; lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_17); -if (x_27 == 0) +x_29 = !lean_is_exclusive(x_17); +if (x_29 == 0) { return x_17; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_17, 0); -x_29 = lean_ctor_get(x_17, 1); -lean_inc(x_29); -lean_inc(x_28); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_17, 0); +x_31 = lean_ctor_get(x_17, 1); +lean_inc(x_31); +lean_inc(x_30); lean_dec(x_17); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } } @@ -8523,7 +8623,7 @@ x_252 = l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__20; x_253 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_253, 0, x_252); lean_ctor_set(x_253, 1, x_251); -x_254 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__6; +x_254 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6; x_255 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_255, 0, x_253); lean_ctor_set(x_255, 1, x_254); @@ -8614,7 +8714,7 @@ x_275 = l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__20; x_276 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_276, 0, x_275); lean_ctor_set(x_276, 1, x_274); -x_277 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__6; +x_277 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6; x_278 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_278, 0, x_276); lean_ctor_set(x_278, 1, x_277); @@ -8658,59 +8758,6 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__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) { -_start: -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_9, 3); -x_14 = l_Lean_replaceRef(x_1, x_13); -lean_dec(x_13); -lean_ctor_set(x_9, 3, x_14); -x_15 = l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_9); -return x_15; -} -else -{ -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_16 = lean_ctor_get(x_9, 0); -x_17 = lean_ctor_get(x_9, 1); -x_18 = lean_ctor_get(x_9, 2); -x_19 = lean_ctor_get(x_9, 3); -x_20 = lean_ctor_get(x_9, 4); -x_21 = lean_ctor_get(x_9, 5); -x_22 = lean_ctor_get(x_9, 6); -x_23 = lean_ctor_get(x_9, 7); -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_dec(x_9); -x_24 = l_Lean_replaceRef(x_1, x_19); -lean_dec(x_19); -x_25 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_25, 0, x_16); -lean_ctor_set(x_25, 1, x_17); -lean_ctor_set(x_25, 2, x_18); -lean_ctor_set(x_25, 3, x_24); -lean_ctor_set(x_25, 4, x_20); -lean_ctor_set(x_25, 5, x_21); -lean_ctor_set(x_25, 6, x_22); -lean_ctor_set(x_25, 7, x_23); -x_26 = l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11); -lean_dec(x_25); -return x_26; -} -} -} lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_process___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -8816,7 +8863,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDesc _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___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); @@ -8831,6 +8878,272 @@ x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_El return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_toParserDescr_process___spec__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) { +_start: +{ +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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 5); +lean_inc(x_14); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_17, 0, x_12); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_18, 0, x_12); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_14); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_14); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = x_20; +x_22 = lean_ctor_get(x_6, 3); +lean_inc(x_22); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_6, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 2); +lean_inc(x_27); +x_28 = lean_st_ref_get(x_7, x_25); +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_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_environment_main_module(x_12); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_24); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_27); +lean_ctor_set(x_33, 5, x_22); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_2(x_1, x_33, x_35); +if (lean_obj_tag(x_36) == 0) +{ +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_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_st_ref_take(x_7, x_30); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_41, 1); +lean_dec(x_44); +lean_ctor_set(x_41, 1, x_39); +x_45 = lean_st_ref_set(x_7, x_41, x_42); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_ctor_get(x_38, 1); +lean_inc(x_47); +lean_dec(x_38); +x_48 = l_List_reverse___rarg(x_47); +x_49 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_6); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_37); +return x_49; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +else +{ +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; +x_54 = lean_ctor_get(x_41, 0); +x_55 = lean_ctor_get(x_41, 2); +x_56 = lean_ctor_get(x_41, 3); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_41); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_39); +lean_ctor_set(x_57, 2, x_55); +lean_ctor_set(x_57, 3, x_56); +x_58 = lean_st_ref_set(x_7, x_57, x_42); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get(x_38, 1); +lean_inc(x_60); +lean_dec(x_38); +x_61 = l_List_reverse___rarg(x_60); +x_62 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_59); +lean_dec(x_6); +lean_dec(x_2); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_37); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_36, 0); +lean_inc(x_66); +lean_dec(x_36); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__2(x_67, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +lean_dec(x_67); +return x_71; +} +else +{ +lean_object* x_72; +lean_dec(x_6); +lean_dec(x_2); +x_72 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4___rarg(x_30); +return x_72; +} +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__5(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) { +_start: +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 3); +x_14 = l_Lean_replaceRef(x_1, x_13); +lean_dec(x_13); +lean_ctor_set(x_9, 3, x_14); +x_15 = l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +return x_15; +} +else +{ +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_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_9, 1); +x_18 = lean_ctor_get(x_9, 2); +x_19 = lean_ctor_get(x_9, 3); +x_20 = lean_ctor_get(x_9, 4); +x_21 = lean_ctor_get(x_9, 5); +x_22 = lean_ctor_get(x_9, 6); +x_23 = lean_ctor_get(x_9, 7); +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_dec(x_9); +x_24 = l_Lean_replaceRef(x_1, x_19); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_25, 0, x_16); +lean_ctor_set(x_25, 1, x_17); +lean_ctor_set(x_25, 2, x_18); +lean_ctor_set(x_25, 3, x_24); +lean_ctor_set(x_25, 4, x_20); +lean_ctor_set(x_25, 5, x_21); +lean_ctor_set(x_25, 6, x_22); +lean_ctor_set(x_25, 7, x_23); +x_26 = l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11); +lean_dec(x_25); +return x_26; +} +} +} static lean_object* _init_l_Lean_Elab_Term_toParserDescr_process___closed__1() { _start: { @@ -8977,298 +9290,87 @@ x_13 = lean_name_eq(x_11, x_12); x_14 = !lean_is_exclusive(x_8); 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; -x_15 = lean_ctor_get(x_8, 1); -x_16 = lean_ctor_get(x_8, 2); -x_17 = lean_ctor_get(x_8, 3); -x_18 = lean_ctor_get(x_8, 4); -x_19 = lean_ctor_get(x_8, 5); -x_20 = l_Lean_replaceRef(x_1, x_17); -lean_dec(x_17); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_20); -lean_inc(x_16); -lean_inc(x_15); -lean_ctor_set(x_8, 3, x_20); +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_8, 3); +x_16 = l_Lean_replaceRef(x_1, x_15); +lean_dec(x_15); +lean_ctor_set(x_8, 3, x_16); if (x_13 == 0) { +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_choiceKind; +x_18 = lean_name_eq(x_11, x_17); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = l_Lean_Elab_Term_toParserDescr_process___closed__2; +x_20 = lean_name_eq(x_11, x_19); +if (x_20 == 0) +{ lean_object* x_21; uint8_t x_22; -x_21 = l_Lean_choiceKind; +x_21 = l_Lean_Elab_Term_checkLeftRec___closed__4; x_22 = lean_name_eq(x_11, x_21); if (x_22 == 0) { lean_object* x_23; uint8_t x_24; -x_23 = l_Lean_Elab_Term_toParserDescr_process___closed__2; +x_23 = l_Lean_Elab_Term_toParserDescr_process___closed__4; x_24 = lean_name_eq(x_11, x_23); if (x_24 == 0) { lean_object* x_25; uint8_t x_26; -x_25 = l_Lean_Elab_Term_checkLeftRec___closed__4; +x_25 = l_Lean_Elab_Term_toParserDescr_process___closed__5; x_26 = lean_name_eq(x_11, x_25); if (x_26 == 0) { lean_object* x_27; uint8_t x_28; -x_27 = l_Lean_Elab_Term_toParserDescr_process___closed__4; +x_27 = l_Lean_Elab_Term_toParserDescr_process___closed__7; x_28 = lean_name_eq(x_11, x_27); if (x_28 == 0) { lean_object* x_29; uint8_t x_30; -x_29 = l_Lean_Elab_Term_toParserDescr_process___closed__5; +x_29 = l_Lean_Elab_Term_toParserDescr_process___closed__9; x_30 = lean_name_eq(x_11, x_29); if (x_30 == 0) { lean_object* x_31; uint8_t x_32; -x_31 = l_Lean_Elab_Term_toParserDescr_process___closed__7; +x_31 = l_Lean_Elab_Term_toParserDescr_process___closed__11; x_32 = lean_name_eq(x_11, x_31); if (x_32 == 0) { lean_object* x_33; uint8_t x_34; -x_33 = l_Lean_Elab_Term_toParserDescr_process___closed__9; +x_33 = l_Lean_Elab_Term_toParserDescr_process___closed__13; x_34 = lean_name_eq(x_11, x_33); if (x_34 == 0) { -lean_object* x_35; uint8_t x_36; -x_35 = l_Lean_Elab_Term_toParserDescr_process___closed__11; -x_36 = lean_name_eq(x_11, x_35); -if (x_36 == 0) -{ -lean_object* x_37; uint8_t x_38; -x_37 = l_Lean_Elab_Term_toParserDescr_process___closed__13; -x_38 = lean_name_eq(x_11, x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; 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; -x_50 = lean_st_ref_get(x_9, x_10); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -lean_dec(x_51); -lean_inc(x_53); -x_54 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_54, 0, x_53); -lean_inc(x_18); -x_55 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_55, 0, x_18); -lean_inc(x_53); -x_56 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_56, 0, x_53); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_53); -x_57 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_57, 0, x_53); -lean_closure_set(x_57, 1, x_18); -lean_closure_set(x_57, 2, x_19); -lean_inc(x_53); -x_58 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_58, 0, x_53); -lean_closure_set(x_58, 1, x_18); -lean_closure_set(x_58, 2, x_19); -x_59 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_59, 0, x_54); -lean_ctor_set(x_59, 1, x_55); -lean_ctor_set(x_59, 2, x_56); -lean_ctor_set(x_59, 3, x_57); -lean_ctor_set(x_59, 4, x_58); -x_60 = x_59; -x_61 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_52); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_st_ref_get(x_9, x_63); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_environment_main_module(x_53); -x_69 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_69, 0, x_60); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set(x_69, 2, x_62); -lean_ctor_set(x_69, 3, x_15); -lean_ctor_set(x_69, 4, x_16); -lean_ctor_set(x_69, 5, x_20); -x_70 = lean_box(0); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_67); -lean_ctor_set(x_71, 1, x_70); +lean_object* x_35; lean_object* x_36; lean_inc(x_1); -x_72 = l_Lean_Macro_expandMacro_x3f(x_1, x_69, x_71); -if (lean_obj_tag(x_72) == 0) +x_35 = lean_alloc_closure((void*)(l_Lean_Macro_expandMacro_x3f), 3, 1); +lean_closure_set(x_35, 0, x_1); +lean_inc(x_8); +lean_inc(x_4); +x_36 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_toParserDescr_process___spec__1(x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_st_ref_take(x_9, x_66); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = !lean_is_exclusive(x_77); -if (x_79 == 0) +lean_object* x_37; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_80 = lean_ctor_get(x_77, 1); -lean_dec(x_80); -lean_ctor_set(x_77, 1, x_75); -x_81 = lean_st_ref_set(x_9, x_77, x_78); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -x_83 = lean_ctor_get(x_74, 1); -lean_inc(x_83); -lean_dec(x_74); -x_84 = l_List_reverse___rarg(x_83); -x_85 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_84, x_4, x_5, x_6, x_7, x_8, x_9, x_82); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_39 = x_73; -x_40 = x_86; -goto block_49; -} -else -{ -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_87 = lean_ctor_get(x_77, 0); -x_88 = lean_ctor_get(x_77, 2); -x_89 = lean_ctor_get(x_77, 3); -lean_inc(x_89); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_77); -x_90 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_90, 0, x_87); -lean_ctor_set(x_90, 1, x_75); -lean_ctor_set(x_90, 2, x_88); -lean_ctor_set(x_90, 3, x_89); -x_91 = lean_st_ref_set(x_9, x_90, x_78); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); -x_93 = lean_ctor_get(x_74, 1); -lean_inc(x_93); -lean_dec(x_74); -x_94 = l_List_reverse___rarg(x_93); -x_95 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_94, x_4, x_5, x_6, x_7, x_8, x_9, x_92); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -lean_dec(x_95); -x_39 = x_73; -x_40 = x_96; -goto block_49; -} -} -else -{ -lean_object* x_97; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_97 = lean_ctor_get(x_72, 0); -lean_inc(x_97); -lean_dec(x_72); -if (lean_obj_tag(x_97) == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_100 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_100, 0, x_99); -x_101 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_101, 0, x_100); -x_102 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__2(x_98, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_66); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_98); -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) -{ -return x_102; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_102, 0); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_102); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; -} -} -else -{ -lean_object* x_107; uint8_t x_108; -lean_dec(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_107 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4___rarg(x_66); -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) -{ -return x_107; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_107, 0); -x_110 = lean_ctor_get(x_107, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_107); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -return x_111; -} -} -} -block_49: -{ -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_41 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_41, 0, x_11); -x_42 = l_Lean_Elab_Term_toParserDescr_process___closed__15; +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_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_39, 0, x_11); +x_40 = l_Lean_Elab_Term_toParserDescr_process___closed__15; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6; x_43 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -x_44 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__6; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__1(x_1, x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_40); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__5(x_1, x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_38); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -9277,34 +9379,367 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_46; +return x_44; } else { -lean_object* x_47; +lean_object* x_45; lean_object* x_46; lean_dec(x_11); lean_dec(x_1); -x_47 = lean_ctor_get(x_39, 0); -lean_inc(x_47); -lean_dec(x_39); -x_1 = x_47; -x_10 = x_40; +x_45 = lean_ctor_get(x_36, 1); +lean_inc(x_45); +lean_dec(x_36); +x_46 = lean_ctor_get(x_37, 0); +lean_inc(x_46); +lean_dec(x_37); +x_1 = x_46; +x_10 = x_45; goto _start; } } +else +{ +uint8_t x_48; +lean_dec(x_8); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_48 = !lean_is_exclusive(x_36); +if (x_48 == 0) +{ +return x_36; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_36, 0); +x_50 = lean_ctor_get(x_36, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_36); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +else +{ +lean_object* x_52; +lean_dec(x_11); +x_52 = l_Lean_Elab_Term_toParserDescr_processNonReserved(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_52; +} +} +else +{ +lean_object* x_53; +lean_dec(x_11); +x_53 = l_Lean_Elab_Term_toParserDescr_processAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_53; +} +} +else +{ +lean_object* x_54; +lean_dec(x_11); +x_54 = l_Lean_Elab_Term_toParserDescr_processSepBy1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_54; +} +} +else +{ +lean_object* x_55; +lean_dec(x_11); +x_55 = l_Lean_Elab_Term_toParserDescr_processSepBy(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_55; +} +} +else +{ +lean_object* x_56; +lean_dec(x_11); +x_56 = l_Lean_Elab_Term_toParserDescr_processBinary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_11); +x_57 = l_Lean_Elab_Term_toParserDescr_processUnary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_57; +} +} +else +{ +lean_object* x_58; +lean_dec(x_11); +x_58 = l_Lean_Elab_Term_toParserDescr_processNullaryOrCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_58; +} +} +else +{ +lean_object* x_59; lean_object* x_60; +lean_dec(x_11); +x_59 = lean_unsigned_to_nat(1u); +x_60 = l_Lean_Syntax_getArg(x_1, x_59); +lean_dec(x_1); +x_1 = x_60; +goto _start; +} +} +else +{ +lean_object* x_62; lean_object* x_63; +lean_dec(x_11); +x_62 = lean_unsigned_to_nat(0u); +x_63 = l_Lean_Syntax_getArg(x_1, x_62); +lean_dec(x_1); +x_1 = x_63; +goto _start; +} +} +else +{ +lean_object* x_65; +lean_dec(x_11); +x_65 = l_Lean_Elab_Term_toParserDescr_processSeq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_65; +} +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_66 = lean_ctor_get(x_8, 0); +x_67 = lean_ctor_get(x_8, 1); +x_68 = lean_ctor_get(x_8, 2); +x_69 = lean_ctor_get(x_8, 3); +x_70 = lean_ctor_get(x_8, 4); +x_71 = lean_ctor_get(x_8, 5); +x_72 = lean_ctor_get(x_8, 6); +x_73 = lean_ctor_get(x_8, 7); +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_dec(x_8); +x_74 = l_Lean_replaceRef(x_1, x_69); +lean_dec(x_69); +x_75 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_75, 0, x_66); +lean_ctor_set(x_75, 1, x_67); +lean_ctor_set(x_75, 2, x_68); +lean_ctor_set(x_75, 3, x_74); +lean_ctor_set(x_75, 4, x_70); +lean_ctor_set(x_75, 5, x_71); +lean_ctor_set(x_75, 6, x_72); +lean_ctor_set(x_75, 7, x_73); +if (x_13 == 0) +{ +lean_object* x_76; uint8_t x_77; +x_76 = l_Lean_choiceKind; +x_77 = lean_name_eq(x_11, x_76); +if (x_77 == 0) +{ +lean_object* x_78; uint8_t x_79; +x_78 = l_Lean_Elab_Term_toParserDescr_process___closed__2; +x_79 = lean_name_eq(x_11, x_78); +if (x_79 == 0) +{ +lean_object* x_80; uint8_t x_81; +x_80 = l_Lean_Elab_Term_checkLeftRec___closed__4; +x_81 = lean_name_eq(x_11, x_80); +if (x_81 == 0) +{ +lean_object* x_82; uint8_t x_83; +x_82 = l_Lean_Elab_Term_toParserDescr_process___closed__4; +x_83 = lean_name_eq(x_11, x_82); +if (x_83 == 0) +{ +lean_object* x_84; uint8_t x_85; +x_84 = l_Lean_Elab_Term_toParserDescr_process___closed__5; +x_85 = lean_name_eq(x_11, x_84); +if (x_85 == 0) +{ +lean_object* x_86; uint8_t x_87; +x_86 = l_Lean_Elab_Term_toParserDescr_process___closed__7; +x_87 = lean_name_eq(x_11, x_86); +if (x_87 == 0) +{ +lean_object* x_88; uint8_t x_89; +x_88 = l_Lean_Elab_Term_toParserDescr_process___closed__9; +x_89 = lean_name_eq(x_11, x_88); +if (x_89 == 0) +{ +lean_object* x_90; uint8_t x_91; +x_90 = l_Lean_Elab_Term_toParserDescr_process___closed__11; +x_91 = lean_name_eq(x_11, x_90); +if (x_91 == 0) +{ +lean_object* x_92; uint8_t x_93; +x_92 = l_Lean_Elab_Term_toParserDescr_process___closed__13; +x_93 = lean_name_eq(x_11, x_92); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; +lean_inc(x_1); +x_94 = lean_alloc_closure((void*)(l_Lean_Macro_expandMacro_x3f), 3, 1); +lean_closure_set(x_94, 0, x_1); +lean_inc(x_75); +lean_inc(x_4); +x_95 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_toParserDescr_process___spec__1(x_94, x_4, x_5, x_6, x_7, x_75, x_9, x_10); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +if (lean_obj_tag(x_96) == 0) +{ +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; +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_98, 0, x_11); +x_99 = l_Lean_Elab_Term_toParserDescr_process___closed__15; +x_100 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +x_101 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6; +x_102 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__5(x_1, x_102, x_2, x_3, x_4, x_5, x_6, x_7, x_75, x_9, x_97); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_103; +} +else +{ +lean_object* x_104; lean_object* x_105; +lean_dec(x_11); +lean_dec(x_1); +x_104 = lean_ctor_get(x_95, 1); +lean_inc(x_104); +lean_dec(x_95); +x_105 = lean_ctor_get(x_96, 0); +lean_inc(x_105); +lean_dec(x_96); +x_1 = x_105; +x_8 = x_75; +x_10 = x_104; +goto _start; +} +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_75); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_107 = lean_ctor_get(x_95, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_95, 1); +lean_inc(x_108); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_109 = x_95; +} else { + lean_dec_ref(x_95); + x_109 = lean_box(0); +} +if (lean_is_scalar(x_109)) { + x_110 = lean_alloc_ctor(1, 2, 0); +} else { + x_110 = x_109; +} +lean_ctor_set(x_110, 0, x_107); +lean_ctor_set(x_110, 1, x_108); +return x_110; +} +} +else +{ +lean_object* x_111; +lean_dec(x_11); +x_111 = l_Lean_Elab_Term_toParserDescr_processNonReserved(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_75, x_9, x_10); +lean_dec(x_9); +lean_dec(x_75); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_111; +} } else { lean_object* x_112; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); lean_dec(x_11); -x_112 = l_Lean_Elab_Term_toParserDescr_processNonReserved(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_112 = l_Lean_Elab_Term_toParserDescr_processAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_75, x_9, x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_75); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -9318,21 +9753,8 @@ return x_112; else { lean_object* x_113; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); lean_dec(x_11); -x_113 = l_Lean_Elab_Term_toParserDescr_processAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +x_113 = l_Lean_Elab_Term_toParserDescr_processSepBy1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_75, x_9, x_10); lean_dec(x_1); return x_113; } @@ -9340,13 +9762,8 @@ return x_113; else { lean_object* x_114; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); lean_dec(x_11); -x_114 = l_Lean_Elab_Term_toParserDescr_processSepBy1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_114 = l_Lean_Elab_Term_toParserDescr_processSepBy(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_75, x_9, x_10); lean_dec(x_1); return x_114; } @@ -9354,13 +9771,8 @@ return x_114; else { lean_object* x_115; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); lean_dec(x_11); -x_115 = l_Lean_Elab_Term_toParserDescr_processSepBy(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_115 = l_Lean_Elab_Term_toParserDescr_processBinary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_75, x_9, x_10); lean_dec(x_1); return x_115; } @@ -9368,13 +9780,8 @@ return x_115; else { lean_object* x_116; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); lean_dec(x_11); -x_116 = l_Lean_Elab_Term_toParserDescr_processBinary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_116 = l_Lean_Elab_Term_toParserDescr_processUnary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_75, x_9, x_10); lean_dec(x_1); return x_116; } @@ -9382,580 +9789,50 @@ return x_116; else { lean_object* x_117; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); lean_dec(x_11); -x_117 = l_Lean_Elab_Term_toParserDescr_processUnary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_117 = l_Lean_Elab_Term_toParserDescr_processNullaryOrCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_75, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); return x_117; } } else { -lean_object* x_118; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); +lean_object* x_118; lean_object* x_119; lean_dec(x_11); -x_118 = l_Lean_Elab_Term_toParserDescr_processNullaryOrCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +x_118 = lean_unsigned_to_nat(1u); +x_119 = l_Lean_Syntax_getArg(x_1, x_118); lean_dec(x_1); -return x_118; -} -} -else -{ -lean_object* x_119; lean_object* x_120; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_11); -x_119 = lean_unsigned_to_nat(1u); -x_120 = l_Lean_Syntax_getArg(x_1, x_119); -lean_dec(x_1); -x_1 = x_120; +x_1 = x_119; +x_8 = x_75; goto _start; } } else { -lean_object* x_122; lean_object* x_123; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); +lean_object* x_121; lean_object* x_122; lean_dec(x_11); -x_122 = lean_unsigned_to_nat(0u); -x_123 = l_Lean_Syntax_getArg(x_1, x_122); +x_121 = lean_unsigned_to_nat(0u); +x_122 = l_Lean_Syntax_getArg(x_1, x_121); lean_dec(x_1); -x_1 = x_123; +x_1 = x_122; +x_8 = x_75; goto _start; } } else { -lean_object* x_125; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); +lean_object* x_124; lean_dec(x_11); -x_125 = l_Lean_Elab_Term_toParserDescr_processSeq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_124 = l_Lean_Elab_Term_toParserDescr_processSeq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_75, x_9, x_10); lean_dec(x_1); -return x_125; -} -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_126 = lean_ctor_get(x_8, 0); -x_127 = lean_ctor_get(x_8, 1); -x_128 = lean_ctor_get(x_8, 2); -x_129 = lean_ctor_get(x_8, 3); -x_130 = lean_ctor_get(x_8, 4); -x_131 = lean_ctor_get(x_8, 5); -x_132 = lean_ctor_get(x_8, 6); -x_133 = lean_ctor_get(x_8, 7); -lean_inc(x_133); -lean_inc(x_132); -lean_inc(x_131); -lean_inc(x_130); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_8); -x_134 = l_Lean_replaceRef(x_1, x_129); -lean_dec(x_129); -lean_inc(x_131); -lean_inc(x_130); -lean_inc(x_134); -lean_inc(x_128); -lean_inc(x_127); -x_135 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_135, 0, x_126); -lean_ctor_set(x_135, 1, x_127); -lean_ctor_set(x_135, 2, x_128); -lean_ctor_set(x_135, 3, x_134); -lean_ctor_set(x_135, 4, x_130); -lean_ctor_set(x_135, 5, x_131); -lean_ctor_set(x_135, 6, x_132); -lean_ctor_set(x_135, 7, x_133); -if (x_13 == 0) -{ -lean_object* x_136; uint8_t x_137; -x_136 = l_Lean_choiceKind; -x_137 = lean_name_eq(x_11, x_136); -if (x_137 == 0) -{ -lean_object* x_138; uint8_t x_139; -x_138 = l_Lean_Elab_Term_toParserDescr_process___closed__2; -x_139 = lean_name_eq(x_11, x_138); -if (x_139 == 0) -{ -lean_object* x_140; uint8_t x_141; -x_140 = l_Lean_Elab_Term_checkLeftRec___closed__4; -x_141 = lean_name_eq(x_11, x_140); -if (x_141 == 0) -{ -lean_object* x_142; uint8_t x_143; -x_142 = l_Lean_Elab_Term_toParserDescr_process___closed__4; -x_143 = lean_name_eq(x_11, x_142); -if (x_143 == 0) -{ -lean_object* x_144; uint8_t x_145; -x_144 = l_Lean_Elab_Term_toParserDescr_process___closed__5; -x_145 = lean_name_eq(x_11, x_144); -if (x_145 == 0) -{ -lean_object* x_146; uint8_t x_147; -x_146 = l_Lean_Elab_Term_toParserDescr_process___closed__7; -x_147 = lean_name_eq(x_11, x_146); -if (x_147 == 0) -{ -lean_object* x_148; uint8_t x_149; -x_148 = l_Lean_Elab_Term_toParserDescr_process___closed__9; -x_149 = lean_name_eq(x_11, x_148); -if (x_149 == 0) -{ -lean_object* x_150; uint8_t x_151; -x_150 = l_Lean_Elab_Term_toParserDescr_process___closed__11; -x_151 = lean_name_eq(x_11, x_150); -if (x_151 == 0) -{ -lean_object* x_152; uint8_t x_153; -x_152 = l_Lean_Elab_Term_toParserDescr_process___closed__13; -x_153 = lean_name_eq(x_11, x_152); -if (x_153 == 0) -{ -lean_object* x_154; lean_object* x_155; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_165 = lean_st_ref_get(x_9, x_10); -x_166 = lean_ctor_get(x_165, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_165, 1); -lean_inc(x_167); -lean_dec(x_165); -x_168 = lean_ctor_get(x_166, 0); -lean_inc(x_168); -lean_dec(x_166); -lean_inc(x_168); -x_169 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_169, 0, x_168); -lean_inc(x_130); -x_170 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_170, 0, x_130); -lean_inc(x_168); -x_171 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_171, 0, x_168); -lean_inc(x_131); -lean_inc(x_130); -lean_inc(x_168); -x_172 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_172, 0, x_168); -lean_closure_set(x_172, 1, x_130); -lean_closure_set(x_172, 2, x_131); -lean_inc(x_168); -x_173 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_173, 0, x_168); -lean_closure_set(x_173, 1, x_130); -lean_closure_set(x_173, 2, x_131); -x_174 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_174, 0, x_169); -lean_ctor_set(x_174, 1, x_170); -lean_ctor_set(x_174, 2, x_171); -lean_ctor_set(x_174, 3, x_172); -lean_ctor_set(x_174, 4, x_173); -x_175 = x_174; -x_176 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_135, x_9, x_167); -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -x_179 = lean_st_ref_get(x_9, x_178); -x_180 = lean_ctor_get(x_179, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_179, 1); -lean_inc(x_181); -lean_dec(x_179); -x_182 = lean_ctor_get(x_180, 1); -lean_inc(x_182); -lean_dec(x_180); -x_183 = lean_environment_main_module(x_168); -x_184 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_184, 0, x_175); -lean_ctor_set(x_184, 1, x_183); -lean_ctor_set(x_184, 2, x_177); -lean_ctor_set(x_184, 3, x_127); -lean_ctor_set(x_184, 4, x_128); -lean_ctor_set(x_184, 5, x_134); -x_185 = lean_box(0); -x_186 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_186, 0, x_182); -lean_ctor_set(x_186, 1, x_185); -lean_inc(x_1); -x_187 = l_Lean_Macro_expandMacro_x3f(x_1, x_184, x_186); -if (lean_obj_tag(x_187) == 0) -{ -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; -x_188 = lean_ctor_get(x_187, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_187, 1); -lean_inc(x_189); -lean_dec(x_187); -x_190 = lean_ctor_get(x_189, 0); -lean_inc(x_190); -x_191 = lean_st_ref_take(x_9, x_181); -x_192 = lean_ctor_get(x_191, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_191, 1); -lean_inc(x_193); -lean_dec(x_191); -x_194 = lean_ctor_get(x_192, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_192, 2); -lean_inc(x_195); -x_196 = lean_ctor_get(x_192, 3); -lean_inc(x_196); -if (lean_is_exclusive(x_192)) { - lean_ctor_release(x_192, 0); - lean_ctor_release(x_192, 1); - lean_ctor_release(x_192, 2); - lean_ctor_release(x_192, 3); - x_197 = x_192; -} else { - lean_dec_ref(x_192); - x_197 = lean_box(0); -} -if (lean_is_scalar(x_197)) { - x_198 = lean_alloc_ctor(0, 4, 0); -} else { - x_198 = x_197; -} -lean_ctor_set(x_198, 0, x_194); -lean_ctor_set(x_198, 1, x_190); -lean_ctor_set(x_198, 2, x_195); -lean_ctor_set(x_198, 3, x_196); -x_199 = lean_st_ref_set(x_9, x_198, x_193); -x_200 = lean_ctor_get(x_199, 1); -lean_inc(x_200); -lean_dec(x_199); -x_201 = lean_ctor_get(x_189, 1); -lean_inc(x_201); -lean_dec(x_189); -x_202 = l_List_reverse___rarg(x_201); -x_203 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_202, x_4, x_5, x_6, x_7, x_135, x_9, x_200); -x_204 = lean_ctor_get(x_203, 1); -lean_inc(x_204); -lean_dec(x_203); -x_154 = x_188; -x_155 = x_204; -goto block_164; -} -else -{ -lean_object* x_205; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_205 = lean_ctor_get(x_187, 0); -lean_inc(x_205); -lean_dec(x_187); -if (lean_obj_tag(x_205) == 0) -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_206 = lean_ctor_get(x_205, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_205, 1); -lean_inc(x_207); -lean_dec(x_205); -x_208 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_208, 0, x_207); -x_209 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_209, 0, x_208); -x_210 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__2(x_206, x_209, x_4, x_5, x_6, x_7, x_135, x_9, x_181); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_206); -x_211 = lean_ctor_get(x_210, 0); -lean_inc(x_211); -x_212 = lean_ctor_get(x_210, 1); -lean_inc(x_212); -if (lean_is_exclusive(x_210)) { - lean_ctor_release(x_210, 0); - lean_ctor_release(x_210, 1); - x_213 = x_210; -} else { - lean_dec_ref(x_210); - x_213 = lean_box(0); -} -if (lean_is_scalar(x_213)) { - x_214 = lean_alloc_ctor(1, 2, 0); -} else { - x_214 = x_213; -} -lean_ctor_set(x_214, 0, x_211); -lean_ctor_set(x_214, 1, x_212); -return x_214; -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -lean_dec(x_135); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_215 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4___rarg(x_181); -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_215); - 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_216); -lean_ctor_set(x_219, 1, x_217); -return x_219; -} -} -block_164: -{ -if (lean_obj_tag(x_154) == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_156 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_156, 0, x_11); -x_157 = l_Lean_Elab_Term_toParserDescr_process___closed__15; -x_158 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_156); -x_159 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__6; -x_160 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_160, 0, x_158); -lean_ctor_set(x_160, 1, x_159); -x_161 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__1(x_1, x_160, x_2, x_3, x_4, x_5, x_6, x_7, x_135, x_9, x_155); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_161; -} -else -{ -lean_object* x_162; -lean_dec(x_11); -lean_dec(x_1); -x_162 = lean_ctor_get(x_154, 0); -lean_inc(x_162); -lean_dec(x_154); -x_1 = x_162; -x_8 = x_135; -x_10 = x_155; -goto _start; -} -} -} -else -{ -lean_object* x_220; -lean_dec(x_134); -lean_dec(x_131); -lean_dec(x_130); -lean_dec(x_128); -lean_dec(x_127); -lean_dec(x_11); -x_220 = l_Lean_Elab_Term_toParserDescr_processNonReserved(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_135, x_9, x_10); -lean_dec(x_9); -lean_dec(x_135); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_220; -} -} -else -{ -lean_object* x_221; -lean_dec(x_134); -lean_dec(x_131); -lean_dec(x_130); -lean_dec(x_128); -lean_dec(x_127); -lean_dec(x_11); -x_221 = l_Lean_Elab_Term_toParserDescr_processAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_135, x_9, x_10); -lean_dec(x_9); -lean_dec(x_135); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_221; -} -} -else -{ -lean_object* x_222; -lean_dec(x_134); -lean_dec(x_131); -lean_dec(x_130); -lean_dec(x_128); -lean_dec(x_127); -lean_dec(x_11); -x_222 = l_Lean_Elab_Term_toParserDescr_processSepBy1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_135, x_9, x_10); -lean_dec(x_1); -return x_222; -} -} -else -{ -lean_object* x_223; -lean_dec(x_134); -lean_dec(x_131); -lean_dec(x_130); -lean_dec(x_128); -lean_dec(x_127); -lean_dec(x_11); -x_223 = l_Lean_Elab_Term_toParserDescr_processSepBy(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_135, x_9, x_10); -lean_dec(x_1); -return x_223; -} -} -else -{ -lean_object* x_224; -lean_dec(x_134); -lean_dec(x_131); -lean_dec(x_130); -lean_dec(x_128); -lean_dec(x_127); -lean_dec(x_11); -x_224 = l_Lean_Elab_Term_toParserDescr_processBinary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_135, x_9, x_10); -lean_dec(x_1); -return x_224; -} -} -else -{ -lean_object* x_225; -lean_dec(x_134); -lean_dec(x_131); -lean_dec(x_130); -lean_dec(x_128); -lean_dec(x_127); -lean_dec(x_11); -x_225 = l_Lean_Elab_Term_toParserDescr_processUnary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_135, x_9, x_10); -lean_dec(x_1); -return x_225; -} -} -else -{ -lean_object* x_226; -lean_dec(x_134); -lean_dec(x_131); -lean_dec(x_130); -lean_dec(x_128); -lean_dec(x_127); -lean_dec(x_11); -x_226 = l_Lean_Elab_Term_toParserDescr_processNullaryOrCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_135, x_9, x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_226; -} -} -else -{ -lean_object* x_227; lean_object* x_228; -lean_dec(x_134); -lean_dec(x_131); -lean_dec(x_130); -lean_dec(x_128); -lean_dec(x_127); -lean_dec(x_11); -x_227 = lean_unsigned_to_nat(1u); -x_228 = l_Lean_Syntax_getArg(x_1, x_227); -lean_dec(x_1); -x_1 = x_228; -x_8 = x_135; -goto _start; -} -} -else -{ -lean_object* x_230; lean_object* x_231; -lean_dec(x_134); -lean_dec(x_131); -lean_dec(x_130); -lean_dec(x_128); -lean_dec(x_127); -lean_dec(x_11); -x_230 = lean_unsigned_to_nat(0u); -x_231 = l_Lean_Syntax_getArg(x_1, x_230); -lean_dec(x_1); -x_1 = x_231; -x_8 = x_135; -goto _start; -} -} -else -{ -lean_object* x_233; -lean_dec(x_134); -lean_dec(x_131); -lean_dec(x_130); -lean_dec(x_128); -lean_dec(x_127); -lean_dec(x_11); -x_233 = l_Lean_Elab_Term_toParserDescr_processSeq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_135, x_9, x_10); -lean_dec(x_1); -return x_233; +return x_124; } } } @@ -12470,7 +12347,7 @@ else lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_dec(x_11); x_34 = l_Lean_Elab_Term_toParserDescr_processParserCategory___closed__2; -x_35 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1(x_1, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); +x_35 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__8(x_1, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -12532,22 +12409,6 @@ return x_43; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__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) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_process___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -12588,6 +12449,34 @@ lean_dec(x_1); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_toParserDescr_process___spec__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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_toParserDescr_process___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__5___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_12; +} +} lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___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, lean_object* x_13) { _start: { @@ -14694,7 +14583,7 @@ lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax(lean_object* x_1, lean_o _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; -x_5 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__5; +x_5 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__5; x_6 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit(x_2, x_5); x_7 = l_Lean_Elab_Command_mkNameFromParserSyntax_appendCatName(x_1, x_6); lean_dec(x_6); @@ -14801,6 +14690,223 @@ x_3 = lean_box(x_2); return x_3; } } +static lean_object* _init_l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("failed"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_Lean_Parser_isValidSyntaxNodeKind(x_9, x_1); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_free_object(x_5); +lean_dec(x_1); +x_11 = l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__2; +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(x_11, x_2, x_3, x_8); +return x_12; +} +else +{ +lean_dec(x_2); +lean_ctor_set(x_5, 0, x_1); +return x_5; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_5, 0); +x_14 = lean_ctor_get(x_5, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_5); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_Parser_isValidSyntaxNodeKind(x_15, x_1); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_1); +x_17 = l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__2; +x_18 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(x_17, x_2, x_3, x_14); +return x_18; +} +else +{ +lean_object* x_19; +lean_dec(x_2); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_1); +lean_ctor_set(x_19, 1, x_14); +return x_19; +} +} +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_Command_resolveSyntaxKind___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2(x_1, x_3, x_4, x_5); +return x_6; +} +case 1: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_1); +x_8 = l_Lean_Name_append(x_2, x_1); +lean_inc(x_3); +x_9 = l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2(x_8, x_3, x_4, x_5); +if (lean_obj_tag(x_9) == 0) +{ +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +else +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_2 = x_7; +x_5 = x_10; +goto _start; +} +} +default: +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_1); +x_12 = l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__2; +x_13 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(x_12, x_3, x_4, x_5); +return x_13; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_resolveSyntaxKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid syntax node kind '"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_resolveSyntaxKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_resolveSyntaxKind___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_resolveSyntaxKind(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; +x_5 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 2); +lean_inc(x_8); +lean_dec(x_6); +lean_inc(x_1); +x_9 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_9, 0, x_1); +x_10 = l_Lean_Elab_Command_resolveSyntaxKind___closed__2; +x_11 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; +x_13 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +lean_inc(x_2); +x_14 = l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_Command_resolveSyntaxKind___spec__1(x_1, x_8, x_2, x_3, x_7); +lean_dec(x_8); +if (lean_obj_tag(x_14) == 0) +{ +lean_dec(x_13); +lean_dec(x_2); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(x_13, x_2, x_3, x_15); +return x_16; +} +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___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_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_Command_resolveSyntaxKind___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_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_Command_resolveSyntaxKind___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_resolveSyntaxKind___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_Command_resolveSyntaxKind(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} lean_object* l_Lean_Elab_Command_elabSyntax_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -14883,7 +14989,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSyntax_match__3___rarg) return x_2; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__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; 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; uint8_t x_14; @@ -14937,7 +15043,7 @@ return x_20; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__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_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -14956,7 +15062,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_3, 6); lean_dec(x_11); lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__2(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__3(x_2, x_3, x_4, x_8); return x_12; } else @@ -14983,31 +15089,281 @@ lean_ctor_set(x_19, 3, x_16); lean_ctor_set(x_19, 4, x_17); lean_ctor_set(x_19, 5, x_18); lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__2(x_2, x_19, x_4, x_8); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__3(x_2, x_19, x_4, x_8); return x_20; } } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__4___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__4(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg), 1, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__4___rarg), 1, 0); return x_3; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__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; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Elab_Command_getScope___rarg(x_3, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 2); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_Command_getScope___rarg(x_3, x_11); +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); +x_16 = lean_ctor_get(x_14, 3); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_8); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_17, 0, x_8); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_18, 0, x_12); +lean_inc(x_8); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_19, 0, x_8); +lean_inc(x_16); +lean_inc(x_12); +lean_inc(x_8); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_20, 0, x_8); +lean_closure_set(x_20, 1, x_12); +lean_closure_set(x_20, 2, x_16); +lean_inc(x_8); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_21, 0, x_8); +lean_closure_set(x_21, 1, x_12); +lean_closure_set(x_21, 2, x_16); +x_22 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_20); +lean_ctor_set(x_22, 4, x_21); +x_23 = x_22; +x_24 = l_Lean_Elab_Command_getRef(x_2, x_3, x_15); +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 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_2, 2); +lean_inc(x_30); +x_31 = lean_st_ref_get(x_3, x_29); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_ctor_get(x_32, 4); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_3, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_36, 3); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_environment_main_module(x_8); +x_40 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_40, 0, x_23); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_28); +lean_ctor_set(x_40, 3, x_30); +lean_ctor_set(x_40, 4, x_34); +lean_ctor_set(x_40, 5, x_25); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_apply_2(x_1, x_40, x_42); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_st_ref_take(x_3, x_37); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = !lean_is_exclusive(x_48); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_51 = lean_ctor_get(x_48, 3); +lean_dec(x_51); +lean_ctor_set(x_48, 3, x_46); +x_52 = lean_st_ref_set(x_3, x_48, x_49); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get(x_45, 1); +lean_inc(x_54); +lean_dec(x_45); +x_55 = l_List_reverse___rarg(x_54); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +lean_dec(x_2); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_44); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_44); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +else +{ +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_61 = lean_ctor_get(x_48, 0); +x_62 = lean_ctor_get(x_48, 1); +x_63 = lean_ctor_get(x_48, 2); +x_64 = lean_ctor_get(x_48, 4); +x_65 = lean_ctor_get(x_48, 5); +x_66 = lean_ctor_get(x_48, 6); +x_67 = lean_ctor_get(x_48, 7); +x_68 = lean_ctor_get(x_48, 8); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_48); +x_69 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_69, 0, x_61); +lean_ctor_set(x_69, 1, x_62); +lean_ctor_set(x_69, 2, x_63); +lean_ctor_set(x_69, 3, x_46); +lean_ctor_set(x_69, 4, x_64); +lean_ctor_set(x_69, 5, x_65); +lean_ctor_set(x_69, 6, x_66); +lean_ctor_set(x_69, 7, x_67); +lean_ctor_set(x_69, 8, x_68); +x_70 = lean_st_ref_set(x_3, x_69, x_49); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get(x_45, 1); +lean_inc(x_72); +lean_dec(x_45); +x_73 = l_List_reverse___rarg(x_72); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +lean_dec(x_2); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_76 = x_74; +} else { + lean_dec_ref(x_74); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_44); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +else +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_43, 0); +lean_inc(x_78); +lean_dec(x_43); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_82, 0, x_81); +x_83 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__2(x_79, x_82, x_2, x_3, x_37); +lean_dec(x_79); +return x_83; +} +else +{ +lean_object* x_84; +lean_dec(x_2); +x_84 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__4___rarg(x_37); +return x_84; +} +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6(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; uint8_t x_10; @@ -15058,26 +15414,276 @@ return x_20; } } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__7___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__7(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___rarg), 1, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__7___rarg), 1, 0); return x_3; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; 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; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Elab_Command_getScope___rarg(x_3, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 2); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_Command_getScope___rarg(x_3, x_11); +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); +x_16 = lean_ctor_get(x_14, 3); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_8); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_17, 0, x_8); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_18, 0, x_12); +lean_inc(x_8); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_19, 0, x_8); +lean_inc(x_16); +lean_inc(x_12); +lean_inc(x_8); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_20, 0, x_8); +lean_closure_set(x_20, 1, x_12); +lean_closure_set(x_20, 2, x_16); +lean_inc(x_8); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_21, 0, x_8); +lean_closure_set(x_21, 1, x_12); +lean_closure_set(x_21, 2, x_16); +x_22 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_20); +lean_ctor_set(x_22, 4, x_21); +x_23 = x_22; +x_24 = l_Lean_Elab_Command_getRef(x_2, x_3, x_15); +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 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_2, 2); +lean_inc(x_30); +x_31 = lean_st_ref_get(x_3, x_29); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_ctor_get(x_32, 4); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_3, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_36, 3); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_environment_main_module(x_8); +x_40 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_40, 0, x_23); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_28); +lean_ctor_set(x_40, 3, x_30); +lean_ctor_set(x_40, 4, x_34); +lean_ctor_set(x_40, 5, x_25); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_apply_2(x_1, x_40, x_42); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_st_ref_take(x_3, x_37); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = !lean_is_exclusive(x_48); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_51 = lean_ctor_get(x_48, 3); +lean_dec(x_51); +lean_ctor_set(x_48, 3, x_46); +x_52 = lean_st_ref_set(x_3, x_48, x_49); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get(x_45, 1); +lean_inc(x_54); +lean_dec(x_45); +x_55 = l_List_reverse___rarg(x_54); +x_56 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_55, x_2, x_3, x_53); +lean_dec(x_2); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_44); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_44); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +else +{ +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_61 = lean_ctor_get(x_48, 0); +x_62 = lean_ctor_get(x_48, 1); +x_63 = lean_ctor_get(x_48, 2); +x_64 = lean_ctor_get(x_48, 4); +x_65 = lean_ctor_get(x_48, 5); +x_66 = lean_ctor_get(x_48, 6); +x_67 = lean_ctor_get(x_48, 7); +x_68 = lean_ctor_get(x_48, 8); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_48); +x_69 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_69, 0, x_61); +lean_ctor_set(x_69, 1, x_62); +lean_ctor_set(x_69, 2, x_63); +lean_ctor_set(x_69, 3, x_46); +lean_ctor_set(x_69, 4, x_64); +lean_ctor_set(x_69, 5, x_65); +lean_ctor_set(x_69, 6, x_66); +lean_ctor_set(x_69, 7, x_67); +lean_ctor_set(x_69, 8, x_68); +x_70 = lean_st_ref_set(x_3, x_69, x_49); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get(x_45, 1); +lean_inc(x_72); +lean_dec(x_45); +x_73 = l_List_reverse___rarg(x_72); +x_74 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__7(x_73, x_2, x_3, x_71); +lean_dec(x_2); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_76 = x_74; +} else { + lean_dec_ref(x_74); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_44); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +else +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_43, 0); +lean_inc(x_78); +lean_dec(x_43); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_82, 0, x_81); +x_83 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6(x_79, x_82, x_2, x_3, x_37); +lean_dec(x_79); +return x_83; +} +else +{ +lean_object* x_84; +lean_dec(x_2); +x_84 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__7___rarg(x_37); +return x_84; +} +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__8(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; uint8_t x_10; @@ -15096,7 +15702,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_3, 6); lean_dec(x_11); lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_2, x_3, x_4, x_8); return x_12; } else @@ -15123,7 +15729,7 @@ lean_ctor_set(x_19, 3, x_16); lean_ctor_set(x_19, 4, x_17); lean_ctor_set(x_19, 5, x_18); lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__14(x_2, x_19, x_4, x_8); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__13(x_2, x_19, x_4, x_8); return x_20; } } @@ -15400,7 +16006,7 @@ lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_inc(x_2); x_32 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_32, 0, x_2); -x_33 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__12(x_30, x_32, x_3, x_4, x_26); +x_33 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__11(x_30, x_32, x_3, x_4, x_26); x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); @@ -15470,27 +16076,37 @@ return x_22; static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.node"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.node"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__3() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__2; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; +x_1 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__2; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__2; +x_3 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__3; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -15498,7 +16114,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__4() { +static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -15508,7 +16124,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__5() { +static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__6() { _start: { lean_object* x_1; @@ -15516,22 +16132,22 @@ x_1 = lean_mk_string("Lean.TrailingParserDescr"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__6() { +static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__5; +x_1 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__6; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__7() { +static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__5; +x_1 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__6; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__6; +x_3 = l_Lean_Elab_Command_elabSyntax___lambda__4___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); @@ -15539,7 +16155,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__8() { +static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__9() { _start: { lean_object* x_1; @@ -15547,22 +16163,22 @@ x_1 = lean_mk_string("ParserDescr.trailingNode"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__9() { +static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__8; +x_1 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__9; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__10() { +static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__8; +x_1 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__9; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__9; +x_3 = l_Lean_Elab_Command_elabSyntax___lambda__4___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); @@ -15570,7 +16186,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11() { +static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12() { _start: { lean_object* x_1; @@ -15578,1641 +16194,1372 @@ x_1 = lean_mk_string("trailingNode"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12() { +static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__13; -x_2 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11; +x_2 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4(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, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; 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; -x_644 = lean_st_ref_get(x_13, x_14); -x_645 = lean_ctor_get(x_644, 0); -lean_inc(x_645); -x_646 = lean_ctor_get(x_644, 1); -lean_inc(x_646); -lean_dec(x_644); -x_647 = lean_ctor_get(x_645, 0); -lean_inc(x_647); -lean_dec(x_645); -x_648 = l_Lean_Elab_Command_getScope___rarg(x_13, x_646); -x_649 = lean_ctor_get(x_648, 0); -lean_inc(x_649); -x_650 = lean_ctor_get(x_648, 1); -lean_inc(x_650); -lean_dec(x_648); -x_651 = lean_ctor_get(x_649, 2); -lean_inc(x_651); -lean_dec(x_649); -x_652 = l_Lean_Elab_Command_getScope___rarg(x_13, x_650); -x_653 = lean_ctor_get(x_652, 0); -lean_inc(x_653); -x_654 = lean_ctor_get(x_652, 1); -lean_inc(x_654); -lean_dec(x_652); -x_655 = lean_ctor_get(x_653, 3); -lean_inc(x_655); -lean_dec(x_653); -lean_inc(x_647); -x_656 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_656, 0, x_647); -lean_inc(x_651); -x_657 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_657, 0, x_651); -lean_inc(x_647); -x_658 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_658, 0, x_647); -lean_inc(x_655); -lean_inc(x_651); -lean_inc(x_647); -x_659 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_659, 0, x_647); -lean_closure_set(x_659, 1, x_651); -lean_closure_set(x_659, 2, x_655); -lean_inc(x_647); -x_660 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_660, 0, x_647); -lean_closure_set(x_660, 1, x_651); -lean_closure_set(x_660, 2, x_655); -x_661 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_661, 0, x_656); -lean_ctor_set(x_661, 1, x_657); -lean_ctor_set(x_661, 2, x_658); -lean_ctor_set(x_661, 3, x_659); -lean_ctor_set(x_661, 4, x_660); -x_662 = x_661; -x_663 = l_Lean_Elab_Command_getRef(x_12, x_13, x_654); -x_664 = lean_ctor_get(x_663, 0); -lean_inc(x_664); -x_665 = lean_ctor_get(x_663, 1); -lean_inc(x_665); -lean_dec(x_663); -x_666 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_665); -x_667 = lean_ctor_get(x_666, 0); -lean_inc(x_667); -x_668 = lean_ctor_get(x_666, 1); -lean_inc(x_668); -lean_dec(x_666); -x_669 = lean_ctor_get(x_12, 2); -lean_inc(x_669); -x_670 = lean_st_ref_get(x_13, x_668); -x_671 = lean_ctor_get(x_670, 0); -lean_inc(x_671); -x_672 = lean_ctor_get(x_670, 1); -lean_inc(x_672); -lean_dec(x_670); -x_673 = lean_ctor_get(x_671, 4); -lean_inc(x_673); -lean_dec(x_671); -x_674 = lean_st_ref_get(x_13, x_672); -x_675 = lean_ctor_get(x_674, 0); -lean_inc(x_675); -x_676 = lean_ctor_get(x_674, 1); -lean_inc(x_676); -lean_dec(x_674); -x_677 = lean_ctor_get(x_675, 3); -lean_inc(x_677); -lean_dec(x_675); -x_678 = lean_environment_main_module(x_647); -x_679 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_679, 0, x_662); -lean_ctor_set(x_679, 1, x_678); -lean_ctor_set(x_679, 2, x_667); -lean_ctor_set(x_679, 3, x_669); -lean_ctor_set(x_679, 4, x_673); -lean_ctor_set(x_679, 5, x_664); -x_680 = lean_box(0); -x_681 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_681, 0, x_677); -lean_ctor_set(x_681, 1, x_680); -x_682 = l_Lean_evalOptPrio(x_10, x_679, x_681); -if (lean_obj_tag(x_682) == 0) +lean_object* x_16; lean_object* x_17; +x_16 = lean_alloc_closure((void*)(l_Lean_evalOptPrio), 3, 1); +lean_closure_set(x_16, 0, x_1); +lean_inc(x_13); +x_17 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__1(x_16, x_13, x_14, x_15); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; uint8_t x_689; -x_683 = lean_ctor_get(x_682, 0); -lean_inc(x_683); -x_684 = lean_ctor_get(x_682, 1); -lean_inc(x_684); -lean_dec(x_682); -x_685 = lean_ctor_get(x_684, 0); -lean_inc(x_685); -x_686 = lean_st_ref_take(x_13, x_676); -x_687 = lean_ctor_get(x_686, 0); -lean_inc(x_687); -x_688 = lean_ctor_get(x_686, 1); -lean_inc(x_688); -lean_dec(x_686); -x_689 = !lean_is_exclusive(x_687); -if (x_689 == 0) -{ -lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; -x_690 = lean_ctor_get(x_687, 3); -lean_dec(x_690); -lean_ctor_set(x_687, 3, x_685); -x_691 = lean_st_ref_set(x_13, x_687, x_688); -x_692 = lean_ctor_get(x_691, 1); -lean_inc(x_692); -lean_dec(x_691); -x_693 = lean_ctor_get(x_684, 1); -lean_inc(x_693); -lean_dec(x_684); -x_694 = l_List_reverse___rarg(x_693); -x_695 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_694, x_12, x_13, x_692); -x_696 = lean_ctor_get(x_695, 1); -lean_inc(x_696); -lean_dec(x_695); -x_15 = x_683; -x_16 = x_696; -goto block_643; -} -else -{ -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; -x_697 = lean_ctor_get(x_687, 0); -x_698 = lean_ctor_get(x_687, 1); -x_699 = lean_ctor_get(x_687, 2); -x_700 = lean_ctor_get(x_687, 4); -x_701 = lean_ctor_get(x_687, 5); -x_702 = lean_ctor_get(x_687, 6); -x_703 = lean_ctor_get(x_687, 7); -x_704 = lean_ctor_get(x_687, 8); -lean_inc(x_704); -lean_inc(x_703); -lean_inc(x_702); -lean_inc(x_701); -lean_inc(x_700); -lean_inc(x_699); -lean_inc(x_698); -lean_inc(x_697); -lean_dec(x_687); -x_705 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_705, 0, x_697); -lean_ctor_set(x_705, 1, x_698); -lean_ctor_set(x_705, 2, x_699); -lean_ctor_set(x_705, 3, x_685); -lean_ctor_set(x_705, 4, x_700); -lean_ctor_set(x_705, 5, x_701); -lean_ctor_set(x_705, 6, x_702); -lean_ctor_set(x_705, 7, x_703); -lean_ctor_set(x_705, 8, x_704); -x_706 = lean_st_ref_set(x_13, x_705, x_688); -x_707 = lean_ctor_get(x_706, 1); -lean_inc(x_707); -lean_dec(x_706); -x_708 = lean_ctor_get(x_684, 1); -lean_inc(x_708); -lean_dec(x_684); -x_709 = l_List_reverse___rarg(x_708); -x_710 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_709, x_12, x_13, x_707); -x_711 = lean_ctor_get(x_710, 1); -lean_inc(x_711); -lean_dec(x_710); -x_15 = x_683; -x_16 = x_711; -goto block_643; -} -} -else -{ -lean_object* x_712; -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_712 = lean_ctor_get(x_682, 0); -lean_inc(x_712); -lean_dec(x_682); -if (lean_obj_tag(x_712) == 0) -{ -lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; uint8_t x_718; -x_713 = lean_ctor_get(x_712, 0); -lean_inc(x_713); -x_714 = lean_ctor_get(x_712, 1); -lean_inc(x_714); -lean_dec(x_712); -x_715 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_715, 0, x_714); -x_716 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_716, 0, x_715); -x_717 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_713, x_716, x_12, x_13, x_676); -lean_dec(x_13); -lean_dec(x_713); -x_718 = !lean_is_exclusive(x_717); -if (x_718 == 0) -{ -return x_717; -} -else -{ -lean_object* x_719; lean_object* x_720; lean_object* x_721; -x_719 = lean_ctor_get(x_717, 0); -x_720 = lean_ctor_get(x_717, 1); -lean_inc(x_720); -lean_inc(x_719); -lean_dec(x_717); -x_721 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_721, 0, x_719); -lean_ctor_set(x_721, 1, x_720); -return x_721; -} -} -else -{ -lean_object* x_722; uint8_t x_723; -lean_dec(x_13); -lean_dec(x_12); -x_722 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_676); -x_723 = !lean_is_exclusive(x_722); -if (x_723 == 0) -{ -return x_722; -} -else -{ -lean_object* x_724; lean_object* x_725; lean_object* x_726; -x_724 = lean_ctor_get(x_722, 0); -x_725 = lean_ctor_get(x_722, 1); -lean_inc(x_725); -lean_inc(x_724); -lean_dec(x_722); -x_726 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_726, 0, x_724); -lean_ctor_set(x_726, 1, x_725); -return x_726; -} -} -} -block_643: -{ -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_17 = l_Lean_Elab_Command_getScope___rarg(x_13, x_16); +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; 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, 2); -lean_inc(x_20); -lean_dec(x_18); -lean_inc(x_11); -x_21 = l_Lean_Name_append(x_20, x_11); +x_20 = l_Lean_Elab_Command_getScope___rarg(x_14, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); lean_dec(x_20); -x_22 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__3; -lean_inc(x_1); -x_23 = lean_name_append_after(x_1, x_22); -x_24 = l_Lean_mkIdentFrom(x_2, x_23); -x_25 = lean_box(0); -x_26 = l_Lean_Elab_Command_getScope___rarg(x_13, x_19); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_ctor_get(x_27, 5); -lean_inc(x_29); -x_30 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSyntax___lambda__2___boxed), 11, 3); -lean_closure_set(x_30, 0, x_27); -lean_closure_set(x_30, 1, x_3); -lean_closure_set(x_30, 2, x_1); -x_31 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBinders___rarg), 9, 2); -lean_closure_set(x_31, 0, x_29); -lean_closure_set(x_31, 1, x_30); -x_32 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withAutoBoundImplicit___rarg), 8, 1); -lean_closure_set(x_32, 0, x_31); +x_23 = lean_ctor_get(x_21, 2); +lean_inc(x_23); +lean_dec(x_21); lean_inc(x_12); -x_33 = l_Lean_Elab_Command_liftTermElabM___rarg(x_25, x_32, x_12, x_13, x_28); -if (lean_obj_tag(x_33) == 0) +x_24 = l_Lean_Name_append(x_23, x_12); +lean_dec(x_23); +x_25 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__3; +lean_inc(x_2); +x_26 = lean_name_append_after(x_2, x_25); +x_27 = l_Lean_mkIdentFrom(x_3, x_26); +x_28 = lean_box(0); +x_29 = l_Lean_Elab_Command_getScope___rarg(x_14, x_22); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 5); +lean_inc(x_32); +x_33 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSyntax___lambda__2___boxed), 11, 3); +lean_closure_set(x_33, 0, x_30); +lean_closure_set(x_33, 1, x_4); +lean_closure_set(x_33, 2, x_2); +x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBinders___rarg), 9, 2); +lean_closure_set(x_34, 0, x_32); +lean_closure_set(x_34, 1, x_33); +x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withAutoBoundImplicit___rarg), 8, 1); +lean_closure_set(x_35, 0, x_34); +lean_inc(x_13); +x_36 = l_Lean_Elab_Command_liftTermElabM___rarg(x_28, x_35, x_13, x_14, x_31); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = !lean_is_exclusive(x_34); -if (x_36 == 0) +lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = !lean_is_exclusive(x_37); +if (x_39 == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_34, 0); -x_38 = lean_ctor_get(x_34, 1); -x_39 = l_Lean_mkIdentFrom(x_2, x_11); -if (lean_obj_tag(x_38) == 0) +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_37, 0); +x_41 = lean_ctor_get(x_37, 1); +x_42 = l_Lean_mkIdentFrom(x_3, x_12); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_40 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_12, x_13, x_35); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_42); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_43 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_13, x_14, x_38); x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); lean_dec(x_43); -x_46 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_45); +x_46 = l_Lean_Elab_Command_getCurrMacroScope(x_13, x_14, x_45); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); lean_dec(x_46); -x_49 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; -lean_inc(x_4); -x_50 = lean_name_mk_string(x_4, x_49); -x_51 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; -lean_inc(x_4); -x_52 = lean_name_mk_string(x_4, x_51); -x_53 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; +x_49 = l_Lean_Elab_Command_getMainModule___rarg(x_14, x_48); +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); +x_52 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; lean_inc(x_5); -x_54 = lean_name_mk_string(x_5, x_53); -x_55 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_41); -x_56 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_56, 0, x_41); -lean_ctor_set(x_56, 1, x_55); -x_57 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; +x_53 = lean_name_mk_string(x_5, x_52); +x_54 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; lean_inc(x_5); -x_58 = lean_name_mk_string(x_5, x_57); -x_59 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; -x_60 = lean_name_mk_string(x_6, x_59); -x_61 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; -x_62 = lean_name_mk_string(x_60, x_61); -x_63 = l_Nat_repr(x_15); -x_64 = l_Lean_numLitKind; -x_65 = lean_box(2); -x_66 = l_Lean_Syntax_mkLit(x_64, x_63, x_65); -x_67 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_68 = lean_array_push(x_67, x_66); -x_69 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -x_71 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_72 = lean_array_push(x_71, x_24); -x_73 = lean_array_push(x_72, x_70); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_62); -lean_ctor_set(x_74, 1, x_73); -x_75 = lean_array_push(x_71, x_7); -x_76 = lean_array_push(x_75, x_74); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_58); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_array_push(x_67, x_77); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_69); -lean_ctor_set(x_79, 1, x_78); -x_80 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_41); -x_81 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_81, 0, x_41); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_83 = lean_array_push(x_82, x_56); -x_84 = lean_array_push(x_83, x_79); -x_85 = lean_array_push(x_84, x_81); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_54); -lean_ctor_set(x_86, 1, x_85); -x_87 = lean_array_push(x_67, x_86); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_69); -lean_ctor_set(x_88, 1, x_87); -x_89 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_90 = lean_array_push(x_89, x_88); -x_91 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_92 = lean_array_push(x_90, x_91); -x_93 = lean_array_push(x_92, x_91); -x_94 = lean_array_push(x_93, x_91); -x_95 = lean_array_push(x_94, x_91); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_52); -lean_ctor_set(x_96, 1, x_95); -x_97 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_4); -x_98 = lean_name_mk_string(x_4, x_97); -lean_inc(x_41); -x_99 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_99, 0, x_41); -lean_ctor_set(x_99, 1, x_97); -x_100 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; -lean_inc(x_4); -x_101 = lean_name_mk_string(x_4, x_100); -x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; -lean_inc(x_5); -x_103 = lean_name_mk_string(x_5, x_102); -x_104 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_41); -x_105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_105, 0, x_41); -lean_ctor_set(x_105, 1, x_104); -x_106 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; -x_107 = lean_name_mk_string(x_8, x_106); +x_55 = lean_name_mk_string(x_5, x_54); +x_56 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; +lean_inc(x_6); +x_57 = lean_name_mk_string(x_6, x_56); +x_58 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; lean_inc(x_44); -lean_inc(x_107); +x_59 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_59, 0, x_44); +lean_ctor_set(x_59, 1, x_58); +x_60 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; +lean_inc(x_6); +x_61 = lean_name_mk_string(x_6, x_60); +x_62 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; +x_63 = lean_name_mk_string(x_7, x_62); +x_64 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; +x_65 = lean_name_mk_string(x_63, x_64); +x_66 = l_Nat_repr(x_18); +x_67 = l_Lean_numLitKind; +x_68 = lean_box(2); +x_69 = l_Lean_Syntax_mkLit(x_67, x_66, x_68); +x_70 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_71 = lean_array_push(x_70, x_69); +x_72 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +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 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_75 = lean_array_push(x_74, x_27); +x_76 = lean_array_push(x_75, x_73); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_65); +lean_ctor_set(x_77, 1, x_76); +x_78 = lean_array_push(x_74, x_8); +x_79 = lean_array_push(x_78, x_77); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_61); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_array_push(x_70, x_80); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_72); +lean_ctor_set(x_82, 1, x_81); +x_83 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_44); +x_84 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_84, 0, x_44); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_86 = lean_array_push(x_85, x_59); +x_87 = lean_array_push(x_86, x_82); +x_88 = lean_array_push(x_87, x_84); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_57); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_70, x_89); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_72); +lean_ctor_set(x_91, 1, x_90); +x_92 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_5); +x_93 = lean_name_mk_string(x_5, x_92); +lean_inc(x_44); +x_94 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_94, 0, x_44); +lean_ctor_set(x_94, 1, x_92); +x_95 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; +lean_inc(x_5); +x_96 = lean_name_mk_string(x_5, x_95); +x_97 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; +lean_inc(x_6); +x_98 = lean_name_mk_string(x_6, x_97); +x_99 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_44); +x_100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_100, 0, x_44); +lean_ctor_set(x_100, 1, x_99); +x_101 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; +x_102 = lean_name_mk_string(x_9, x_101); lean_inc(x_47); -x_108 = l_Lean_addMacroScope(x_47, x_107, x_44); -x_109 = lean_box(0); -lean_inc(x_107); -lean_ctor_set(x_34, 1, x_109); -lean_ctor_set(x_34, 0, x_107); +lean_inc(x_102); +lean_inc(x_50); +x_103 = l_Lean_addMacroScope(x_50, x_102, x_47); +x_104 = lean_box(0); +lean_inc(x_102); +lean_ctor_set(x_37, 1, x_104); +lean_ctor_set(x_37, 0, x_102); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_37); +lean_ctor_set(x_105, 1, x_104); +x_106 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__44; +lean_inc(x_44); +x_107 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_107, 0, x_44); +lean_ctor_set(x_107, 1, x_106); +lean_ctor_set(x_107, 2, x_103); +lean_ctor_set(x_107, 3, x_105); +x_108 = lean_array_push(x_74, x_100); +x_109 = lean_array_push(x_108, x_107); x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_34); +lean_ctor_set(x_110, 0, x_98); lean_ctor_set(x_110, 1, x_109); -x_111 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__44; -lean_inc(x_41); -x_112 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_112, 0, x_41); +x_111 = lean_array_push(x_70, x_110); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_72); lean_ctor_set(x_112, 1, x_111); -lean_ctor_set(x_112, 2, x_108); -lean_ctor_set(x_112, 3, x_110); -x_113 = lean_array_push(x_71, x_105); +x_113 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; x_114 = lean_array_push(x_113, x_112); x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_103); +lean_ctor_set(x_115, 0, x_96); lean_ctor_set(x_115, 1, x_114); -x_116 = lean_array_push(x_67, x_115); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_69); -lean_ctor_set(x_117, 1, x_116); -x_118 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_119 = lean_array_push(x_118, x_117); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_101); -lean_ctor_set(x_120, 1, x_119); -x_121 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; -x_122 = lean_name_mk_string(x_4, x_121); -x_123 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_41); -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_41); -lean_ctor_set(x_124, 1, x_123); -x_125 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -lean_inc(x_5); -x_126 = lean_name_mk_string(x_5, x_125); -x_127 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__4; -x_128 = l_Lean_addMacroScope(x_47, x_127, x_44); -x_129 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__54; -x_130 = lean_name_mk_string(x_107, x_129); -x_131 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_131, 0, x_130); -lean_ctor_set(x_131, 1, x_109); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_109); -x_133 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__3; -x_134 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_134, 0, x_41); -lean_ctor_set(x_134, 1, x_133); -lean_ctor_set(x_134, 2, x_128); -lean_ctor_set(x_134, 3, x_132); -lean_inc(x_21); -x_135 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_109, x_21); -x_136 = l_Nat_repr(x_9); -x_137 = l_Lean_Syntax_mkLit(x_64, x_136, x_65); -x_138 = lean_array_push(x_71, x_134); -x_139 = lean_array_push(x_82, x_124); -x_140 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_141 = lean_array_push(x_140, x_99); -x_142 = lean_array_push(x_141, x_39); -x_143 = lean_array_push(x_142, x_120); -x_144 = lean_array_push(x_71, x_96); -if (lean_obj_tag(x_135) == 0) +x_116 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; +x_117 = lean_name_mk_string(x_5, x_116); +x_118 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_44); +x_119 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_119, 0, x_44); +lean_ctor_set(x_119, 1, x_118); +x_120 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +lean_inc(x_6); +x_121 = lean_name_mk_string(x_6, x_120); +x_122 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__5; +x_123 = l_Lean_addMacroScope(x_50, x_122, x_47); +x_124 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__54; +x_125 = lean_name_mk_string(x_102, x_124); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_104); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_104); +x_128 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__4; +x_129 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_129, 0, x_44); +lean_ctor_set(x_129, 1, x_128); +lean_ctor_set(x_129, 2, x_123); +lean_ctor_set(x_129, 3, x_127); +lean_inc(x_24); +x_130 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_104, x_24); +x_131 = l_Nat_repr(x_10); +x_132 = l_Lean_Syntax_mkLit(x_67, x_131, x_68); +x_133 = lean_array_push(x_74, x_129); +x_134 = lean_array_push(x_85, x_119); +x_135 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_136 = lean_array_push(x_135, x_94); +x_137 = lean_array_push(x_136, x_42); +x_138 = lean_array_push(x_137, x_115); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -lean_dec(x_5); -x_145 = l___private_Init_Meta_0__Lean_quoteNameMk(x_21); -x_146 = lean_array_push(x_82, x_145); -x_147 = lean_array_push(x_146, x_137); -x_148 = lean_array_push(x_147, x_37); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_69); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_array_push(x_138, x_149); +lean_object* x_194; +x_194 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_139 = x_194; +goto block_193; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_11, 0); +lean_inc(x_195); +lean_dec(x_11); +x_196 = lean_array_push(x_70, x_195); +x_139 = x_196; +goto block_193; +} +block_193: +{ +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; +x_140 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_141 = l_Array_append___rarg(x_140, x_139); +lean_dec(x_139); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_72); +lean_ctor_set(x_142, 1, x_141); +x_143 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_144 = lean_array_push(x_143, x_142); +x_145 = lean_array_push(x_144, x_91); +x_146 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_147 = lean_array_push(x_145, x_146); +x_148 = lean_array_push(x_147, x_146); +x_149 = lean_array_push(x_148, x_146); +x_150 = lean_array_push(x_149, x_146); x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_126); +lean_ctor_set(x_151, 0, x_55); lean_ctor_set(x_151, 1, x_150); -x_152 = lean_array_push(x_139, x_151); -x_153 = lean_array_push(x_152, x_91); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_122); -lean_ctor_set(x_154, 1, x_153); -x_155 = lean_array_push(x_143, x_154); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_98); -lean_ctor_set(x_156, 1, x_155); -x_157 = lean_array_push(x_144, x_156); -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_50); -lean_ctor_set(x_158, 1, x_157); -x_159 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_2, x_158, x_12, x_13, x_48); -return x_159; +x_152 = lean_array_push(x_74, x_151); +if (lean_obj_tag(x_130) == 0) +{ +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_dec(x_6); +x_153 = l___private_Init_Meta_0__Lean_quoteNameMk(x_24); +x_154 = lean_array_push(x_85, x_153); +x_155 = lean_array_push(x_154, x_132); +x_156 = lean_array_push(x_155, x_40); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_72); +lean_ctor_set(x_157, 1, x_156); +x_158 = lean_array_push(x_133, x_157); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_121); +lean_ctor_set(x_159, 1, x_158); +x_160 = lean_array_push(x_134, x_159); +x_161 = lean_array_push(x_160, x_146); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_117); +lean_ctor_set(x_162, 1, x_161); +x_163 = lean_array_push(x_138, x_162); +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_93); +lean_ctor_set(x_164, 1, x_163); +x_165 = lean_array_push(x_152, x_164); +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_53); +lean_ctor_set(x_166, 1, x_165); +x_167 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_3, x_166, x_13, x_14, x_51); +return x_167; } else { -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_dec(x_21); -x_160 = lean_ctor_get(x_135, 0); -lean_inc(x_160); -lean_dec(x_135); -x_161 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__22; -x_162 = lean_name_mk_string(x_5, x_161); -x_163 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; -x_164 = l_String_intercalate(x_163, x_160); -x_165 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; -x_166 = lean_string_append(x_165, x_164); -lean_dec(x_164); -x_167 = l_Lean_nameLitKind; -x_168 = l_Lean_Syntax_mkLit(x_167, x_166, x_65); -x_169 = lean_array_push(x_67, x_168); -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_162); -lean_ctor_set(x_170, 1, x_169); -x_171 = lean_array_push(x_82, x_170); -x_172 = lean_array_push(x_171, x_137); -x_173 = lean_array_push(x_172, x_37); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_69); -lean_ctor_set(x_174, 1, x_173); -x_175 = lean_array_push(x_138, x_174); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_126); -lean_ctor_set(x_176, 1, x_175); -x_177 = lean_array_push(x_139, x_176); -x_178 = lean_array_push(x_177, x_91); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_122); -lean_ctor_set(x_179, 1, x_178); -x_180 = lean_array_push(x_143, x_179); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_98); -lean_ctor_set(x_181, 1, x_180); -x_182 = lean_array_push(x_144, x_181); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_50); -lean_ctor_set(x_183, 1, x_182); -x_184 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_2, x_183, x_12, x_13, x_48); -return x_184; -} -} -else -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 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; -x_185 = lean_ctor_get(x_38, 0); -lean_inc(x_185); -lean_dec(x_38); -x_186 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_12, x_13, x_35); -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 1); -lean_inc(x_188); -lean_dec(x_186); -x_189 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_188); -x_190 = lean_ctor_get(x_189, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_189, 1); -lean_inc(x_191); -lean_dec(x_189); -x_192 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_191); -x_193 = lean_ctor_get(x_192, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_192, 1); -lean_inc(x_194); -lean_dec(x_192); -x_195 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; -lean_inc(x_4); -x_196 = lean_name_mk_string(x_4, x_195); -x_197 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; -lean_inc(x_4); -x_198 = lean_name_mk_string(x_4, x_197); -x_199 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; -lean_inc(x_5); -x_200 = lean_name_mk_string(x_5, x_199); -x_201 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_187); -x_202 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_202, 0, x_187); -lean_ctor_set(x_202, 1, x_201); -x_203 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; -lean_inc(x_5); -x_204 = lean_name_mk_string(x_5, x_203); -x_205 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; -x_206 = lean_name_mk_string(x_6, x_205); -x_207 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; -x_208 = lean_name_mk_string(x_206, x_207); -x_209 = l_Nat_repr(x_15); -x_210 = l_Lean_numLitKind; -x_211 = lean_box(2); -x_212 = l_Lean_Syntax_mkLit(x_210, x_209, x_211); -x_213 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_214 = lean_array_push(x_213, x_212); -x_215 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_215); -lean_ctor_set(x_216, 1, x_214); -x_217 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_218 = lean_array_push(x_217, x_24); -x_219 = lean_array_push(x_218, x_216); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_208); -lean_ctor_set(x_220, 1, x_219); -x_221 = lean_array_push(x_217, x_7); -x_222 = lean_array_push(x_221, x_220); -x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_204); -lean_ctor_set(x_223, 1, x_222); -x_224 = lean_array_push(x_213, x_223); -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_215); -lean_ctor_set(x_225, 1, x_224); -x_226 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_187); -x_227 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_227, 0, x_187); -lean_ctor_set(x_227, 1, x_226); -x_228 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_229 = lean_array_push(x_228, x_202); -x_230 = lean_array_push(x_229, x_225); -x_231 = lean_array_push(x_230, x_227); -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_200); -lean_ctor_set(x_232, 1, x_231); -x_233 = lean_array_push(x_213, x_232); -x_234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_234, 0, x_215); -lean_ctor_set(x_234, 1, x_233); -x_235 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_236 = lean_array_push(x_235, x_234); -x_237 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_238 = lean_array_push(x_236, x_237); -x_239 = lean_array_push(x_238, x_237); -x_240 = lean_array_push(x_239, x_237); -x_241 = lean_array_push(x_240, x_237); -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_198); -lean_ctor_set(x_242, 1, x_241); -x_243 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_4); -x_244 = lean_name_mk_string(x_4, x_243); -lean_inc(x_187); -x_245 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_245, 0, x_187); -lean_ctor_set(x_245, 1, x_243); -x_246 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; -lean_inc(x_4); -x_247 = lean_name_mk_string(x_4, x_246); -x_248 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; -lean_inc(x_5); -x_249 = lean_name_mk_string(x_5, x_248); -x_250 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_187); -x_251 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_251, 0, x_187); -lean_ctor_set(x_251, 1, x_250); -x_252 = l_Lean_Elab_Term_toParserDescr_resolveParserName_match__1___rarg___closed__1; -lean_inc(x_8); -x_253 = lean_name_mk_string(x_8, x_252); -lean_inc(x_190); -lean_inc(x_253); -lean_inc(x_193); -x_254 = l_Lean_addMacroScope(x_193, x_253, x_190); -x_255 = lean_box(0); -lean_ctor_set(x_34, 1, x_255); -lean_ctor_set(x_34, 0, x_253); -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_34); -lean_ctor_set(x_256, 1, x_255); -x_257 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__7; -lean_inc(x_187); -x_258 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_258, 0, x_187); -lean_ctor_set(x_258, 1, x_257); -lean_ctor_set(x_258, 2, x_254); -lean_ctor_set(x_258, 3, x_256); -x_259 = lean_array_push(x_217, x_251); -x_260 = lean_array_push(x_259, x_258); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_249); -lean_ctor_set(x_261, 1, x_260); -x_262 = lean_array_push(x_213, x_261); -x_263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_263, 0, x_215); -lean_ctor_set(x_263, 1, x_262); -x_264 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_265 = lean_array_push(x_264, x_263); -x_266 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_266, 0, x_247); -lean_ctor_set(x_266, 1, x_265); -x_267 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; -x_268 = lean_name_mk_string(x_4, x_267); -x_269 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_187); -x_270 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_270, 0, x_187); -lean_ctor_set(x_270, 1, x_269); -x_271 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -lean_inc(x_5); -x_272 = lean_name_mk_string(x_5, x_271); -x_273 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12; -x_274 = l_Lean_addMacroScope(x_193, x_273, x_190); -x_275 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; -x_276 = lean_name_mk_string(x_8, x_275); -x_277 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11; -x_278 = lean_name_mk_string(x_276, x_277); -x_279 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_255); -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_255); -x_281 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__10; -x_282 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_282, 0, x_187); -lean_ctor_set(x_282, 1, x_281); -lean_ctor_set(x_282, 2, x_274); -lean_ctor_set(x_282, 3, x_280); -lean_inc(x_21); -x_283 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_255, x_21); -x_284 = l_Nat_repr(x_9); -x_285 = l_Lean_Syntax_mkLit(x_210, x_284, x_211); -x_286 = l_Nat_repr(x_185); -x_287 = l_Lean_Syntax_mkLit(x_210, x_286, x_211); -x_288 = lean_array_push(x_217, x_282); -x_289 = lean_array_push(x_228, x_270); -x_290 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_291 = lean_array_push(x_290, x_245); -x_292 = lean_array_push(x_291, x_39); -x_293 = lean_array_push(x_292, x_266); -x_294 = lean_array_push(x_217, x_242); -if (lean_obj_tag(x_283) == 0) -{ -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_5); -x_295 = l___private_Init_Meta_0__Lean_quoteNameMk(x_21); -x_296 = lean_array_push(x_290, x_295); -x_297 = lean_array_push(x_296, x_285); -x_298 = lean_array_push(x_297, x_287); -x_299 = lean_array_push(x_298, x_37); -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_215); -lean_ctor_set(x_300, 1, x_299); -x_301 = lean_array_push(x_288, x_300); -x_302 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_302, 0, x_272); -lean_ctor_set(x_302, 1, x_301); -x_303 = lean_array_push(x_289, x_302); -x_304 = lean_array_push(x_303, x_237); -x_305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_305, 0, x_268); -lean_ctor_set(x_305, 1, x_304); -x_306 = lean_array_push(x_293, x_305); -x_307 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_307, 0, x_244); -lean_ctor_set(x_307, 1, x_306); -x_308 = lean_array_push(x_294, x_307); -x_309 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_309, 0, x_196); -lean_ctor_set(x_309, 1, x_308); -x_310 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_2, x_309, x_12, x_13, x_194); -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_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_21); -x_311 = lean_ctor_get(x_283, 0); -lean_inc(x_311); -lean_dec(x_283); -x_312 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__22; -x_313 = lean_name_mk_string(x_5, x_312); -x_314 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; -x_315 = l_String_intercalate(x_314, x_311); -x_316 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; -x_317 = lean_string_append(x_316, x_315); -lean_dec(x_315); -x_318 = l_Lean_nameLitKind; -x_319 = l_Lean_Syntax_mkLit(x_318, x_317, x_211); -x_320 = lean_array_push(x_213, x_319); -x_321 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_321, 0, x_313); -lean_ctor_set(x_321, 1, x_320); -x_322 = lean_array_push(x_290, x_321); -x_323 = lean_array_push(x_322, x_285); -x_324 = lean_array_push(x_323, x_287); -x_325 = lean_array_push(x_324, x_37); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_215); -lean_ctor_set(x_326, 1, x_325); -x_327 = lean_array_push(x_288, x_326); -x_328 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_328, 0, x_272); -lean_ctor_set(x_328, 1, x_327); -x_329 = lean_array_push(x_289, x_328); -x_330 = lean_array_push(x_329, x_237); -x_331 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_331, 0, x_268); -lean_ctor_set(x_331, 1, x_330); -x_332 = lean_array_push(x_293, x_331); -x_333 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_333, 0, x_244); -lean_ctor_set(x_333, 1, x_332); -x_334 = lean_array_push(x_294, x_333); -x_335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_335, 0, x_196); -lean_ctor_set(x_335, 1, x_334); -x_336 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_2, x_335, x_12, x_13, x_194); -return x_336; -} -} -} -else -{ -lean_object* x_337; lean_object* x_338; lean_object* x_339; -x_337 = lean_ctor_get(x_34, 0); -x_338 = lean_ctor_get(x_34, 1); -lean_inc(x_338); -lean_inc(x_337); -lean_dec(x_34); -x_339 = l_Lean_mkIdentFrom(x_2, x_11); -if (lean_obj_tag(x_338) == 0) -{ -lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; 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; -x_340 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_12, x_13, x_35); -x_341 = lean_ctor_get(x_340, 0); -lean_inc(x_341); -x_342 = lean_ctor_get(x_340, 1); -lean_inc(x_342); -lean_dec(x_340); -x_343 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_342); -x_344 = lean_ctor_get(x_343, 0); -lean_inc(x_344); -x_345 = lean_ctor_get(x_343, 1); -lean_inc(x_345); -lean_dec(x_343); -x_346 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_345); -x_347 = lean_ctor_get(x_346, 0); -lean_inc(x_347); -x_348 = lean_ctor_get(x_346, 1); -lean_inc(x_348); -lean_dec(x_346); -x_349 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; -lean_inc(x_4); -x_350 = lean_name_mk_string(x_4, x_349); -x_351 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; -lean_inc(x_4); -x_352 = lean_name_mk_string(x_4, x_351); -x_353 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; -lean_inc(x_5); -x_354 = lean_name_mk_string(x_5, x_353); -x_355 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_341); -x_356 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_356, 0, x_341); -lean_ctor_set(x_356, 1, x_355); -x_357 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; -lean_inc(x_5); -x_358 = lean_name_mk_string(x_5, x_357); -x_359 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; -x_360 = lean_name_mk_string(x_6, x_359); -x_361 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; -x_362 = lean_name_mk_string(x_360, x_361); -x_363 = l_Nat_repr(x_15); -x_364 = l_Lean_numLitKind; -x_365 = lean_box(2); -x_366 = l_Lean_Syntax_mkLit(x_364, x_363, x_365); -x_367 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_368 = lean_array_push(x_367, x_366); -x_369 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_370, 0, x_369); -lean_ctor_set(x_370, 1, x_368); -x_371 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_372 = lean_array_push(x_371, x_24); -x_373 = lean_array_push(x_372, x_370); -x_374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_374, 0, x_362); -lean_ctor_set(x_374, 1, x_373); -x_375 = lean_array_push(x_371, x_7); -x_376 = lean_array_push(x_375, x_374); -x_377 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_377, 0, x_358); -lean_ctor_set(x_377, 1, x_376); -x_378 = lean_array_push(x_367, x_377); -x_379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_379, 0, x_369); -lean_ctor_set(x_379, 1, x_378); -x_380 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_341); -x_381 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_381, 0, x_341); -lean_ctor_set(x_381, 1, x_380); -x_382 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_383 = lean_array_push(x_382, x_356); -x_384 = lean_array_push(x_383, x_379); -x_385 = lean_array_push(x_384, x_381); -x_386 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_386, 0, x_354); -lean_ctor_set(x_386, 1, x_385); -x_387 = lean_array_push(x_367, x_386); -x_388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_388, 0, x_369); -lean_ctor_set(x_388, 1, x_387); -x_389 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_390 = lean_array_push(x_389, x_388); -x_391 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_392 = lean_array_push(x_390, x_391); -x_393 = lean_array_push(x_392, x_391); -x_394 = lean_array_push(x_393, x_391); -x_395 = lean_array_push(x_394, x_391); -x_396 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_396, 0, x_352); -lean_ctor_set(x_396, 1, x_395); -x_397 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_4); -x_398 = lean_name_mk_string(x_4, x_397); -lean_inc(x_341); -x_399 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_399, 0, x_341); -lean_ctor_set(x_399, 1, x_397); -x_400 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; -lean_inc(x_4); -x_401 = lean_name_mk_string(x_4, x_400); -x_402 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; -lean_inc(x_5); -x_403 = lean_name_mk_string(x_5, x_402); -x_404 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_341); -x_405 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_405, 0, x_341); -lean_ctor_set(x_405, 1, x_404); -x_406 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; -x_407 = lean_name_mk_string(x_8, x_406); -lean_inc(x_344); -lean_inc(x_407); -lean_inc(x_347); -x_408 = l_Lean_addMacroScope(x_347, x_407, x_344); -x_409 = lean_box(0); -lean_inc(x_407); -x_410 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_410, 0, x_407); -lean_ctor_set(x_410, 1, x_409); -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_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__44; -lean_inc(x_341); -x_413 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_413, 0, x_341); -lean_ctor_set(x_413, 1, x_412); -lean_ctor_set(x_413, 2, x_408); -lean_ctor_set(x_413, 3, x_411); -x_414 = lean_array_push(x_371, x_405); -x_415 = lean_array_push(x_414, x_413); -x_416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_416, 0, x_403); -lean_ctor_set(x_416, 1, x_415); -x_417 = lean_array_push(x_367, x_416); -x_418 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_418, 0, x_369); -lean_ctor_set(x_418, 1, x_417); -x_419 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_420 = lean_array_push(x_419, x_418); -x_421 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_421, 0, x_401); -lean_ctor_set(x_421, 1, x_420); -x_422 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; -x_423 = lean_name_mk_string(x_4, x_422); -x_424 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_341); -x_425 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_425, 0, x_341); -lean_ctor_set(x_425, 1, x_424); -x_426 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -lean_inc(x_5); -x_427 = lean_name_mk_string(x_5, x_426); -x_428 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__4; -x_429 = l_Lean_addMacroScope(x_347, x_428, x_344); -x_430 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__54; -x_431 = lean_name_mk_string(x_407, x_430); -x_432 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_432, 0, x_431); -lean_ctor_set(x_432, 1, x_409); -x_433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_433, 0, x_432); -lean_ctor_set(x_433, 1, x_409); -x_434 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__3; -x_435 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_435, 0, x_341); -lean_ctor_set(x_435, 1, x_434); -lean_ctor_set(x_435, 2, x_429); -lean_ctor_set(x_435, 3, x_433); -lean_inc(x_21); -x_436 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_409, x_21); -x_437 = l_Nat_repr(x_9); -x_438 = l_Lean_Syntax_mkLit(x_364, x_437, x_365); -x_439 = lean_array_push(x_371, x_435); -x_440 = lean_array_push(x_382, x_425); -x_441 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_442 = lean_array_push(x_441, x_399); -x_443 = lean_array_push(x_442, x_339); -x_444 = lean_array_push(x_443, x_421); -x_445 = lean_array_push(x_371, x_396); -if (lean_obj_tag(x_436) == 0) -{ -lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; -lean_dec(x_5); -x_446 = l___private_Init_Meta_0__Lean_quoteNameMk(x_21); -x_447 = lean_array_push(x_382, x_446); -x_448 = lean_array_push(x_447, x_438); -x_449 = lean_array_push(x_448, x_337); -x_450 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_450, 0, x_369); -lean_ctor_set(x_450, 1, x_449); -x_451 = lean_array_push(x_439, x_450); -x_452 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_452, 0, x_427); -lean_ctor_set(x_452, 1, x_451); -x_453 = lean_array_push(x_440, x_452); -x_454 = lean_array_push(x_453, x_391); -x_455 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_455, 0, x_423); -lean_ctor_set(x_455, 1, x_454); -x_456 = lean_array_push(x_444, x_455); -x_457 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_457, 0, x_398); -lean_ctor_set(x_457, 1, x_456); -x_458 = lean_array_push(x_445, x_457); -x_459 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_459, 0, x_350); -lean_ctor_set(x_459, 1, x_458); -x_460 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_2, x_459, x_12, x_13, x_348); -return x_460; -} -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; 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_dec(x_21); -x_461 = lean_ctor_get(x_436, 0); -lean_inc(x_461); -lean_dec(x_436); -x_462 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__22; -x_463 = lean_name_mk_string(x_5, x_462); -x_464 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; -x_465 = l_String_intercalate(x_464, x_461); -x_466 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; -x_467 = lean_string_append(x_466, x_465); -lean_dec(x_465); -x_468 = l_Lean_nameLitKind; -x_469 = l_Lean_Syntax_mkLit(x_468, x_467, x_365); -x_470 = lean_array_push(x_367, x_469); -x_471 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_471, 0, x_463); -lean_ctor_set(x_471, 1, x_470); -x_472 = lean_array_push(x_382, x_471); -x_473 = lean_array_push(x_472, x_438); -x_474 = lean_array_push(x_473, x_337); -x_475 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_475, 0, x_369); -lean_ctor_set(x_475, 1, x_474); -x_476 = lean_array_push(x_439, x_475); -x_477 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_477, 0, x_427); -lean_ctor_set(x_477, 1, x_476); -x_478 = lean_array_push(x_440, x_477); -x_479 = lean_array_push(x_478, x_391); -x_480 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_480, 0, x_423); -lean_ctor_set(x_480, 1, x_479); -x_481 = lean_array_push(x_444, x_480); -x_482 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_482, 0, x_398); -lean_ctor_set(x_482, 1, x_481); -x_483 = lean_array_push(x_445, x_482); -x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_350); -lean_ctor_set(x_484, 1, x_483); -x_485 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_2, x_484, x_12, x_13, x_348); -return x_485; -} -} -else -{ -lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; 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; -x_486 = lean_ctor_get(x_338, 0); -lean_inc(x_486); -lean_dec(x_338); -x_487 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_12, x_13, x_35); -x_488 = lean_ctor_get(x_487, 0); -lean_inc(x_488); -x_489 = lean_ctor_get(x_487, 1); -lean_inc(x_489); -lean_dec(x_487); -x_490 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_489); -x_491 = lean_ctor_get(x_490, 0); -lean_inc(x_491); -x_492 = lean_ctor_get(x_490, 1); -lean_inc(x_492); -lean_dec(x_490); -x_493 = l_Lean_Elab_Command_getMainModule___rarg(x_13, x_492); -x_494 = lean_ctor_get(x_493, 0); -lean_inc(x_494); -x_495 = lean_ctor_get(x_493, 1); -lean_inc(x_495); -lean_dec(x_493); -x_496 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; -lean_inc(x_4); -x_497 = lean_name_mk_string(x_4, x_496); -x_498 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; -lean_inc(x_4); -x_499 = lean_name_mk_string(x_4, x_498); -x_500 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; -lean_inc(x_5); -x_501 = lean_name_mk_string(x_5, x_500); -x_502 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_488); -x_503 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_503, 0, x_488); -lean_ctor_set(x_503, 1, x_502); -x_504 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; -lean_inc(x_5); -x_505 = lean_name_mk_string(x_5, x_504); -x_506 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; -x_507 = lean_name_mk_string(x_6, x_506); -x_508 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; -x_509 = lean_name_mk_string(x_507, x_508); -x_510 = l_Nat_repr(x_15); -x_511 = l_Lean_numLitKind; -x_512 = lean_box(2); -x_513 = l_Lean_Syntax_mkLit(x_511, x_510, x_512); -x_514 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_515 = lean_array_push(x_514, x_513); -x_516 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_517 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_517, 0, x_516); -lean_ctor_set(x_517, 1, x_515); -x_518 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_519 = lean_array_push(x_518, x_24); -x_520 = lean_array_push(x_519, x_517); -x_521 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_521, 0, x_509); -lean_ctor_set(x_521, 1, x_520); -x_522 = lean_array_push(x_518, x_7); -x_523 = lean_array_push(x_522, x_521); -x_524 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_524, 0, x_505); -lean_ctor_set(x_524, 1, x_523); -x_525 = lean_array_push(x_514, x_524); -x_526 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_526, 0, x_516); -lean_ctor_set(x_526, 1, x_525); -x_527 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_488); -x_528 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_528, 0, x_488); -lean_ctor_set(x_528, 1, x_527); -x_529 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_530 = lean_array_push(x_529, x_503); -x_531 = lean_array_push(x_530, x_526); -x_532 = lean_array_push(x_531, x_528); -x_533 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_533, 0, x_501); -lean_ctor_set(x_533, 1, x_532); -x_534 = lean_array_push(x_514, x_533); -x_535 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_535, 0, x_516); -lean_ctor_set(x_535, 1, x_534); -x_536 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_537 = lean_array_push(x_536, x_535); -x_538 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_539 = lean_array_push(x_537, x_538); -x_540 = lean_array_push(x_539, x_538); -x_541 = lean_array_push(x_540, x_538); -x_542 = lean_array_push(x_541, x_538); -x_543 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_543, 0, x_499); -lean_ctor_set(x_543, 1, x_542); -x_544 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_4); -x_545 = lean_name_mk_string(x_4, x_544); -lean_inc(x_488); -x_546 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_546, 0, x_488); -lean_ctor_set(x_546, 1, x_544); -x_547 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; -lean_inc(x_4); -x_548 = lean_name_mk_string(x_4, x_547); -x_549 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; -lean_inc(x_5); -x_550 = lean_name_mk_string(x_5, x_549); -x_551 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_488); -x_552 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_552, 0, x_488); -lean_ctor_set(x_552, 1, x_551); -x_553 = l_Lean_Elab_Term_toParserDescr_resolveParserName_match__1___rarg___closed__1; -lean_inc(x_8); -x_554 = lean_name_mk_string(x_8, x_553); -lean_inc(x_491); -lean_inc(x_554); -lean_inc(x_494); -x_555 = l_Lean_addMacroScope(x_494, x_554, x_491); -x_556 = lean_box(0); -x_557 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_557, 0, x_554); -lean_ctor_set(x_557, 1, x_556); -x_558 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_558, 0, x_557); -lean_ctor_set(x_558, 1, x_556); -x_559 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__7; -lean_inc(x_488); -x_560 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_560, 0, x_488); -lean_ctor_set(x_560, 1, x_559); -lean_ctor_set(x_560, 2, x_555); -lean_ctor_set(x_560, 3, x_558); -x_561 = lean_array_push(x_518, x_552); -x_562 = lean_array_push(x_561, x_560); -x_563 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_563, 0, x_550); -lean_ctor_set(x_563, 1, x_562); -x_564 = lean_array_push(x_514, x_563); -x_565 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_565, 0, x_516); -lean_ctor_set(x_565, 1, x_564); -x_566 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_567 = lean_array_push(x_566, x_565); -x_568 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_568, 0, x_548); -lean_ctor_set(x_568, 1, x_567); -x_569 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; -x_570 = lean_name_mk_string(x_4, x_569); -x_571 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_488); -x_572 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_572, 0, x_488); -lean_ctor_set(x_572, 1, x_571); -x_573 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -lean_inc(x_5); -x_574 = lean_name_mk_string(x_5, x_573); -x_575 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12; -x_576 = l_Lean_addMacroScope(x_494, x_575, x_491); -x_577 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; -x_578 = lean_name_mk_string(x_8, x_577); -x_579 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11; -x_580 = lean_name_mk_string(x_578, x_579); -x_581 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_581, 0, x_580); -lean_ctor_set(x_581, 1, x_556); -x_582 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_582, 0, x_581); -lean_ctor_set(x_582, 1, x_556); -x_583 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__10; -x_584 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_584, 0, x_488); -lean_ctor_set(x_584, 1, x_583); -lean_ctor_set(x_584, 2, x_576); -lean_ctor_set(x_584, 3, x_582); -lean_inc(x_21); -x_585 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_556, x_21); -x_586 = l_Nat_repr(x_9); -x_587 = l_Lean_Syntax_mkLit(x_511, x_586, x_512); -x_588 = l_Nat_repr(x_486); -x_589 = l_Lean_Syntax_mkLit(x_511, x_588, x_512); -x_590 = lean_array_push(x_518, x_584); -x_591 = lean_array_push(x_529, x_572); -x_592 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_593 = lean_array_push(x_592, x_546); -x_594 = lean_array_push(x_593, x_339); -x_595 = lean_array_push(x_594, x_568); -x_596 = lean_array_push(x_518, x_543); -if (lean_obj_tag(x_585) == 0) -{ -lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; -lean_dec(x_5); -x_597 = l___private_Init_Meta_0__Lean_quoteNameMk(x_21); -x_598 = lean_array_push(x_592, x_597); -x_599 = lean_array_push(x_598, x_587); -x_600 = lean_array_push(x_599, x_589); -x_601 = lean_array_push(x_600, x_337); -x_602 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_602, 0, x_516); -lean_ctor_set(x_602, 1, x_601); -x_603 = lean_array_push(x_590, x_602); -x_604 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_604, 0, x_574); -lean_ctor_set(x_604, 1, x_603); -x_605 = lean_array_push(x_591, x_604); -x_606 = lean_array_push(x_605, x_538); -x_607 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_607, 0, x_570); -lean_ctor_set(x_607, 1, x_606); -x_608 = lean_array_push(x_595, x_607); -x_609 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_609, 0, x_545); -lean_ctor_set(x_609, 1, x_608); -x_610 = lean_array_push(x_596, x_609); -x_611 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_611, 0, x_497); -lean_ctor_set(x_611, 1, x_610); -x_612 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_2, x_611, x_12, x_13, x_495); -return x_612; -} -else -{ -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_dec(x_21); -x_613 = lean_ctor_get(x_585, 0); -lean_inc(x_613); -lean_dec(x_585); -x_614 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__22; -x_615 = lean_name_mk_string(x_5, x_614); -x_616 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; -x_617 = l_String_intercalate(x_616, x_613); -x_618 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; -x_619 = lean_string_append(x_618, x_617); -lean_dec(x_617); -x_620 = l_Lean_nameLitKind; -x_621 = l_Lean_Syntax_mkLit(x_620, x_619, x_512); -x_622 = lean_array_push(x_514, x_621); -x_623 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_623, 0, x_615); -lean_ctor_set(x_623, 1, x_622); -x_624 = lean_array_push(x_592, x_623); -x_625 = lean_array_push(x_624, x_587); -x_626 = lean_array_push(x_625, x_589); -x_627 = lean_array_push(x_626, x_337); -x_628 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_628, 0, x_516); -lean_ctor_set(x_628, 1, x_627); -x_629 = lean_array_push(x_590, x_628); -x_630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_630, 0, x_574); -lean_ctor_set(x_630, 1, x_629); -x_631 = lean_array_push(x_591, x_630); -x_632 = lean_array_push(x_631, x_538); -x_633 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_633, 0, x_570); -lean_ctor_set(x_633, 1, x_632); -x_634 = lean_array_push(x_595, x_633); -x_635 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_635, 0, x_545); -lean_ctor_set(x_635, 1, x_634); -x_636 = lean_array_push(x_596, x_635); -x_637 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_637, 0, x_497); -lean_ctor_set(x_637, 1, x_636); -x_638 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_2, x_637, x_12, x_13, x_495); -return x_638; -} -} -} -} -else -{ -uint8_t x_639; +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_dec(x_24); -lean_dec(x_21); -lean_dec(x_15); +x_168 = lean_ctor_get(x_130, 0); +lean_inc(x_168); +lean_dec(x_130); +x_169 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__22; +x_170 = lean_name_mk_string(x_6, x_169); +x_171 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; +x_172 = l_String_intercalate(x_171, x_168); +x_173 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; +x_174 = lean_string_append(x_173, x_172); +lean_dec(x_172); +x_175 = l_Lean_nameLitKind; +x_176 = l_Lean_Syntax_mkLit(x_175, x_174, x_68); +x_177 = lean_array_push(x_70, x_176); +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_170); +lean_ctor_set(x_178, 1, x_177); +x_179 = lean_array_push(x_85, x_178); +x_180 = lean_array_push(x_179, x_132); +x_181 = lean_array_push(x_180, x_40); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_72); +lean_ctor_set(x_182, 1, x_181); +x_183 = lean_array_push(x_133, x_182); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_121); +lean_ctor_set(x_184, 1, x_183); +x_185 = lean_array_push(x_134, x_184); +x_186 = lean_array_push(x_185, x_146); +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_117); +lean_ctor_set(x_187, 1, x_186); +x_188 = lean_array_push(x_138, x_187); +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_93); +lean_ctor_set(x_189, 1, x_188); +x_190 = lean_array_push(x_152, x_189); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_53); +lean_ctor_set(x_191, 1, x_190); +x_192 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_3, x_191, x_13, x_14, x_51); +return x_192; +} +} +} +else +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 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; +x_197 = lean_ctor_get(x_41, 0); +lean_inc(x_197); +lean_dec(x_41); +x_198 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_13, x_14, x_38); +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 = l_Lean_Elab_Command_getCurrMacroScope(x_13, x_14, x_200); +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_201, 1); +lean_inc(x_203); +lean_dec(x_201); +x_204 = l_Lean_Elab_Command_getMainModule___rarg(x_14, x_203); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; +lean_inc(x_5); +x_208 = lean_name_mk_string(x_5, x_207); +x_209 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; +lean_inc(x_5); +x_210 = lean_name_mk_string(x_5, x_209); +x_211 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; +lean_inc(x_6); +x_212 = lean_name_mk_string(x_6, x_211); +x_213 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_199); +x_214 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_214, 0, x_199); +lean_ctor_set(x_214, 1, x_213); +x_215 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; +lean_inc(x_6); +x_216 = lean_name_mk_string(x_6, x_215); +x_217 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; +x_218 = lean_name_mk_string(x_7, x_217); +x_219 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; +x_220 = lean_name_mk_string(x_218, x_219); +x_221 = l_Nat_repr(x_18); +x_222 = l_Lean_numLitKind; +x_223 = lean_box(2); +x_224 = l_Lean_Syntax_mkLit(x_222, x_221, x_223); +x_225 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_226 = lean_array_push(x_225, x_224); +x_227 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_226); +x_229 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_230 = lean_array_push(x_229, x_27); +x_231 = lean_array_push(x_230, x_228); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_220); +lean_ctor_set(x_232, 1, x_231); +x_233 = lean_array_push(x_229, x_8); +x_234 = lean_array_push(x_233, x_232); +x_235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_235, 0, x_216); +lean_ctor_set(x_235, 1, x_234); +x_236 = lean_array_push(x_225, x_235); +x_237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_237, 0, x_227); +lean_ctor_set(x_237, 1, x_236); +x_238 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_199); +x_239 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_239, 0, x_199); +lean_ctor_set(x_239, 1, x_238); +x_240 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_241 = lean_array_push(x_240, x_214); +x_242 = lean_array_push(x_241, x_237); +x_243 = lean_array_push(x_242, x_239); +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_212); +lean_ctor_set(x_244, 1, x_243); +x_245 = lean_array_push(x_225, x_244); +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_227); +lean_ctor_set(x_246, 1, x_245); +x_247 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_5); +x_248 = lean_name_mk_string(x_5, x_247); +lean_inc(x_199); +x_249 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_249, 0, x_199); +lean_ctor_set(x_249, 1, x_247); +x_250 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; +lean_inc(x_5); +x_251 = lean_name_mk_string(x_5, x_250); +x_252 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; +lean_inc(x_6); +x_253 = lean_name_mk_string(x_6, x_252); +x_254 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_199); +x_255 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_255, 0, x_199); +lean_ctor_set(x_255, 1, x_254); +x_256 = l_Lean_Elab_Term_toParserDescr_resolveParserName_match__1___rarg___closed__1; +lean_inc(x_9); +x_257 = lean_name_mk_string(x_9, x_256); +lean_inc(x_202); +lean_inc(x_257); +lean_inc(x_205); +x_258 = l_Lean_addMacroScope(x_205, x_257, x_202); +x_259 = lean_box(0); +lean_ctor_set(x_37, 1, x_259); +lean_ctor_set(x_37, 0, x_257); +x_260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_260, 0, x_37); +lean_ctor_set(x_260, 1, x_259); +x_261 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__8; +lean_inc(x_199); +x_262 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_262, 0, x_199); +lean_ctor_set(x_262, 1, x_261); +lean_ctor_set(x_262, 2, x_258); +lean_ctor_set(x_262, 3, x_260); +x_263 = lean_array_push(x_229, x_255); +x_264 = lean_array_push(x_263, x_262); +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_253); +lean_ctor_set(x_265, 1, x_264); +x_266 = lean_array_push(x_225, x_265); +x_267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_267, 0, x_227); +lean_ctor_set(x_267, 1, x_266); +x_268 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; +x_269 = lean_array_push(x_268, x_267); +x_270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_251); +lean_ctor_set(x_270, 1, x_269); +x_271 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; +x_272 = lean_name_mk_string(x_5, x_271); +x_273 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_199); +x_274 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_274, 0, x_199); +lean_ctor_set(x_274, 1, x_273); +x_275 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +lean_inc(x_6); +x_276 = lean_name_mk_string(x_6, x_275); +x_277 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__13; +x_278 = l_Lean_addMacroScope(x_205, x_277, x_202); +x_279 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; +x_280 = lean_name_mk_string(x_9, x_279); +x_281 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12; +x_282 = lean_name_mk_string(x_280, x_281); +x_283 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_259); +x_284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_284, 0, x_283); +lean_ctor_set(x_284, 1, x_259); +x_285 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11; +x_286 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_286, 0, x_199); +lean_ctor_set(x_286, 1, x_285); +lean_ctor_set(x_286, 2, x_278); +lean_ctor_set(x_286, 3, x_284); +lean_inc(x_24); +x_287 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_259, x_24); +x_288 = l_Nat_repr(x_10); +x_289 = l_Lean_Syntax_mkLit(x_222, x_288, x_223); +x_290 = l_Nat_repr(x_197); +x_291 = l_Lean_Syntax_mkLit(x_222, x_290, x_223); +x_292 = lean_array_push(x_229, x_286); +x_293 = lean_array_push(x_240, x_274); +x_294 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_295 = lean_array_push(x_294, x_249); +x_296 = lean_array_push(x_295, x_42); +x_297 = lean_array_push(x_296, x_270); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_355; +x_355 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_298 = x_355; +goto block_354; +} +else +{ +lean_object* x_356; lean_object* x_357; +x_356 = lean_ctor_get(x_11, 0); +lean_inc(x_356); +lean_dec(x_11); +x_357 = lean_array_push(x_225, x_356); +x_298 = x_357; +goto block_354; +} +block_354: +{ +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; +x_299 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_300 = l_Array_append___rarg(x_299, x_298); +lean_dec(x_298); +x_301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_301, 0, x_227); +lean_ctor_set(x_301, 1, x_300); +x_302 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_303 = lean_array_push(x_302, x_301); +x_304 = lean_array_push(x_303, x_246); +x_305 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_306 = lean_array_push(x_304, x_305); +x_307 = lean_array_push(x_306, x_305); +x_308 = lean_array_push(x_307, x_305); +x_309 = lean_array_push(x_308, x_305); +x_310 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_310, 0, x_210); +lean_ctor_set(x_310, 1, x_309); +x_311 = lean_array_push(x_229, x_310); +if (lean_obj_tag(x_287) == 0) +{ +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_dec(x_6); +x_312 = l___private_Init_Meta_0__Lean_quoteNameMk(x_24); +x_313 = lean_array_push(x_294, x_312); +x_314 = lean_array_push(x_313, x_289); +x_315 = lean_array_push(x_314, x_291); +x_316 = lean_array_push(x_315, x_40); +x_317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_317, 0, x_227); +lean_ctor_set(x_317, 1, x_316); +x_318 = lean_array_push(x_292, x_317); +x_319 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_319, 0, x_276); +lean_ctor_set(x_319, 1, x_318); +x_320 = lean_array_push(x_293, x_319); +x_321 = lean_array_push(x_320, x_305); +x_322 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_322, 0, x_272); +lean_ctor_set(x_322, 1, x_321); +x_323 = lean_array_push(x_297, x_322); +x_324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_324, 0, x_248); +lean_ctor_set(x_324, 1, x_323); +x_325 = lean_array_push(x_311, x_324); +x_326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_326, 0, x_208); +lean_ctor_set(x_326, 1, x_325); +x_327 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_3, x_326, x_13, x_14, x_206); +return x_327; +} +else +{ +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_dec(x_24); +x_328 = lean_ctor_get(x_287, 0); +lean_inc(x_328); +lean_dec(x_287); +x_329 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__22; +x_330 = lean_name_mk_string(x_6, x_329); +x_331 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; +x_332 = l_String_intercalate(x_331, x_328); +x_333 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; +x_334 = lean_string_append(x_333, x_332); +lean_dec(x_332); +x_335 = l_Lean_nameLitKind; +x_336 = l_Lean_Syntax_mkLit(x_335, x_334, x_223); +x_337 = lean_array_push(x_225, x_336); +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_330); +lean_ctor_set(x_338, 1, x_337); +x_339 = lean_array_push(x_294, x_338); +x_340 = lean_array_push(x_339, x_289); +x_341 = lean_array_push(x_340, x_291); +x_342 = lean_array_push(x_341, x_40); +x_343 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_343, 0, x_227); +lean_ctor_set(x_343, 1, x_342); +x_344 = lean_array_push(x_292, x_343); +x_345 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_345, 0, x_276); +lean_ctor_set(x_345, 1, x_344); +x_346 = lean_array_push(x_293, x_345); +x_347 = lean_array_push(x_346, x_305); +x_348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_348, 0, x_272); +lean_ctor_set(x_348, 1, x_347); +x_349 = lean_array_push(x_297, x_348); +x_350 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_350, 0, x_248); +lean_ctor_set(x_350, 1, x_349); +x_351 = lean_array_push(x_311, x_350); +x_352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_352, 0, x_208); +lean_ctor_set(x_352, 1, x_351); +x_353 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_3, x_352, x_13, x_14, x_206); +return x_353; +} +} +} +} +else +{ +lean_object* x_358; lean_object* x_359; lean_object* x_360; +x_358 = lean_ctor_get(x_37, 0); +x_359 = lean_ctor_get(x_37, 1); +lean_inc(x_359); +lean_inc(x_358); +lean_dec(x_37); +x_360 = l_Lean_mkIdentFrom(x_3, x_12); +if (lean_obj_tag(x_359) == 0) +{ +lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; 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; 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_361 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_13, x_14, x_38); +x_362 = lean_ctor_get(x_361, 0); +lean_inc(x_362); +x_363 = lean_ctor_get(x_361, 1); +lean_inc(x_363); +lean_dec(x_361); +x_364 = l_Lean_Elab_Command_getCurrMacroScope(x_13, x_14, x_363); +x_365 = lean_ctor_get(x_364, 0); +lean_inc(x_365); +x_366 = lean_ctor_get(x_364, 1); +lean_inc(x_366); +lean_dec(x_364); +x_367 = l_Lean_Elab_Command_getMainModule___rarg(x_14, x_366); +x_368 = lean_ctor_get(x_367, 0); +lean_inc(x_368); +x_369 = lean_ctor_get(x_367, 1); +lean_inc(x_369); +lean_dec(x_367); +x_370 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; +lean_inc(x_5); +x_371 = lean_name_mk_string(x_5, x_370); +x_372 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; +lean_inc(x_5); +x_373 = lean_name_mk_string(x_5, x_372); +x_374 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; +lean_inc(x_6); +x_375 = lean_name_mk_string(x_6, x_374); +x_376 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_362); +x_377 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_377, 0, x_362); +lean_ctor_set(x_377, 1, x_376); +x_378 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; +lean_inc(x_6); +x_379 = lean_name_mk_string(x_6, x_378); +x_380 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; +x_381 = lean_name_mk_string(x_7, x_380); +x_382 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; +x_383 = lean_name_mk_string(x_381, x_382); +x_384 = l_Nat_repr(x_18); +x_385 = l_Lean_numLitKind; +x_386 = lean_box(2); +x_387 = l_Lean_Syntax_mkLit(x_385, x_384, x_386); +x_388 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_389 = lean_array_push(x_388, x_387); +x_390 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_391 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_391, 0, x_390); +lean_ctor_set(x_391, 1, x_389); +x_392 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_393 = lean_array_push(x_392, x_27); +x_394 = lean_array_push(x_393, x_391); +x_395 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_395, 0, x_383); +lean_ctor_set(x_395, 1, x_394); +x_396 = lean_array_push(x_392, x_8); +x_397 = lean_array_push(x_396, x_395); +x_398 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_398, 0, x_379); +lean_ctor_set(x_398, 1, x_397); +x_399 = lean_array_push(x_388, x_398); +x_400 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_400, 0, x_390); +lean_ctor_set(x_400, 1, x_399); +x_401 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_362); +x_402 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_402, 0, x_362); +lean_ctor_set(x_402, 1, x_401); +x_403 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_404 = lean_array_push(x_403, x_377); +x_405 = lean_array_push(x_404, x_400); +x_406 = lean_array_push(x_405, x_402); +x_407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_407, 0, x_375); +lean_ctor_set(x_407, 1, x_406); +x_408 = lean_array_push(x_388, x_407); +x_409 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_409, 0, x_390); +lean_ctor_set(x_409, 1, x_408); +x_410 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_5); +x_411 = lean_name_mk_string(x_5, x_410); +lean_inc(x_362); +x_412 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_412, 0, x_362); +lean_ctor_set(x_412, 1, x_410); +x_413 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; +lean_inc(x_5); +x_414 = lean_name_mk_string(x_5, x_413); +x_415 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; +lean_inc(x_6); +x_416 = lean_name_mk_string(x_6, x_415); +x_417 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_362); +x_418 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_418, 0, x_362); +lean_ctor_set(x_418, 1, x_417); +x_419 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; +x_420 = lean_name_mk_string(x_9, x_419); +lean_inc(x_365); +lean_inc(x_420); +lean_inc(x_368); +x_421 = l_Lean_addMacroScope(x_368, x_420, x_365); +x_422 = lean_box(0); +lean_inc(x_420); +x_423 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_423, 0, x_420); +lean_ctor_set(x_423, 1, x_422); +x_424 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_424, 0, x_423); +lean_ctor_set(x_424, 1, x_422); +x_425 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__44; +lean_inc(x_362); +x_426 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_426, 0, x_362); +lean_ctor_set(x_426, 1, x_425); +lean_ctor_set(x_426, 2, x_421); +lean_ctor_set(x_426, 3, x_424); +x_427 = lean_array_push(x_392, x_418); +x_428 = lean_array_push(x_427, x_426); +x_429 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_429, 0, x_416); +lean_ctor_set(x_429, 1, x_428); +x_430 = lean_array_push(x_388, x_429); +x_431 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_431, 0, x_390); +lean_ctor_set(x_431, 1, x_430); +x_432 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; +x_433 = lean_array_push(x_432, x_431); +x_434 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_434, 0, x_414); +lean_ctor_set(x_434, 1, x_433); +x_435 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; +x_436 = lean_name_mk_string(x_5, x_435); +x_437 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_362); +x_438 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_438, 0, x_362); +lean_ctor_set(x_438, 1, x_437); +x_439 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +lean_inc(x_6); +x_440 = lean_name_mk_string(x_6, x_439); +x_441 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__5; +x_442 = l_Lean_addMacroScope(x_368, x_441, x_365); +x_443 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__54; +x_444 = lean_name_mk_string(x_420, x_443); +x_445 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_445, 0, x_444); +lean_ctor_set(x_445, 1, x_422); +x_446 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_446, 0, x_445); +lean_ctor_set(x_446, 1, x_422); +x_447 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__4; +x_448 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_448, 0, x_362); +lean_ctor_set(x_448, 1, x_447); +lean_ctor_set(x_448, 2, x_442); +lean_ctor_set(x_448, 3, x_446); +lean_inc(x_24); +x_449 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_422, x_24); +x_450 = l_Nat_repr(x_10); +x_451 = l_Lean_Syntax_mkLit(x_385, x_450, x_386); +x_452 = lean_array_push(x_392, x_448); +x_453 = lean_array_push(x_403, x_438); +x_454 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_455 = lean_array_push(x_454, x_412); +x_456 = lean_array_push(x_455, x_360); +x_457 = lean_array_push(x_456, x_434); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_513; +x_513 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_458 = x_513; +goto block_512; +} +else +{ +lean_object* x_514; lean_object* x_515; +x_514 = lean_ctor_get(x_11, 0); +lean_inc(x_514); +lean_dec(x_11); +x_515 = lean_array_push(x_388, x_514); +x_458 = x_515; +goto block_512; +} +block_512: +{ +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; +x_459 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_460 = l_Array_append___rarg(x_459, x_458); +lean_dec(x_458); +x_461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_461, 0, x_390); +lean_ctor_set(x_461, 1, x_460); +x_462 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_463 = lean_array_push(x_462, x_461); +x_464 = lean_array_push(x_463, x_409); +x_465 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_466 = lean_array_push(x_464, x_465); +x_467 = lean_array_push(x_466, x_465); +x_468 = lean_array_push(x_467, x_465); +x_469 = lean_array_push(x_468, x_465); +x_470 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_470, 0, x_373); +lean_ctor_set(x_470, 1, x_469); +x_471 = lean_array_push(x_392, x_470); +if (lean_obj_tag(x_449) == 0) +{ +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_dec(x_6); +x_472 = l___private_Init_Meta_0__Lean_quoteNameMk(x_24); +x_473 = lean_array_push(x_403, x_472); +x_474 = lean_array_push(x_473, x_451); +x_475 = lean_array_push(x_474, x_358); +x_476 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_476, 0, x_390); +lean_ctor_set(x_476, 1, x_475); +x_477 = lean_array_push(x_452, x_476); +x_478 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_478, 0, x_440); +lean_ctor_set(x_478, 1, x_477); +x_479 = lean_array_push(x_453, x_478); +x_480 = lean_array_push(x_479, x_465); +x_481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_481, 0, x_436); +lean_ctor_set(x_481, 1, x_480); +x_482 = lean_array_push(x_457, x_481); +x_483 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_483, 0, x_411); +lean_ctor_set(x_483, 1, x_482); +x_484 = lean_array_push(x_471, x_483); +x_485 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_485, 0, x_371); +lean_ctor_set(x_485, 1, x_484); +x_486 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_3, x_485, x_13, x_14, x_369); +return x_486; +} +else +{ +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_dec(x_24); +x_487 = lean_ctor_get(x_449, 0); +lean_inc(x_487); +lean_dec(x_449); +x_488 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__22; +x_489 = lean_name_mk_string(x_6, x_488); +x_490 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; +x_491 = l_String_intercalate(x_490, x_487); +x_492 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; +x_493 = lean_string_append(x_492, x_491); +lean_dec(x_491); +x_494 = l_Lean_nameLitKind; +x_495 = l_Lean_Syntax_mkLit(x_494, x_493, x_386); +x_496 = lean_array_push(x_388, x_495); +x_497 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_497, 0, x_489); +lean_ctor_set(x_497, 1, x_496); +x_498 = lean_array_push(x_403, x_497); +x_499 = lean_array_push(x_498, x_451); +x_500 = lean_array_push(x_499, x_358); +x_501 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_501, 0, x_390); +lean_ctor_set(x_501, 1, x_500); +x_502 = lean_array_push(x_452, x_501); +x_503 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_503, 0, x_440); +lean_ctor_set(x_503, 1, x_502); +x_504 = lean_array_push(x_453, x_503); +x_505 = lean_array_push(x_504, x_465); +x_506 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_506, 0, x_436); +lean_ctor_set(x_506, 1, x_505); +x_507 = lean_array_push(x_457, x_506); +x_508 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_508, 0, x_411); +lean_ctor_set(x_508, 1, x_507); +x_509 = lean_array_push(x_471, x_508); +x_510 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_510, 0, x_371); +lean_ctor_set(x_510, 1, x_509); +x_511 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_3, x_510, x_13, x_14, x_369); +return x_511; +} +} +} +else +{ +lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; 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; +x_516 = lean_ctor_get(x_359, 0); +lean_inc(x_516); +lean_dec(x_359); +x_517 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_13, x_14, x_38); +x_518 = lean_ctor_get(x_517, 0); +lean_inc(x_518); +x_519 = lean_ctor_get(x_517, 1); +lean_inc(x_519); +lean_dec(x_517); +x_520 = l_Lean_Elab_Command_getCurrMacroScope(x_13, x_14, x_519); +x_521 = lean_ctor_get(x_520, 0); +lean_inc(x_521); +x_522 = lean_ctor_get(x_520, 1); +lean_inc(x_522); +lean_dec(x_520); +x_523 = l_Lean_Elab_Command_getMainModule___rarg(x_14, x_522); +x_524 = lean_ctor_get(x_523, 0); +lean_inc(x_524); +x_525 = lean_ctor_get(x_523, 1); +lean_inc(x_525); +lean_dec(x_523); +x_526 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; +lean_inc(x_5); +x_527 = lean_name_mk_string(x_5, x_526); +x_528 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; +lean_inc(x_5); +x_529 = lean_name_mk_string(x_5, x_528); +x_530 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; +lean_inc(x_6); +x_531 = lean_name_mk_string(x_6, x_530); +x_532 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_518); +x_533 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_533, 0, x_518); +lean_ctor_set(x_533, 1, x_532); +x_534 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; +lean_inc(x_6); +x_535 = lean_name_mk_string(x_6, x_534); +x_536 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; +x_537 = lean_name_mk_string(x_7, x_536); +x_538 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; +x_539 = lean_name_mk_string(x_537, x_538); +x_540 = l_Nat_repr(x_18); +x_541 = l_Lean_numLitKind; +x_542 = lean_box(2); +x_543 = l_Lean_Syntax_mkLit(x_541, x_540, x_542); +x_544 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_545 = lean_array_push(x_544, x_543); +x_546 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_547 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_547, 0, x_546); +lean_ctor_set(x_547, 1, x_545); +x_548 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_549 = lean_array_push(x_548, x_27); +x_550 = lean_array_push(x_549, x_547); +x_551 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_551, 0, x_539); +lean_ctor_set(x_551, 1, x_550); +x_552 = lean_array_push(x_548, x_8); +x_553 = lean_array_push(x_552, x_551); +x_554 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_554, 0, x_535); +lean_ctor_set(x_554, 1, x_553); +x_555 = lean_array_push(x_544, x_554); +x_556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_556, 0, x_546); +lean_ctor_set(x_556, 1, x_555); +x_557 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_518); +x_558 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_558, 0, x_518); +lean_ctor_set(x_558, 1, x_557); +x_559 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_560 = lean_array_push(x_559, x_533); +x_561 = lean_array_push(x_560, x_556); +x_562 = lean_array_push(x_561, x_558); +x_563 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_563, 0, x_531); +lean_ctor_set(x_563, 1, x_562); +x_564 = lean_array_push(x_544, x_563); +x_565 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_565, 0, x_546); +lean_ctor_set(x_565, 1, x_564); +x_566 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_5); +x_567 = lean_name_mk_string(x_5, x_566); +lean_inc(x_518); +x_568 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_568, 0, x_518); +lean_ctor_set(x_568, 1, x_566); +x_569 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; +lean_inc(x_5); +x_570 = lean_name_mk_string(x_5, x_569); +x_571 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; +lean_inc(x_6); +x_572 = lean_name_mk_string(x_6, x_571); +x_573 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_518); +x_574 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_574, 0, x_518); +lean_ctor_set(x_574, 1, x_573); +x_575 = l_Lean_Elab_Term_toParserDescr_resolveParserName_match__1___rarg___closed__1; +lean_inc(x_9); +x_576 = lean_name_mk_string(x_9, x_575); +lean_inc(x_521); +lean_inc(x_576); +lean_inc(x_524); +x_577 = l_Lean_addMacroScope(x_524, x_576, x_521); +x_578 = lean_box(0); +x_579 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_579, 0, x_576); +lean_ctor_set(x_579, 1, x_578); +x_580 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_580, 0, x_579); +lean_ctor_set(x_580, 1, x_578); +x_581 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__8; +lean_inc(x_518); +x_582 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_582, 0, x_518); +lean_ctor_set(x_582, 1, x_581); +lean_ctor_set(x_582, 2, x_577); +lean_ctor_set(x_582, 3, x_580); +x_583 = lean_array_push(x_548, x_574); +x_584 = lean_array_push(x_583, x_582); +x_585 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_585, 0, x_572); +lean_ctor_set(x_585, 1, x_584); +x_586 = lean_array_push(x_544, x_585); +x_587 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_587, 0, x_546); +lean_ctor_set(x_587, 1, x_586); +x_588 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; +x_589 = lean_array_push(x_588, x_587); +x_590 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_590, 0, x_570); +lean_ctor_set(x_590, 1, x_589); +x_591 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; +x_592 = lean_name_mk_string(x_5, x_591); +x_593 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_518); +x_594 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_594, 0, x_518); +lean_ctor_set(x_594, 1, x_593); +x_595 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +lean_inc(x_6); +x_596 = lean_name_mk_string(x_6, x_595); +x_597 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__13; +x_598 = l_Lean_addMacroScope(x_524, x_597, x_521); +x_599 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; +x_600 = lean_name_mk_string(x_9, x_599); +x_601 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12; +x_602 = lean_name_mk_string(x_600, x_601); +x_603 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_603, 0, x_602); +lean_ctor_set(x_603, 1, x_578); +x_604 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_604, 0, x_603); +lean_ctor_set(x_604, 1, x_578); +x_605 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11; +x_606 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_606, 0, x_518); +lean_ctor_set(x_606, 1, x_605); +lean_ctor_set(x_606, 2, x_598); +lean_ctor_set(x_606, 3, x_604); +lean_inc(x_24); +x_607 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_578, x_24); +x_608 = l_Nat_repr(x_10); +x_609 = l_Lean_Syntax_mkLit(x_541, x_608, x_542); +x_610 = l_Nat_repr(x_516); +x_611 = l_Lean_Syntax_mkLit(x_541, x_610, x_542); +x_612 = lean_array_push(x_548, x_606); +x_613 = lean_array_push(x_559, x_594); +x_614 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_615 = lean_array_push(x_614, x_568); +x_616 = lean_array_push(x_615, x_360); +x_617 = lean_array_push(x_616, x_590); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_675; +x_675 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_618 = x_675; +goto block_674; +} +else +{ +lean_object* x_676; lean_object* x_677; +x_676 = lean_ctor_get(x_11, 0); +lean_inc(x_676); +lean_dec(x_11); +x_677 = lean_array_push(x_544, x_676); +x_618 = x_677; +goto block_674; +} +block_674: +{ +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; +x_619 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_620 = l_Array_append___rarg(x_619, x_618); +lean_dec(x_618); +x_621 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_621, 0, x_546); +lean_ctor_set(x_621, 1, x_620); +x_622 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_623 = lean_array_push(x_622, x_621); +x_624 = lean_array_push(x_623, x_565); +x_625 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_626 = lean_array_push(x_624, x_625); +x_627 = lean_array_push(x_626, x_625); +x_628 = lean_array_push(x_627, x_625); +x_629 = lean_array_push(x_628, x_625); +x_630 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_630, 0, x_529); +lean_ctor_set(x_630, 1, x_629); +x_631 = lean_array_push(x_548, x_630); +if (lean_obj_tag(x_607) == 0) +{ +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_dec(x_6); +x_632 = l___private_Init_Meta_0__Lean_quoteNameMk(x_24); +x_633 = lean_array_push(x_614, x_632); +x_634 = lean_array_push(x_633, x_609); +x_635 = lean_array_push(x_634, x_611); +x_636 = lean_array_push(x_635, x_358); +x_637 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_637, 0, x_546); +lean_ctor_set(x_637, 1, x_636); +x_638 = lean_array_push(x_612, x_637); +x_639 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_639, 0, x_596); +lean_ctor_set(x_639, 1, x_638); +x_640 = lean_array_push(x_613, x_639); +x_641 = lean_array_push(x_640, x_625); +x_642 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_642, 0, x_592); +lean_ctor_set(x_642, 1, x_641); +x_643 = lean_array_push(x_617, x_642); +x_644 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_644, 0, x_567); +lean_ctor_set(x_644, 1, x_643); +x_645 = lean_array_push(x_631, x_644); +x_646 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_646, 0, x_527); +lean_ctor_set(x_646, 1, x_645); +x_647 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_3, x_646, x_13, x_14, x_525); +return x_647; +} +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; 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_dec(x_24); +x_648 = lean_ctor_get(x_607, 0); +lean_inc(x_648); +lean_dec(x_607); +x_649 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__22; +x_650 = lean_name_mk_string(x_6, x_649); +x_651 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; +x_652 = l_String_intercalate(x_651, x_648); +x_653 = l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__9; +x_654 = lean_string_append(x_653, x_652); +lean_dec(x_652); +x_655 = l_Lean_nameLitKind; +x_656 = l_Lean_Syntax_mkLit(x_655, x_654, x_542); +x_657 = lean_array_push(x_544, x_656); +x_658 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_658, 0, x_650); +lean_ctor_set(x_658, 1, x_657); +x_659 = lean_array_push(x_614, x_658); +x_660 = lean_array_push(x_659, x_609); +x_661 = lean_array_push(x_660, x_611); +x_662 = lean_array_push(x_661, x_358); +x_663 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_663, 0, x_546); +lean_ctor_set(x_663, 1, x_662); +x_664 = lean_array_push(x_612, x_663); +x_665 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_665, 0, x_596); +lean_ctor_set(x_665, 1, x_664); +x_666 = lean_array_push(x_613, x_665); +x_667 = lean_array_push(x_666, x_625); +x_668 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_668, 0, x_592); +lean_ctor_set(x_668, 1, x_667); +x_669 = lean_array_push(x_617, x_668); +x_670 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_670, 0, x_567); +lean_ctor_set(x_670, 1, x_669); +x_671 = lean_array_push(x_631, x_670); +x_672 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_672, 0, x_527); +lean_ctor_set(x_672, 1, x_671); +x_673 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_3, x_672, x_13, x_14, x_525); +return x_673; +} +} +} +} +} +else +{ +uint8_t x_678; +lean_dec(x_27); +lean_dec(x_24); +lean_dec(x_18); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_678 = !lean_is_exclusive(x_36); +if (x_678 == 0) +{ +return x_36; +} +else +{ +lean_object* x_679; lean_object* x_680; lean_object* x_681; +x_679 = lean_ctor_get(x_36, 0); +x_680 = lean_ctor_get(x_36, 1); +lean_inc(x_680); +lean_inc(x_679); +lean_dec(x_36); +x_681 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_681, 0, x_679); +lean_ctor_set(x_681, 1, x_680); +return x_681; +} +} +} +else +{ +uint8_t x_682; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_639 = !lean_is_exclusive(x_33); -if (x_639 == 0) +x_682 = !lean_is_exclusive(x_17); +if (x_682 == 0) { -return x_33; +return x_17; } else { -lean_object* x_640; lean_object* x_641; lean_object* x_642; -x_640 = lean_ctor_get(x_33, 0); -x_641 = lean_ctor_get(x_33, 1); -lean_inc(x_641); -lean_inc(x_640); -lean_dec(x_33); -x_642 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_642, 0, x_640); -lean_ctor_set(x_642, 1, x_641); -return x_642; +lean_object* x_683; lean_object* x_684; lean_object* x_685; +x_683 = lean_ctor_get(x_17, 0); +x_684 = lean_ctor_get(x_17, 1); +lean_inc(x_684); +lean_inc(x_683); +lean_dec(x_17); +x_685 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_685, 0, x_683); +lean_ctor_set(x_685, 1, x_684); +return x_685; } } } } -} -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__5(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, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__5(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -if (lean_obj_tag(x_10) == 0) +if (lean_obj_tag(x_11) == 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; 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; -x_15 = lean_st_ref_get(x_13, x_14); -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); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Elab_Command_getScope___rarg(x_13, x_17); -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_ctor_get(x_20, 2); -lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_Elab_Command_getScope___rarg(x_13, x_21); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_ctor_get(x_24, 3); -lean_inc(x_26); -lean_dec(x_24); -lean_inc(x_18); -x_27 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_27, 0, x_18); -lean_inc(x_22); -x_28 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_28, 0, x_22); -lean_inc(x_18); -x_29 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_29, 0, x_18); -lean_inc(x_26); -lean_inc(x_22); -lean_inc(x_18); -x_30 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_30, 0, x_18); -lean_closure_set(x_30, 1, x_22); -lean_closure_set(x_30, 2, x_26); -lean_inc(x_18); -x_31 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_31, 0, x_18); -lean_closure_set(x_31, 1, x_22); -lean_closure_set(x_31, 2, x_26); -x_32 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_32, 0, x_27); -lean_ctor_set(x_32, 1, x_28); -lean_ctor_set(x_32, 2, x_29); -lean_ctor_set(x_32, 3, x_30); -lean_ctor_set(x_32, 4, x_31); -x_33 = x_32; -x_34 = l_Lean_Elab_Command_getRef(x_12, x_13, x_25); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_36); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_ctor_get(x_12, 2); -lean_inc(x_40); -x_41 = lean_st_ref_get(x_13, x_39); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_42, 4); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_st_ref_get(x_13, x_43); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_ctor_get(x_46, 3); -lean_inc(x_48); -lean_dec(x_46); -x_49 = lean_environment_main_module(x_18); -x_50 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_50, 0, x_33); -lean_ctor_set(x_50, 1, x_49); -lean_ctor_set(x_50, 2, x_38); -lean_ctor_set(x_50, 3, x_40); -lean_ctor_set(x_50, 4, x_44); -lean_ctor_set(x_50, 5, x_35); -x_51 = lean_box(0); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_48); -lean_ctor_set(x_52, 1, x_51); -lean_inc(x_1); -x_53 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_1, x_3, x_50, x_52); -if (lean_obj_tag(x_53) == 0) +lean_object* x_16; lean_object* x_17; +lean_inc(x_4); +lean_inc(x_2); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkNameFromParserSyntax___boxed), 4, 2); +lean_closure_set(x_16, 0, x_2); +lean_closure_set(x_16, 1, x_4); +lean_inc(x_13); +x_17 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__5(x_16, x_13, x_14, x_15); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_st_ref_take(x_13, x_47); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = !lean_is_exclusive(x_58); -if (x_60 == 0) -{ -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_61 = lean_ctor_get(x_58, 3); -lean_dec(x_61); -lean_ctor_set(x_58, 3, x_56); -x_62 = lean_st_ref_set(x_13, x_58, x_59); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_64 = lean_ctor_get(x_55, 1); -lean_inc(x_64); -lean_dec(x_55); -x_65 = l_List_reverse___rarg(x_64); -x_66 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_65, x_12, x_13, x_63); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -x_68 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11, x_9, x_54, x_12, x_13, x_67); -return x_68; +lean_object* x_18; lean_object* x_19; lean_object* x_20; +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 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12, x_10, x_18, x_13, x_14, x_19); +return x_20; } else { -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; -x_69 = lean_ctor_get(x_58, 0); -x_70 = lean_ctor_get(x_58, 1); -x_71 = lean_ctor_get(x_58, 2); -x_72 = lean_ctor_get(x_58, 4); -x_73 = lean_ctor_get(x_58, 5); -x_74 = lean_ctor_get(x_58, 6); -x_75 = lean_ctor_get(x_58, 7); -x_76 = lean_ctor_get(x_58, 8); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_inc(x_73); -lean_inc(x_72); -lean_inc(x_71); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_58); -x_77 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_77, 0, x_69); -lean_ctor_set(x_77, 1, x_70); -lean_ctor_set(x_77, 2, x_71); -lean_ctor_set(x_77, 3, x_56); -lean_ctor_set(x_77, 4, x_72); -lean_ctor_set(x_77, 5, x_73); -lean_ctor_set(x_77, 6, x_74); -lean_ctor_set(x_77, 7, x_75); -lean_ctor_set(x_77, 8, x_76); -x_78 = lean_st_ref_set(x_13, x_77, x_59); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_ctor_get(x_55, 1); -lean_inc(x_80); -lean_dec(x_55); -x_81 = l_List_reverse___rarg(x_80); -x_82 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_81, x_12, x_13, x_79); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11, x_9, x_54, x_12, x_13, x_83); -return x_84; -} -} -else -{ -lean_object* x_85; -lean_dec(x_11); +uint8_t x_21; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17222,319 +17569,83 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_85 = lean_ctor_get(x_53, 0); -lean_inc(x_85); -lean_dec(x_53); -if (lean_obj_tag(x_85) == 0) +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -x_88 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_88, 0, x_87); -x_89 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_90 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__4(x_86, x_89, x_12, x_13, x_47); -lean_dec(x_13); -lean_dec(x_86); -x_91 = !lean_is_exclusive(x_90); -if (x_91 == 0) -{ -return x_90; +return x_17; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_90, 0); -x_93 = lean_ctor_get(x_90, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_90); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; -} -} -else -{ -lean_object* x_95; uint8_t x_96; -lean_dec(x_13); -lean_dec(x_12); -x_95 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___rarg(x_47); -x_96 = !lean_is_exclusive(x_95); -if (x_96 == 0) -{ -return x_95; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_95, 0); -x_98 = lean_ctor_get(x_95, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_95); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_10, 0); -x_101 = l_Lean_Syntax_getId(x_100); -x_102 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11, x_9, x_101, x_12, x_13, x_14); -return x_102; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_11, 0); +x_26 = l_Lean_Syntax_getId(x_25); +x_27 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12, x_10, x_26, x_13, x_14, x_15); +return x_27; } } } -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6(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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_16 = l_Lean_nullKind; -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_1); -lean_inc(x_17); -x_18 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax(x_17); -if (x_18 == 0) +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = l_Lean_nullKind; +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_1); +lean_inc(x_18); +x_19 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax(x_18); +if (x_19 == 0) { -if (lean_obj_tag(x_11) == 0) +if (lean_obj_tag(x_12) == 0) { -lean_object* x_106; lean_object* x_107; -x_106 = l_Lean_Parser_leadPrec; -x_107 = l_Lean_Elab_Command_elabSyntax___lambda__5(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_106, x_13, x_14, x_15); -return x_107; +lean_object* x_20; lean_object* x_21; +x_20 = l_Lean_Parser_leadPrec; +x_21 = l_Lean_Elab_Command_elabSyntax___lambda__5(x_2, x_3, x_4, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20, x_14, x_15, x_16); +return x_21; } else { -lean_object* x_108; -x_108 = lean_ctor_get(x_11, 0); -lean_inc(x_108); -lean_dec(x_11); -x_19 = x_108; -goto block_105; -} -} -else -{ -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_109; lean_object* x_110; -x_109 = l_Lean_Parser_maxPrec; -x_110 = l_Lean_Elab_Command_elabSyntax___lambda__5(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_109, x_13, x_14, x_15); -return x_110; -} -else -{ -lean_object* x_111; -x_111 = lean_ctor_get(x_11, 0); -lean_inc(x_111); -lean_dec(x_11); -x_19 = x_111; -goto block_105; -} -} -block_105: -{ -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; -x_20 = lean_st_ref_get(x_14, x_15); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_12, 0); lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_ctor_get(x_21, 0); -lean_inc(x_23); -lean_dec(x_21); -x_24 = l_Lean_Elab_Command_getScope___rarg(x_14, x_22); +lean_dec(x_12); +x_23 = lean_alloc_closure((void*)(l_Lean_evalPrec), 3, 1); +lean_closure_set(x_23, 0, x_22); +lean_inc(x_14); +x_24 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__1(x_23, x_14, x_15, x_16); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; 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_ctor_get(x_25, 2); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Elab_Command_getScope___rarg(x_14, x_26); -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_ctor_get(x_29, 3); -lean_inc(x_31); -lean_dec(x_29); -lean_inc(x_23); -x_32 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_32, 0, x_23); -lean_inc(x_27); -x_33 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_33, 0, x_27); -lean_inc(x_23); -x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_34, 0, x_23); -lean_inc(x_31); -lean_inc(x_27); -lean_inc(x_23); -x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_35, 0, x_23); -lean_closure_set(x_35, 1, x_27); -lean_closure_set(x_35, 2, x_31); -lean_inc(x_23); -x_36 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_36, 0, x_23); -lean_closure_set(x_36, 1, x_27); -lean_closure_set(x_36, 2, x_31); -x_37 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_37, 0, x_32); -lean_ctor_set(x_37, 1, x_33); -lean_ctor_set(x_37, 2, x_34); -lean_ctor_set(x_37, 3, x_35); -lean_ctor_set(x_37, 4, x_36); -x_38 = x_37; -x_39 = l_Lean_Elab_Command_getRef(x_13, x_14, x_30); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Elab_Command_getCurrMacroScope(x_13, x_14, x_41); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_ctor_get(x_13, 2); -lean_inc(x_45); -x_46 = lean_st_ref_get(x_14, x_44); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = lean_ctor_get(x_47, 4); -lean_inc(x_49); -lean_dec(x_47); -x_50 = lean_st_ref_get(x_14, x_48); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 3); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_environment_main_module(x_23); -x_55 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_55, 0, x_38); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_55, 2, x_43); -lean_ctor_set(x_55, 3, x_45); -lean_ctor_set(x_55, 4, x_49); -lean_ctor_set(x_55, 5, x_40); -x_56 = lean_box(0); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_53); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_evalPrec(x_19, x_55, x_57); -if (lean_obj_tag(x_58) == 0) -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_st_ref_take(x_14, x_52); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = !lean_is_exclusive(x_63); -if (x_65 == 0) -{ -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; -x_66 = lean_ctor_get(x_63, 3); -lean_dec(x_66); -lean_ctor_set(x_63, 3, x_61); -x_67 = lean_st_ref_set(x_14, x_63, x_64); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_ctor_get(x_60, 1); -lean_inc(x_69); -lean_dec(x_60); -x_70 = l_List_reverse___rarg(x_69); -x_71 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_70, x_13, x_14, x_68); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_73 = l_Lean_Elab_Command_elabSyntax___lambda__5(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_59, x_13, x_14, x_72); -return x_73; +x_27 = l_Lean_Elab_Command_elabSyntax___lambda__5(x_2, x_3, x_4, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25, x_14, x_15, x_26); +return x_27; } else { -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; -x_74 = lean_ctor_get(x_63, 0); -x_75 = lean_ctor_get(x_63, 1); -x_76 = lean_ctor_get(x_63, 2); -x_77 = lean_ctor_get(x_63, 4); -x_78 = lean_ctor_get(x_63, 5); -x_79 = lean_ctor_get(x_63, 6); -x_80 = lean_ctor_get(x_63, 7); -x_81 = lean_ctor_get(x_63, 8); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_63); -x_82 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_82, 0, x_74); -lean_ctor_set(x_82, 1, x_75); -lean_ctor_set(x_82, 2, x_76); -lean_ctor_set(x_82, 3, x_61); -lean_ctor_set(x_82, 4, x_77); -lean_ctor_set(x_82, 5, x_78); -lean_ctor_set(x_82, 6, x_79); -lean_ctor_set(x_82, 7, x_80); -lean_ctor_set(x_82, 8, x_81); -x_83 = lean_st_ref_set(x_14, x_82, x_64); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_85 = lean_ctor_get(x_60, 1); -lean_inc(x_85); -lean_dec(x_60); -x_86 = l_List_reverse___rarg(x_85); -x_87 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_86, x_13, x_14, x_84); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_89 = l_Lean_Elab_Command_elabSyntax___lambda__5(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_59, x_13, x_14, x_88); -return x_89; -} -} -else -{ -lean_object* x_90; -lean_dec(x_17); +uint8_t x_28; +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17543,66 +17654,89 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_90 = lean_ctor_get(x_58, 0); -lean_inc(x_90); -lean_dec(x_58); -if (lean_obj_tag(x_90) == 0) +x_28 = !lean_is_exclusive(x_24); +if (x_28 == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_93, 0, x_92); -x_94 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_94, 0, x_93); -x_95 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_91, x_94, x_13, x_14, x_52); +return x_24; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_24, 0); +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +else +{ +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = l_Lean_Parser_maxPrec; +x_33 = l_Lean_Elab_Command_elabSyntax___lambda__5(x_2, x_3, x_4, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_32, x_14, x_15, x_16); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_12, 0); +lean_inc(x_34); +lean_dec(x_12); +x_35 = lean_alloc_closure((void*)(l_Lean_evalPrec), 3, 1); +lean_closure_set(x_35, 0, x_34); +lean_inc(x_14); +x_36 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__1(x_35, x_14, x_15, x_16); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Elab_Command_elabSyntax___lambda__5(x_2, x_3, x_4, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37, x_14, x_15, x_38); +return x_39; +} +else +{ +uint8_t x_40; +lean_dec(x_18); +lean_dec(x_15); lean_dec(x_14); -lean_dec(x_91); -x_96 = !lean_is_exclusive(x_95); -if (x_96 == 0) +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_40 = !lean_is_exclusive(x_36); +if (x_40 == 0) { -return x_95; +return x_36; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_95, 0); -x_98 = lean_ctor_get(x_95, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_95); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} -} -else -{ -lean_object* x_100; uint8_t x_101; -lean_dec(x_14); -lean_dec(x_13); -x_100 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_52); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) -{ -return x_100; -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_100, 0); -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_100); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_36, 0); +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_36); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } @@ -17634,105 +17768,107 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7(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, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_unsigned_to_nat(5u); -x_16 = l_Lean_Syntax_getArg(x_1, x_15); -x_17 = l_Lean_Syntax_getArgs(x_16); -lean_dec(x_16); -x_18 = l_Lean_Elab_Command_elabSyntax___lambda__7___closed__1; -x_19 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_17, x_18); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_unsigned_to_nat(6u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +x_18 = l_Lean_Syntax_getArgs(x_17); lean_dec(x_17); -if (lean_obj_tag(x_19) == 0) +x_19 = l_Lean_Elab_Command_elabSyntax___lambda__7___closed__1; +x_20 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__1(x_18, x_19); +lean_dec(x_18); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; +lean_object* x_21; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_20 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_14); -return x_20; +x_21 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_15); +return x_21; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_unsigned_to_nat(7u); -x_23 = l_Lean_Syntax_getArg(x_1, x_22); -x_24 = l_Lean_Syntax_getId(x_23); -x_25 = lean_erase_macro_scopes(x_24); -x_26 = lean_st_ref_get(x_13, x_14); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +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 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_unsigned_to_nat(8u); +x_24 = l_Lean_Syntax_getArg(x_1, x_23); +x_25 = l_Lean_Syntax_getId(x_24); +x_26 = lean_erase_macro_scopes(x_25); +x_27 = lean_st_ref_get(x_14, x_15); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_ctor_get(x_27, 0); +x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = l_Lean_Parser_isParserCategory(x_29, x_25); -lean_dec(x_29); -if (x_30 == 0) +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l_Lean_Parser_isParserCategory(x_30, x_26); +lean_dec(x_30); +if (x_31 == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_9); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_31 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_31, 0, x_25); -x_32 = l_Lean_Elab_Command_elabSyntax___lambda__7___closed__3; -x_33 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -x_34 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6(x_23, x_35, x_12, x_13, x_28); -lean_dec(x_13); -lean_dec(x_23); -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) +x_32 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_32, 0, x_26); +x_33 = l_Lean_Elab_Command_elabSyntax___lambda__7___closed__3; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__8(x_24, x_36, x_13, x_14, x_29); +lean_dec(x_14); +lean_dec(x_24); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -return x_36; +return x_37; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_ctor_get(x_36, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_37, 0); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_36); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_dec(x_37); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } else { -lean_object* x_41; lean_object* x_42; -lean_dec(x_23); -x_41 = lean_box(0); -x_42 = l_Lean_Elab_Command_elabSyntax___lambda__6(x_21, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_11, x_8, x_9, x_41, x_12, x_13, x_28); -return x_42; +lean_object* x_42; lean_object* x_43; +lean_dec(x_24); +x_42 = lean_box(0); +x_43 = l_Lean_Elab_Command_elabSyntax___lambda__6(x_22, x_12, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_42, x_13, x_14, x_29); +return x_43; } } } @@ -17745,7 +17881,100 @@ x_1 = lean_mk_string("namedPrio"); return x_1; } } -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__8(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, lean_object* x_13) { +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__8(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, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_unsigned_to_nat(5u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +x_17 = l_Lean_Syntax_isNone(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = l_Lean_nullKind; +x_19 = lean_unsigned_to_nat(1u); +lean_inc(x_16); +x_20 = l_Lean_Syntax_isNodeOf(x_16, x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_16); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_21 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_14); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Syntax_getArg(x_16, x_22); +lean_dec(x_16); +x_24 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; +lean_inc(x_3); +x_25 = lean_name_mk_string(x_3, x_24); +lean_inc(x_23); +x_26 = l_Lean_Syntax_isOfKind(x_23, x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +lean_dec(x_23); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_27 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_14); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_unsigned_to_nat(3u); +x_29 = l_Lean_Syntax_getArg(x_23, x_28); +lean_dec(x_23); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_box(0); +x_32 = l_Lean_Elab_Command_elabSyntax___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11, x_9, x_31, x_30, x_12, x_13, x_14); +return x_32; +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_16); +x_33 = lean_box(0); +x_34 = lean_box(0); +x_35 = l_Lean_Elab_Command_elabSyntax___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11, x_9, x_34, x_33, x_12, x_13, x_14); +return x_35; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedName"); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__9(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, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -17765,6 +17994,7 @@ lean_object* x_20; lean_dec(x_15); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -17781,7 +18011,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint x_21 = lean_unsigned_to_nat(0u); x_22 = l_Lean_Syntax_getArg(x_15, x_21); lean_dec(x_15); -x_23 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; +x_23 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; lean_inc(x_3); x_24 = lean_name_mk_string(x_3, x_23); lean_inc(x_22); @@ -17793,6 +18023,7 @@ lean_object* x_26; lean_dec(x_22); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -17812,7 +18043,8 @@ lean_dec(x_22); x_29 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_29, 0, x_28); x_30 = lean_box(0); -x_31 = l_Lean_Elab_Command_elabSyntax___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_8, x_30, x_29, x_11, x_12, x_13); +x_31 = l_Lean_Elab_Command_elabSyntax___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_30, x_29, x_11, x_12, x_13); +lean_dec(x_29); return x_31; } } @@ -17823,99 +18055,127 @@ lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_dec(x_15); x_32 = lean_box(0); x_33 = lean_box(0); -x_34 = l_Lean_Elab_Command_elabSyntax___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_8, x_33, x_32, x_11, x_12, x_13); +x_34 = l_Lean_Elab_Command_elabSyntax___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_33, x_32, x_11, x_12, x_13); return x_34; } } } -static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("namedName"); +x_1 = lean_mk_string("precedence"); return x_1; } } -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__9(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) { +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__10(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) { _start: { -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_unsigned_to_nat(3u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = l_Lean_Syntax_isNone(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = l_Lean_nullKind; -x_17 = lean_unsigned_to_nat(1u); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; +lean_inc(x_2); +x_14 = lean_name_mk_string(x_2, x_13); +x_15 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; lean_inc(x_14); -x_18 = l_Lean_Syntax_isNodeOf(x_14, x_16, x_17); -if (x_18 == 0) +x_16 = lean_name_mk_string(x_14, x_15); +lean_inc(x_12); +x_17 = l_Lean_Syntax_isOfKind(x_12, x_16); +lean_dec(x_16); +if (x_17 == 0) { -lean_object* x_19; +lean_object* x_18; lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_10); +lean_dec(x_12); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_19 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_12); -return x_19; +x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_10); +return x_18; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_20 = lean_unsigned_to_nat(0u); -x_21 = l_Lean_Syntax_getArg(x_14, x_20); -lean_dec(x_14); -x_22 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; -lean_inc(x_3); -x_23 = lean_name_mk_string(x_3, x_22); -lean_inc(x_21); -x_24 = l_Lean_Syntax_isOfKind(x_21, x_23); -lean_dec(x_23); -if (x_24 == 0) +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_unsigned_to_nat(3u); +x_20 = l_Lean_Syntax_getArg(x_1, x_19); +x_21 = l_Lean_Syntax_isNone(x_20); +if (x_21 == 0) { -lean_object* x_25; -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); +lean_object* x_22; uint8_t x_23; +x_22 = l_Lean_nullKind; +lean_inc(x_20); +x_23 = l_Lean_Syntax_isNodeOf(x_20, x_22, x_11); +if (x_23 == 0) +{ +lean_object* x_24; +lean_dec(x_20); +lean_dec(x_14); +lean_dec(x_12); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_25 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_12); -return x_25; +x_24 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_10); +return x_24; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_26 = l_Lean_Syntax_getArg(x_21, x_13); -lean_dec(x_21); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -x_28 = lean_box(0); -x_29 = l_Lean_Elab_Command_elabSyntax___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_28, x_27, x_10, x_11, x_12); -lean_dec(x_27); -return x_29; -} -} -} -else +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_25 = lean_unsigned_to_nat(0u); +x_26 = l_Lean_Syntax_getArg(x_20, x_25); +lean_dec(x_20); +x_27 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; +lean_inc(x_2); +x_28 = lean_name_mk_string(x_2, x_27); +lean_inc(x_26); +x_29 = l_Lean_Syntax_isOfKind(x_26, x_28); +lean_dec(x_28); +if (x_29 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_object* x_30; +lean_dec(x_26); lean_dec(x_14); -x_30 = lean_box(0); -x_31 = lean_box(0); -x_32 = l_Lean_Elab_Command_elabSyntax___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_31, x_30, x_10, x_11, x_12); -return x_32; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_30 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_10); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = l_Lean_Syntax_getArg(x_26, x_11); +lean_dec(x_26); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Command_elabSyntax___lambda__9(x_1, x_3, x_4, x_14, x_2, x_12, x_5, x_7, x_33, x_32, x_8, x_9, x_10); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_20); +x_35 = lean_box(0); +x_36 = lean_box(0); +x_37 = l_Lean_Elab_Command_elabSyntax___lambda__9(x_1, x_3, x_4, x_14, x_2, x_12, x_5, x_7, x_36, x_35, x_8, x_9, x_10); +return x_37; +} } } } @@ -17941,7 +18201,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabSyntax___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("precedence"); +x_1 = lean_mk_string("docComment"); return x_1; } } @@ -17949,7 +18209,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabSyntax___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; x_2 = l_Lean_Elab_Command_elabSyntax___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -17973,150 +18233,114 @@ return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_object* x_8; lean_object* x_9; uint8_t x_10; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_nullKind; +x_12 = lean_unsigned_to_nat(1u); lean_inc(x_9); -x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); -if (x_11 == 0) +x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); +if (x_13 == 0) { -lean_object* x_12; +lean_object* x_14; lean_dec(x_9); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_4); -return x_12; +x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_4); +return x_14; } else { -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_unsigned_to_nat(2u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = l_Lean_Syntax_isNone(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = l_Lean_nullKind; -x_17 = lean_unsigned_to_nat(1u); -lean_inc(x_14); -x_18 = l_Lean_Syntax_isNodeOf(x_14, x_16, x_17); -if (x_18 == 0) -{ -lean_object* x_19; -lean_dec(x_14); +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_Syntax_getArg(x_9, x_8); lean_dec(x_9); +x_16 = l_Lean_Elab_Command_elabSyntax___closed__4; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_15); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_19 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_4); -return x_19; +x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_4); +return x_18; } else { -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = l_Lean_Syntax_getArg(x_14, x_8); -lean_dec(x_14); -x_21 = l_Lean_Elab_Command_elabSyntax___closed__4; -lean_inc(x_20); -x_22 = l_Lean_Syntax_isOfKind(x_20, x_21); -if (x_22 == 0) -{ -lean_object* x_23; -lean_dec(x_20); -lean_dec(x_9); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_23 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_4); -return x_23; -} -else -{ -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; -x_24 = l_Lean_Syntax_getArg(x_20, x_17); -lean_dec(x_20); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_27 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_28 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_29 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; -x_30 = lean_box(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; +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_15); +x_20 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_21 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_22 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; +x_23 = lean_box(0); lean_inc(x_1); -x_31 = l_Lean_Elab_Command_elabSyntax___lambda__9(x_1, x_1, x_26, x_27, x_28, x_9, x_29, x_30, x_25, x_2, x_3, x_4); +x_24 = l_Lean_Elab_Command_elabSyntax___lambda__10(x_1, x_20, x_1, x_21, x_22, x_23, x_19, x_2, x_3, x_4); lean_dec(x_1); -return x_31; +return x_24; } } } else { -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_dec(x_14); -x_32 = lean_box(0); -x_33 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_34 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_35 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_36 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; -x_37 = lean_box(0); +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_dec(x_9); +x_25 = lean_box(0); +x_26 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_27 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_28 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; +x_29 = lean_box(0); lean_inc(x_1); -x_38 = l_Lean_Elab_Command_elabSyntax___lambda__9(x_1, x_1, x_33, x_34, x_35, x_9, x_36, x_37, x_32, x_2, x_3, x_4); +x_30 = l_Lean_Elab_Command_elabSyntax___lambda__10(x_1, x_26, x_1, x_27, x_28, x_29, x_25, x_2, x_3, x_4); lean_dec(x_1); -return x_38; +return x_30; } } } } -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__3___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_throwError___at_Lean_Elab_Command_elabSyntax___spec__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at_Lean_Elab_Command_elabSyntax___spec__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__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_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__2(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_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__4___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3(x_1, x_2); +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__4(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_6; -x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__4(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_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; +lean_object* x_5; +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; } } lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -18129,6 +18353,35 @@ lean_dec(x_1); return x_6; } } +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__7___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__7(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__5(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__8___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_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__8(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_Command_elabSyntax___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -18138,55 +18391,65 @@ lean_dec(x_1); return x_12; } } -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__5___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, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; -x_15 = l_Lean_Elab_Command_elabSyntax___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_10); -return x_15; -} -} -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* 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* l_Lean_Elab_Command_elabSyntax___lambda__5___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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; -x_16 = l_Lean_Elab_Command_elabSyntax___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_12); -lean_dec(x_10); +x_16 = l_Lean_Elab_Command_elabSyntax___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_11); return x_16; } } -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7___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, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* 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) { +_start: +{ +lean_object* x_17; +x_17 = l_Lean_Elab_Command_elabSyntax___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_13); +lean_dec(x_11); +return x_17; +} +} +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7___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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_Lean_Elab_Command_elabSyntax___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_1); +return x_16; +} +} +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__8___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, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Lean_Elab_Command_elabSyntax___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Lean_Elab_Command_elabSyntax___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_8); lean_dec(x_1); return x_15; } } -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__8___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, lean_object* x_13) { +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__9___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, lean_object* x_13) { _start: { lean_object* x_14; -x_14 = l_Lean_Elab_Command_elabSyntax___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_10); +x_14 = l_Lean_Elab_Command_elabSyntax___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_9); lean_dec(x_1); return x_14; } } -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__9___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) { +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__10___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) { _start: { -lean_object* x_13; -x_13 = l_Lean_Elab_Command_elabSyntax___lambda__9(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_8); +lean_object* x_11; +x_11 = l_Lean_Elab_Command_elabSyntax___lambda__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_6); lean_dec(x_1); -return x_13; +return x_11; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1() { @@ -19088,7 +19351,131 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRulesAux_match__1_ return x_2; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg), 1, 0); +return x_3; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__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; 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; uint8_t x_14; +x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_2, 4); +lean_inc(x_8); +lean_inc(x_8); +x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); +lean_dec(x_6); +x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); +lean_dec(x_2); +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set_tag(x_13, 1); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__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_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_replaceRef(x_1, x_7); +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_3, 6); +lean_dec(x_11); +lean_ctor_set(x_3, 6, x_9); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(x_2, x_3, x_4, x_8); +return x_12; +} +else +{ +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; +x_13 = lean_ctor_get(x_3, 0); +x_14 = lean_ctor_get(x_3, 1); +x_15 = lean_ctor_get(x_3, 2); +x_16 = lean_ctor_get(x_3, 3); +x_17 = lean_ctor_get(x_3, 4); +x_18 = lean_ctor_get(x_3, 5); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_3); +x_19 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_14); +lean_ctor_set(x_19, 2, x_15); +lean_ctor_set(x_19, 3, x_16); +lean_ctor_set(x_19, 4, x_17); +lean_ctor_set(x_19, 5, x_18); +lean_ctor_set(x_19, 6, x_9); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(x_2, x_19, x_4, x_8); +return x_20; +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { _start: { uint8_t x_7; @@ -19134,33 +19521,33 @@ return x_16; } } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___rarg), 1, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___rarg), 1, 0); return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_inc(x_1); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -19168,7 +19555,7 @@ x_1 = lean_mk_string(","); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2() { _start: { lean_object* x_1; @@ -19176,7 +19563,7 @@ x_1 = lean_mk_string("=>"); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -19184,16 +19571,16 @@ x_1 = lean_mk_string("invalid macro_rules alternative, unexpected syntax node ki return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -19205,7 +19592,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__6() { _start: { lean_object* x_1; @@ -19213,7 +19600,7 @@ x_1 = lean_box(0); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__7() { _start: { lean_object* x_1; @@ -19221,16 +19608,16 @@ x_1 = lean_mk_string("invalid macro_rules alternative, expected syntax node kind return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__8() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_59; lean_object* x_60; uint8_t x_61; @@ -19255,7 +19642,7 @@ lean_dec(x_2); lean_dec(x_1); x_64 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_64, 0, x_60); -x_65 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_65 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__4; x_66 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); @@ -19263,7 +19650,7 @@ x_67 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolvePars x_68 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_68, 0, x_66); lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_6, x_68, x_8, x_9, x_10); +x_69 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_6, x_68, x_8, x_9, x_10); lean_dec(x_6); return x_69; } @@ -19277,8 +19664,8 @@ x_71 = lean_array_get_size(x_70); x_72 = lean_usize_of_nat(x_71); lean_dec(x_71); x_73 = 0; -x_74 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5; -x_75 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(x_5, x_74, x_70, x_72, x_73, x_74); +x_74 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5; +x_75 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__4(x_5, x_74, x_70, x_72, x_73, x_74); lean_dec(x_70); x_76 = lean_ctor_get(x_75, 0); lean_inc(x_76); @@ -19292,7 +19679,7 @@ lean_dec(x_2); lean_dec(x_1); x_77 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_77, 0, x_5); -x_78 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__8; +x_78 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__8; x_79 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -19300,7 +19687,7 @@ x_80 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolvePars x_81 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_81, 0, x_79); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_6, x_81, x_8, x_9, x_10); +x_82 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_6, x_81, x_8, x_9, x_10); lean_dec(x_6); return x_82; } @@ -19363,7 +19750,7 @@ lean_inc(x_17); x_25 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_25, 0, x_17); lean_ctor_set(x_25, 1, x_24); -x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; +x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1; x_27 = l_Lean_Syntax_SepArray_ofElems(x_26, x_15); lean_dec(x_15); x_28 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; @@ -19373,7 +19760,7 @@ x_30 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_ 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 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_32 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_17); lean_ctor_set(x_33, 1, x_32); @@ -19399,7 +19786,7 @@ lean_inc(x_17); x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_17); lean_ctor_set(x_42, 1, x_41); -x_43 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; +x_43 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1; x_44 = l_Lean_Syntax_SepArray_ofElems(x_43, x_15); lean_dec(x_15); x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; @@ -19409,7 +19796,7 @@ x_47 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_ 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_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_49 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_17); lean_ctor_set(x_50, 1, x_49); @@ -19429,7 +19816,7 @@ return x_57; } } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1() { _start: { lean_object* x_1; @@ -19437,17 +19824,17 @@ x_1 = lean_mk_string("matchAlt"); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__1; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; @@ -19470,7 +19857,7 @@ x_11 = lean_array_uget(x_4, x_3); x_12 = lean_unsigned_to_nat(0u); x_13 = lean_array_uset(x_4, x_3, x_12); x_14 = x_11; -x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; lean_inc(x_14); x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); if (x_16 == 0) @@ -19480,7 +19867,7 @@ lean_dec(x_14); lean_dec(x_13); lean_dec(x_5); lean_dec(x_1); -x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_7); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_7); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -19522,7 +19909,7 @@ lean_dec(x_14); lean_dec(x_13); lean_dec(x_5); lean_dec(x_1); -x_30 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___rarg(x_7); +x_30 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___rarg(x_7); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) { @@ -19548,7 +19935,7 @@ lean_object* x_35; lean_object* x_36; x_35 = lean_box(0); lean_inc(x_5); lean_inc(x_1); -x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2(x_28, x_26, x_25, x_15, x_1, x_14, x_35, x_5, x_6, x_7); +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2(x_28, x_26, x_25, x_15, x_1, x_14, x_35, x_5, x_6, x_7); if (lean_obj_tag(x_36) == 0) { lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; @@ -19986,6 +20373,37 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__40() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_2 = l_Array_append___rarg(x_1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__40; +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; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__42() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1() { _start: { @@ -19995,554 +20413,658 @@ x_2 = lean_box_usize(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_elabMacroRulesAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_Command_elabMacroRulesAux(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_7; size_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_7 = lean_array_get_size(x_3); -x_8 = lean_usize_of_nat(x_7); -lean_dec(x_7); -x_9 = x_3; -x_10 = lean_box_usize(x_8); -x_11 = l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1; -lean_inc(x_2); -x_12 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___boxed), 7, 4); -lean_closure_set(x_12, 0, x_2); -lean_closure_set(x_12, 1, x_10); -lean_closure_set(x_12, 2, x_11); -lean_closure_set(x_12, 3, x_9); -x_13 = x_12; +lean_object* x_8; size_t 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; +x_8 = lean_array_get_size(x_4); +x_9 = lean_usize_of_nat(x_8); +lean_dec(x_8); +x_10 = x_4; +x_11 = lean_box_usize(x_9); +x_12 = l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1; +lean_inc(x_3); +x_13 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___boxed), 7, 4); +lean_closure_set(x_13, 0, x_3); +lean_closure_set(x_13, 1, x_11); +lean_closure_set(x_13, 2, x_12); +lean_closure_set(x_13, 3, x_10); +x_14 = x_13; +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_14 = lean_apply_3(x_13, x_4, x_5, x_6); -if (lean_obj_tag(x_14) == 0) +x_15 = lean_apply_3(x_14, x_5, x_6, x_7); +if (lean_obj_tag(x_15) == 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; uint8_t x_24; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +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; uint8_t x_25; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_4, x_5, x_16); -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 = l_Lean_Elab_Command_getCurrMacroScope(x_4, x_5, x_19); -lean_dec(x_4); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_Elab_Command_getMainModule___rarg(x_5, x_22); -lean_dec(x_5); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_25 = lean_ctor_get(x_23, 0); -x_26 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_18); -x_27 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_27, 0, x_18); -lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -lean_inc(x_18); -x_29 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_29, 0, x_18); -lean_ctor_set(x_29, 1, x_28); -x_30 = lean_mk_syntax_ident(x_2); -x_31 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_32 = lean_array_push(x_31, x_29); -x_33 = lean_array_push(x_32, x_30); -x_34 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = lean_array_push(x_31, x_1); -x_37 = lean_array_push(x_36, x_35); -x_38 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -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_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_41 = lean_array_push(x_40, x_39); -x_42 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -x_44 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_18); -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_18); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_47 = lean_array_push(x_46, x_27); -x_48 = lean_array_push(x_47, x_43); -x_49 = lean_array_push(x_48, x_45); -x_50 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = lean_array_push(x_40, x_51); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_42); -lean_ctor_set(x_53, 1, x_52); -x_54 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_55 = lean_array_push(x_54, x_53); -x_56 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_57 = lean_array_push(x_55, x_56); -x_58 = lean_array_push(x_57, x_56); -x_59 = lean_array_push(x_58, x_56); -x_60 = lean_array_push(x_59, x_56); -x_61 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -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 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_18); -x_64 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_64, 0, x_18); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; -lean_inc(x_21); -lean_inc(x_25); -x_66 = l_Lean_addMacroScope(x_25, x_65, x_21); -x_67 = lean_box(0); -x_68 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; -lean_inc(x_18); -x_69 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_69, 0, x_18); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set(x_69, 2, x_66); -lean_ctor_set(x_69, 3, x_67); -x_70 = lean_array_push(x_31, x_69); -x_71 = lean_array_push(x_70, x_56); -x_72 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -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 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_18); -x_75 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_75, 0, x_18); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -lean_inc(x_21); -lean_inc(x_25); -x_77 = l_Lean_addMacroScope(x_25, x_76, x_21); -x_78 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_79 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; -lean_inc(x_18); -x_80 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_80, 0, x_18); -lean_ctor_set(x_80, 1, x_78); -lean_ctor_set(x_80, 2, x_77); -lean_ctor_set(x_80, 3, x_79); -x_81 = lean_array_push(x_31, x_75); -x_82 = lean_array_push(x_81, x_80); -x_83 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_82); -x_85 = lean_array_push(x_40, x_84); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_42); -lean_ctor_set(x_86, 1, x_85); -x_87 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_88 = lean_array_push(x_87, x_86); -x_89 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -x_91 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_18); -x_92 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_92, 0, x_18); -lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_18); -x_94 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_94, 0, x_18); -lean_ctor_set(x_94, 1, x_93); -x_95 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_96 = l_Array_append___rarg(x_95, x_15); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); lean_dec(x_15); -x_97 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_18); -x_98 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_98, 0, x_18); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_5, x_6, x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Elab_Command_getCurrMacroScope(x_5, x_6, x_20); +lean_dec(x_5); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_Elab_Command_getMainModule___rarg(x_6, x_23); +lean_dec(x_6); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_26 = lean_ctor_get(x_24, 0); +x_27 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_19); +x_28 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_28, 0, x_19); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; +lean_inc(x_19); +x_30 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_30, 0, x_19); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_mk_syntax_ident(x_3); +x_32 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_33 = lean_array_push(x_32, x_30); +x_34 = lean_array_push(x_33, x_31); +x_35 = l_Lean_Elab_Command_elabMacroRulesAux___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 = lean_array_push(x_32, x_2); +x_38 = lean_array_push(x_37, x_36); +x_39 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; +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 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_42 = lean_array_push(x_41, x_40); +x_43 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +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 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_19); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_19); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_48 = lean_array_push(x_47, x_28); +x_49 = lean_array_push(x_48, x_44); +x_50 = lean_array_push(x_49, x_46); +x_51 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; +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_41, x_52); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_43); +lean_ctor_set(x_54, 1, x_53); +x_55 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_19); +x_56 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_56, 0, x_19); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; +lean_inc(x_22); +lean_inc(x_26); +x_58 = l_Lean_addMacroScope(x_26, x_57, x_22); +x_59 = lean_box(0); +x_60 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +lean_inc(x_19); +x_61 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_61, 0, x_19); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set(x_61, 2, x_58); +lean_ctor_set(x_61, 3, x_59); +x_62 = lean_array_push(x_32, x_61); +x_63 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_64 = lean_array_push(x_62, x_63); +x_65 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +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 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_19); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_19); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +lean_inc(x_22); +lean_inc(x_26); +x_70 = l_Lean_addMacroScope(x_26, x_69, x_22); +x_71 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_72 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; +lean_inc(x_19); +x_73 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_73, 0, x_19); +lean_ctor_set(x_73, 1, x_71); +lean_ctor_set(x_73, 2, x_70); +lean_ctor_set(x_73, 3, x_72); +x_74 = lean_array_push(x_32, x_68); +x_75 = lean_array_push(x_74, x_73); +x_76 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_array_push(x_41, x_77); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_43); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; +x_81 = lean_array_push(x_80, x_79); +x_82 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; +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_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_19); +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_19); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +lean_inc(x_19); +x_87 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_87, 0, x_19); +lean_ctor_set(x_87, 1, x_86); +x_88 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_89 = l_Array_append___rarg(x_88, x_16); +lean_dec(x_16); +x_90 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_19); +x_91 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_91, 0, x_19); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; +lean_inc(x_19); +x_93 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_93, 0, x_19); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_array_push(x_41, x_93); +x_95 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = lean_array_push(x_41, x_96); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_43); lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_18); +x_99 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +lean_inc(x_19); x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_18); +lean_ctor_set(x_100, 0, x_19); lean_ctor_set(x_100, 1, x_99); -x_101 = lean_array_push(x_40, x_100); -x_102 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_101); -x_104 = lean_array_push(x_40, x_103); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_42); -lean_ctor_set(x_105, 1, x_104); -x_106 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; -lean_inc(x_18); -x_107 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_107, 0, x_18); -lean_ctor_set(x_107, 1, x_106); -x_108 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -lean_inc(x_21); -lean_inc(x_25); -x_109 = l_Lean_addMacroScope(x_25, x_108, x_21); -x_110 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_111 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_18); -x_112 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_112, 0, x_18); -lean_ctor_set(x_112, 1, x_110); -lean_ctor_set(x_112, 2, x_109); -lean_ctor_set(x_112, 3, x_111); -x_113 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; -x_114 = l_Lean_addMacroScope(x_25, x_113, x_21); -x_115 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; -x_116 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; -x_117 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_117, 0, x_18); -lean_ctor_set(x_117, 1, x_115); -lean_ctor_set(x_117, 2, x_114); -lean_ctor_set(x_117, 3, x_116); -x_118 = lean_array_push(x_40, x_117); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_42); -lean_ctor_set(x_119, 1, x_118); -x_120 = lean_array_push(x_31, x_112); -x_121 = lean_array_push(x_120, x_119); -x_122 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; +x_101 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; +lean_inc(x_22); +lean_inc(x_26); +x_102 = l_Lean_addMacroScope(x_26, x_101, x_22); +x_103 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; +x_104 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; +lean_inc(x_19); +x_105 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_105, 0, x_19); +lean_ctor_set(x_105, 1, x_103); +lean_ctor_set(x_105, 2, x_102); +lean_ctor_set(x_105, 3, x_104); +x_106 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +x_107 = l_Lean_addMacroScope(x_26, x_106, x_22); +x_108 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; +x_109 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; +x_110 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_110, 0, x_19); +lean_ctor_set(x_110, 1, x_108); +lean_ctor_set(x_110, 2, x_107); +lean_ctor_set(x_110, 3, x_109); +x_111 = lean_array_push(x_41, x_110); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_43); +lean_ctor_set(x_112, 1, x_111); +x_113 = lean_array_push(x_32, x_105); +x_114 = lean_array_push(x_113, x_112); +x_115 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_114); +x_117 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_118 = lean_array_push(x_117, x_91); +x_119 = lean_array_push(x_118, x_98); +x_120 = lean_array_push(x_119, x_100); +x_121 = lean_array_push(x_120, x_116); +x_122 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_123 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_123, 0, x_122); lean_ctor_set(x_123, 1, x_121); -x_124 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_125 = lean_array_push(x_124, x_98); -x_126 = lean_array_push(x_125, x_105); -x_127 = lean_array_push(x_126, x_107); -x_128 = lean_array_push(x_127, x_123); -x_129 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_128); -x_131 = lean_array_push(x_96, x_130); +x_124 = lean_array_push(x_89, x_123); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_43); +lean_ctor_set(x_125, 1, x_124); +x_126 = lean_array_push(x_41, x_125); +x_127 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_126); +x_129 = lean_array_push(x_32, x_87); +x_130 = lean_array_push(x_129, x_128); +x_131 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_42); -lean_ctor_set(x_132, 1, x_131); -x_133 = lean_array_push(x_40, x_132); -x_134 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -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_31, x_94); -x_137 = lean_array_push(x_136, x_135); -x_138 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_137); -x_140 = lean_array_push(x_46, x_92); -x_141 = lean_array_push(x_140, x_139); -x_142 = lean_array_push(x_141, x_56); -x_143 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -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_124, x_64); -x_146 = lean_array_push(x_145, x_73); -x_147 = lean_array_push(x_146, x_90); -x_148 = lean_array_push(x_147, x_144); -x_149 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -x_151 = lean_array_push(x_31, x_62); -x_152 = lean_array_push(x_151, x_150); -x_153 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_152); -lean_ctor_set(x_23, 0, x_154); -return x_23; +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_130); +x_133 = lean_array_push(x_47, x_85); +x_134 = lean_array_push(x_133, x_132); +x_135 = lean_array_push(x_134, x_63); +x_136 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_135); +x_138 = lean_array_push(x_117, x_56); +x_139 = lean_array_push(x_138, x_66); +x_140 = lean_array_push(x_139, x_83); +x_141 = lean_array_push(x_140, x_137); +x_142 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_141); +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_144 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_145 = lean_array_push(x_144, x_54); +x_146 = lean_array_push(x_145, x_63); +x_147 = lean_array_push(x_146, x_63); +x_148 = lean_array_push(x_147, x_63); +x_149 = lean_array_push(x_148, x_63); +x_150 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +x_152 = lean_array_push(x_32, x_151); +x_153 = lean_array_push(x_152, x_143); +x_154 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_153); +lean_ctor_set(x_24, 0, x_155); +return x_24; } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; -x_155 = lean_ctor_get(x_23, 0); -x_156 = lean_ctor_get(x_23, 1); +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; +x_156 = lean_ctor_get(x_1, 0); lean_inc(x_156); -lean_inc(x_155); -lean_dec(x_23); -x_157 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_18); -x_158 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_158, 0, x_18); -lean_ctor_set(x_158, 1, x_157); -x_159 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -lean_inc(x_18); -x_160 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_160, 0, x_18); -lean_ctor_set(x_160, 1, x_159); -x_161 = lean_mk_syntax_ident(x_2); -x_162 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_163 = lean_array_push(x_162, x_160); -x_164 = lean_array_push(x_163, x_161); -x_165 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_164); -x_167 = lean_array_push(x_162, x_1); -x_168 = lean_array_push(x_167, x_166); -x_169 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_168); -x_171 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_172 = lean_array_push(x_171, x_170); -x_173 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_172); -x_175 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_18); +lean_dec(x_1); +x_157 = lean_array_push(x_41, x_156); +x_158 = l_Array_append___rarg(x_88, x_157); +lean_dec(x_157); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_43); +lean_ctor_set(x_159, 1, x_158); +x_160 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_161 = lean_array_push(x_160, x_159); +x_162 = lean_array_push(x_161, x_54); +x_163 = lean_array_push(x_162, x_63); +x_164 = lean_array_push(x_163, x_63); +x_165 = lean_array_push(x_164, x_63); +x_166 = lean_array_push(x_165, x_63); +x_167 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_168 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_166); +x_169 = lean_array_push(x_32, x_168); +x_170 = lean_array_push(x_169, x_143); +x_171 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +lean_ctor_set(x_24, 0, x_172); +return x_24; +} +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 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; +x_173 = lean_ctor_get(x_24, 0); +x_174 = lean_ctor_get(x_24, 1); +lean_inc(x_174); +lean_inc(x_173); +lean_dec(x_24); +x_175 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_19); x_176 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_176, 0, x_18); +lean_ctor_set(x_176, 0, x_19); lean_ctor_set(x_176, 1, x_175); -x_177 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_178 = lean_array_push(x_177, x_158); -x_179 = lean_array_push(x_178, x_174); -x_180 = lean_array_push(x_179, x_176); -x_181 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -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_array_push(x_171, x_182); +x_177 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; +lean_inc(x_19); +x_178 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_178, 0, x_19); +lean_ctor_set(x_178, 1, x_177); +x_179 = lean_mk_syntax_ident(x_3); +x_180 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_181 = lean_array_push(x_180, x_178); +x_182 = lean_array_push(x_181, x_179); +x_183 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; x_184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_184, 0, x_173); -lean_ctor_set(x_184, 1, x_183); -x_185 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_182); +x_185 = lean_array_push(x_180, x_2); x_186 = lean_array_push(x_185, x_184); -x_187 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_188 = lean_array_push(x_186, x_187); -x_189 = lean_array_push(x_188, x_187); -x_190 = lean_array_push(x_189, x_187); -x_191 = lean_array_push(x_190, x_187); -x_192 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -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_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_18); -x_195 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_195, 0, x_18); -lean_ctor_set(x_195, 1, x_194); -x_196 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; -lean_inc(x_21); -lean_inc(x_155); -x_197 = l_Lean_addMacroScope(x_155, x_196, x_21); -x_198 = lean_box(0); -x_199 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; -lean_inc(x_18); -x_200 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_200, 0, x_18); -lean_ctor_set(x_200, 1, x_199); -lean_ctor_set(x_200, 2, x_197); -lean_ctor_set(x_200, 3, x_198); -x_201 = lean_array_push(x_162, x_200); -x_202 = lean_array_push(x_201, x_187); -x_203 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_202); -x_205 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_18); -x_206 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_206, 0, x_18); -lean_ctor_set(x_206, 1, x_205); -x_207 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -lean_inc(x_21); -lean_inc(x_155); -x_208 = l_Lean_addMacroScope(x_155, x_207, x_21); -x_209 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_210 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; -lean_inc(x_18); -x_211 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_211, 0, x_18); -lean_ctor_set(x_211, 1, x_209); -lean_ctor_set(x_211, 2, x_208); -lean_ctor_set(x_211, 3, x_210); -x_212 = lean_array_push(x_162, x_206); -x_213 = lean_array_push(x_212, x_211); -x_214 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_213); -x_216 = lean_array_push(x_171, x_215); -x_217 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_217, 0, x_173); -lean_ctor_set(x_217, 1, x_216); -x_218 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_219 = lean_array_push(x_218, x_217); -x_220 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_220); +x_187 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_186); +x_189 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_190 = lean_array_push(x_189, x_188); +x_191 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_190); +x_193 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_19); +x_194 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_194, 0, x_19); +lean_ctor_set(x_194, 1, x_193); +x_195 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_196 = lean_array_push(x_195, x_176); +x_197 = lean_array_push(x_196, x_192); +x_198 = lean_array_push(x_197, x_194); +x_199 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = lean_array_push(x_189, x_200); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_191); +lean_ctor_set(x_202, 1, x_201); +x_203 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_19); +x_204 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_204, 0, x_19); +lean_ctor_set(x_204, 1, x_203); +x_205 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; +lean_inc(x_22); +lean_inc(x_173); +x_206 = l_Lean_addMacroScope(x_173, x_205, x_22); +x_207 = lean_box(0); +x_208 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +lean_inc(x_19); +x_209 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_209, 0, x_19); +lean_ctor_set(x_209, 1, x_208); +lean_ctor_set(x_209, 2, x_206); +lean_ctor_set(x_209, 3, x_207); +x_210 = lean_array_push(x_180, x_209); +x_211 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_212 = lean_array_push(x_210, x_211); +x_213 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_212); +x_215 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_19); +x_216 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_216, 0, x_19); +lean_ctor_set(x_216, 1, x_215); +x_217 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +lean_inc(x_22); +lean_inc(x_173); +x_218 = l_Lean_addMacroScope(x_173, x_217, x_22); +x_219 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_220 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; +lean_inc(x_19); +x_221 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_221, 0, x_19); lean_ctor_set(x_221, 1, x_219); -x_222 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_18); -x_223 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_223, 0, x_18); -lean_ctor_set(x_223, 1, x_222); -x_224 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_18); -x_225 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_225, 0, x_18); -lean_ctor_set(x_225, 1, x_224); -x_226 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_227 = l_Array_append___rarg(x_226, x_15); -lean_dec(x_15); -x_228 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_18); -x_229 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_229, 0, x_18); -lean_ctor_set(x_229, 1, x_228); -x_230 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_18); -x_231 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_231, 0, x_18); -lean_ctor_set(x_231, 1, x_230); -x_232 = lean_array_push(x_171, x_231); -x_233 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_232); -x_235 = lean_array_push(x_171, x_234); -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_173); -lean_ctor_set(x_236, 1, x_235); -x_237 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; -lean_inc(x_18); -x_238 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_238, 0, x_18); -lean_ctor_set(x_238, 1, x_237); -x_239 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -lean_inc(x_21); -lean_inc(x_155); -x_240 = l_Lean_addMacroScope(x_155, x_239, x_21); -x_241 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_242 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_18); -x_243 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_243, 0, x_18); -lean_ctor_set(x_243, 1, x_241); -lean_ctor_set(x_243, 2, x_240); -lean_ctor_set(x_243, 3, x_242); -x_244 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; -x_245 = l_Lean_addMacroScope(x_155, x_244, x_21); -x_246 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; -x_247 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; -x_248 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_248, 0, x_18); -lean_ctor_set(x_248, 1, x_246); -lean_ctor_set(x_248, 2, x_245); -lean_ctor_set(x_248, 3, x_247); -x_249 = lean_array_push(x_171, x_248); -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_173); -lean_ctor_set(x_250, 1, x_249); -x_251 = lean_array_push(x_162, x_243); -x_252 = lean_array_push(x_251, x_250); -x_253 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -x_254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_254, 0, x_253); -lean_ctor_set(x_254, 1, x_252); -x_255 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_256 = lean_array_push(x_255, x_229); -x_257 = lean_array_push(x_256, x_236); -x_258 = lean_array_push(x_257, x_238); -x_259 = lean_array_push(x_258, x_254); -x_260 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___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 = lean_array_push(x_227, x_261); -x_263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_263, 0, x_173); -lean_ctor_set(x_263, 1, x_262); -x_264 = lean_array_push(x_171, x_263); -x_265 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_266 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_266, 0, x_265); -lean_ctor_set(x_266, 1, x_264); -x_267 = lean_array_push(x_162, x_225); -x_268 = lean_array_push(x_267, x_266); -x_269 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -x_271 = lean_array_push(x_177, x_223); -x_272 = lean_array_push(x_271, x_270); -x_273 = lean_array_push(x_272, x_187); -x_274 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_274); -lean_ctor_set(x_275, 1, x_273); -x_276 = lean_array_push(x_255, x_195); -x_277 = lean_array_push(x_276, x_204); -x_278 = lean_array_push(x_277, x_221); -x_279 = lean_array_push(x_278, x_275); -x_280 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_280); -lean_ctor_set(x_281, 1, x_279); -x_282 = lean_array_push(x_162, x_193); -x_283 = lean_array_push(x_282, x_281); -x_284 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +lean_ctor_set(x_221, 2, x_218); +lean_ctor_set(x_221, 3, x_220); +x_222 = lean_array_push(x_180, x_216); +x_223 = lean_array_push(x_222, x_221); +x_224 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_224); +lean_ctor_set(x_225, 1, x_223); +x_226 = lean_array_push(x_189, x_225); +x_227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_227, 0, x_191); +lean_ctor_set(x_227, 1, x_226); +x_228 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; +x_229 = lean_array_push(x_228, x_227); +x_230 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_229); +x_232 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_19); +x_233 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_233, 0, x_19); +lean_ctor_set(x_233, 1, x_232); +x_234 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +lean_inc(x_19); +x_235 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_235, 0, x_19); +lean_ctor_set(x_235, 1, x_234); +x_236 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_237 = l_Array_append___rarg(x_236, x_16); +lean_dec(x_16); +x_238 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_19); +x_239 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_239, 0, x_19); +lean_ctor_set(x_239, 1, x_238); +x_240 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; +lean_inc(x_19); +x_241 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_241, 0, x_19); +lean_ctor_set(x_241, 1, x_240); +x_242 = lean_array_push(x_189, x_241); +x_243 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_242); +x_245 = lean_array_push(x_189, x_244); +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_191); +lean_ctor_set(x_246, 1, x_245); +x_247 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +lean_inc(x_19); +x_248 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_248, 0, x_19); +lean_ctor_set(x_248, 1, x_247); +x_249 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; +lean_inc(x_22); +lean_inc(x_173); +x_250 = l_Lean_addMacroScope(x_173, x_249, x_22); +x_251 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; +x_252 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; +lean_inc(x_19); +x_253 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_253, 0, x_19); +lean_ctor_set(x_253, 1, x_251); +lean_ctor_set(x_253, 2, x_250); +lean_ctor_set(x_253, 3, x_252); +x_254 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +x_255 = l_Lean_addMacroScope(x_173, x_254, x_22); +x_256 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; +x_257 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; +x_258 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_258, 0, x_19); +lean_ctor_set(x_258, 1, x_256); +lean_ctor_set(x_258, 2, x_255); +lean_ctor_set(x_258, 3, x_257); +x_259 = lean_array_push(x_189, x_258); +x_260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_260, 0, x_191); +lean_ctor_set(x_260, 1, x_259); +x_261 = lean_array_push(x_180, x_253); +x_262 = lean_array_push(x_261, x_260); +x_263 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_262); +x_265 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_266 = lean_array_push(x_265, x_239); +x_267 = lean_array_push(x_266, x_246); +x_268 = lean_array_push(x_267, x_248); +x_269 = lean_array_push(x_268, x_264); +x_270 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___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 = lean_array_push(x_237, x_271); +x_273 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_273, 0, x_191); +lean_ctor_set(x_273, 1, x_272); +x_274 = lean_array_push(x_189, x_273); +x_275 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_276, 0, x_275); +lean_ctor_set(x_276, 1, x_274); +x_277 = lean_array_push(x_180, x_235); +x_278 = lean_array_push(x_277, x_276); +x_279 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_278); +x_281 = lean_array_push(x_195, x_233); +x_282 = lean_array_push(x_281, x_280); +x_283 = lean_array_push(x_282, x_211); +x_284 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; x_285 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_285, 0, x_284); lean_ctor_set(x_285, 1, x_283); -x_286 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_156); -return x_286; +x_286 = lean_array_push(x_265, x_204); +x_287 = lean_array_push(x_286, x_214); +x_288 = lean_array_push(x_287, x_231); +x_289 = lean_array_push(x_288, x_285); +x_290 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_291 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_291, 0, x_290); +lean_ctor_set(x_291, 1, x_289); +if (lean_obj_tag(x_1) == 0) +{ +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; +x_292 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_293 = lean_array_push(x_292, x_202); +x_294 = lean_array_push(x_293, x_211); +x_295 = lean_array_push(x_294, x_211); +x_296 = lean_array_push(x_295, x_211); +x_297 = lean_array_push(x_296, x_211); +x_298 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +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 = lean_array_push(x_180, x_299); +x_301 = lean_array_push(x_300, x_291); +x_302 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_174); +return x_304; +} +else +{ +lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; +x_305 = lean_ctor_get(x_1, 0); +lean_inc(x_305); +lean_dec(x_1); +x_306 = lean_array_push(x_189, x_305); +x_307 = l_Array_append___rarg(x_236, x_306); +lean_dec(x_306); +x_308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_308, 0, x_191); +lean_ctor_set(x_308, 1, x_307); +x_309 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_310 = lean_array_push(x_309, x_308); +x_311 = lean_array_push(x_310, x_202); +x_312 = lean_array_push(x_311, x_211); +x_313 = lean_array_push(x_312, x_211); +x_314 = lean_array_push(x_313, x_211); +x_315 = lean_array_push(x_314, x_211); +x_316 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_317, 0, x_316); +lean_ctor_set(x_317, 1, x_315); +x_318 = lean_array_push(x_180, x_317); +x_319 = lean_array_push(x_318, x_291); +x_320 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_321 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_321, 0, x_320); +lean_ctor_set(x_321, 1, x_319); +x_322 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_322, 0, x_321); +lean_ctor_set(x_322, 1, x_174); +return x_322; +} } } else { -uint8_t x_287; +uint8_t x_323; +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_287 = !lean_is_exclusive(x_14); -if (x_287 == 0) +x_323 = !lean_is_exclusive(x_15); +if (x_323 == 0) { -return x_14; +return x_15; } else { -lean_object* x_288; lean_object* x_289; lean_object* x_290; -x_288 = lean_ctor_get(x_14, 0); -x_289 = lean_ctor_get(x_14, 1); -lean_inc(x_289); -lean_inc(x_288); -lean_dec(x_14); -x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_288); -lean_ctor_set(x_290, 1, x_289); -return x_290; +lean_object* x_324; lean_object* x_325; lean_object* x_326; +x_324 = lean_ctor_get(x_15, 0); +x_325 = lean_ctor_get(x_15, 1); +lean_inc(x_325); +lean_inc(x_324); +lean_dec(x_15); +x_326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_326, 0, x_324); +lean_ctor_set(x_326, 1, x_325); +return x_326; } } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___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_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__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_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { size_t x_7; size_t x_8; lean_object* x_9; @@ -20550,7 +21072,7 @@ x_7 = lean_unbox_usize(x_4); lean_dec(x_4); x_8 = lean_unbox_usize(x_5); lean_dec(x_5); -x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(x_1, x_2, x_3, x_7, x_8, x_6); +x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__4(x_1, x_2, x_3, x_7, x_8, x_6); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); @@ -20558,37 +21080,37 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_1, x_2); +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1(x_1, x_2); +x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_7); return x_11; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { size_t x_8; size_t x_9; lean_object* x_10; @@ -20596,7 +21118,7 @@ x_8 = lean_unbox_usize(x_2); lean_dec(x_2); x_9 = lean_unbox_usize(x_3); lean_dec(x_3); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6(x_1, x_8, x_9, x_4, x_5, x_6, x_7); lean_dec(x_6); return x_10; } @@ -20605,7 +21127,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacr _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___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); @@ -20636,7 +21158,7 @@ lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind(lean_object* x_1, lean_o _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_5 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) @@ -20663,7 +21185,7 @@ if (x_14 == 0) { lean_object* x_15; uint8_t x_16; lean_dec(x_13); -x_15 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___rarg(x_4); +x_15 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___rarg(x_4); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { @@ -20724,7 +21246,7 @@ lean_dec(x_2); return x_5; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -20802,7 +21324,7 @@ return x_26; } } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -20880,7 +21402,500 @@ return x_26; } } } -static lean_object* _init_l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" alternative, multiple interpretations for pattern (solution: specify node kind using `"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" (kind := ...) ...`)"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___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) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = l_Lean_choiceKind; +x_11 = lean_name_eq(x_5, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_array_get_size(x_1); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +if (x_14 == 0) +{ +lean_object* x_66; +x_66 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_15 = x_66; +x_16 = x_9; +goto block_65; +} +else +{ +uint8_t x_67; +x_67 = lean_nat_dec_le(x_12, x_12); +if (x_67 == 0) +{ +lean_object* x_68; +x_68 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_15 = x_68; +x_16 = x_9; +goto block_65; +} +else +{ +size_t x_69; size_t x_70; lean_object* x_71; lean_object* x_72; +x_69 = 0; +x_70 = lean_usize_of_nat(x_12); +x_71 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_72 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(x_5, x_1, x_69, x_70, x_71, x_7, x_8, x_9); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_15 = x_73; +x_16 = x_74; +goto block_65; +} +else +{ +uint8_t x_75; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_2); +x_75 = !lean_is_exclusive(x_72); +if (x_75 == 0) +{ +return x_72; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_72, 0); +x_77 = lean_ctor_get(x_72, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_72); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +} +block_65: +{ +lean_object* x_17; lean_object* x_18; +if (x_14 == 0) +{ +lean_object* x_52; +lean_dec(x_12); +x_52 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_17 = x_52; +x_18 = x_16; +goto block_51; +} +else +{ +uint8_t x_53; +x_53 = lean_nat_dec_le(x_12, x_12); +if (x_53 == 0) +{ +lean_object* x_54; +lean_dec(x_12); +x_54 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_17 = x_54; +x_18 = x_16; +goto block_51; +} +else +{ +size_t x_55; size_t x_56; lean_object* x_57; lean_object* x_58; +x_55 = 0; +x_56 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_57 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_58 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(x_5, x_1, x_55, x_56, x_57, x_7, x_8, x_16); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_17 = x_59; +x_18 = x_60; +goto block_51; +} +else +{ +uint8_t x_61; +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_2); +x_61 = !lean_is_exclusive(x_58); +if (x_61 == 0) +{ +return x_58; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_58, 0); +x_63 = lean_ctor_get(x_58, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_58); +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; +} +} +} +} +block_51: +{ +uint8_t x_19; +x_19 = l_Array_isEmpty___rarg(x_17); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_5); +lean_inc(x_2); +lean_inc(x_8); +lean_inc(x_7); +x_21 = lean_apply_5(x_2, x_20, x_15, x_7, x_8, x_18); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_box(0); +x_25 = lean_apply_5(x_2, x_24, x_17, x_7, x_8, x_23); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_27 = lean_ctor_get(x_25, 0); +x_28 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_29 = lean_array_push(x_28, x_22); +x_30 = lean_array_push(x_29, x_27); +x_31 = l_Lean_nullKind; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_25, 0, x_32); +return x_25; +} +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; +x_33 = lean_ctor_get(x_25, 0); +x_34 = lean_ctor_get(x_25, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_25); +x_35 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_36 = lean_array_push(x_35, x_22); +x_37 = lean_array_push(x_36, x_33); +x_38 = l_Lean_nullKind; +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_34); +return x_40; +} +} +else +{ +uint8_t x_41; +lean_dec(x_22); +x_41 = !lean_is_exclusive(x_25); +if (x_41 == 0) +{ +return x_25; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_25, 0); +x_43 = lean_ctor_get(x_25, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_25); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_17); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +x_45 = !lean_is_exclusive(x_21); +if (x_45 == 0) +{ +return x_21; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_21, 0); +x_47 = lean_ctor_get(x_21, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_21); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_17); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_5); +x_50 = lean_apply_5(x_2, x_49, x_15, x_7, x_8, x_18); +return x_50; +} +} +} +} +else +{ +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_dec(x_5); +lean_dec(x_2); +x_79 = l_Lean_stringToMessageData(x_3); +x_80 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2; +lean_inc(x_79); +x_81 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_79); +x_82 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4; +x_83 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_79); +x_85 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6; +x_86 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_4, x_86, x_7, x_8, x_9); +lean_dec(x_8); +return x_87; +} +} +} +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux(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; +x_7 = l_Lean_instInhabitedSyntax; +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_get(x_7, x_1, x_8); +lean_inc(x_9); +x_10 = l_Lean_Elab_Command_inferMacroRulesAltKind(x_9, x_4, x_5, x_6); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Name_isStr(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(x_1, x_3, x_2, x_9, x_11, x_14, x_4, x_5, x_12); +lean_dec(x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_Lean_Name_getString_x21(x_11); +x_17 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__1; +x_18 = lean_string_dec_eq(x_16, x_17); +lean_dec(x_16); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(x_1, x_3, x_2, x_9, x_11, x_19, x_4, x_5, x_12); +lean_dec(x_9); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = l_Lean_Name_getPrefix(x_11); +lean_dec(x_11); +x_22 = lean_box(0); +x_23 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(x_1, x_3, x_2, x_9, x_21, x_22, x_4, x_5, x_12); +lean_dec(x_9); +return x_23; +} +} +} +else +{ +uint8_t x_24; +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_24 = !lean_is_exclusive(x_10); +if (x_24 == 0) +{ +return x_10; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_10, 0); +x_26 = lean_ctor_get(x_10, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_10); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__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) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_11 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_11 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___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) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___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_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -20888,595 +21903,199 @@ x_1 = lean_mk_string("macro_rules"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___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; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid macro_rules alternative, multiple interpretations for pattern (solution: specify node kind using `macro_rules [] ...`)"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__5() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__4; -x_2 = l_Lean_stringToMessageData(x_1); +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___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) { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3() { _start: { -lean_object* x_9; uint8_t x_10; -x_9 = l_Lean_choiceKind; -x_10 = lean_name_eq(x_4, x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; -x_11 = lean_array_get_size(x_1); -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_nat_dec_lt(x_12, x_11); -if (x_13 == 0) -{ -lean_object* x_131; -x_131 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_14 = x_131; -x_15 = x_8; -goto block_130; -} -else -{ -uint8_t x_132; -x_132 = lean_nat_dec_le(x_11, x_11); -if (x_132 == 0) -{ -lean_object* x_133; -x_133 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_14 = x_133; -x_15 = x_8; -goto block_130; -} -else -{ -size_t x_134; size_t x_135; lean_object* x_136; lean_object* x_137; -x_134 = 0; -x_135 = lean_usize_of_nat(x_11); -x_136 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_137 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__2(x_4, x_1, x_134, x_135, x_136, x_6, x_7, x_8); -if (lean_obj_tag(x_137) == 0) -{ -lean_object* x_138; lean_object* x_139; -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_137, 1); -lean_inc(x_139); -lean_dec(x_137); -x_14 = x_138; -x_15 = x_139; -goto block_130; -} -else -{ -uint8_t x_140; -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_140 = !lean_is_exclusive(x_137); -if (x_140 == 0) -{ -return x_137; -} -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_137, 0); -x_142 = lean_ctor_get(x_137, 1); -lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_137); -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_1; +x_1 = lean_mk_string("kind"); +return x_1; } } -} -} -block_130: -{ -lean_object* x_16; lean_object* x_17; -if (x_13 == 0) -{ -lean_object* x_117; -lean_dec(x_11); -x_117 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_16 = x_117; -x_17 = x_15; -goto block_116; -} -else -{ -uint8_t x_118; -x_118 = lean_nat_dec_le(x_11, x_11); -if (x_118 == 0) -{ -lean_object* x_119; -lean_dec(x_11); -x_119 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_16 = x_119; -x_17 = x_15; -goto block_116; -} -else -{ -size_t x_120; size_t x_121; lean_object* x_122; lean_object* x_123; -x_120 = 0; -x_121 = lean_usize_of_nat(x_11); -lean_dec(x_11); -x_122 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_123 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__1(x_4, x_1, x_120, x_121, x_122, x_6, x_7, x_15); -if (lean_obj_tag(x_123) == 0) -{ -lean_object* x_124; lean_object* x_125; -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_16 = x_124; -x_17 = x_125; -goto block_116; -} -else -{ -uint8_t x_126; -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_126 = !lean_is_exclusive(x_123); -if (x_126 == 0) -{ -return x_123; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_ctor_get(x_123, 0); -x_128 = lean_ctor_get(x_123, 1); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_123); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -return x_129; -} -} -} -} -block_116: -{ -lean_object* x_18; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_2); -x_18 = l_Lean_Elab_Command_elabMacroRulesAux(x_2, x_4, x_14, x_6, x_7, x_17); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); -x_22 = l_Array_isEmpty___rarg(x_16); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -lean_free_object(x_18); -x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_21); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_25); -lean_dec(x_6); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_27); -lean_dec(x_7); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_30 = lean_ctor_get(x_28, 0); -lean_dec(x_30); -x_31 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1; -x_32 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_32, 0, x_24); -lean_ctor_set(x_32, 1, x_31); -x_33 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_34 = l_Array_append___rarg(x_33, x_16); -lean_dec(x_16); -x_35 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -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_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_38 = lean_array_push(x_37, x_36); -x_39 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -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 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_42 = lean_array_push(x_41, x_2); -x_43 = lean_array_push(x_42, x_32); -x_44 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3; -x_45 = lean_array_push(x_43, x_44); -x_46 = lean_array_push(x_45, x_40); -x_47 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___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_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_50 = lean_array_push(x_49, x_20); -x_51 = lean_array_push(x_50, x_48); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_35); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_28, 0, x_52); -return x_28; -} -else -{ -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; -x_53 = lean_ctor_get(x_28, 1); -lean_inc(x_53); -lean_dec(x_28); -x_54 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1; -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_24); -lean_ctor_set(x_55, 1, x_54); -x_56 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_57 = l_Array_append___rarg(x_56, x_16); -lean_dec(x_16); -x_58 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -x_60 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_61 = lean_array_push(x_60, x_59); -x_62 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -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_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_65 = lean_array_push(x_64, x_2); -x_66 = lean_array_push(x_65, x_55); -x_67 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3; -x_68 = lean_array_push(x_66, x_67); -x_69 = lean_array_push(x_68, x_63); -x_70 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2; -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -x_72 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_73 = lean_array_push(x_72, x_20); -x_74 = lean_array_push(x_73, x_71); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_58); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_53); -return x_76; -} -} -else -{ -lean_dec(x_16); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -return x_18; -} -} -else -{ -lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_77 = lean_ctor_get(x_18, 0); -x_78 = lean_ctor_get(x_18, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_18); -x_79 = l_Array_isEmpty___rarg(x_16); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 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; -x_80 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_78); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_82); -lean_dec(x_6); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_85 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_84); -lean_dec(x_7); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_87 = x_85; -} else { - lean_dec_ref(x_85); - x_87 = lean_box(0); -} -x_88 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1; -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_81); -lean_ctor_set(x_89, 1, x_88); -x_90 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_91 = l_Array_append___rarg(x_90, x_16); -lean_dec(x_16); -x_92 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -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_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_95 = lean_array_push(x_94, x_93); -x_96 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -x_98 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_99 = lean_array_push(x_98, x_2); -x_100 = lean_array_push(x_99, x_89); -x_101 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3; -x_102 = lean_array_push(x_100, x_101); -x_103 = lean_array_push(x_102, x_97); -x_104 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2; -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -x_106 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_107 = lean_array_push(x_106, x_77); -x_108 = lean_array_push(x_107, x_105); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_92); -lean_ctor_set(x_109, 1, x_108); -if (lean_is_scalar(x_87)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_87; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_86); -return x_110; -} -else -{ -lean_object* x_111; -lean_dec(x_16); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_77); -lean_ctor_set(x_111, 1, x_78); -return x_111; -} -} -} -else -{ -uint8_t x_112; -lean_dec(x_16); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -x_112 = !lean_is_exclusive(x_18); -if (x_112 == 0) -{ -return x_18; -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_18, 0); -x_114 = lean_ctor_get(x_18, 1); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_18); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; -} -} -} -} -} -else -{ -lean_object* x_144; lean_object* x_145; -lean_dec(x_4); -lean_dec(x_2); -x_144 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__5; -x_145 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_3, x_144, x_6, x_7, x_8); -lean_dec(x_7); -return x_145; -} -} -} -lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_elabMacroRules___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) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_6 = l_Lean_instInhabitedSyntax; -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_array_get(x_6, x_2, x_7); -lean_inc(x_8); -x_9 = l_Lean_Elab_Command_inferMacroRulesAltKind(x_8, x_3, x_4, x_5); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 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_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_7, x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Name_isStr(x_10); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_box(0); -x_14 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1(x_2, x_1, x_8, x_10, x_13, x_3, x_4, x_11); -lean_dec(x_8); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = l_Lean_Name_getString_x21(x_10); -x_16 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__1; -x_17 = lean_string_dec_eq(x_15, x_16); -lean_dec(x_15); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_box(0); -x_19 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1(x_2, x_1, x_8, x_10, x_18, x_3, x_4, x_11); -lean_dec(x_8); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = l_Lean_Name_getPrefix(x_10); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); lean_dec(x_10); -x_21 = lean_box(0); -x_22 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1(x_2, x_1, x_8, x_20, x_21, x_3, x_4, x_11); -lean_dec(x_8); -return x_22; +x_13 = l_Lean_Elab_Command_getCurrMacroScope(x_7, x_8, x_12); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Elab_Command_getMainModule___rarg(x_8, x_14); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + x_17 = x_15; +} else { + lean_dec_ref(x_15); + x_17 = lean_box(0); } -} -} -else -{ -uint8_t x_23; -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_23 = !lean_is_exclusive(x_9); -if (x_23 == 0) -{ -return x_9; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_9, 0); -x_25 = lean_ctor_get(x_9, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_9); +x_18 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +lean_inc(x_11); +x_19 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_19, 0, x_11); +lean_ctor_set(x_19, 1, x_18); +x_20 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_21 = l_Array_append___rarg(x_20, x_6); +x_22 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__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_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_25 = lean_array_push(x_24, x_23); x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 0, x_1); lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__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) { -_start: +if (lean_obj_tag(x_4) == 0) { -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_10 = lean_unbox_usize(x_4); +x_27 = x_20; +goto block_68; +} +else +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_4, 0); +lean_inc(x_69); lean_dec(x_4); -x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__1(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -return x_11; +x_70 = lean_array_push(x_24, x_69); +x_27 = x_70; +goto block_68; } -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: +block_68: { -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_10 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__2(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___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) { -_start: +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_28 = l_Array_append___rarg(x_20, x_27); +lean_dec(x_27); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_22); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +x_31 = lean_array_push(x_30, x_29); +x_32 = lean_array_push(x_31, x_2); +x_33 = lean_array_push(x_32, x_19); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_9; -x_9 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_61; +x_61 = lean_box(0); +x_34 = x_61; +goto block_60; +} +else +{ +uint8_t x_62; +x_62 = !lean_is_exclusive(x_5); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_5, 0); +x_64 = lean_mk_syntax_ident(x_63); +lean_ctor_set(x_5, 0, x_64); +x_34 = x_5; +goto block_60; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_5, 0); +lean_inc(x_65); lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_9; +x_66 = lean_mk_syntax_ident(x_65); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_66); +x_34 = x_67; +goto block_60; } } -lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: +block_60: { -lean_object* x_6; -x_6 = l_Lean_Elab_Command_elabNoKindMacroRulesAux(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_11); +x_35 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; +x_36 = lean_array_push(x_33, x_35); +x_37 = lean_array_push(x_36, x_26); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_3); +lean_ctor_set(x_38, 1, x_37); +if (lean_is_scalar(x_17)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_17; +} +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_16); +return x_39; +} +else +{ +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_40 = lean_ctor_get(x_34, 0); +lean_inc(x_40); +lean_dec(x_34); +x_41 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; +lean_inc(x_11); +x_42 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_42, 0, x_11); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; +lean_inc(x_11); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_11); +lean_ctor_set(x_44, 1, x_43); +x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_11); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_11); +lean_ctor_set(x_46, 1, x_45); +x_47 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; +x_48 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_48, 0, x_11); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_array_push(x_30, x_42); +x_50 = lean_array_push(x_49, x_44); +x_51 = lean_array_push(x_50, x_46); +x_52 = lean_array_push(x_51, x_40); +x_53 = lean_array_push(x_52, x_48); +x_54 = l_Array_append___rarg(x_20, x_53); +lean_dec(x_53); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_22); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_array_push(x_33, x_55); +x_57 = lean_array_push(x_56, x_26); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_3); +lean_ctor_set(x_58, 1, x_57); +if (lean_is_scalar(x_17)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_17; +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_16); +return x_59; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1() { +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -21484,17 +22103,17 @@ x_1 = lean_mk_string("ident"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___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_Command_elabMacroRules___lambda__1___closed__1; +x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -21502,21 +22121,905 @@ x_1 = lean_mk_string("basicFun"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4() { +lean_object* l_Lean_Elab_Command_elabMacroRules___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; +lean_inc(x_2); +x_14 = lean_name_mk_string(x_2, x_13); +x_15 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; +lean_inc(x_14); +x_16 = lean_name_mk_string(x_14, x_15); +lean_inc(x_12); +x_17 = l_Lean_Syntax_isOfKind(x_12, x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_unsigned_to_nat(3u); +x_20 = l_Lean_Syntax_getArg(x_1, x_19); +x_21 = l_Lean_nullKind; +x_22 = lean_unsigned_to_nat(0u); +lean_inc(x_20); +x_23 = l_Lean_Syntax_isNodeOf(x_20, x_21, x_22); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +lean_dec(x_5); +x_24 = lean_unsigned_to_nat(5u); +lean_inc(x_20); +x_25 = l_Lean_Syntax_isNodeOf(x_20, x_21, x_24); +if (x_25 == 0) +{ +lean_object* x_26; +lean_dec(x_20); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_26 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_27 = l_Lean_Syntax_getArg(x_20, x_19); +lean_dec(x_20); +x_28 = lean_unsigned_to_nat(4u); +x_29 = l_Lean_Syntax_getArg(x_1, x_28); +x_30 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_inc(x_14); +x_31 = lean_name_mk_string(x_14, x_30); +lean_inc(x_29); +x_32 = l_Lean_Syntax_isOfKind(x_29, x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_29); +lean_dec(x_27); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_33 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); +return x_33; +} +else +{ +lean_object* x_34; uint8_t x_35; +x_34 = l_Lean_Syntax_getArg(x_29, x_22); +lean_dec(x_29); +lean_inc(x_34); +x_35 = l_Lean_Syntax_isNodeOf(x_34, x_21, x_11); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_36 = l_Lean_Syntax_getArgs(x_34); +lean_dec(x_34); +x_37 = l_Lean_Syntax_getId(x_27); +lean_dec(x_27); +lean_inc(x_8); +x_38 = l_Lean_Elab_Command_resolveSyntaxKind(x_37, x_8, x_9, x_10); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_39, x_36, x_8, x_9, x_40); +return x_41; +} +else +{ +uint8_t x_42; +lean_dec(x_36); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +return x_38; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_38, 0); +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_38); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = l_Lean_Syntax_getArg(x_34, x_22); +x_47 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1; +lean_inc(x_14); +x_48 = lean_name_mk_string(x_14, x_47); +lean_inc(x_46); +x_49 = l_Lean_Syntax_isOfKind(x_46, x_48); +lean_dec(x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_46); +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_50 = l_Lean_Syntax_getArgs(x_34); +lean_dec(x_34); +x_51 = l_Lean_Syntax_getId(x_27); +lean_dec(x_27); +lean_inc(x_8); +x_52 = l_Lean_Elab_Command_resolveSyntaxKind(x_51, x_8, x_9, x_10); +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); +x_55 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_53, x_50, x_8, x_9, x_54); +return x_55; +} +else +{ +uint8_t x_56; +lean_dec(x_50); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_56 = !lean_is_exclusive(x_52); +if (x_56 == 0) +{ +return x_52; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_52, 0); +x_58 = lean_ctor_get(x_52, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_52); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +lean_object* x_60; uint8_t x_61; +x_60 = l_Lean_Syntax_getArg(x_46, x_11); +lean_inc(x_60); +x_61 = l_Lean_Syntax_isNodeOf(x_60, x_21, x_11); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec(x_60); +lean_dec(x_46); +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_62 = l_Lean_Syntax_getArgs(x_34); +lean_dec(x_34); +x_63 = l_Lean_Syntax_getId(x_27); +lean_dec(x_27); +lean_inc(x_8); +x_64 = l_Lean_Elab_Command_resolveSyntaxKind(x_63, x_8, x_9, x_10); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_65, x_62, x_8, x_9, x_66); +return x_67; +} +else +{ +uint8_t x_68; +lean_dec(x_62); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_68 = !lean_is_exclusive(x_64); +if (x_68 == 0) +{ +return x_64; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_64, 0); +x_70 = lean_ctor_get(x_64, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_64); +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_object* x_73; uint8_t x_74; +x_72 = l_Lean_Syntax_getArg(x_60, x_22); +lean_dec(x_60); +x_73 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; +lean_inc(x_72); +x_74 = l_Lean_Syntax_isOfKind(x_72, x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_72); +lean_dec(x_46); +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_75 = l_Lean_Syntax_getArgs(x_34); +lean_dec(x_34); +x_76 = l_Lean_Syntax_getId(x_27); +lean_dec(x_27); +lean_inc(x_8); +x_77 = l_Lean_Elab_Command_resolveSyntaxKind(x_76, x_8, x_9, x_10); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_78, x_75, x_8, x_9, x_79); +return x_80; +} +else +{ +uint8_t x_81; +lean_dec(x_75); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_81 = !lean_is_exclusive(x_77); +if (x_81 == 0) +{ +return x_77; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_77, 0); +x_83 = lean_ctor_get(x_77, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_77); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +else +{ +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; uint8_t x_93; +lean_dec(x_34); +x_85 = l_Lean_Syntax_getArg(x_46, x_19); +lean_dec(x_46); +x_86 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_8, x_9, x_10); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_88); +lean_dec(x_8); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_91); +lean_dec(x_9); +x_93 = !lean_is_exclusive(x_92); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_94 = lean_ctor_get(x_92, 0); +x_95 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; +lean_inc(x_3); +x_96 = lean_name_mk_string(x_3, x_95); +x_97 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; +lean_inc(x_3); +x_98 = lean_name_mk_string(x_3, x_97); +x_99 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; +lean_inc(x_14); +x_100 = lean_name_mk_string(x_14, x_99); +x_101 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_87); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_87); +lean_ctor_set(x_102, 1, x_101); +x_103 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; +lean_inc(x_14); +x_104 = lean_name_mk_string(x_14, x_103); +x_105 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; +x_106 = lean_name_mk_string(x_2, x_105); +x_107 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; +x_108 = lean_name_mk_string(x_106, x_107); +lean_inc(x_87); +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_87); +lean_ctor_set(x_109, 1, x_107); +x_110 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_111 = lean_array_push(x_110, x_109); +x_112 = lean_array_push(x_111, x_27); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_108); +lean_ctor_set(x_113, 1, x_112); +x_114 = lean_array_push(x_110, x_12); +x_115 = lean_array_push(x_114, x_113); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_104); +lean_ctor_set(x_116, 1, x_115); +x_117 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_118 = lean_array_push(x_117, x_116); +x_119 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_87); +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_87); +lean_ctor_set(x_122, 1, x_121); +x_123 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_124 = lean_array_push(x_123, x_102); +x_125 = lean_array_push(x_124, x_120); +x_126 = lean_array_push(x_125, x_122); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_100); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_array_push(x_117, x_127); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_119); +lean_ctor_set(x_129, 1, x_128); +x_130 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_3); +x_131 = lean_name_mk_string(x_3, x_130); +lean_inc(x_87); +x_132 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_132, 0, x_87); +lean_ctor_set(x_132, 1, x_130); +x_133 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; +lean_inc(x_3); +x_134 = lean_name_mk_string(x_3, x_133); +x_135 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; +lean_inc(x_90); +lean_inc(x_94); +x_136 = l_Lean_addMacroScope(x_94, x_135, x_90); +x_137 = lean_box(0); +x_138 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +lean_inc(x_87); +x_139 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_139, 0, x_87); +lean_ctor_set(x_139, 1, x_138); +lean_ctor_set(x_139, 2, x_136); +lean_ctor_set(x_139, 3, x_137); +x_140 = lean_array_push(x_110, x_139); +x_141 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_142 = lean_array_push(x_140, x_141); +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_134); +lean_ctor_set(x_143, 1, x_142); +x_144 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; +lean_inc(x_3); +x_145 = lean_name_mk_string(x_3, x_144); +x_146 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; +lean_inc(x_14); +x_147 = lean_name_mk_string(x_14, x_146); +x_148 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_87); +x_149 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_149, 0, x_87); +lean_ctor_set(x_149, 1, x_148); +x_150 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_151 = l_Lean_addMacroScope(x_94, x_150, x_90); +x_152 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +x_153 = lean_name_mk_string(x_4, x_152); +x_154 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_137); +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_137); +x_156 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +lean_inc(x_87); +x_157 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_157, 0, x_87); +lean_ctor_set(x_157, 1, x_156); +lean_ctor_set(x_157, 2, x_151); +lean_ctor_set(x_157, 3, x_155); +x_158 = lean_array_push(x_110, x_149); +x_159 = lean_array_push(x_158, x_157); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_147); +lean_ctor_set(x_160, 1, x_159); +x_161 = lean_array_push(x_117, x_160); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_119); +lean_ctor_set(x_162, 1, x_161); +x_163 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; +x_164 = lean_array_push(x_163, x_162); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_145); +lean_ctor_set(x_165, 1, x_164); +x_166 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; +x_167 = lean_name_mk_string(x_3, x_166); +x_168 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_87); +x_169 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_169, 0, x_87); +lean_ctor_set(x_169, 1, x_168); +x_170 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +lean_inc(x_14); +x_171 = lean_name_mk_string(x_14, x_170); +lean_inc(x_87); +x_172 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_172, 0, x_87); +lean_ctor_set(x_172, 1, x_170); +x_173 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; +x_174 = lean_name_mk_string(x_14, x_173); +x_175 = lean_array_push(x_117, x_72); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_119); +lean_ctor_set(x_176, 1, x_175); +x_177 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +x_178 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_178, 0, x_87); +lean_ctor_set(x_178, 1, x_177); +x_179 = lean_array_push(x_123, x_176); +x_180 = lean_array_push(x_179, x_178); +x_181 = lean_array_push(x_180, x_85); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_174); +lean_ctor_set(x_182, 1, x_181); +x_183 = lean_array_push(x_110, x_172); +x_184 = lean_array_push(x_183, x_182); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_171); +lean_ctor_set(x_185, 1, x_184); +x_186 = lean_array_push(x_123, x_169); +x_187 = lean_array_push(x_186, x_185); +x_188 = lean_array_push(x_187, x_141); +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_167); +lean_ctor_set(x_189, 1, x_188); +x_190 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_191 = lean_array_push(x_190, x_132); +x_192 = lean_array_push(x_191, x_143); +x_193 = lean_array_push(x_192, x_165); +x_194 = lean_array_push(x_193, x_189); +x_195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_195, 0, x_131); +lean_ctor_set(x_195, 1, x_194); +if (lean_obj_tag(x_7) == 0) +{ +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; +x_196 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_197 = lean_array_push(x_196, x_129); +x_198 = lean_array_push(x_197, x_141); +x_199 = lean_array_push(x_198, x_141); +x_200 = lean_array_push(x_199, x_141); +x_201 = lean_array_push(x_200, x_141); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_98); +lean_ctor_set(x_202, 1, x_201); +x_203 = lean_array_push(x_110, x_202); +x_204 = lean_array_push(x_203, x_195); +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_96); +lean_ctor_set(x_205, 1, x_204); +lean_ctor_set(x_92, 0, x_205); +return x_92; +} +else +{ +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; +x_206 = lean_ctor_get(x_7, 0); +lean_inc(x_206); +lean_dec(x_7); +x_207 = lean_array_push(x_117, x_206); +x_208 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_209 = l_Array_append___rarg(x_208, x_207); +lean_dec(x_207); +x_210 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_210, 0, x_119); +lean_ctor_set(x_210, 1, x_209); +x_211 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_212 = lean_array_push(x_211, x_210); +x_213 = lean_array_push(x_212, x_129); +x_214 = lean_array_push(x_213, x_141); +x_215 = lean_array_push(x_214, x_141); +x_216 = lean_array_push(x_215, x_141); +x_217 = lean_array_push(x_216, x_141); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_98); +lean_ctor_set(x_218, 1, x_217); +x_219 = lean_array_push(x_110, x_218); +x_220 = lean_array_push(x_219, x_195); +x_221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_221, 0, x_96); +lean_ctor_set(x_221, 1, x_220); +lean_ctor_set(x_92, 0, x_221); +return x_92; +} +} +else +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 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; +x_222 = lean_ctor_get(x_92, 0); +x_223 = lean_ctor_get(x_92, 1); +lean_inc(x_223); +lean_inc(x_222); +lean_dec(x_92); +x_224 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; +lean_inc(x_3); +x_225 = lean_name_mk_string(x_3, x_224); +x_226 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; +lean_inc(x_3); +x_227 = lean_name_mk_string(x_3, x_226); +x_228 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; +lean_inc(x_14); +x_229 = lean_name_mk_string(x_14, x_228); +x_230 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_87); +x_231 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_231, 0, x_87); +lean_ctor_set(x_231, 1, x_230); +x_232 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__17; +lean_inc(x_14); +x_233 = lean_name_mk_string(x_14, x_232); +x_234 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; +x_235 = lean_name_mk_string(x_2, x_234); +x_236 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; +x_237 = lean_name_mk_string(x_235, x_236); +lean_inc(x_87); +x_238 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_238, 0, x_87); +lean_ctor_set(x_238, 1, x_236); +x_239 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_240 = lean_array_push(x_239, x_238); +x_241 = lean_array_push(x_240, x_27); +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_237); +lean_ctor_set(x_242, 1, x_241); +x_243 = lean_array_push(x_239, x_12); +x_244 = lean_array_push(x_243, x_242); +x_245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_245, 0, x_233); +lean_ctor_set(x_245, 1, x_244); +x_246 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_247 = lean_array_push(x_246, x_245); +x_248 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_247); +x_250 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_87); +x_251 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_251, 0, x_87); +lean_ctor_set(x_251, 1, x_250); +x_252 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_253 = lean_array_push(x_252, x_231); +x_254 = lean_array_push(x_253, x_249); +x_255 = lean_array_push(x_254, x_251); +x_256 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_256, 0, x_229); +lean_ctor_set(x_256, 1, x_255); +x_257 = lean_array_push(x_246, x_256); +x_258 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_258, 0, x_248); +lean_ctor_set(x_258, 1, x_257); +x_259 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_3); +x_260 = lean_name_mk_string(x_3, x_259); +lean_inc(x_87); +x_261 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_261, 0, x_87); +lean_ctor_set(x_261, 1, x_259); +x_262 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; +lean_inc(x_3); +x_263 = lean_name_mk_string(x_3, x_262); +x_264 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; +lean_inc(x_90); +lean_inc(x_222); +x_265 = l_Lean_addMacroScope(x_222, x_264, x_90); +x_266 = lean_box(0); +x_267 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +lean_inc(x_87); +x_268 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_268, 0, x_87); +lean_ctor_set(x_268, 1, x_267); +lean_ctor_set(x_268, 2, x_265); +lean_ctor_set(x_268, 3, x_266); +x_269 = lean_array_push(x_239, x_268); +x_270 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_271 = lean_array_push(x_269, x_270); +x_272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_272, 0, x_263); +lean_ctor_set(x_272, 1, x_271); +x_273 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; +lean_inc(x_3); +x_274 = lean_name_mk_string(x_3, x_273); +x_275 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; +lean_inc(x_14); +x_276 = lean_name_mk_string(x_14, x_275); +x_277 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_87); +x_278 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_278, 0, x_87); +lean_ctor_set(x_278, 1, x_277); +x_279 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_280 = l_Lean_addMacroScope(x_222, x_279, x_90); +x_281 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +x_282 = lean_name_mk_string(x_4, x_281); +x_283 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_266); +x_284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_284, 0, x_283); +lean_ctor_set(x_284, 1, x_266); +x_285 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +lean_inc(x_87); +x_286 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_286, 0, x_87); +lean_ctor_set(x_286, 1, x_285); +lean_ctor_set(x_286, 2, x_280); +lean_ctor_set(x_286, 3, x_284); +x_287 = lean_array_push(x_239, x_278); +x_288 = lean_array_push(x_287, x_286); +x_289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_289, 0, x_276); +lean_ctor_set(x_289, 1, x_288); +x_290 = lean_array_push(x_246, x_289); +x_291 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_291, 0, x_248); +lean_ctor_set(x_291, 1, x_290); +x_292 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; +x_293 = lean_array_push(x_292, x_291); +x_294 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_294, 0, x_274); +lean_ctor_set(x_294, 1, x_293); +x_295 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; +x_296 = lean_name_mk_string(x_3, x_295); +x_297 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_87); +x_298 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_298, 0, x_87); +lean_ctor_set(x_298, 1, x_297); +x_299 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +lean_inc(x_14); +x_300 = lean_name_mk_string(x_14, x_299); +lean_inc(x_87); +x_301 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_301, 0, x_87); +lean_ctor_set(x_301, 1, x_299); +x_302 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; +x_303 = lean_name_mk_string(x_14, x_302); +x_304 = lean_array_push(x_246, x_72); +x_305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_305, 0, x_248); +lean_ctor_set(x_305, 1, x_304); +x_306 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +x_307 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_307, 0, x_87); +lean_ctor_set(x_307, 1, x_306); +x_308 = lean_array_push(x_252, x_305); +x_309 = lean_array_push(x_308, x_307); +x_310 = lean_array_push(x_309, x_85); +x_311 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_311, 0, x_303); +lean_ctor_set(x_311, 1, x_310); +x_312 = lean_array_push(x_239, x_301); +x_313 = lean_array_push(x_312, x_311); +x_314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_314, 0, x_300); +lean_ctor_set(x_314, 1, x_313); +x_315 = lean_array_push(x_252, x_298); +x_316 = lean_array_push(x_315, x_314); +x_317 = lean_array_push(x_316, x_270); +x_318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_318, 0, x_296); +lean_ctor_set(x_318, 1, x_317); +x_319 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_320 = lean_array_push(x_319, x_261); +x_321 = lean_array_push(x_320, x_272); +x_322 = lean_array_push(x_321, x_294); +x_323 = lean_array_push(x_322, x_318); +x_324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_324, 0, x_260); +lean_ctor_set(x_324, 1, x_323); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; +x_325 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_326 = lean_array_push(x_325, x_258); +x_327 = lean_array_push(x_326, x_270); +x_328 = lean_array_push(x_327, x_270); +x_329 = lean_array_push(x_328, x_270); +x_330 = lean_array_push(x_329, x_270); +x_331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_331, 0, x_227); +lean_ctor_set(x_331, 1, x_330); +x_332 = lean_array_push(x_239, x_331); +x_333 = lean_array_push(x_332, x_324); +x_334 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_334, 0, x_225); +lean_ctor_set(x_334, 1, x_333); +x_335 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_335, 0, x_334); +lean_ctor_set(x_335, 1, x_223); +return x_335; +} +else +{ +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; +x_336 = lean_ctor_get(x_7, 0); +lean_inc(x_336); +lean_dec(x_7); +x_337 = lean_array_push(x_246, x_336); +x_338 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_339 = l_Array_append___rarg(x_338, x_337); +lean_dec(x_337); +x_340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_340, 0, x_248); +lean_ctor_set(x_340, 1, x_339); +x_341 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_342 = lean_array_push(x_341, x_340); +x_343 = lean_array_push(x_342, x_258); +x_344 = lean_array_push(x_343, x_270); +x_345 = lean_array_push(x_344, x_270); +x_346 = lean_array_push(x_345, x_270); +x_347 = lean_array_push(x_346, x_270); +x_348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_348, 0, x_227); +lean_ctor_set(x_348, 1, x_347); +x_349 = lean_array_push(x_239, x_348); +x_350 = lean_array_push(x_349, x_324); +x_351 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_351, 0, x_225); +lean_ctor_set(x_351, 1, x_350); +x_352 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_352, 0, x_351); +lean_ctor_set(x_352, 1, x_223); +return x_352; +} +} +} +} +} +} +} +} +} +else +{ +lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; uint8_t x_357; +lean_dec(x_20); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_353 = lean_unsigned_to_nat(4u); +x_354 = l_Lean_Syntax_getArg(x_1, x_353); +x_355 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +x_356 = lean_name_mk_string(x_14, x_355); +lean_inc(x_354); +x_357 = l_Lean_Syntax_isOfKind(x_354, x_356); +if (x_357 == 0) +{ +lean_object* x_358; +lean_dec(x_356); +lean_dec(x_354); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +x_358 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); +return x_358; +} +else +{ +lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; +x_359 = l_Lean_Syntax_getArg(x_354, x_22); +lean_dec(x_354); +x_360 = l_Lean_Syntax_getArgs(x_359); +lean_dec(x_359); +x_361 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules___lambda__1___boxed), 9, 4); +lean_closure_set(x_361, 0, x_356); +lean_closure_set(x_361, 1, x_12); +lean_closure_set(x_361, 2, x_5); +lean_closure_set(x_361, 3, x_7); +x_362 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +x_363 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux(x_360, x_362, x_361, x_8, x_9, x_10); +lean_dec(x_360); +return x_363; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2; +x_5 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) @@ -21525,601 +23028,77 @@ lean_object* x_7; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_4); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_object* x_8; lean_object* x_9; uint8_t x_10; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_nullKind; +x_12 = lean_unsigned_to_nat(1u); lean_inc(x_9); -x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); -if (x_11 == 0) +x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); +if (x_13 == 0) { -lean_object* x_12; +lean_object* x_14; lean_dec(x_9); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_4); -return x_12; +x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); +return x_14; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_unsigned_to_nat(2u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = l_Lean_nullKind; -lean_inc(x_14); -x_16 = l_Lean_Syntax_isNodeOf(x_14, x_15, x_8); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_unsigned_to_nat(5u); -lean_inc(x_14); -x_18 = l_Lean_Syntax_isNodeOf(x_14, x_15, x_17); -if (x_18 == 0) -{ -lean_object* x_19; -lean_dec(x_14); +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_Syntax_getArg(x_9, x_8); lean_dec(x_9); +x_16 = l_Lean_Elab_Command_elabSyntax___closed__4; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_15); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_19 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_4); -return x_19; +x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); +return x_18; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_20 = lean_unsigned_to_nat(3u); -x_21 = l_Lean_Syntax_getArg(x_14, x_20); -lean_dec(x_14); -x_22 = l_Lean_Syntax_getArg(x_1, x_20); +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_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_15); +x_20 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_21 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_22 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; +x_23 = lean_box(0); +x_24 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_20, x_21, x_22, x_5, x_23, x_19, x_2, x_3, x_4); lean_dec(x_1); -x_23 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -lean_inc(x_22); -x_24 = l_Lean_Syntax_isOfKind(x_22, x_23); -if (x_24 == 0) +return x_24; +} +} +} +else { -lean_object* x_25; -lean_dec(x_22); -lean_dec(x_21); +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_dec(x_9); -lean_dec(x_3); -lean_dec(x_2); -x_25 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_4); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = l_Lean_Syntax_getArg(x_22, x_8); -lean_dec(x_22); -x_27 = lean_unsigned_to_nat(1u); -lean_inc(x_26); -x_28 = l_Lean_Syntax_isNodeOf(x_26, x_15, x_27); -if (x_28 == 0) -{ -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; -x_29 = l_Lean_Syntax_getArgs(x_26); -lean_dec(x_26); -x_30 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_ctor_get(x_31, 2); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_Syntax_getId(x_21); -lean_dec(x_21); -x_35 = l_Lean_Name_append(x_33, x_34); -lean_dec(x_33); -x_36 = l_Lean_Elab_Command_elabMacroRulesAux(x_9, x_35, x_29, x_2, x_3, x_32); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_37 = l_Lean_Syntax_getArg(x_26, x_8); -x_38 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -lean_inc(x_37); -x_39 = l_Lean_Syntax_isOfKind(x_37, x_38); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -lean_dec(x_37); -x_40 = l_Lean_Syntax_getArgs(x_26); -lean_dec(x_26); -x_41 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_42, 2); -lean_inc(x_44); -lean_dec(x_42); -x_45 = l_Lean_Syntax_getId(x_21); -lean_dec(x_21); -x_46 = l_Lean_Name_append(x_44, x_45); -lean_dec(x_44); -x_47 = l_Lean_Elab_Command_elabMacroRulesAux(x_9, x_46, x_40, x_2, x_3, x_43); -return x_47; -} -else -{ -lean_object* x_48; uint8_t x_49; -x_48 = l_Lean_Syntax_getArg(x_37, x_27); -lean_inc(x_48); -x_49 = l_Lean_Syntax_isNodeOf(x_48, x_15, x_27); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -lean_dec(x_48); -lean_dec(x_37); -x_50 = l_Lean_Syntax_getArgs(x_26); -lean_dec(x_26); -x_51 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_ctor_get(x_52, 2); -lean_inc(x_54); -lean_dec(x_52); -x_55 = l_Lean_Syntax_getId(x_21); -lean_dec(x_21); -x_56 = l_Lean_Name_append(x_54, x_55); -lean_dec(x_54); -x_57 = l_Lean_Elab_Command_elabMacroRulesAux(x_9, x_56, x_50, x_2, x_3, x_53); -return x_57; -} -else -{ -lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_58 = l_Lean_Syntax_getArg(x_48, x_8); -lean_dec(x_48); -x_59 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -lean_inc(x_58); -x_60 = l_Lean_Syntax_isOfKind(x_58, x_59); -if (x_60 == 0) -{ -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_dec(x_58); -lean_dec(x_37); -x_61 = l_Lean_Syntax_getArgs(x_26); -lean_dec(x_26); -x_62 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_ctor_get(x_63, 2); -lean_inc(x_65); -lean_dec(x_63); -x_66 = l_Lean_Syntax_getId(x_21); -lean_dec(x_21); -x_67 = l_Lean_Name_append(x_65, x_66); -lean_dec(x_65); -x_68 = l_Lean_Elab_Command_elabMacroRulesAux(x_9, x_67, x_61, x_2, x_3, x_64); -return x_68; -} -else -{ -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; uint8_t x_77; -lean_dec(x_26); -x_69 = l_Lean_Syntax_getArg(x_37, x_20); -lean_dec(x_37); -x_70 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_2, x_3, x_4); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_72); -lean_dec(x_2); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_76 = l_Lean_Elab_Command_getMainModule___rarg(x_3, x_75); -lean_dec(x_3); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; 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; -x_78 = lean_ctor_get(x_76, 0); -x_79 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_71); -x_80 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_80, 0, x_71); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -lean_inc(x_71); -x_82 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_82, 0, x_71); -lean_ctor_set(x_82, 1, x_81); -x_83 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_84 = lean_array_push(x_83, x_82); -x_85 = lean_array_push(x_84, x_21); -x_86 = l_Lean_Elab_Command_elabMacroRulesAux___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 = lean_array_push(x_83, x_9); -x_89 = lean_array_push(x_88, x_87); -x_90 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_93 = lean_array_push(x_92, x_91); -x_94 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -x_96 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_71); -x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_71); -lean_ctor_set(x_97, 1, x_96); -x_98 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_99 = lean_array_push(x_98, x_80); -x_100 = lean_array_push(x_99, x_95); -x_101 = lean_array_push(x_100, x_97); -x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_101); -x_104 = lean_array_push(x_92, x_103); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_94); -lean_ctor_set(x_105, 1, x_104); -x_106 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_107 = lean_array_push(x_106, x_105); -x_108 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_109 = lean_array_push(x_107, x_108); -x_110 = lean_array_push(x_109, x_108); -x_111 = lean_array_push(x_110, x_108); -x_112 = lean_array_push(x_111, x_108); -x_113 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_112); -x_115 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_71); -x_116 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_116, 0, x_71); -lean_ctor_set(x_116, 1, x_115); -x_117 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; -lean_inc(x_74); -lean_inc(x_78); -x_118 = l_Lean_addMacroScope(x_78, x_117, x_74); -x_119 = lean_box(0); -x_120 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; -lean_inc(x_71); -x_121 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_121, 0, x_71); -lean_ctor_set(x_121, 1, x_120); -lean_ctor_set(x_121, 2, x_118); -lean_ctor_set(x_121, 3, x_119); -x_122 = lean_array_push(x_83, x_121); -x_123 = lean_array_push(x_122, x_108); -x_124 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_123); -x_126 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_71); -x_127 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_127, 0, x_71); -lean_ctor_set(x_127, 1, x_126); -x_128 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_129 = l_Lean_addMacroScope(x_78, x_128, x_74); -x_130 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_131 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; -lean_inc(x_71); -x_132 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_132, 0, x_71); -lean_ctor_set(x_132, 1, x_130); -lean_ctor_set(x_132, 2, x_129); -lean_ctor_set(x_132, 3, x_131); -x_133 = lean_array_push(x_83, x_127); -x_134 = lean_array_push(x_133, x_132); -x_135 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_134); -x_137 = lean_array_push(x_92, x_136); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_94); -lean_ctor_set(x_138, 1, x_137); -x_139 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_140 = lean_array_push(x_139, x_138); -x_141 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_140); -x_143 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_71); -x_144 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_144, 0, x_71); -lean_ctor_set(x_144, 1, x_143); -x_145 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_71); -x_146 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_146, 0, x_71); -lean_ctor_set(x_146, 1, x_145); -x_147 = lean_array_push(x_92, x_58); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_94); -lean_ctor_set(x_148, 1, x_147); -x_149 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; -x_150 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_150, 0, x_71); -lean_ctor_set(x_150, 1, x_149); -x_151 = lean_array_push(x_98, x_148); -x_152 = lean_array_push(x_151, x_150); -x_153 = lean_array_push(x_152, x_69); -x_154 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_153); -x_156 = lean_array_push(x_83, x_146); -x_157 = lean_array_push(x_156, x_155); -x_158 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -x_160 = lean_array_push(x_98, x_144); -x_161 = lean_array_push(x_160, x_159); -x_162 = lean_array_push(x_161, x_108); -x_163 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_162); -x_165 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_166 = lean_array_push(x_165, x_116); -x_167 = lean_array_push(x_166, x_125); -x_168 = lean_array_push(x_167, x_142); -x_169 = lean_array_push(x_168, x_164); -x_170 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -x_172 = lean_array_push(x_83, x_114); -x_173 = lean_array_push(x_172, x_171); -x_174 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_174); -lean_ctor_set(x_175, 1, x_173); -lean_ctor_set(x_76, 0, x_175); -return x_76; -} -else -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_176 = lean_ctor_get(x_76, 0); -x_177 = lean_ctor_get(x_76, 1); -lean_inc(x_177); -lean_inc(x_176); -lean_dec(x_76); -x_178 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_71); -x_179 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_179, 0, x_71); -lean_ctor_set(x_179, 1, x_178); -x_180 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -lean_inc(x_71); -x_181 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_181, 0, x_71); -lean_ctor_set(x_181, 1, x_180); -x_182 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_183 = lean_array_push(x_182, x_181); -x_184 = lean_array_push(x_183, x_21); -x_185 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set(x_186, 1, x_184); -x_187 = lean_array_push(x_182, x_9); -x_188 = lean_array_push(x_187, x_186); -x_189 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -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_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_192 = lean_array_push(x_191, x_190); -x_193 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_192); -x_195 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_71); -x_196 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_196, 0, x_71); -lean_ctor_set(x_196, 1, x_195); -x_197 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_198 = lean_array_push(x_197, x_179); -x_199 = lean_array_push(x_198, x_194); -x_200 = lean_array_push(x_199, x_196); -x_201 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_200); -x_203 = lean_array_push(x_191, x_202); -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_193); -lean_ctor_set(x_204, 1, x_203); -x_205 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_206 = lean_array_push(x_205, x_204); -x_207 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -x_208 = lean_array_push(x_206, x_207); -x_209 = lean_array_push(x_208, x_207); -x_210 = lean_array_push(x_209, x_207); -x_211 = lean_array_push(x_210, x_207); -x_212 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -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_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_71); -x_215 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_215, 0, x_71); -lean_ctor_set(x_215, 1, x_214); -x_216 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; -lean_inc(x_74); -lean_inc(x_176); -x_217 = l_Lean_addMacroScope(x_176, x_216, x_74); -x_218 = lean_box(0); -x_219 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; -lean_inc(x_71); -x_220 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_220, 0, x_71); -lean_ctor_set(x_220, 1, x_219); -lean_ctor_set(x_220, 2, x_217); -lean_ctor_set(x_220, 3, x_218); -x_221 = lean_array_push(x_182, x_220); -x_222 = lean_array_push(x_221, x_207); -x_223 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_225 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_71); -x_226 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_226, 0, x_71); -lean_ctor_set(x_226, 1, x_225); -x_227 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_228 = l_Lean_addMacroScope(x_176, x_227, x_74); -x_229 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_230 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; -lean_inc(x_71); -x_231 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_231, 0, x_71); -lean_ctor_set(x_231, 1, x_229); -lean_ctor_set(x_231, 2, x_228); -lean_ctor_set(x_231, 3, x_230); -x_232 = lean_array_push(x_182, x_226); -x_233 = lean_array_push(x_232, x_231); -x_234 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -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_191, x_235); -x_237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_237, 0, x_193); -lean_ctor_set(x_237, 1, x_236); -x_238 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_239 = lean_array_push(x_238, x_237); -x_240 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_239); -x_242 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_71); -x_243 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_243, 0, x_71); -lean_ctor_set(x_243, 1, x_242); -x_244 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_71); -x_245 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_245, 0, x_71); -lean_ctor_set(x_245, 1, x_244); -x_246 = lean_array_push(x_191, x_58); -x_247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_247, 0, x_193); -lean_ctor_set(x_247, 1, x_246); -x_248 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; -x_249 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_249, 0, x_71); -lean_ctor_set(x_249, 1, x_248); -x_250 = lean_array_push(x_197, x_247); -x_251 = lean_array_push(x_250, x_249); -x_252 = lean_array_push(x_251, x_69); -x_253 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; -x_254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_254, 0, x_253); -lean_ctor_set(x_254, 1, x_252); -x_255 = lean_array_push(x_182, x_245); -x_256 = lean_array_push(x_255, x_254); -x_257 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -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_197, x_243); -x_260 = lean_array_push(x_259, x_258); -x_261 = lean_array_push(x_260, x_207); -x_262 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_263, 0, x_262); -lean_ctor_set(x_263, 1, x_261); -x_264 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_265 = lean_array_push(x_264, x_215); -x_266 = lean_array_push(x_265, x_224); -x_267 = lean_array_push(x_266, x_241); -x_268 = lean_array_push(x_267, x_263); -x_269 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -x_271 = lean_array_push(x_182, x_213); -x_272 = lean_array_push(x_271, x_270); -x_273 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_275, 0, x_274); -lean_ctor_set(x_275, 1, x_177); -return x_275; -} -} -} -} -} -} -} -} -else -{ -lean_object* x_276; lean_object* x_277; lean_object* x_278; uint8_t x_279; -lean_dec(x_14); -x_276 = lean_unsigned_to_nat(3u); -x_277 = l_Lean_Syntax_getArg(x_1, x_276); +x_25 = lean_box(0); +x_26 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_27 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_28 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_26, x_27, x_28, x_5, x_29, x_25, x_2, x_3, x_4); lean_dec(x_1); -x_278 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -lean_inc(x_277); -x_279 = l_Lean_Syntax_isOfKind(x_277, x_278); -if (x_279 == 0) -{ -lean_object* x_280; -lean_dec(x_277); -lean_dec(x_9); -lean_dec(x_3); -lean_dec(x_2); -x_280 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_4); -return x_280; -} -else -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; -x_281 = l_Lean_Syntax_getArg(x_277, x_8); -lean_dec(x_277); -x_282 = l_Lean_Syntax_getArgs(x_281); -lean_dec(x_281); -x_283 = l_Lean_Elab_Command_elabNoKindMacroRulesAux(x_9, x_282, x_2, x_3, x_4); -lean_dec(x_282); -return x_283; -} -} +return x_30; } } } @@ -22128,7 +23107,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules___lambda__1), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules___lambda__3), 4, 0); return x_1; } } @@ -22141,6 +23120,27 @@ x_6 = l_Lean_Elab_Command_adaptExpander(x_5, x_1, x_2, x_3, x_4); return x_6; } } +lean_object* l_Lean_Elab_Command_elabMacroRules___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Command_elabMacroRules___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_10; +} +} +lean_object* l_Lean_Elab_Command_elabMacroRules___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_6); +lean_dec(x_1); +return x_11; +} +} static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1() { _start: { @@ -22172,7 +23172,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Command_commandElabAttribute; -x_3 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2; +x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; x_4 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2; x_5 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -22309,42 +23309,12 @@ return x_2; static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_2 = l_Array_append___rarg(x_1, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -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; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("priority"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(5u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9() { _start: { lean_object* x_1; @@ -22405,7 +23375,7 @@ lean_ctor_set(x_33, 3, x_31); x_34 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; lean_inc(x_33); x_35 = lean_array_push(x_34, x_33); -x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_17); x_37 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_37, 0, x_17); @@ -22440,7 +23410,7 @@ lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; x_120 = lean_ctor_get(x_6, 0); lean_inc(x_120); lean_dec(x_6); -x_121 = l_Lean_Elab_Command_elabSyntax___closed__3; +x_121 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; x_122 = lean_name_mk_string(x_7, x_121); x_123 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; lean_inc(x_17); @@ -22495,7 +23465,7 @@ lean_inc(x_17); x_103 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_103, 0, x_17); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; lean_inc(x_17); x_105 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_105, 0, x_17); @@ -22510,7 +23480,7 @@ lean_inc(x_17); x_109 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_109, 0, x_17); lean_ctor_set(x_109, 1, x_108); -x_110 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_110 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; x_111 = lean_array_push(x_110, x_103); x_112 = lean_array_push(x_111, x_105); x_113 = lean_array_push(x_112, x_107); @@ -22537,7 +23507,7 @@ if (lean_obj_tag(x_9) == 0) 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_dec(x_17); lean_dec(x_2); -x_64 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_64 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; x_65 = lean_array_push(x_63, x_64); x_66 = lean_array_push(x_65, x_58); x_67 = lean_array_push(x_66, x_37); @@ -22567,7 +23537,7 @@ lean_inc(x_17); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_17); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; +x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; lean_inc(x_17); x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_17); @@ -22581,7 +23551,7 @@ x_80 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotPar x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_17); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_82 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; x_83 = lean_array_push(x_82, x_75); x_84 = lean_array_push(x_83, x_77); x_85 = lean_array_push(x_84, x_79); @@ -22837,7 +23807,7 @@ x_34 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_ lean_inc(x_33); x_35 = lean_array_push(x_34, x_33); x_36 = lean_array_push(x_34, x_13); -x_37 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_37 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_17); x_38 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_38, 0, x_17); @@ -22872,7 +23842,7 @@ lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; x_120 = lean_ctor_get(x_6, 0); lean_inc(x_120); lean_dec(x_6); -x_121 = l_Lean_Elab_Command_elabSyntax___closed__3; +x_121 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; x_122 = lean_name_mk_string(x_7, x_121); x_123 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; lean_inc(x_17); @@ -22926,7 +23896,7 @@ lean_inc(x_17); x_103 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_103, 0, x_17); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_104 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; lean_inc(x_17); x_105 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_105, 0, x_17); @@ -22941,7 +23911,7 @@ lean_inc(x_17); x_109 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_109, 0, x_17); lean_ctor_set(x_109, 1, x_108); -x_110 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_110 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; x_111 = lean_array_push(x_110, x_103); x_112 = lean_array_push(x_111, x_105); x_113 = lean_array_push(x_112, x_107); @@ -22968,7 +23938,7 @@ if (lean_obj_tag(x_9) == 0) 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_dec(x_17); lean_dec(x_2); -x_64 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_64 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; x_65 = lean_array_push(x_63, x_64); x_66 = lean_array_push(x_65, x_58); x_67 = lean_array_push(x_66, x_38); @@ -22998,7 +23968,7 @@ lean_inc(x_17); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_17); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; +x_76 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; lean_inc(x_17); x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_17); @@ -23012,7 +23982,7 @@ x_80 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotPar x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_17); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_82 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; x_83 = lean_array_push(x_82, x_75); x_84 = lean_array_push(x_83, x_77); x_85 = lean_array_push(x_84, x_79); @@ -23366,7 +24336,7 @@ lean_ctor_set(x_42, 0, x_26); 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_Command_elabSyntax___closed__3; +x_43 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; x_44 = lean_name_mk_string(x_5, x_43); x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; lean_inc(x_26); @@ -23408,7 +24378,7 @@ x_62 = lean_array_push(x_47, x_61); x_63 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; x_64 = lean_array_push(x_63, x_57); x_65 = lean_array_push(x_64, x_13); -x_66 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_66 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_26); x_67 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_67, 0, x_26); @@ -23488,7 +24458,7 @@ lean_inc(x_26); x_130 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_130, 0, x_26); lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; lean_inc(x_26); x_132 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_132, 0, x_26); @@ -23503,7 +24473,7 @@ lean_inc(x_26); x_136 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_136, 0, x_26); lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_137 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; x_138 = lean_array_push(x_137, x_130); x_139 = lean_array_push(x_138, x_132); x_140 = lean_array_push(x_139, x_134); @@ -23530,7 +24500,7 @@ if (lean_obj_tag(x_9) == 0) 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_dec(x_26); lean_dec(x_3); -x_91 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_91 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; x_92 = lean_array_push(x_90, x_91); x_93 = lean_array_push(x_92, x_85); x_94 = lean_array_push(x_93, x_67); @@ -23560,7 +24530,7 @@ lean_inc(x_26); x_102 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_102, 0, x_26); lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; +x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; lean_inc(x_26); x_104 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_104, 0, x_26); @@ -23574,7 +24544,7 @@ x_107 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotPa x_108 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_108, 0, x_26); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_109 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; x_110 = lean_array_push(x_109, x_102); x_111 = lean_array_push(x_110, x_104); x_112 = lean_array_push(x_111, x_106); @@ -23879,7 +24849,7 @@ lean_ctor_set(x_42, 0, x_26); 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_Command_elabSyntax___closed__3; +x_43 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; x_44 = lean_name_mk_string(x_5, x_43); x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; lean_inc(x_26); @@ -23930,7 +24900,7 @@ x_68 = lean_array_push(x_67, x_64); x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_53); lean_ctor_set(x_69, 1, x_68); -x_70 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_70 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_26); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_26); @@ -24001,7 +24971,7 @@ lean_inc(x_26); x_130 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_130, 0, x_26); lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; lean_inc(x_26); x_132 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_132, 0, x_26); @@ -24016,7 +24986,7 @@ lean_inc(x_26); x_136 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_136, 0, x_26); lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_137 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; x_138 = lean_array_push(x_137, x_130); x_139 = lean_array_push(x_138, x_132); x_140 = lean_array_push(x_139, x_134); @@ -24043,7 +25013,7 @@ if (lean_obj_tag(x_9) == 0) 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_dec(x_26); lean_dec(x_3); -x_91 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_91 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; x_92 = lean_array_push(x_90, x_91); x_93 = lean_array_push(x_92, x_69); x_94 = lean_array_push(x_93, x_71); @@ -24073,7 +25043,7 @@ lean_inc(x_26); x_102 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_102, 0, x_26); lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; +x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; lean_inc(x_26); x_104 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_104, 0, x_26); @@ -24087,7 +25057,7 @@ x_107 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotPa x_108 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_108, 0, x_26); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_109 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; x_110 = lean_array_push(x_109, x_102); x_111 = lean_array_push(x_110, x_104); x_112 = lean_array_push(x_111, x_106); @@ -24403,7 +25373,7 @@ lean_ctor_set(x_48, 0, x_26); lean_ctor_set(x_48, 1, x_47); lean_ctor_set(x_48, 2, x_46); lean_ctor_set(x_48, 3, x_40); -x_49 = l_Lean_Elab_Command_elabSyntax___closed__3; +x_49 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; x_50 = lean_name_mk_string(x_5, x_49); x_51 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; lean_inc(x_26); @@ -24430,7 +25400,7 @@ lean_inc(x_37); x_62 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_62, 0, x_37); lean_ctor_set(x_62, 1, x_61); -x_63 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_63 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_26); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_26); @@ -24514,7 +25484,7 @@ lean_inc(x_26); x_130 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_130, 0, x_26); lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; lean_inc(x_26); x_132 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_132, 0, x_26); @@ -24529,7 +25499,7 @@ lean_inc(x_26); x_136 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_136, 0, x_26); lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_137 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; x_138 = lean_array_push(x_137, x_130); x_139 = lean_array_push(x_138, x_132); x_140 = lean_array_push(x_139, x_134); @@ -24556,7 +25526,7 @@ if (lean_obj_tag(x_9) == 0) 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_dec(x_26); lean_dec(x_3); -x_91 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_91 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; x_92 = lean_array_push(x_90, x_91); x_93 = lean_array_push(x_92, x_85); x_94 = lean_array_push(x_93, x_64); @@ -24586,7 +25556,7 @@ lean_inc(x_26); x_102 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_102, 0, x_26); lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; +x_103 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; lean_inc(x_26); x_104 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_104, 0, x_26); @@ -24600,7 +25570,7 @@ x_107 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotPa x_108 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_108, 0, x_26); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_109 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; x_110 = lean_array_push(x_109, x_102); x_111 = lean_array_push(x_110, x_104); x_112 = lean_array_push(x_111, x_106); @@ -24943,6 +25913,16 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} lean_object* l_Lean_Elab_Command_expandMixfix___lambda__16(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -25069,7 +26049,7 @@ else lean_object* x_39; lean_object* x_40; uint8_t x_41; x_39 = l_Lean_Syntax_getArg(x_34, x_8); lean_dec(x_34); -x_40 = l_Lean_Elab_Command_elabSyntax___closed__4; +x_40 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; lean_inc(x_39); x_41 = l_Lean_Syntax_isOfKind(x_39, x_40); if (x_41 == 0) @@ -25145,7 +26125,7 @@ else lean_object* x_63; lean_object* x_64; uint8_t x_65; x_63 = l_Lean_Syntax_getArg(x_58, x_8); lean_dec(x_58); -x_64 = l_Lean_Elab_Command_elabSyntax___closed__4; +x_64 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; lean_inc(x_63); x_65 = l_Lean_Syntax_isOfKind(x_63, x_64); if (x_65 == 0) @@ -25221,7 +26201,7 @@ else lean_object* x_87; lean_object* x_88; uint8_t x_89; x_87 = l_Lean_Syntax_getArg(x_82, x_8); lean_dec(x_82); -x_88 = l_Lean_Elab_Command_elabSyntax___closed__4; +x_88 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; lean_inc(x_87); x_89 = l_Lean_Syntax_isOfKind(x_87, x_88); if (x_89 == 0) @@ -25297,7 +26277,7 @@ else lean_object* x_111; lean_object* x_112; uint8_t x_113; x_111 = l_Lean_Syntax_getArg(x_106, x_8); lean_dec(x_106); -x_112 = l_Lean_Elab_Command_elabSyntax___closed__4; +x_112 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; lean_inc(x_111); x_113 = l_Lean_Syntax_isOfKind(x_111, x_112); if (x_113 == 0) @@ -25373,7 +26353,7 @@ else lean_object* x_135; lean_object* x_136; uint8_t x_137; x_135 = l_Lean_Syntax_getArg(x_130, x_8); lean_dec(x_130); -x_136 = l_Lean_Elab_Command_elabSyntax___closed__4; +x_136 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; lean_inc(x_135); x_137 = l_Lean_Syntax_isOfKind(x_135, x_136); if (x_137 == 0) @@ -25706,7 +26686,7 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(lean_ob _start: { lean_object* x_3; uint8_t x_4; -x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; lean_inc(x_2); x_4 = l_Lean_Syntax_isOfKind(x_2, x_3); if (x_4 == 0) @@ -26372,6 +27352,16 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; +x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} lean_object* l_Lean_Elab_Command_mkSimpleDelab(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: { @@ -26382,7 +27372,7 @@ x_8 = l_Lean_Syntax_isOfKind(x_4, x_7); if (x_8 == 0) { lean_object* x_9; uint8_t x_10; -x_9 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +x_9 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; lean_inc(x_4); x_10 = l_Lean_Syntax_isOfKind(x_4, x_9); if (x_10 == 0) @@ -26623,7 +27613,7 @@ x_112 = lean_array_push(x_42, x_111); x_113 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_113, 0, x_44); lean_ctor_set(x_113, 1, x_112); -x_114 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_114 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_31); x_115 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_115, 0, x_31); @@ -26647,7 +27637,7 @@ lean_ctor_set(x_124, 1, x_122); x_125 = lean_array_push(x_59, x_113); x_126 = lean_array_push(x_125, x_115); x_127 = lean_array_push(x_126, x_124); -x_128 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; +x_128 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_128); lean_ctor_set(x_129, 1, x_127); @@ -26839,7 +27829,7 @@ x_231 = lean_array_push(x_161, x_230); x_232 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_232, 0, x_163); lean_ctor_set(x_232, 1, x_231); -x_233 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_233 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_150); x_234 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_234, 0, x_150); @@ -26863,7 +27853,7 @@ lean_ctor_set(x_243, 1, x_241); x_244 = lean_array_push(x_178, x_232); x_245 = lean_array_push(x_244, x_234); x_246 = lean_array_push(x_245, x_243); -x_247 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; +x_247 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; x_248 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_248, 0, x_247); lean_ctor_set(x_248, 1, x_246); @@ -27069,7 +28059,7 @@ x_354 = lean_array_push(x_284, x_353); x_355 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_355, 0, x_286); lean_ctor_set(x_355, 1, x_354); -x_356 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_356 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_272); x_357 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_357, 0, x_272); @@ -27093,7 +28083,7 @@ lean_ctor_set(x_366, 1, x_364); x_367 = lean_array_push(x_301, x_355); x_368 = lean_array_push(x_367, x_357); x_369 = lean_array_push(x_368, x_366); -x_370 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; +x_370 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; x_371 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_371, 0, x_370); lean_ctor_set(x_371, 1, x_369); @@ -27235,7 +28225,7 @@ else lean_object* x_410; lean_object* x_411; lean_object* x_412; uint8_t x_413; x_410 = lean_unsigned_to_nat(0u); x_411 = l_Lean_Syntax_getArg(x_4, x_410); -x_412 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +x_412 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; lean_inc(x_411); x_413 = l_Lean_Syntax_isOfKind(x_411, x_412); if (x_413 == 0) @@ -27648,7 +28638,7 @@ x_535 = lean_array_push(x_459, x_534); x_536 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_536, 0, x_461); lean_ctor_set(x_536, 1, x_535); -x_537 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_537 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_448); x_538 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_538, 0, x_448); @@ -27666,7 +28656,7 @@ x_544 = lean_array_push(x_543, x_536); lean_inc(x_538); x_545 = lean_array_push(x_544, x_538); x_546 = lean_array_push(x_545, x_541); -x_547 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_547 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_548 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_548, 0, x_547); lean_ctor_set(x_548, 1, x_546); @@ -27933,7 +28923,7 @@ x_689 = lean_array_push(x_613, x_688); x_690 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_690, 0, x_615); lean_ctor_set(x_690, 1, x_689); -x_691 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_691 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_602); x_692 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_692, 0, x_602); @@ -27951,7 +28941,7 @@ x_698 = lean_array_push(x_697, x_690); lean_inc(x_692); x_699 = lean_array_push(x_698, x_692); x_700 = lean_array_push(x_699, x_695); -x_701 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_701 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_702 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_702, 0, x_701); lean_ctor_set(x_702, 1, x_700); @@ -28232,7 +29222,7 @@ x_847 = lean_array_push(x_771, x_846); x_848 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_848, 0, x_773); lean_ctor_set(x_848, 1, x_847); -x_849 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_849 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_759); x_850 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_850, 0, x_759); @@ -28250,7 +29240,7 @@ x_856 = lean_array_push(x_855, x_848); lean_inc(x_850); x_857 = lean_array_push(x_856, x_850); x_858 = lean_array_push(x_857, x_853); -x_859 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_859 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_860 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_860, 0, x_859); lean_ctor_set(x_860, 1, x_858); @@ -28681,7 +29671,7 @@ x_1066 = lean_array_push(x_990, x_1065); x_1067 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1067, 0, x_992); lean_ctor_set(x_1067, 1, x_1066); -x_1068 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_1068 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_979); x_1069 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1069, 0, x_979); @@ -28699,7 +29689,7 @@ x_1075 = lean_array_push(x_1074, x_1067); lean_inc(x_1069); x_1076 = lean_array_push(x_1075, x_1069); x_1077 = lean_array_push(x_1076, x_1072); -x_1078 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_1078 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_1079 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1079, 0, x_1078); lean_ctor_set(x_1079, 1, x_1077); @@ -28966,7 +29956,7 @@ x_1220 = lean_array_push(x_1144, x_1219); x_1221 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1221, 0, x_1146); lean_ctor_set(x_1221, 1, x_1220); -x_1222 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_1222 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_1133); x_1223 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1223, 0, x_1133); @@ -28984,7 +29974,7 @@ x_1229 = lean_array_push(x_1228, x_1221); lean_inc(x_1223); x_1230 = lean_array_push(x_1229, x_1223); x_1231 = lean_array_push(x_1230, x_1226); -x_1232 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_1232 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___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); @@ -29265,7 +30255,7 @@ x_1378 = lean_array_push(x_1302, x_1377); x_1379 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1379, 0, x_1304); lean_ctor_set(x_1379, 1, x_1378); -x_1380 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_1380 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_1290); x_1381 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1381, 0, x_1290); @@ -29283,7 +30273,7 @@ x_1387 = lean_array_push(x_1386, x_1379); lean_inc(x_1381); x_1388 = lean_array_push(x_1387, x_1381); x_1389 = lean_array_push(x_1388, x_1384); -x_1390 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_1390 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_1391 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1391, 0, x_1390); lean_ctor_set(x_1391, 1, x_1389); @@ -29716,7 +30706,7 @@ x_1599 = lean_array_push(x_1523, x_1598); x_1600 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1600, 0, x_1525); lean_ctor_set(x_1600, 1, x_1599); -x_1601 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_1601 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_1512); x_1602 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1602, 0, x_1512); @@ -29734,7 +30724,7 @@ x_1608 = lean_array_push(x_1607, x_1600); lean_inc(x_1602); x_1609 = lean_array_push(x_1608, x_1602); x_1610 = lean_array_push(x_1609, x_1605); -x_1611 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_1611 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_1612 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1612, 0, x_1611); lean_ctor_set(x_1612, 1, x_1610); @@ -30001,7 +30991,7 @@ x_1753 = lean_array_push(x_1677, x_1752); x_1754 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1754, 0, x_1679); lean_ctor_set(x_1754, 1, x_1753); -x_1755 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_1755 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_1666); x_1756 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1756, 0, x_1666); @@ -30019,7 +31009,7 @@ x_1762 = lean_array_push(x_1761, x_1754); lean_inc(x_1756); x_1763 = lean_array_push(x_1762, x_1756); x_1764 = lean_array_push(x_1763, x_1759); -x_1765 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_1765 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_1766 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1766, 0, x_1765); lean_ctor_set(x_1766, 1, x_1764); @@ -30300,7 +31290,7 @@ x_1911 = lean_array_push(x_1835, x_1910); x_1912 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1912, 0, x_1837); lean_ctor_set(x_1912, 1, x_1911); -x_1913 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_1913 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_1823); x_1914 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_1914, 0, x_1823); @@ -30318,7 +31308,7 @@ x_1920 = lean_array_push(x_1919, x_1912); lean_inc(x_1914); x_1921 = lean_array_push(x_1920, x_1914); x_1922 = lean_array_push(x_1921, x_1917); -x_1923 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_1923 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_1924 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1924, 0, x_1923); lean_ctor_set(x_1924, 1, x_1922); @@ -30745,7 +31735,7 @@ x_2136 = lean_array_push(x_2060, x_2135); x_2137 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2137, 0, x_2062); lean_ctor_set(x_2137, 1, x_2136); -x_2138 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_2138 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_2048); x_2139 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2139, 0, x_2048); @@ -30763,7 +31753,7 @@ x_2145 = lean_array_push(x_2144, x_2137); lean_inc(x_2139); x_2146 = lean_array_push(x_2145, x_2139); x_2147 = lean_array_push(x_2146, x_2142); -x_2148 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_2148 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_2149 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2149, 0, x_2148); lean_ctor_set(x_2149, 1, x_2147); @@ -31171,7 +32161,7 @@ x_2337 = lean_array_push(x_2261, x_2336); x_2338 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2338, 0, x_2263); lean_ctor_set(x_2338, 1, x_2337); -x_2339 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_2339 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_2249); x_2340 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2340, 0, x_2249); @@ -31189,7 +32179,7 @@ x_2346 = lean_array_push(x_2345, x_2338); lean_inc(x_2340); x_2347 = lean_array_push(x_2346, x_2340); x_2348 = lean_array_push(x_2347, x_2343); -x_2349 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_2349 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_2350 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2350, 0, x_2349); lean_ctor_set(x_2350, 1, x_2348); @@ -31599,7 +32589,7 @@ x_2540 = lean_array_push(x_2464, x_2539); x_2541 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2541, 0, x_2466); lean_ctor_set(x_2541, 1, x_2540); -x_2542 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_2542 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_2452); x_2543 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_2543, 0, x_2452); @@ -31617,7 +32607,7 @@ x_2549 = lean_array_push(x_2548, x_2541); lean_inc(x_2543); x_2550 = lean_array_push(x_2549, x_2543); x_2551 = lean_array_push(x_2550, x_2546); -x_2552 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_2552 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_2553 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2553, 0, x_2552); lean_ctor_set(x_2553, 1, x_2551); @@ -32287,9 +33277,11 @@ static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_2 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3; -x_3 = lean_array_push(x_1, x_2); +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___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; } } @@ -32297,15 +33289,25 @@ static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2; 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; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4() { _start: { lean_object* x_1; @@ -32313,41 +33315,33 @@ x_1 = lean_mk_string("precheckedQuot"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2; -x_3 = lean_array_push(x_1, x_2); +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("section"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6; -x_3 = lean_name_mk_string(x_1, x_2); +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3; +x_3 = lean_array_push(x_1, x_2); return x_3; } } @@ -32355,7 +33349,7 @@ static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expa _start: { lean_object* x_1; -x_1 = lean_mk_string("set_option"); +x_1 = lean_mk_string("section"); return x_1; } } @@ -32373,26 +33367,44 @@ static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expa _start: { lean_object* x_1; -x_1 = lean_mk_string("quotPrecheck.allowSectionVars"); +x_1 = lean_mk_string("set_option"); return x_1; } } static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("quotPrecheck.allowSectionVars"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11; +x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -32400,7 +33412,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15() { _start: { lean_object* x_1; @@ -32408,29 +33420,11 @@ x_1 = lean_mk_string("quotPrecheck"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("allowSectionVars"); -return x_1; -} -} static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14; +x_1 = lean_box(0); x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -32440,7 +33434,7 @@ static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expa _start: { lean_object* x_1; -x_1 = lean_mk_string("end"); +x_1 = lean_mk_string("allowSectionVars"); return x_1; } } @@ -32448,7 +33442,7 @@ static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16; x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -32457,6 +33451,24 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("end"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; x_2 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; @@ -32464,7 +33476,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20() { +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -32474,6 +33486,25 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(9u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23; +x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2(lean_object* x_1, size_t x_2, size_t 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) { _start: { @@ -32554,7 +33585,7 @@ lean_inc(x_131); x_136 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_136, 0, x_131); lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_137 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; lean_inc(x_131); x_138 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_138, 0, x_131); @@ -32570,7 +33601,7 @@ lean_inc(x_131); x_143 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_143, 0, x_131); lean_ctor_set(x_143, 1, x_142); -x_144 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_144 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; x_145 = lean_array_push(x_144, x_136); lean_inc(x_145); x_146 = lean_array_push(x_145, x_138); @@ -32579,7 +33610,7 @@ x_147 = lean_array_push(x_146, x_140); x_148 = lean_array_push(x_147, x_141); lean_inc(x_143); x_149 = lean_array_push(x_148, x_143); -x_150 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19; +x_150 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21; x_151 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_151, 0, x_150); lean_ctor_set(x_151, 1, x_149); @@ -32589,7 +33620,7 @@ x_154 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab x_155 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_155, 0, x_154); lean_ctor_set(x_155, 1, x_153); -x_156 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; +x_156 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; lean_inc(x_131); x_157 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_157, 0, x_131); @@ -32602,7 +33633,7 @@ x_162 = lean_array_push(x_145, x_157); x_163 = lean_array_push(x_162, x_140); x_164 = lean_array_push(x_163, x_161); x_165 = lean_array_push(x_164, x_143); -x_166 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20; +x_166 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22; x_167 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_167, 0, x_166); lean_ctor_set(x_167, 1, x_165); @@ -32626,14 +33657,14 @@ x_178 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotPa x_179 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_179, 0, x_131); lean_ctor_set(x_179, 1, x_178); -x_180 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; +x_180 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24; lean_inc(x_7); x_181 = lean_array_push(x_180, x_7); x_182 = lean_array_push(x_181, x_134); if (lean_obj_tag(x_10) == 0) { 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; -x_183 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_183 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; x_184 = lean_array_push(x_182, x_183); x_185 = lean_array_push(x_184, x_155); x_186 = lean_array_push(x_185, x_169); @@ -32658,7 +33689,7 @@ x_193 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab lean_inc(x_179); x_194 = lean_array_push(x_193, x_179); x_195 = lean_array_push(x_194, x_192); -x_196 = l_Lean_Elab_Command_elabSyntax___closed__4; +x_196 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; x_197 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_197, 0, x_196); lean_ctor_set(x_197, 1, x_195); @@ -32691,7 +33722,7 @@ lean_inc(x_37); x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); lean_dec(x_36); -x_39 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1; +x_39 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; lean_inc(x_37); x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_37); @@ -32728,7 +33759,7 @@ x_55 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_ x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); -x_57 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; +x_57 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; lean_inc(x_37); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_37); @@ -32746,7 +33777,7 @@ lean_ctor_set(x_63, 1, x_62); x_64 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; x_65 = lean_array_push(x_64, x_60); x_66 = lean_array_push(x_65, x_63); -x_67 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4; +x_67 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5; x_68 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_66); @@ -32755,7 +33786,7 @@ x_70 = lean_array_push(x_69, x_42); x_71 = lean_array_push(x_70, x_56); x_72 = lean_array_push(x_71, x_58); x_73 = lean_array_push(x_72, x_68); -x_74 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_74 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); @@ -32768,12 +33799,12 @@ x_79 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; x_80 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_78); -x_81 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5; +x_81 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7; x_82 = lean_array_push(x_81, x_40); -x_83 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3; +x_83 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_84, x_80); -x_86 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2; +x_86 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_85); @@ -32800,26 +33831,26 @@ x_94 = lean_ctor_get(x_14, 2); lean_inc(x_94); x_95 = lean_ctor_get(x_14, 1); lean_inc(x_95); -x_96 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6; +x_96 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8; lean_inc(x_92); x_97 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_97, 0, x_92); lean_ctor_set(x_97, 1, x_96); x_98 = lean_array_push(x_64, x_97); x_99 = lean_array_push(x_98, x_83); -x_100 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__7; +x_100 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9; x_101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_101, 0, x_100); lean_ctor_set(x_101, 1, x_99); -x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__8; +x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__10; lean_inc(x_92); x_103 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_103, 0, x_92); lean_ctor_set(x_103, 1, x_102); -x_104 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__16; +x_104 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18; x_105 = l_Lean_addMacroScope(x_95, x_104, x_94); x_106 = lean_box(0); -x_107 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__12; +x_107 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14; lean_inc(x_92); x_108 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_108, 0, x_92); @@ -32834,17 +33865,17 @@ lean_ctor_set(x_110, 1, x_109); x_111 = lean_array_push(x_47, x_103); x_112 = lean_array_push(x_111, x_108); x_113 = lean_array_push(x_112, x_110); -x_114 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__9; +x_114 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11; x_115 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_115, 0, x_114); lean_ctor_set(x_115, 1, x_113); -x_116 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__17; +x_116 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19; x_117 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_117, 0, x_92); lean_ctor_set(x_117, 1, x_116); x_118 = lean_array_push(x_64, x_117); x_119 = lean_array_push(x_118, x_83); -x_120 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18; +x_120 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20; x_121 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_121, 0, x_120); lean_ctor_set(x_121, 1, x_119); @@ -33513,7 +34544,7 @@ else lean_object* x_22; lean_object* x_23; uint8_t x_24; x_22 = l_Lean_Syntax_getArg(x_15, x_8); lean_dec(x_15); -x_23 = l_Lean_Elab_Command_elabSyntax___closed__4; +x_23 = l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13; lean_inc(x_22); x_24 = l_Lean_Syntax_isOfKind(x_22, x_23); if (x_24 == 0) @@ -33633,7 +34664,7 @@ static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___clo _start: { lean_object* x_1; -x_1 = lean_mk_string("macroArgSimple"); +x_1 = lean_mk_string("macroArg"); return x_1; } } @@ -33651,7 +34682,7 @@ static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___clo _start: { lean_object* x_1; -x_1 = lean_mk_string("macroArgSymbol"); +x_1 = lean_mk_string("macroArgSimple"); return x_1; } } @@ -33665,6 +34696,24 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macroArgSymbol"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_2 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -33674,92 +34723,109 @@ lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { -lean_object* x_6; uint8_t x_7; -x_6 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; -lean_inc(x_1); -x_7 = l_Lean_Syntax_isOfKind(x_1, x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; +lean_object* x_6; lean_object* x_7; lean_dec(x_1); -x_8 = lean_box(1); -x_9 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_3); -return x_9; +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; } else { -lean_object* x_10; uint8_t x_11; -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); -x_11 = !lean_is_exclusive(x_10); +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_1); +x_10 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, 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; -x_12 = lean_ctor_get(x_10, 0); -lean_dec(x_12); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -lean_dec(x_1); -x_15 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_16 = lean_array_push(x_15, x_14); -x_17 = l_Lean_Elab_Term_toParserDescr_process___closed__11; -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_ctor_set(x_10, 0, x_18); -return x_10; +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6; +lean_inc(x_9); +x_13 = l_Lean_Syntax_isOfKind(x_9, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_9); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_19 = lean_ctor_get(x_10, 1); -lean_inc(x_19); -lean_dec(x_10); -x_20 = lean_unsigned_to_nat(0u); -x_21 = l_Lean_Syntax_getArg(x_1, x_20); -lean_dec(x_1); -x_22 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_23 = lean_array_push(x_22, x_21); -x_24 = l_Lean_Elab_Term_toParserDescr_process___closed__11; -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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_19); -return x_26; +lean_object* x_16; uint8_t x_17; +x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_2, x_3); +x_17 = !lean_is_exclusive(x_16); +if (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; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +x_19 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_20 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_21 = lean_array_push(x_20, x_19); +x_22 = l_Lean_Elab_Term_toParserDescr_process___closed__11; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_16, 0, x_23); +return x_16; +} +else +{ +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; +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +lean_dec(x_16); +x_25 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_26 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_27 = lean_array_push(x_26, x_25); +x_28 = l_Lean_Elab_Term_toParserDescr_process___closed__11; +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_24); +return x_30; } } } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_27 = lean_unsigned_to_nat(0u); -x_28 = l_Lean_Syntax_getArg(x_1, x_27); -x_29 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_30 = l_Lean_Syntax_isOfKind(x_28, x_29); -if (x_30 == 0) +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = l_Lean_Syntax_getArg(x_9, x_8); +x_32 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; +x_33 = l_Lean_Syntax_isOfKind(x_31, x_32); +if (x_33 == 0) { -lean_object* x_31; lean_object* x_32; -lean_dec(x_1); -x_31 = lean_box(1); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_3); -return x_32; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_unsigned_to_nat(2u); -x_34 = l_Lean_Syntax_getArg(x_1, x_33); -lean_dec(x_1); -x_35 = lean_alloc_ctor(0, 2, 0); +lean_object* x_34; lean_object* x_35; +lean_dec(x_9); +x_34 = lean_box(1); +x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_3); return x_35; } +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_unsigned_to_nat(2u); +x_37 = l_Lean_Syntax_getArg(x_9, x_36); +lean_dec(x_9); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_3); +return x_38; +} +} } } } @@ -34014,6 +35080,42 @@ static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed _start: { lean_object* x_1; +x_1 = lean_mk_string("many"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("many1"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string("?"); return x_1; } @@ -34038,544 +35140,627 @@ lean_inc(x_6); x_9 = l_Lean_Syntax_isOfKind(x_6, x_8); if (x_9 == 0) { -lean_object* x_10; uint8_t x_11; -x_10 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; -lean_inc(x_6); -x_11 = l_Lean_Syntax_isOfKind(x_6, x_10); -if (x_11 == 0) -{ -lean_object* x_12; +lean_object* x_10; lean_dec(x_6); lean_dec(x_2); -x_12 = lean_box(1); +x_10 = lean_box(1); lean_ctor_set_tag(x_4, 1); -lean_ctor_set(x_4, 0, x_12); +lean_ctor_set(x_4, 0, x_10); return x_4; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -lean_free_object(x_4); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_Syntax_getArg(x_6, x_13); -x_15 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; -lean_inc(x_14); -x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Syntax_getArg(x_6, x_11); +lean_dec(x_6); +x_13 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; +lean_inc(x_12); +x_14 = l_Lean_Syntax_isOfKind(x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6; +lean_inc(x_12); +x_16 = l_Lean_Syntax_isOfKind(x_12, x_15); if (x_16 == 0) { lean_object* x_17; -x_17 = l_Lean_Elab_Command_strLitToPattern(x_14, x_2, x_7); +lean_dec(x_12); lean_dec(x_2); -lean_dec(x_14); -if (lean_obj_tag(x_17) == 0) +x_17 = lean_box(1); +lean_ctor_set_tag(x_4, 1); +lean_ctor_set(x_4, 0, x_17); +return x_4; +} +else { -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_free_object(x_4); +x_18 = l_Lean_Syntax_getArg(x_12, x_11); +x_19 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; +lean_inc(x_18); +x_20 = l_Lean_Syntax_isOfKind(x_18, x_19); +if (x_20 == 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; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_unsigned_to_nat(1u); -x_21 = l_Lean_Syntax_getArg(x_6, x_20); -lean_dec(x_6); -x_22 = l_Lean_Syntax_getArg(x_21, x_20); +lean_object* x_21; +x_21 = l_Lean_Elab_Command_strLitToPattern(x_18, x_2, x_7); +lean_dec(x_2); +lean_dec(x_18); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 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; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_unsigned_to_nat(1u); +x_25 = l_Lean_Syntax_getArg(x_12, x_24); +lean_dec(x_12); +x_26 = l_Lean_Syntax_getArg(x_25, x_24); +lean_dec(x_25); +x_27 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_28 = lean_array_push(x_27, x_23); +x_29 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +x_30 = lean_array_push(x_28, x_29); +x_31 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +x_32 = lean_array_push(x_30, x_31); +x_33 = lean_array_push(x_32, x_26); +x_34 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +lean_ctor_set(x_21, 0, x_35); +return x_21; +} +else +{ +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_36 = lean_ctor_get(x_21, 0); +x_37 = lean_ctor_get(x_21, 1); +lean_inc(x_37); +lean_inc(x_36); lean_dec(x_21); -x_23 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_24 = lean_array_push(x_23, x_19); -x_25 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; -x_26 = lean_array_push(x_24, x_25); -x_27 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -x_28 = lean_array_push(x_26, x_27); -x_29 = lean_array_push(x_28, x_22); -x_30 = l_Lean_Elab_Command_expandMacroArgIntoPattern___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); -lean_ctor_set(x_17, 0, x_31); -return x_17; -} -else -{ -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_32 = lean_ctor_get(x_17, 0); -x_33 = lean_ctor_get(x_17, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_17); -x_34 = lean_unsigned_to_nat(1u); -x_35 = l_Lean_Syntax_getArg(x_6, x_34); -lean_dec(x_6); -x_36 = l_Lean_Syntax_getArg(x_35, x_34); -lean_dec(x_35); -x_37 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_38 = lean_array_push(x_37, x_32); -x_39 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; -x_40 = lean_array_push(x_38, x_39); -x_41 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -x_42 = lean_array_push(x_40, x_41); -x_43 = lean_array_push(x_42, x_36); -x_44 = l_Lean_Elab_Command_expandMacroArgIntoPattern___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_33); -return x_46; -} -} -else -{ -uint8_t x_47; -lean_dec(x_6); -x_47 = !lean_is_exclusive(x_17); -if (x_47 == 0) -{ -return x_17; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_17, 0); -x_49 = lean_ctor_get(x_17, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_17); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); +x_38 = lean_unsigned_to_nat(1u); +x_39 = l_Lean_Syntax_getArg(x_12, x_38); +lean_dec(x_12); +x_40 = l_Lean_Syntax_getArg(x_39, x_38); +lean_dec(x_39); +x_41 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_42 = lean_array_push(x_41, x_36); +x_43 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +x_44 = lean_array_push(x_42, x_43); +x_45 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +x_46 = lean_array_push(x_44, x_45); +x_47 = lean_array_push(x_46, x_40); +x_48 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_37); return x_50; } } +else +{ +uint8_t x_51; +lean_dec(x_12); +x_51 = !lean_is_exclusive(x_21); +if (x_51 == 0) +{ +return x_21; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_51 = lean_unsigned_to_nat(1u); -x_52 = l_Lean_Syntax_getArg(x_6, x_51); -lean_dec(x_6); -x_53 = l_Lean_nullKind; +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_21, 0); +x_53 = lean_ctor_get(x_21, 1); +lean_inc(x_53); lean_inc(x_52); -x_54 = l_Lean_Syntax_isNodeOf(x_52, x_53, x_13); -if (x_54 == 0) +lean_dec(x_21); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +else { -lean_object* x_55; -x_55 = l_Lean_Elab_Command_strLitToPattern(x_14, x_2, x_7); +lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_55 = lean_unsigned_to_nat(1u); +x_56 = l_Lean_Syntax_getArg(x_12, x_55); +lean_dec(x_12); +x_57 = l_Lean_nullKind; +lean_inc(x_56); +x_58 = l_Lean_Syntax_isNodeOf(x_56, x_57, x_11); +if (x_58 == 0) +{ +lean_object* x_59; +x_59 = l_Lean_Elab_Command_strLitToPattern(x_18, x_2, x_7); lean_dec(x_2); -lean_dec(x_14); -if (lean_obj_tag(x_55) == 0) +lean_dec(x_18); +if (lean_obj_tag(x_59) == 0) { -uint8_t x_56; -x_56 = !lean_is_exclusive(x_55); -if (x_56 == 0) +uint8_t x_60; +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) { -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_57 = lean_ctor_get(x_55, 0); -x_58 = l_Lean_Syntax_getArg(x_52, x_51); -lean_dec(x_52); -x_59 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_60 = lean_array_push(x_59, x_57); -x_61 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; -x_62 = lean_array_push(x_60, x_61); -x_63 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -x_64 = lean_array_push(x_62, x_63); -x_65 = lean_array_push(x_64, x_58); -x_66 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -lean_ctor_set(x_55, 0, x_67); -return x_55; +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; +x_61 = lean_ctor_get(x_59, 0); +x_62 = l_Lean_Syntax_getArg(x_56, x_55); +lean_dec(x_56); +x_63 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_64 = lean_array_push(x_63, x_61); +x_65 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +x_66 = lean_array_push(x_64, x_65); +x_67 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +x_68 = lean_array_push(x_66, x_67); +x_69 = lean_array_push(x_68, x_62); +x_70 = l_Lean_Elab_Command_expandMacroArgIntoPattern___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); +lean_ctor_set(x_59, 0, x_71); +return x_59; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_68 = lean_ctor_get(x_55, 0); -x_69 = lean_ctor_get(x_55, 1); -lean_inc(x_69); -lean_inc(x_68); -lean_dec(x_55); -x_70 = l_Lean_Syntax_getArg(x_52, x_51); -lean_dec(x_52); -x_71 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_72 = lean_array_push(x_71, x_68); -x_73 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; -x_74 = lean_array_push(x_72, x_73); -x_75 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -x_76 = lean_array_push(x_74, x_75); -x_77 = lean_array_push(x_76, x_70); -x_78 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_69); -return x_80; -} -} -else -{ -uint8_t x_81; -lean_dec(x_52); -x_81 = !lean_is_exclusive(x_55); -if (x_81 == 0) -{ -return x_55; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_55, 0); -x_83 = lean_ctor_get(x_55, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_55); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); +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; +x_72 = lean_ctor_get(x_59, 0); +x_73 = lean_ctor_get(x_59, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_59); +x_74 = l_Lean_Syntax_getArg(x_56, x_55); +lean_dec(x_56); +x_75 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_76 = lean_array_push(x_75, x_72); +x_77 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +x_78 = lean_array_push(x_76, x_77); +x_79 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +x_80 = lean_array_push(x_78, x_79); +x_81 = lean_array_push(x_80, x_74); +x_82 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_81); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_73); return x_84; } } +else +{ +uint8_t x_85; +lean_dec(x_56); +x_85 = !lean_is_exclusive(x_59); +if (x_85 == 0) +{ +return x_59; } else { -lean_object* x_85; -lean_dec(x_52); -x_85 = l_Lean_Elab_Command_strLitToPattern(x_14, x_2, x_7); -lean_dec(x_2); -lean_dec(x_14); -return x_85; -} -} -} -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; -x_86 = lean_unsigned_to_nat(0u); -x_87 = l_Lean_Syntax_getArg(x_6, x_86); -x_88 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_59, 0); +x_87 = lean_ctor_get(x_59, 1); lean_inc(x_87); -x_89 = l_Lean_Syntax_isOfKind(x_87, x_88); -if (x_89 == 0) +lean_inc(x_86); +lean_dec(x_59); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +} +else { -lean_object* x_90; -lean_dec(x_87); -lean_dec(x_6); +lean_object* x_89; +lean_dec(x_56); +x_89 = l_Lean_Elab_Command_strLitToPattern(x_18, x_2, x_7); lean_dec(x_2); -x_90 = lean_box(1); +lean_dec(x_18); +return x_89; +} +} +} +} +else +{ +lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_90 = l_Lean_Syntax_getArg(x_12, x_11); +x_91 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; +lean_inc(x_90); +x_92 = l_Lean_Syntax_isOfKind(x_90, x_91); +if (x_92 == 0) +{ +lean_object* x_93; +lean_dec(x_90); +lean_dec(x_12); +lean_dec(x_2); +x_93 = lean_box(1); lean_ctor_set_tag(x_4, 1); -lean_ctor_set(x_4, 0, x_90); +lean_ctor_set(x_4, 0, x_93); return x_4; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_91 = lean_unsigned_to_nat(2u); -x_92 = l_Lean_Syntax_getArg(x_6, x_91); -lean_dec(x_6); -x_93 = l_Lean_Elab_Term_toParserDescr_process___closed__4; -lean_inc(x_92); -x_94 = l_Lean_Syntax_isOfKind(x_92, x_93); -if (x_94 == 0) +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = lean_unsigned_to_nat(2u); +x_95 = l_Lean_Syntax_getArg(x_12, x_94); +lean_dec(x_12); +x_96 = l_Lean_Elab_Term_toParserDescr_process___closed__4; +lean_inc(x_95); +x_97 = l_Lean_Syntax_isOfKind(x_95, x_96); +if (x_97 == 0) { -lean_object* x_95; uint8_t x_96; -x_95 = l_Lean_Elab_Term_toParserDescr_process___closed__7; -lean_inc(x_92); -x_96 = l_Lean_Syntax_isOfKind(x_92, x_95); -if (x_96 == 0) +lean_object* x_98; uint8_t x_99; +x_98 = l_Lean_Elab_Term_toParserDescr_process___closed__7; +lean_inc(x_95); +x_99 = l_Lean_Syntax_isOfKind(x_95, x_98); +if (x_99 == 0) { -lean_object* x_97; uint8_t x_98; -x_97 = l_Lean_Elab_Term_toParserDescr_process___closed__9; -lean_inc(x_92); -x_98 = l_Lean_Syntax_isOfKind(x_92, x_97); -if (x_98 == 0) +lean_object* x_100; uint8_t x_101; +x_100 = l_Lean_Elab_Term_toParserDescr_process___closed__9; +lean_inc(x_95); +x_101 = l_Lean_Syntax_isOfKind(x_95, x_100); +if (x_101 == 0) { -lean_object* x_99; lean_object* x_100; lean_object* x_101; -lean_dec(x_92); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec(x_95); lean_dec(x_2); -x_99 = lean_box(0); -x_100 = lean_box(0); -x_101 = l_Lean_Syntax_mkAntiquotNode(x_87, x_86, x_99, x_100); -lean_ctor_set(x_4, 0, x_101); +x_102 = lean_box(0); +x_103 = lean_box(0); +x_104 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_102, x_103); +lean_ctor_set(x_4, 0, x_104); return x_4; } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; -x_102 = lean_unsigned_to_nat(1u); -x_103 = l_Lean_Syntax_getArg(x_92, x_102); -x_104 = l_Lean_nullKind; -x_105 = l_Lean_Syntax_isNodeOf(x_103, x_104, x_102); -if (x_105 == 0) +lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_105 = lean_unsigned_to_nat(1u); +x_106 = l_Lean_Syntax_getArg(x_95, x_105); +x_107 = l_Lean_nullKind; +x_108 = l_Lean_Syntax_isNodeOf(x_106, x_107, x_105); +if (x_108 == 0) { -lean_object* x_106; lean_object* x_107; lean_object* x_108; -lean_dec(x_92); +lean_object* x_109; lean_object* x_110; lean_object* x_111; +lean_dec(x_95); lean_dec(x_2); -x_106 = lean_box(0); -x_107 = lean_box(0); -x_108 = l_Lean_Syntax_mkAntiquotNode(x_87, x_86, x_106, x_107); -lean_ctor_set(x_4, 0, x_108); +x_109 = lean_box(0); +x_110 = lean_box(0); +x_111 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_109, x_110); +lean_ctor_set(x_4, 0, x_111); return x_4; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_109 = lean_unsigned_to_nat(3u); -x_110 = l_Lean_Syntax_getArg(x_92, x_109); -x_111 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; -lean_inc(x_110); -x_112 = l_Lean_Syntax_isOfKind(x_110, x_111); -if (x_112 == 0) +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_unsigned_to_nat(3u); +x_113 = l_Lean_Syntax_getArg(x_95, x_112); +x_114 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; +lean_inc(x_113); +x_115 = l_Lean_Syntax_isOfKind(x_113, x_114); +if (x_115 == 0) { -lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec(x_110); -lean_dec(x_92); +lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_113); +lean_dec(x_95); lean_dec(x_2); -x_113 = lean_box(0); -x_114 = lean_box(0); -x_115 = l_Lean_Syntax_mkAntiquotNode(x_87, x_86, x_113, x_114); -lean_ctor_set(x_4, 0, x_115); +x_116 = lean_box(0); +x_117 = lean_box(0); +x_118 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_116, x_117); +lean_ctor_set(x_4, 0, x_118); return x_4; } else { -lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_116 = lean_unsigned_to_nat(4u); -x_117 = l_Lean_Syntax_getArg(x_92, x_116); -x_118 = l_Lean_Syntax_isNone(x_117); -if (x_118 == 0) +lean_object* x_119; lean_object* x_120; uint8_t x_121; +x_119 = lean_unsigned_to_nat(4u); +x_120 = l_Lean_Syntax_getArg(x_95, x_119); +x_121 = l_Lean_Syntax_isNone(x_120); +if (x_121 == 0) { -uint8_t x_119; -lean_inc(x_117); -x_119 = l_Lean_Syntax_isNodeOf(x_117, x_104, x_91); -if (x_119 == 0) +uint8_t x_122; +lean_inc(x_120); +x_122 = l_Lean_Syntax_isNodeOf(x_120, x_107, x_94); +if (x_122 == 0) { -lean_object* x_120; lean_object* x_121; lean_object* x_122; -lean_dec(x_117); -lean_dec(x_110); -lean_dec(x_92); +lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_dec(x_120); +lean_dec(x_113); +lean_dec(x_95); lean_dec(x_2); -x_120 = lean_box(0); -x_121 = lean_box(0); -x_122 = l_Lean_Syntax_mkAntiquotNode(x_87, x_86, x_120, x_121); -lean_ctor_set(x_4, 0, x_122); +x_123 = lean_box(0); +x_124 = lean_box(0); +x_125 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_123, x_124); +lean_ctor_set(x_4, 0, x_125); return x_4; } else { -lean_object* x_123; uint8_t x_124; -x_123 = l_Lean_Syntax_getArg(x_117, x_102); -lean_dec(x_117); -lean_inc(x_123); -x_124 = l_Lean_Syntax_isNodeOf(x_123, x_104, x_102); -if (x_124 == 0) +lean_object* x_126; uint8_t x_127; +x_126 = l_Lean_Syntax_getArg(x_120, x_105); +lean_dec(x_120); +lean_inc(x_126); +x_127 = l_Lean_Syntax_isNodeOf(x_126, x_107, x_105); +if (x_127 == 0) { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -lean_dec(x_123); -lean_dec(x_110); -lean_dec(x_92); +lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_126); +lean_dec(x_113); +lean_dec(x_95); lean_dec(x_2); -x_125 = lean_box(0); -x_126 = lean_box(0); -x_127 = l_Lean_Syntax_mkAntiquotNode(x_87, x_86, x_125, x_126); -lean_ctor_set(x_4, 0, x_127); +x_128 = lean_box(0); +x_129 = lean_box(0); +x_130 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_128, x_129); +lean_ctor_set(x_4, 0, x_130); return x_4; } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_free_object(x_4); -x_128 = l_Lean_Syntax_getArg(x_123, x_86); -lean_dec(x_123); -x_129 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_129, 0, x_128); -x_130 = lean_box(0); -x_131 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_92, x_110, x_87, x_130, x_129, x_2, x_7); -lean_dec(x_2); -lean_dec(x_129); -lean_dec(x_110); -lean_dec(x_92); -return x_131; -} -} -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; -lean_dec(x_117); -lean_free_object(x_4); -x_132 = lean_box(0); +x_131 = l_Lean_Syntax_getArg(x_126, x_11); +lean_dec(x_126); +x_132 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_132, 0, x_131); x_133 = lean_box(0); -x_134 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_92, x_110, x_87, x_133, x_132, x_2, x_7); +x_134 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_95, x_113, x_90, x_133, x_132, x_2, x_7); lean_dec(x_2); -lean_dec(x_110); -lean_dec(x_92); +lean_dec(x_132); +lean_dec(x_113); +lean_dec(x_95); return x_134; } } } -} -} else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; -x_135 = lean_unsigned_to_nat(1u); -x_136 = l_Lean_Syntax_getArg(x_92, x_135); -x_137 = l_Lean_nullKind; -x_138 = l_Lean_Syntax_isNodeOf(x_136, x_137, x_135); -if (x_138 == 0) -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; -lean_dec(x_92); -lean_dec(x_2); -x_139 = lean_box(0); -x_140 = lean_box(0); -x_141 = l_Lean_Syntax_mkAntiquotNode(x_87, x_86, x_139, x_140); -lean_ctor_set(x_4, 0, x_141); -return x_4; -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; -x_142 = lean_unsigned_to_nat(3u); -x_143 = l_Lean_Syntax_getArg(x_92, x_142); -x_144 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; -lean_inc(x_143); -x_145 = l_Lean_Syntax_isOfKind(x_143, x_144); -if (x_145 == 0) -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; -lean_dec(x_143); -lean_dec(x_92); -lean_dec(x_2); -x_146 = lean_box(0); -x_147 = lean_box(0); -x_148 = l_Lean_Syntax_mkAntiquotNode(x_87, x_86, x_146, x_147); -lean_ctor_set(x_4, 0, x_148); -return x_4; -} -else -{ -lean_object* x_149; lean_object* x_150; uint8_t x_151; -x_149 = lean_unsigned_to_nat(4u); -x_150 = l_Lean_Syntax_getArg(x_92, x_149); -x_151 = l_Lean_Syntax_isNone(x_150); -if (x_151 == 0) -{ -uint8_t x_152; -lean_inc(x_150); -x_152 = l_Lean_Syntax_isNodeOf(x_150, x_137, x_91); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; -lean_dec(x_150); -lean_dec(x_143); -lean_dec(x_92); -lean_dec(x_2); -x_153 = lean_box(0); -x_154 = lean_box(0); -x_155 = l_Lean_Syntax_mkAntiquotNode(x_87, x_86, x_153, x_154); -lean_ctor_set(x_4, 0, x_155); -return x_4; -} -else -{ -lean_object* x_156; uint8_t x_157; -x_156 = l_Lean_Syntax_getArg(x_150, x_135); -lean_dec(x_150); -lean_inc(x_156); -x_157 = l_Lean_Syntax_isNodeOf(x_156, x_137, x_135); -if (x_157 == 0) -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; -lean_dec(x_156); -lean_dec(x_143); -lean_dec(x_92); -lean_dec(x_2); -x_158 = lean_box(0); -x_159 = lean_box(0); -x_160 = l_Lean_Syntax_mkAntiquotNode(x_87, x_86, x_158, x_159); -lean_ctor_set(x_4, 0, x_160); -return x_4; -} -else -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +lean_object* x_135; lean_object* x_136; lean_object* x_137; +lean_dec(x_120); lean_free_object(x_4); -x_161 = l_Lean_Syntax_getArg(x_156, x_86); -lean_dec(x_156); -x_162 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_162, 0, x_161); -x_163 = lean_box(0); -x_164 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_92, x_143, x_87, x_163, x_162, x_2, x_7); +x_135 = lean_box(0); +x_136 = lean_box(0); +x_137 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_95, x_113, x_90, x_136, x_135, x_2, x_7); lean_dec(x_2); -lean_dec(x_162); -lean_dec(x_143); -lean_dec(x_92); -return x_164; +lean_dec(x_113); +lean_dec(x_95); +return x_137; +} +} } } } else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; -lean_dec(x_150); +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +x_138 = lean_unsigned_to_nat(1u); +x_139 = l_Lean_Syntax_getArg(x_95, x_138); +x_140 = l_Lean_nullKind; +x_141 = l_Lean_Syntax_isNodeOf(x_139, x_140, x_138); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_dec(x_95); +lean_dec(x_2); +x_142 = lean_box(0); +x_143 = lean_box(0); +x_144 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_142, x_143); +lean_ctor_set(x_4, 0, x_144); +return x_4; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; +x_145 = lean_unsigned_to_nat(3u); +x_146 = l_Lean_Syntax_getArg(x_95, x_145); +x_147 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; +lean_inc(x_146); +x_148 = l_Lean_Syntax_isOfKind(x_146, x_147); +if (x_148 == 0) +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; +lean_dec(x_146); +lean_dec(x_95); +lean_dec(x_2); +x_149 = lean_box(0); +x_150 = lean_box(0); +x_151 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_149, x_150); +lean_ctor_set(x_4, 0, x_151); +return x_4; +} +else +{ +lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_152 = lean_unsigned_to_nat(4u); +x_153 = l_Lean_Syntax_getArg(x_95, x_152); +x_154 = l_Lean_Syntax_isNone(x_153); +if (x_154 == 0) +{ +uint8_t x_155; +lean_inc(x_153); +x_155 = l_Lean_Syntax_isNodeOf(x_153, x_140, x_94); +if (x_155 == 0) +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; +lean_dec(x_153); +lean_dec(x_146); +lean_dec(x_95); +lean_dec(x_2); +x_156 = lean_box(0); +x_157 = lean_box(0); +x_158 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_156, x_157); +lean_ctor_set(x_4, 0, x_158); +return x_4; +} +else +{ +lean_object* x_159; uint8_t x_160; +x_159 = l_Lean_Syntax_getArg(x_153, x_138); +lean_dec(x_153); +lean_inc(x_159); +x_160 = l_Lean_Syntax_isNodeOf(x_159, x_140, x_138); +if (x_160 == 0) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_159); +lean_dec(x_146); +lean_dec(x_95); +lean_dec(x_2); +x_161 = lean_box(0); +x_162 = lean_box(0); +x_163 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_161, x_162); +lean_ctor_set(x_4, 0, x_163); +return x_4; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_free_object(x_4); -x_165 = lean_box(0); +x_164 = l_Lean_Syntax_getArg(x_159, x_11); +lean_dec(x_159); +x_165 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_165, 0, x_164); x_166 = lean_box(0); -x_167 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_92, x_143, x_87, x_166, x_165, x_2, x_7); +x_167 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_95, x_146, x_90, x_166, x_165, x_2, x_7); lean_dec(x_2); -lean_dec(x_143); -lean_dec(x_92); +lean_dec(x_165); +lean_dec(x_146); +lean_dec(x_95); return x_167; } } } -} -} else { -lean_object* x_168; lean_object* x_169; uint8_t x_170; +lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_dec(x_153); +lean_free_object(x_4); +x_168 = lean_box(0); +x_169 = lean_box(0); +x_170 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_95, x_146, x_90, x_169, x_168, x_2, x_7); lean_dec(x_2); -x_168 = l_Lean_Syntax_getArg(x_92, x_86); -x_169 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; -x_170 = l_Lean_Syntax_matchesIdent(x_168, x_169); -lean_dec(x_168); -if (x_170 == 0) -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; -lean_dec(x_92); -x_171 = lean_box(0); -x_172 = lean_box(0); -x_173 = l_Lean_Syntax_mkAntiquotNode(x_87, x_86, x_171, x_172); -lean_ctor_set(x_4, 0, x_173); -return x_4; +lean_dec(x_146); +lean_dec(x_95); +return x_170; +} +} +} +} } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_174 = l_Lean_Syntax_getArg(x_92, x_91); -lean_dec(x_92); -x_175 = l_Lean_nullKind; -x_176 = lean_unsigned_to_nat(1u); -x_177 = l_Lean_Syntax_isNodeOf(x_174, x_175, x_176); +lean_object* x_171; lean_object* x_172; uint8_t x_173; +lean_dec(x_2); +x_171 = l_Lean_Syntax_getArg(x_95, x_11); +x_172 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; +x_173 = l_Lean_Syntax_matchesIdent(x_171, x_172); +if (x_173 == 0) +{ +lean_object* x_174; uint8_t x_175; +x_174 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10; +x_175 = l_Lean_Syntax_matchesIdent(x_171, x_174); +if (x_175 == 0) +{ +lean_object* x_176; uint8_t x_177; +x_176 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12; +x_177 = l_Lean_Syntax_matchesIdent(x_171, x_176); +lean_dec(x_171); if (x_177 == 0) { lean_object* x_178; lean_object* x_179; lean_object* x_180; +lean_dec(x_95); x_178 = lean_box(0); x_179 = lean_box(0); -x_180 = l_Lean_Syntax_mkAntiquotNode(x_87, x_86, x_178, x_179); +x_180 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_178, x_179); lean_ctor_set(x_4, 0, x_180); return x_4; } else { -lean_object* x_181; lean_object* x_182; -x_181 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; -x_182 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_169, x_87, x_181); -lean_ctor_set(x_4, 0, x_182); +lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; +x_181 = l_Lean_Syntax_getArg(x_95, x_94); +lean_dec(x_95); +x_182 = l_Lean_nullKind; +x_183 = lean_unsigned_to_nat(1u); +x_184 = l_Lean_Syntax_isNodeOf(x_181, x_182, x_183); +if (x_184 == 0) +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_box(0); +x_186 = lean_box(0); +x_187 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_185, x_186); +lean_ctor_set(x_4, 0, x_187); +return x_4; +} +else +{ +lean_object* x_188; lean_object* x_189; +x_188 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; +x_189 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_174, x_90, x_188); +lean_ctor_set(x_4, 0, x_189); +return x_4; +} +} +} +else +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +lean_dec(x_171); +x_190 = l_Lean_Syntax_getArg(x_95, x_94); +lean_dec(x_95); +x_191 = l_Lean_nullKind; +x_192 = lean_unsigned_to_nat(1u); +x_193 = l_Lean_Syntax_isNodeOf(x_190, x_191, x_192); +if (x_193 == 0) +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_194 = lean_box(0); +x_195 = lean_box(0); +x_196 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_194, x_195); +lean_ctor_set(x_4, 0, x_196); +return x_4; +} +else +{ +lean_object* x_197; lean_object* x_198; +x_197 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; +x_198 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_174, x_90, x_197); +lean_ctor_set(x_4, 0, x_198); +return x_4; +} +} +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; +lean_dec(x_171); +x_199 = l_Lean_Syntax_getArg(x_95, x_94); +lean_dec(x_95); +x_200 = l_Lean_nullKind; +x_201 = lean_unsigned_to_nat(1u); +x_202 = l_Lean_Syntax_isNodeOf(x_199, x_200, x_201); +if (x_202 == 0) +{ +lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_203 = lean_box(0); +x_204 = lean_box(0); +x_205 = l_Lean_Syntax_mkAntiquotNode(x_90, x_11, x_203, x_204); +lean_ctor_set(x_4, 0, x_205); +return x_4; +} +else +{ +lean_object* x_206; lean_object* x_207; +x_206 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13; +x_207 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_172, x_90, x_206); +lean_ctor_set(x_4, 0, x_207); return x_4; } } @@ -34583,580 +35768,674 @@ return x_4; } } } +} else { -lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; -x_183 = lean_ctor_get(x_4, 0); -x_184 = lean_ctor_get(x_4, 1); -lean_inc(x_184); -lean_inc(x_183); +lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; +x_208 = lean_ctor_get(x_4, 0); +x_209 = lean_ctor_get(x_4, 1); +lean_inc(x_209); +lean_inc(x_208); lean_dec(x_4); -x_185 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2; -lean_inc(x_183); -x_186 = l_Lean_Syntax_isOfKind(x_183, x_185); -if (x_186 == 0) +x_210 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__2; +lean_inc(x_208); +x_211 = l_Lean_Syntax_isOfKind(x_208, x_210); +if (x_211 == 0) { -lean_object* x_187; uint8_t x_188; -x_187 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; -lean_inc(x_183); -x_188 = l_Lean_Syntax_isOfKind(x_183, x_187); -if (x_188 == 0) -{ -lean_object* x_189; lean_object* x_190; -lean_dec(x_183); +lean_object* x_212; lean_object* x_213; +lean_dec(x_208); lean_dec(x_2); -x_189 = lean_box(1); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_184); -return x_190; +x_212 = lean_box(1); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_212); +lean_ctor_set(x_213, 1, x_209); +return x_213; } else { -lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; -x_191 = lean_unsigned_to_nat(0u); -x_192 = l_Lean_Syntax_getArg(x_183, x_191); -x_193 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; -lean_inc(x_192); -x_194 = l_Lean_Syntax_isOfKind(x_192, x_193); -if (x_194 == 0) +lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; +x_214 = lean_unsigned_to_nat(0u); +x_215 = l_Lean_Syntax_getArg(x_208, x_214); +lean_dec(x_208); +x_216 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4; +lean_inc(x_215); +x_217 = l_Lean_Syntax_isOfKind(x_215, x_216); +if (x_217 == 0) { -lean_object* x_195; -x_195 = l_Lean_Elab_Command_strLitToPattern(x_192, x_2, x_184); -lean_dec(x_2); -lean_dec(x_192); -if (lean_obj_tag(x_195) == 0) -{ -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; -x_196 = lean_ctor_get(x_195, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_195, 1); -lean_inc(x_197); -if (lean_is_exclusive(x_195)) { - lean_ctor_release(x_195, 0); - lean_ctor_release(x_195, 1); - x_198 = x_195; -} else { - lean_dec_ref(x_195); - x_198 = lean_box(0); -} -x_199 = lean_unsigned_to_nat(1u); -x_200 = l_Lean_Syntax_getArg(x_183, x_199); -lean_dec(x_183); -x_201 = l_Lean_Syntax_getArg(x_200, x_199); -lean_dec(x_200); -x_202 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_203 = lean_array_push(x_202, x_196); -x_204 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; -x_205 = lean_array_push(x_203, x_204); -x_206 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -x_207 = lean_array_push(x_205, x_206); -x_208 = lean_array_push(x_207, x_201); -x_209 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_208); -if (lean_is_scalar(x_198)) { - x_211 = lean_alloc_ctor(0, 2, 0); -} else { - x_211 = x_198; -} -lean_ctor_set(x_211, 0, x_210); -lean_ctor_set(x_211, 1, x_197); -return x_211; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; -lean_dec(x_183); -x_212 = lean_ctor_get(x_195, 0); -lean_inc(x_212); -x_213 = lean_ctor_get(x_195, 1); -lean_inc(x_213); -if (lean_is_exclusive(x_195)) { - lean_ctor_release(x_195, 0); - lean_ctor_release(x_195, 1); - x_214 = x_195; -} else { - lean_dec_ref(x_195); - x_214 = lean_box(0); -} -if (lean_is_scalar(x_214)) { - x_215 = lean_alloc_ctor(1, 2, 0); -} else { - x_215 = x_214; -} -lean_ctor_set(x_215, 0, x_212); -lean_ctor_set(x_215, 1, x_213); -return x_215; -} -} -else -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; uint8_t x_219; -x_216 = lean_unsigned_to_nat(1u); -x_217 = l_Lean_Syntax_getArg(x_183, x_216); -lean_dec(x_183); -x_218 = l_Lean_nullKind; -lean_inc(x_217); -x_219 = l_Lean_Syntax_isNodeOf(x_217, x_218, x_191); +lean_object* x_218; uint8_t x_219; +x_218 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6; +lean_inc(x_215); +x_219 = l_Lean_Syntax_isOfKind(x_215, x_218); if (x_219 == 0) { -lean_object* x_220; -x_220 = l_Lean_Elab_Command_strLitToPattern(x_192, x_2, x_184); +lean_object* x_220; lean_object* x_221; +lean_dec(x_215); lean_dec(x_2); -lean_dec(x_192); -if (lean_obj_tag(x_220) == 0) +x_220 = lean_box(1); +x_221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_221, 0, x_220); +lean_ctor_set(x_221, 1, x_209); +return x_221; +} +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; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); +lean_object* x_222; lean_object* x_223; uint8_t x_224; +x_222 = l_Lean_Syntax_getArg(x_215, x_214); +x_223 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; lean_inc(x_222); -if (lean_is_exclusive(x_220)) { - lean_ctor_release(x_220, 0); - lean_ctor_release(x_220, 1); - x_223 = x_220; -} else { - lean_dec_ref(x_220); - x_223 = lean_box(0); -} -x_224 = l_Lean_Syntax_getArg(x_217, x_216); -lean_dec(x_217); -x_225 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_226 = lean_array_push(x_225, x_221); -x_227 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; -x_228 = lean_array_push(x_226, x_227); -x_229 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; -x_230 = lean_array_push(x_228, x_229); -x_231 = lean_array_push(x_230, x_224); -x_232 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_231); -if (lean_is_scalar(x_223)) { - x_234 = lean_alloc_ctor(0, 2, 0); -} else { - x_234 = x_223; -} -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_222); -return x_234; -} -else +x_224 = l_Lean_Syntax_isOfKind(x_222, x_223); +if (x_224 == 0) { -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; -lean_dec(x_217); -x_235 = lean_ctor_get(x_220, 0); -lean_inc(x_235); -x_236 = lean_ctor_get(x_220, 1); -lean_inc(x_236); -if (lean_is_exclusive(x_220)) { - lean_ctor_release(x_220, 0); - lean_ctor_release(x_220, 1); - x_237 = x_220; -} else { - lean_dec_ref(x_220); - x_237 = lean_box(0); -} -if (lean_is_scalar(x_237)) { - x_238 = lean_alloc_ctor(1, 2, 0); -} else { - x_238 = x_237; -} -lean_ctor_set(x_238, 0, x_235); -lean_ctor_set(x_238, 1, x_236); -return x_238; -} -} -else -{ -lean_object* x_239; -lean_dec(x_217); -x_239 = l_Lean_Elab_Command_strLitToPattern(x_192, x_2, x_184); +lean_object* x_225; +x_225 = l_Lean_Elab_Command_strLitToPattern(x_222, x_2, x_209); lean_dec(x_2); -lean_dec(x_192); -return x_239; -} +lean_dec(x_222); +if (lean_obj_tag(x_225) == 0) +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; 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; +x_226 = lean_ctor_get(x_225, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_225, 1); +lean_inc(x_227); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + x_228 = x_225; +} else { + lean_dec_ref(x_225); + x_228 = lean_box(0); } +x_229 = lean_unsigned_to_nat(1u); +x_230 = l_Lean_Syntax_getArg(x_215, x_229); +lean_dec(x_215); +x_231 = l_Lean_Syntax_getArg(x_230, x_229); +lean_dec(x_230); +x_232 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_233 = lean_array_push(x_232, x_226); +x_234 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +x_235 = lean_array_push(x_233, x_234); +x_236 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +x_237 = lean_array_push(x_235, x_236); +x_238 = lean_array_push(x_237, x_231); +x_239 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_239); +lean_ctor_set(x_240, 1, x_238); +if (lean_is_scalar(x_228)) { + x_241 = lean_alloc_ctor(0, 2, 0); +} else { + x_241 = x_228; } +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_227); +return x_241; } else { -lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; -x_240 = lean_unsigned_to_nat(0u); -x_241 = l_Lean_Syntax_getArg(x_183, x_240); -x_242 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -lean_inc(x_241); -x_243 = l_Lean_Syntax_isOfKind(x_241, x_242); -if (x_243 == 0) -{ -lean_object* x_244; lean_object* x_245; -lean_dec(x_241); -lean_dec(x_183); -lean_dec(x_2); -x_244 = lean_box(1); -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_184); +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +lean_dec(x_215); +x_242 = lean_ctor_get(x_225, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_225, 1); +lean_inc(x_243); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + x_244 = x_225; +} else { + lean_dec_ref(x_225); + x_244 = lean_box(0); +} +if (lean_is_scalar(x_244)) { + x_245 = lean_alloc_ctor(1, 2, 0); +} else { + x_245 = x_244; +} +lean_ctor_set(x_245, 0, x_242); +lean_ctor_set(x_245, 1, x_243); return x_245; } +} else { lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; -x_246 = lean_unsigned_to_nat(2u); -x_247 = l_Lean_Syntax_getArg(x_183, x_246); -lean_dec(x_183); -x_248 = l_Lean_Elab_Term_toParserDescr_process___closed__4; +x_246 = lean_unsigned_to_nat(1u); +x_247 = l_Lean_Syntax_getArg(x_215, x_246); +lean_dec(x_215); +x_248 = l_Lean_nullKind; lean_inc(x_247); -x_249 = l_Lean_Syntax_isOfKind(x_247, x_248); +x_249 = l_Lean_Syntax_isNodeOf(x_247, x_248, x_214); if (x_249 == 0) { -lean_object* x_250; uint8_t x_251; -x_250 = l_Lean_Elab_Term_toParserDescr_process___closed__7; -lean_inc(x_247); -x_251 = l_Lean_Syntax_isOfKind(x_247, x_250); -if (x_251 == 0) -{ -lean_object* x_252; uint8_t x_253; -x_252 = l_Lean_Elab_Term_toParserDescr_process___closed__9; -lean_inc(x_247); -x_253 = l_Lean_Syntax_isOfKind(x_247, x_252); -if (x_253 == 0) -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -lean_dec(x_247); +lean_object* x_250; +x_250 = l_Lean_Elab_Command_strLitToPattern(x_222, x_2, x_209); lean_dec(x_2); -x_254 = lean_box(0); -x_255 = lean_box(0); -x_256 = l_Lean_Syntax_mkAntiquotNode(x_241, x_240, x_254, x_255); -x_257 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_257, 0, x_256); -lean_ctor_set(x_257, 1, x_184); -return x_257; +lean_dec(x_222); +if (lean_obj_tag(x_250) == 0) +{ +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; +x_251 = lean_ctor_get(x_250, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_250, 1); +lean_inc(x_252); +if (lean_is_exclusive(x_250)) { + lean_ctor_release(x_250, 0); + lean_ctor_release(x_250, 1); + x_253 = x_250; +} else { + lean_dec_ref(x_250); + x_253 = lean_box(0); +} +x_254 = l_Lean_Syntax_getArg(x_247, x_246); +lean_dec(x_247); +x_255 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_256 = lean_array_push(x_255, x_251); +x_257 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__4; +x_258 = lean_array_push(x_256, x_257); +x_259 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__6; +x_260 = lean_array_push(x_258, x_259); +x_261 = lean_array_push(x_260, x_254); +x_262 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__2; +x_263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_261); +if (lean_is_scalar(x_253)) { + x_264 = lean_alloc_ctor(0, 2, 0); +} else { + x_264 = x_253; +} +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_252); +return x_264; } else { -lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; -x_258 = lean_unsigned_to_nat(1u); -x_259 = l_Lean_Syntax_getArg(x_247, x_258); -x_260 = l_Lean_nullKind; -x_261 = l_Lean_Syntax_isNodeOf(x_259, x_260, x_258); -if (x_261 == 0) -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; +lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_dec(x_247); -lean_dec(x_2); -x_262 = lean_box(0); -x_263 = lean_box(0); -x_264 = l_Lean_Syntax_mkAntiquotNode(x_241, x_240, x_262, x_263); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_184); -return x_265; +x_265 = lean_ctor_get(x_250, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_250, 1); +lean_inc(x_266); +if (lean_is_exclusive(x_250)) { + lean_ctor_release(x_250, 0); + lean_ctor_release(x_250, 1); + x_267 = x_250; +} else { + lean_dec_ref(x_250); + x_267 = lean_box(0); +} +if (lean_is_scalar(x_267)) { + x_268 = lean_alloc_ctor(1, 2, 0); +} else { + x_268 = x_267; +} +lean_ctor_set(x_268, 0, x_265); +lean_ctor_set(x_268, 1, x_266); +return x_268; +} } else { -lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; -x_266 = lean_unsigned_to_nat(3u); -x_267 = l_Lean_Syntax_getArg(x_247, x_266); -x_268 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; -lean_inc(x_267); -x_269 = l_Lean_Syntax_isOfKind(x_267, x_268); -if (x_269 == 0) -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; -lean_dec(x_267); +lean_object* x_269; lean_dec(x_247); +x_269 = l_Lean_Elab_Command_strLitToPattern(x_222, x_2, x_209); lean_dec(x_2); -x_270 = lean_box(0); -x_271 = lean_box(0); -x_272 = l_Lean_Syntax_mkAntiquotNode(x_241, x_240, x_270, x_271); -x_273 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_184); -return x_273; +lean_dec(x_222); +return x_269; +} +} +} } else { -lean_object* x_274; lean_object* x_275; uint8_t x_276; -x_274 = lean_unsigned_to_nat(4u); -x_275 = l_Lean_Syntax_getArg(x_247, x_274); -x_276 = l_Lean_Syntax_isNone(x_275); -if (x_276 == 0) +lean_object* x_270; lean_object* x_271; uint8_t x_272; +x_270 = l_Lean_Syntax_getArg(x_215, x_214); +x_271 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; +lean_inc(x_270); +x_272 = l_Lean_Syntax_isOfKind(x_270, x_271); +if (x_272 == 0) { -uint8_t x_277; -lean_inc(x_275); -x_277 = l_Lean_Syntax_isNodeOf(x_275, x_260, x_246); -if (x_277 == 0) -{ -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; -lean_dec(x_275); -lean_dec(x_267); -lean_dec(x_247); +lean_object* x_273; lean_object* x_274; +lean_dec(x_270); +lean_dec(x_215); lean_dec(x_2); -x_278 = lean_box(0); -x_279 = lean_box(0); -x_280 = l_Lean_Syntax_mkAntiquotNode(x_241, x_240, x_278, x_279); -x_281 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_281, 0, x_280); -lean_ctor_set(x_281, 1, x_184); -return x_281; +x_273 = lean_box(1); +x_274 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_274, 0, x_273); +lean_ctor_set(x_274, 1, x_209); +return x_274; } else { -lean_object* x_282; uint8_t x_283; -x_282 = l_Lean_Syntax_getArg(x_275, x_258); -lean_dec(x_275); -lean_inc(x_282); -x_283 = l_Lean_Syntax_isNodeOf(x_282, x_260, x_258); -if (x_283 == 0) +lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; +x_275 = lean_unsigned_to_nat(2u); +x_276 = l_Lean_Syntax_getArg(x_215, x_275); +lean_dec(x_215); +x_277 = l_Lean_Elab_Term_toParserDescr_process___closed__4; +lean_inc(x_276); +x_278 = l_Lean_Syntax_isOfKind(x_276, x_277); +if (x_278 == 0) { -lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; -lean_dec(x_282); -lean_dec(x_267); -lean_dec(x_247); +lean_object* x_279; uint8_t x_280; +x_279 = l_Lean_Elab_Term_toParserDescr_process___closed__7; +lean_inc(x_276); +x_280 = l_Lean_Syntax_isOfKind(x_276, x_279); +if (x_280 == 0) +{ +lean_object* x_281; uint8_t x_282; +x_281 = l_Lean_Elab_Term_toParserDescr_process___closed__9; +lean_inc(x_276); +x_282 = l_Lean_Syntax_isOfKind(x_276, x_281); +if (x_282 == 0) +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_dec(x_276); lean_dec(x_2); +x_283 = lean_box(0); x_284 = lean_box(0); -x_285 = lean_box(0); -x_286 = l_Lean_Syntax_mkAntiquotNode(x_241, x_240, x_284, x_285); -x_287 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_184); -return x_287; +x_285 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_283, x_284); +x_286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_209); +return x_286; } else { -lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -x_288 = l_Lean_Syntax_getArg(x_282, x_240); -lean_dec(x_282); -x_289 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_289, 0, x_288); -x_290 = lean_box(0); -x_291 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_247, x_267, x_241, x_290, x_289, x_2, x_184); +lean_object* x_287; lean_object* x_288; lean_object* x_289; uint8_t x_290; +x_287 = lean_unsigned_to_nat(1u); +x_288 = l_Lean_Syntax_getArg(x_276, x_287); +x_289 = l_Lean_nullKind; +x_290 = l_Lean_Syntax_isNodeOf(x_288, x_289, x_287); +if (x_290 == 0) +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; +lean_dec(x_276); lean_dec(x_2); -lean_dec(x_289); -lean_dec(x_267); -lean_dec(x_247); -return x_291; -} -} -} -else -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; -lean_dec(x_275); +x_291 = lean_box(0); x_292 = lean_box(0); -x_293 = lean_box(0); -x_294 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_247, x_267, x_241, x_293, x_292, x_2, x_184); -lean_dec(x_2); -lean_dec(x_267); -lean_dec(x_247); +x_293 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_291, x_292); +x_294 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_294, 0, x_293); +lean_ctor_set(x_294, 1, x_209); return x_294; } -} -} -} -} else { lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; -x_295 = lean_unsigned_to_nat(1u); -x_296 = l_Lean_Syntax_getArg(x_247, x_295); -x_297 = l_Lean_nullKind; -x_298 = l_Lean_Syntax_isNodeOf(x_296, x_297, x_295); +x_295 = lean_unsigned_to_nat(3u); +x_296 = l_Lean_Syntax_getArg(x_276, x_295); +x_297 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; +lean_inc(x_296); +x_298 = l_Lean_Syntax_isOfKind(x_296, x_297); if (x_298 == 0) { lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; -lean_dec(x_247); +lean_dec(x_296); +lean_dec(x_276); lean_dec(x_2); x_299 = lean_box(0); x_300 = lean_box(0); -x_301 = l_Lean_Syntax_mkAntiquotNode(x_241, x_240, x_299, x_300); +x_301 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_299, x_300); x_302 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_302, 0, x_301); -lean_ctor_set(x_302, 1, x_184); +lean_ctor_set(x_302, 1, x_209); return x_302; } else { -lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; -x_303 = lean_unsigned_to_nat(3u); -x_304 = l_Lean_Syntax_getArg(x_247, x_303); -x_305 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; +lean_object* x_303; lean_object* x_304; uint8_t x_305; +x_303 = lean_unsigned_to_nat(4u); +x_304 = l_Lean_Syntax_getArg(x_276, x_303); +x_305 = l_Lean_Syntax_isNone(x_304); +if (x_305 == 0) +{ +uint8_t x_306; lean_inc(x_304); -x_306 = l_Lean_Syntax_isOfKind(x_304, x_305); +x_306 = l_Lean_Syntax_isNodeOf(x_304, x_289, x_275); if (x_306 == 0) { lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_dec(x_304); -lean_dec(x_247); +lean_dec(x_296); +lean_dec(x_276); lean_dec(x_2); x_307 = lean_box(0); x_308 = lean_box(0); -x_309 = l_Lean_Syntax_mkAntiquotNode(x_241, x_240, x_307, x_308); +x_309 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_307, x_308); x_310 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_310, 0, x_309); -lean_ctor_set(x_310, 1, x_184); +lean_ctor_set(x_310, 1, x_209); return x_310; } else { -lean_object* x_311; lean_object* x_312; uint8_t x_313; -x_311 = lean_unsigned_to_nat(4u); -x_312 = l_Lean_Syntax_getArg(x_247, x_311); -x_313 = l_Lean_Syntax_isNone(x_312); -if (x_313 == 0) -{ -uint8_t x_314; -lean_inc(x_312); -x_314 = l_Lean_Syntax_isNodeOf(x_312, x_297, x_246); -if (x_314 == 0) -{ -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; -lean_dec(x_312); +lean_object* x_311; uint8_t x_312; +x_311 = l_Lean_Syntax_getArg(x_304, x_287); lean_dec(x_304); -lean_dec(x_247); +lean_inc(x_311); +x_312 = l_Lean_Syntax_isNodeOf(x_311, x_289, x_287); +if (x_312 == 0) +{ +lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; +lean_dec(x_311); +lean_dec(x_296); +lean_dec(x_276); lean_dec(x_2); -x_315 = lean_box(0); -x_316 = lean_box(0); -x_317 = l_Lean_Syntax_mkAntiquotNode(x_241, x_240, x_315, x_316); -x_318 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_318, 0, x_317); -lean_ctor_set(x_318, 1, x_184); -return x_318; +x_313 = lean_box(0); +x_314 = lean_box(0); +x_315 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_313, x_314); +x_316 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_316, 0, x_315); +lean_ctor_set(x_316, 1, x_209); +return x_316; } else { -lean_object* x_319; uint8_t x_320; -x_319 = l_Lean_Syntax_getArg(x_312, x_295); -lean_dec(x_312); -lean_inc(x_319); -x_320 = l_Lean_Syntax_isNodeOf(x_319, x_297, x_295); -if (x_320 == 0) -{ -lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; -lean_dec(x_319); -lean_dec(x_304); -lean_dec(x_247); +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; +x_317 = l_Lean_Syntax_getArg(x_311, x_214); +lean_dec(x_311); +x_318 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_318, 0, x_317); +x_319 = lean_box(0); +x_320 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_276, x_296, x_270, x_319, x_318, x_2, x_209); lean_dec(x_2); +lean_dec(x_318); +lean_dec(x_296); +lean_dec(x_276); +return x_320; +} +} +} +else +{ +lean_object* x_321; lean_object* x_322; lean_object* x_323; +lean_dec(x_304); x_321 = lean_box(0); x_322 = lean_box(0); -x_323 = l_Lean_Syntax_mkAntiquotNode(x_241, x_240, x_321, x_322); -x_324 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_324, 0, x_323); -lean_ctor_set(x_324, 1, x_184); -return x_324; -} -else -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_325 = l_Lean_Syntax_getArg(x_319, x_240); -lean_dec(x_319); -x_326 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_326, 0, x_325); -x_327 = lean_box(0); -x_328 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_247, x_304, x_241, x_327, x_326, x_2, x_184); +x_323 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_276, x_296, x_270, x_322, x_321, x_2, x_209); lean_dec(x_2); -lean_dec(x_326); -lean_dec(x_304); -lean_dec(x_247); -return x_328; +lean_dec(x_296); +lean_dec(x_276); +return x_323; +} +} } } } else { -lean_object* x_329; lean_object* x_330; lean_object* x_331; -lean_dec(x_312); +lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; +x_324 = lean_unsigned_to_nat(1u); +x_325 = l_Lean_Syntax_getArg(x_276, x_324); +x_326 = l_Lean_nullKind; +x_327 = l_Lean_Syntax_isNodeOf(x_325, x_326, x_324); +if (x_327 == 0) +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; +lean_dec(x_276); +lean_dec(x_2); +x_328 = lean_box(0); x_329 = lean_box(0); -x_330 = lean_box(0); -x_331 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_247, x_304, x_241, x_330, x_329, x_2, x_184); -lean_dec(x_2); -lean_dec(x_304); -lean_dec(x_247); +x_330 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_328, x_329); +x_331 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_209); return x_331; } -} -} -} -} else { -lean_object* x_332; lean_object* x_333; uint8_t x_334; +lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; +x_332 = lean_unsigned_to_nat(3u); +x_333 = l_Lean_Syntax_getArg(x_276, x_332); +x_334 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__89; +lean_inc(x_333); +x_335 = l_Lean_Syntax_isOfKind(x_333, x_334); +if (x_335 == 0) +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; +lean_dec(x_333); +lean_dec(x_276); lean_dec(x_2); -x_332 = l_Lean_Syntax_getArg(x_247, x_240); -x_333 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; -x_334 = l_Lean_Syntax_matchesIdent(x_332, x_333); -lean_dec(x_332); -if (x_334 == 0) -{ -lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; -lean_dec(x_247); -x_335 = lean_box(0); x_336 = lean_box(0); -x_337 = l_Lean_Syntax_mkAntiquotNode(x_241, x_240, x_335, x_336); -x_338 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_338, 0, x_337); -lean_ctor_set(x_338, 1, x_184); -return x_338; +x_337 = lean_box(0); +x_338 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_336, x_337); +x_339 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_339, 0, x_338); +lean_ctor_set(x_339, 1, x_209); +return x_339; } else { -lean_object* x_339; lean_object* x_340; lean_object* x_341; uint8_t x_342; -x_339 = l_Lean_Syntax_getArg(x_247, x_246); -lean_dec(x_247); -x_340 = l_Lean_nullKind; -x_341 = lean_unsigned_to_nat(1u); -x_342 = l_Lean_Syntax_isNodeOf(x_339, x_340, x_341); +lean_object* x_340; lean_object* x_341; uint8_t x_342; +x_340 = lean_unsigned_to_nat(4u); +x_341 = l_Lean_Syntax_getArg(x_276, x_340); +x_342 = l_Lean_Syntax_isNone(x_341); if (x_342 == 0) { -lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; -x_343 = lean_box(0); -x_344 = lean_box(0); -x_345 = l_Lean_Syntax_mkAntiquotNode(x_241, x_240, x_343, x_344); -x_346 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_346, 0, x_345); -lean_ctor_set(x_346, 1, x_184); -return x_346; -} -else +uint8_t x_343; +lean_inc(x_341); +x_343 = l_Lean_Syntax_isNodeOf(x_341, x_326, x_275); +if (x_343 == 0) { -lean_object* x_347; lean_object* x_348; lean_object* x_349; -x_347 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9; -x_348 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_333, x_241, x_347); -x_349 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_349, 0, x_348); -lean_ctor_set(x_349, 1, x_184); -return x_349; -} -} -} -} -} -} -} -else -{ -uint8_t x_350; +lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; +lean_dec(x_341); +lean_dec(x_333); +lean_dec(x_276); lean_dec(x_2); -x_350 = !lean_is_exclusive(x_4); -if (x_350 == 0) +x_344 = lean_box(0); +x_345 = lean_box(0); +x_346 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_344, x_345); +x_347 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_347, 0, x_346); +lean_ctor_set(x_347, 1, x_209); +return x_347; +} +else +{ +lean_object* x_348; uint8_t x_349; +x_348 = l_Lean_Syntax_getArg(x_341, x_324); +lean_dec(x_341); +lean_inc(x_348); +x_349 = l_Lean_Syntax_isNodeOf(x_348, x_326, x_324); +if (x_349 == 0) +{ +lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; +lean_dec(x_348); +lean_dec(x_333); +lean_dec(x_276); +lean_dec(x_2); +x_350 = lean_box(0); +x_351 = lean_box(0); +x_352 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_350, x_351); +x_353 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_353, 0, x_352); +lean_ctor_set(x_353, 1, x_209); +return x_353; +} +else +{ +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; +x_354 = l_Lean_Syntax_getArg(x_348, x_214); +lean_dec(x_348); +x_355 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_355, 0, x_354); +x_356 = lean_box(0); +x_357 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_276, x_333, x_270, x_356, x_355, x_2, x_209); +lean_dec(x_2); +lean_dec(x_355); +lean_dec(x_333); +lean_dec(x_276); +return x_357; +} +} +} +else +{ +lean_object* x_358; lean_object* x_359; lean_object* x_360; +lean_dec(x_341); +x_358 = lean_box(0); +x_359 = lean_box(0); +x_360 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__2(x_276, x_333, x_270, x_359, x_358, x_2, x_209); +lean_dec(x_2); +lean_dec(x_333); +lean_dec(x_276); +return x_360; +} +} +} +} +} +else +{ +lean_object* x_361; lean_object* x_362; uint8_t x_363; +lean_dec(x_2); +x_361 = l_Lean_Syntax_getArg(x_276, x_214); +x_362 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8; +x_363 = l_Lean_Syntax_matchesIdent(x_361, x_362); +if (x_363 == 0) +{ +lean_object* x_364; uint8_t x_365; +x_364 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10; +x_365 = l_Lean_Syntax_matchesIdent(x_361, x_364); +if (x_365 == 0) +{ +lean_object* x_366; uint8_t x_367; +x_366 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12; +x_367 = l_Lean_Syntax_matchesIdent(x_361, x_366); +lean_dec(x_361); +if (x_367 == 0) +{ +lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; +lean_dec(x_276); +x_368 = lean_box(0); +x_369 = lean_box(0); +x_370 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_368, x_369); +x_371 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_371, 0, x_370); +lean_ctor_set(x_371, 1, x_209); +return x_371; +} +else +{ +lean_object* x_372; lean_object* x_373; lean_object* x_374; uint8_t x_375; +x_372 = l_Lean_Syntax_getArg(x_276, x_275); +lean_dec(x_276); +x_373 = l_Lean_nullKind; +x_374 = lean_unsigned_to_nat(1u); +x_375 = l_Lean_Syntax_isNodeOf(x_372, x_373, x_374); +if (x_375 == 0) +{ +lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +x_376 = lean_box(0); +x_377 = lean_box(0); +x_378 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_376, x_377); +x_379 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_379, 0, x_378); +lean_ctor_set(x_379, 1, x_209); +return x_379; +} +else +{ +lean_object* x_380; lean_object* x_381; lean_object* x_382; +x_380 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; +x_381 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_364, x_270, x_380); +x_382 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_209); +return x_382; +} +} +} +else +{ +lean_object* x_383; lean_object* x_384; lean_object* x_385; uint8_t x_386; +lean_dec(x_361); +x_383 = l_Lean_Syntax_getArg(x_276, x_275); +lean_dec(x_276); +x_384 = l_Lean_nullKind; +x_385 = lean_unsigned_to_nat(1u); +x_386 = l_Lean_Syntax_isNodeOf(x_383, x_384, x_385); +if (x_386 == 0) +{ +lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; +x_387 = lean_box(0); +x_388 = lean_box(0); +x_389 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_387, x_388); +x_390 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_390, 0, x_389); +lean_ctor_set(x_390, 1, x_209); +return x_390; +} +else +{ +lean_object* x_391; lean_object* x_392; lean_object* x_393; +x_391 = l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__6; +x_392 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_364, x_270, x_391); +x_393 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_393, 0, x_392); +lean_ctor_set(x_393, 1, x_209); +return x_393; +} +} +} +else +{ +lean_object* x_394; lean_object* x_395; lean_object* x_396; uint8_t x_397; +lean_dec(x_361); +x_394 = l_Lean_Syntax_getArg(x_276, x_275); +lean_dec(x_276); +x_395 = l_Lean_nullKind; +x_396 = lean_unsigned_to_nat(1u); +x_397 = l_Lean_Syntax_isNodeOf(x_394, x_395, x_396); +if (x_397 == 0) +{ +lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; +x_398 = lean_box(0); +x_399 = lean_box(0); +x_400 = l_Lean_Syntax_mkAntiquotNode(x_270, x_214, x_398, x_399); +x_401 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_401, 0, x_400); +lean_ctor_set(x_401, 1, x_209); +return x_401; +} +else +{ +lean_object* x_402; lean_object* x_403; lean_object* x_404; +x_402 = l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13; +x_403 = l_Lean_Elab_Command_expandMacroArgIntoPattern_mkSplicePat(x_362, x_270, x_402); +x_404 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_404, 0, x_403); +lean_ctor_set(x_404, 1, x_209); +return x_404; +} +} +} +} +} +} +} +} +else +{ +uint8_t x_405; +lean_dec(x_2); +x_405 = !lean_is_exclusive(x_4); +if (x_405 == 0) { return x_4; } else { -lean_object* x_351; lean_object* x_352; lean_object* x_353; -x_351 = lean_ctor_get(x_4, 0); -x_352 = lean_ctor_get(x_4, 1); -lean_inc(x_352); -lean_inc(x_351); +lean_object* x_406; lean_object* x_407; lean_object* x_408; +x_406 = lean_ctor_get(x_4, 0); +x_407 = lean_ctor_get(x_4, 1); +lean_inc(x_407); +lean_inc(x_406); lean_dec(x_4); -x_353 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_353, 0, x_351); -lean_ctor_set(x_353, 1, x_352); -return x_353; +x_408 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_408, 0, x_406); +lean_ctor_set(x_408, 1, x_407); +return x_408; } } } @@ -35185,37 +36464,6 @@ lean_dec(x_1); return x_8; } } -lean_object* l_Lean_Elab_Command_expandMacro_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Elab_Command_expandMacro_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMacro_match__1___rarg), 3, 0); -return x_2; -} -} lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -35349,736 +36597,590 @@ return x_24; } } } -lean_object* l_Lean_Elab_Command_expandMacro___lambda__1(lean_object* x_1, size_t x_2, size_t 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* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_15; -lean_inc(x_13); -x_15 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_1, x_13, x_14); -if (lean_obj_tag(x_15) == 0) +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_2, 5); +x_5 = l_Lean_mkIdentFrom(x_4, x_1); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -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_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_5 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_6 = lean_array_push(x_5, x_1); +x_7 = lean_array_push(x_6, x_2); +x_8 = l_Lean_nullKind; +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_4); +return x_10; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__2(lean_object* x_1, size_t x_2, size_t 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) { +_start: +{ +lean_object* x_20; +lean_inc(x_18); +x_20 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_1, x_18, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box_usize(x_2); +x_24 = lean_box_usize(x_3); +x_25 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed), 5, 3); +lean_closure_set(x_25, 0, x_23); +lean_closure_set(x_25, 1, x_24); +lean_closure_set(x_25, 2, x_4); +x_26 = x_25; +lean_inc(x_18); +x_27 = lean_apply_2(x_26, x_18, x_22); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_18); +x_30 = l_Lean_Macro_getCurrNamespace(x_18, x_29); +if (lean_obj_tag(x_30) == 0) +{ +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_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; size_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; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_box_usize(x_2); -x_19 = lean_box_usize(x_3); -x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed), 5, 3); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_19); -lean_closure_set(x_20, 2, x_4); -x_21 = x_20; -lean_inc(x_13); -x_22 = lean_apply_2(x_21, x_13, x_17); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -lean_inc(x_13); -x_25 = l_Lean_Macro_getCurrNamespace(x_13, x_24); -if (lean_obj_tag(x_25) == 0) -{ -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; uint8_t x_35; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -lean_inc(x_12); -x_28 = l_Lean_Name_append(x_26, x_12); -lean_dec(x_26); +x_33 = l_Lean_Name_append(x_31, x_17); +lean_dec(x_31); lean_inc(x_5); -x_29 = lean_array_push(x_5, x_16); -x_30 = l_Array_append___rarg(x_29, x_23); -lean_dec(x_23); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_28); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_Syntax_getArgs(x_6); -x_33 = lean_array_get_size(x_32); -lean_dec(x_32); -x_34 = lean_unsigned_to_nat(11u); -x_35 = lean_nat_dec_eq(x_33, x_34); -lean_dec(x_33); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; size_t x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_36 = l_Lean_Syntax_getArg(x_6, x_34); -x_144 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_13, x_27); -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -lean_dec(x_144); -x_147 = l_Lean_Elab_Command_elabSyntax___closed__1; -lean_inc(x_145); -x_148 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_148, 0, x_145); -lean_ctor_set(x_148, 1, x_147); -x_149 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_145); -x_150 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_150, 0, x_145); -lean_ctor_set(x_150, 1, x_149); -x_151 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; -lean_inc(x_145); -x_152 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_152, 0, x_145); -lean_ctor_set(x_152, 1, x_151); -x_153 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_145); -x_154 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_154, 0, x_145); -lean_ctor_set(x_154, 1, x_153); -x_155 = l_Lean_mkIdentFrom(x_6, x_12); -x_156 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_145); -x_157 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_157, 0, x_145); -lean_ctor_set(x_157, 1, x_156); -x_158 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; -x_159 = lean_array_push(x_158, x_150); -lean_inc(x_159); -x_160 = lean_array_push(x_159, x_152); -lean_inc(x_154); -x_161 = lean_array_push(x_160, x_154); -x_162 = lean_array_push(x_161, x_155); -lean_inc(x_157); -x_163 = lean_array_push(x_162, x_157); -x_164 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19; -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_163); -lean_inc(x_5); -x_166 = lean_array_push(x_5, x_165); -x_167 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -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_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; -lean_inc(x_145); -x_170 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_170, 0, x_145); -lean_ctor_set(x_170, 1, x_169); -x_171 = l_Nat_repr(x_7); -x_172 = l_Lean_numLitKind; -x_173 = lean_box(2); -x_174 = l_Lean_Syntax_mkLit(x_172, x_171, x_173); -x_175 = lean_array_push(x_159, x_170); -x_176 = lean_array_push(x_175, x_154); -x_177 = lean_array_push(x_176, x_174); -x_178 = lean_array_push(x_177, x_157); -x_179 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20; -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_179); +x_34 = lean_array_push(x_5, x_21); +x_35 = l_Array_append___rarg(x_34, x_28); +lean_dec(x_28); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_33); +lean_ctor_set(x_36, 1, x_35); +x_172 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(x_17, x_18, x_32); +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); +lean_dec(x_172); +x_175 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_18, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = l_Lean_Elab_Command_elabSyntax___closed__1; +lean_inc(x_7); +x_179 = lean_name_mk_string(x_7, x_178); +lean_inc(x_176); +x_180 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_180, 0, x_176); lean_ctor_set(x_180, 1, x_178); -lean_inc(x_5); -x_181 = lean_array_push(x_5, x_180); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_167); -lean_ctor_set(x_182, 1, x_181); -x_183 = lean_array_get_size(x_8); -x_184 = lean_usize_of_nat(x_183); -lean_dec(x_183); -x_185 = x_8; -x_186 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_184, x_3, x_185); -x_187 = x_186; -x_188 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_189 = l_Array_append___rarg(x_188, x_187); -lean_dec(x_187); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_167); +x_181 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; +lean_inc(x_7); +x_182 = lean_name_mk_string(x_7, x_181); +x_183 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; +lean_inc(x_176); +x_184 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_184, 0, x_176); +lean_ctor_set(x_184, 1, x_183); +x_185 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +lean_inc(x_176); +x_186 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_186, 0, x_176); +lean_ctor_set(x_186, 1, x_185); +x_187 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_176); +x_188 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_188, 0, x_176); +lean_ctor_set(x_188, 1, x_187); +x_189 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; +lean_inc(x_176); +x_190 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_190, 0, x_176); lean_ctor_set(x_190, 1, x_189); -x_191 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -x_192 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_192, 0, x_145); -lean_ctor_set(x_192, 1, x_191); -x_193 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_194 = lean_array_push(x_193, x_9); -x_195 = lean_array_push(x_194, x_148); -if (lean_obj_tag(x_10) == 0) -{ -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; -x_196 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -x_197 = lean_array_push(x_195, x_196); -x_198 = lean_array_push(x_197, x_168); -x_199 = lean_array_push(x_198, x_182); -x_200 = lean_array_push(x_199, x_190); -x_201 = lean_array_push(x_200, x_192); -x_202 = lean_array_push(x_201, x_11); -x_203 = l_Lean_Elab_Command_elabSyntax___closed__2; -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_202); -x_37 = x_204; -x_38 = x_146; -goto block_143; -} -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; -x_205 = lean_ctor_get(x_10, 0); -lean_inc(x_205); -lean_dec(x_10); -x_206 = lean_array_push(x_188, x_205); -x_207 = l_Array_append___rarg(x_188, x_206); -lean_dec(x_206); -x_208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_208, 0, x_167); -lean_ctor_set(x_208, 1, x_207); -x_209 = lean_array_push(x_195, x_208); -x_210 = lean_array_push(x_209, x_168); -x_211 = lean_array_push(x_210, x_182); +x_191 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +x_192 = lean_array_push(x_191, x_184); +lean_inc(x_192); +x_193 = lean_array_push(x_192, x_186); +lean_inc(x_188); +x_194 = lean_array_push(x_193, x_188); +x_195 = lean_array_push(x_194, x_173); +lean_inc(x_190); +x_196 = lean_array_push(x_195, x_190); +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_182); +lean_ctor_set(x_197, 1, x_196); +lean_inc(x_5); +x_198 = lean_array_push(x_5, x_197); +x_199 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; +lean_inc(x_7); +x_202 = lean_name_mk_string(x_7, x_201); +x_203 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_inc(x_176); +x_204 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_204, 0, x_176); +lean_ctor_set(x_204, 1, x_203); +x_205 = l_Nat_repr(x_11); +x_206 = l_Lean_numLitKind; +x_207 = lean_box(2); +x_208 = l_Lean_Syntax_mkLit(x_206, x_205, x_207); +x_209 = lean_array_push(x_192, x_204); +x_210 = lean_array_push(x_209, x_188); +x_211 = lean_array_push(x_210, x_208); x_212 = lean_array_push(x_211, x_190); -x_213 = lean_array_push(x_212, x_192); -x_214 = lean_array_push(x_213, x_11); -x_215 = l_Lean_Elab_Command_elabSyntax___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); -x_37 = x_216; -x_38 = x_146; -goto block_143; -} -block_143: -{ -lean_object* x_39; uint8_t x_40; -x_39 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_13, x_38); -lean_dec(x_13); -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_41 = lean_ctor_get(x_39, 0); -x_42 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_202); +lean_ctor_set(x_213, 1, x_212); lean_inc(x_5); -x_43 = lean_array_push(x_5, x_42); -x_44 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -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 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1; -lean_inc(x_41); -x_47 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_47, 0, x_41); -lean_ctor_set(x_47, 1, x_46); -x_48 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_41); -x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_41); -lean_ctor_set(x_49, 1, x_48); -x_50 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_41); -x_51 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_51, 0, x_41); -lean_ctor_set(x_51, 1, x_50); -x_52 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_41); -x_53 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_53, 0, x_41); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_55 = lean_array_push(x_54, x_51); -lean_inc(x_55); -x_56 = lean_array_push(x_55, x_31); -lean_inc(x_53); -x_57 = lean_array_push(x_56, x_53); -x_58 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -lean_inc(x_5); -x_60 = lean_array_push(x_5, x_59); -x_61 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -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 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; -x_64 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_64, 0, x_41); -lean_ctor_set(x_64, 1, x_63); -x_65 = lean_array_push(x_55, x_36); -x_66 = lean_array_push(x_65, x_53); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_58); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_69 = lean_array_push(x_68, x_49); -x_70 = lean_array_push(x_69, x_62); -x_71 = lean_array_push(x_70, x_64); -x_72 = lean_array_push(x_71, x_67); -x_73 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___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); -lean_inc(x_5); -x_75 = lean_array_push(x_5, x_74); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_61); -lean_ctor_set(x_76, 1, x_75); -x_77 = lean_array_push(x_5, x_76); -x_78 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -x_80 = lean_array_push(x_68, x_45); -x_81 = lean_array_push(x_80, x_47); -x_82 = lean_array_push(x_81, x_42); -x_83 = lean_array_push(x_82, x_79); -x_84 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__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 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_87 = lean_array_push(x_86, x_37); -x_88 = lean_array_push(x_87, x_85); -x_89 = l_Lean_nullKind; -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -lean_ctor_set(x_39, 0, x_90); -return x_39; -} -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_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; -x_91 = lean_ctor_get(x_39, 0); -x_92 = lean_ctor_get(x_39, 1); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_39); -x_93 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -lean_inc(x_5); -x_94 = lean_array_push(x_5, x_93); -x_95 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1; -lean_inc(x_91); -x_98 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_98, 0, x_91); -lean_ctor_set(x_98, 1, x_97); -x_99 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_91); -x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_91); -lean_ctor_set(x_100, 1, x_99); -x_101 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_91); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_91); -lean_ctor_set(x_102, 1, x_101); -x_103 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_91); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_91); -lean_ctor_set(x_104, 1, x_103); -x_105 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_106 = lean_array_push(x_105, x_102); -lean_inc(x_106); -x_107 = lean_array_push(x_106, x_31); -lean_inc(x_104); -x_108 = lean_array_push(x_107, x_104); -x_109 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_108); -lean_inc(x_5); -x_111 = lean_array_push(x_5, x_110); -x_112 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_111); -x_114 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; -x_115 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_115, 0, x_91); -lean_ctor_set(x_115, 1, x_114); -x_116 = lean_array_push(x_106, x_36); -x_117 = lean_array_push(x_116, x_104); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_109); -lean_ctor_set(x_118, 1, x_117); -x_119 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_120 = lean_array_push(x_119, x_100); -x_121 = lean_array_push(x_120, x_113); -x_122 = lean_array_push(x_121, x_115); -x_123 = lean_array_push(x_122, x_118); -x_124 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_123); -lean_inc(x_5); -x_126 = lean_array_push(x_5, x_125); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_112); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_5, x_127); -x_129 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_128); -x_131 = lean_array_push(x_119, x_96); -x_132 = lean_array_push(x_131, x_98); -x_133 = lean_array_push(x_132, x_93); -x_134 = lean_array_push(x_133, x_130); -x_135 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2; -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_134); -x_137 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_138 = lean_array_push(x_137, x_37); -x_139 = lean_array_push(x_138, x_136); -x_140 = l_Lean_nullKind; -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_139); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_92); -return x_142; -} -} -} -else -{ -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; 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; size_t 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; -x_217 = lean_unsigned_to_nat(10u); -x_218 = l_Lean_Syntax_getArg(x_6, x_217); -x_320 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_13, x_27); -x_321 = lean_ctor_get(x_320, 0); -lean_inc(x_321); -x_322 = lean_ctor_get(x_320, 1); -lean_inc(x_322); -lean_dec(x_320); -x_323 = l_Lean_Elab_Command_elabSyntax___closed__1; -lean_inc(x_321); -x_324 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_324, 0, x_321); -lean_ctor_set(x_324, 1, x_323); -x_325 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_321); -x_326 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_326, 0, x_321); -lean_ctor_set(x_326, 1, x_325); -x_327 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; -lean_inc(x_321); -x_328 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_328, 0, x_321); -lean_ctor_set(x_328, 1, x_327); -x_329 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_321); -x_330 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_330, 0, x_321); -lean_ctor_set(x_330, 1, x_329); -x_331 = l_Lean_mkIdentFrom(x_6, x_12); -x_332 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_321); -x_333 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_333, 0, x_321); -lean_ctor_set(x_333, 1, x_332); -x_334 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; -x_335 = lean_array_push(x_334, x_326); -lean_inc(x_335); -x_336 = lean_array_push(x_335, x_328); -lean_inc(x_330); -x_337 = lean_array_push(x_336, x_330); -x_338 = lean_array_push(x_337, x_331); -lean_inc(x_333); -x_339 = lean_array_push(x_338, x_333); -x_340 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19; -x_341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_341, 0, x_340); -lean_ctor_set(x_341, 1, x_339); -lean_inc(x_5); -x_342 = lean_array_push(x_5, x_341); -x_343 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_342); -x_345 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; -lean_inc(x_321); -x_346 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_346, 0, x_321); -lean_ctor_set(x_346, 1, x_345); -x_347 = l_Nat_repr(x_7); -x_348 = l_Lean_numLitKind; -x_349 = lean_box(2); -x_350 = l_Lean_Syntax_mkLit(x_348, x_347, x_349); -x_351 = lean_array_push(x_335, x_346); -x_352 = lean_array_push(x_351, x_330); -x_353 = lean_array_push(x_352, x_350); -x_354 = lean_array_push(x_353, x_333); -x_355 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20; -x_356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_356, 0, x_355); -lean_ctor_set(x_356, 1, x_354); -lean_inc(x_5); -x_357 = lean_array_push(x_5, x_356); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_343); -lean_ctor_set(x_358, 1, x_357); -x_359 = lean_array_get_size(x_8); -x_360 = lean_usize_of_nat(x_359); -lean_dec(x_359); -x_361 = x_8; -x_362 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_360, x_3, x_361); -x_363 = x_362; -x_364 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_365 = l_Array_append___rarg(x_364, x_363); -lean_dec(x_363); -x_366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_366, 0, x_343); -lean_ctor_set(x_366, 1, x_365); -x_367 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -x_368 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_368, 0, x_321); -lean_ctor_set(x_368, 1, x_367); -x_369 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_370 = lean_array_push(x_369, x_9); -x_371 = lean_array_push(x_370, x_324); +x_214 = lean_array_push(x_5, x_213); +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_199); +lean_ctor_set(x_215, 1, x_214); +x_216 = lean_array_get_size(x_12); +x_217 = lean_usize_of_nat(x_216); +lean_dec(x_216); +x_218 = x_12; +x_219 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_217, x_3, x_218); +x_220 = x_219; +x_221 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_222 = l_Array_append___rarg(x_221, x_220); +lean_dec(x_220); +x_223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_223, 0, x_199); +lean_ctor_set(x_223, 1, x_222); +x_224 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +x_225 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_225, 0, x_176); +lean_ctor_set(x_225, 1, x_224); if (lean_obj_tag(x_10) == 0) { -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; -x_372 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -x_373 = lean_array_push(x_371, x_372); -x_374 = lean_array_push(x_373, x_344); -x_375 = lean_array_push(x_374, x_358); -x_376 = lean_array_push(x_375, x_366); -x_377 = lean_array_push(x_376, x_368); -x_378 = lean_array_push(x_377, x_11); -x_379 = l_Lean_Elab_Command_elabSyntax___closed__2; -x_380 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_380, 0, x_379); -lean_ctor_set(x_380, 1, x_378); -x_219 = x_380; -x_220 = x_322; -goto block_319; +x_226 = x_221; +goto block_258; } else { -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; -x_381 = lean_ctor_get(x_10, 0); -lean_inc(x_381); -lean_dec(x_10); -x_382 = lean_array_push(x_364, x_381); -x_383 = l_Array_append___rarg(x_364, x_382); -lean_dec(x_382); -x_384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_384, 0, x_343); -lean_ctor_set(x_384, 1, x_383); -x_385 = lean_array_push(x_371, x_384); -x_386 = lean_array_push(x_385, x_344); -x_387 = lean_array_push(x_386, x_358); -x_388 = lean_array_push(x_387, x_366); -x_389 = lean_array_push(x_388, x_368); -x_390 = lean_array_push(x_389, x_11); -x_391 = l_Lean_Elab_Command_elabSyntax___closed__2; -x_392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_392, 0, x_391); -lean_ctor_set(x_392, 1, x_390); -x_219 = x_392; -x_220 = x_322; -goto block_319; +lean_object* x_259; lean_object* x_260; +x_259 = lean_ctor_get(x_10, 0); +lean_inc(x_259); +lean_inc(x_5); +x_260 = lean_array_push(x_5, x_259); +x_226 = x_260; +goto block_258; } -block_319: +block_171: { -lean_object* x_221; uint8_t x_222; -x_221 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_13, x_220); +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = l_Lean_Syntax_getArgs(x_6); +x_40 = lean_array_get_size(x_39); +lean_dec(x_39); +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_dec_eq(x_40, x_41); +lean_dec(x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_43 = l_Lean_Syntax_getArg(x_6, x_41); +x_44 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_18, x_38); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +x_48 = lean_name_mk_string(x_7, x_47); +x_49 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +lean_inc(x_5); +x_50 = lean_array_push(x_5, x_49); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_8); +lean_ctor_set(x_51, 1, x_50); +lean_inc(x_45); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_45); +lean_ctor_set(x_52, 1, x_47); +x_53 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_inc(x_9); +x_54 = lean_name_mk_string(x_9, x_53); +x_55 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1; +lean_inc(x_9); +x_56 = lean_name_mk_string(x_9, x_55); +x_57 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_45); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_45); +lean_ctor_set(x_58, 1, x_57); +x_59 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__3; +x_60 = lean_name_mk_string(x_9, x_59); +x_61 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; +lean_inc(x_45); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_45); +lean_ctor_set(x_62, 1, x_61); +x_63 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; +lean_inc(x_45); +x_64 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_64, 0, x_45); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_66 = lean_array_push(x_65, x_62); +lean_inc(x_66); +x_67 = lean_array_push(x_66, x_36); +lean_inc(x_64); +x_68 = lean_array_push(x_67, x_64); +lean_inc(x_60); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_60); +lean_ctor_set(x_69, 1, x_68); +lean_inc(x_5); +x_70 = lean_array_push(x_5, x_69); +x_71 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_45); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_array_push(x_66, x_43); +x_76 = lean_array_push(x_75, x_64); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_60); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_79 = lean_array_push(x_78, x_58); +x_80 = lean_array_push(x_79, x_72); +x_81 = lean_array_push(x_80, x_74); +x_82 = lean_array_push(x_81, x_77); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_56); +lean_ctor_set(x_83, 1, x_82); +lean_inc(x_5); +x_84 = lean_array_push(x_5, x_83); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_71); +lean_ctor_set(x_85, 1, x_84); +lean_inc(x_5); +x_86 = lean_array_push(x_5, x_85); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_54); +lean_ctor_set(x_87, 1, x_86); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_5); +x_88 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__1; +x_89 = lean_array_push(x_88, x_51); +x_90 = lean_array_push(x_89, x_52); +x_91 = lean_array_push(x_90, x_49); +x_92 = lean_array_push(x_91, x_87); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_48); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Lean_Elab_Command_expandMacro___lambda__1(x_37, x_93, x_18, x_46); +lean_dec(x_18); +return x_94; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 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; +x_95 = lean_ctor_get(x_10, 0); +lean_inc(x_95); +lean_dec(x_10); +x_96 = lean_array_push(x_5, x_95); +x_97 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_98 = l_Array_append___rarg(x_97, x_96); +lean_dec(x_96); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_71); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +x_101 = lean_array_push(x_100, x_99); +x_102 = lean_array_push(x_101, x_51); +x_103 = lean_array_push(x_102, x_52); +x_104 = lean_array_push(x_103, x_49); +x_105 = lean_array_push(x_104, x_87); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_48); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_Elab_Command_expandMacro___lambda__1(x_37, x_106, x_18, x_46); +lean_dec(x_18); +return x_107; +} +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_108 = lean_unsigned_to_nat(0u); +x_109 = l_Lean_Syntax_getArg(x_6, x_108); +x_110 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_18, x_38); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_113 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +x_114 = lean_name_mk_string(x_7, x_113); +x_115 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +lean_inc(x_5); +x_116 = lean_array_push(x_5, x_115); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_8); +lean_ctor_set(x_117, 1, x_116); +lean_inc(x_111); +x_118 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_118, 0, x_111); +lean_ctor_set(x_118, 1, x_113); +x_119 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_inc(x_9); +x_120 = lean_name_mk_string(x_9, x_119); +x_121 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1; +lean_inc(x_9); +x_122 = lean_name_mk_string(x_9, x_121); +x_123 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_111); +x_124 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_124, 0, x_111); +lean_ctor_set(x_124, 1, x_123); +x_125 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__3; +x_126 = lean_name_mk_string(x_9, x_125); +x_127 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; +lean_inc(x_111); +x_128 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_128, 0, x_111); +lean_ctor_set(x_128, 1, x_127); +x_129 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; +lean_inc(x_111); +x_130 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_130, 0, x_111); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_132 = lean_array_push(x_131, x_128); +x_133 = lean_array_push(x_132, x_36); +x_134 = lean_array_push(x_133, x_130); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_126); +lean_ctor_set(x_135, 1, x_134); +lean_inc(x_5); +x_136 = lean_array_push(x_5, x_135); +x_137 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +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 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +x_140 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_140, 0, x_111); +lean_ctor_set(x_140, 1, x_139); +x_141 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_142 = lean_array_push(x_141, x_124); +x_143 = lean_array_push(x_142, x_138); +x_144 = lean_array_push(x_143, x_140); +x_145 = lean_array_push(x_144, x_109); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_122); +lean_ctor_set(x_146, 1, x_145); +lean_inc(x_5); +x_147 = lean_array_push(x_5, x_146); +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_137); +lean_ctor_set(x_148, 1, x_147); +lean_inc(x_5); +x_149 = lean_array_push(x_5, x_148); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_120); +lean_ctor_set(x_150, 1, x_149); +if (lean_obj_tag(x_10) == 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_dec(x_5); +x_151 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__1; +x_152 = lean_array_push(x_151, x_117); +x_153 = lean_array_push(x_152, x_118); +x_154 = lean_array_push(x_153, x_115); +x_155 = lean_array_push(x_154, x_150); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_114); +lean_ctor_set(x_156, 1, x_155); +x_157 = l_Lean_Elab_Command_expandMacro___lambda__1(x_37, x_156, x_18, x_112); +lean_dec(x_18); +return x_157; +} +else +{ +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; +x_158 = lean_ctor_get(x_10, 0); +lean_inc(x_158); +lean_dec(x_10); +x_159 = lean_array_push(x_5, x_158); +x_160 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_161 = l_Array_append___rarg(x_160, x_159); +lean_dec(x_159); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_137); +lean_ctor_set(x_162, 1, x_161); +x_163 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +x_164 = lean_array_push(x_163, x_162); +x_165 = lean_array_push(x_164, x_117); +x_166 = lean_array_push(x_165, x_118); +x_167 = lean_array_push(x_166, x_115); +x_168 = lean_array_push(x_167, x_150); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_114); +lean_ctor_set(x_169, 1, x_168); +x_170 = l_Lean_Elab_Command_expandMacro___lambda__1(x_37, x_169, x_18, x_112); +lean_dec(x_18); +return x_170; +} +} +} +block_258: +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_227 = l_Array_append___rarg(x_221, x_226); +lean_dec(x_226); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_199); +lean_ctor_set(x_228, 1, x_227); +x_229 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23; +x_230 = lean_array_push(x_229, x_228); +x_231 = lean_array_push(x_230, x_13); +x_232 = lean_array_push(x_231, x_180); +if (lean_obj_tag(x_14) == 0) +{ +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_dec(x_16); +x_233 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; +x_234 = lean_array_push(x_232, x_233); +x_235 = lean_array_push(x_234, x_200); +x_236 = lean_array_push(x_235, x_215); +x_237 = lean_array_push(x_236, x_223); +x_238 = lean_array_push(x_237, x_225); +x_239 = lean_array_push(x_238, x_15); +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_179); +lean_ctor_set(x_240, 1, x_239); +x_37 = x_240; +x_38 = x_177; +goto block_171; +} +else +{ +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; +x_241 = lean_ctor_get(x_14, 0); +lean_inc(x_241); +lean_dec(x_14); +x_242 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; +x_243 = lean_name_mk_string(x_16, x_242); +x_244 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +lean_inc(x_225); +x_245 = lean_array_push(x_244, x_225); +x_246 = lean_array_push(x_245, x_241); +x_247 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_247, 0, x_243); +lean_ctor_set(x_247, 1, x_246); +lean_inc(x_5); +x_248 = lean_array_push(x_5, x_247); +x_249 = l_Array_append___rarg(x_221, x_248); +lean_dec(x_248); +x_250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_250, 0, x_199); +lean_ctor_set(x_250, 1, x_249); +x_251 = lean_array_push(x_232, x_250); +x_252 = lean_array_push(x_251, x_200); +x_253 = lean_array_push(x_252, x_215); +x_254 = lean_array_push(x_253, x_223); +x_255 = lean_array_push(x_254, x_225); +x_256 = lean_array_push(x_255, x_15); +x_257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_257, 0, x_179); +lean_ctor_set(x_257, 1, x_256); +x_37 = x_257; +x_38 = x_177; +goto block_171; +} +} +} +else +{ +uint8_t x_261; +lean_dec(x_28); +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_13); -x_222 = !lean_is_exclusive(x_221); -if (x_222 == 0) +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +x_261 = !lean_is_exclusive(x_30); +if (x_261 == 0) { -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; 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; -x_223 = lean_ctor_get(x_221, 0); -x_224 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -lean_inc(x_5); -x_225 = lean_array_push(x_5, x_224); -x_226 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_226); -lean_ctor_set(x_227, 1, x_225); -x_228 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1; -lean_inc(x_223); -x_229 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_229, 0, x_223); -lean_ctor_set(x_229, 1, x_228); -x_230 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_223); -x_231 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_231, 0, x_223); -lean_ctor_set(x_231, 1, x_230); -x_232 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_223); -x_233 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_233, 0, x_223); -lean_ctor_set(x_233, 1, x_232); -x_234 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_223); -x_235 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_235, 0, x_223); -lean_ctor_set(x_235, 1, x_234); -x_236 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_237 = lean_array_push(x_236, x_233); -x_238 = lean_array_push(x_237, x_31); -x_239 = lean_array_push(x_238, x_235); -x_240 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_239); -lean_inc(x_5); -x_242 = lean_array_push(x_5, x_241); -x_243 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -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_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; -x_246 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_246, 0, x_223); -lean_ctor_set(x_246, 1, x_245); -x_247 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_248 = lean_array_push(x_247, x_231); -x_249 = lean_array_push(x_248, x_244); -x_250 = lean_array_push(x_249, x_246); -x_251 = lean_array_push(x_250, x_218); -x_252 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___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_inc(x_5); -x_254 = lean_array_push(x_5, x_253); -x_255 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_255, 0, x_243); -lean_ctor_set(x_255, 1, x_254); -x_256 = lean_array_push(x_5, x_255); -x_257 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -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_247, x_227); -x_260 = lean_array_push(x_259, x_229); -x_261 = lean_array_push(x_260, x_224); -x_262 = lean_array_push(x_261, x_258); -x_263 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2; +return x_30; +} +else +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_262 = lean_ctor_get(x_30, 0); +x_263 = lean_ctor_get(x_30, 1); +lean_inc(x_263); +lean_inc(x_262); +lean_dec(x_30); x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_262); -x_265 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_266 = lean_array_push(x_265, x_219); -x_267 = lean_array_push(x_266, x_264); -x_268 = l_Lean_nullKind; -x_269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_269, 0, x_268); -lean_ctor_set(x_269, 1, x_267); -lean_ctor_set(x_221, 0, x_269); -return x_221; -} -else -{ -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; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; -x_270 = lean_ctor_get(x_221, 0); -x_271 = lean_ctor_get(x_221, 1); -lean_inc(x_271); -lean_inc(x_270); -lean_dec(x_221); -x_272 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -lean_inc(x_5); -x_273 = lean_array_push(x_5, x_272); -x_274 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_274); -lean_ctor_set(x_275, 1, x_273); -x_276 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1; -lean_inc(x_270); -x_277 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_277, 0, x_270); -lean_ctor_set(x_277, 1, x_276); -x_278 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_270); -x_279 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_279, 0, x_270); -lean_ctor_set(x_279, 1, x_278); -x_280 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_270); -x_281 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_281, 0, x_270); -lean_ctor_set(x_281, 1, x_280); -x_282 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_270); -x_283 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_283, 0, x_270); -lean_ctor_set(x_283, 1, x_282); -x_284 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_285 = lean_array_push(x_284, x_281); -x_286 = lean_array_push(x_285, x_31); -x_287 = lean_array_push(x_286, x_283); -x_288 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_287); -lean_inc(x_5); -x_290 = lean_array_push(x_5, x_289); -x_291 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_290); -x_293 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; -x_294 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_294, 0, x_270); -lean_ctor_set(x_294, 1, x_293); -x_295 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_296 = lean_array_push(x_295, x_279); -x_297 = lean_array_push(x_296, x_292); -x_298 = lean_array_push(x_297, x_294); -x_299 = lean_array_push(x_298, x_218); -x_300 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -x_301 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_301, 0, x_300); -lean_ctor_set(x_301, 1, x_299); -lean_inc(x_5); -x_302 = lean_array_push(x_5, x_301); -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_291); -lean_ctor_set(x_303, 1, x_302); -x_304 = lean_array_push(x_5, x_303); -x_305 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -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_295, x_275); -x_308 = lean_array_push(x_307, x_277); -x_309 = lean_array_push(x_308, x_272); -x_310 = lean_array_push(x_309, x_306); -x_311 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2; -x_312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_312, 0, x_311); -lean_ctor_set(x_312, 1, x_310); -x_313 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_314 = lean_array_push(x_313, x_219); -x_315 = lean_array_push(x_314, x_312); -x_316 = l_Lean_nullKind; -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_315); -x_318 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_318, 0, x_317); -lean_ctor_set(x_318, 1, x_271); -return x_318; -} +lean_ctor_set(x_264, 0, x_262); +lean_ctor_set(x_264, 1, x_263); +return x_264; } } } else { -uint8_t x_393; -lean_dec(x_23); +uint8_t x_265; +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_17); lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -36087,61 +37189,34 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -x_393 = !lean_is_exclusive(x_25); -if (x_393 == 0) +x_265 = !lean_is_exclusive(x_27); +if (x_265 == 0) { -return x_25; +return x_27; } else { -lean_object* x_394; lean_object* x_395; lean_object* x_396; -x_394 = lean_ctor_get(x_25, 0); -x_395 = lean_ctor_get(x_25, 1); -lean_inc(x_395); -lean_inc(x_394); -lean_dec(x_25); -x_396 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_396, 0, x_394); -lean_ctor_set(x_396, 1, x_395); -return x_396; +lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_266 = lean_ctor_get(x_27, 0); +x_267 = lean_ctor_get(x_27, 1); +lean_inc(x_267); +lean_inc(x_266); +lean_dec(x_27); +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_266); +lean_ctor_set(x_268, 1, x_267); +return x_268; } } } else { -uint8_t x_397; +uint8_t x_269; +lean_dec(x_18); +lean_dec(x_17); lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_397 = !lean_is_exclusive(x_22); -if (x_397 == 0) -{ -return x_22; -} -else -{ -lean_object* x_398; lean_object* x_399; lean_object* x_400; -x_398 = lean_ctor_get(x_22, 0); -x_399 = lean_ctor_get(x_22, 1); -lean_inc(x_399); -lean_inc(x_398); -lean_dec(x_22); -x_400 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_400, 0, x_398); -lean_ctor_set(x_400, 1, x_399); -return x_400; -} -} -} -else -{ -uint8_t x_401; +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -36151,28 +37226,36 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); -x_401 = !lean_is_exclusive(x_15); -if (x_401 == 0) +x_269 = !lean_is_exclusive(x_20); +if (x_269 == 0) { -return x_15; +return x_20; } else { -lean_object* x_402; lean_object* x_403; lean_object* x_404; -x_402 = lean_ctor_get(x_15, 0); -x_403 = lean_ctor_get(x_15, 1); -lean_inc(x_403); -lean_inc(x_402); -lean_dec(x_15); -x_404 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_404, 0, x_402); -lean_ctor_set(x_404, 1, x_403); -return x_404; +lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_270 = lean_ctor_get(x_20, 0); +x_271 = lean_ctor_get(x_20, 1); +lean_inc(x_271); +lean_inc(x_270); +lean_dec(x_20); +x_272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_272, 0, x_270); +lean_ctor_set(x_272, 1, x_271); +return x_272; } } } } -static lean_object* _init_l_Lean_Elab_Command_expandMacro___boxed__const__1() { +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macroTail"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1() { _start: { size_t x_1; lean_object* x_2; @@ -36181,263 +37264,696 @@ x_2 = lean_box_usize(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_expandMacro(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Command_expandMacro___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _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; -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Syntax_getArg(x_1, x_4); -x_6 = lean_unsigned_to_nat(2u); -x_7 = l_Lean_Syntax_getArg(x_1, x_6); -x_8 = l_Lean_Syntax_getOptional_x3f(x_7); -lean_dec(x_7); -x_9 = lean_unsigned_to_nat(3u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = l_Lean_Elab_expandOptNamedName(x_10, x_2, x_3); -lean_dec(x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_unsigned_to_nat(4u); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_unsigned_to_nat(6u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1; lean_inc(x_2); -x_16 = l_Lean_Elab_expandOptNamedPrio(x_15, x_2, x_13); +x_17 = lean_name_mk_string(x_2, x_16); +lean_inc(x_15); +x_18 = l_Lean_Syntax_isOfKind(x_15, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_dec(x_15); -if (lean_obj_tag(x_16) == 0) +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_13); +return x_20; +} +else { -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_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); -x_19 = lean_unsigned_to_nat(5u); -x_20 = l_Lean_Syntax_getArg(x_1, x_19); -x_21 = lean_unsigned_to_nat(6u); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_21 = lean_unsigned_to_nat(7u); x_22 = l_Lean_Syntax_getArg(x_1, x_21); -x_23 = l_Lean_Syntax_getArgs(x_22); -lean_dec(x_22); -x_24 = lean_unsigned_to_nat(8u); -x_25 = l_Lean_Syntax_getArg(x_1, x_24); -lean_inc(x_20); -x_26 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_20, x_2, x_18); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t 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_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); +x_23 = lean_unsigned_to_nat(8u); +x_24 = l_Lean_Syntax_getArg(x_1, x_23); +x_25 = l_Lean_Elab_Command_expandMacro___lambda__3___closed__1; +lean_inc(x_2); +x_26 = lean_name_mk_string(x_2, x_25); +lean_inc(x_24); +x_27 = l_Lean_Syntax_isOfKind(x_24, x_26); lean_dec(x_26); -x_29 = lean_array_get_size(x_23); -x_30 = lean_usize_of_nat(x_29); -lean_dec(x_29); -x_31 = 0; -x_32 = x_23; -x_33 = lean_box_usize(x_30); -x_34 = l_Lean_Elab_Command_expandMacro___boxed__const__1; -lean_inc(x_32); -x_35 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed), 5, 3); -lean_closure_set(x_35, 0, x_33); -lean_closure_set(x_35, 1, x_34); -lean_closure_set(x_35, 2, x_32); -x_36 = x_35; -lean_inc(x_2); -x_37 = lean_apply_2(x_36, x_2, x_28); -if (lean_obj_tag(x_37) == 0) +if (x_27 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); +lean_object* x_28; lean_object* x_29; +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_28 = lean_box(1); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_13); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_30 = lean_unsigned_to_nat(1u); +x_31 = l_Lean_Syntax_getArg(x_24, x_30); +x_32 = lean_unsigned_to_nat(3u); +x_33 = l_Lean_Syntax_getArg(x_24, x_32); +lean_dec(x_24); +x_34 = l_Lean_Syntax_getArgs(x_22); +lean_dec(x_22); +lean_inc(x_12); +x_35 = l_Lean_evalOptPrio(x_11, x_12, x_13); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +lean_inc(x_15); +x_38 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_15, x_12, x_37); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t 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; +x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); -lean_dec(x_37); -x_40 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_41 = lean_array_push(x_40, x_27); -x_42 = l_Array_append___rarg(x_41, x_38); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); lean_dec(x_38); -if (lean_obj_tag(x_12) == 0) +x_41 = lean_array_get_size(x_34); +x_42 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_43 = 0; +x_44 = x_34; +x_45 = lean_box_usize(x_42); +x_46 = l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1; +lean_inc(x_44); +x_47 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed), 5, 3); +lean_closure_set(x_47, 0, x_45); +lean_closure_set(x_47, 1, x_46); +lean_closure_set(x_47, 2, x_44); +x_48 = x_47; +lean_inc(x_12); +x_49 = lean_apply_2(x_48, x_12, x_40); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = l_Lean_Syntax_getId(x_25); -x_44 = l_Lean_nullKind; -lean_inc(x_42); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_42); -lean_inc(x_2); -x_46 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_43, x_45, x_2, x_39); -lean_dec(x_45); -if (lean_obj_tag(x_46) == 0) +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +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); +x_52 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_53 = lean_array_push(x_52, x_39); +x_54 = l_Array_append___rarg(x_53, x_50); +lean_dec(x_50); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_55 = l_Lean_Syntax_getId(x_31); +x_56 = l_Lean_nullKind; +lean_inc(x_54); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_54); +lean_inc(x_12); +x_58 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_55, x_57, x_12, x_51); +lean_dec(x_57); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Lean_Elab_Command_expandMacro___lambda__2(x_15, x_42, x_43, x_44, x_52, x_33, x_2, x_3, x_4, x_5, x_36, x_54, x_6, x_7, x_31, x_8, x_59, x_12, x_60); +lean_dec(x_33); +return x_61; +} +else +{ +uint8_t x_62; +lean_dec(x_54); +lean_dec(x_44); +lean_dec(x_36); +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_62 = !lean_is_exclusive(x_58); +if (x_62 == 0) +{ +return x_58; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_58, 0); +x_64 = lean_ctor_get(x_58, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_58); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_9, 0); +x_67 = l_Lean_Syntax_getId(x_66); +x_68 = l_Lean_Elab_Command_expandMacro___lambda__2(x_15, x_42, x_43, x_44, x_52, x_33, x_2, x_3, x_4, x_5, x_36, x_54, x_6, x_7, x_31, x_8, x_67, x_12, x_51); +lean_dec(x_33); +return x_68; +} +} +else +{ +uint8_t x_69; +lean_dec(x_44); +lean_dec(x_39); +lean_dec(x_36); +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_69 = !lean_is_exclusive(x_49); +if (x_69 == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Lean_Elab_Command_expandMacro___lambda__1(x_20, x_30, x_31, x_32, x_40, x_1, x_17, x_42, x_5, x_8, x_25, x_47, x_2, x_48); return x_49; } else { -uint8_t x_50; -lean_dec(x_42); -lean_dec(x_32); -lean_dec(x_25); -lean_dec(x_20); -lean_dec(x_17); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -x_50 = !lean_is_exclusive(x_46); -if (x_50 == 0) -{ -return x_46; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_46, 0); -x_52 = lean_ctor_get(x_46, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_46); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_49, 0); +x_71 = lean_ctor_get(x_49, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_49); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } else { -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_12, 0); -lean_inc(x_54); -lean_dec(x_12); -x_55 = l_Lean_Elab_Command_expandMacro___lambda__1(x_20, x_30, x_31, x_32, x_40, x_1, x_17, x_42, x_5, x_8, x_25, x_54, x_2, x_39); -return x_55; -} -} -else -{ -uint8_t x_56; -lean_dec(x_32); -lean_dec(x_27); -lean_dec(x_25); -lean_dec(x_20); -lean_dec(x_17); +uint8_t x_73; +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_15); lean_dec(x_12); lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_56 = !lean_is_exclusive(x_37); -if (x_56 == 0) +x_73 = !lean_is_exclusive(x_38); +if (x_73 == 0) { -return x_37; +return x_38; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_37, 0); -x_58 = lean_ctor_get(x_37, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_37); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_38, 0); +x_75 = lean_ctor_get(x_38, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_38); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } } else { -uint8_t x_60; -lean_dec(x_25); +uint8_t x_77; +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_77 = !lean_is_exclusive(x_35); +if (x_77 == 0) +{ +return x_35; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_35, 0); +x_79 = lean_ctor_get(x_35, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_35); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +} +} +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__4(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; lean_object* x_14; uint8_t x_15; +x_13 = lean_unsigned_to_nat(5u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +x_15 = l_Lean_Syntax_isNone(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_Lean_nullKind; +x_17 = lean_unsigned_to_nat(1u); +lean_inc(x_14); +x_18 = l_Lean_Syntax_isNodeOf(x_14, x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_12); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_Lean_Syntax_getArg(x_14, x_21); +lean_dec(x_14); +x_23 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; +lean_inc(x_2); +x_24 = lean_name_mk_string(x_2, x_23); +lean_inc(x_22); +x_25 = l_Lean_Syntax_isOfKind(x_22, x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_26 = lean_box(1); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_12); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_unsigned_to_nat(3u); +x_29 = l_Lean_Syntax_getArg(x_22, x_28); +lean_dec(x_22); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_box(0); +x_32 = l_Lean_Elab_Command_expandMacro___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_31, x_30, x_11, x_12); +return x_32; +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_14); +x_33 = lean_box(0); +x_34 = lean_box(0); +x_35 = l_Lean_Elab_Command_expandMacro___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_34, x_33, x_11, x_12); +return x_35; +} +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__5(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) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_unsigned_to_nat(4u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Syntax_isNone(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_nullKind; +x_16 = lean_unsigned_to_nat(1u); +lean_inc(x_13); +x_17 = l_Lean_Syntax_isNodeOf(x_13, x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_18 = lean_box(1); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_11); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_unsigned_to_nat(0u); +x_21 = l_Lean_Syntax_getArg(x_13, x_20); +lean_dec(x_13); +x_22 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; +lean_inc(x_2); +x_23 = lean_name_mk_string(x_2, x_22); +lean_inc(x_21); +x_24 = l_Lean_Syntax_isOfKind(x_21, x_23); lean_dec(x_23); -lean_dec(x_20); -lean_dec(x_17); -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -x_60 = !lean_is_exclusive(x_26); -if (x_60 == 0) +if (x_24 == 0) { +lean_object* x_25; lean_object* x_26; +lean_dec(x_21); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_25 = lean_box(1); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_11); return x_26; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_26, 0); -x_62 = lean_ctor_get(x_26, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_26); -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; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_unsigned_to_nat(3u); +x_28 = l_Lean_Syntax_getArg(x_21, x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandMacro___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_7, x_30, x_29, x_10, x_11); +lean_dec(x_29); +return x_31; } } } else { -uint8_t x_64; -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -x_64 = !lean_is_exclusive(x_16); -if (x_64 == 0) +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_13); +x_32 = lean_box(0); +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Command_expandMacro___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_7, x_33, x_32, x_10, x_11); +return x_34; +} +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__6(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; uint8_t x_14; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; +lean_inc(x_2); +x_11 = lean_name_mk_string(x_2, x_10); +x_12 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; +lean_inc(x_11); +x_13 = lean_name_mk_string(x_11, x_12); +lean_inc(x_9); +x_14 = l_Lean_Syntax_isOfKind(x_9, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_box(1); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_7); return x_16; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_16, 0); -x_66 = lean_ctor_get(x_16, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_16); -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 +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_unsigned_to_nat(3u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = l_Lean_Syntax_isNone(x_18); +if (x_19 == 0) { -uint8_t x_68; -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -x_68 = !lean_is_exclusive(x_11); -if (x_68 == 0) +lean_object* x_20; uint8_t x_21; +x_20 = l_Lean_nullKind; +lean_inc(x_18); +x_21 = l_Lean_Syntax_isNodeOf(x_18, x_20, x_8); +if (x_21 == 0) { -return x_11; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_11, 0); -x_70 = lean_ctor_get(x_11, 1); -lean_inc(x_70); -lean_inc(x_69); +lean_object* x_22; lean_object* x_23; +lean_dec(x_18); +lean_dec(x_13); lean_dec(x_11); -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; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_22 = lean_box(1); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_7); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_24 = lean_unsigned_to_nat(0u); +x_25 = l_Lean_Syntax_getArg(x_18, x_24); +lean_dec(x_18); +x_26 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; +lean_inc(x_2); +x_27 = lean_name_mk_string(x_2, x_26); +lean_inc(x_25); +x_28 = l_Lean_Syntax_isOfKind(x_25, x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_25); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_29 = lean_box(1); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_7); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = l_Lean_Syntax_getArg(x_25, x_8); +lean_dec(x_25); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Command_expandMacro___lambda__5(x_1, x_3, x_13, x_11, x_5, x_9, x_2, x_33, x_32, x_6, x_7); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_18); +x_35 = lean_box(0); +x_36 = lean_box(0); +x_37 = l_Lean_Elab_Command_expandMacro___lambda__5(x_1, x_3, x_13, x_11, x_5, x_9, x_2, x_36, x_35, x_6, x_7); +return x_37; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMacro___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_expandMacro(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Elab_Command_expandMacro___closed__1; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_nullKind; +x_12 = lean_unsigned_to_nat(1u); +lean_inc(x_9); +x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_17 = l_Lean_Elab_Command_elabSyntax___closed__4; +lean_inc(x_16); +x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_16); +lean_dec(x_2); +lean_dec(x_1); +x_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_3); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_16); +x_22 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_23 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Command_expandMacro___lambda__6(x_1, x_22, x_23, x_24, x_21, x_2, x_3); +lean_dec(x_1); +return x_25; +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_9); +x_26 = lean_box(0); +x_27 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_28 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_expandMacro___lambda__6(x_1, x_27, x_28, x_29, x_26, x_2, x_3); +lean_dec(x_1); +return x_30; } } } @@ -36467,39 +37983,99 @@ x_8 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2(x_6, x return x_8; } } -lean_object* l_Lean_Elab_Command_expandMacro___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, lean_object* x_13, lean_object* x_14) { -_start: -{ -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = l_Lean_Elab_Command_expandMacro___lambda__1(x_1, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_6); -return x_17; -} -} -lean_object* l_Lean_Elab_Command_expandMacro___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Elab_Command_expandMacro(x_1, x_2, x_3); -lean_dec(x_1); +x_4 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(x_1, x_2, x_3); +lean_dec(x_2); return x_4; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1() { +lean_object* l_Lean_Elab_Command_expandMacro___lambda__1___boxed(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; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_5; +x_5 = l_Lean_Elab_Command_expandMacro___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2() { +lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +_start: +{ +size_t x_20; size_t x_21; lean_object* x_22; +x_20 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_21 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_22 = l_Lean_Elab_Command_expandMacro___lambda__2(x_1, x_20, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_6); +return x_22; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_Command_expandMacro___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__4___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_Lean_Elab_Command_expandMacro___lambda__4(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_10); +lean_dec(x_9); +lean_dec(x_1); +return x_13; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__5___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_expandMacro___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_8); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_expandMacro___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_Command_expandMacro___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_4); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1() { _start: { lean_object* x_1; @@ -36507,21 +38083,21 @@ x_1 = lean_mk_string("expandMacro"); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2; +x_2 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMacro___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMacro), 3, 0); return x_1; } } @@ -36530,14 +38106,14 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_macroAttribute; -x_3 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3; -x_5 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__4; +x_3 = l_Lean_Elab_Command_expandMacro___closed__1; +x_4 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14635____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -36547,11 +38123,11 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14635_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14635____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -36676,272 +38252,536 @@ return x_20; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_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; uint8_t x_14; -x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_2, 4); -lean_inc(x_8); -lean_inc(x_8); -x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); -lean_dec(x_6); -x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); -lean_dec(x_2); -lean_dec(x_8); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +if (lean_obj_tag(x_1) == 0) { -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_9); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set_tag(x_13, 1); -lean_ctor_set(x_13, 0, x_16); -return x_13; +lean_dec(x_3); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_6; +lean_dec(x_4); +x_6 = lean_apply_2(x_5, x_2, x_2); +return x_6; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_13, 0); -x_18 = lean_ctor_get(x_13, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_13); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_9); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; +lean_object* x_7; lean_object* x_8; +lean_dec(x_5); +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +lean_dec(x_2); +x_8 = lean_apply_2(x_4, x_1, x_7); +return x_8; +} +} +else +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_apply_2(x_3, x_9, x_2); +return x_10; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__1(lean_object* x_1) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRulesAux_match__1___rarg), 5, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRulesAux_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = x_5 < x_4; +if (x_7 == 0) +{ +lean_inc(x_6); +return x_6; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_array_uget(x_3, x_5); lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_replaceRef(x_1, x_7); -lean_dec(x_7); -x_10 = !lean_is_exclusive(x_3); +x_9 = l_Lean_Syntax_getKind(x_8); +x_10 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(x_9, x_1); +lean_dec(x_9); if (x_10 == 0) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_3, 6); -lean_dec(x_11); -lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__2(x_2, x_3, x_4, x_8); -return x_12; -} -else -{ -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; -x_13 = lean_ctor_get(x_3, 0); -x_14 = lean_ctor_get(x_3, 1); -x_15 = lean_ctor_get(x_3, 2); -x_16 = lean_ctor_get(x_3, 3); -x_17 = lean_ctor_get(x_3, 4); -x_18 = lean_ctor_get(x_3, 5); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_3); -x_19 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_19, 0, x_13); -lean_ctor_set(x_19, 1, x_14); -lean_ctor_set(x_19, 2, x_15); -lean_ctor_set(x_19, 3, x_16); -lean_ctor_set(x_19, 4, x_17); -lean_ctor_set(x_19, 5, x_18); -lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__2(x_2, x_19, x_4, x_8); -return x_20; -} -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__3___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__3___rarg), 1, 0); -return x_3; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_2, 4); -lean_inc(x_8); -lean_inc(x_8); -x_9 = l_Lean_Elab_getBetterRef(x_6, x_8); -lean_dec(x_6); -x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12); -lean_dec(x_2); +size_t x_11; size_t x_12; lean_dec(x_8); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +x_11 = 1; +x_12 = x_5 + x_11; { -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); +size_t _tmp_4 = x_12; +lean_object* _tmp_5 = x_2; +x_5 = _tmp_4; +x_6 = _tmp_5; +} +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_8); +x_15 = lean_box(0); x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); -lean_ctor_set_tag(x_13, 1); -lean_ctor_set(x_13, 0, x_16); -return x_13; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_13, 0); -x_18 = lean_ctor_get(x_13, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_13); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_9); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; +return x_16; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__1() { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_replaceRef(x_1, x_7); -lean_dec(x_7); -x_10 = !lean_is_exclusive(x_3); -if (x_10 == 0) +lean_object* x_1; +x_1 = lean_mk_string("invalid elab_rules alternative, unexpected syntax node kind '"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__2() { +_start: { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_3, 6); +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid elab_rules alternative, expected syntax node kind '"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___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) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +lean_inc(x_1); +x_11 = l_Lean_Syntax_getQuotContent(x_1); +lean_inc(x_11); +x_12 = l_Lean_Syntax_getKind(x_11); +x_13 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind(x_12, x_5); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = l_Lean_choiceKind; +x_15 = lean_name_eq(x_12, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_11); -lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__5(x_2, x_3, x_4, x_8); -return x_12; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_16, 0, x_12); +x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__2; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_6, x_20, x_8, x_9, x_10); +lean_dec(x_6); +return x_21; } else { -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; -x_13 = lean_ctor_get(x_3, 0); -x_14 = lean_ctor_get(x_3, 1); -x_15 = lean_ctor_get(x_3, 2); -x_16 = lean_ctor_get(x_3, 3); -x_17 = lean_ctor_get(x_3, 4); -x_18 = lean_ctor_get(x_3, 5); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); +lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_12); +x_22 = l_Lean_Syntax_getArgs(x_11); +lean_dec(x_11); +x_23 = lean_array_get_size(x_22); +x_24 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_25 = 0; +x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5; +x_27 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__1(x_5, x_26, x_22, x_24, x_25, x_26); +lean_dec(x_22); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +lean_dec(x_27); +if (lean_obj_tag(x_28) == 0) +{ +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_dec(x_4); lean_dec(x_3); -x_19 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_19, 0, x_13); -lean_ctor_set(x_19, 1, x_14); -lean_ctor_set(x_19, 2, x_15); -lean_ctor_set(x_19, 3, x_16); -lean_ctor_set(x_19, 4, x_17); -lean_ctor_set(x_19, 5, x_18); -lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__5(x_2, x_19, x_4, x_8); -return x_20; +lean_dec(x_2); +lean_dec(x_1); +x_29 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_29, 0, x_5); +x_30 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__4; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_6, x_33, x_8, x_9, x_10); +lean_dec(x_6); +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; lean_object* x_44; lean_object* x_45; uint8_t x_46; +lean_dec(x_6); +lean_dec(x_5); +x_35 = lean_ctor_get(x_28, 0); +lean_inc(x_35); +lean_dec(x_28); +x_36 = lean_unsigned_to_nat(1u); +x_37 = l_Lean_Syntax_setArg(x_1, x_36, x_35); +x_38 = lean_unsigned_to_nat(0u); +x_39 = lean_array_set(x_2, x_38, x_37); +x_40 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_8, x_9, x_10); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_42); +lean_dec(x_8); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_44); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_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_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +x_48 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_41); +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_41); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1; +x_51 = l_Lean_Syntax_SepArray_ofElems(x_50, x_39); +lean_dec(x_39); +x_52 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_53 = l_Array_append___rarg(x_52, x_51); +lean_dec(x_51); +x_54 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +x_57 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_57, 0, x_41); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_59 = lean_array_push(x_58, x_49); +x_60 = lean_array_push(x_59, x_55); +x_61 = lean_array_push(x_60, x_57); +x_62 = lean_array_push(x_61, x_3); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_4); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_45, 0, x_63); +return x_45; +} +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; +x_64 = lean_ctor_get(x_45, 1); +lean_inc(x_64); +lean_dec(x_45); +x_65 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_41); +x_66 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_66, 0, x_41); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1; +x_68 = l_Lean_Syntax_SepArray_ofElems(x_67, x_39); +lean_dec(x_39); +x_69 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_70 = l_Array_append___rarg(x_69, x_68); +lean_dec(x_68); +x_71 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_41); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_76 = lean_array_push(x_75, x_66); +x_77 = lean_array_push(x_76, x_72); +x_78 = lean_array_push(x_77, x_74); +x_79 = lean_array_push(x_78, x_3); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_4); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_64); +return x_81; } } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__6___rarg(lean_object* x_1) { +} +else +{ +lean_object* x_82; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_6); +lean_ctor_set(x_82, 1, x_10); +return x_82; +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__6(lean_object* x_1, lean_object* x_2) { -_start: +uint8_t x_8; +x_8 = x_3 < x_2; +if (x_8 == 0) { -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__6___rarg), 1, 0); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_expandElab___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_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_7 = lean_array_push(x_6, x_1); -x_8 = lean_array_push(x_7, x_2); -x_9 = l_Lean_nullKind; -x_10 = lean_alloc_ctor(1, 2, 0); +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_1); +x_9 = x_4; +x_10 = lean_alloc_ctor(0, 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_ctor_set(x_10, 1, x_7); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_array_uget(x_4, x_3); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_4, x_3, x_12); +x_14 = x_11; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; +lean_inc(x_14); +x_16 = l_Lean_Syntax_isOfKind(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_1); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_7); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__1() { +else +{ +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; uint8_t x_29; +x_22 = lean_unsigned_to_nat(1u); +x_23 = l_Lean_Syntax_getArg(x_14, x_22); +x_24 = lean_unsigned_to_nat(3u); +x_25 = l_Lean_Syntax_getArg(x_14, x_24); +x_26 = l_Lean_Syntax_getArgs(x_23); +lean_dec(x_23); +x_27 = l_Lean_instInhabitedSyntax; +x_28 = lean_array_get(x_27, x_26, x_12); +x_29 = l_Lean_Syntax_isQuot(x_28); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; +lean_dec(x_28); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_1); +x_30 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___rarg(x_7); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +return x_30; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_box(0); +lean_inc(x_5); +lean_inc(x_1); +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1(x_28, x_26, x_25, x_15, x_1, x_14, x_35, x_5, x_6, x_7); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = 1; +x_40 = x_3 + x_39; +x_41 = x_37; +x_42 = lean_array_uset(x_13, x_3, x_41); +x_3 = x_40; +x_4 = x_42; +x_7 = x_38; +goto _start; +} +else +{ +uint8_t x_44; +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_1); +x_44 = !lean_is_exclusive(x_36); +if (x_44 == 0) +{ +return x_36; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_36, 0); +x_46 = lean_ctor_get(x_36, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_36); +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_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +x_8 = l_Lean_mkIdentFrom(x_7, x_1); +lean_dec(x_7); +lean_ctor_set(x_5, 0, x_8); +return x_5; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_5, 0); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_5); +x_11 = l_Lean_mkIdentFrom(x_9, x_1); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -36949,17 +38789,17 @@ x_1 = lean_mk_string("command"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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_Command_expandElab___lambda__2___closed__1; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3() { _start: { lean_object* x_1; @@ -36967,17 +38807,17 @@ x_1 = lean_mk_string("tactic"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__4() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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_Command_expandElab___lambda__2___closed__3; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__5() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5() { _start: { lean_object* x_1; @@ -36985,31 +38825,31 @@ x_1 = lean_mk_string("unsupported syntax category '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__6() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__5; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__7() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__8() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandElab___lambda__2___closed__7; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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); @@ -37017,7 +38857,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__9() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9() { _start: { lean_object* x_1; @@ -37025,22 +38865,22 @@ x_1 = lean_mk_string("elabFn"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__10() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__9; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__11() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__9; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandElab___lambda__2___closed__10; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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); @@ -37048,17 +38888,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__12() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__9; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__13() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13() { _start: { lean_object* x_1; @@ -37066,22 +38906,22 @@ x_1 = lean_mk_string("Lean.Elab.Tactic.Tactic"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__14() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__13; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__15() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__13; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandElab___lambda__2___closed__14; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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); @@ -37089,7 +38929,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__16() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16() { _start: { lean_object* x_1; @@ -37097,79 +38937,51 @@ x_1 = lean_mk_string("Tactic"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__17() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__4; -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__16; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__18() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__17; -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__16; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__19() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__18; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18; 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; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__20() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__19; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; 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; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__16; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__21; -x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("`(tactic|"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__24() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21() { _start: { lean_object* x_1; @@ -37177,22 +38989,22 @@ x_1 = lean_mk_string("throwUnsupportedSyntax"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__25() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__24; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__26() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__24; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandElab___lambda__2___closed__25; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -37200,51 +39012,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__27() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__24; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__28() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__4; -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__24; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__29() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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_Command_expandElab___lambda__2___closed__28; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__30() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__29; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__31() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28() { _start: { lean_object* x_1; @@ -37252,22 +39064,22 @@ x_1 = lean_mk_string("commandElab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__32() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__31; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__33() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__31; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandElab___lambda__2___closed__32; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -37275,17 +39087,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__34() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__31; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__35() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32() { _start: { lean_object* x_1; @@ -37293,22 +39105,22 @@ x_1 = lean_mk_string("Lean.Elab.Command.CommandElab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__36() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__35; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__37() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__35; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandElab___lambda__2___closed__36; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -37316,7 +39128,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__38() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35() { _start: { lean_object* x_1; @@ -37324,41 +39136,41 @@ x_1 = lean_mk_string("CommandElab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__39() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__38; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__40() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__39; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; 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; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__41() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__40; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; 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; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__42() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39() { _start: { lean_object* x_1; @@ -37366,22 +39178,22 @@ x_1 = lean_mk_string("termElab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__43() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__42; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__44() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__42; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandElab___lambda__2___closed__43; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -37389,17 +39201,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__45() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__42; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__46() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43() { _start: { lean_object* x_1; @@ -37407,22 +39219,22 @@ x_1 = lean_mk_string("Lean.Elab.Term.TermElab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__47() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__46; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__48() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__46; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandElab___lambda__2___closed__47; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -37430,7 +39242,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__49() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -37440,7 +39252,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__50() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47() { _start: { lean_object* x_1; @@ -37448,41 +39260,41 @@ x_1 = lean_mk_string("TermElab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__51() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__49; -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__50; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__52() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__51; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__53() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__52; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__54() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51() { _start: { lean_object* x_1; @@ -37490,22 +39302,22 @@ x_1 = lean_mk_string("stx"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__55() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__54; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__56() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__54; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandElab___lambda__2___closed__55; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -37513,17 +39325,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__57() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__54; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__58() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55() { _start: { lean_object* x_1; @@ -37531,17 +39343,17 @@ x_1 = lean_mk_string("match"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__59() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__58; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__60() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57() { _start: { lean_object* x_1; @@ -37549,17 +39361,17 @@ x_1 = lean_mk_string("matchDiscr"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__61() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__60; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__62() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59() { _start: { lean_object* x_1; @@ -37567,7 +39379,7 @@ x_1 = lean_mk_string("with"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__63() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60() { _start: { lean_object* x_1; @@ -37575,16 +39387,16 @@ x_1 = lean_mk_string("syntax category '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__64() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__63; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__65() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62() { _start: { lean_object* x_1; @@ -37592,16 +39404,16 @@ x_1 = lean_mk_string("' does not support expected type specification"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__66() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__65; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__67() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64() { _start: { lean_object* x_1; @@ -37609,22 +39421,22 @@ x_1 = lean_mk_string("expectedType?"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__68() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__67; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__69() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__67; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandElab___lambda__2___closed__68; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -37632,17 +39444,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__70() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__67; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__71() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68() { _start: { lean_object* x_1; @@ -37650,22 +39462,22 @@ x_1 = lean_mk_string("Lean.Elab.Command.withExpectedType"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__72() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__71; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__73() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandElab___lambda__2___closed__71; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandElab___lambda__2___closed__72; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -37673,7 +39485,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__74() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71() { _start: { lean_object* x_1; @@ -37681,2127 +39493,2629 @@ x_1 = lean_mk_string("withExpectedType"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__75() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__74; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__76() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__75; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; 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; } } -static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__77() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandElab___lambda__2___closed__76; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_Command_expandElab___lambda__2(size_t x_1, size_t 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* l_Lean_Elab_Command_elabElabRulesAux___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) { _start: { -lean_object* x_20; lean_object* x_21; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; -x_903 = lean_st_ref_get(x_18, x_19); -x_904 = lean_ctor_get(x_903, 0); -lean_inc(x_904); -x_905 = lean_ctor_get(x_903, 1); -lean_inc(x_905); -lean_dec(x_903); -x_906 = lean_ctor_get(x_904, 0); -lean_inc(x_906); -lean_dec(x_904); -x_907 = l_Lean_Elab_Command_getScope___rarg(x_18, x_905); -x_908 = lean_ctor_get(x_907, 0); -lean_inc(x_908); -x_909 = lean_ctor_get(x_907, 1); -lean_inc(x_909); -lean_dec(x_907); -x_910 = lean_ctor_get(x_908, 2); -lean_inc(x_910); -lean_dec(x_908); -x_911 = l_Lean_Elab_Command_getScope___rarg(x_18, x_909); -x_912 = lean_ctor_get(x_911, 0); -lean_inc(x_912); -x_913 = lean_ctor_get(x_911, 1); -lean_inc(x_913); -lean_dec(x_911); -x_914 = lean_ctor_get(x_912, 3); -lean_inc(x_914); -lean_dec(x_912); -lean_inc(x_906); -x_915 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_915, 0, x_906); -lean_inc(x_910); -x_916 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_916, 0, x_910); -lean_inc(x_906); -x_917 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_917, 0, x_906); -lean_inc(x_914); -lean_inc(x_910); -lean_inc(x_906); -x_918 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_918, 0, x_906); -lean_closure_set(x_918, 1, x_910); -lean_closure_set(x_918, 2, x_914); -lean_inc(x_906); -x_919 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_919, 0, x_906); -lean_closure_set(x_919, 1, x_910); -lean_closure_set(x_919, 2, x_914); -x_920 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_920, 0, x_915); -lean_ctor_set(x_920, 1, x_916); -lean_ctor_set(x_920, 2, x_917); -lean_ctor_set(x_920, 3, x_918); -lean_ctor_set(x_920, 4, x_919); -x_921 = x_920; -x_922 = l_Lean_Elab_Command_getRef(x_17, x_18, x_913); -x_923 = lean_ctor_get(x_922, 0); -lean_inc(x_923); -x_924 = lean_ctor_get(x_922, 1); -lean_inc(x_924); -lean_dec(x_922); -x_925 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_924); -x_926 = lean_ctor_get(x_925, 0); -lean_inc(x_926); -x_927 = lean_ctor_get(x_925, 1); -lean_inc(x_927); -lean_dec(x_925); -x_928 = lean_ctor_get(x_17, 2); -lean_inc(x_928); -x_929 = lean_st_ref_get(x_18, x_927); -x_930 = lean_ctor_get(x_929, 0); -lean_inc(x_930); -x_931 = lean_ctor_get(x_929, 1); -lean_inc(x_931); -lean_dec(x_929); -x_932 = lean_ctor_get(x_930, 4); -lean_inc(x_932); -lean_dec(x_930); -x_933 = lean_st_ref_get(x_18, x_931); -x_934 = lean_ctor_get(x_933, 0); -lean_inc(x_934); -x_935 = lean_ctor_get(x_933, 1); -lean_inc(x_935); -lean_dec(x_933); -x_936 = lean_ctor_get(x_934, 3); -lean_inc(x_936); -lean_dec(x_934); -x_937 = lean_environment_main_module(x_906); -x_938 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_938, 0, x_921); -lean_ctor_set(x_938, 1, x_937); -lean_ctor_set(x_938, 2, x_926); -lean_ctor_set(x_938, 3, x_928); -lean_ctor_set(x_938, 4, x_932); -lean_ctor_set(x_938, 5, x_923); -x_939 = lean_box(0); -x_940 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_940, 0, x_936); -lean_ctor_set(x_940, 1, x_939); -x_941 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_15, x_938, x_940); -if (lean_obj_tag(x_941) == 0) +if (lean_obj_tag(x_1) == 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; uint8_t x_948; -x_942 = lean_ctor_get(x_941, 0); -lean_inc(x_942); -x_943 = lean_ctor_get(x_941, 1); -lean_inc(x_943); -lean_dec(x_941); -x_944 = lean_ctor_get(x_943, 0); -lean_inc(x_944); -x_945 = lean_st_ref_take(x_18, x_935); -x_946 = lean_ctor_get(x_945, 0); -lean_inc(x_946); -x_947 = lean_ctor_get(x_945, 1); -lean_inc(x_947); -lean_dec(x_945); -x_948 = !lean_is_exclusive(x_946); -if (x_948 == 0) +lean_object* x_9; uint8_t x_10; +x_9 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; +x_10 = lean_name_eq(x_5, x_9); +if (x_10 == 0) { -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; -x_949 = lean_ctor_get(x_946, 3); -lean_dec(x_949); -lean_ctor_set(x_946, 3, x_944); -x_950 = lean_st_ref_set(x_18, x_946, x_947); -x_951 = lean_ctor_get(x_950, 1); -lean_inc(x_951); -lean_dec(x_950); -x_952 = lean_ctor_get(x_943, 1); -lean_inc(x_952); -lean_dec(x_943); -x_953 = l_List_reverse___rarg(x_952); -x_954 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_953, x_17, x_18, x_951); -x_955 = lean_ctor_get(x_954, 1); -lean_inc(x_955); -lean_dec(x_954); -x_20 = x_942; -x_21 = x_955; -goto block_902; +lean_object* x_11; uint8_t x_12; +x_11 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2; +x_12 = lean_name_eq(x_5, x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4; +x_14 = lean_name_eq(x_5, 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_dec(x_4); +lean_dec(x_2); +x_15 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_15, 0, x_5); +x_16 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(x_19, x_6, x_7, x_8); +return x_20; } else { -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; lean_object* x_970; -x_956 = lean_ctor_get(x_946, 0); -x_957 = lean_ctor_get(x_946, 1); -x_958 = lean_ctor_get(x_946, 2); -x_959 = lean_ctor_get(x_946, 4); -x_960 = lean_ctor_get(x_946, 5); -x_961 = lean_ctor_get(x_946, 6); -x_962 = lean_ctor_get(x_946, 7); -x_963 = lean_ctor_get(x_946, 8); -lean_inc(x_963); -lean_inc(x_962); -lean_inc(x_961); -lean_inc(x_960); -lean_inc(x_959); -lean_inc(x_958); -lean_inc(x_957); -lean_inc(x_956); -lean_dec(x_946); -x_964 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_964, 0, x_956); -lean_ctor_set(x_964, 1, x_957); -lean_ctor_set(x_964, 2, x_958); -lean_ctor_set(x_964, 3, x_944); -lean_ctor_set(x_964, 4, x_959); -lean_ctor_set(x_964, 5, x_960); -lean_ctor_set(x_964, 6, x_961); -lean_ctor_set(x_964, 7, x_962); -lean_ctor_set(x_964, 8, x_963); -x_965 = lean_st_ref_set(x_18, x_964, x_947); -x_966 = lean_ctor_get(x_965, 1); -lean_inc(x_966); -lean_dec(x_965); -x_967 = lean_ctor_get(x_943, 1); -lean_inc(x_967); -lean_dec(x_943); -x_968 = l_List_reverse___rarg(x_967); -x_969 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_968, x_17, x_18, x_966); -x_970 = lean_ctor_get(x_969, 1); -lean_inc(x_970); -lean_dec(x_969); -x_20 = x_942; -x_21 = x_970; -goto block_902; -} -} -else -{ -lean_object* x_971; -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); +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; uint8_t x_31; lean_dec(x_5); -lean_dec(x_3); -x_971 = lean_ctor_get(x_941, 0); -lean_inc(x_971); -lean_dec(x_941); -if (lean_obj_tag(x_971) == 0) +x_21 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(x_2, x_6, x_7, x_8); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_23); +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 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_26); +lean_dec(x_6); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_29); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) { -lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; uint8_t x_977; -x_972 = lean_ctor_get(x_971, 0); -lean_inc(x_972); -x_973 = lean_ctor_get(x_971, 1); -lean_inc(x_973); -lean_dec(x_971); -x_974 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_974, 0, x_973); -x_975 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_975, 0, x_974); -x_976 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_972, x_975, x_17, x_18, x_935); -lean_dec(x_972); -x_977 = !lean_is_exclusive(x_976); -if (x_977 == 0) -{ -return x_976; -} -else -{ -lean_object* x_978; lean_object* x_979; lean_object* x_980; -x_978 = lean_ctor_get(x_976, 0); -x_979 = lean_ctor_get(x_976, 1); -lean_inc(x_979); -lean_inc(x_978); -lean_dec(x_976); -x_980 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_980, 0, x_978); -lean_ctor_set(x_980, 1, x_979); -return x_980; -} -} -else -{ -lean_object* x_981; uint8_t x_982; -lean_dec(x_17); -x_981 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_935); -x_982 = !lean_is_exclusive(x_981); -if (x_982 == 0) -{ -return x_981; -} -else -{ -lean_object* x_983; lean_object* x_984; lean_object* x_985; -x_983 = lean_ctor_get(x_981, 0); -x_984 = lean_ctor_get(x_981, 1); -lean_inc(x_984); -lean_inc(x_983); -lean_dec(x_981); -x_985 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_985, 0, x_983); -lean_ctor_set(x_985, 1, x_984); -return x_985; -} -} -} -block_902: -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 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; -x_22 = lean_box_usize(x_1); -x_23 = lean_box_usize(x_2); -x_24 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed), 5, 3); -lean_closure_set(x_24, 0, x_22); -lean_closure_set(x_24, 1, x_23); -lean_closure_set(x_24, 2, x_3); -x_818 = lean_st_ref_get(x_18, x_21); -x_819 = lean_ctor_get(x_818, 0); -lean_inc(x_819); -x_820 = lean_ctor_get(x_818, 1); -lean_inc(x_820); -lean_dec(x_818); -x_821 = lean_ctor_get(x_819, 0); -lean_inc(x_821); -lean_dec(x_819); -x_822 = l_Lean_Elab_Command_getScope___rarg(x_18, x_820); -x_823 = lean_ctor_get(x_822, 0); -lean_inc(x_823); -x_824 = lean_ctor_get(x_822, 1); -lean_inc(x_824); -lean_dec(x_822); -x_825 = lean_ctor_get(x_823, 2); -lean_inc(x_825); -lean_dec(x_823); -x_826 = l_Lean_Elab_Command_getScope___rarg(x_18, x_824); -x_827 = lean_ctor_get(x_826, 0); -lean_inc(x_827); -x_828 = lean_ctor_get(x_826, 1); -lean_inc(x_828); -lean_dec(x_826); -x_829 = lean_ctor_get(x_827, 3); -lean_inc(x_829); -lean_dec(x_827); -lean_inc(x_821); -x_830 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_830, 0, x_821); -lean_inc(x_825); -x_831 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_831, 0, x_825); -lean_inc(x_821); -x_832 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_832, 0, x_821); -lean_inc(x_829); -lean_inc(x_825); -lean_inc(x_821); -x_833 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_833, 0, x_821); -lean_closure_set(x_833, 1, x_825); -lean_closure_set(x_833, 2, x_829); -lean_inc(x_821); -x_834 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_834, 0, x_821); -lean_closure_set(x_834, 1, x_825); -lean_closure_set(x_834, 2, x_829); -x_835 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_835, 0, x_830); -lean_ctor_set(x_835, 1, x_831); -lean_ctor_set(x_835, 2, x_832); -lean_ctor_set(x_835, 3, x_833); -lean_ctor_set(x_835, 4, x_834); -x_836 = x_835; -x_837 = l_Lean_Elab_Command_getRef(x_17, x_18, x_828); -x_838 = lean_ctor_get(x_837, 0); -lean_inc(x_838); -x_839 = lean_ctor_get(x_837, 1); -lean_inc(x_839); -lean_dec(x_837); -x_840 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_839); -x_841 = lean_ctor_get(x_840, 0); -lean_inc(x_841); -x_842 = lean_ctor_get(x_840, 1); -lean_inc(x_842); -lean_dec(x_840); -x_843 = lean_ctor_get(x_17, 2); -lean_inc(x_843); -x_844 = lean_st_ref_get(x_18, x_842); -x_845 = lean_ctor_get(x_844, 0); -lean_inc(x_845); -x_846 = lean_ctor_get(x_844, 1); -lean_inc(x_846); -lean_dec(x_844); -x_847 = lean_ctor_get(x_845, 4); -lean_inc(x_847); -lean_dec(x_845); -x_848 = lean_st_ref_get(x_18, x_846); -x_849 = lean_ctor_get(x_848, 0); -lean_inc(x_849); -x_850 = lean_ctor_get(x_848, 1); -lean_inc(x_850); -lean_dec(x_848); -x_851 = lean_ctor_get(x_849, 3); -lean_inc(x_851); -lean_dec(x_849); -x_852 = lean_environment_main_module(x_821); -x_853 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_853, 0, x_836); -lean_ctor_set(x_853, 1, x_852); -lean_ctor_set(x_853, 2, x_841); -lean_ctor_set(x_853, 3, x_843); -lean_ctor_set(x_853, 4, x_847); -lean_ctor_set(x_853, 5, x_838); -x_854 = lean_box(0); -x_855 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_855, 0, x_851); -lean_ctor_set(x_855, 1, x_854); -x_856 = x_24; -x_857 = lean_apply_2(x_856, x_853, x_855); -if (lean_obj_tag(x_857) == 0) -{ -lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; uint8_t x_864; -x_858 = lean_ctor_get(x_857, 0); -lean_inc(x_858); -x_859 = lean_ctor_get(x_857, 1); -lean_inc(x_859); -lean_dec(x_857); -x_860 = lean_ctor_get(x_859, 0); -lean_inc(x_860); -x_861 = lean_st_ref_take(x_18, x_850); -x_862 = lean_ctor_get(x_861, 0); -lean_inc(x_862); -x_863 = lean_ctor_get(x_861, 1); -lean_inc(x_863); -lean_dec(x_861); -x_864 = !lean_is_exclusive(x_862); -if (x_864 == 0) -{ -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; -x_865 = lean_ctor_get(x_862, 3); -lean_dec(x_865); -lean_ctor_set(x_862, 3, x_860); -x_866 = lean_st_ref_set(x_18, x_862, x_863); -x_867 = lean_ctor_get(x_866, 1); -lean_inc(x_867); -lean_dec(x_866); -x_868 = lean_ctor_get(x_859, 1); -lean_inc(x_868); -lean_dec(x_859); -x_869 = l_List_reverse___rarg(x_868); -x_870 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_869, x_17, x_18, x_867); -x_871 = lean_ctor_get(x_870, 1); -lean_inc(x_871); -lean_dec(x_870); -x_25 = x_858; -x_26 = x_871; -goto block_817; -} -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; 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; -x_872 = lean_ctor_get(x_862, 0); -x_873 = lean_ctor_get(x_862, 1); -x_874 = lean_ctor_get(x_862, 2); -x_875 = lean_ctor_get(x_862, 4); -x_876 = lean_ctor_get(x_862, 5); -x_877 = lean_ctor_get(x_862, 6); -x_878 = lean_ctor_get(x_862, 7); -x_879 = lean_ctor_get(x_862, 8); -lean_inc(x_879); -lean_inc(x_878); -lean_inc(x_877); -lean_inc(x_876); -lean_inc(x_875); -lean_inc(x_874); -lean_inc(x_873); -lean_inc(x_872); -lean_dec(x_862); -x_880 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_880, 0, x_872); -lean_ctor_set(x_880, 1, x_873); -lean_ctor_set(x_880, 2, x_874); -lean_ctor_set(x_880, 3, x_860); -lean_ctor_set(x_880, 4, x_875); -lean_ctor_set(x_880, 5, x_876); -lean_ctor_set(x_880, 6, x_877); -lean_ctor_set(x_880, 7, x_878); -lean_ctor_set(x_880, 8, x_879); -x_881 = lean_st_ref_set(x_18, x_880, x_863); -x_882 = lean_ctor_get(x_881, 1); -lean_inc(x_882); -lean_dec(x_881); -x_883 = lean_ctor_get(x_859, 1); -lean_inc(x_883); -lean_dec(x_859); -x_884 = l_List_reverse___rarg(x_883); -x_885 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_884, x_17, x_18, x_882); -x_886 = lean_ctor_get(x_885, 1); -lean_inc(x_886); -lean_dec(x_885); -x_25 = x_858; -x_26 = x_886; -goto block_817; -} -} -else -{ -lean_object* x_887; -lean_dec(x_20); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -x_887 = lean_ctor_get(x_857, 0); -lean_inc(x_887); -lean_dec(x_857); -if (lean_obj_tag(x_887) == 0) -{ -lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; uint8_t x_893; -x_888 = lean_ctor_get(x_887, 0); -lean_inc(x_888); -x_889 = lean_ctor_get(x_887, 1); -lean_inc(x_889); -lean_dec(x_887); -x_890 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_890, 0, x_889); -x_891 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_891, 0, x_890); -x_892 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__1(x_888, x_891, x_17, x_18, x_850); -lean_dec(x_888); -x_893 = !lean_is_exclusive(x_892); -if (x_893 == 0) -{ -return x_892; -} -else -{ -lean_object* x_894; lean_object* x_895; lean_object* x_896; -x_894 = lean_ctor_get(x_892, 0); -x_895 = lean_ctor_get(x_892, 1); -lean_inc(x_895); -lean_inc(x_894); -lean_dec(x_892); -x_896 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_896, 0, x_894); -lean_ctor_set(x_896, 1, x_895); -return x_896; -} -} -else -{ -lean_object* x_897; uint8_t x_898; -lean_dec(x_17); -x_897 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__3___rarg(x_850); -x_898 = !lean_is_exclusive(x_897); -if (x_898 == 0) -{ -return x_897; -} -else -{ -lean_object* x_899; lean_object* x_900; lean_object* x_901; -x_899 = lean_ctor_get(x_897, 0); -x_900 = lean_ctor_get(x_897, 1); -lean_inc(x_900); -lean_inc(x_899); -lean_dec(x_897); -x_901 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_901, 0, x_899); -lean_ctor_set(x_901, 1, x_900); -return x_901; -} -} -} -block_817: -{ -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_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; size_t 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_inc(x_16); -x_27 = l_Lean_Name_append(x_4, x_16); -lean_inc(x_5); -x_28 = lean_array_push(x_5, x_20); -x_29 = l_Array_append___rarg(x_28, x_25); -lean_dec(x_25); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_27); -lean_ctor_set(x_30, 1, x_29); -x_740 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_17, x_18, x_26); -x_741 = lean_ctor_get(x_740, 0); -lean_inc(x_741); -x_742 = lean_ctor_get(x_740, 1); -lean_inc(x_742); -lean_dec(x_740); -x_743 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_742); -x_744 = lean_ctor_get(x_743, 1); -lean_inc(x_744); -lean_dec(x_743); -x_745 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_744); -x_746 = lean_ctor_get(x_745, 1); -lean_inc(x_746); -lean_dec(x_745); -x_747 = l_Lean_Elab_Command_elabSyntax___closed__1; -lean_inc(x_741); -x_748 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_748, 0, x_741); -lean_ctor_set(x_748, 1, x_747); -x_749 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; -lean_inc(x_741); -x_750 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_750, 0, x_741); -lean_ctor_set(x_750, 1, x_749); -x_751 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; -lean_inc(x_741); -x_752 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_752, 0, x_741); -lean_ctor_set(x_752, 1, x_751); -x_753 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_741); -x_754 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_754, 0, x_741); -lean_ctor_set(x_754, 1, x_753); -lean_inc(x_16); -x_755 = l_Lean_mkIdentFrom(x_8, x_16); -x_756 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_741); -x_757 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_757, 0, x_741); -lean_ctor_set(x_757, 1, x_756); -x_758 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; -x_759 = lean_array_push(x_758, x_750); -lean_inc(x_759); -x_760 = lean_array_push(x_759, x_752); -lean_inc(x_754); -x_761 = lean_array_push(x_760, x_754); -x_762 = lean_array_push(x_761, x_755); -lean_inc(x_757); -x_763 = lean_array_push(x_762, x_757); -x_764 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19; -x_765 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_765, 0, x_764); -lean_ctor_set(x_765, 1, x_763); -lean_inc(x_5); -x_766 = lean_array_push(x_5, x_765); -x_767 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_768 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_768, 0, x_767); -lean_ctor_set(x_768, 1, x_766); -x_769 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; -lean_inc(x_741); -x_770 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_770, 0, x_741); -lean_ctor_set(x_770, 1, x_769); -x_771 = l_Nat_repr(x_10); -x_772 = l_Lean_numLitKind; -x_773 = lean_box(2); -x_774 = l_Lean_Syntax_mkLit(x_772, x_771, x_773); -x_775 = lean_array_push(x_759, x_770); -x_776 = lean_array_push(x_775, x_754); -x_777 = lean_array_push(x_776, x_774); -x_778 = lean_array_push(x_777, x_757); -x_779 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20; -x_780 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_780, 0, x_779); -lean_ctor_set(x_780, 1, x_778); -lean_inc(x_5); -x_781 = lean_array_push(x_5, x_780); -x_782 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_782, 0, x_767); -lean_ctor_set(x_782, 1, x_781); -x_783 = lean_array_get_size(x_11); -x_784 = lean_usize_of_nat(x_783); -lean_dec(x_783); -x_785 = x_11; -x_786 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_784, x_2, x_785); -x_787 = x_786; -x_788 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; -x_789 = l_Array_append___rarg(x_788, x_787); -lean_dec(x_787); -x_790 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_790, 0, x_767); -lean_ctor_set(x_790, 1, x_789); -x_791 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -x_792 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_792, 0, x_741); -lean_ctor_set(x_792, 1, x_791); -x_793 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_794 = lean_array_push(x_793, x_12); -x_795 = lean_array_push(x_794, x_748); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; -x_796 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; -x_797 = lean_array_push(x_795, x_796); -x_798 = lean_array_push(x_797, x_768); -x_799 = lean_array_push(x_798, x_782); -x_800 = lean_array_push(x_799, x_790); -x_801 = lean_array_push(x_800, x_792); -x_802 = lean_array_push(x_801, x_14); -x_803 = l_Lean_Elab_Command_elabSyntax___closed__2; -x_804 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_804, 0, x_803); -lean_ctor_set(x_804, 1, x_802); -x_31 = x_804; -x_32 = x_746; -goto block_739; -} -else -{ -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; -x_805 = lean_ctor_get(x_13, 0); -lean_inc(x_805); -lean_dec(x_13); -x_806 = lean_array_push(x_788, x_805); -x_807 = l_Array_append___rarg(x_788, x_806); -lean_dec(x_806); -x_808 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_808, 0, x_767); -lean_ctor_set(x_808, 1, x_807); -x_809 = lean_array_push(x_795, x_808); -x_810 = lean_array_push(x_809, x_768); -x_811 = lean_array_push(x_810, x_782); -x_812 = lean_array_push(x_811, x_790); -x_813 = lean_array_push(x_812, x_792); -x_814 = lean_array_push(x_813, x_14); -x_815 = l_Lean_Elab_Command_elabSyntax___closed__2; -x_816 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_816, 0, x_815); -lean_ctor_set(x_816, 1, x_814); -x_31 = x_816; -x_32 = x_746; -goto block_739; -} -block_739: -{ -uint8_t x_33; -x_33 = l_Lean_Syntax_hasArgs(x_6); -if (x_33 == 0) -{ -lean_object* x_34; uint8_t x_35; -x_34 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; -x_35 = lean_name_eq(x_7, x_34); -if (x_35 == 0) -{ -lean_object* x_36; uint8_t x_37; -x_36 = l_Lean_Elab_Command_expandElab___lambda__2___closed__2; -x_37 = lean_name_eq(x_7, x_36); -if (x_37 == 0) -{ -lean_object* x_38; uint8_t x_39; -x_38 = l_Lean_Elab_Command_expandElab___lambda__2___closed__4; -x_39 = lean_name_eq(x_7, x_38); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_16); -lean_dec(x_9); -lean_dec(x_5); -x_40 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_40, 0, x_7); -x_41 = l_Lean_Elab_Command_expandElab___lambda__2___closed__6; -x_42 = lean_alloc_ctor(10, 2, 0); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_32 = lean_ctor_get(x_30, 0); +x_33 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_25); +x_34 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_34, 0, x_25); +lean_ctor_set(x_34, 1, x_33); +lean_inc(x_28); +lean_inc(x_32); +x_35 = l_Lean_addMacroScope(x_32, x_13, x_28); +x_36 = lean_box(0); +x_37 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8; +lean_inc(x_25); +x_38 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_38, 0, x_25); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 3, x_36); +x_39 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_40 = lean_array_push(x_39, x_22); +x_41 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +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_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__4___closed__4; -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__10(x_44, x_17, x_18, x_32); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -return x_45; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_45, 0); -x_48 = lean_ctor_get(x_45, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_45); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -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; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; -lean_dec(x_7); -x_50 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_17, x_18, x_32); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_52); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_55); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_51); -x_60 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_60, 0, x_51); -lean_ctor_set(x_60, 1, x_59); -x_61 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -lean_inc(x_5); -x_62 = lean_array_push(x_5, x_61); -x_63 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -lean_inc(x_54); -lean_inc(x_57); -x_65 = l_Lean_addMacroScope(x_57, x_38, x_54); -x_66 = lean_box(0); -x_67 = l_Lean_Elab_Command_expandElab___lambda__2___closed__8; -lean_inc(x_51); -x_68 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_68, 0, x_51); -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_mkIdentFrom(x_8, x_16); -lean_inc(x_5); -x_70 = lean_array_push(x_5, x_69); -x_71 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_74 = lean_array_push(x_73, x_68); -x_75 = lean_array_push(x_74, x_72); -x_76 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = lean_array_push(x_73, x_64); -x_79 = lean_array_push(x_78, x_77); -x_80 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_80); +x_43 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_44 = lean_array_push(x_43, x_38); +x_45 = lean_array_push(x_44, x_42); +x_46 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; +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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; +x_49 = lean_array_push(x_48, x_47); +x_50 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = lean_array_push(x_39, x_51); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_41); +lean_ctor_set(x_53, 1, x_52); +x_54 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_25); +x_55 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_55, 0, x_25); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_57 = lean_array_push(x_56, x_34); +x_58 = lean_array_push(x_57, x_53); +x_59 = lean_array_push(x_58, x_55); +x_60 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +x_62 = lean_array_push(x_39, x_61); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_41); +lean_ctor_set(x_63, 1, x_62); +x_64 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_25); +x_65 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_65, 0, x_25); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +lean_inc(x_28); +lean_inc(x_32); +x_67 = l_Lean_addMacroScope(x_32, x_66, x_28); +x_68 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; +lean_inc(x_25); +x_69 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_69, 0, x_25); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_69, 2, x_67); +lean_ctor_set(x_69, 3, x_36); +x_70 = lean_array_push(x_43, x_69); +x_71 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_72 = lean_array_push(x_70, x_71); +x_73 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +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___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_25); +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_25); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18; +lean_inc(x_28); +lean_inc(x_32); +x_78 = l_Lean_addMacroScope(x_32, x_77, x_28); +x_79 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15; +x_80 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; +lean_inc(x_25); +x_81 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_81, 0, x_25); lean_ctor_set(x_81, 1, x_79); -lean_inc(x_5); -x_82 = lean_array_push(x_5, x_81); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_71); -lean_ctor_set(x_83, 1, x_82); -x_84 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_51); -x_85 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_85, 0, x_51); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_87 = lean_array_push(x_86, x_60); -x_88 = lean_array_push(x_87, x_83); -x_89 = lean_array_push(x_88, x_85); -x_90 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; +lean_ctor_set(x_81, 2, x_78); +lean_ctor_set(x_81, 3, x_80); +x_82 = lean_array_push(x_43, x_76); +x_83 = lean_array_push(x_82, x_81); +x_84 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +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_array_push(x_39, x_85); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_41); +lean_ctor_set(x_87, 1, x_86); +x_88 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +x_89 = lean_array_push(x_88, x_87); +x_90 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); -lean_inc(x_5); -x_92 = lean_array_push(x_5, x_91); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_71); +x_92 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_25); +x_93 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_93, 0, x_25); lean_ctor_set(x_93, 1, x_92); -x_94 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_95 = lean_array_push(x_94, x_93); -x_96 = lean_array_push(x_95, x_61); -x_97 = lean_array_push(x_96, x_61); -x_98 = lean_array_push(x_97, x_61); -x_99 = lean_array_push(x_98, x_61); -x_100 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_51); -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_51); -lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_Elab_Command_expandElab___lambda__2___closed__12; -lean_inc(x_54); -lean_inc(x_57); -x_105 = l_Lean_addMacroScope(x_57, x_104, x_54); -x_106 = l_Lean_Elab_Command_expandElab___lambda__2___closed__11; -lean_inc(x_51); -x_107 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_107, 0, x_51); -lean_ctor_set(x_107, 1, x_106); -lean_ctor_set(x_107, 2, x_105); -lean_ctor_set(x_107, 3, x_66); -x_108 = lean_array_push(x_73, x_107); -x_109 = lean_array_push(x_108, x_61); -x_110 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -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 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_51); -x_113 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_113, 0, x_51); -lean_ctor_set(x_113, 1, x_112); -x_114 = l_Lean_Elab_Command_expandElab___lambda__2___closed__18; -lean_inc(x_54); -lean_inc(x_57); -x_115 = l_Lean_addMacroScope(x_57, x_114, x_54); -x_116 = l_Lean_Elab_Command_expandElab___lambda__2___closed__15; -x_117 = l_Lean_Elab_Command_expandElab___lambda__2___closed__20; -lean_inc(x_51); -x_118 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_118, 0, x_51); -lean_ctor_set(x_118, 1, x_116); -lean_ctor_set(x_118, 2, x_115); -lean_ctor_set(x_118, 3, x_117); -x_119 = lean_array_push(x_73, x_113); -x_120 = lean_array_push(x_119, x_118); -x_121 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +x_94 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +lean_inc(x_25); +x_95 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_95, 0, x_25); +lean_ctor_set(x_95, 1, x_94); +x_96 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_97 = l_Array_append___rarg(x_96, x_3); +x_98 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_25); +x_99 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_99, 0, x_25); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; +lean_inc(x_25); +x_101 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_101, 0, x_25); +lean_ctor_set(x_101, 1, x_100); +x_102 = lean_array_push(x_39, x_101); +x_103 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +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_39, x_104); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_41); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +lean_inc(x_25); +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_25); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +x_110 = l_Lean_addMacroScope(x_32, x_109, x_28); +x_111 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_112 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +x_113 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_113, 0, x_25); +lean_ctor_set(x_113, 1, x_111); +lean_ctor_set(x_113, 2, x_110); +lean_ctor_set(x_113, 3, x_112); +x_114 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_115 = lean_array_push(x_114, x_99); +x_116 = lean_array_push(x_115, x_106); +x_117 = lean_array_push(x_116, x_108); +x_118 = lean_array_push(x_117, x_113); +x_119 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = lean_array_push(x_97, x_120); x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_120); -lean_inc(x_5); -x_123 = lean_array_push(x_5, x_122); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_71); -lean_ctor_set(x_124, 1, x_123); -x_125 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_126 = lean_array_push(x_125, x_124); -x_127 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -x_129 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_51); -x_130 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_130, 0, x_51); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_51); -x_132 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_132, 0, x_51); -lean_ctor_set(x_132, 1, x_131); -x_133 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_51); -x_134 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_134, 0, x_51); -lean_ctor_set(x_134, 1, x_133); -x_135 = l_Lean_Elab_Command_expandElab___lambda__2___closed__23; -lean_inc(x_51); -x_136 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_136, 0, x_51); -lean_ctor_set(x_136, 1, x_135); -x_137 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_51); -x_138 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_138, 0, x_51); -lean_ctor_set(x_138, 1, x_137); -x_139 = lean_array_push(x_86, x_136); -x_140 = lean_array_push(x_139, x_30); -x_141 = lean_array_push(x_140, x_138); -x_142 = l_Lean_Elab_Command_expandElab___lambda__2___closed__22; -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_141); -lean_inc(x_5); -x_144 = lean_array_push(x_5, x_143); -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_71); -lean_ctor_set(x_145, 1, x_144); -x_146 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; -lean_inc(x_51); -x_147 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_147, 0, x_51); -lean_ctor_set(x_147, 1, x_146); -x_148 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_149 = lean_array_push(x_148, x_134); -lean_inc(x_149); -x_150 = lean_array_push(x_149, x_145); -lean_inc(x_147); -x_151 = lean_array_push(x_150, x_147); -x_152 = lean_array_push(x_151, x_9); -x_153 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_152); -x_155 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_51); -x_156 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_156, 0, x_51); +lean_ctor_set(x_122, 0, x_41); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_39, x_122); +x_124 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = lean_array_push(x_43, x_95); +x_127 = lean_array_push(x_126, x_125); +x_128 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +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 = lean_array_push(x_56, x_93); +x_131 = lean_array_push(x_130, x_129); +x_132 = lean_array_push(x_131, x_71); +x_133 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_132); +x_135 = lean_array_push(x_114, x_65); +x_136 = lean_array_push(x_135, x_74); +x_137 = lean_array_push(x_136, x_91); +x_138 = lean_array_push(x_137, x_134); +x_139 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_138); +if (lean_obj_tag(x_4) == 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; +x_141 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_142 = lean_array_push(x_141, x_63); +x_143 = lean_array_push(x_142, x_71); +x_144 = lean_array_push(x_143, x_71); +x_145 = lean_array_push(x_144, x_71); +x_146 = lean_array_push(x_145, x_71); +x_147 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_146); +x_149 = lean_array_push(x_43, x_148); +x_150 = lean_array_push(x_149, x_140); +x_151 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +lean_ctor_set(x_30, 0, x_152); +return x_30; +} +else +{ +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; +x_153 = lean_ctor_get(x_4, 0); +lean_inc(x_153); +lean_dec(x_4); +x_154 = lean_array_push(x_39, x_153); +x_155 = l_Array_append___rarg(x_96, x_154); +lean_dec(x_154); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_41); lean_ctor_set(x_156, 1, x_155); -lean_inc(x_5); -x_157 = lean_array_push(x_5, x_156); -x_158 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -lean_inc(x_5); -x_160 = lean_array_push(x_5, x_159); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_71); -lean_ctor_set(x_161, 1, x_160); -x_162 = l_Lean_Elab_Command_expandElab___lambda__2___closed__27; -x_163 = l_Lean_addMacroScope(x_57, x_162, x_54); -x_164 = l_Lean_Elab_Command_expandElab___lambda__2___closed__26; -x_165 = l_Lean_Elab_Command_expandElab___lambda__2___closed__30; -x_166 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_166, 0, x_51); -lean_ctor_set(x_166, 1, x_164); -lean_ctor_set(x_166, 2, x_163); -lean_ctor_set(x_166, 3, x_165); -x_167 = lean_array_push(x_149, x_161); -x_168 = lean_array_push(x_167, x_147); -x_169 = lean_array_push(x_168, x_166); -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_153); -lean_ctor_set(x_170, 1, x_169); -x_171 = lean_array_push(x_73, x_154); -x_172 = lean_array_push(x_171, x_170); -x_173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_173, 0, x_71); -lean_ctor_set(x_173, 1, x_172); -x_174 = lean_array_push(x_5, x_173); -x_175 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -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 = lean_array_push(x_73, x_132); -x_178 = lean_array_push(x_177, x_176); -x_179 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_178); -x_181 = lean_array_push(x_86, x_130); -x_182 = lean_array_push(x_181, x_180); -x_183 = lean_array_push(x_182, x_61); -x_184 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -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_148, x_103); -x_187 = lean_array_push(x_186, x_111); -x_188 = lean_array_push(x_187, x_128); -x_189 = lean_array_push(x_188, x_185); -x_190 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_189); -x_192 = lean_array_push(x_73, x_101); -x_193 = lean_array_push(x_192, x_191); -x_194 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_193); -x_196 = l_Lean_Elab_Command_expandElab___lambda__1(x_31, x_195, x_17, x_18, x_58); -lean_dec(x_17); -return x_196; +x_157 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_158 = lean_array_push(x_157, x_156); +x_159 = lean_array_push(x_158, x_63); +x_160 = lean_array_push(x_159, x_71); +x_161 = lean_array_push(x_160, x_71); +x_162 = lean_array_push(x_161, x_71); +x_163 = lean_array_push(x_162, x_71); +x_164 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +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_43, x_165); +x_167 = lean_array_push(x_166, x_140); +x_168 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_169, 1, x_167); +lean_ctor_set(x_30, 0, x_169); +return x_30; } } else { -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 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_dec(x_7); -x_197 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_17, x_18, x_32); -x_198 = lean_ctor_get(x_197, 0); -lean_inc(x_198); -x_199 = lean_ctor_get(x_197, 1); -lean_inc(x_199); -lean_dec(x_197); -x_200 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_199); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_202); -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); -x_206 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_198); -x_207 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_207, 0, x_198); -lean_ctor_set(x_207, 1, x_206); -x_208 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -lean_inc(x_5); -x_209 = lean_array_push(x_5, x_208); -x_210 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -x_211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_211, 0, x_210); -lean_ctor_set(x_211, 1, x_209); -x_212 = l_Lean_Elab_Command_expandElab___lambda__2___closed__34; -lean_inc(x_201); -lean_inc(x_204); -x_213 = l_Lean_addMacroScope(x_204, x_212, x_201); -x_214 = lean_box(0); -x_215 = l_Lean_Elab_Command_expandElab___lambda__2___closed__33; -lean_inc(x_198); -x_216 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_216, 0, x_198); -lean_ctor_set(x_216, 1, x_215); -lean_ctor_set(x_216, 2, x_213); -lean_ctor_set(x_216, 3, x_214); -x_217 = l_Lean_mkIdentFrom(x_8, x_16); -lean_inc(x_5); -x_218 = lean_array_push(x_5, x_217); -x_219 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_219); +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; +x_170 = lean_ctor_get(x_30, 0); +x_171 = lean_ctor_get(x_30, 1); +lean_inc(x_171); +lean_inc(x_170); +lean_dec(x_30); +x_172 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_25); +x_173 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_173, 0, x_25); +lean_ctor_set(x_173, 1, x_172); +lean_inc(x_28); +lean_inc(x_170); +x_174 = l_Lean_addMacroScope(x_170, x_13, x_28); +x_175 = lean_box(0); +x_176 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8; +lean_inc(x_25); +x_177 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_177, 0, x_25); +lean_ctor_set(x_177, 1, x_176); +lean_ctor_set(x_177, 2, x_174); +lean_ctor_set(x_177, 3, x_175); +x_178 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_179 = lean_array_push(x_178, x_22); +x_180 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_179); +x_182 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_183 = lean_array_push(x_182, x_177); +x_184 = lean_array_push(x_183, x_181); +x_185 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_184); +x_187 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; +x_188 = lean_array_push(x_187, x_186); +x_189 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; +x_190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_188); +x_191 = lean_array_push(x_178, x_190); +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_180); +lean_ctor_set(x_192, 1, x_191); +x_193 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_25); +x_194 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_194, 0, x_25); +lean_ctor_set(x_194, 1, x_193); +x_195 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_196 = lean_array_push(x_195, x_173); +x_197 = lean_array_push(x_196, x_192); +x_198 = lean_array_push(x_197, x_194); +x_199 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = lean_array_push(x_178, x_200); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_180); +lean_ctor_set(x_202, 1, x_201); +x_203 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_25); +x_204 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_204, 0, x_25); +lean_ctor_set(x_204, 1, x_203); +x_205 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +lean_inc(x_28); +lean_inc(x_170); +x_206 = l_Lean_addMacroScope(x_170, x_205, x_28); +x_207 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; +lean_inc(x_25); +x_208 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_208, 0, x_25); +lean_ctor_set(x_208, 1, x_207); +lean_ctor_set(x_208, 2, x_206); +lean_ctor_set(x_208, 3, x_175); +x_209 = lean_array_push(x_182, x_208); +x_210 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_211 = lean_array_push(x_209, x_210); +x_212 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +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_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_25); +x_215 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_215, 0, x_25); +lean_ctor_set(x_215, 1, x_214); +x_216 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18; +lean_inc(x_28); +lean_inc(x_170); +x_217 = l_Lean_addMacroScope(x_170, x_216, x_28); +x_218 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15; +x_219 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; +lean_inc(x_25); +x_220 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_220, 0, x_25); lean_ctor_set(x_220, 1, x_218); -x_221 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_222 = lean_array_push(x_221, x_216); -x_223 = lean_array_push(x_222, x_220); -x_224 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_224); -lean_ctor_set(x_225, 1, x_223); -x_226 = lean_array_push(x_221, x_211); -x_227 = lean_array_push(x_226, x_225); -x_228 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_227); -lean_inc(x_5); -x_230 = lean_array_push(x_5, x_229); -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_219); -lean_ctor_set(x_231, 1, x_230); -x_232 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_198); -x_233 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_233, 0, x_198); -lean_ctor_set(x_233, 1, x_232); -x_234 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_235 = lean_array_push(x_234, x_207); -x_236 = lean_array_push(x_235, x_231); -x_237 = lean_array_push(x_236, x_233); -x_238 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_237); -lean_inc(x_5); -x_240 = lean_array_push(x_5, x_239); -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_219); -lean_ctor_set(x_241, 1, x_240); -x_242 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_243 = lean_array_push(x_242, x_241); -x_244 = lean_array_push(x_243, x_208); -x_245 = lean_array_push(x_244, x_208); -x_246 = lean_array_push(x_245, x_208); -x_247 = lean_array_push(x_246, x_208); -x_248 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_247); -x_250 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_198); -x_251 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_251, 0, x_198); -lean_ctor_set(x_251, 1, x_250); -x_252 = l_Lean_Elab_Command_expandElab___lambda__2___closed__12; -lean_inc(x_201); -lean_inc(x_204); -x_253 = l_Lean_addMacroScope(x_204, x_252, x_201); -x_254 = l_Lean_Elab_Command_expandElab___lambda__2___closed__11; -lean_inc(x_198); -x_255 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_255, 0, x_198); -lean_ctor_set(x_255, 1, x_254); -lean_ctor_set(x_255, 2, x_253); -lean_ctor_set(x_255, 3, x_214); -x_256 = lean_array_push(x_221, x_255); -x_257 = lean_array_push(x_256, x_208); -x_258 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +lean_ctor_set(x_220, 2, x_217); +lean_ctor_set(x_220, 3, x_219); +x_221 = lean_array_push(x_182, x_215); +x_222 = lean_array_push(x_221, x_220); +x_223 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_222); +x_225 = lean_array_push(x_178, x_224); +x_226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_226, 0, x_180); +lean_ctor_set(x_226, 1, x_225); +x_227 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +x_228 = lean_array_push(x_227, x_226); +x_229 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_228); +x_231 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_25); +x_232 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_232, 0, x_25); +lean_ctor_set(x_232, 1, x_231); +x_233 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +lean_inc(x_25); +x_234 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_234, 0, x_25); +lean_ctor_set(x_234, 1, x_233); +x_235 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_236 = l_Array_append___rarg(x_235, x_3); +x_237 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_25); +x_238 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_238, 0, x_25); +lean_ctor_set(x_238, 1, x_237); +x_239 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; +lean_inc(x_25); +x_240 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_240, 0, x_25); +lean_ctor_set(x_240, 1, x_239); +x_241 = lean_array_push(x_178, x_240); +x_242 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_241); +x_244 = lean_array_push(x_178, x_243); +x_245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_245, 0, x_180); +lean_ctor_set(x_245, 1, x_244); +x_246 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +lean_inc(x_25); +x_247 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_247, 0, x_25); +lean_ctor_set(x_247, 1, x_246); +x_248 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +x_249 = l_Lean_addMacroScope(x_170, x_248, x_28); +x_250 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_251 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +x_252 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_252, 0, x_25); +lean_ctor_set(x_252, 1, x_250); +lean_ctor_set(x_252, 2, x_249); +lean_ctor_set(x_252, 3, x_251); +x_253 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_254 = lean_array_push(x_253, x_238); +x_255 = lean_array_push(x_254, x_245); +x_256 = lean_array_push(x_255, x_247); +x_257 = lean_array_push(x_256, x_252); +x_258 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_259 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_259, 0, x_258); lean_ctor_set(x_259, 1, x_257); -x_260 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_198); -x_261 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_261, 0, x_198); +x_260 = lean_array_push(x_236, x_259); +x_261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_180); lean_ctor_set(x_261, 1, x_260); -x_262 = l_Lean_Elab_Command_expandElab___lambda__2___closed__39; -lean_inc(x_201); -lean_inc(x_204); -x_263 = l_Lean_addMacroScope(x_204, x_262, x_201); -x_264 = l_Lean_Elab_Command_expandElab___lambda__2___closed__37; -x_265 = l_Lean_Elab_Command_expandElab___lambda__2___closed__41; -lean_inc(x_198); -x_266 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_266, 0, x_198); -lean_ctor_set(x_266, 1, x_264); -lean_ctor_set(x_266, 2, x_263); -lean_ctor_set(x_266, 3, x_265); -x_267 = lean_array_push(x_221, x_261); -x_268 = lean_array_push(x_267, x_266); -x_269 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -lean_inc(x_5); -x_271 = lean_array_push(x_5, x_270); -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_219); -lean_ctor_set(x_272, 1, x_271); -x_273 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_274 = lean_array_push(x_273, x_272); -x_275 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_274); -x_277 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_198); -x_278 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_278, 0, x_198); -lean_ctor_set(x_278, 1, x_277); -x_279 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_198); -x_280 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_280, 0, x_198); -lean_ctor_set(x_280, 1, x_279); -x_281 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_198); -x_282 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_282, 0, x_198); -lean_ctor_set(x_282, 1, x_281); -x_283 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_198); -x_284 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_284, 0, x_198); -lean_ctor_set(x_284, 1, x_283); -x_285 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_198); -x_286 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_286, 0, x_198); -lean_ctor_set(x_286, 1, x_285); -x_287 = lean_array_push(x_234, x_284); -x_288 = lean_array_push(x_287, x_30); -x_289 = lean_array_push(x_288, x_286); -x_290 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; +x_262 = lean_array_push(x_178, x_261); +x_263 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_262); +x_265 = lean_array_push(x_182, x_234); +x_266 = lean_array_push(x_265, x_264); +x_267 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_266); +x_269 = lean_array_push(x_195, x_232); +x_270 = lean_array_push(x_269, x_268); +x_271 = lean_array_push(x_270, x_210); +x_272 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; +x_273 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_273, 0, x_272); +lean_ctor_set(x_273, 1, x_271); +x_274 = lean_array_push(x_253, x_204); +x_275 = lean_array_push(x_274, x_213); +x_276 = lean_array_push(x_275, x_230); +x_277 = lean_array_push(x_276, x_273); +x_278 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_279, 0, x_278); +lean_ctor_set(x_279, 1, x_277); +if (lean_obj_tag(x_4) == 0) +{ +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; +x_280 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_281 = lean_array_push(x_280, x_202); +x_282 = lean_array_push(x_281, x_210); +x_283 = lean_array_push(x_282, x_210); +x_284 = lean_array_push(x_283, x_210); +x_285 = lean_array_push(x_284, x_210); +x_286 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_285); +x_288 = lean_array_push(x_182, x_287); +x_289 = lean_array_push(x_288, x_279); +x_290 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; x_291 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_291, 0, x_290); lean_ctor_set(x_291, 1, x_289); -lean_inc(x_5); -x_292 = lean_array_push(x_5, x_291); -x_293 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_293, 0, x_219); -lean_ctor_set(x_293, 1, x_292); -x_294 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; -lean_inc(x_198); -x_295 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_295, 0, x_198); -lean_ctor_set(x_295, 1, x_294); -x_296 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_297 = lean_array_push(x_296, x_282); -lean_inc(x_297); -x_298 = lean_array_push(x_297, x_293); -lean_inc(x_295); -x_299 = lean_array_push(x_298, x_295); -x_300 = lean_array_push(x_299, x_9); -x_301 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -x_302 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_302, 0, x_301); -lean_ctor_set(x_302, 1, x_300); -x_303 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_198); -x_304 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_304, 0, x_198); -lean_ctor_set(x_304, 1, x_303); -lean_inc(x_5); -x_305 = lean_array_push(x_5, x_304); -x_306 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_307 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_307, 0, x_306); -lean_ctor_set(x_307, 1, x_305); -lean_inc(x_5); -x_308 = lean_array_push(x_5, x_307); +x_292 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_171); +return x_292; +} +else +{ +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; +x_293 = lean_ctor_get(x_4, 0); +lean_inc(x_293); +lean_dec(x_4); +x_294 = lean_array_push(x_178, x_293); +x_295 = l_Array_append___rarg(x_235, x_294); +lean_dec(x_294); +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_180); +lean_ctor_set(x_296, 1, x_295); +x_297 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_298 = lean_array_push(x_297, x_296); +x_299 = lean_array_push(x_298, x_202); +x_300 = lean_array_push(x_299, x_210); +x_301 = lean_array_push(x_300, x_210); +x_302 = lean_array_push(x_301, x_210); +x_303 = lean_array_push(x_302, x_210); +x_304 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +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 = lean_array_push(x_182, x_305); +x_307 = lean_array_push(x_306, x_279); +x_308 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; x_309 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_309, 0, x_219); -lean_ctor_set(x_309, 1, x_308); -x_310 = l_Lean_Elab_Command_expandElab___lambda__2___closed__27; -x_311 = l_Lean_addMacroScope(x_204, x_310, x_201); -x_312 = l_Lean_Elab_Command_expandElab___lambda__2___closed__26; -x_313 = l_Lean_Elab_Command_expandElab___lambda__2___closed__30; -x_314 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_314, 0, x_198); -lean_ctor_set(x_314, 1, x_312); -lean_ctor_set(x_314, 2, x_311); -lean_ctor_set(x_314, 3, x_313); -x_315 = lean_array_push(x_297, x_309); -x_316 = lean_array_push(x_315, x_295); -x_317 = lean_array_push(x_316, x_314); -x_318 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_318, 0, x_301); -lean_ctor_set(x_318, 1, x_317); -x_319 = lean_array_push(x_221, x_302); -x_320 = lean_array_push(x_319, x_318); -x_321 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_321, 0, x_219); -lean_ctor_set(x_321, 1, x_320); -x_322 = lean_array_push(x_5, x_321); -x_323 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_324, 0, x_323); -lean_ctor_set(x_324, 1, x_322); -x_325 = lean_array_push(x_221, x_280); -x_326 = lean_array_push(x_325, x_324); -x_327 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -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_array_push(x_234, x_278); -x_330 = lean_array_push(x_329, x_328); -x_331 = lean_array_push(x_330, x_208); -x_332 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; +lean_ctor_set(x_309, 0, x_308); +lean_ctor_set(x_309, 1, x_307); +x_310 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_310, 0, x_309); +lean_ctor_set(x_310, 1, x_171); +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_object* x_320; uint8_t x_321; +lean_dec(x_5); +x_311 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(x_2, x_6, x_7, x_8); +x_312 = lean_ctor_get(x_311, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_311, 1); +lean_inc(x_313); +lean_dec(x_311); +x_314 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, 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); +lean_dec(x_314); +x_317 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_316); +lean_dec(x_6); +x_318 = lean_ctor_get(x_317, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_317, 1); +lean_inc(x_319); +lean_dec(x_317); +x_320 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_319); +x_321 = !lean_is_exclusive(x_320); +if (x_321 == 0) +{ +lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; +x_322 = lean_ctor_get(x_320, 0); +x_323 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_315); +x_324 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_324, 0, x_315); +lean_ctor_set(x_324, 1, x_323); +x_325 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31; +lean_inc(x_318); +lean_inc(x_322); +x_326 = l_Lean_addMacroScope(x_322, x_325, x_318); +x_327 = lean_box(0); +x_328 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30; +lean_inc(x_315); +x_329 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_329, 0, x_315); +lean_ctor_set(x_329, 1, x_328); +lean_ctor_set(x_329, 2, x_326); +lean_ctor_set(x_329, 3, x_327); +x_330 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_331 = lean_array_push(x_330, x_312); +x_332 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; 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_array_push(x_296, x_251); -x_335 = lean_array_push(x_334, x_259); -x_336 = lean_array_push(x_335, x_276); -x_337 = lean_array_push(x_336, x_333); -x_338 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_337); -x_340 = lean_array_push(x_221, x_249); -x_341 = lean_array_push(x_340, x_339); -x_342 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_343, 0, x_342); -lean_ctor_set(x_343, 1, x_341); -x_344 = l_Lean_Elab_Command_expandElab___lambda__1(x_31, x_343, x_17, x_18, x_205); -lean_dec(x_17); -return x_344; -} -} -else -{ -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; -lean_dec(x_7); -x_345 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_17, x_18, x_32); -x_346 = lean_ctor_get(x_345, 0); -lean_inc(x_346); -x_347 = lean_ctor_get(x_345, 1); -lean_inc(x_347); -lean_dec(x_345); -x_348 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_347); -x_349 = lean_ctor_get(x_348, 0); -lean_inc(x_349); -x_350 = lean_ctor_get(x_348, 1); -lean_inc(x_350); -lean_dec(x_348); -x_351 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_350); -x_352 = lean_ctor_get(x_351, 0); -lean_inc(x_352); -x_353 = lean_ctor_get(x_351, 1); -lean_inc(x_353); -lean_dec(x_351); -x_354 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_346); -x_355 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_355, 0, x_346); -lean_ctor_set(x_355, 1, x_354); -x_356 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -lean_inc(x_5); -x_357 = lean_array_push(x_5, x_356); -x_358 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -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_Elab_Command_expandElab___lambda__2___closed__45; -lean_inc(x_349); -lean_inc(x_352); -x_361 = l_Lean_addMacroScope(x_352, x_360, x_349); -x_362 = lean_box(0); -x_363 = l_Lean_Elab_Command_expandElab___lambda__2___closed__44; -lean_inc(x_346); -x_364 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_364, 0, x_346); -lean_ctor_set(x_364, 1, x_363); -lean_ctor_set(x_364, 2, x_361); -lean_ctor_set(x_364, 3, x_362); -x_365 = l_Lean_mkIdentFrom(x_8, x_16); -lean_inc(x_5); -x_366 = lean_array_push(x_5, x_365); -x_367 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; -x_368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_368, 0, x_367); -lean_ctor_set(x_368, 1, x_366); -x_369 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_370 = lean_array_push(x_369, x_364); -x_371 = lean_array_push(x_370, x_368); -x_372 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -x_373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_373, 0, x_372); -lean_ctor_set(x_373, 1, x_371); -x_374 = lean_array_push(x_369, x_359); -x_375 = lean_array_push(x_374, x_373); -x_376 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_377 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_377, 0, x_376); -lean_ctor_set(x_377, 1, x_375); -lean_inc(x_5); -x_378 = lean_array_push(x_5, x_377); -x_379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_379, 0, x_367); -lean_ctor_set(x_379, 1, x_378); -x_380 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_346); -x_381 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_381, 0, x_346); -lean_ctor_set(x_381, 1, x_380); -x_382 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_383 = lean_array_push(x_382, x_355); -x_384 = lean_array_push(x_383, x_379); -x_385 = lean_array_push(x_384, x_381); -x_386 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; -x_387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_387, 0, x_386); -lean_ctor_set(x_387, 1, x_385); -lean_inc(x_5); -x_388 = lean_array_push(x_5, x_387); -x_389 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_389, 0, x_367); -lean_ctor_set(x_389, 1, x_388); -x_390 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_391 = lean_array_push(x_390, x_389); -x_392 = lean_array_push(x_391, x_356); -x_393 = lean_array_push(x_392, x_356); -x_394 = lean_array_push(x_393, x_356); -x_395 = lean_array_push(x_394, x_356); -x_396 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_334 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_335 = lean_array_push(x_334, x_329); +x_336 = lean_array_push(x_335, x_333); +x_337 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_337); +lean_ctor_set(x_338, 1, x_336); +x_339 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; +x_340 = lean_array_push(x_339, x_338); +x_341 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; +x_342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_342, 0, x_341); +lean_ctor_set(x_342, 1, x_340); +x_343 = lean_array_push(x_330, x_342); +x_344 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_344, 0, x_332); +lean_ctor_set(x_344, 1, x_343); +x_345 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_315); +x_346 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_346, 0, x_315); +lean_ctor_set(x_346, 1, x_345); +x_347 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_348 = lean_array_push(x_347, x_324); +x_349 = lean_array_push(x_348, x_344); +x_350 = lean_array_push(x_349, x_346); +x_351 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; +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_330, x_352); +x_354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_354, 0, x_332); +lean_ctor_set(x_354, 1, x_353); +x_355 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_315); +x_356 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_356, 0, x_315); +lean_ctor_set(x_356, 1, x_355); +x_357 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +lean_inc(x_318); +lean_inc(x_322); +x_358 = l_Lean_addMacroScope(x_322, x_357, x_318); +x_359 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; +lean_inc(x_315); +x_360 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_360, 0, x_315); +lean_ctor_set(x_360, 1, x_359); +lean_ctor_set(x_360, 2, x_358); +lean_ctor_set(x_360, 3, x_327); +x_361 = lean_array_push(x_334, x_360); +x_362 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_363 = lean_array_push(x_361, x_362); +x_364 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +x_365 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_363); +x_366 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_315); +x_367 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_367, 0, x_315); +lean_ctor_set(x_367, 1, x_366); +x_368 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +lean_inc(x_318); +lean_inc(x_322); +x_369 = l_Lean_addMacroScope(x_322, x_368, x_318); +x_370 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +x_371 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_315); +x_372 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_372, 0, x_315); +lean_ctor_set(x_372, 1, x_370); +lean_ctor_set(x_372, 2, x_369); +lean_ctor_set(x_372, 3, x_371); +x_373 = lean_array_push(x_334, x_367); +x_374 = lean_array_push(x_373, x_372); +x_375 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +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 = lean_array_push(x_330, x_376); +x_378 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_378, 0, x_332); +lean_ctor_set(x_378, 1, x_377); +x_379 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +x_380 = lean_array_push(x_379, x_378); +x_381 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; +x_382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_380); +x_383 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_315); +x_384 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_384, 0, x_315); +lean_ctor_set(x_384, 1, x_383); +x_385 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +lean_inc(x_315); +x_386 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_386, 0, x_315); +lean_ctor_set(x_386, 1, x_385); +x_387 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_388 = l_Array_append___rarg(x_387, x_3); +x_389 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_315); +x_390 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_390, 0, x_315); +lean_ctor_set(x_390, 1, x_389); +x_391 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; +lean_inc(x_315); +x_392 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_392, 0, x_315); +lean_ctor_set(x_392, 1, x_391); +x_393 = lean_array_push(x_330, x_392); +x_394 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_395 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_395, 0, x_394); +lean_ctor_set(x_395, 1, x_393); +x_396 = lean_array_push(x_330, x_395); x_397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_397, 0, x_396); -lean_ctor_set(x_397, 1, x_395); -x_398 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_346); +lean_ctor_set(x_397, 0, x_332); +lean_ctor_set(x_397, 1, x_396); +x_398 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +lean_inc(x_315); x_399 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_399, 0, x_346); +lean_ctor_set(x_399, 0, x_315); lean_ctor_set(x_399, 1, x_398); -x_400 = l_Lean_Elab_Command_expandElab___lambda__2___closed__12; -lean_inc(x_349); -lean_inc(x_352); -x_401 = l_Lean_addMacroScope(x_352, x_400, x_349); -x_402 = l_Lean_Elab_Command_expandElab___lambda__2___closed__11; -lean_inc(x_346); -x_403 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_403, 0, x_346); -lean_ctor_set(x_403, 1, x_402); -lean_ctor_set(x_403, 2, x_401); -lean_ctor_set(x_403, 3, x_362); -x_404 = lean_array_push(x_369, x_403); -x_405 = lean_array_push(x_404, x_356); -x_406 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_407 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_407, 0, x_406); -lean_ctor_set(x_407, 1, x_405); -x_408 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_346); -x_409 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_409, 0, x_346); -lean_ctor_set(x_409, 1, x_408); -x_410 = l_Lean_Elab_Command_expandElab___lambda__2___closed__51; -lean_inc(x_349); -lean_inc(x_352); -x_411 = l_Lean_addMacroScope(x_352, x_410, x_349); -x_412 = l_Lean_Elab_Command_expandElab___lambda__2___closed__48; -x_413 = l_Lean_Elab_Command_expandElab___lambda__2___closed__53; -lean_inc(x_346); -x_414 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_414, 0, x_346); -lean_ctor_set(x_414, 1, x_412); -lean_ctor_set(x_414, 2, x_411); -lean_ctor_set(x_414, 3, x_413); -x_415 = lean_array_push(x_369, x_409); -x_416 = lean_array_push(x_415, x_414); -x_417 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_418 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_418, 0, x_417); -lean_ctor_set(x_418, 1, x_416); -lean_inc(x_5); -x_419 = lean_array_push(x_5, x_418); +x_400 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +x_401 = l_Lean_addMacroScope(x_322, x_400, x_318); +x_402 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_403 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +x_404 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_404, 0, x_315); +lean_ctor_set(x_404, 1, x_402); +lean_ctor_set(x_404, 2, x_401); +lean_ctor_set(x_404, 3, x_403); +x_405 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_406 = lean_array_push(x_405, x_390); +x_407 = lean_array_push(x_406, x_397); +x_408 = lean_array_push(x_407, x_399); +x_409 = lean_array_push(x_408, x_404); +x_410 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; +x_411 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_411, 0, x_410); +lean_ctor_set(x_411, 1, x_409); +x_412 = lean_array_push(x_388, x_411); +x_413 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_413, 0, x_332); +lean_ctor_set(x_413, 1, x_412); +x_414 = lean_array_push(x_330, x_413); +x_415 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_416 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_416, 0, x_415); +lean_ctor_set(x_416, 1, x_414); +x_417 = lean_array_push(x_334, x_386); +x_418 = lean_array_push(x_417, x_416); +x_419 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; x_420 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_420, 0, x_367); -lean_ctor_set(x_420, 1, x_419); -x_421 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +lean_ctor_set(x_420, 0, x_419); +lean_ctor_set(x_420, 1, x_418); +x_421 = lean_array_push(x_347, x_384); x_422 = lean_array_push(x_421, x_420); -x_423 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_424 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_424, 0, x_423); -lean_ctor_set(x_424, 1, x_422); -x_425 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_346); -x_426 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_426, 0, x_346); -lean_ctor_set(x_426, 1, x_425); -x_427 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_346); -x_428 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_428, 0, x_346); -lean_ctor_set(x_428, 1, x_427); -x_429 = l_Lean_Elab_Command_expandElab___lambda__2___closed__57; -lean_inc(x_349); -lean_inc(x_352); -x_430 = l_Lean_addMacroScope(x_352, x_429, x_349); -x_431 = l_Lean_Elab_Command_expandElab___lambda__2___closed__56; -lean_inc(x_346); -x_432 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_432, 0, x_346); -lean_ctor_set(x_432, 1, x_431); -lean_ctor_set(x_432, 2, x_430); -lean_ctor_set(x_432, 3, x_362); -x_433 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_346); -x_434 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_434, 0, x_346); -lean_ctor_set(x_434, 1, x_433); -lean_inc(x_5); -x_435 = lean_array_push(x_5, x_434); -x_436 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_437 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_437, 0, x_436); -lean_ctor_set(x_437, 1, x_435); -lean_inc(x_432); -x_438 = lean_array_push(x_369, x_432); -lean_inc(x_437); -x_439 = lean_array_push(x_438, x_437); -x_440 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_440, 0, x_367); -lean_ctor_set(x_440, 1, x_439); -x_441 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; -lean_inc(x_346); -x_442 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_442, 0, x_346); -lean_ctor_set(x_442, 1, x_441); -x_443 = l_Lean_Elab_Command_expandElab___lambda__2___closed__58; -lean_inc(x_346); -x_444 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_444, 0, x_346); -lean_ctor_set(x_444, 1, x_443); -x_445 = lean_array_push(x_421, x_432); -x_446 = l_Lean_Elab_Command_expandElab___lambda__2___closed__61; +x_423 = lean_array_push(x_422, x_362); +x_424 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; +x_425 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_425, 0, x_424); +lean_ctor_set(x_425, 1, x_423); +x_426 = lean_array_push(x_405, x_356); +x_427 = lean_array_push(x_426, x_365); +x_428 = lean_array_push(x_427, x_382); +x_429 = lean_array_push(x_428, x_425); +x_430 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_431 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_431, 0, x_430); +lean_ctor_set(x_431, 1, x_429); +if (lean_obj_tag(x_4) == 0) +{ +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; +x_432 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_433 = lean_array_push(x_432, x_354); +x_434 = lean_array_push(x_433, x_362); +x_435 = lean_array_push(x_434, x_362); +x_436 = lean_array_push(x_435, x_362); +x_437 = lean_array_push(x_436, x_362); +x_438 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +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 = lean_array_push(x_334, x_439); +x_441 = lean_array_push(x_440, x_431); +x_442 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_443, 0, x_442); +lean_ctor_set(x_443, 1, x_441); +lean_ctor_set(x_320, 0, x_443); +return x_320; +} +else +{ +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; +x_444 = lean_ctor_get(x_4, 0); +lean_inc(x_444); +lean_dec(x_4); +x_445 = lean_array_push(x_330, x_444); +x_446 = l_Array_append___rarg(x_387, x_445); +lean_dec(x_445); x_447 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_447, 0, x_446); -lean_ctor_set(x_447, 1, x_445); -lean_inc(x_5); -x_448 = lean_array_push(x_5, x_447); -x_449 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_449, 0, x_367); -lean_ctor_set(x_449, 1, x_448); -x_450 = l_Lean_Elab_Command_expandElab___lambda__2___closed__62; -lean_inc(x_346); -x_451 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_451, 0, x_346); -lean_ctor_set(x_451, 1, x_450); -x_452 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_346); -x_453 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_453, 0, x_346); -lean_ctor_set(x_453, 1, x_452); -x_454 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_346); -x_455 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_455, 0, x_346); -lean_ctor_set(x_455, 1, x_454); -x_456 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_346); -x_457 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_457, 0, x_346); -lean_ctor_set(x_457, 1, x_456); -x_458 = lean_array_push(x_382, x_455); -x_459 = lean_array_push(x_458, x_30); -x_460 = lean_array_push(x_459, x_457); -x_461 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_462 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_462, 0, x_461); -lean_ctor_set(x_462, 1, x_460); -lean_inc(x_5); -x_463 = lean_array_push(x_5, x_462); -x_464 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_464, 0, x_367); +lean_ctor_set(x_447, 0, x_332); +lean_ctor_set(x_447, 1, x_446); +x_448 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_449 = lean_array_push(x_448, x_447); +x_450 = lean_array_push(x_449, x_354); +x_451 = lean_array_push(x_450, x_362); +x_452 = lean_array_push(x_451, x_362); +x_453 = lean_array_push(x_452, x_362); +x_454 = lean_array_push(x_453, x_362); +x_455 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +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_334, x_456); +x_458 = lean_array_push(x_457, x_431); +x_459 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_460 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_460, 0, x_459); +lean_ctor_set(x_460, 1, x_458); +lean_ctor_set(x_320, 0, x_460); +return x_320; +} +} +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; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; 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; +x_461 = lean_ctor_get(x_320, 0); +x_462 = lean_ctor_get(x_320, 1); +lean_inc(x_462); +lean_inc(x_461); +lean_dec(x_320); +x_463 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_315); +x_464 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_464, 0, x_315); lean_ctor_set(x_464, 1, x_463); -x_465 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_466 = lean_array_push(x_465, x_453); -lean_inc(x_466); -x_467 = lean_array_push(x_466, x_464); -lean_inc(x_442); -x_468 = lean_array_push(x_467, x_442); -x_469 = lean_array_push(x_468, x_9); -x_470 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -x_471 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_471, 0, x_470); -lean_ctor_set(x_471, 1, x_469); -lean_inc(x_5); -x_472 = lean_array_push(x_5, x_437); +x_465 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31; +lean_inc(x_318); +lean_inc(x_461); +x_466 = l_Lean_addMacroScope(x_461, x_465, x_318); +x_467 = lean_box(0); +x_468 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30; +lean_inc(x_315); +x_469 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_469, 0, x_315); +lean_ctor_set(x_469, 1, x_468); +lean_ctor_set(x_469, 2, x_466); +lean_ctor_set(x_469, 3, x_467); +x_470 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_471 = lean_array_push(x_470, x_312); +x_472 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; x_473 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_473, 0, x_367); -lean_ctor_set(x_473, 1, x_472); -x_474 = l_Lean_Elab_Command_expandElab___lambda__2___closed__27; -x_475 = l_Lean_addMacroScope(x_352, x_474, x_349); -x_476 = l_Lean_Elab_Command_expandElab___lambda__2___closed__26; -x_477 = l_Lean_Elab_Command_expandElab___lambda__2___closed__30; -x_478 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_478, 0, x_346); +lean_ctor_set(x_473, 0, x_472); +lean_ctor_set(x_473, 1, x_471); +x_474 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_475 = lean_array_push(x_474, x_469); +x_476 = lean_array_push(x_475, x_473); +x_477 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; +x_478 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_478, 0, x_477); lean_ctor_set(x_478, 1, x_476); -lean_ctor_set(x_478, 2, x_475); -lean_ctor_set(x_478, 3, x_477); -x_479 = lean_array_push(x_466, x_473); -lean_inc(x_442); -x_480 = lean_array_push(x_479, x_442); -x_481 = lean_array_push(x_480, x_478); +x_479 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; +x_480 = lean_array_push(x_479, x_478); +x_481 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; x_482 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_482, 0, x_470); -lean_ctor_set(x_482, 1, x_481); -x_483 = lean_array_push(x_369, x_471); -x_484 = lean_array_push(x_483, x_482); -x_485 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_485, 0, x_367); -lean_ctor_set(x_485, 1, x_484); -x_486 = lean_array_push(x_5, x_485); -x_487 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_488 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_488, 0, x_487); -lean_ctor_set(x_488, 1, x_486); -x_489 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_490 = lean_array_push(x_489, x_444); -x_491 = lean_array_push(x_490, x_356); -x_492 = lean_array_push(x_491, x_449); -x_493 = lean_array_push(x_492, x_356); -x_494 = lean_array_push(x_493, x_451); -x_495 = lean_array_push(x_494, x_488); -x_496 = l_Lean_Elab_Command_expandElab___lambda__2___closed__59; -x_497 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_497, 0, x_496); -lean_ctor_set(x_497, 1, x_495); -x_498 = lean_array_push(x_382, x_440); -x_499 = lean_array_push(x_498, x_442); -x_500 = lean_array_push(x_499, x_497); -x_501 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; -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 = lean_array_push(x_369, x_428); -x_504 = lean_array_push(x_503, x_502); -x_505 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_506 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_506, 0, x_505); -lean_ctor_set(x_506, 1, x_504); -x_507 = lean_array_push(x_382, x_426); -x_508 = lean_array_push(x_507, x_506); -x_509 = lean_array_push(x_508, x_356); -x_510 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_511 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_511, 0, x_510); -lean_ctor_set(x_511, 1, x_509); -x_512 = lean_array_push(x_465, x_399); -x_513 = lean_array_push(x_512, x_407); -x_514 = lean_array_push(x_513, x_424); -x_515 = lean_array_push(x_514, x_511); -x_516 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; -x_517 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_517, 0, x_516); -lean_ctor_set(x_517, 1, x_515); -x_518 = lean_array_push(x_369, x_397); -x_519 = lean_array_push(x_518, x_517); -x_520 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -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 = l_Lean_Elab_Command_expandElab___lambda__1(x_31, x_521, x_17, x_18, x_353); -lean_dec(x_17); -return x_522; -} -} -else -{ -lean_object* x_523; uint8_t x_524; -x_523 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; -x_524 = lean_name_eq(x_7, x_523); -if (x_524 == 0) -{ -lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; uint8_t x_531; -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_16); -lean_dec(x_9); -lean_dec(x_5); -x_525 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_525, 0, x_7); -x_526 = l_Lean_Elab_Command_expandElab___lambda__2___closed__64; -x_527 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_527, 0, x_526); -lean_ctor_set(x_527, 1, x_525); -x_528 = l_Lean_Elab_Command_expandElab___lambda__2___closed__66; -x_529 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_529, 0, x_527); -lean_ctor_set(x_529, 1, x_528); -x_530 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_6, x_529, x_17, x_18, x_32); -x_531 = !lean_is_exclusive(x_530); -if (x_531 == 0) -{ -return x_530; -} -else -{ -lean_object* x_532; lean_object* x_533; lean_object* x_534; -x_532 = lean_ctor_get(x_530, 0); -x_533 = lean_ctor_get(x_530, 1); -lean_inc(x_533); -lean_inc(x_532); -lean_dec(x_530); -x_534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_534, 0, x_532); -lean_ctor_set(x_534, 1, x_533); -return x_534; -} -} -else -{ -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; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; 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_dec(x_7); -x_535 = lean_unsigned_to_nat(1u); -x_536 = l_Lean_Syntax_getArg(x_6, x_535); -x_537 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_17, x_18, x_32); -x_538 = lean_ctor_get(x_537, 0); -lean_inc(x_538); -x_539 = lean_ctor_get(x_537, 1); -lean_inc(x_539); -lean_dec(x_537); -x_540 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_539); -x_541 = lean_ctor_get(x_540, 0); -lean_inc(x_541); -x_542 = lean_ctor_get(x_540, 1); -lean_inc(x_542); -lean_dec(x_540); -x_543 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_542); -x_544 = lean_ctor_get(x_543, 0); -lean_inc(x_544); -x_545 = lean_ctor_get(x_543, 1); -lean_inc(x_545); -lean_dec(x_543); -x_546 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; -lean_inc(x_538); -x_547 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_547, 0, x_538); -lean_ctor_set(x_547, 1, x_546); -x_548 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -lean_inc(x_5); -x_549 = lean_array_push(x_5, x_548); -x_550 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; +lean_ctor_set(x_482, 0, x_481); +lean_ctor_set(x_482, 1, x_480); +x_483 = lean_array_push(x_470, x_482); +x_484 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_484, 0, x_472); +lean_ctor_set(x_484, 1, x_483); +x_485 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_315); +x_486 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_486, 0, x_315); +lean_ctor_set(x_486, 1, x_485); +x_487 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_488 = lean_array_push(x_487, x_464); +x_489 = lean_array_push(x_488, x_484); +x_490 = lean_array_push(x_489, x_486); +x_491 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; +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 = lean_array_push(x_470, x_492); +x_494 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_494, 0, x_472); +lean_ctor_set(x_494, 1, x_493); +x_495 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_315); +x_496 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_496, 0, x_315); +lean_ctor_set(x_496, 1, x_495); +x_497 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +lean_inc(x_318); +lean_inc(x_461); +x_498 = l_Lean_addMacroScope(x_461, x_497, x_318); +x_499 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; +lean_inc(x_315); +x_500 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_500, 0, x_315); +lean_ctor_set(x_500, 1, x_499); +lean_ctor_set(x_500, 2, x_498); +lean_ctor_set(x_500, 3, x_467); +x_501 = lean_array_push(x_474, x_500); +x_502 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_503 = lean_array_push(x_501, x_502); +x_504 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +x_505 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_505, 0, x_504); +lean_ctor_set(x_505, 1, x_503); +x_506 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_315); +x_507 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_507, 0, x_315); +lean_ctor_set(x_507, 1, x_506); +x_508 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +lean_inc(x_318); +lean_inc(x_461); +x_509 = l_Lean_addMacroScope(x_461, x_508, x_318); +x_510 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +x_511 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_315); +x_512 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_512, 0, x_315); +lean_ctor_set(x_512, 1, x_510); +lean_ctor_set(x_512, 2, x_509); +lean_ctor_set(x_512, 3, x_511); +x_513 = lean_array_push(x_474, x_507); +x_514 = lean_array_push(x_513, x_512); +x_515 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +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_470, x_516); +x_518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_518, 0, x_472); +lean_ctor_set(x_518, 1, x_517); +x_519 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +x_520 = lean_array_push(x_519, x_518); +x_521 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; +x_522 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_522, 0, x_521); +lean_ctor_set(x_522, 1, x_520); +x_523 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_315); +x_524 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_524, 0, x_315); +lean_ctor_set(x_524, 1, x_523); +x_525 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +lean_inc(x_315); +x_526 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_526, 0, x_315); +lean_ctor_set(x_526, 1, x_525); +x_527 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_528 = l_Array_append___rarg(x_527, x_3); +x_529 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_315); +x_530 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_530, 0, x_315); +lean_ctor_set(x_530, 1, x_529); +x_531 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; +lean_inc(x_315); +x_532 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_532, 0, x_315); +lean_ctor_set(x_532, 1, x_531); +x_533 = lean_array_push(x_470, x_532); +x_534 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_535 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_535, 0, x_534); +lean_ctor_set(x_535, 1, x_533); +x_536 = lean_array_push(x_470, x_535); +x_537 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_537, 0, x_472); +lean_ctor_set(x_537, 1, x_536); +x_538 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +lean_inc(x_315); +x_539 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_539, 0, x_315); +lean_ctor_set(x_539, 1, x_538); +x_540 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +x_541 = l_Lean_addMacroScope(x_461, x_540, x_318); +x_542 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_543 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +x_544 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_544, 0, x_315); +lean_ctor_set(x_544, 1, x_542); +lean_ctor_set(x_544, 2, x_541); +lean_ctor_set(x_544, 3, x_543); +x_545 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_546 = lean_array_push(x_545, x_530); +x_547 = lean_array_push(x_546, x_537); +x_548 = lean_array_push(x_547, x_539); +x_549 = lean_array_push(x_548, x_544); +x_550 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; x_551 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_551, 0, x_550); lean_ctor_set(x_551, 1, x_549); -x_552 = l_Lean_Elab_Command_expandElab___lambda__2___closed__45; -lean_inc(x_541); -lean_inc(x_544); -x_553 = l_Lean_addMacroScope(x_544, x_552, x_541); -x_554 = lean_box(0); -x_555 = l_Lean_Elab_Command_expandElab___lambda__2___closed__44; -lean_inc(x_538); -x_556 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_556, 0, x_538); -lean_ctor_set(x_556, 1, x_555); -lean_ctor_set(x_556, 2, x_553); -lean_ctor_set(x_556, 3, x_554); -x_557 = l_Lean_mkIdentFrom(x_8, x_16); -lean_inc(x_5); -x_558 = lean_array_push(x_5, x_557); -x_559 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_552 = lean_array_push(x_528, x_551); +x_553 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_553, 0, x_472); +lean_ctor_set(x_553, 1, x_552); +x_554 = lean_array_push(x_470, x_553); +x_555 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_556, 0, x_555); +lean_ctor_set(x_556, 1, x_554); +x_557 = lean_array_push(x_474, x_526); +x_558 = lean_array_push(x_557, x_556); +x_559 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; 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 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_562 = lean_array_push(x_561, x_556); -x_563 = lean_array_push(x_562, x_560); -x_564 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; +x_561 = lean_array_push(x_487, x_524); +x_562 = lean_array_push(x_561, x_560); +x_563 = lean_array_push(x_562, x_502); +x_564 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; x_565 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_565, 0, x_564); lean_ctor_set(x_565, 1, x_563); -x_566 = lean_array_push(x_561, x_551); -x_567 = lean_array_push(x_566, x_565); -x_568 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_569 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_569, 0, x_568); -lean_ctor_set(x_569, 1, x_567); -lean_inc(x_5); -x_570 = lean_array_push(x_5, x_569); +x_566 = lean_array_push(x_545, x_496); +x_567 = lean_array_push(x_566, x_505); +x_568 = lean_array_push(x_567, x_522); +x_569 = lean_array_push(x_568, x_565); +x_570 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; x_571 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_571, 0, x_559); -lean_ctor_set(x_571, 1, x_570); -x_572 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -lean_inc(x_538); -x_573 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_573, 0, x_538); -lean_ctor_set(x_573, 1, x_572); -x_574 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; -x_575 = lean_array_push(x_574, x_547); -x_576 = lean_array_push(x_575, x_571); -x_577 = lean_array_push(x_576, x_573); -x_578 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; +lean_ctor_set(x_571, 0, x_570); +lean_ctor_set(x_571, 1, x_569); +if (lean_obj_tag(x_4) == 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; 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; +x_572 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_573 = lean_array_push(x_572, x_494); +x_574 = lean_array_push(x_573, x_502); +x_575 = lean_array_push(x_574, x_502); +x_576 = lean_array_push(x_575, x_502); +x_577 = lean_array_push(x_576, x_502); +x_578 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; x_579 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_579, 0, x_578); lean_ctor_set(x_579, 1, x_577); -lean_inc(x_5); -x_580 = lean_array_push(x_5, x_579); -x_581 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_581, 0, x_559); -lean_ctor_set(x_581, 1, x_580); -x_582 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; -x_583 = lean_array_push(x_582, x_581); -x_584 = lean_array_push(x_583, x_548); -x_585 = lean_array_push(x_584, x_548); -x_586 = lean_array_push(x_585, x_548); -x_587 = lean_array_push(x_586, x_548); -x_588 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; -x_589 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_589, 0, x_588); -lean_ctor_set(x_589, 1, x_587); -x_590 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_538); -x_591 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_591, 0, x_538); -lean_ctor_set(x_591, 1, x_590); -x_592 = l_Lean_Elab_Command_expandElab___lambda__2___closed__12; -lean_inc(x_541); -lean_inc(x_544); -x_593 = l_Lean_addMacroScope(x_544, x_592, x_541); -x_594 = l_Lean_Elab_Command_expandElab___lambda__2___closed__11; -lean_inc(x_538); -x_595 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_595, 0, x_538); -lean_ctor_set(x_595, 1, x_594); -lean_ctor_set(x_595, 2, x_593); -lean_ctor_set(x_595, 3, x_554); -x_596 = lean_array_push(x_561, x_595); -x_597 = lean_array_push(x_596, x_548); -x_598 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_599 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_599, 0, x_598); -lean_ctor_set(x_599, 1, x_597); -x_600 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; -lean_inc(x_538); -x_601 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_601, 0, x_538); -lean_ctor_set(x_601, 1, x_600); -x_602 = l_Lean_Elab_Command_expandElab___lambda__2___closed__51; -lean_inc(x_541); -lean_inc(x_544); -x_603 = l_Lean_addMacroScope(x_544, x_602, x_541); -x_604 = l_Lean_Elab_Command_expandElab___lambda__2___closed__48; -x_605 = l_Lean_Elab_Command_expandElab___lambda__2___closed__53; -lean_inc(x_538); -x_606 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_606, 0, x_538); -lean_ctor_set(x_606, 1, x_604); -lean_ctor_set(x_606, 2, x_603); -lean_ctor_set(x_606, 3, x_605); -x_607 = lean_array_push(x_561, x_601); -x_608 = lean_array_push(x_607, x_606); -x_609 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -x_610 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_610, 0, x_609); -lean_ctor_set(x_610, 1, x_608); -lean_inc(x_5); -x_611 = lean_array_push(x_5, x_610); -x_612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_612, 0, x_559); -lean_ctor_set(x_612, 1, x_611); -x_613 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -x_614 = lean_array_push(x_613, x_612); -x_615 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; -x_616 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_616, 0, x_615); -lean_ctor_set(x_616, 1, x_614); -x_617 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; -lean_inc(x_538); -x_618 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_618, 0, x_538); -lean_ctor_set(x_618, 1, x_617); -x_619 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -lean_inc(x_538); -x_620 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_620, 0, x_538); -lean_ctor_set(x_620, 1, x_619); -x_621 = l_Lean_Elab_Command_expandElab___lambda__2___closed__57; -lean_inc(x_541); -lean_inc(x_544); -x_622 = l_Lean_addMacroScope(x_544, x_621, x_541); -x_623 = l_Lean_Elab_Command_expandElab___lambda__2___closed__56; -lean_inc(x_538); -x_624 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_624, 0, x_538); -lean_ctor_set(x_624, 1, x_623); -lean_ctor_set(x_624, 2, x_622); -lean_ctor_set(x_624, 3, x_554); -x_625 = l_Lean_Elab_Command_expandElab___lambda__2___closed__70; -lean_inc(x_541); -lean_inc(x_544); -x_626 = l_Lean_addMacroScope(x_544, x_625, x_541); -x_627 = l_Lean_Elab_Command_expandElab___lambda__2___closed__69; -lean_inc(x_538); -x_628 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_628, 0, x_538); -lean_ctor_set(x_628, 1, x_627); -lean_ctor_set(x_628, 2, x_626); -lean_ctor_set(x_628, 3, x_554); -lean_inc(x_624); -x_629 = lean_array_push(x_561, x_624); -lean_inc(x_628); -x_630 = lean_array_push(x_629, x_628); -x_631 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_631, 0, x_559); -lean_ctor_set(x_631, 1, x_630); -x_632 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; -lean_inc(x_538); -x_633 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_633, 0, x_538); -lean_ctor_set(x_633, 1, x_632); -x_634 = l_Lean_Elab_Command_expandElab___lambda__2___closed__58; -lean_inc(x_538); -x_635 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_635, 0, x_538); -lean_ctor_set(x_635, 1, x_634); -x_636 = lean_array_push(x_613, x_624); -x_637 = l_Lean_Elab_Command_expandElab___lambda__2___closed__61; -x_638 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_638, 0, x_637); -lean_ctor_set(x_638, 1, x_636); -lean_inc(x_5); -x_639 = lean_array_push(x_5, x_638); -x_640 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_640, 0, x_559); -lean_ctor_set(x_640, 1, x_639); -x_641 = l_Lean_Elab_Command_expandElab___lambda__2___closed__62; -lean_inc(x_538); -x_642 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_642, 0, x_538); -lean_ctor_set(x_642, 1, x_641); -x_643 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; -lean_inc(x_538); -x_644 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_644, 0, x_538); -lean_ctor_set(x_644, 1, x_643); -x_645 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; -lean_inc(x_538); -x_646 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_646, 0, x_538); +x_580 = lean_array_push(x_474, x_579); +x_581 = lean_array_push(x_580, x_571); +x_582 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_583 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_583, 0, x_582); +lean_ctor_set(x_583, 1, x_581); +x_584 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_584, 0, x_583); +lean_ctor_set(x_584, 1, x_462); +return x_584; +} +else +{ +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; +x_585 = lean_ctor_get(x_4, 0); +lean_inc(x_585); +lean_dec(x_4); +x_586 = lean_array_push(x_470, x_585); +x_587 = l_Array_append___rarg(x_527, x_586); +lean_dec(x_586); +x_588 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_588, 0, x_472); +lean_ctor_set(x_588, 1, x_587); +x_589 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_590 = lean_array_push(x_589, x_588); +x_591 = lean_array_push(x_590, x_494); +x_592 = lean_array_push(x_591, x_502); +x_593 = lean_array_push(x_592, x_502); +x_594 = lean_array_push(x_593, x_502); +x_595 = lean_array_push(x_594, x_502); +x_596 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_597, 0, x_596); +lean_ctor_set(x_597, 1, x_595); +x_598 = lean_array_push(x_474, x_597); +x_599 = lean_array_push(x_598, x_571); +x_600 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_601 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_601, 0, x_600); +lean_ctor_set(x_601, 1, x_599); +x_602 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_602, 0, x_601); +lean_ctor_set(x_602, 1, x_462); +return x_602; +} +} +} +} +else +{ +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; uint8_t x_613; +lean_dec(x_5); +x_603 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(x_2, x_6, x_7, x_8); +x_604 = lean_ctor_get(x_603, 0); +lean_inc(x_604); +x_605 = lean_ctor_get(x_603, 1); +lean_inc(x_605); +lean_dec(x_603); +x_606 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_605); +x_607 = lean_ctor_get(x_606, 0); +lean_inc(x_607); +x_608 = lean_ctor_get(x_606, 1); +lean_inc(x_608); +lean_dec(x_606); +x_609 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_608); +lean_dec(x_6); +x_610 = lean_ctor_get(x_609, 0); +lean_inc(x_610); +x_611 = lean_ctor_get(x_609, 1); +lean_inc(x_611); +lean_dec(x_609); +x_612 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_611); +x_613 = !lean_is_exclusive(x_612); +if (x_613 == 0) +{ +lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_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; +x_614 = lean_ctor_get(x_612, 0); +x_615 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_607); +x_616 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_616, 0, x_607); +lean_ctor_set(x_616, 1, x_615); +x_617 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +lean_inc(x_610); +lean_inc(x_614); +x_618 = l_Lean_addMacroScope(x_614, x_617, x_610); +x_619 = lean_box(0); +x_620 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; +lean_inc(x_607); +x_621 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_621, 0, x_607); +lean_ctor_set(x_621, 1, x_620); +lean_ctor_set(x_621, 2, x_618); +lean_ctor_set(x_621, 3, x_619); +x_622 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_623 = lean_array_push(x_622, x_604); +x_624 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_625, 0, x_624); +lean_ctor_set(x_625, 1, x_623); +x_626 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_627 = lean_array_push(x_626, x_621); +x_628 = lean_array_push(x_627, x_625); +x_629 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; +x_630 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_630, 0, x_629); +lean_ctor_set(x_630, 1, x_628); +x_631 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; +x_632 = lean_array_push(x_631, x_630); +x_633 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; +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_array_push(x_622, x_634); +x_636 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_636, 0, x_624); +lean_ctor_set(x_636, 1, x_635); +x_637 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_607); +x_638 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_638, 0, x_607); +lean_ctor_set(x_638, 1, x_637); +x_639 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_640 = lean_array_push(x_639, x_616); +x_641 = lean_array_push(x_640, x_636); +x_642 = lean_array_push(x_641, x_638); +x_643 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; +x_644 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_644, 0, x_643); +lean_ctor_set(x_644, 1, x_642); +x_645 = lean_array_push(x_622, x_644); +x_646 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_646, 0, x_624); lean_ctor_set(x_646, 1, x_645); -x_647 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; -lean_inc(x_538); +x_647 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_607); x_648 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_648, 0, x_538); +lean_ctor_set(x_648, 0, x_607); lean_ctor_set(x_648, 1, x_647); -x_649 = lean_array_push(x_574, x_646); -x_650 = lean_array_push(x_649, x_30); -x_651 = lean_array_push(x_650, x_648); -x_652 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; -x_653 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_653, 0, x_652); -lean_ctor_set(x_653, 1, x_651); -lean_inc(x_5); -x_654 = lean_array_push(x_5, x_653); -x_655 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_655, 0, x_559); -lean_ctor_set(x_655, 1, x_654); -x_656 = l_Lean_Elab_Command_expandElab___lambda__2___closed__75; -lean_inc(x_541); -lean_inc(x_544); -x_657 = l_Lean_addMacroScope(x_544, x_656, x_541); -x_658 = l_Lean_Elab_Command_expandElab___lambda__2___closed__73; -x_659 = l_Lean_Elab_Command_expandElab___lambda__2___closed__77; -lean_inc(x_538); -x_660 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_660, 0, x_538); -lean_ctor_set(x_660, 1, x_658); -lean_ctor_set(x_660, 2, x_657); -lean_ctor_set(x_660, 3, x_659); -lean_inc(x_5); -x_661 = lean_array_push(x_5, x_536); -x_662 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_662, 0, x_559); -lean_ctor_set(x_662, 1, x_661); -x_663 = lean_array_push(x_574, x_662); -lean_inc(x_633); -x_664 = lean_array_push(x_663, x_633); -x_665 = lean_array_push(x_664, x_9); -x_666 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; -x_667 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_667, 0, x_666); -lean_ctor_set(x_667, 1, x_665); -x_668 = lean_array_push(x_561, x_620); -lean_inc(x_668); -x_669 = lean_array_push(x_668, x_667); -x_670 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_671 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_671, 0, x_670); -lean_ctor_set(x_671, 1, x_669); -x_672 = lean_array_push(x_561, x_628); -x_673 = lean_array_push(x_672, x_671); +x_649 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +lean_inc(x_610); +lean_inc(x_614); +x_650 = l_Lean_addMacroScope(x_614, x_649, x_610); +x_651 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; +lean_inc(x_607); +x_652 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_652, 0, x_607); +lean_ctor_set(x_652, 1, x_651); +lean_ctor_set(x_652, 2, x_650); +lean_ctor_set(x_652, 3, x_619); +x_653 = lean_array_push(x_626, x_652); +x_654 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_655 = lean_array_push(x_653, x_654); +x_656 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +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_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_607); +x_659 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_659, 0, x_607); +lean_ctor_set(x_659, 1, x_658); +x_660 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +lean_inc(x_610); +lean_inc(x_614); +x_661 = l_Lean_addMacroScope(x_614, x_660, x_610); +x_662 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +x_663 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +lean_inc(x_607); +x_664 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_664, 0, x_607); +lean_ctor_set(x_664, 1, x_662); +lean_ctor_set(x_664, 2, x_661); +lean_ctor_set(x_664, 3, x_663); +x_665 = lean_array_push(x_626, x_659); +x_666 = lean_array_push(x_665, x_664); +x_667 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +x_668 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_668, 0, x_667); +lean_ctor_set(x_668, 1, x_666); +x_669 = lean_array_push(x_622, x_668); +x_670 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_670, 0, x_624); +lean_ctor_set(x_670, 1, x_669); +x_671 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +x_672 = lean_array_push(x_671, x_670); +x_673 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; x_674 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_674, 0, x_559); -lean_ctor_set(x_674, 1, x_673); -x_675 = lean_array_push(x_561, x_660); -x_676 = lean_array_push(x_675, x_674); -x_677 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; -x_678 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_678, 0, x_677); -lean_ctor_set(x_678, 1, x_676); -x_679 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; -x_680 = lean_array_push(x_679, x_644); -lean_inc(x_680); -x_681 = lean_array_push(x_680, x_655); -lean_inc(x_633); -x_682 = lean_array_push(x_681, x_633); -x_683 = lean_array_push(x_682, x_678); -x_684 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -x_685 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_685, 0, x_684); -lean_ctor_set(x_685, 1, x_683); -x_686 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; -lean_inc(x_538); -x_687 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_687, 0, x_538); -lean_ctor_set(x_687, 1, x_686); -lean_inc(x_5); -x_688 = lean_array_push(x_5, x_687); -x_689 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +lean_ctor_set(x_674, 0, x_673); +lean_ctor_set(x_674, 1, x_672); +x_675 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_607); +x_676 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_676, 0, x_607); +lean_ctor_set(x_676, 1, x_675); +x_677 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +lean_inc(x_607); +x_678 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_678, 0, x_607); +lean_ctor_set(x_678, 1, x_677); +x_679 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; +lean_inc(x_610); +lean_inc(x_614); +x_680 = l_Lean_addMacroScope(x_614, x_679, x_610); +x_681 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +lean_inc(x_607); +x_682 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_682, 0, x_607); +lean_ctor_set(x_682, 1, x_681); +lean_ctor_set(x_682, 2, x_680); +lean_ctor_set(x_682, 3, x_619); +x_683 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; +lean_inc(x_607); +x_684 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_684, 0, x_607); +lean_ctor_set(x_684, 1, x_683); +x_685 = lean_array_push(x_622, x_684); +x_686 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_687 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_687, 0, x_686); +lean_ctor_set(x_687, 1, x_685); +lean_inc(x_682); +x_688 = lean_array_push(x_626, x_682); +lean_inc(x_687); +x_689 = lean_array_push(x_688, x_687); x_690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_690, 0, x_689); -lean_ctor_set(x_690, 1, x_688); -lean_inc(x_5); -x_691 = lean_array_push(x_5, x_690); -x_692 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_692, 0, x_559); +lean_ctor_set(x_690, 0, x_624); +lean_ctor_set(x_690, 1, x_689); +x_691 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +lean_inc(x_607); +x_692 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_692, 0, x_607); lean_ctor_set(x_692, 1, x_691); -x_693 = l_Lean_Elab_Command_expandElab___lambda__2___closed__27; -x_694 = l_Lean_addMacroScope(x_544, x_693, x_541); -x_695 = l_Lean_Elab_Command_expandElab___lambda__2___closed__26; -x_696 = l_Lean_Elab_Command_expandElab___lambda__2___closed__30; -x_697 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_697, 0, x_538); +x_693 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +lean_inc(x_607); +x_694 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_694, 0, x_607); +lean_ctor_set(x_694, 1, x_693); +x_695 = lean_array_push(x_671, x_682); +x_696 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; +x_697 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_697, 0, x_696); lean_ctor_set(x_697, 1, x_695); -lean_ctor_set(x_697, 2, x_694); -lean_ctor_set(x_697, 3, x_696); -x_698 = lean_array_push(x_680, x_692); -lean_inc(x_633); -x_699 = lean_array_push(x_698, x_633); -x_700 = lean_array_push(x_699, x_697); -x_701 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_701, 0, x_684); +x_698 = lean_array_push(x_622, x_697); +x_699 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_699, 0, x_624); +lean_ctor_set(x_699, 1, x_698); +x_700 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +lean_inc(x_607); +x_701 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_701, 0, x_607); lean_ctor_set(x_701, 1, x_700); -x_702 = lean_array_push(x_561, x_685); -x_703 = lean_array_push(x_702, x_701); -x_704 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_704, 0, x_559); -lean_ctor_set(x_704, 1, x_703); -x_705 = lean_array_push(x_5, x_704); -x_706 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_702 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_703 = l_Array_append___rarg(x_702, x_3); +x_704 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_607); +x_705 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_705, 0, x_607); +lean_ctor_set(x_705, 1, x_704); +x_706 = lean_array_push(x_622, x_687); x_707 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_707, 0, x_706); -lean_ctor_set(x_707, 1, x_705); -x_708 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -x_709 = lean_array_push(x_708, x_635); -x_710 = lean_array_push(x_709, x_548); -x_711 = lean_array_push(x_710, x_640); -x_712 = lean_array_push(x_711, x_548); -x_713 = lean_array_push(x_712, x_642); -x_714 = lean_array_push(x_713, x_707); -x_715 = l_Lean_Elab_Command_expandElab___lambda__2___closed__59; -x_716 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_716, 0, x_715); -lean_ctor_set(x_716, 1, x_714); -x_717 = lean_array_push(x_574, x_631); -x_718 = lean_array_push(x_717, x_633); -x_719 = lean_array_push(x_718, x_716); -x_720 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_720, 0, x_666); -lean_ctor_set(x_720, 1, x_719); -x_721 = lean_array_push(x_668, x_720); -x_722 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_722, 0, x_670); -lean_ctor_set(x_722, 1, x_721); -x_723 = lean_array_push(x_574, x_618); -x_724 = lean_array_push(x_723, x_722); -x_725 = lean_array_push(x_724, x_548); -x_726 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; -x_727 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_727, 0, x_726); -lean_ctor_set(x_727, 1, x_725); -x_728 = lean_array_push(x_679, x_591); -x_729 = lean_array_push(x_728, x_599); -x_730 = lean_array_push(x_729, x_616); -x_731 = lean_array_push(x_730, x_727); -x_732 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +lean_ctor_set(x_707, 0, x_624); +lean_ctor_set(x_707, 1, x_706); +x_708 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +x_709 = l_Lean_addMacroScope(x_614, x_708, x_610); +x_710 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_711 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +x_712 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_712, 0, x_607); +lean_ctor_set(x_712, 1, x_710); +lean_ctor_set(x_712, 2, x_709); +lean_ctor_set(x_712, 3, x_711); +x_713 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_714 = lean_array_push(x_713, x_705); +x_715 = lean_array_push(x_714, x_707); +lean_inc(x_692); +x_716 = lean_array_push(x_715, x_692); +x_717 = lean_array_push(x_716, x_712); +x_718 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; +x_719 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_719, 0, x_718); +lean_ctor_set(x_719, 1, x_717); +x_720 = lean_array_push(x_703, x_719); +x_721 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_721, 0, x_624); +lean_ctor_set(x_721, 1, x_720); +x_722 = lean_array_push(x_622, x_721); +x_723 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +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 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_726 = lean_array_push(x_725, x_694); +x_727 = lean_array_push(x_726, x_654); +x_728 = lean_array_push(x_727, x_699); +x_729 = lean_array_push(x_728, x_654); +x_730 = lean_array_push(x_729, x_701); +x_731 = lean_array_push(x_730, x_724); +x_732 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; x_733 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_733, 0, x_732); lean_ctor_set(x_733, 1, x_731); -x_734 = lean_array_push(x_561, x_589); -x_735 = lean_array_push(x_734, x_733); -x_736 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; -x_737 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_737, 0, x_736); -lean_ctor_set(x_737, 1, x_735); -x_738 = l_Lean_Elab_Command_expandElab___lambda__1(x_31, x_737, x_17, x_18, x_545); -lean_dec(x_17); -return x_738; +x_734 = lean_array_push(x_639, x_690); +x_735 = lean_array_push(x_734, x_692); +x_736 = lean_array_push(x_735, x_733); +x_737 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +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 = lean_array_push(x_626, x_678); +x_740 = lean_array_push(x_739, x_738); +x_741 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_742 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_742, 0, x_741); +lean_ctor_set(x_742, 1, x_740); +x_743 = lean_array_push(x_639, x_676); +x_744 = lean_array_push(x_743, x_742); +x_745 = lean_array_push(x_744, x_654); +x_746 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; +x_747 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_747, 0, x_746); +lean_ctor_set(x_747, 1, x_745); +x_748 = lean_array_push(x_713, x_648); +x_749 = lean_array_push(x_748, x_657); +x_750 = lean_array_push(x_749, x_674); +x_751 = lean_array_push(x_750, x_747); +x_752 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_753 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_753, 0, x_752); +lean_ctor_set(x_753, 1, x_751); +if (lean_obj_tag(x_4) == 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; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; +x_754 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_755 = lean_array_push(x_754, x_646); +x_756 = lean_array_push(x_755, x_654); +x_757 = lean_array_push(x_756, x_654); +x_758 = lean_array_push(x_757, x_654); +x_759 = lean_array_push(x_758, x_654); +x_760 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_761 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_761, 0, x_760); +lean_ctor_set(x_761, 1, x_759); +x_762 = lean_array_push(x_626, x_761); +x_763 = lean_array_push(x_762, x_753); +x_764 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_765 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_765, 0, x_764); +lean_ctor_set(x_765, 1, x_763); +lean_ctor_set(x_612, 0, x_765); +return x_612; +} +else +{ +lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; +x_766 = lean_ctor_get(x_4, 0); +lean_inc(x_766); +lean_dec(x_4); +x_767 = lean_array_push(x_622, x_766); +x_768 = l_Array_append___rarg(x_702, x_767); +lean_dec(x_767); +x_769 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_769, 0, x_624); +lean_ctor_set(x_769, 1, x_768); +x_770 = lean_array_push(x_725, x_769); +x_771 = lean_array_push(x_770, x_646); +x_772 = lean_array_push(x_771, x_654); +x_773 = lean_array_push(x_772, x_654); +x_774 = lean_array_push(x_773, x_654); +x_775 = lean_array_push(x_774, x_654); +x_776 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_777 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_777, 0, x_776); +lean_ctor_set(x_777, 1, x_775); +x_778 = lean_array_push(x_626, x_777); +x_779 = lean_array_push(x_778, x_753); +x_780 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_781 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_781, 0, x_780); +lean_ctor_set(x_781, 1, x_779); +lean_ctor_set(x_612, 0, x_781); +return x_612; +} +} +else +{ +lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; 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; +x_782 = lean_ctor_get(x_612, 0); +x_783 = lean_ctor_get(x_612, 1); +lean_inc(x_783); +lean_inc(x_782); +lean_dec(x_612); +x_784 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_607); +x_785 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_785, 0, x_607); +lean_ctor_set(x_785, 1, x_784); +x_786 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +lean_inc(x_610); +lean_inc(x_782); +x_787 = l_Lean_addMacroScope(x_782, x_786, x_610); +x_788 = lean_box(0); +x_789 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; +lean_inc(x_607); +x_790 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_790, 0, x_607); +lean_ctor_set(x_790, 1, x_789); +lean_ctor_set(x_790, 2, x_787); +lean_ctor_set(x_790, 3, x_788); +x_791 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_792 = lean_array_push(x_791, x_604); +x_793 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_794 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_794, 0, x_793); +lean_ctor_set(x_794, 1, x_792); +x_795 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_796 = lean_array_push(x_795, x_790); +x_797 = lean_array_push(x_796, x_794); +x_798 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; +x_799 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_799, 0, x_798); +lean_ctor_set(x_799, 1, x_797); +x_800 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; +x_801 = lean_array_push(x_800, x_799); +x_802 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; +x_803 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_803, 0, x_802); +lean_ctor_set(x_803, 1, x_801); +x_804 = lean_array_push(x_791, x_803); +x_805 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_805, 0, x_793); +lean_ctor_set(x_805, 1, x_804); +x_806 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_607); +x_807 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_807, 0, x_607); +lean_ctor_set(x_807, 1, x_806); +x_808 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_809 = lean_array_push(x_808, x_785); +x_810 = lean_array_push(x_809, x_805); +x_811 = lean_array_push(x_810, x_807); +x_812 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; +x_813 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_813, 0, x_812); +lean_ctor_set(x_813, 1, x_811); +x_814 = lean_array_push(x_791, x_813); +x_815 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_815, 0, x_793); +lean_ctor_set(x_815, 1, x_814); +x_816 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_607); +x_817 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_817, 0, x_607); +lean_ctor_set(x_817, 1, x_816); +x_818 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +lean_inc(x_610); +lean_inc(x_782); +x_819 = l_Lean_addMacroScope(x_782, x_818, x_610); +x_820 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; +lean_inc(x_607); +x_821 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_821, 0, x_607); +lean_ctor_set(x_821, 1, x_820); +lean_ctor_set(x_821, 2, x_819); +lean_ctor_set(x_821, 3, x_788); +x_822 = lean_array_push(x_795, x_821); +x_823 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_824 = lean_array_push(x_822, x_823); +x_825 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +x_826 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_826, 0, x_825); +lean_ctor_set(x_826, 1, x_824); +x_827 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_607); +x_828 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_828, 0, x_607); +lean_ctor_set(x_828, 1, x_827); +x_829 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +lean_inc(x_610); +lean_inc(x_782); +x_830 = l_Lean_addMacroScope(x_782, x_829, x_610); +x_831 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +x_832 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +lean_inc(x_607); +x_833 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_833, 0, x_607); +lean_ctor_set(x_833, 1, x_831); +lean_ctor_set(x_833, 2, x_830); +lean_ctor_set(x_833, 3, x_832); +x_834 = lean_array_push(x_795, x_828); +x_835 = lean_array_push(x_834, x_833); +x_836 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +x_837 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_837, 0, x_836); +lean_ctor_set(x_837, 1, x_835); +x_838 = lean_array_push(x_791, x_837); +x_839 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_839, 0, x_793); +lean_ctor_set(x_839, 1, x_838); +x_840 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +x_841 = lean_array_push(x_840, x_839); +x_842 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; +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 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_607); +x_845 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_845, 0, x_607); +lean_ctor_set(x_845, 1, x_844); +x_846 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +lean_inc(x_607); +x_847 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_847, 0, x_607); +lean_ctor_set(x_847, 1, x_846); +x_848 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; +lean_inc(x_610); +lean_inc(x_782); +x_849 = l_Lean_addMacroScope(x_782, x_848, x_610); +x_850 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +lean_inc(x_607); +x_851 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_851, 0, x_607); +lean_ctor_set(x_851, 1, x_850); +lean_ctor_set(x_851, 2, x_849); +lean_ctor_set(x_851, 3, x_788); +x_852 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; +lean_inc(x_607); +x_853 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_853, 0, x_607); +lean_ctor_set(x_853, 1, x_852); +x_854 = lean_array_push(x_791, x_853); +x_855 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_856 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_856, 0, x_855); +lean_ctor_set(x_856, 1, x_854); +lean_inc(x_851); +x_857 = lean_array_push(x_795, x_851); +lean_inc(x_856); +x_858 = lean_array_push(x_857, x_856); +x_859 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_859, 0, x_793); +lean_ctor_set(x_859, 1, x_858); +x_860 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +lean_inc(x_607); +x_861 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_861, 0, x_607); +lean_ctor_set(x_861, 1, x_860); +x_862 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +lean_inc(x_607); +x_863 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_863, 0, x_607); +lean_ctor_set(x_863, 1, x_862); +x_864 = lean_array_push(x_840, x_851); +x_865 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; +x_866 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_866, 0, x_865); +lean_ctor_set(x_866, 1, x_864); +x_867 = lean_array_push(x_791, x_866); +x_868 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_868, 0, x_793); +lean_ctor_set(x_868, 1, x_867); +x_869 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +lean_inc(x_607); +x_870 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_870, 0, x_607); +lean_ctor_set(x_870, 1, x_869); +x_871 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_872 = l_Array_append___rarg(x_871, x_3); +x_873 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_607); +x_874 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_874, 0, x_607); +lean_ctor_set(x_874, 1, x_873); +x_875 = lean_array_push(x_791, x_856); +x_876 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_876, 0, x_793); +lean_ctor_set(x_876, 1, x_875); +x_877 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +x_878 = l_Lean_addMacroScope(x_782, x_877, x_610); +x_879 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_880 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +x_881 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_881, 0, x_607); +lean_ctor_set(x_881, 1, x_879); +lean_ctor_set(x_881, 2, x_878); +lean_ctor_set(x_881, 3, x_880); +x_882 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_883 = lean_array_push(x_882, x_874); +x_884 = lean_array_push(x_883, x_876); +lean_inc(x_861); +x_885 = lean_array_push(x_884, x_861); +x_886 = lean_array_push(x_885, x_881); +x_887 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; +x_888 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_888, 0, x_887); +lean_ctor_set(x_888, 1, x_886); +x_889 = lean_array_push(x_872, x_888); +x_890 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_890, 0, x_793); +lean_ctor_set(x_890, 1, x_889); +x_891 = lean_array_push(x_791, x_890); +x_892 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_893 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_893, 0, x_892); +lean_ctor_set(x_893, 1, x_891); +x_894 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_895 = lean_array_push(x_894, x_863); +x_896 = lean_array_push(x_895, x_823); +x_897 = lean_array_push(x_896, x_868); +x_898 = lean_array_push(x_897, x_823); +x_899 = lean_array_push(x_898, x_870); +x_900 = lean_array_push(x_899, x_893); +x_901 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_902 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_902, 0, x_901); +lean_ctor_set(x_902, 1, x_900); +x_903 = lean_array_push(x_808, x_859); +x_904 = lean_array_push(x_903, x_861); +x_905 = lean_array_push(x_904, x_902); +x_906 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_907 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_907, 0, x_906); +lean_ctor_set(x_907, 1, x_905); +x_908 = lean_array_push(x_795, x_847); +x_909 = lean_array_push(x_908, x_907); +x_910 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_911 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_911, 0, x_910); +lean_ctor_set(x_911, 1, x_909); +x_912 = lean_array_push(x_808, x_845); +x_913 = lean_array_push(x_912, x_911); +x_914 = lean_array_push(x_913, x_823); +x_915 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; +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 = lean_array_push(x_882, x_817); +x_918 = lean_array_push(x_917, x_826); +x_919 = lean_array_push(x_918, x_843); +x_920 = lean_array_push(x_919, x_916); +x_921 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_922 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_922, 0, x_921); +lean_ctor_set(x_922, 1, x_920); +if (lean_obj_tag(x_4) == 0) +{ +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; +x_923 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_924 = lean_array_push(x_923, x_815); +x_925 = lean_array_push(x_924, x_823); +x_926 = lean_array_push(x_925, x_823); +x_927 = lean_array_push(x_926, x_823); +x_928 = lean_array_push(x_927, x_823); +x_929 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_930 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_930, 0, x_929); +lean_ctor_set(x_930, 1, x_928); +x_931 = lean_array_push(x_795, x_930); +x_932 = lean_array_push(x_931, x_922); +x_933 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_934 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_934, 0, x_933); +lean_ctor_set(x_934, 1, x_932); +x_935 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_935, 0, x_934); +lean_ctor_set(x_935, 1, x_783); +return x_935; +} +else +{ +lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_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; +x_936 = lean_ctor_get(x_4, 0); +lean_inc(x_936); +lean_dec(x_4); +x_937 = lean_array_push(x_791, x_936); +x_938 = l_Array_append___rarg(x_871, x_937); +lean_dec(x_937); +x_939 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_939, 0, x_793); +lean_ctor_set(x_939, 1, x_938); +x_940 = lean_array_push(x_894, x_939); +x_941 = lean_array_push(x_940, x_815); +x_942 = lean_array_push(x_941, x_823); +x_943 = lean_array_push(x_942, x_823); +x_944 = lean_array_push(x_943, x_823); +x_945 = lean_array_push(x_944, x_823); +x_946 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_947 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_947, 0, x_946); +lean_ctor_set(x_947, 1, x_945); +x_948 = lean_array_push(x_795, x_947); +x_949 = lean_array_push(x_948, x_922); +x_950 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_951 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_951, 0, x_950); +lean_ctor_set(x_951, 1, x_949); +x_952 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_952, 0, x_951); +lean_ctor_set(x_952, 1, x_783); +return x_952; +} +} +} +} +else +{ +lean_object* x_953; lean_object* x_954; uint8_t x_955; +x_953 = lean_ctor_get(x_1, 0); +lean_inc(x_953); +lean_dec(x_1); +x_954 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; +x_955 = lean_name_eq(x_5, x_954); +if (x_955 == 0) +{ +lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; +lean_dec(x_4); +lean_dec(x_2); +x_956 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_956, 0, x_5); +x_957 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61; +x_958 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_958, 0, x_957); +lean_ctor_set(x_958, 1, x_956); +x_959 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +x_960 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_960, 0, x_958); +lean_ctor_set(x_960, 1, x_959); +x_961 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(x_953, x_960, x_6, x_7, x_8); +lean_dec(x_953); +return x_961; +} +else +{ +lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; uint8_t x_972; +lean_dec(x_5); +x_962 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(x_2, x_6, x_7, x_8); +x_963 = lean_ctor_get(x_962, 0); +lean_inc(x_963); +x_964 = lean_ctor_get(x_962, 1); +lean_inc(x_964); +lean_dec(x_962); +x_965 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_6, x_7, x_964); +x_966 = lean_ctor_get(x_965, 0); +lean_inc(x_966); +x_967 = lean_ctor_get(x_965, 1); +lean_inc(x_967); +lean_dec(x_965); +x_968 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_967); +lean_dec(x_6); +x_969 = lean_ctor_get(x_968, 0); +lean_inc(x_969); +x_970 = lean_ctor_get(x_968, 1); +lean_inc(x_970); +lean_dec(x_968); +x_971 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_970); +x_972 = !lean_is_exclusive(x_971); +if (x_972 == 0) +{ +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; 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_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; +x_973 = lean_ctor_get(x_971, 0); +x_974 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_966); +x_975 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_975, 0, x_966); +lean_ctor_set(x_975, 1, x_974); +x_976 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +lean_inc(x_969); +lean_inc(x_973); +x_977 = l_Lean_addMacroScope(x_973, x_976, x_969); +x_978 = lean_box(0); +x_979 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; +lean_inc(x_966); +x_980 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_980, 0, x_966); +lean_ctor_set(x_980, 1, x_979); +lean_ctor_set(x_980, 2, x_977); +lean_ctor_set(x_980, 3, x_978); +x_981 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_982 = lean_array_push(x_981, x_963); +x_983 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_984 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_984, 0, x_983); +lean_ctor_set(x_984, 1, x_982); +x_985 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_986 = lean_array_push(x_985, x_980); +x_987 = lean_array_push(x_986, x_984); +x_988 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; +x_989 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_989, 0, x_988); +lean_ctor_set(x_989, 1, x_987); +x_990 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; +x_991 = lean_array_push(x_990, x_989); +x_992 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; +x_993 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_993, 0, x_992); +lean_ctor_set(x_993, 1, x_991); +x_994 = lean_array_push(x_981, x_993); +x_995 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_995, 0, x_983); +lean_ctor_set(x_995, 1, x_994); +x_996 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_966); +x_997 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_997, 0, x_966); +lean_ctor_set(x_997, 1, x_996); +x_998 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_999 = lean_array_push(x_998, x_975); +x_1000 = lean_array_push(x_999, x_995); +x_1001 = lean_array_push(x_1000, x_997); +x_1002 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; +x_1003 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1003, 0, x_1002); +lean_ctor_set(x_1003, 1, x_1001); +x_1004 = lean_array_push(x_981, x_1003); +x_1005 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1005, 0, x_983); +lean_ctor_set(x_1005, 1, x_1004); +x_1006 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_966); +x_1007 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1007, 0, x_966); +lean_ctor_set(x_1007, 1, x_1006); +x_1008 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +lean_inc(x_969); +lean_inc(x_973); +x_1009 = l_Lean_addMacroScope(x_973, x_1008, x_969); +x_1010 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; +lean_inc(x_966); +x_1011 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1011, 0, x_966); +lean_ctor_set(x_1011, 1, x_1010); +lean_ctor_set(x_1011, 2, x_1009); +lean_ctor_set(x_1011, 3, x_978); +x_1012 = lean_array_push(x_985, x_1011); +x_1013 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_1014 = lean_array_push(x_1012, x_1013); +x_1015 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +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 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_966); +x_1018 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1018, 0, x_966); +lean_ctor_set(x_1018, 1, x_1017); +x_1019 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +lean_inc(x_969); +lean_inc(x_973); +x_1020 = l_Lean_addMacroScope(x_973, x_1019, x_969); +x_1021 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +x_1022 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +lean_inc(x_966); +x_1023 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1023, 0, x_966); +lean_ctor_set(x_1023, 1, x_1021); +lean_ctor_set(x_1023, 2, x_1020); +lean_ctor_set(x_1023, 3, x_1022); +x_1024 = lean_array_push(x_985, x_1018); +x_1025 = lean_array_push(x_1024, x_1023); +x_1026 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +x_1027 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1027, 0, x_1026); +lean_ctor_set(x_1027, 1, x_1025); +x_1028 = lean_array_push(x_981, x_1027); +x_1029 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1029, 0, x_983); +lean_ctor_set(x_1029, 1, x_1028); +x_1030 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +x_1031 = lean_array_push(x_1030, x_1029); +x_1032 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; +x_1033 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1033, 0, x_1032); +lean_ctor_set(x_1033, 1, x_1031); +x_1034 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_966); +x_1035 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1035, 0, x_966); +lean_ctor_set(x_1035, 1, x_1034); +x_1036 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +lean_inc(x_966); +x_1037 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1037, 0, x_966); +lean_ctor_set(x_1037, 1, x_1036); +x_1038 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; +lean_inc(x_969); +lean_inc(x_973); +x_1039 = l_Lean_addMacroScope(x_973, x_1038, x_969); +x_1040 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +lean_inc(x_966); +x_1041 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1041, 0, x_966); +lean_ctor_set(x_1041, 1, x_1040); +lean_ctor_set(x_1041, 2, x_1039); +lean_ctor_set(x_1041, 3, x_978); +x_1042 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +lean_inc(x_969); +lean_inc(x_973); +x_1043 = l_Lean_addMacroScope(x_973, x_1042, x_969); +x_1044 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; +lean_inc(x_966); +x_1045 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1045, 0, x_966); +lean_ctor_set(x_1045, 1, x_1044); +lean_ctor_set(x_1045, 2, x_1043); +lean_ctor_set(x_1045, 3, x_978); +lean_inc(x_1041); +x_1046 = lean_array_push(x_985, x_1041); +lean_inc(x_1045); +x_1047 = lean_array_push(x_1046, x_1045); +x_1048 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1048, 0, x_983); +lean_ctor_set(x_1048, 1, x_1047); +x_1049 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +lean_inc(x_966); +x_1050 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1050, 0, x_966); +lean_ctor_set(x_1050, 1, x_1049); +x_1051 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; +lean_inc(x_969); +lean_inc(x_973); +x_1052 = l_Lean_addMacroScope(x_973, x_1051, x_969); +x_1053 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +x_1054 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +lean_inc(x_966); +x_1055 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1055, 0, x_966); +lean_ctor_set(x_1055, 1, x_1053); +lean_ctor_set(x_1055, 2, x_1052); +lean_ctor_set(x_1055, 3, x_1054); +x_1056 = lean_array_push(x_981, x_953); +x_1057 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1057, 0, x_983); +lean_ctor_set(x_1057, 1, x_1056); +x_1058 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +lean_inc(x_966); +x_1059 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1059, 0, x_966); +lean_ctor_set(x_1059, 1, x_1058); +x_1060 = lean_array_push(x_1030, x_1041); +x_1061 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; +x_1062 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1062, 0, x_1061); +lean_ctor_set(x_1062, 1, x_1060); +x_1063 = lean_array_push(x_981, x_1062); +x_1064 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1064, 0, x_983); +lean_ctor_set(x_1064, 1, x_1063); +x_1065 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +lean_inc(x_966); +x_1066 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1066, 0, x_966); +lean_ctor_set(x_1066, 1, x_1065); +x_1067 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_1068 = l_Array_append___rarg(x_1067, x_3); +x_1069 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_966); +x_1070 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1070, 0, x_966); +lean_ctor_set(x_1070, 1, x_1069); +x_1071 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; +lean_inc(x_966); +x_1072 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1072, 0, x_966); +lean_ctor_set(x_1072, 1, x_1071); +x_1073 = lean_array_push(x_981, x_1072); +x_1074 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_1075 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1075, 0, x_1074); +lean_ctor_set(x_1075, 1, x_1073); +x_1076 = lean_array_push(x_981, x_1075); +x_1077 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1077, 0, x_983); +lean_ctor_set(x_1077, 1, x_1076); +x_1078 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +x_1079 = l_Lean_addMacroScope(x_973, x_1078, x_969); +x_1080 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_1081 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +x_1082 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1082, 0, x_966); +lean_ctor_set(x_1082, 1, x_1080); +lean_ctor_set(x_1082, 2, x_1079); +lean_ctor_set(x_1082, 3, x_1081); +x_1083 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_1084 = lean_array_push(x_1083, x_1070); +x_1085 = lean_array_push(x_1084, x_1077); +lean_inc(x_1050); +x_1086 = lean_array_push(x_1085, x_1050); +x_1087 = lean_array_push(x_1086, x_1082); +x_1088 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; +x_1089 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1089, 0, x_1088); +lean_ctor_set(x_1089, 1, x_1087); +x_1090 = lean_array_push(x_1068, x_1089); +x_1091 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1091, 0, x_983); +lean_ctor_set(x_1091, 1, x_1090); +x_1092 = lean_array_push(x_981, x_1091); +x_1093 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +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_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_1096 = lean_array_push(x_1095, x_1059); +x_1097 = lean_array_push(x_1096, x_1013); +x_1098 = lean_array_push(x_1097, x_1064); +x_1099 = lean_array_push(x_1098, x_1013); +x_1100 = lean_array_push(x_1099, x_1066); +x_1101 = lean_array_push(x_1100, x_1094); +x_1102 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_1103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1103, 0, x_1102); +lean_ctor_set(x_1103, 1, x_1101); +x_1104 = lean_array_push(x_998, x_1057); +lean_inc(x_1050); +x_1105 = lean_array_push(x_1104, x_1050); +x_1106 = lean_array_push(x_1105, x_1103); +x_1107 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +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_985, x_1037); +lean_inc(x_1109); +x_1110 = lean_array_push(x_1109, x_1108); +x_1111 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_1112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1112, 0, x_1111); +lean_ctor_set(x_1112, 1, x_1110); +x_1113 = lean_array_push(x_985, x_1045); +x_1114 = lean_array_push(x_1113, x_1112); +x_1115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1115, 0, x_983); +lean_ctor_set(x_1115, 1, x_1114); +x_1116 = lean_array_push(x_985, x_1055); +x_1117 = lean_array_push(x_1116, x_1115); +x_1118 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; +x_1119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1119, 0, x_1118); +lean_ctor_set(x_1119, 1, x_1117); +x_1120 = lean_array_push(x_998, x_1048); +x_1121 = lean_array_push(x_1120, x_1050); +x_1122 = lean_array_push(x_1121, x_1119); +x_1123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1123, 0, x_1107); +lean_ctor_set(x_1123, 1, x_1122); +x_1124 = lean_array_push(x_1109, x_1123); +x_1125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1125, 0, x_1111); +lean_ctor_set(x_1125, 1, x_1124); +x_1126 = lean_array_push(x_998, x_1035); +x_1127 = lean_array_push(x_1126, x_1125); +x_1128 = lean_array_push(x_1127, x_1013); +x_1129 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; +x_1130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1130, 0, x_1129); +lean_ctor_set(x_1130, 1, x_1128); +x_1131 = lean_array_push(x_1083, x_1007); +x_1132 = lean_array_push(x_1131, x_1016); +x_1133 = lean_array_push(x_1132, x_1033); +x_1134 = lean_array_push(x_1133, x_1130); +x_1135 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_1136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1136, 0, x_1135); +lean_ctor_set(x_1136, 1, x_1134); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; +x_1137 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_1138 = lean_array_push(x_1137, x_1005); +x_1139 = lean_array_push(x_1138, x_1013); +x_1140 = lean_array_push(x_1139, x_1013); +x_1141 = lean_array_push(x_1140, x_1013); +x_1142 = lean_array_push(x_1141, x_1013); +x_1143 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_1144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1144, 0, x_1143); +lean_ctor_set(x_1144, 1, x_1142); +x_1145 = lean_array_push(x_985, x_1144); +x_1146 = lean_array_push(x_1145, x_1136); +x_1147 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_1148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1148, 0, x_1147); +lean_ctor_set(x_1148, 1, x_1146); +lean_ctor_set(x_971, 0, x_1148); +return x_971; +} +else +{ +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; +x_1149 = lean_ctor_get(x_4, 0); +lean_inc(x_1149); +lean_dec(x_4); +x_1150 = lean_array_push(x_981, x_1149); +x_1151 = l_Array_append___rarg(x_1067, x_1150); +lean_dec(x_1150); +x_1152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1152, 0, x_983); +lean_ctor_set(x_1152, 1, x_1151); +x_1153 = lean_array_push(x_1095, x_1152); +x_1154 = lean_array_push(x_1153, x_1005); +x_1155 = lean_array_push(x_1154, x_1013); +x_1156 = lean_array_push(x_1155, x_1013); +x_1157 = lean_array_push(x_1156, x_1013); +x_1158 = lean_array_push(x_1157, x_1013); +x_1159 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +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 = lean_array_push(x_985, x_1160); +x_1162 = lean_array_push(x_1161, x_1136); +x_1163 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_1164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1164, 0, x_1163); +lean_ctor_set(x_1164, 1, x_1162); +lean_ctor_set(x_971, 0, x_1164); +return x_971; +} +} +else +{ +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; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; 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; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; +x_1165 = lean_ctor_get(x_971, 0); +x_1166 = lean_ctor_get(x_971, 1); +lean_inc(x_1166); +lean_inc(x_1165); +lean_dec(x_971); +x_1167 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; +lean_inc(x_966); +x_1168 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1168, 0, x_966); +lean_ctor_set(x_1168, 1, x_1167); +x_1169 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +lean_inc(x_969); +lean_inc(x_1165); +x_1170 = l_Lean_addMacroScope(x_1165, x_1169, x_969); +x_1171 = lean_box(0); +x_1172 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; +lean_inc(x_966); +x_1173 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1173, 0, x_966); +lean_ctor_set(x_1173, 1, x_1172); +lean_ctor_set(x_1173, 2, x_1170); +lean_ctor_set(x_1173, 3, x_1171); +x_1174 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_1175 = lean_array_push(x_1174, x_963); +x_1176 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_1177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1177, 0, x_1176); +lean_ctor_set(x_1177, 1, x_1175); +x_1178 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_1179 = lean_array_push(x_1178, x_1173); +x_1180 = lean_array_push(x_1179, x_1177); +x_1181 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; +x_1182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1182, 0, x_1181); +lean_ctor_set(x_1182, 1, x_1180); +x_1183 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; +x_1184 = lean_array_push(x_1183, x_1182); +x_1185 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; +x_1186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1186, 0, x_1185); +lean_ctor_set(x_1186, 1, x_1184); +x_1187 = lean_array_push(x_1174, x_1186); +x_1188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1188, 0, x_1176); +lean_ctor_set(x_1188, 1, x_1187); +x_1189 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +lean_inc(x_966); +x_1190 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1190, 0, x_966); +lean_ctor_set(x_1190, 1, x_1189); +x_1191 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_1192 = lean_array_push(x_1191, x_1168); +x_1193 = lean_array_push(x_1192, x_1188); +x_1194 = lean_array_push(x_1193, x_1190); +x_1195 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; +x_1196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1196, 0, x_1195); +lean_ctor_set(x_1196, 1, x_1194); +x_1197 = lean_array_push(x_1174, x_1196); +x_1198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1198, 0, x_1176); +lean_ctor_set(x_1198, 1, x_1197); +x_1199 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +lean_inc(x_966); +x_1200 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1200, 0, x_966); +lean_ctor_set(x_1200, 1, x_1199); +x_1201 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +lean_inc(x_969); +lean_inc(x_1165); +x_1202 = l_Lean_addMacroScope(x_1165, x_1201, x_969); +x_1203 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; +lean_inc(x_966); +x_1204 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1204, 0, x_966); +lean_ctor_set(x_1204, 1, x_1203); +lean_ctor_set(x_1204, 2, x_1202); +lean_ctor_set(x_1204, 3, x_1171); +x_1205 = lean_array_push(x_1178, x_1204); +x_1206 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +x_1207 = lean_array_push(x_1205, x_1206); +x_1208 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +x_1209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1209, 0, x_1208); +lean_ctor_set(x_1209, 1, x_1207); +x_1210 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_966); +x_1211 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1211, 0, x_966); +lean_ctor_set(x_1211, 1, x_1210); +x_1212 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +lean_inc(x_969); +lean_inc(x_1165); +x_1213 = l_Lean_addMacroScope(x_1165, x_1212, x_969); +x_1214 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +x_1215 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +lean_inc(x_966); +x_1216 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1216, 0, x_966); +lean_ctor_set(x_1216, 1, x_1214); +lean_ctor_set(x_1216, 2, x_1213); +lean_ctor_set(x_1216, 3, x_1215); +x_1217 = lean_array_push(x_1178, x_1211); +x_1218 = lean_array_push(x_1217, x_1216); +x_1219 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +x_1220 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1220, 0, x_1219); +lean_ctor_set(x_1220, 1, x_1218); +x_1221 = lean_array_push(x_1174, x_1220); +x_1222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1222, 0, x_1176); +lean_ctor_set(x_1222, 1, x_1221); +x_1223 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +x_1224 = lean_array_push(x_1223, x_1222); +x_1225 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; +x_1226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1226, 0, x_1225); +lean_ctor_set(x_1226, 1, x_1224); +x_1227 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_966); +x_1228 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1228, 0, x_966); +lean_ctor_set(x_1228, 1, x_1227); +x_1229 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +lean_inc(x_966); +x_1230 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1230, 0, x_966); +lean_ctor_set(x_1230, 1, x_1229); +x_1231 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; +lean_inc(x_969); +lean_inc(x_1165); +x_1232 = l_Lean_addMacroScope(x_1165, x_1231, x_969); +x_1233 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +lean_inc(x_966); +x_1234 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1234, 0, x_966); +lean_ctor_set(x_1234, 1, x_1233); +lean_ctor_set(x_1234, 2, x_1232); +lean_ctor_set(x_1234, 3, x_1171); +x_1235 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +lean_inc(x_969); +lean_inc(x_1165); +x_1236 = l_Lean_addMacroScope(x_1165, x_1235, x_969); +x_1237 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; +lean_inc(x_966); +x_1238 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1238, 0, x_966); +lean_ctor_set(x_1238, 1, x_1237); +lean_ctor_set(x_1238, 2, x_1236); +lean_ctor_set(x_1238, 3, x_1171); +lean_inc(x_1234); +x_1239 = lean_array_push(x_1178, x_1234); +lean_inc(x_1238); +x_1240 = lean_array_push(x_1239, x_1238); +x_1241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1241, 0, x_1176); +lean_ctor_set(x_1241, 1, x_1240); +x_1242 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +lean_inc(x_966); +x_1243 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1243, 0, x_966); +lean_ctor_set(x_1243, 1, x_1242); +x_1244 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; +lean_inc(x_969); +lean_inc(x_1165); +x_1245 = l_Lean_addMacroScope(x_1165, x_1244, x_969); +x_1246 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +x_1247 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +lean_inc(x_966); +x_1248 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1248, 0, x_966); +lean_ctor_set(x_1248, 1, x_1246); +lean_ctor_set(x_1248, 2, x_1245); +lean_ctor_set(x_1248, 3, x_1247); +x_1249 = lean_array_push(x_1174, x_953); +x_1250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1250, 0, x_1176); +lean_ctor_set(x_1250, 1, x_1249); +x_1251 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +lean_inc(x_966); +x_1252 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1252, 0, x_966); +lean_ctor_set(x_1252, 1, x_1251); +x_1253 = lean_array_push(x_1223, x_1234); +x_1254 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; +x_1255 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1255, 0, x_1254); +lean_ctor_set(x_1255, 1, x_1253); +x_1256 = lean_array_push(x_1174, x_1255); +x_1257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1257, 0, x_1176); +lean_ctor_set(x_1257, 1, x_1256); +x_1258 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +lean_inc(x_966); +x_1259 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1259, 0, x_966); +lean_ctor_set(x_1259, 1, x_1258); +x_1260 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_1261 = l_Array_append___rarg(x_1260, x_3); +x_1262 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_966); +x_1263 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1263, 0, x_966); +lean_ctor_set(x_1263, 1, x_1262); +x_1264 = l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1; +lean_inc(x_966); +x_1265 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1265, 0, x_966); +lean_ctor_set(x_1265, 1, x_1264); +x_1266 = lean_array_push(x_1174, x_1265); +x_1267 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_1268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1268, 0, x_1267); +lean_ctor_set(x_1268, 1, x_1266); +x_1269 = lean_array_push(x_1174, x_1268); +x_1270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1270, 0, x_1176); +lean_ctor_set(x_1270, 1, x_1269); +x_1271 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +x_1272 = l_Lean_addMacroScope(x_1165, x_1271, x_969); +x_1273 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_1274 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +x_1275 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1275, 0, x_966); +lean_ctor_set(x_1275, 1, x_1273); +lean_ctor_set(x_1275, 2, x_1272); +lean_ctor_set(x_1275, 3, x_1274); +x_1276 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_1277 = lean_array_push(x_1276, x_1263); +x_1278 = lean_array_push(x_1277, x_1270); +lean_inc(x_1243); +x_1279 = lean_array_push(x_1278, x_1243); +x_1280 = lean_array_push(x_1279, x_1275); +x_1281 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2; +x_1282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1282, 0, x_1281); +lean_ctor_set(x_1282, 1, x_1280); +x_1283 = lean_array_push(x_1261, x_1282); +x_1284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1284, 0, x_1176); +lean_ctor_set(x_1284, 1, x_1283); +x_1285 = lean_array_push(x_1174, x_1284); +x_1286 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_1287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1287, 0, x_1286); +lean_ctor_set(x_1287, 1, x_1285); +x_1288 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_1289 = lean_array_push(x_1288, x_1252); +x_1290 = lean_array_push(x_1289, x_1206); +x_1291 = lean_array_push(x_1290, x_1257); +x_1292 = lean_array_push(x_1291, x_1206); +x_1293 = lean_array_push(x_1292, x_1259); +x_1294 = lean_array_push(x_1293, x_1287); +x_1295 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_1296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1296, 0, x_1295); +lean_ctor_set(x_1296, 1, x_1294); +x_1297 = lean_array_push(x_1191, x_1250); +lean_inc(x_1243); +x_1298 = lean_array_push(x_1297, x_1243); +x_1299 = lean_array_push(x_1298, x_1296); +x_1300 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_1301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1301, 0, x_1300); +lean_ctor_set(x_1301, 1, x_1299); +x_1302 = lean_array_push(x_1178, x_1230); +lean_inc(x_1302); +x_1303 = lean_array_push(x_1302, x_1301); +x_1304 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_1305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1305, 0, x_1304); +lean_ctor_set(x_1305, 1, x_1303); +x_1306 = lean_array_push(x_1178, x_1238); +x_1307 = lean_array_push(x_1306, x_1305); +x_1308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1308, 0, x_1176); +lean_ctor_set(x_1308, 1, x_1307); +x_1309 = lean_array_push(x_1178, x_1248); +x_1310 = lean_array_push(x_1309, x_1308); +x_1311 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; +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_1191, x_1241); +x_1314 = lean_array_push(x_1313, x_1243); +x_1315 = lean_array_push(x_1314, x_1312); +x_1316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1316, 0, x_1300); +lean_ctor_set(x_1316, 1, x_1315); +x_1317 = lean_array_push(x_1302, x_1316); +x_1318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1318, 0, x_1304); +lean_ctor_set(x_1318, 1, x_1317); +x_1319 = lean_array_push(x_1191, x_1228); +x_1320 = lean_array_push(x_1319, x_1318); +x_1321 = lean_array_push(x_1320, x_1206); +x_1322 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__49; +x_1323 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1323, 0, x_1322); +lean_ctor_set(x_1323, 1, x_1321); +x_1324 = lean_array_push(x_1276, x_1200); +x_1325 = lean_array_push(x_1324, x_1209); +x_1326 = lean_array_push(x_1325, x_1226); +x_1327 = lean_array_push(x_1326, x_1323); +x_1328 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_1329 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1329, 0, x_1328); +lean_ctor_set(x_1329, 1, x_1327); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; +x_1330 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_1331 = lean_array_push(x_1330, x_1198); +x_1332 = lean_array_push(x_1331, x_1206); +x_1333 = lean_array_push(x_1332, x_1206); +x_1334 = lean_array_push(x_1333, x_1206); +x_1335 = lean_array_push(x_1334, x_1206); +x_1336 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_1337 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1337, 0, x_1336); +lean_ctor_set(x_1337, 1, x_1335); +x_1338 = lean_array_push(x_1178, x_1337); +x_1339 = lean_array_push(x_1338, x_1329); +x_1340 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_1341 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1341, 0, x_1340); +lean_ctor_set(x_1341, 1, x_1339); +x_1342 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1342, 0, x_1341); +lean_ctor_set(x_1342, 1, x_1166); +return x_1342; +} +else +{ +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; +x_1343 = lean_ctor_get(x_4, 0); +lean_inc(x_1343); +lean_dec(x_4); +x_1344 = lean_array_push(x_1174, x_1343); +x_1345 = l_Array_append___rarg(x_1260, x_1344); +lean_dec(x_1344); +x_1346 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1346, 0, x_1176); +lean_ctor_set(x_1346, 1, x_1345); +x_1347 = lean_array_push(x_1288, x_1346); +x_1348 = lean_array_push(x_1347, x_1198); +x_1349 = lean_array_push(x_1348, x_1206); +x_1350 = lean_array_push(x_1349, x_1206); +x_1351 = lean_array_push(x_1350, x_1206); +x_1352 = lean_array_push(x_1351, x_1206); +x_1353 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_1354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1354, 0, x_1353); +lean_ctor_set(x_1354, 1, x_1352); +x_1355 = lean_array_push(x_1178, x_1354); +x_1356 = lean_array_push(x_1355, x_1329); +x_1357 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1359, 0, x_1358); +lean_ctor_set(x_1359, 1, x_1166); +return x_1359; } } } } } } +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid elab_rules command, specify category using `elab_rules : ...`"); +return x_1; } -static lean_object* _init_l_Lean_Elab_Command_expandElab___boxed__const__1() { +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1() { _start: { size_t x_1; lean_object* x_2; @@ -39810,1407 +42124,2321 @@ x_2 = lean_box_usize(x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_expandElab(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_elabElabRulesAux(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) { _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_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; -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Lean_Syntax_getArg(x_2, x_6); -x_8 = lean_unsigned_to_nat(2u); -x_9 = l_Lean_Syntax_getArg(x_2, x_8); -x_10 = l_Lean_Syntax_getOptional_x3f(x_9); -lean_dec(x_9); -x_386 = lean_unsigned_to_nat(3u); -x_387 = l_Lean_Syntax_getArg(x_2, x_386); -x_388 = lean_st_ref_get(x_4, x_5); -x_389 = lean_ctor_get(x_388, 0); -lean_inc(x_389); -x_390 = lean_ctor_get(x_388, 1); -lean_inc(x_390); -lean_dec(x_388); -x_391 = lean_ctor_get(x_389, 0); -lean_inc(x_391); -lean_dec(x_389); -x_392 = l_Lean_Elab_Command_getScope___rarg(x_4, x_390); -x_393 = lean_ctor_get(x_392, 0); -lean_inc(x_393); -x_394 = lean_ctor_get(x_392, 1); -lean_inc(x_394); -lean_dec(x_392); -x_395 = lean_ctor_get(x_393, 2); -lean_inc(x_395); -lean_dec(x_393); -x_396 = l_Lean_Elab_Command_getScope___rarg(x_4, x_394); -x_397 = lean_ctor_get(x_396, 0); -lean_inc(x_397); -x_398 = lean_ctor_get(x_396, 1); -lean_inc(x_398); -lean_dec(x_396); -x_399 = lean_ctor_get(x_397, 3); -lean_inc(x_399); -lean_dec(x_397); -lean_inc(x_391); -x_400 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_400, 0, x_391); -lean_inc(x_395); -x_401 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_401, 0, x_395); -lean_inc(x_391); -x_402 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_402, 0, x_391); -lean_inc(x_399); -lean_inc(x_395); -lean_inc(x_391); -x_403 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_403, 0, x_391); -lean_closure_set(x_403, 1, x_395); -lean_closure_set(x_403, 2, x_399); -lean_inc(x_391); -x_404 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_404, 0, x_391); -lean_closure_set(x_404, 1, x_395); -lean_closure_set(x_404, 2, x_399); -x_405 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_405, 0, x_400); -lean_ctor_set(x_405, 1, x_401); -lean_ctor_set(x_405, 2, x_402); -lean_ctor_set(x_405, 3, x_403); -lean_ctor_set(x_405, 4, x_404); -x_406 = x_405; -x_407 = l_Lean_Elab_Command_getRef(x_3, x_4, x_398); -x_408 = lean_ctor_get(x_407, 0); -lean_inc(x_408); -x_409 = lean_ctor_get(x_407, 1); -lean_inc(x_409); -lean_dec(x_407); -x_410 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_409); -x_411 = lean_ctor_get(x_410, 0); -lean_inc(x_411); -x_412 = lean_ctor_get(x_410, 1); -lean_inc(x_412); -lean_dec(x_410); -x_413 = lean_ctor_get(x_3, 2); -lean_inc(x_413); -x_414 = lean_st_ref_get(x_4, x_412); -x_415 = lean_ctor_get(x_414, 0); -lean_inc(x_415); -x_416 = lean_ctor_get(x_414, 1); -lean_inc(x_416); -lean_dec(x_414); -x_417 = lean_ctor_get(x_415, 4); -lean_inc(x_417); -lean_dec(x_415); -x_418 = lean_st_ref_get(x_4, x_416); -x_419 = lean_ctor_get(x_418, 0); -lean_inc(x_419); -x_420 = lean_ctor_get(x_418, 1); -lean_inc(x_420); -lean_dec(x_418); -x_421 = lean_ctor_get(x_419, 3); -lean_inc(x_421); -lean_dec(x_419); -x_422 = lean_environment_main_module(x_391); -x_423 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_423, 0, x_406); -lean_ctor_set(x_423, 1, x_422); -lean_ctor_set(x_423, 2, x_411); -lean_ctor_set(x_423, 3, x_413); -lean_ctor_set(x_423, 4, x_417); -lean_ctor_set(x_423, 5, x_408); -x_424 = lean_box(0); -x_425 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_425, 0, x_421); -lean_ctor_set(x_425, 1, x_424); -x_426 = l_Lean_Elab_expandOptNamedName(x_387, x_423, x_425); -lean_dec(x_423); -lean_dec(x_387); -if (lean_obj_tag(x_426) == 0) -{ -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; -x_427 = lean_ctor_get(x_426, 0); -lean_inc(x_427); -x_428 = lean_ctor_get(x_426, 1); -lean_inc(x_428); -lean_dec(x_426); -x_429 = lean_ctor_get(x_428, 0); -lean_inc(x_429); -x_430 = lean_st_ref_take(x_4, x_420); -x_431 = lean_ctor_get(x_430, 0); -lean_inc(x_431); -x_432 = lean_ctor_get(x_430, 1); -lean_inc(x_432); -lean_dec(x_430); -x_433 = !lean_is_exclusive(x_431); -if (x_433 == 0) -{ -lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; -x_434 = lean_ctor_get(x_431, 3); -lean_dec(x_434); -lean_ctor_set(x_431, 3, x_429); -x_435 = lean_st_ref_set(x_4, x_431, x_432); -x_436 = lean_ctor_get(x_435, 1); -lean_inc(x_436); -lean_dec(x_435); -x_437 = lean_ctor_get(x_428, 1); -lean_inc(x_437); -lean_dec(x_428); -x_438 = l_List_reverse___rarg(x_437); -x_439 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_438, x_3, x_4, x_436); -x_440 = lean_ctor_get(x_439, 1); -lean_inc(x_440); -lean_dec(x_439); -x_11 = x_427; -x_12 = x_440; -goto block_385; -} -else -{ -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; -x_441 = lean_ctor_get(x_431, 0); -x_442 = lean_ctor_get(x_431, 1); -x_443 = lean_ctor_get(x_431, 2); -x_444 = lean_ctor_get(x_431, 4); -x_445 = lean_ctor_get(x_431, 5); -x_446 = lean_ctor_get(x_431, 6); -x_447 = lean_ctor_get(x_431, 7); -x_448 = lean_ctor_get(x_431, 8); -lean_inc(x_448); -lean_inc(x_447); -lean_inc(x_446); -lean_inc(x_445); -lean_inc(x_444); -lean_inc(x_443); -lean_inc(x_442); -lean_inc(x_441); -lean_dec(x_431); -x_449 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_449, 0, x_441); -lean_ctor_set(x_449, 1, x_442); -lean_ctor_set(x_449, 2, x_443); -lean_ctor_set(x_449, 3, x_429); -lean_ctor_set(x_449, 4, x_444); -lean_ctor_set(x_449, 5, x_445); -lean_ctor_set(x_449, 6, x_446); -lean_ctor_set(x_449, 7, x_447); -lean_ctor_set(x_449, 8, x_448); -x_450 = lean_st_ref_set(x_4, x_449, x_432); -x_451 = lean_ctor_get(x_450, 1); -lean_inc(x_451); -lean_dec(x_450); -x_452 = lean_ctor_get(x_428, 1); -lean_inc(x_452); -lean_dec(x_428); -x_453 = l_List_reverse___rarg(x_452); -x_454 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_453, x_3, x_4, x_451); -x_455 = lean_ctor_get(x_454, 1); -lean_inc(x_455); -lean_dec(x_454); -x_11 = x_427; -x_12 = x_455; -goto block_385; -} -} -else -{ -lean_object* x_456; uint8_t x_457; -lean_dec(x_426); +lean_object* x_10; size_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = lean_array_get_size(x_6); +x_11 = lean_usize_of_nat(x_10); lean_dec(x_10); -lean_dec(x_7); +x_12 = x_6; +x_13 = lean_box_usize(x_11); +x_14 = l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1; +lean_inc(x_3); +x_15 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___boxed), 7, 4); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, x_13); +lean_closure_set(x_15, 2, x_14); +lean_closure_set(x_15, 3, x_12); +x_16 = x_15; +lean_inc(x_8); +lean_inc(x_7); +x_17 = lean_apply_3(x_16, x_7, x_8, x_9); +if (lean_obj_tag(x_17) == 0) +{ +if (lean_obj_tag(x_4) == 0) +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_dec(x_3); -x_456 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__6___rarg(x_420); -x_457 = !lean_is_exclusive(x_456); -if (x_457 == 0) -{ -return x_456; -} -else -{ -lean_object* x_458; lean_object* x_459; lean_object* x_460; -x_458 = lean_ctor_get(x_456, 0); -x_459 = lean_ctor_get(x_456, 1); -lean_inc(x_459); -lean_inc(x_458); -lean_dec(x_456); -x_460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_460, 0, x_458); -lean_ctor_set(x_460, 1, x_459); -return x_460; -} -} -block_385: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 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; -x_13 = lean_unsigned_to_nat(4u); -x_14 = l_Lean_Syntax_getArg(x_2, x_13); -x_302 = lean_st_ref_get(x_4, x_12); -x_303 = lean_ctor_get(x_302, 0); -lean_inc(x_303); -x_304 = lean_ctor_get(x_302, 1); -lean_inc(x_304); -lean_dec(x_302); -x_305 = lean_ctor_get(x_303, 0); -lean_inc(x_305); -lean_dec(x_303); -x_306 = l_Lean_Elab_Command_getScope___rarg(x_4, x_304); -x_307 = lean_ctor_get(x_306, 0); -lean_inc(x_307); -x_308 = lean_ctor_get(x_306, 1); -lean_inc(x_308); -lean_dec(x_306); -x_309 = lean_ctor_get(x_307, 2); -lean_inc(x_309); -lean_dec(x_307); -x_310 = l_Lean_Elab_Command_getScope___rarg(x_4, x_308); -x_311 = lean_ctor_get(x_310, 0); -lean_inc(x_311); -x_312 = lean_ctor_get(x_310, 1); -lean_inc(x_312); -lean_dec(x_310); -x_313 = lean_ctor_get(x_311, 3); -lean_inc(x_313); -lean_dec(x_311); -lean_inc(x_305); -x_314 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_314, 0, x_305); -lean_inc(x_309); -x_315 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_315, 0, x_309); -lean_inc(x_305); -x_316 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_316, 0, x_305); -lean_inc(x_313); -lean_inc(x_309); -lean_inc(x_305); -x_317 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_317, 0, x_305); -lean_closure_set(x_317, 1, x_309); -lean_closure_set(x_317, 2, x_313); -lean_inc(x_305); -x_318 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_318, 0, x_305); -lean_closure_set(x_318, 1, x_309); -lean_closure_set(x_318, 2, x_313); -x_319 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_319, 0, x_314); -lean_ctor_set(x_319, 1, x_315); -lean_ctor_set(x_319, 2, x_316); -lean_ctor_set(x_319, 3, x_317); -lean_ctor_set(x_319, 4, x_318); -x_320 = x_319; -x_321 = l_Lean_Elab_Command_getRef(x_3, x_4, x_312); -x_322 = lean_ctor_get(x_321, 0); -lean_inc(x_322); -x_323 = lean_ctor_get(x_321, 1); -lean_inc(x_323); -lean_dec(x_321); -x_324 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_323); -x_325 = lean_ctor_get(x_324, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_324, 1); -lean_inc(x_326); -lean_dec(x_324); -x_327 = lean_ctor_get(x_3, 2); -lean_inc(x_327); -x_328 = lean_st_ref_get(x_4, x_326); -x_329 = lean_ctor_get(x_328, 0); -lean_inc(x_329); -x_330 = lean_ctor_get(x_328, 1); -lean_inc(x_330); -lean_dec(x_328); -x_331 = lean_ctor_get(x_329, 4); -lean_inc(x_331); -lean_dec(x_329); -x_332 = lean_st_ref_get(x_4, x_330); -x_333 = lean_ctor_get(x_332, 0); -lean_inc(x_333); -x_334 = lean_ctor_get(x_332, 1); -lean_inc(x_334); -lean_dec(x_332); -x_335 = lean_ctor_get(x_333, 3); -lean_inc(x_335); -lean_dec(x_333); -x_336 = lean_environment_main_module(x_305); -x_337 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_337, 0, x_320); -lean_ctor_set(x_337, 1, x_336); -lean_ctor_set(x_337, 2, x_325); -lean_ctor_set(x_337, 3, x_327); -lean_ctor_set(x_337, 4, x_331); -lean_ctor_set(x_337, 5, x_322); -x_338 = lean_box(0); -x_339 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_339, 0, x_335); -lean_ctor_set(x_339, 1, x_338); -x_340 = l_Lean_Elab_expandOptNamedPrio(x_14, x_337, x_339); -lean_dec(x_14); -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; uint8_t x_347; -x_341 = lean_ctor_get(x_340, 0); -lean_inc(x_341); -x_342 = lean_ctor_get(x_340, 1); -lean_inc(x_342); -lean_dec(x_340); -x_343 = lean_ctor_get(x_342, 0); -lean_inc(x_343); -x_344 = lean_st_ref_take(x_4, x_334); -x_345 = lean_ctor_get(x_344, 0); -lean_inc(x_345); -x_346 = lean_ctor_get(x_344, 1); -lean_inc(x_346); -lean_dec(x_344); -x_347 = !lean_is_exclusive(x_345); -if (x_347 == 0) -{ -lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -x_348 = lean_ctor_get(x_345, 3); -lean_dec(x_348); -lean_ctor_set(x_345, 3, x_343); -x_349 = lean_st_ref_set(x_4, x_345, x_346); -x_350 = lean_ctor_get(x_349, 1); -lean_inc(x_350); -lean_dec(x_349); -x_351 = lean_ctor_get(x_342, 1); -lean_inc(x_351); -lean_dec(x_342); -x_352 = l_List_reverse___rarg(x_351); -x_353 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_352, x_3, x_4, x_350); -x_354 = lean_ctor_get(x_353, 1); -lean_inc(x_354); -lean_dec(x_353); -x_15 = x_341; -x_16 = x_354; -goto block_301; -} -else -{ -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; -x_355 = lean_ctor_get(x_345, 0); -x_356 = lean_ctor_get(x_345, 1); -x_357 = lean_ctor_get(x_345, 2); -x_358 = lean_ctor_get(x_345, 4); -x_359 = lean_ctor_get(x_345, 5); -x_360 = lean_ctor_get(x_345, 6); -x_361 = lean_ctor_get(x_345, 7); -x_362 = lean_ctor_get(x_345, 8); -lean_inc(x_362); -lean_inc(x_361); -lean_inc(x_360); -lean_inc(x_359); -lean_inc(x_358); -lean_inc(x_357); -lean_inc(x_356); -lean_inc(x_355); -lean_dec(x_345); -x_363 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_363, 0, x_355); -lean_ctor_set(x_363, 1, x_356); -lean_ctor_set(x_363, 2, x_357); -lean_ctor_set(x_363, 3, x_343); -lean_ctor_set(x_363, 4, x_358); -lean_ctor_set(x_363, 5, x_359); -lean_ctor_set(x_363, 6, x_360); -lean_ctor_set(x_363, 7, x_361); -lean_ctor_set(x_363, 8, x_362); -x_364 = lean_st_ref_set(x_4, x_363, x_346); -x_365 = lean_ctor_get(x_364, 1); -lean_inc(x_365); -lean_dec(x_364); -x_366 = lean_ctor_get(x_342, 1); -lean_inc(x_366); -lean_dec(x_342); -x_367 = l_List_reverse___rarg(x_366); -x_368 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_367, x_3, x_4, x_365); -x_369 = lean_ctor_get(x_368, 1); -lean_inc(x_369); -lean_dec(x_368); -x_15 = x_341; -x_16 = x_369; -goto block_301; -} -} -else -{ -lean_object* x_370; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_7); -x_370 = lean_ctor_get(x_340, 0); -lean_inc(x_370); -lean_dec(x_340); -if (lean_obj_tag(x_370) == 0) -{ -lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; uint8_t x_376; -x_371 = lean_ctor_get(x_370, 0); -lean_inc(x_371); -x_372 = lean_ctor_get(x_370, 1); -lean_inc(x_372); -lean_dec(x_370); -x_373 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_373, 0, x_372); -x_374 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_374, 0, x_373); -x_375 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_371, x_374, x_3, x_4, x_334); -lean_dec(x_371); -x_376 = !lean_is_exclusive(x_375); -if (x_376 == 0) -{ -return x_375; -} -else -{ -lean_object* x_377; lean_object* x_378; lean_object* x_379; -x_377 = lean_ctor_get(x_375, 0); -x_378 = lean_ctor_get(x_375, 1); -lean_inc(x_378); -lean_inc(x_377); -lean_dec(x_375); -x_379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_379, 0, x_377); -lean_ctor_set(x_379, 1, x_378); -return x_379; -} -} -else -{ -lean_object* x_380; uint8_t x_381; -lean_dec(x_3); -x_380 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_334); -x_381 = !lean_is_exclusive(x_380); -if (x_381 == 0) -{ -return x_380; -} -else -{ -lean_object* x_382; lean_object* x_383; lean_object* x_384; -x_382 = lean_ctor_get(x_380, 0); -x_383 = lean_ctor_get(x_380, 1); -lean_inc(x_383); -lean_inc(x_382); -lean_dec(x_380); -x_384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_384, 0, x_382); -lean_ctor_set(x_384, 1, x_383); -return x_384; -} -} -} -block_301: -{ -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_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; -x_17 = lean_unsigned_to_nat(5u); -x_18 = l_Lean_Syntax_getArg(x_2, x_17); -x_19 = lean_unsigned_to_nat(6u); -x_20 = l_Lean_Syntax_getArg(x_2, x_19); -x_21 = l_Lean_Syntax_getArgs(x_20); -lean_dec(x_20); -x_22 = lean_unsigned_to_nat(8u); -x_23 = l_Lean_Syntax_getArg(x_2, x_22); -x_24 = lean_unsigned_to_nat(9u); -x_25 = l_Lean_Syntax_getArg(x_2, x_24); -x_26 = lean_unsigned_to_nat(11u); -x_27 = l_Lean_Syntax_getArg(x_2, x_26); -x_28 = l_Lean_Syntax_getId(x_23); -x_218 = lean_st_ref_get(x_4, x_16); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_ctor_get(x_219, 0); -lean_inc(x_221); -lean_dec(x_219); -x_222 = l_Lean_Elab_Command_getScope___rarg(x_4, x_220); -x_223 = lean_ctor_get(x_222, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_222, 1); -lean_inc(x_224); -lean_dec(x_222); -x_225 = lean_ctor_get(x_223, 2); -lean_inc(x_225); -lean_dec(x_223); -x_226 = l_Lean_Elab_Command_getScope___rarg(x_4, x_224); -x_227 = lean_ctor_get(x_226, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_226, 1); -lean_inc(x_228); -lean_dec(x_226); -x_229 = lean_ctor_get(x_227, 3); -lean_inc(x_229); -lean_dec(x_227); -lean_inc(x_221); -x_230 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_230, 0, x_221); -lean_inc(x_225); -x_231 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_231, 0, x_225); -lean_inc(x_221); -x_232 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_232, 0, x_221); -lean_inc(x_229); -lean_inc(x_225); -lean_inc(x_221); -x_233 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_233, 0, x_221); -lean_closure_set(x_233, 1, x_225); -lean_closure_set(x_233, 2, x_229); -lean_inc(x_221); -x_234 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_234, 0, x_221); -lean_closure_set(x_234, 1, x_225); -lean_closure_set(x_234, 2, x_229); -x_235 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_235, 0, x_230); -lean_ctor_set(x_235, 1, x_231); -lean_ctor_set(x_235, 2, x_232); -lean_ctor_set(x_235, 3, x_233); -lean_ctor_set(x_235, 4, x_234); -x_236 = x_235; -x_237 = l_Lean_Elab_Command_getRef(x_3, x_4, x_228); -x_238 = lean_ctor_get(x_237, 0); -lean_inc(x_238); -x_239 = lean_ctor_get(x_237, 1); -lean_inc(x_239); -lean_dec(x_237); -x_240 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, 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); -lean_dec(x_240); -x_243 = lean_ctor_get(x_3, 2); -lean_inc(x_243); -x_244 = lean_st_ref_get(x_4, x_242); -x_245 = lean_ctor_get(x_244, 0); -lean_inc(x_245); -x_246 = lean_ctor_get(x_244, 1); -lean_inc(x_246); -lean_dec(x_244); -x_247 = lean_ctor_get(x_245, 4); -lean_inc(x_247); -lean_dec(x_245); -x_248 = lean_st_ref_get(x_4, x_246); -x_249 = lean_ctor_get(x_248, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_248, 1); -lean_inc(x_250); -lean_dec(x_248); -x_251 = lean_ctor_get(x_249, 3); -lean_inc(x_251); -lean_dec(x_249); -x_252 = lean_environment_main_module(x_221); -x_253 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_253, 0, x_236); -lean_ctor_set(x_253, 1, x_252); -lean_ctor_set(x_253, 2, x_241); -lean_ctor_set(x_253, 3, x_243); -lean_ctor_set(x_253, 4, x_247); -lean_ctor_set(x_253, 5, x_238); -x_254 = lean_box(0); -x_255 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_255, 0, x_251); -lean_ctor_set(x_255, 1, x_254); +lean_dec(x_1); +x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); -x_256 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_18, x_253, x_255); -lean_dec(x_253); -if (lean_obj_tag(x_256) == 0) +lean_dec(x_17); +x_19 = l_Lean_Elab_Command_elabElabRulesAux___closed__2; +x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__2(x_19, x_7, x_8, x_18); +lean_dec(x_8); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) { -lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; uint8_t x_263; -x_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -x_258 = lean_ctor_get(x_256, 1); -lean_inc(x_258); -lean_dec(x_256); -x_259 = lean_ctor_get(x_258, 0); -lean_inc(x_259); -x_260 = lean_st_ref_take(x_4, x_250); -x_261 = lean_ctor_get(x_260, 0); -lean_inc(x_261); -x_262 = lean_ctor_get(x_260, 1); -lean_inc(x_262); -lean_dec(x_260); -x_263 = !lean_is_exclusive(x_261); -if (x_263 == 0) -{ -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_264 = lean_ctor_get(x_261, 3); -lean_dec(x_264); -lean_ctor_set(x_261, 3, x_259); -x_265 = lean_st_ref_set(x_4, x_261, x_262); -x_266 = lean_ctor_get(x_265, 1); -lean_inc(x_266); -lean_dec(x_265); -x_267 = lean_ctor_get(x_258, 1); -lean_inc(x_267); -lean_dec(x_258); -x_268 = l_List_reverse___rarg(x_267); -x_269 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_268, x_3, x_4, x_266); -x_270 = lean_ctor_get(x_269, 1); -lean_inc(x_270); -lean_dec(x_269); -x_29 = x_257; -x_30 = x_270; -goto block_217; +return x_20; } else { -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; -x_271 = lean_ctor_get(x_261, 0); -x_272 = lean_ctor_get(x_261, 1); -x_273 = lean_ctor_get(x_261, 2); -x_274 = lean_ctor_get(x_261, 4); -x_275 = lean_ctor_get(x_261, 5); -x_276 = lean_ctor_get(x_261, 6); -x_277 = lean_ctor_get(x_261, 7); -x_278 = lean_ctor_get(x_261, 8); -lean_inc(x_278); -lean_inc(x_277); -lean_inc(x_276); -lean_inc(x_275); -lean_inc(x_274); -lean_inc(x_273); -lean_inc(x_272); -lean_inc(x_271); -lean_dec(x_261); -x_279 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_279, 0, x_271); -lean_ctor_set(x_279, 1, x_272); -lean_ctor_set(x_279, 2, x_273); -lean_ctor_set(x_279, 3, x_259); -lean_ctor_set(x_279, 4, x_274); -lean_ctor_set(x_279, 5, x_275); -lean_ctor_set(x_279, 6, x_276); -lean_ctor_set(x_279, 7, x_277); -lean_ctor_set(x_279, 8, x_278); -x_280 = lean_st_ref_set(x_4, x_279, x_262); -x_281 = lean_ctor_get(x_280, 1); -lean_inc(x_281); -lean_dec(x_280); -x_282 = lean_ctor_get(x_258, 1); -lean_inc(x_282); -lean_dec(x_258); -x_283 = l_List_reverse___rarg(x_282); -x_284 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_283, x_3, x_4, x_281); -x_285 = lean_ctor_get(x_284, 1); -lean_inc(x_285); -lean_dec(x_284); -x_29 = x_257; -x_30 = x_285; -goto block_217; +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } else { -lean_object* x_286; -lean_dec(x_28); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_17, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_17, 1); +lean_inc(x_26); +lean_dec(x_17); +x_27 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__3; +x_28 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1(x_5, x_3, x_25, x_1, x_27, x_7, x_8, x_26); +lean_dec(x_8); +lean_dec(x_25); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_17, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_17, 1); +lean_inc(x_30); +lean_dec(x_17); +x_31 = lean_ctor_get(x_4, 0); +x_32 = l_Lean_Syntax_getId(x_31); +x_33 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1(x_5, x_3, x_29, x_1, x_32, x_7, x_8, x_30); +lean_dec(x_8); +lean_dec(x_29); +return x_33; +} +} +else +{ +uint8_t x_34; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_17); +if (x_34 == 0) +{ +return x_17; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_17, 0); +x_36 = lean_ctor_get(x_17, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_17); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__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: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__1(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___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, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +return x_11; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +lean_dec(x_6); +return x_10; +} +} +lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3___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_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Elab_Command_elabElabRulesAux___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Command_elabElabRulesAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___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) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_unsigned_to_nat(6u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +x_15 = lean_name_mk_string(x_2, x_14); +lean_inc(x_13); +x_16 = l_Lean_Syntax_isOfKind(x_13, x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_11); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Syntax_getArg(x_13, x_18); +lean_dec(x_13); +x_20 = l_Lean_Syntax_getArgs(x_19); +lean_dec(x_19); +x_21 = l_Lean_Syntax_getId(x_3); +lean_inc(x_9); +x_22 = l_Lean_Elab_Command_resolveSyntaxKind(x_21, x_9, x_10, x_11); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Elab_Command_elabElabRulesAux(x_4, x_5, x_23, x_6, x_8, x_20, x_9, x_10, x_24); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_20); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +x_26 = !lean_is_exclusive(x_22); +if (x_26 == 0) +{ +return x_22; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_22, 0); +x_28 = lean_ctor_get(x_22, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_22); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_unsigned_to_nat(5u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_isNone(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_nullKind; +x_15 = lean_unsigned_to_nat(2u); +lean_inc(x_12); +x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_2); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_unsigned_to_nat(1u); +x_19 = l_Lean_Syntax_getArg(x_12, x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_box(0); +x_22 = l_Lean_Elab_Command_elabElabRules___lambda__1(x_1, x_2, x_3, x_4, x_5, x_7, x_21, x_20, x_8, x_9, x_10); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_12); +x_23 = lean_box(0); +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Command_elabElabRules___lambda__1(x_1, x_2, x_3, x_4, x_5, x_7, x_24, x_23, x_8, x_9, x_10); +return x_25; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elab_rules"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(7u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("<="); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +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_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(x_9, x_10, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Elab_Command_getCurrMacroScope(x_9, x_10, x_14); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = l_Lean_Elab_Command_getMainModule___rarg(x_10, x_16); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_19 = x_17; +} else { + lean_dec_ref(x_17); + x_19 = lean_box(0); +} +x_20 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; +lean_inc(x_13); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_13); +lean_ctor_set(x_21, 1, x_20); +x_22 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_23 = l_Array_append___rarg(x_22, x_8); +x_24 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +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_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_27 = lean_array_push(x_26, x_25); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_1); +lean_ctor_set(x_28, 1, x_27); +if (lean_obj_tag(x_6) == 0) +{ +x_29 = x_22; +goto block_85; +} +else +{ +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_6, 0); +lean_inc(x_86); +lean_dec(x_6); +x_87 = lean_array_push(x_26, x_86); +x_29 = x_87; +goto block_85; +} +block_85: +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_30 = l_Array_append___rarg(x_22, x_29); +lean_dec(x_29); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_24); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; +x_33 = lean_array_push(x_32, x_31); +x_34 = lean_array_push(x_33, x_2); +x_35 = lean_array_push(x_34, x_21); +if (lean_obj_tag(x_7) == 0) +{ +x_36 = x_22; +goto block_68; +} +else +{ +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; +x_69 = lean_ctor_get(x_7, 0); +lean_inc(x_69); +lean_dec(x_7); +x_70 = lean_mk_syntax_ident(x_69); +x_71 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; +lean_inc(x_13); +x_72 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_72, 0, x_13); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; +lean_inc(x_13); +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_13); +lean_ctor_set(x_74, 1, x_73); +x_75 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_13); +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_13); +lean_ctor_set(x_76, 1, x_75); +x_77 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; +lean_inc(x_13); +x_78 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_78, 0, x_13); +lean_ctor_set(x_78, 1, x_77); +x_79 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +x_80 = lean_array_push(x_79, x_72); +x_81 = lean_array_push(x_80, x_74); +x_82 = lean_array_push(x_81, x_76); +x_83 = lean_array_push(x_82, x_70); +x_84 = lean_array_push(x_83, x_78); +x_36 = x_84; +goto block_68; +} +block_68: +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = l_Array_append___rarg(x_22, x_36); +lean_dec(x_36); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_24); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_array_push(x_35, x_38); +if (lean_obj_tag(x_5) == 0) +{ +x_40 = x_22; +goto block_61; +} +else +{ +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_62 = lean_ctor_get(x_5, 0); +lean_inc(x_62); +lean_dec(x_5); +x_63 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_13); +x_64 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_64, 0, x_13); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_66 = lean_array_push(x_65, x_64); +x_67 = lean_array_push(x_66, x_62); +x_40 = x_67; +goto block_61; +} +block_61: +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = l_Array_append___rarg(x_22, x_40); +lean_dec(x_40); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_24); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_array_push(x_39, x_42); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_13); +x_44 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; +x_45 = lean_array_push(x_43, x_44); +x_46 = lean_array_push(x_45, x_28); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_4); +lean_ctor_set(x_47, 1, x_46); +if (lean_is_scalar(x_19)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_19; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_18); +return x_48; +} +else +{ +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_49 = lean_ctor_get(x_3, 0); +lean_inc(x_49); +lean_dec(x_3); +x_50 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_13); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_53 = lean_array_push(x_52, x_51); +x_54 = lean_array_push(x_53, x_49); +x_55 = l_Array_append___rarg(x_22, x_54); +lean_dec(x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_24); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_array_push(x_43, x_56); +x_58 = lean_array_push(x_57, x_28); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_4); +lean_ctor_set(x_59, 1, x_58); +if (lean_is_scalar(x_19)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_19; +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_18); +return x_60; +} +} +} +} +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4(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) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_unsigned_to_nat(6u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +x_15 = lean_name_mk_string(x_2, x_14); +lean_inc(x_13); +x_16 = l_Lean_Syntax_isOfKind(x_13, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_11); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Syntax_getArg(x_13, x_18); +lean_dec(x_13); +x_20 = l_Lean_Syntax_getArgs(x_19); +lean_dec(x_19); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRules___lambda__3___boxed), 11, 6); +lean_closure_set(x_21, 0, x_15); +lean_closure_set(x_21, 1, x_3); +lean_closure_set(x_21, 2, x_8); +lean_closure_set(x_21, 3, x_4); +lean_closure_set(x_21, 4, x_5); +lean_closure_set(x_21, 5, x_6); +x_22 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; +x_23 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux(x_20, x_22, x_21, x_9, x_10, x_11); +lean_dec(x_20); +return x_23; +} +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5(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) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_unsigned_to_nat(5u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_isNone(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_nullKind; +x_15 = lean_unsigned_to_nat(2u); +lean_inc(x_12); +x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_unsigned_to_nat(1u); +x_19 = l_Lean_Syntax_getArg(x_12, x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_box(0); +x_22 = l_Lean_Elab_Command_elabElabRules___lambda__4(x_1, x_2, x_3, x_4, x_7, x_5, x_21, x_20, x_8, x_9, x_10); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_12); +x_23 = lean_box(0); +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Command_elabElabRules___lambda__4(x_1, x_2, x_3, x_4, x_7, x_5, x_24, x_23, x_8, x_9, x_10); +return x_25; +} +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6(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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_9 = lean_unsigned_to_nat(1u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; +x_12 = lean_name_mk_string(x_2, x_11); +x_13 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; +lean_inc(x_12); +x_14 = lean_name_mk_string(x_12, x_13); +lean_inc(x_10); +x_15 = l_Lean_Syntax_isOfKind(x_10, x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_16 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_8); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_unsigned_to_nat(3u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = l_Lean_nullKind; +x_20 = lean_unsigned_to_nat(0u); +lean_inc(x_18); +x_21 = l_Lean_Syntax_isNodeOf(x_18, x_19, x_20); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +lean_dec(x_3); +x_22 = lean_unsigned_to_nat(5u); +lean_inc(x_18); +x_23 = l_Lean_Syntax_isNodeOf(x_18, x_19, x_22); +if (x_23 == 0) +{ +lean_object* x_24; +lean_dec(x_18); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_24 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_8); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = l_Lean_Syntax_getArg(x_18, x_17); +lean_dec(x_18); +x_26 = lean_unsigned_to_nat(4u); +x_27 = l_Lean_Syntax_getArg(x_1, x_26); +x_28 = l_Lean_Syntax_isNone(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_unsigned_to_nat(2u); +lean_inc(x_27); +x_30 = l_Lean_Syntax_isNodeOf(x_27, x_19, x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_dec(x_27); lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_21); -lean_dec(x_18); -lean_dec(x_15); -lean_dec(x_11); +lean_dec(x_12); lean_dec(x_10); lean_dec(x_7); -x_286 = lean_ctor_get(x_256, 0); -lean_inc(x_286); -lean_dec(x_256); -if (lean_obj_tag(x_286) == 0) -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; uint8_t x_292; -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_alloc_ctor(2, 1, 0); -lean_ctor_set(x_289, 0, x_288); -x_290 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_290, 0, x_289); -x_291 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9(x_287, x_290, x_3, x_4, x_250); -lean_dec(x_287); -x_292 = !lean_is_exclusive(x_291); -if (x_292 == 0) -{ -return x_291; +lean_dec(x_6); +lean_dec(x_5); +x_31 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_8); +return x_31; } else { -lean_object* x_293; lean_object* x_294; lean_object* x_295; -x_293 = lean_ctor_get(x_291, 0); -x_294 = lean_ctor_get(x_291, 1); -lean_inc(x_294); -lean_inc(x_293); -lean_dec(x_291); -x_295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_295, 0, x_293); -lean_ctor_set(x_295, 1, x_294); -return x_295; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = l_Lean_Syntax_getArg(x_27, x_9); +lean_dec(x_27); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_box(0); +x_35 = l_Lean_Elab_Command_elabElabRules___lambda__2(x_1, x_12, x_25, x_5, x_10, x_34, x_33, x_6, x_7, x_8); +lean_dec(x_33); +lean_dec(x_10); +lean_dec(x_25); +return x_35; } } else { -lean_object* x_296; uint8_t x_297; +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_27); +x_36 = lean_box(0); +x_37 = lean_box(0); +x_38 = l_Lean_Elab_Command_elabElabRules___lambda__2(x_1, x_12, x_25, x_5, x_10, x_37, x_36, x_6, x_7, x_8); +lean_dec(x_10); +lean_dec(x_25); +return x_38; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_dec(x_18); +x_39 = lean_unsigned_to_nat(4u); +x_40 = l_Lean_Syntax_getArg(x_1, x_39); +x_41 = l_Lean_Syntax_isNone(x_40); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_43; +x_42 = lean_unsigned_to_nat(2u); +lean_inc(x_40); +x_43 = l_Lean_Syntax_isNodeOf(x_40, x_19, x_42); +if (x_43 == 0) +{ +lean_object* x_44; +lean_dec(x_40); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); -x_296 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__11___rarg(x_250); -x_297 = !lean_is_exclusive(x_296); -if (x_297 == 0) -{ -return x_296; +x_44 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_8); +return x_44; } else { -lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_298 = lean_ctor_get(x_296, 0); -x_299 = lean_ctor_get(x_296, 1); -lean_inc(x_299); -lean_inc(x_298); -lean_dec(x_296); -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_298); -lean_ctor_set(x_300, 1, x_299); -return x_300; +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = l_Lean_Syntax_getArg(x_40, x_9); +lean_dec(x_40); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +x_47 = lean_box(0); +x_48 = l_Lean_Elab_Command_elabElabRules___lambda__5(x_1, x_12, x_10, x_3, x_5, x_47, x_46, x_6, x_7, x_8); +return x_48; } } -} -block_217: +else { -lean_object* x_31; size_t x_32; size_t 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_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; 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; -x_31 = lean_array_get_size(x_21); -x_32 = lean_usize_of_nat(x_31); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_40); +x_49 = lean_box(0); +x_50 = lean_box(0); +x_51 = l_Lean_Elab_Command_elabElabRules___lambda__5(x_1, x_12, x_10, x_3, x_5, x_50, x_49, x_6, x_7, x_8); +return x_51; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_2 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; +lean_inc(x_1); +x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_nullKind; +x_12 = lean_unsigned_to_nat(1u); +lean_inc(x_9); +x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_16 = l_Lean_Elab_Command_elabSyntax___closed__4; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_15); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_4); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_15); +x_20 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_21 = lean_box(0); +x_22 = l_Lean_Elab_Command_elabElabRules___lambda__6(x_1, x_20, x_5, x_21, x_19, x_2, x_3, x_4); +lean_dec(x_1); +return x_22; +} +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_9); +x_23 = lean_box(0); +x_24 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_25 = lean_box(0); +x_26 = l_Lean_Elab_Command_elabElabRules___lambda__6(x_1, x_24, x_5, x_25, x_23, x_2, x_3, x_4); +lean_dec(x_1); +return x_26; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRules___lambda__7), 4, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules(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_Command_elabElabRules___closed__1; +x_6 = l_Lean_Elab_Command_adaptExpander(x_5, x_1, x_2, x_3, x_4); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_elabElabRules___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_elabElabRules___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_elabElabRules___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_elabElabRules___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_7); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Command_elabElabRules___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_6); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Command_elabElabRules___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_4); +lean_dec(x_1); +return x_9; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabElabRules"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; +x_2 = l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElabRules), 4, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Command_commandElabAttribute; +x_3 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; +x_4 = l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__1(lean_object* x_1, size_t x_2, size_t 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) { +_start: +{ +lean_object* x_21; +lean_inc(x_19); +x_21 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_1, x_19, x_20); +if (lean_obj_tag(x_21) == 0) +{ +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_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_box_usize(x_2); +x_25 = lean_box_usize(x_3); +x_26 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed), 5, 3); +lean_closure_set(x_26, 0, x_24); +lean_closure_set(x_26, 1, x_25); +lean_closure_set(x_26, 2, x_4); +x_27 = x_26; +lean_inc(x_19); +x_28 = lean_apply_2(x_27, x_19, x_23); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +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); +lean_inc(x_19); +x_31 = l_Lean_Macro_getCurrNamespace(x_19, x_30); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; size_t 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; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); lean_dec(x_31); -x_33 = 0; -x_34 = x_21; -x_35 = lean_box_usize(x_32); -x_36 = l_Lean_Elab_Command_expandElab___boxed__const__1; -lean_inc(x_34); -x_37 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed), 5, 3); -lean_closure_set(x_37, 0, x_35); -lean_closure_set(x_37, 1, x_36); -lean_closure_set(x_37, 2, x_34); -x_133 = lean_st_ref_get(x_4, x_30); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -x_136 = lean_ctor_get(x_134, 0); -lean_inc(x_136); -lean_dec(x_134); -x_137 = l_Lean_Elab_Command_getScope___rarg(x_4, x_135); -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_137, 1); -lean_inc(x_139); -lean_dec(x_137); -x_140 = lean_ctor_get(x_138, 2); -lean_inc(x_140); -lean_dec(x_138); -x_141 = l_Lean_Elab_Command_getScope___rarg(x_4, x_139); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = lean_ctor_get(x_142, 3); -lean_inc(x_144); -lean_dec(x_142); -lean_inc(x_136); -x_145 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_145, 0, x_136); -lean_inc(x_140); -x_146 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_146, 0, x_140); -lean_inc(x_136); -x_147 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_147, 0, x_136); -lean_inc(x_144); -lean_inc(x_140); -lean_inc(x_136); -x_148 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_148, 0, x_136); -lean_closure_set(x_148, 1, x_140); -lean_closure_set(x_148, 2, x_144); -lean_inc(x_136); -x_149 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_149, 0, x_136); -lean_closure_set(x_149, 1, x_140); -lean_closure_set(x_149, 2, x_144); -x_150 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_150, 0, x_145); -lean_ctor_set(x_150, 1, x_146); -lean_ctor_set(x_150, 2, x_147); -lean_ctor_set(x_150, 3, x_148); -lean_ctor_set(x_150, 4, x_149); -x_151 = x_150; -x_152 = l_Lean_Elab_Command_getRef(x_3, x_4, x_143); -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 1); -lean_inc(x_154); -lean_dec(x_152); -x_155 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_ctor_get(x_3, 2); -lean_inc(x_158); -x_159 = lean_st_ref_get(x_4, x_157); -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -x_161 = lean_ctor_get(x_159, 1); -lean_inc(x_161); -lean_dec(x_159); -x_162 = lean_ctor_get(x_160, 4); -lean_inc(x_162); -lean_dec(x_160); -x_163 = lean_st_ref_get(x_4, x_161); -x_164 = lean_ctor_get(x_163, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_163, 1); -lean_inc(x_165); -lean_dec(x_163); -x_166 = lean_ctor_get(x_164, 3); -lean_inc(x_166); -lean_dec(x_164); -x_167 = lean_environment_main_module(x_136); -x_168 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_168, 0, x_151); -lean_ctor_set(x_168, 1, x_167); -lean_ctor_set(x_168, 2, x_156); -lean_ctor_set(x_168, 3, x_158); -lean_ctor_set(x_168, 4, x_162); -lean_ctor_set(x_168, 5, x_153); -x_169 = lean_box(0); -x_170 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_170, 0, x_166); -lean_ctor_set(x_170, 1, x_169); -x_171 = x_37; -x_172 = lean_apply_2(x_171, x_168, x_170); -if (lean_obj_tag(x_172) == 0) +lean_inc(x_18); +x_34 = l_Lean_Name_append(x_32, x_18); +lean_dec(x_32); +lean_inc(x_5); +x_35 = lean_array_push(x_5, x_22); +x_36 = l_Array_append___rarg(x_35, x_29); +lean_dec(x_29); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__3(x_18, x_19, x_33); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_19, x_40); +lean_dec(x_19); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_44 = x_41; +} else { + lean_dec_ref(x_41); + x_44 = lean_box(0); +} +x_45 = l_Lean_Elab_Command_elabSyntax___closed__1; +lean_inc(x_6); +x_46 = lean_name_mk_string(x_6, x_45); +lean_inc(x_42); +x_47 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_47, 0, x_42); +lean_ctor_set(x_47, 1, x_45); +x_48 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; +lean_inc(x_6); +x_49 = lean_name_mk_string(x_6, x_48); +x_50 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__62; +lean_inc(x_42); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_42); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +lean_inc(x_42); +x_53 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_53, 0, x_42); +lean_ctor_set(x_53, 1, x_52); +x_54 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; +lean_inc(x_42); +x_55 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_55, 0, x_42); +lean_ctor_set(x_55, 1, x_54); +x_56 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__73; +lean_inc(x_42); +x_57 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_57, 0, x_42); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; +x_59 = lean_array_push(x_58, x_51); +lean_inc(x_59); +x_60 = lean_array_push(x_59, x_53); +lean_inc(x_55); +x_61 = lean_array_push(x_60, x_55); +x_62 = lean_array_push(x_61, x_39); +lean_inc(x_57); +x_63 = lean_array_push(x_62, x_57); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_49); +lean_ctor_set(x_64, 1, x_63); +lean_inc(x_5); +x_65 = lean_array_push(x_5, x_64); +x_66 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__21; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +x_68 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; +lean_inc(x_6); +x_69 = lean_name_mk_string(x_6, x_68); +x_70 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +lean_inc(x_42); +x_71 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_71, 0, x_42); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Nat_repr(x_7); +x_73 = l_Lean_numLitKind; +x_74 = lean_box(2); +x_75 = l_Lean_Syntax_mkLit(x_73, x_72, x_74); +x_76 = lean_array_push(x_59, x_71); +x_77 = lean_array_push(x_76, x_55); +x_78 = lean_array_push(x_77, x_75); +lean_inc(x_57); +x_79 = lean_array_push(x_78, x_57); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_69); +lean_ctor_set(x_80, 1, x_79); +lean_inc(x_5); +x_81 = lean_array_push(x_5, x_80); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_66); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_array_get_size(x_8); +x_84 = lean_usize_of_nat(x_83); +lean_dec(x_83); +x_85 = x_8; +x_86 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(x_84, x_3, x_85); +x_87 = x_86; +x_88 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; +x_89 = l_Array_append___rarg(x_88, x_87); +lean_dec(x_87); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_66); +lean_ctor_set(x_90, 1, x_89); +x_91 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; +lean_inc(x_42); +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_42); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; +x_94 = lean_name_mk_string(x_6, x_93); +x_95 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +lean_inc(x_5); +x_96 = lean_array_push(x_5, x_95); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_9); +lean_ctor_set(x_97, 1, x_96); +lean_inc(x_42); +x_98 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_98, 0, x_42); +lean_ctor_set(x_98, 1, x_93); +x_99 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +lean_inc(x_92); +x_100 = lean_array_push(x_99, x_92); +lean_inc(x_10); +lean_inc(x_100); +x_101 = lean_array_push(x_100, x_10); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_66); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_inc(x_11); +x_104 = lean_name_mk_string(x_11, x_103); +x_105 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1; +lean_inc(x_11); +x_106 = lean_name_mk_string(x_11, x_105); +x_107 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; +lean_inc(x_42); +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_42); +lean_ctor_set(x_108, 1, x_107); +x_109 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__3; +x_110 = lean_name_mk_string(x_11, x_109); +x_111 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__1; +lean_inc(x_42); +x_112 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_112, 0, x_42); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28; +x_114 = lean_array_push(x_113, x_112); +x_115 = lean_array_push(x_114, x_37); +x_116 = lean_array_push(x_115, x_57); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_110); +lean_ctor_set(x_117, 1, x_116); +lean_inc(x_5); +x_118 = lean_array_push(x_5, x_117); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_66); +lean_ctor_set(x_119, 1, x_118); +x_120 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2; +lean_inc(x_42); +x_121 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_121, 0, x_42); +lean_ctor_set(x_121, 1, x_120); +x_122 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__8; +x_123 = lean_array_push(x_122, x_108); +x_124 = lean_array_push(x_123, x_119); +x_125 = lean_array_push(x_124, x_121); +x_126 = lean_array_push(x_125, x_12); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_106); +lean_ctor_set(x_127, 1, x_126); +lean_inc(x_5); +x_128 = lean_array_push(x_5, x_127); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_66); +lean_ctor_set(x_129, 1, x_128); +lean_inc(x_5); +x_130 = lean_array_push(x_5, x_129); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_104); +lean_ctor_set(x_131, 1, x_130); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_172, 1); -lean_inc(x_174); -lean_dec(x_172); -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_st_ref_take(x_4, x_165); -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -x_179 = !lean_is_exclusive(x_177); -if (x_179 == 0) -{ -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; -x_180 = lean_ctor_get(x_177, 3); -lean_dec(x_180); -lean_ctor_set(x_177, 3, x_175); -x_181 = lean_st_ref_set(x_4, x_177, x_178); -x_182 = lean_ctor_get(x_181, 1); -lean_inc(x_182); -lean_dec(x_181); -x_183 = lean_ctor_get(x_174, 1); -lean_inc(x_183); -lean_dec(x_174); -x_184 = l_List_reverse___rarg(x_183); -x_185 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_184, x_3, x_4, x_182); -x_186 = lean_ctor_get(x_185, 1); -lean_inc(x_186); -lean_dec(x_185); -x_38 = x_173; -x_39 = x_186; -goto block_132; +x_132 = x_88; +goto block_183; } else { -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; 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; -x_187 = lean_ctor_get(x_177, 0); -x_188 = lean_ctor_get(x_177, 1); -x_189 = lean_ctor_get(x_177, 2); -x_190 = lean_ctor_get(x_177, 4); -x_191 = lean_ctor_get(x_177, 5); -x_192 = lean_ctor_get(x_177, 6); -x_193 = lean_ctor_get(x_177, 7); -x_194 = lean_ctor_get(x_177, 8); -lean_inc(x_194); -lean_inc(x_193); -lean_inc(x_192); -lean_inc(x_191); -lean_inc(x_190); -lean_inc(x_189); +lean_object* x_184; lean_object* x_185; +x_184 = lean_ctor_get(x_17, 0); +lean_inc(x_184); +lean_dec(x_17); +lean_inc(x_5); +x_185 = lean_array_push(x_5, x_184); +x_132 = x_185; +goto block_183; +} +block_183: +{ +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_133 = l_Array_append___rarg(x_88, x_132); +lean_dec(x_132); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_66); +lean_ctor_set(x_134, 1, x_133); +x_135 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23; +lean_inc(x_134); +x_136 = lean_array_push(x_135, x_134); +x_137 = lean_array_push(x_136, x_13); +x_138 = lean_array_push(x_137, x_47); +x_139 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; +x_140 = lean_array_push(x_139, x_134); +x_141 = lean_array_push(x_140, x_97); +x_142 = lean_array_push(x_141, x_98); +x_143 = lean_array_push(x_142, x_95); +x_144 = lean_array_push(x_143, x_102); +if (lean_obj_tag(x_15) == 0) +{ +lean_dec(x_100); +lean_dec(x_16); +lean_dec(x_5); +x_145 = x_88; +goto block_176; +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_177 = lean_ctor_get(x_15, 0); +lean_inc(x_177); +lean_dec(x_15); +x_178 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; +x_179 = lean_name_mk_string(x_16, x_178); +x_180 = lean_array_push(x_100, x_177); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +x_182 = lean_array_push(x_5, x_181); +x_145 = x_182; +goto block_176; +} +block_176: +{ +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; +x_146 = l_Array_append___rarg(x_88, x_145); +lean_dec(x_145); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_66); +lean_ctor_set(x_147, 1, x_146); +x_148 = lean_array_push(x_138, x_147); +x_149 = lean_array_push(x_148, x_67); +x_150 = lean_array_push(x_149, x_82); +x_151 = lean_array_push(x_150, x_90); +x_152 = lean_array_push(x_151, x_92); +x_153 = lean_array_push(x_152, x_10); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_46); +lean_ctor_set(x_154, 1, x_153); +x_155 = lean_array_push(x_99, x_154); +if (lean_obj_tag(x_14) == 0) +{ +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_dec(x_42); +x_156 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; +x_157 = lean_array_push(x_144, x_156); +x_158 = lean_array_push(x_157, x_131); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_94); +lean_ctor_set(x_159, 1, x_158); +x_160 = lean_array_push(x_155, x_159); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_66); +lean_ctor_set(x_161, 1, x_160); +if (lean_is_scalar(x_44)) { + x_162 = lean_alloc_ctor(0, 2, 0); +} else { + x_162 = x_44; +} +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_43); +return x_162; +} +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; 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; +x_163 = lean_ctor_get(x_14, 0); +lean_inc(x_163); +lean_dec(x_14); +x_164 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; +x_165 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_165, 0, x_42); +lean_ctor_set(x_165, 1, x_164); +x_166 = lean_array_push(x_99, x_165); +x_167 = lean_array_push(x_166, x_163); +x_168 = l_Array_append___rarg(x_88, x_167); +lean_dec(x_167); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_66); +lean_ctor_set(x_169, 1, x_168); +x_170 = lean_array_push(x_144, x_169); +x_171 = lean_array_push(x_170, x_131); +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_94); +lean_ctor_set(x_172, 1, x_171); +x_173 = lean_array_push(x_155, x_172); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_66); +lean_ctor_set(x_174, 1, x_173); +if (lean_is_scalar(x_44)) { + x_175 = lean_alloc_ctor(0, 2, 0); +} else { + x_175 = x_44; +} +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_43); +return x_175; +} +} +} +} +else +{ +uint8_t x_186; +lean_dec(x_29); +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_186 = !lean_is_exclusive(x_31); +if (x_186 == 0) +{ +return x_31; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_187 = lean_ctor_get(x_31, 0); +x_188 = lean_ctor_get(x_31, 1); lean_inc(x_188); lean_inc(x_187); -lean_dec(x_177); -x_195 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_195, 0, x_187); -lean_ctor_set(x_195, 1, x_188); -lean_ctor_set(x_195, 2, x_189); -lean_ctor_set(x_195, 3, x_175); -lean_ctor_set(x_195, 4, x_190); -lean_ctor_set(x_195, 5, x_191); -lean_ctor_set(x_195, 6, x_192); -lean_ctor_set(x_195, 7, x_193); -lean_ctor_set(x_195, 8, x_194); -x_196 = lean_st_ref_set(x_4, x_195, x_178); -x_197 = lean_ctor_get(x_196, 1); -lean_inc(x_197); -lean_dec(x_196); -x_198 = lean_ctor_get(x_174, 1); -lean_inc(x_198); -lean_dec(x_174); -x_199 = l_List_reverse___rarg(x_198); -x_200 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_199, x_3, x_4, x_197); -x_201 = lean_ctor_get(x_200, 1); -lean_inc(x_201); -lean_dec(x_200); -x_38 = x_173; -x_39 = x_201; -goto block_132; +lean_dec(x_31); +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_187); +lean_ctor_set(x_189, 1, x_188); +return x_189; +} } } else { -lean_object* x_202; -lean_dec(x_34); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_27); -lean_dec(x_25); -lean_dec(x_23); +uint8_t x_190; +lean_dec(x_22); +lean_dec(x_19); lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); -x_202 = lean_ctor_get(x_172, 0); -lean_inc(x_202); -lean_dec(x_172); -if (lean_obj_tag(x_202) == 0) +lean_dec(x_6); +lean_dec(x_5); +x_190 = !lean_is_exclusive(x_28); +if (x_190 == 0) { -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_202, 1); -lean_inc(x_204); -lean_dec(x_202); -x_205 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_205, 0, x_204); -x_206 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_206, 0, x_205); -x_207 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__1(x_203, x_206, x_3, x_4, x_165); -lean_dec(x_203); -x_208 = !lean_is_exclusive(x_207); -if (x_208 == 0) -{ -return x_207; +return x_28; } else { -lean_object* x_209; lean_object* x_210; lean_object* x_211; -x_209 = lean_ctor_get(x_207, 0); -x_210 = lean_ctor_get(x_207, 1); -lean_inc(x_210); -lean_inc(x_209); -lean_dec(x_207); -x_211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_211, 0, x_209); -lean_ctor_set(x_211, 1, x_210); -return x_211; +lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_191 = lean_ctor_get(x_28, 0); +x_192 = lean_ctor_get(x_28, 1); +lean_inc(x_192); +lean_inc(x_191); +lean_dec(x_28); +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_191); +lean_ctor_set(x_193, 1, x_192); +return x_193; +} } } else { -lean_object* x_212; uint8_t x_213; -lean_dec(x_3); -x_212 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__3___rarg(x_165); -x_213 = !lean_is_exclusive(x_212); -if (x_213 == 0) +uint8_t x_194; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_194 = !lean_is_exclusive(x_21); +if (x_194 == 0) { -return x_212; +return x_21; } else { -lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_214 = lean_ctor_get(x_212, 0); -x_215 = lean_ctor_get(x_212, 1); -lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_212); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_214); -lean_ctor_set(x_216, 1, x_215); -return x_216; +lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_195 = lean_ctor_get(x_21, 0); +x_196 = lean_ctor_get(x_21, 1); +lean_inc(x_196); +lean_inc(x_195); +lean_dec(x_21); +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_195); +lean_ctor_set(x_197, 1, x_196); +return x_197; } } } -block_132: +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1() { +_start: { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; -x_41 = lean_array_push(x_40, x_29); -x_42 = l_Array_append___rarg(x_41, x_38); -lean_dec(x_38); -if (lean_obj_tag(x_11) == 0) +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandElab___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, 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) { +_start: { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_43 = l_Lean_nullKind; -lean_inc(x_42); -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_st_ref_get(x_4, x_39); -x_46 = lean_ctor_get(x_45, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_unsigned_to_nat(4u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +x_20 = l_Lean_Syntax_getArgs(x_2); +lean_inc(x_16); +x_21 = l_Lean_evalOptPrio(x_3, x_16, x_17); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +lean_inc(x_4); +x_24 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_4, x_16, x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t 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; +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_array_get_size(x_20); +x_28 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_29 = 0; +x_30 = x_20; +x_31 = lean_box_usize(x_28); +x_32 = l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1; +lean_inc(x_30); +x_33 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed), 5, 3); +lean_closure_set(x_33, 0, x_31); +lean_closure_set(x_33, 1, x_32); +lean_closure_set(x_33, 2, x_30); +x_34 = x_33; +lean_inc(x_16); +x_35 = lean_apply_2(x_34, x_16, x_26); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__27; +x_39 = lean_array_push(x_38, x_25); +x_40 = l_Array_append___rarg(x_39, x_36); +lean_dec(x_36); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = l_Lean_Syntax_getId(x_7); +x_42 = l_Lean_nullKind; +lean_inc(x_40); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_40); +lean_inc(x_16); +x_44 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_41, x_43, x_16, x_37); +lean_dec(x_43); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_ctor_get(x_46, 0); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Lean_Elab_Command_getScope___rarg(x_4, x_47); -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); -x_52 = lean_ctor_get(x_50, 2); -lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Lean_Elab_Command_getScope___rarg(x_4, x_51); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_ctor_get(x_54, 3); -lean_inc(x_56); -lean_dec(x_54); -lean_inc(x_48); -x_57 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_57, 0, x_48); -lean_inc(x_52); -x_58 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_58, 0, x_52); -lean_inc(x_48); -x_59 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__2___boxed), 4, 1); -lean_closure_set(x_59, 0, x_48); -lean_inc(x_56); -lean_inc(x_52); -lean_inc(x_48); -x_60 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__3___boxed), 6, 3); -lean_closure_set(x_60, 0, x_48); -lean_closure_set(x_60, 1, x_52); -lean_closure_set(x_60, 2, x_56); -lean_inc(x_48); -x_61 = lean_alloc_closure((void*)(l_Lean_Elab_Term_checkLeftRec___lambda__4___boxed), 6, 3); -lean_closure_set(x_61, 0, x_48); -lean_closure_set(x_61, 1, x_52); -lean_closure_set(x_61, 2, x_56); -x_62 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_62, 0, x_57); -lean_ctor_set(x_62, 1, x_58); -lean_ctor_set(x_62, 2, x_59); -lean_ctor_set(x_62, 3, x_60); -lean_ctor_set(x_62, 4, x_61); -x_63 = x_62; -x_64 = l_Lean_Elab_Command_getRef(x_3, x_4, x_55); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_66); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_ctor_get(x_3, 2); -lean_inc(x_70); -x_71 = lean_st_ref_get(x_4, x_69); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_ctor_get(x_72, 4); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_st_ref_get(x_4, x_73); -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_ctor_get(x_76, 3); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_environment_main_module(x_48); -x_80 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_80, 0, x_63); -lean_ctor_set(x_80, 1, x_79); -lean_ctor_set(x_80, 2, x_68); -lean_ctor_set(x_80, 3, x_70); -lean_ctor_set(x_80, 4, x_74); -lean_ctor_set(x_80, 5, x_65); -x_81 = lean_box(0); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_78); -lean_ctor_set(x_82, 1, x_81); -lean_inc(x_28); -x_83 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_28, x_44, x_80, x_82); lean_dec(x_44); -if (lean_obj_tag(x_83) == 0) -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_st_ref_take(x_4, x_77); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = !lean_is_exclusive(x_88); -if (x_90 == 0) -{ -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; -x_91 = lean_ctor_get(x_88, 3); -lean_dec(x_91); -lean_ctor_set(x_88, 3, x_86); -x_92 = lean_st_ref_set(x_4, x_88, x_89); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -x_94 = lean_ctor_get(x_85, 1); -lean_inc(x_94); -lean_dec(x_85); -x_95 = l_List_reverse___rarg(x_94); -x_96 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_95, x_3, x_4, x_93); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_98 = l_Lean_Elab_Command_expandElab___lambda__2(x_32, x_33, x_34, x_1, x_40, x_25, x_28, x_2, x_27, x_15, x_42, x_7, x_10, x_23, x_18, x_84, x_3, x_4, x_97); -lean_dec(x_25); -return x_98; +x_47 = l_Lean_Elab_Command_expandElab___lambda__1(x_4, x_28, x_29, x_30, x_38, x_5, x_22, x_40, x_6, x_7, x_8, x_19, x_9, x_15, x_10, x_11, x_12, x_45, x_16, x_46); +return x_47; } else { -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; -x_99 = lean_ctor_get(x_88, 0); -x_100 = lean_ctor_get(x_88, 1); -x_101 = lean_ctor_get(x_88, 2); -x_102 = lean_ctor_get(x_88, 4); -x_103 = lean_ctor_get(x_88, 5); -x_104 = lean_ctor_get(x_88, 6); -x_105 = lean_ctor_get(x_88, 7); -x_106 = lean_ctor_get(x_88, 8); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_inc(x_103); -lean_inc(x_102); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_88); -x_107 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_107, 0, x_99); -lean_ctor_set(x_107, 1, x_100); -lean_ctor_set(x_107, 2, x_101); -lean_ctor_set(x_107, 3, x_86); -lean_ctor_set(x_107, 4, x_102); -lean_ctor_set(x_107, 5, x_103); -lean_ctor_set(x_107, 6, x_104); -lean_ctor_set(x_107, 7, x_105); -lean_ctor_set(x_107, 8, x_106); -x_108 = lean_st_ref_set(x_4, x_107, x_89); -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -lean_dec(x_108); -x_110 = lean_ctor_get(x_85, 1); -lean_inc(x_110); -lean_dec(x_85); -x_111 = l_List_reverse___rarg(x_110); -x_112 = l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(x_111, x_3, x_4, x_109); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -lean_dec(x_112); -x_114 = l_Lean_Elab_Command_expandElab___lambda__2(x_32, x_33, x_34, x_1, x_40, x_25, x_28, x_2, x_27, x_15, x_42, x_7, x_10, x_23, x_18, x_84, x_3, x_4, x_113); -lean_dec(x_25); -return x_114; -} -} -else -{ -lean_object* x_115; -lean_dec(x_42); -lean_dec(x_34); -lean_dec(x_28); -lean_dec(x_27); -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_18); +uint8_t x_48; +lean_dec(x_40); +lean_dec(x_30); +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_16); lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_7); -x_115 = lean_ctor_get(x_83, 0); -lean_inc(x_115); -lean_dec(x_83); -if (lean_obj_tag(x_115) == 0) -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_118, 0, x_117); -x_119 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_119, 0, x_118); -x_120 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__4(x_116, x_119, x_3, x_4, x_77); -lean_dec(x_116); -x_121 = !lean_is_exclusive(x_120); -if (x_121 == 0) -{ -return x_120; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_120, 0); -x_123 = lean_ctor_get(x_120, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_120); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -return x_124; -} -} -else -{ -lean_object* x_125; uint8_t x_126; -lean_dec(x_3); -x_125 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__5___rarg(x_77); -x_126 = !lean_is_exclusive(x_125); -if (x_126 == 0) -{ -return x_125; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_ctor_get(x_125, 0); -x_128 = lean_ctor_get(x_125, 1); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_125); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -return x_129; -} -} -} -} -else -{ -lean_object* x_130; lean_object* x_131; -x_130 = lean_ctor_get(x_11, 0); -lean_inc(x_130); +lean_dec(x_12); lean_dec(x_11); -x_131 = l_Lean_Elab_Command_expandElab___lambda__2(x_32, x_33, x_34, x_1, x_40, x_25, x_28, x_2, x_27, x_15, x_42, x_7, x_10, x_23, x_18, x_130, x_3, x_4, x_39); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_48 = !lean_is_exclusive(x_44); +if (x_48 == 0) +{ +return x_44; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_44, 0); +x_50 = lean_ctor_get(x_44, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_44); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_13, 0); +x_53 = l_Lean_Syntax_getId(x_52); +x_54 = l_Lean_Elab_Command_expandElab___lambda__1(x_4, x_28, x_29, x_30, x_38, x_5, x_22, x_40, x_6, x_7, x_8, x_19, x_9, x_15, x_10, x_11, x_12, x_53, x_16, x_37); +return x_54; +} +} +else +{ +uint8_t x_55; +lean_dec(x_30); lean_dec(x_25); -return x_131; -} -} -} -} -} -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___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_throwError___at_Lean_Elab_Command_expandElab___spec__2(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___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_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1); -return x_6; +x_55 = !lean_is_exclusive(x_35); +if (x_55 == 0) +{ +return x_35; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_35, 0); +x_57 = lean_ctor_get(x_35, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_35); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +} +else +{ +uint8_t x_59; +lean_dec(x_22); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_59 = !lean_is_exclusive(x_24); +if (x_59 == 0) +{ +return x_24; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_24, 0); +x_61 = lean_ctor_get(x_24, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_24); +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; +} +} +} +else +{ +uint8_t x_63; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_63 = !lean_is_exclusive(x_21); +if (x_63 == 0) +{ +return x_21; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_21, 0); +x_65 = lean_ctor_get(x_21, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_21); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___lambda__3___closed__1() { _start: { -lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__3(x_1, x_2); +lean_object* x_1; +x_1 = lean_mk_string("elabTail"); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_expandElab___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_unsigned_to_nat(6u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__1; +lean_inc(x_2); +x_17 = lean_name_mk_string(x_2, x_16); +lean_inc(x_15); +x_18 = l_Lean_Syntax_isOfKind(x_15, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); +x_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_13); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_21 = lean_unsigned_to_nat(7u); +x_22 = l_Lean_Syntax_getArg(x_1, x_21); +x_23 = lean_unsigned_to_nat(8u); +x_24 = l_Lean_Syntax_getArg(x_1, x_23); +x_25 = l_Lean_Elab_Command_expandElab___lambda__3___closed__1; +lean_inc(x_2); +x_26 = lean_name_mk_string(x_2, x_25); +lean_inc(x_24); +x_27 = l_Lean_Syntax_isOfKind(x_24, x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_28 = lean_box(1); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_13); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_30 = lean_unsigned_to_nat(1u); +x_31 = l_Lean_Syntax_getArg(x_24, x_30); +x_32 = lean_unsigned_to_nat(2u); +x_33 = l_Lean_Syntax_getArg(x_24, x_32); +x_34 = l_Lean_Syntax_isNone(x_33); +if (x_34 == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = l_Lean_nullKind; +lean_inc(x_33); +x_36 = l_Lean_Syntax_isNodeOf(x_33, x_35, x_32); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_37 = lean_box(1); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_13); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = l_Lean_Syntax_getArg(x_33, x_30); +lean_dec(x_33); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = lean_box(0); +x_42 = l_Lean_Elab_Command_expandElab___lambda__2(x_24, x_22, x_11, x_15, x_2, x_3, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_41, x_40, x_12, x_13); +lean_dec(x_22); +lean_dec(x_24); +return x_42; +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_33); +x_43 = lean_box(0); +x_44 = lean_box(0); +x_45 = l_Lean_Elab_Command_expandElab___lambda__2(x_24, x_22, x_11, x_15, x_2, x_3, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_44, x_43, x_12, x_13); +lean_dec(x_22); +lean_dec(x_24); +return x_45; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__4(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; lean_object* x_14; uint8_t x_15; +x_13 = lean_unsigned_to_nat(5u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +x_15 = l_Lean_Syntax_isNone(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_Lean_nullKind; +x_17 = lean_unsigned_to_nat(1u); +lean_inc(x_14); +x_18 = l_Lean_Syntax_isNodeOf(x_14, x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_12); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_Lean_Syntax_getArg(x_14, x_21); +lean_dec(x_14); +x_23 = l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1; +lean_inc(x_2); +x_24 = lean_name_mk_string(x_2, x_23); +lean_inc(x_22); +x_25 = l_Lean_Syntax_isOfKind(x_22, x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_26 = lean_box(1); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_12); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_unsigned_to_nat(3u); +x_29 = l_Lean_Syntax_getArg(x_22, x_28); +lean_dec(x_22); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_box(0); +x_32 = l_Lean_Elab_Command_expandElab___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_31, x_30, x_11, x_12); +return x_32; +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_14); +x_33 = lean_box(0); +x_34 = lean_box(0); +x_35 = l_Lean_Elab_Command_expandElab___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_34, x_33, x_11, x_12); +return x_35; +} +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__5(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) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_unsigned_to_nat(4u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Syntax_isNone(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_nullKind; +x_16 = lean_unsigned_to_nat(1u); +lean_inc(x_13); +x_17 = l_Lean_Syntax_isNodeOf(x_13, x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_18 = lean_box(1); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_11); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_unsigned_to_nat(0u); +x_21 = l_Lean_Syntax_getArg(x_13, x_20); +lean_dec(x_13); +x_22 = l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1; +lean_inc(x_2); +x_23 = lean_name_mk_string(x_2, x_22); +lean_inc(x_21); +x_24 = l_Lean_Syntax_isOfKind(x_21, x_23); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_21); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_25 = lean_box(1); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_11); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_unsigned_to_nat(3u); +x_28 = l_Lean_Syntax_getArg(x_21, x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = lean_box(0); +x_31 = l_Lean_Elab_Command_expandElab___lambda__4(x_1, x_2, x_3, x_4, x_5, x_9, x_6, x_7, x_30, x_29, x_10, x_11); +lean_dec(x_29); +return x_31; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_13); +x_32 = lean_box(0); +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Command_expandElab___lambda__4(x_1, x_2, x_3, x_4, x_5, x_9, x_6, x_7, x_33, x_32, x_10, x_11); +return x_34; +} +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__6(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; uint8_t x_14; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; +lean_inc(x_2); +x_11 = lean_name_mk_string(x_2, x_10); +x_12 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; +lean_inc(x_11); +x_13 = lean_name_mk_string(x_11, x_12); +lean_inc(x_9); +x_14 = l_Lean_Syntax_isOfKind(x_9, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_box(1); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_7); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_unsigned_to_nat(3u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = l_Lean_Syntax_isNone(x_18); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = l_Lean_nullKind; +lean_inc(x_18); +x_21 = l_Lean_Syntax_isNodeOf(x_18, x_20, x_8); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_22 = lean_box(1); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_7); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_24 = lean_unsigned_to_nat(0u); +x_25 = l_Lean_Syntax_getArg(x_18, x_24); +lean_dec(x_18); +x_26 = l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; +lean_inc(x_2); +x_27 = lean_name_mk_string(x_2, x_26); +lean_inc(x_25); +x_28 = l_Lean_Syntax_isOfKind(x_25, x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_25); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_29 = lean_box(1); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_7); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = l_Lean_Syntax_getArg(x_25, x_8); +lean_dec(x_25); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Command_expandElab___lambda__5(x_1, x_3, x_13, x_11, x_9, x_2, x_5, x_33, x_32, x_6, x_7); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_18); +x_35 = lean_box(0); +x_36 = lean_box(0); +x_37 = l_Lean_Elab_Command_expandElab___lambda__5(x_1, x_3, x_13, x_11, x_9, x_2, x_5, x_36, x_35, x_6, x_7); +return x_37; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandElab___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_2 = l_Lean_Elab_Command_expandElab___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_expandElab(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_5; -x_5 = l_Lean_throwError___at_Lean_Elab_Command_expandElab___spec__5(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__4___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_4; uint8_t x_5; +x_4 = l_Lean_Elab_Command_expandElab___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) { -lean_object* x_6; -x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandElab___spec__4(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_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__6___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandElab___spec__6(x_1, x_2); +lean_object* x_6; lean_object* x_7; lean_dec(x_2); lean_dec(x_1); -return x_3; +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_nullKind; +x_12 = lean_unsigned_to_nat(1u); +lean_inc(x_9); +x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_17 = l_Lean_Elab_Command_elabSyntax___closed__4; +lean_inc(x_16); +x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_16); +lean_dec(x_2); +lean_dec(x_1); +x_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_3); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_16); +x_22 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_23 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Command_expandElab___lambda__6(x_1, x_22, x_23, x_24, x_21, x_2, x_3); +lean_dec(x_1); +return x_25; } } -lean_object* l_Lean_Elab_Command_expandElab___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_9); +x_26 = lean_box(0); +x_27 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_28 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_expandElab___lambda__6(x_1, x_27, x_28, x_29, x_26, x_2, x_3); +lean_dec(x_1); +return x_30; +} +} +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; _start: { -lean_object* x_6; -x_6 = l_Lean_Elab_Command_expandElab___lambda__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); +size_t x_21; size_t x_22; lean_object* x_23; +x_21 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_22 = lean_unbox_usize(x_3); lean_dec(x_3); -return x_6; +x_23 = l_Lean_Elab_Command_expandElab___lambda__1(x_1, x_21, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +return x_23; } } lean_object* l_Lean_Elab_Command_expandElab___lambda__2___boxed(lean_object** _args) { @@ -41231,131 +44459,93 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; _start: { -size_t x_20; size_t x_21; lean_object* x_22; -x_20 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_21 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_22 = l_Lean_Elab_Command_expandElab___lambda__2(x_20, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_18); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -return x_22; -} -} -lean_object* l_Lean_Elab_Command_expandElab___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_Command_expandElab(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); +lean_object* x_18; +x_18 = l_Lean_Elab_Command_expandElab___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_14); +lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -return x_6; +return x_18; } } -lean_object* l_Lean_Elab_Command_elabElab___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_expandElab___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_6, 2); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_Elab_Command_expandElab(x_8, x_1, x_2, x_3, x_7); -lean_dec(x_8); -return x_9; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElab___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElab___lambda__1___boxed), 4, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Command_elabElab(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_Command_elabElab___closed__1; -x_6 = l_Lean_Elab_Command_adaptExpander(x_5, x_1, x_2, x_3, x_4); -return x_6; -} -} -lean_object* l_Lean_Elab_Command_elabElab___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_Elab_Command_elabElab___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); +lean_object* x_14; +x_14 = l_Lean_Elab_Command_expandElab___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_10); +lean_dec(x_9); lean_dec(x_1); -return x_5; +return x_14; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElab___closed__1() { +lean_object* l_Lean_Elab_Command_expandElab___lambda__4___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_Lean_Elab_Command_expandElab___lambda__4(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_10); +lean_dec(x_9); +lean_dec(x_1); +return x_13; +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__5___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Command_expandElab___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_8); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Command_expandElab___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_Command_expandElab___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_4); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("elab"); +x_1 = lean_mk_string("expandElab"); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElab___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; -x_2 = l___regBuiltin_Lean_Elab_Command_elabElab___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElab___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabElab"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElab___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_2 = l___regBuiltin_Lean_Elab_Command_elabElab___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Command_expandElab___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElab___closed__5() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabElab), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandElab), 3, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Command_elabElab(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Command_expandElab(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Command_commandElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Command_elabElab___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Command_elabElab___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Command_elabElab___closed__5; +x_2 = l_Lean_Elab_macroAttribute; +x_3 = l_Lean_Elab_Command_expandElab___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Command_expandElab___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_expandElab___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -41363,6 +44553,7 @@ return x_6; lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Elab_Command(lean_object*); lean_object* initialize_Lean_Parser_Syntax(lean_object*); +lean_object* initialize_Lean_Elab_Util(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Elab_Syntax(lean_object* w) { lean_object * res; @@ -41377,6 +44568,9 @@ lean_dec_ref(res); res = initialize_Lean_Parser_Syntax(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_Util(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__1 = _init_l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__1(); lean_mark_persistent(l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__1); l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2 = _init_l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2(); @@ -41435,28 +44629,28 @@ l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mk lean_mark_persistent(l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__28); l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29 = _init_l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29(); lean_mark_persistent(l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29); -l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__1); -l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__2); -l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__3); -l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__4); -l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__5 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__5(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__5); -l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__6 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__6(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__4___closed__6); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__8___rarg___closed__1); -l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__1 = _init_l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__1); -l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__2 = _init_l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__2); -l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__3 = _init_l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__3); -l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__4 = _init_l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_checkLeftRec___lambda__5___closed__4); +l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1); +l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__2); +l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__3); +l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__4); +l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__5 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__5(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__5); +l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__6); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___rarg___closed__1); +l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__1 = _init_l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__1); +l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__2 = _init_l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__2); +l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__3 = _init_l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__3); +l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__4 = _init_l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__4); l_Lean_Elab_Term_checkLeftRec___closed__1 = _init_l_Lean_Elab_Term_checkLeftRec___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_checkLeftRec___closed__1); l_Lean_Elab_Term_checkLeftRec___closed__2 = _init_l_Lean_Elab_Term_checkLeftRec___closed__2(); @@ -41886,6 +45080,14 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1 = _init_l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_mkNameFromParserSyntax_visit___closed__1); +l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__1 = _init_l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__1); +l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__2 = _init_l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_Command_resolveSyntaxKind___spec__2___closed__2); +l_Lean_Elab_Command_resolveSyntaxKind___closed__1 = _init_l_Lean_Elab_Command_resolveSyntaxKind___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_resolveSyntaxKind___closed__1); +l_Lean_Elab_Command_resolveSyntaxKind___closed__2 = _init_l_Lean_Elab_Command_resolveSyntaxKind___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_resolveSyntaxKind___closed__2); l_Lean_Elab_Command_elabSyntax___lambda__3___closed__1 = _init_l_Lean_Elab_Command_elabSyntax___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___lambda__3___closed__1); l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1 = _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1(); @@ -41912,6 +45114,8 @@ l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11 = _init_l_Lean_Elab_Comm lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11); l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12 = _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12(); lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12); +l_Lean_Elab_Command_elabSyntax___lambda__4___closed__13 = _init_l_Lean_Elab_Command_elabSyntax___lambda__4___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___lambda__4___closed__13); l_Lean_Elab_Command_elabSyntax___lambda__7___closed__1 = _init_l_Lean_Elab_Command_elabSyntax___lambda__7___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___lambda__7___closed__1); l_Lean_Elab_Command_elabSyntax___lambda__7___closed__2 = _init_l_Lean_Elab_Command_elabSyntax___lambda__7___closed__2(); @@ -41922,6 +45126,8 @@ l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1 = _init_l_Lean_Elab_Comma lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___lambda__8___closed__1); l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1 = _init_l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___lambda__9___closed__1); +l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1 = _init_l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1); l_Lean_Elab_Command_elabSyntax___closed__1 = _init_l_Lean_Elab_Command_elabSyntax___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___closed__1); l_Lean_Elab_Command_elabSyntax___closed__2 = _init_l_Lean_Elab_Command_elabSyntax___closed__2(); @@ -41990,26 +45196,26 @@ l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__1 = _i lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__1); l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__2 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_checkRuleKind___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__8 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__8(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__8); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__5); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__6); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__7); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__8 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__8(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___lambda__2___closed__8); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__6___closed__2); l_Lean_Elab_Command_elabMacroRulesAux___closed__1 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__1); l_Lean_Elab_Command_elabMacroRulesAux___closed__2 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__2(); @@ -42088,26 +45294,40 @@ l_Lean_Elab_Command_elabMacroRulesAux___closed__38 = _init_l_Lean_Elab_Command_e lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__38); l_Lean_Elab_Command_elabMacroRulesAux___closed__39 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__39(); lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__39); +l_Lean_Elab_Command_elabMacroRulesAux___closed__40 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__40(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__40); +l_Lean_Elab_Command_elabMacroRulesAux___closed__41 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__41(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__41); +l_Lean_Elab_Command_elabMacroRulesAux___closed__42 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__42(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__42); l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1 = _init_l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1); -l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1 = _init_l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__1); -l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2 = _init_l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__2); -l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3 = _init_l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__3); -l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__4 = _init_l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__4); -l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__5 = _init_l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___closed__5); +l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__1); +l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__2); +l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__3); +l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4); +l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5); +l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6); l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1); l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2); l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3(); lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4); +l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1); +l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2); +l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3); +l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1); l_Lean_Elab_Command_elabMacroRules___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___closed__1); l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1(); @@ -42137,12 +45357,6 @@ l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8 = _init_l_Lean_Elab_Com lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8); l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9(); lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11); -l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12); l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__7___closed__1); l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2 = _init_l_Lean_Elab_Command_expandMixfix___lambda__7___closed__2(); @@ -42183,6 +45397,8 @@ l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11 = _init_l_Lean_Elab_C lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__11); l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12(); lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__12); +l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13 = _init_l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__16___closed__13); l_Lean_Elab_Command_expandMixfix___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___closed__1); l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1(); @@ -42234,6 +45450,8 @@ l_Lean_Elab_Command_mkSimpleDelab___closed__16 = _init_l_Lean_Elab_Command_mkSim lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__16); l_Lean_Elab_Command_mkSimpleDelab___closed__17 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__17(); lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__17); +l_Lean_Elab_Command_mkSimpleDelab___closed__18 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__18); l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__1 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__1); l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__2 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isLocalAttrKind___closed__2(); @@ -42278,6 +45496,14 @@ l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2_ lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__19); l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20(); lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__20); +l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21(); +lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21); +l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22(); +lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__22); +l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23(); +lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__23); +l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24(); +lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__24); l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1); l_Lean_Elab_Command_expandNotation___closed__1 = _init_l_Lean_Elab_Command_expandNotation___closed__1(); @@ -42299,6 +45525,10 @@ l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3 = _init_l_Lean_Elab lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__3); l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4(); lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__4); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__5); +l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6 = _init_l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___closed__6); l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__1); l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___lambda__1___closed__2(); @@ -42329,197 +45559,236 @@ l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8 = _init_l_Lean_Elab_Co lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__8); l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9(); lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__9); -l_Lean_Elab_Command_expandMacro___boxed__const__1 = _init_l_Lean_Elab_Command_expandMacro___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandMacro___boxed__const__1); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__10); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__11); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__12); +l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13 = _init_l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__13); +l_Lean_Elab_Command_expandMacro___lambda__2___closed__1 = _init_l_Lean_Elab_Command_expandMacro___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__2___closed__1); +l_Lean_Elab_Command_expandMacro___lambda__3___closed__1 = _init_l_Lean_Elab_Command_expandMacro___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__3___closed__1); +l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1 = _init_l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___lambda__3___boxed__const__1); +l_Lean_Elab_Command_expandMacro___closed__1 = _init_l_Lean_Elab_Command_expandMacro___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandMacro___closed__1); l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__1); l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2); l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__3); -l___regBuiltin_Lean_Elab_Command_expandMacro___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_expandMacro___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandMacro___closed__4); res = l___regBuiltin_Lean_Elab_Command_expandMacro(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14635____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14635____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14635____closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14635_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044____closed__1); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_16044_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Command_withExpectedType___closed__1 = _init_l_Lean_Elab_Command_withExpectedType___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_withExpectedType___closed__1); l_Lean_Elab_Command_withExpectedType___closed__2 = _init_l_Lean_Elab_Command_withExpectedType___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_withExpectedType___closed__2); -l_Lean_Elab_Command_expandElab___lambda__2___closed__1 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__1); -l_Lean_Elab_Command_expandElab___lambda__2___closed__2 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__2); -l_Lean_Elab_Command_expandElab___lambda__2___closed__3 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__3); -l_Lean_Elab_Command_expandElab___lambda__2___closed__4 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__4); -l_Lean_Elab_Command_expandElab___lambda__2___closed__5 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__5); -l_Lean_Elab_Command_expandElab___lambda__2___closed__6 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__6); -l_Lean_Elab_Command_expandElab___lambda__2___closed__7 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__7); -l_Lean_Elab_Command_expandElab___lambda__2___closed__8 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__8); -l_Lean_Elab_Command_expandElab___lambda__2___closed__9 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__9); -l_Lean_Elab_Command_expandElab___lambda__2___closed__10 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__10); -l_Lean_Elab_Command_expandElab___lambda__2___closed__11 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__11); -l_Lean_Elab_Command_expandElab___lambda__2___closed__12 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__12); -l_Lean_Elab_Command_expandElab___lambda__2___closed__13 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__13); -l_Lean_Elab_Command_expandElab___lambda__2___closed__14 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__14(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__14); -l_Lean_Elab_Command_expandElab___lambda__2___closed__15 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__15(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__15); -l_Lean_Elab_Command_expandElab___lambda__2___closed__16 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__16(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__16); -l_Lean_Elab_Command_expandElab___lambda__2___closed__17 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__17(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__17); -l_Lean_Elab_Command_expandElab___lambda__2___closed__18 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__18(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__18); -l_Lean_Elab_Command_expandElab___lambda__2___closed__19 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__19(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__19); -l_Lean_Elab_Command_expandElab___lambda__2___closed__20 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__20(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__20); -l_Lean_Elab_Command_expandElab___lambda__2___closed__21 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__21(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__21); -l_Lean_Elab_Command_expandElab___lambda__2___closed__22 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__22(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__22); -l_Lean_Elab_Command_expandElab___lambda__2___closed__23 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__23(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__23); -l_Lean_Elab_Command_expandElab___lambda__2___closed__24 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__24(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__24); -l_Lean_Elab_Command_expandElab___lambda__2___closed__25 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__25(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__25); -l_Lean_Elab_Command_expandElab___lambda__2___closed__26 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__26(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__26); -l_Lean_Elab_Command_expandElab___lambda__2___closed__27 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__27(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__27); -l_Lean_Elab_Command_expandElab___lambda__2___closed__28 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__28(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__28); -l_Lean_Elab_Command_expandElab___lambda__2___closed__29 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__29(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__29); -l_Lean_Elab_Command_expandElab___lambda__2___closed__30 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__30(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__30); -l_Lean_Elab_Command_expandElab___lambda__2___closed__31 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__31(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__31); -l_Lean_Elab_Command_expandElab___lambda__2___closed__32 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__32(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__32); -l_Lean_Elab_Command_expandElab___lambda__2___closed__33 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__33(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__33); -l_Lean_Elab_Command_expandElab___lambda__2___closed__34 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__34(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__34); -l_Lean_Elab_Command_expandElab___lambda__2___closed__35 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__35(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__35); -l_Lean_Elab_Command_expandElab___lambda__2___closed__36 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__36(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__36); -l_Lean_Elab_Command_expandElab___lambda__2___closed__37 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__37(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__37); -l_Lean_Elab_Command_expandElab___lambda__2___closed__38 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__38(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__38); -l_Lean_Elab_Command_expandElab___lambda__2___closed__39 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__39(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__39); -l_Lean_Elab_Command_expandElab___lambda__2___closed__40 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__40(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__40); -l_Lean_Elab_Command_expandElab___lambda__2___closed__41 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__41(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__41); -l_Lean_Elab_Command_expandElab___lambda__2___closed__42 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__42(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__42); -l_Lean_Elab_Command_expandElab___lambda__2___closed__43 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__43(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__43); -l_Lean_Elab_Command_expandElab___lambda__2___closed__44 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__44(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__44); -l_Lean_Elab_Command_expandElab___lambda__2___closed__45 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__45(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__45); -l_Lean_Elab_Command_expandElab___lambda__2___closed__46 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__46(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__46); -l_Lean_Elab_Command_expandElab___lambda__2___closed__47 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__47(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__47); -l_Lean_Elab_Command_expandElab___lambda__2___closed__48 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__48(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__48); -l_Lean_Elab_Command_expandElab___lambda__2___closed__49 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__49(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__49); -l_Lean_Elab_Command_expandElab___lambda__2___closed__50 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__50(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__50); -l_Lean_Elab_Command_expandElab___lambda__2___closed__51 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__51(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__51); -l_Lean_Elab_Command_expandElab___lambda__2___closed__52 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__52(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__52); -l_Lean_Elab_Command_expandElab___lambda__2___closed__53 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__53(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__53); -l_Lean_Elab_Command_expandElab___lambda__2___closed__54 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__54(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__54); -l_Lean_Elab_Command_expandElab___lambda__2___closed__55 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__55(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__55); -l_Lean_Elab_Command_expandElab___lambda__2___closed__56 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__56(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__56); -l_Lean_Elab_Command_expandElab___lambda__2___closed__57 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__57(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__57); -l_Lean_Elab_Command_expandElab___lambda__2___closed__58 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__58(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__58); -l_Lean_Elab_Command_expandElab___lambda__2___closed__59 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__59(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__59); -l_Lean_Elab_Command_expandElab___lambda__2___closed__60 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__60(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__60); -l_Lean_Elab_Command_expandElab___lambda__2___closed__61 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__61(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__61); -l_Lean_Elab_Command_expandElab___lambda__2___closed__62 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__62(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__62); -l_Lean_Elab_Command_expandElab___lambda__2___closed__63 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__63(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__63); -l_Lean_Elab_Command_expandElab___lambda__2___closed__64 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__64(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__64); -l_Lean_Elab_Command_expandElab___lambda__2___closed__65 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__65(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__65); -l_Lean_Elab_Command_expandElab___lambda__2___closed__66 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__66(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__66); -l_Lean_Elab_Command_expandElab___lambda__2___closed__67 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__67(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__67); -l_Lean_Elab_Command_expandElab___lambda__2___closed__68 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__68(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__68); -l_Lean_Elab_Command_expandElab___lambda__2___closed__69 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__69(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__69); -l_Lean_Elab_Command_expandElab___lambda__2___closed__70 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__70(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__70); -l_Lean_Elab_Command_expandElab___lambda__2___closed__71 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__71(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__71); -l_Lean_Elab_Command_expandElab___lambda__2___closed__72 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__72(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__72); -l_Lean_Elab_Command_expandElab___lambda__2___closed__73 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__73(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__73); -l_Lean_Elab_Command_expandElab___lambda__2___closed__74 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__74(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__74); -l_Lean_Elab_Command_expandElab___lambda__2___closed__75 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__75(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__75); -l_Lean_Elab_Command_expandElab___lambda__2___closed__76 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__76(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__76); -l_Lean_Elab_Command_expandElab___lambda__2___closed__77 = _init_l_Lean_Elab_Command_expandElab___lambda__2___closed__77(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___closed__77); -l_Lean_Elab_Command_expandElab___boxed__const__1 = _init_l_Lean_Elab_Command_expandElab___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandElab___boxed__const__1); -l_Lean_Elab_Command_elabElab___closed__1 = _init_l_Lean_Elab_Command_elabElab___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabElab___closed__1); -l___regBuiltin_Lean_Elab_Command_elabElab___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabElab___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElab___closed__1); -l___regBuiltin_Lean_Elab_Command_elabElab___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabElab___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElab___closed__2); -l___regBuiltin_Lean_Elab_Command_elabElab___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabElab___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElab___closed__3); -l___regBuiltin_Lean_Elab_Command_elabElab___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_elabElab___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElab___closed__4); -l___regBuiltin_Lean_Elab_Command_elabElab___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_elabElab___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElab___closed__5); -res = l___regBuiltin_Lean_Elab_Command_elabElab(lean_io_mk_world()); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2___lambda__1___closed__4); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__1); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__5); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__18); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__28); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__30); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73); +l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74); +l_Lean_Elab_Command_elabElabRulesAux___closed__1 = _init_l_Lean_Elab_Command_elabElabRulesAux___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___closed__1); +l_Lean_Elab_Command_elabElabRulesAux___closed__2 = _init_l_Lean_Elab_Command_elabElabRulesAux___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___closed__2); +l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1 = _init_l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1); +l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1); +l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2); +l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3); +l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1 = _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1); +l_Lean_Elab_Command_elabElabRules___closed__1 = _init_l_Lean_Elab_Command_elabElabRules___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___closed__1); +l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1); +l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2); +l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3); +res = l___regBuiltin_Lean_Elab_Command_elabElabRules(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1 = _init_l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1); +l_Lean_Elab_Command_expandElab___lambda__3___closed__1 = _init_l_Lean_Elab_Command_expandElab___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___lambda__3___closed__1); +l_Lean_Elab_Command_expandElab___closed__1 = _init_l_Lean_Elab_Command_expandElab___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___closed__1); +l_Lean_Elab_Command_expandElab___closed__2 = _init_l_Lean_Elab_Command_expandElab___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandElab___closed__2); +l___regBuiltin_Lean_Elab_Command_expandElab___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandElab___closed__1); +l___regBuiltin_Lean_Elab_Command_expandElab___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandElab___closed__2); +l___regBuiltin_Lean_Elab_Command_expandElab___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandElab___closed__3); +res = l___regBuiltin_Lean_Elab_Command_expandElab(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/SyntheticMVars.c b/stage0/stdlib/Lean/Elab/SyntheticMVars.c index 7991658580..88e344c0cd 100644 --- a/stage0/stdlib/Lean/Elab/SyntheticMVars.c +++ b/stage0/stdlib/Lean/Elab/SyntheticMVars.c @@ -45,6 +45,7 @@ extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_Meta_occursCheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___spec__2(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_Std_Range_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__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*); +lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMVar(lean_object*); static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__9; @@ -58,7 +59,6 @@ lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUs lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__4; -lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_commitWhenSome_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__2___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3___closed__2; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -9422,7 +9422,8 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_32 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); +x_32 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); +lean_dec(x_3); x_12 = x_32; goto block_21; } @@ -9445,8 +9446,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_37 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); +x_37 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); if (lean_obj_tag(x_37) == 0) { 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; diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index 56d12d4ed7..2b9ee4e9fb 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -21,6 +21,7 @@ static lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___closed__2 static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3; lean_object* l_Lean_Elab_Tactic_withCaseRef(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2; +lean_object* l_Lean_Elab_Tactic_expandTacticMacro___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainTag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -30,6 +31,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__4; lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); @@ -52,6 +54,7 @@ static lean_object* l_Lean_Elab_Tactic_evalTacticAux___closed__1; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__3; lean_object* l_Lean_Elab_Tactic_evalRotateRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1(lean_object*); lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -63,6 +66,7 @@ lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__5(lean_object*, le lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Tactic_adaptExpander___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* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__10; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__32; lean_object* l_Lean_Elab_Tactic_mkTacticAttribute(lean_object*); @@ -118,6 +122,7 @@ lean_object* l_Array_qpartition_loop___at___private_Lean_Elab_Tactic_Basic_0__Le lean_object* l_Lean_Elab_Tactic_focusAndDone(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__14(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_Lean_Elab_Tactic_evalTacticAt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5; lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__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*); @@ -175,7 +180,6 @@ static lean_object* l_Lean_Elab_Tactic_evalCase___closed__5; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__35; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__7; static lean_object* l_Lean_Elab_Tactic_evalCase___closed__3; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f_match__1(lean_object*); @@ -187,7 +191,6 @@ lean_object* l_Lean_Elab_Tactic_tryCatch(lean_object*); lean_object* l_Lean_Elab_Tactic_setGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__18(lean_object*, lean_object*, size_t, size_t, 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_string_append(lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; @@ -199,14 +202,16 @@ uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getGoals___boxed(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight(lean_object*); lean_object* l_Lean_Elab_Tactic_evalFocus___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__8; -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__4; lean_object* l_Lean_Elab_Tactic_evalDone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3; +lean_object* l_Lean_Elab_Tactic_evalTacticAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object*); lean_object* l_Lean_MetavarContext_renameMVar(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__3; @@ -221,8 +226,8 @@ lean_object* l_Lean_Elab_Tactic_instMonadTacticM___lambda__3___boxed(lean_object static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__16; lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__7(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__4; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__7; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4___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_string_utf8_byte_size(lean_object*); lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTraceState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -241,11 +246,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getFVarId_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__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* l_Lean_Elab_Tactic_instMonadTacticM___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNames___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___spec__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_object* l_Lean_throwError___at_Lean_Elab_Tactic_getFVarId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -263,6 +268,7 @@ lean_object* l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231 lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7; lean_object* l_Lean_Elab_Tactic_saveState(lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -311,6 +317,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalOpen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5___closed__1; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getOptRotation___boxed(lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1; static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3; static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__5; @@ -319,10 +326,12 @@ uint8_t l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Ta static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__4; lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSorry(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___closed__1; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__15; lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__18; +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTacticAux_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4; lean_object* l_Lean_Elab_Tactic_instMonadTacticM___lambda__5(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*); @@ -394,9 +403,9 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalDone___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__2; lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___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* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_instMonadTacticM___lambda__3(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_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__34; lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__6___boxed(lean_object*, lean_object*, lean_object*); @@ -410,6 +419,7 @@ lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1___boxed(lean_object*, static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__8; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__1; +lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_abortTacticExceptionId; lean_object* l_Lean_Elab_Tactic_getGoals___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -418,7 +428,6 @@ lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone(lean_object*); lean_object* lean_name_append_index_after(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2; -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___rarg___closed__1; lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__9; @@ -428,12 +437,12 @@ static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalFirst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getGoals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__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*); -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5495____closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__4; +lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1; -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1; lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -465,7 +474,6 @@ static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__9; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__26; lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___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* l_Lean_Elab_Tactic_liftMetaMAtMain___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__2; lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___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*); @@ -481,7 +489,7 @@ lean_object* l_Lean_Elab_Tactic_evalParen___boxed(lean_object*, lean_object*, le lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -lean_object* l_Lean_KeyedDeclsAttribute_getValues___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSeq1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__3; @@ -501,6 +509,7 @@ lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo___elambda__1(lean_object*, l lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_object*); lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6(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_Lean_Elab_Tactic_getMainModule___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2; lean_object* l_Lean_Elab_Tactic_evalChoice(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros(lean_object*); lean_object* l_Lean_Elab_Tactic_evalTraceState(lean_object*); @@ -517,6 +526,7 @@ lean_object* l_Lean_Elab_Tactic_evalCase_match__1___rarg(lean_object*, lean_obje extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_assumption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize(lean_object*); @@ -524,6 +534,7 @@ static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__44; lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalFirst___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* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalAllGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); lean_object* l_Lean_Elab_Tactic_instMonadTacticM___lambda__2(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*); @@ -532,6 +543,7 @@ static lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM___clo static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5; static lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3; lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___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*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__1; @@ -560,7 +572,6 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2; lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop_match__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3; lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); @@ -573,6 +584,7 @@ lean_object* l_Lean_Elab_Tactic_forEachVar___boxed(lean_object*, lean_object*, l static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__4; static lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___closed__1; lean_object* l_Lean_Elab_Tactic_evalRevert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___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_Lean_Elab_Tactic_liftMetaTactic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__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* l_Lean_Elab_Tactic_evalFocus(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -588,11 +600,11 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1_ lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1; lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1; lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___boxed(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntros___closed__2; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_appendGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__17___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_Lean_Elab_Tactic_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__1; @@ -629,20 +641,22 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1; lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds_match__1(lean_object*); lean_object* l_Lean_Syntax_getNumArgs(lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing___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*); static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__3; lean_object* l_Lean_Elab_Tactic_evalParen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_macroAttribute; lean_object* l_Lean_Elab_Tactic_liftMetaTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4; -lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalCase_match__2___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus(lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__5; lean_object* lean_environment_main_module(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSubst___closed__2; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__37; static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__2; @@ -683,11 +697,11 @@ static lean_object* l_Lean_Elab_Tactic_evalCase___closed__2; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__17; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2; -static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__3; lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenRenaming___at_Lean_Elab_Tactic_evalOpen___spec__4___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_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_setGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalCase___spec__3___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_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__27; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2; @@ -698,12 +712,10 @@ lean_object* l_Lean_Meta_withPPInaccessibleNamesImp___rarg(uint8_t, lean_object* static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__10; lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals(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_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___rarg(lean_object*); lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__9; lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__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* l_Lean_Elab_Tactic_evalFailIfSuccess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenSimple___at_Lean_Elab_Tactic_evalOpen___spec__16(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_Lean_Elab_Tactic_evalIntros_match__1(lean_object*); lean_object* l_Lean_Meta_isExprMVarAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -732,14 +744,15 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert(lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_getFVarIds___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___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* l_Lean_Elab_Tactic_evalIntro_introStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__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*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalOpen___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__14; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_getMainDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; @@ -760,9 +773,9 @@ static lean_object* l_Lean_Elab_Tactic_evalIntros___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_closeMainGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg(lean_object*); lean_object* l_Lean_Elab_Tactic_tryTactic___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__4; -lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5495_(lean_object*); +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545_(lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__4; lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -772,6 +785,7 @@ lean_object* l_Lean_Elab_Tactic_getMainTarget___boxed(lean_object*, lean_object* lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withMacroExpansion___rarg(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_pop(lean_object*); +lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns___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_Lean_Elab_Term_reportUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__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* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___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*); @@ -784,8 +798,10 @@ lean_object* l_Lean_Elab_Tactic_evalDone(lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__3; static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__2; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tryTactic_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -795,7 +811,6 @@ lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__5; -lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__6; @@ -806,11 +821,9 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___clo static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__28; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__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* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSubst___closed__1; lean_object* l_Lean_Elab_Tactic_evalIntros(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tryTactic(lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__7___boxed(lean_object*); @@ -822,7 +835,6 @@ lean_object* l_Lean_Elab_Tactic_evalSubst(lean_object*, lean_object*, lean_objec lean_object* lean_nat_mod(lean_object*, lean_object*); lean_object* l_Lean_LocalContext_setUserName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___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_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7___closed__1; lean_object* l_Lean_Elab_Tactic_saveState___boxed(lean_object*); @@ -830,7 +842,6 @@ static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__14; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getOptRotation(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3; lean_object* l_Lean_Elab_Tactic_instOrElseTacticM(lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__2; lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__5___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3; lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -843,15 +854,16 @@ lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_scopedEnvExtensionsRef; static lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__2; lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___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* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__3; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__4; lean_object* l_List_erase___at_Lean_Elab_Tactic_evalCase___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalIntro_introStep_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__3; +lean_object* l_Lean_Elab_Tactic_adaptExpander___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__3; uint8_t l_Lean_Elab_isAbortTacticException(lean_object*); static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___closed__2; @@ -869,6 +881,7 @@ lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___spec lean_object* l_Lean_Elab_Tactic_getMainModule(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint32_t lean_uint32_of_nat(lean_object*); +lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_Lean_Elab_Tactic_evalIntros_match__1___rarg(lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_indentExpr(lean_object*); @@ -876,8 +889,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3; lean_object* l_Lean_Elab_Tactic_getMainModule___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__6; lean_object* l_Lean_Elab_Tactic_getFVarId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalManyTacticOptSemi___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -885,6 +896,7 @@ lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption__ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase(lean_object*); lean_object* l_Lean_Elab_Tactic_withCaseRef___at_Lean_Elab_Tactic_evalCase___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__12; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__3; lean_object* l_Lean_Elab_Tactic_evalCase_match__2(lean_object*); lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Tactic_evalOpen___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -927,6 +939,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst_ static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__6; lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___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*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545____closed__1; lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Tactic_evalOpen___spec__12___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_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2468,7 +2481,7 @@ lean_dec(x_31); x_34 = !lean_is_exclusive(x_32); 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_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_105; +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_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_107; x_35 = lean_ctor_get(x_32, 1); lean_dec(x_35); x_36 = lean_box(0); @@ -2477,556 +2490,564 @@ x_37 = lean_st_ref_set(x_4, x_32, x_33); x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); +x_39 = lean_box(0); lean_inc(x_1); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_1); -lean_ctor_set(x_39, 1, x_36); -x_65 = lean_st_ref_get(x_8, x_38); -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_st_mk_ref(x_39, x_66); -x_68 = lean_ctor_get(x_67, 0); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_1); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_1); +lean_ctor_set(x_41, 1, x_36); +x_67 = lean_st_ref_get(x_8, x_38); +x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); lean_dec(x_67); +x_69 = lean_st_mk_ref(x_41, x_68); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_68); -lean_inc(x_1); -x_105 = lean_apply_9(x_2, x_1, x_68, x_3, x_4, x_5, x_6, x_7, x_8, x_69); -if (lean_obj_tag(x_105) == 0) +lean_inc(x_70); +lean_inc(x_40); +x_107 = lean_apply_9(x_2, x_40, x_70, x_3, x_4, x_5, x_6, x_7, x_8, x_71); +if (lean_obj_tag(x_107) == 0) { -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -lean_dec(x_105); -x_107 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_1, x_68, x_3, x_4, x_5, x_6, x_7, x_8, x_106); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_108 = lean_ctor_get(x_107, 0); +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_108 = lean_ctor_get(x_107, 1); lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); lean_dec(x_107); -x_70 = x_108; -x_71 = x_109; -goto block_104; -} -else -{ -lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_110 = lean_ctor_get(x_105, 0); +x_109 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_40, x_70, x_3, x_4, x_5, x_6, x_7, x_8, x_108); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_40); +x_110 = lean_ctor_get(x_109, 0); lean_inc(x_110); -x_111 = lean_ctor_get(x_105, 1); +x_111 = lean_ctor_get(x_109, 1); lean_inc(x_111); -lean_dec(x_105); -x_112 = l_Lean_Elab_isAbortTacticException(x_110); -if (x_112 == 0) -{ -lean_dec(x_68); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_40 = x_110; -x_41 = x_111; -goto block_64; +lean_dec(x_109); +x_72 = x_110; +x_73 = x_111; +goto block_106; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec(x_110); -x_113 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_1, x_68, x_3, x_4, x_5, x_6, x_7, x_8, x_111); +lean_object* x_112; lean_object* x_113; uint8_t x_114; +x_112 = lean_ctor_get(x_107, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_107, 1); +lean_inc(x_113); +lean_dec(x_107); +x_114 = l_Lean_Elab_isAbortTacticException(x_112); +if (x_114 == 0) +{ +lean_dec(x_70); +lean_dec(x_40); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_70 = x_114; -x_71 = x_115; -goto block_104; +x_42 = x_112; +x_43 = x_113; +goto block_66; } -} -block_64: +else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_42 = lean_st_ref_get(x_8, x_41); +lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_112); +x_115 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_40, x_70, x_3, x_4, x_5, x_6, x_7, x_8, x_113); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_40); +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_72 = x_116; +x_73 = x_117; +goto block_106; +} +} +block_66: +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_44 = lean_st_ref_get(x_8, x_43); lean_dec(x_8); -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); -x_44 = lean_st_ref_take(x_4, x_43); -x_45 = lean_ctor_get(x_44, 0); +x_45 = lean_ctor_get(x_44, 1); lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); lean_dec(x_44); -x_47 = !lean_is_exclusive(x_45); -if (x_47 == 0) +x_46 = lean_st_ref_take(x_4, x_45); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = !lean_is_exclusive(x_47); +if (x_49 == 0) { -lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_48 = lean_ctor_get(x_45, 1); -lean_dec(x_48); -lean_ctor_set(x_45, 1, x_28); -x_49 = lean_st_ref_set(x_4, x_45, x_46); +lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_50 = lean_ctor_get(x_47, 1); +lean_dec(x_50); +lean_ctor_set(x_47, 1, x_28); +x_51 = lean_st_ref_set(x_4, x_47, x_48); lean_dec(x_4); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) { -lean_object* x_51; -x_51 = lean_ctor_get(x_49, 0); +lean_object* x_53; +x_53 = lean_ctor_get(x_51, 0); +lean_dec(x_53); +lean_ctor_set_tag(x_51, 1); +lean_ctor_set(x_51, 0, x_42); +x_10 = x_51; +goto block_22; +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); lean_dec(x_51); -lean_ctor_set_tag(x_49, 1); -lean_ctor_set(x_49, 0, x_40); -x_10 = x_49; -goto block_22; -} -else -{ -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_40); -lean_ctor_set(x_53, 1, x_52); -x_10 = x_53; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_42); +lean_ctor_set(x_55, 1, x_54); +x_10 = x_55; goto block_22; } } else { -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_54 = lean_ctor_get(x_45, 0); -x_55 = lean_ctor_get(x_45, 2); -x_56 = lean_ctor_get(x_45, 3); -x_57 = lean_ctor_get(x_45, 4); -x_58 = lean_ctor_get(x_45, 5); +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; +x_56 = lean_ctor_get(x_47, 0); +x_57 = lean_ctor_get(x_47, 2); +x_58 = lean_ctor_get(x_47, 3); +x_59 = lean_ctor_get(x_47, 4); +x_60 = lean_ctor_get(x_47, 5); +lean_inc(x_60); +lean_inc(x_59); lean_inc(x_58); lean_inc(x_57); lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_45); -x_59 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_59, 0, x_54); -lean_ctor_set(x_59, 1, x_28); -lean_ctor_set(x_59, 2, x_55); -lean_ctor_set(x_59, 3, x_56); -lean_ctor_set(x_59, 4, x_57); -lean_ctor_set(x_59, 5, x_58); -x_60 = lean_st_ref_set(x_4, x_59, x_46); +lean_dec(x_47); +x_61 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_61, 0, x_56); +lean_ctor_set(x_61, 1, x_28); +lean_ctor_set(x_61, 2, x_57); +lean_ctor_set(x_61, 3, x_58); +lean_ctor_set(x_61, 4, x_59); +lean_ctor_set(x_61, 5, x_60); +x_62 = lean_st_ref_set(x_4, x_61, x_48); lean_dec(x_4); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_62 = x_60; +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; } else { - lean_dec_ref(x_60); - x_62 = lean_box(0); + lean_dec_ref(x_62); + x_64 = lean_box(0); } -if (lean_is_scalar(x_62)) { - x_63 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(1, 2, 0); } else { - x_63 = x_62; - lean_ctor_set_tag(x_63, 1); + x_65 = x_64; + lean_ctor_set_tag(x_65, 1); } -lean_ctor_set(x_63, 0, x_40); -lean_ctor_set(x_63, 1, x_61); -x_10 = x_63; +lean_ctor_set(x_65, 0, x_42); +lean_ctor_set(x_65, 1, x_63); +x_10 = x_65; goto block_22; } } -block_104: +block_106: { -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; uint8_t x_81; -x_72 = lean_st_ref_get(x_8, x_71); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -lean_dec(x_72); -x_74 = lean_st_ref_get(x_68, x_73); -lean_dec(x_68); +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; uint8_t x_83; +x_74 = lean_st_ref_get(x_8, x_73); x_75 = lean_ctor_get(x_74, 1); lean_inc(x_75); lean_dec(x_74); -x_76 = lean_st_ref_get(x_8, x_75); -lean_dec(x_8); +x_76 = lean_st_ref_get(x_70, x_75); +lean_dec(x_70); x_77 = lean_ctor_get(x_76, 1); lean_inc(x_77); lean_dec(x_76); -x_78 = lean_st_ref_take(x_4, x_77); -x_79 = lean_ctor_get(x_78, 0); +x_78 = lean_st_ref_get(x_8, x_77); +lean_dec(x_8); +x_79 = lean_ctor_get(x_78, 1); lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); lean_dec(x_78); -x_81 = !lean_is_exclusive(x_79); -if (x_81 == 0) +x_80 = lean_st_ref_take(x_4, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +x_83 = !lean_is_exclusive(x_81); +if (x_83 == 0) { -lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_82 = lean_ctor_get(x_79, 1); -lean_dec(x_82); -lean_ctor_set(x_79, 1, x_28); -x_83 = lean_st_ref_set(x_4, x_79, x_80); +lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_84 = lean_ctor_get(x_81, 1); +lean_dec(x_84); +lean_ctor_set(x_81, 1, x_28); +x_85 = lean_st_ref_set(x_4, x_81, x_82); lean_dec(x_4); -x_84 = !lean_is_exclusive(x_83); -if (x_84 == 0) +x_86 = !lean_is_exclusive(x_85); +if (x_86 == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_83, 0); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_85, 0); +lean_dec(x_87); +x_88 = lean_box(0); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_72); +lean_ctor_set(x_89, 1, x_88); +lean_ctor_set(x_85, 0, x_89); +x_10 = x_85; +goto block_22; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_90 = lean_ctor_get(x_85, 1); +lean_inc(x_90); lean_dec(x_85); -x_86 = lean_box(0); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_70); -lean_ctor_set(x_87, 1, x_86); -lean_ctor_set(x_83, 0, x_87); -x_10 = x_83; -goto block_22; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_88 = lean_ctor_get(x_83, 1); -lean_inc(x_88); -lean_dec(x_83); -x_89 = lean_box(0); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_70); -lean_ctor_set(x_90, 1, x_89); -x_91 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_88); -x_10 = x_91; +x_91 = lean_box(0); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_72); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_90); +x_10 = x_93; goto block_22; } } 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; -x_92 = lean_ctor_get(x_79, 0); -x_93 = lean_ctor_get(x_79, 2); -x_94 = lean_ctor_get(x_79, 3); -x_95 = lean_ctor_get(x_79, 4); -x_96 = lean_ctor_get(x_79, 5); +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; +x_94 = lean_ctor_get(x_81, 0); +x_95 = lean_ctor_get(x_81, 2); +x_96 = lean_ctor_get(x_81, 3); +x_97 = lean_ctor_get(x_81, 4); +x_98 = lean_ctor_get(x_81, 5); +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_dec(x_79); -x_97 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_97, 0, x_92); -lean_ctor_set(x_97, 1, x_28); -lean_ctor_set(x_97, 2, x_93); -lean_ctor_set(x_97, 3, x_94); -lean_ctor_set(x_97, 4, x_95); -lean_ctor_set(x_97, 5, x_96); -x_98 = lean_st_ref_set(x_4, x_97, x_80); +lean_dec(x_81); +x_99 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_99, 0, x_94); +lean_ctor_set(x_99, 1, x_28); +lean_ctor_set(x_99, 2, x_95); +lean_ctor_set(x_99, 3, x_96); +lean_ctor_set(x_99, 4, x_97); +lean_ctor_set(x_99, 5, x_98); +x_100 = lean_st_ref_set(x_4, x_99, x_82); lean_dec(x_4); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_100 = x_98; +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_102 = x_100; } else { - lean_dec_ref(x_98); - x_100 = lean_box(0); + lean_dec_ref(x_100); + x_102 = lean_box(0); } -x_101 = lean_box(0); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_70); -lean_ctor_set(x_102, 1, x_101); -if (lean_is_scalar(x_100)) { - x_103 = lean_alloc_ctor(0, 2, 0); +x_103 = lean_box(0); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_72); +lean_ctor_set(x_104, 1, x_103); +if (lean_is_scalar(x_102)) { + x_105 = lean_alloc_ctor(0, 2, 0); } else { - x_103 = x_100; + x_105 = x_102; } -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_99); -x_10 = x_103; +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_101); +x_10 = x_105; goto block_22; } } } else { -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_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_175; -x_116 = lean_ctor_get(x_32, 0); -x_117 = lean_ctor_get(x_32, 2); -x_118 = lean_ctor_get(x_32, 3); -x_119 = lean_ctor_get(x_32, 4); -x_120 = lean_ctor_get(x_32, 5); +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_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_179; +x_118 = lean_ctor_get(x_32, 0); +x_119 = lean_ctor_get(x_32, 2); +x_120 = lean_ctor_get(x_32, 3); +x_121 = lean_ctor_get(x_32, 4); +x_122 = lean_ctor_get(x_32, 5); +lean_inc(x_122); +lean_inc(x_121); lean_inc(x_120); lean_inc(x_119); lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); lean_dec(x_32); -x_121 = lean_box(0); -x_122 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_122, 0, x_116); -lean_ctor_set(x_122, 1, x_121); -lean_ctor_set(x_122, 2, x_117); -lean_ctor_set(x_122, 3, x_118); -lean_ctor_set(x_122, 4, x_119); -lean_ctor_set(x_122, 5, x_120); -x_123 = lean_st_ref_set(x_4, x_122, x_33); -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); +x_123 = lean_box(0); +x_124 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_124, 0, x_118); +lean_ctor_set(x_124, 1, x_123); +lean_ctor_set(x_124, 2, x_119); +lean_ctor_set(x_124, 3, x_120); +lean_ctor_set(x_124, 4, x_121); +lean_ctor_set(x_124, 5, x_122); +x_125 = lean_st_ref_set(x_4, x_124, x_33); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +lean_dec(x_125); +x_127 = lean_box(0); lean_inc(x_1); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_1); -lean_ctor_set(x_125, 1, x_121); -x_145 = lean_st_ref_get(x_8, x_124); -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); -lean_dec(x_145); -x_147 = lean_st_mk_ref(x_125, x_146); -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); -lean_inc(x_149); -lean_dec(x_147); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_1); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_1); +lean_ctor_set(x_129, 1, x_123); +x_149 = lean_st_ref_get(x_8, x_126); +x_150 = lean_ctor_get(x_149, 1); +lean_inc(x_150); +lean_dec(x_149); +x_151 = lean_st_mk_ref(x_129, x_150); +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); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_148); -lean_inc(x_1); -x_175 = lean_apply_9(x_2, x_1, x_148, x_3, x_4, x_5, x_6, x_7, x_8, x_149); -if (lean_obj_tag(x_175) == 0) +lean_inc(x_152); +lean_inc(x_128); +x_179 = lean_apply_9(x_2, x_128, x_152, x_3, x_4, x_5, x_6, x_7, x_8, x_153); +if (lean_obj_tag(x_179) == 0) { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_176 = lean_ctor_get(x_175, 1); -lean_inc(x_176); -lean_dec(x_175); -x_177 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_1, x_148, x_3, x_4, x_5, x_6, x_7, x_8, x_176); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_178 = lean_ctor_get(x_177, 0); -lean_inc(x_178); -x_179 = lean_ctor_get(x_177, 1); -lean_inc(x_179); -lean_dec(x_177); -x_150 = x_178; -x_151 = x_179; -goto block_174; -} -else -{ -lean_object* x_180; lean_object* x_181; uint8_t x_182; -x_180 = lean_ctor_get(x_175, 0); +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_180 = lean_ctor_get(x_179, 1); lean_inc(x_180); -x_181 = lean_ctor_get(x_175, 1); -lean_inc(x_181); -lean_dec(x_175); -x_182 = l_Lean_Elab_isAbortTacticException(x_180); -if (x_182 == 0) -{ -lean_dec(x_148); +lean_dec(x_179); +x_181 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_128, x_152, x_3, x_4, x_5, x_6, x_7, x_8, x_180); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -x_126 = x_180; -x_127 = x_181; -goto block_144; +lean_dec(x_128); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_154 = x_182; +x_155 = x_183; +goto block_178; } else { -lean_object* x_183; lean_object* x_184; lean_object* x_185; -lean_dec(x_180); -x_183 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_1, x_148, x_3, x_4, x_5, x_6, x_7, x_8, x_181); +lean_object* x_184; lean_object* x_185; uint8_t x_186; +x_184 = lean_ctor_get(x_179, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_179, 1); +lean_inc(x_185); +lean_dec(x_179); +x_186 = l_Lean_Elab_isAbortTacticException(x_184); +if (x_186 == 0) +{ +lean_dec(x_152); +lean_dec(x_128); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -x_184 = lean_ctor_get(x_183, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_183, 1); -lean_inc(x_185); -lean_dec(x_183); -x_150 = x_184; -x_151 = x_185; -goto block_174; +x_130 = x_184; +x_131 = x_185; +goto block_148; } -} -block_144: +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; -x_128 = lean_st_ref_get(x_8, x_127); -lean_dec(x_8); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); +lean_object* x_187; lean_object* x_188; lean_object* x_189; +lean_dec(x_184); +x_187 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_128, x_152, x_3, x_4, x_5, x_6, x_7, x_8, x_185); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); lean_dec(x_128); -x_130 = lean_st_ref_take(x_4, x_129); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_ctor_get(x_131, 0); +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec(x_187); +x_154 = x_188; +x_155 = x_189; +goto block_178; +} +} +block_148: +{ +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; +x_132 = lean_st_ref_get(x_8, x_131); +lean_dec(x_8); +x_133 = lean_ctor_get(x_132, 1); lean_inc(x_133); -x_134 = lean_ctor_get(x_131, 2); -lean_inc(x_134); -x_135 = lean_ctor_get(x_131, 3); +lean_dec(x_132); +x_134 = lean_st_ref_take(x_4, x_133); +x_135 = lean_ctor_get(x_134, 0); lean_inc(x_135); -x_136 = lean_ctor_get(x_131, 4); +x_136 = lean_ctor_get(x_134, 1); lean_inc(x_136); -x_137 = lean_ctor_get(x_131, 5); +lean_dec(x_134); +x_137 = lean_ctor_get(x_135, 0); lean_inc(x_137); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - lean_ctor_release(x_131, 2); - lean_ctor_release(x_131, 3); - lean_ctor_release(x_131, 4); - lean_ctor_release(x_131, 5); - x_138 = x_131; -} else { - lean_dec_ref(x_131); - x_138 = lean_box(0); -} -if (lean_is_scalar(x_138)) { - x_139 = lean_alloc_ctor(0, 6, 0); -} else { - x_139 = x_138; -} -lean_ctor_set(x_139, 0, x_133); -lean_ctor_set(x_139, 1, x_28); -lean_ctor_set(x_139, 2, x_134); -lean_ctor_set(x_139, 3, x_135); -lean_ctor_set(x_139, 4, x_136); -lean_ctor_set(x_139, 5, x_137); -x_140 = lean_st_ref_set(x_4, x_139, x_132); -lean_dec(x_4); -x_141 = lean_ctor_get(x_140, 1); +x_138 = lean_ctor_get(x_135, 2); +lean_inc(x_138); +x_139 = lean_ctor_get(x_135, 3); +lean_inc(x_139); +x_140 = lean_ctor_get(x_135, 4); +lean_inc(x_140); +x_141 = lean_ctor_get(x_135, 5); lean_inc(x_141); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - lean_ctor_release(x_140, 1); - x_142 = x_140; +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + lean_ctor_release(x_135, 2); + lean_ctor_release(x_135, 3); + lean_ctor_release(x_135, 4); + lean_ctor_release(x_135, 5); + x_142 = x_135; } else { - lean_dec_ref(x_140); + lean_dec_ref(x_135); x_142 = lean_box(0); } if (lean_is_scalar(x_142)) { - x_143 = lean_alloc_ctor(1, 2, 0); + x_143 = lean_alloc_ctor(0, 6, 0); } else { x_143 = x_142; - lean_ctor_set_tag(x_143, 1); } -lean_ctor_set(x_143, 0, x_126); -lean_ctor_set(x_143, 1, x_141); -x_10 = x_143; +lean_ctor_set(x_143, 0, x_137); +lean_ctor_set(x_143, 1, x_28); +lean_ctor_set(x_143, 2, x_138); +lean_ctor_set(x_143, 3, x_139); +lean_ctor_set(x_143, 4, x_140); +lean_ctor_set(x_143, 5, x_141); +x_144 = lean_st_ref_set(x_4, x_143, x_136); +lean_dec(x_4); +x_145 = lean_ctor_get(x_144, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + x_146 = x_144; +} else { + lean_dec_ref(x_144); + x_146 = lean_box(0); +} +if (lean_is_scalar(x_146)) { + x_147 = lean_alloc_ctor(1, 2, 0); +} else { + x_147 = x_146; + lean_ctor_set_tag(x_147, 1); +} +lean_ctor_set(x_147, 0, x_130); +lean_ctor_set(x_147, 1, x_145); +x_10 = x_147; goto block_22; } -block_174: +block_178: { -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; -x_152 = lean_st_ref_get(x_8, x_151); -x_153 = lean_ctor_get(x_152, 1); -lean_inc(x_153); -lean_dec(x_152); -x_154 = lean_st_ref_get(x_148, x_153); -lean_dec(x_148); -x_155 = lean_ctor_get(x_154, 1); -lean_inc(x_155); -lean_dec(x_154); +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_156 = lean_st_ref_get(x_8, x_155); -lean_dec(x_8); x_157 = lean_ctor_get(x_156, 1); lean_inc(x_157); lean_dec(x_156); -x_158 = lean_st_ref_take(x_4, x_157); -x_159 = lean_ctor_get(x_158, 0); +x_158 = lean_st_ref_get(x_152, x_157); +lean_dec(x_152); +x_159 = lean_ctor_get(x_158, 1); lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); lean_dec(x_158); -x_161 = lean_ctor_get(x_159, 0); +x_160 = lean_st_ref_get(x_8, x_159); +lean_dec(x_8); +x_161 = lean_ctor_get(x_160, 1); lean_inc(x_161); -x_162 = lean_ctor_get(x_159, 2); -lean_inc(x_162); -x_163 = lean_ctor_get(x_159, 3); +lean_dec(x_160); +x_162 = lean_st_ref_take(x_4, x_161); +x_163 = lean_ctor_get(x_162, 0); lean_inc(x_163); -x_164 = lean_ctor_get(x_159, 4); +x_164 = lean_ctor_get(x_162, 1); lean_inc(x_164); -x_165 = lean_ctor_get(x_159, 5); +lean_dec(x_162); +x_165 = lean_ctor_get(x_163, 0); lean_inc(x_165); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - lean_ctor_release(x_159, 1); - lean_ctor_release(x_159, 2); - lean_ctor_release(x_159, 3); - lean_ctor_release(x_159, 4); - lean_ctor_release(x_159, 5); - x_166 = x_159; -} else { - lean_dec_ref(x_159); - x_166 = lean_box(0); -} -if (lean_is_scalar(x_166)) { - x_167 = lean_alloc_ctor(0, 6, 0); -} else { - x_167 = x_166; -} -lean_ctor_set(x_167, 0, x_161); -lean_ctor_set(x_167, 1, x_28); -lean_ctor_set(x_167, 2, x_162); -lean_ctor_set(x_167, 3, x_163); -lean_ctor_set(x_167, 4, x_164); -lean_ctor_set(x_167, 5, x_165); -x_168 = lean_st_ref_set(x_4, x_167, x_160); -lean_dec(x_4); -x_169 = lean_ctor_get(x_168, 1); +x_166 = lean_ctor_get(x_163, 2); +lean_inc(x_166); +x_167 = lean_ctor_get(x_163, 3); +lean_inc(x_167); +x_168 = lean_ctor_get(x_163, 4); +lean_inc(x_168); +x_169 = lean_ctor_get(x_163, 5); lean_inc(x_169); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_170 = x_168; +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + lean_ctor_release(x_163, 2); + lean_ctor_release(x_163, 3); + lean_ctor_release(x_163, 4); + lean_ctor_release(x_163, 5); + x_170 = x_163; } else { - lean_dec_ref(x_168); + lean_dec_ref(x_163); x_170 = lean_box(0); } -x_171 = lean_box(0); -x_172 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_172, 0, x_150); -lean_ctor_set(x_172, 1, x_171); if (lean_is_scalar(x_170)) { - x_173 = lean_alloc_ctor(0, 2, 0); + x_171 = lean_alloc_ctor(0, 6, 0); } else { - x_173 = x_170; + x_171 = x_170; } -lean_ctor_set(x_173, 0, x_172); -lean_ctor_set(x_173, 1, x_169); -x_10 = x_173; +lean_ctor_set(x_171, 0, x_165); +lean_ctor_set(x_171, 1, x_28); +lean_ctor_set(x_171, 2, x_166); +lean_ctor_set(x_171, 3, x_167); +lean_ctor_set(x_171, 4, x_168); +lean_ctor_set(x_171, 5, x_169); +x_172 = lean_st_ref_set(x_4, x_171, x_164); +lean_dec(x_4); +x_173 = lean_ctor_get(x_172, 1); +lean_inc(x_173); +if (lean_is_exclusive(x_172)) { + lean_ctor_release(x_172, 0); + lean_ctor_release(x_172, 1); + x_174 = x_172; +} else { + lean_dec_ref(x_172); + x_174 = lean_box(0); +} +x_175 = lean_box(0); +x_176 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_176, 0, x_154); +lean_ctor_set(x_176, 1, x_175); +if (lean_is_scalar(x_174)) { + x_177 = lean_alloc_ctor(0, 2, 0); +} else { + x_177 = x_174; +} +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_173); +x_10 = x_177; goto block_22; } } @@ -3878,464 +3899,6 @@ lean_dec(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_3); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_2, x_4); -return x_5; -} -else -{ -lean_object* x_6; -lean_dec(x_2); -x_6 = lean_apply_1(x_3, x_1); -return x_6; -} -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_apply_3(x_2, x_1, x_4, x_5); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_2); -x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -x_9 = lean_apply_3(x_3, x_1, x_7, x_8); -return x_9; -} -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_3); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_2, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_2); -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_8 = lean_apply_2(x_3, x_6, x_7); -return x_8; -} -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__3___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_8, 3); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_6, x_7, x_8, x_9, x_10); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_11); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_11); -lean_ctor_set(x_15, 1, x_14); -lean_ctor_set_tag(x_12, 1); -lean_ctor_set(x_12, 0, x_15); -return x_12; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_12, 0); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_12); -lean_inc(x_11); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_16); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__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) { -_start: -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_9, 3); -x_14 = l_Lean_replaceRef(x_1, x_13); -lean_dec(x_13); -lean_ctor_set(x_9, 3, x_14); -x_15 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_9); -return x_15; -} -else -{ -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_16 = lean_ctor_get(x_9, 0); -x_17 = lean_ctor_get(x_9, 1); -x_18 = lean_ctor_get(x_9, 2); -x_19 = lean_ctor_get(x_9, 3); -x_20 = lean_ctor_get(x_9, 4); -x_21 = lean_ctor_get(x_9, 5); -x_22 = lean_ctor_get(x_9, 6); -x_23 = lean_ctor_get(x_9, 7); -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_dec(x_9); -x_24 = l_Lean_replaceRef(x_1, x_19); -lean_dec(x_19); -x_25 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_25, 0, x_16); -lean_ctor_set(x_25, 1, x_17); -lean_ctor_set(x_25, 2, x_18); -lean_ctor_set(x_25, 3, x_24); -lean_ctor_set(x_25, 4, x_20); -lean_ctor_set(x_25, 5, x_21); -lean_ctor_set(x_25, 6, x_22); -lean_ctor_set(x_25, 7, x_23); -x_26 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11); -lean_dec(x_25); -return x_26; -} -} -} -static lean_object* _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unexpected syntax "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(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: -{ -if (lean_obj_tag(x_3) == 0) -{ -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_dec(x_1); -lean_inc(x_2); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_2); -x_14 = l_Lean_indentD(x_13); -x_15 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2; -x_16 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__1(x_2, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_3, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_3, 1); -lean_inc(x_21); -lean_dec(x_3); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_2); -x_22 = lean_apply_10(x_20, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_22) == 0) -{ -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_22; -} -else -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_24; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_22); -if (x_24 == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_22, 0); -lean_dec(x_25); -return x_22; -} -else -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_23); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_23); -x_28 = lean_ctor_get(x_22, 1); -lean_inc(x_28); -lean_dec(x_22); -lean_inc(x_1); -x_29 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -x_3 = x_21; -x_12 = x_30; -goto _start; -} -} -else -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_22); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_33 = lean_ctor_get(x_22, 1); -x_34 = lean_ctor_get(x_22, 0); -lean_dec(x_34); -x_35 = lean_ctor_get(x_23, 0); -lean_inc(x_35); -x_36 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_37 = lean_nat_dec_eq(x_35, x_36); -lean_dec(x_35); -if (x_37 == 0) -{ -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_22; -} -else -{ -lean_object* x_38; lean_object* x_39; -lean_free_object(x_22); -lean_dec(x_23); -lean_inc(x_1); -x_38 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_33); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_3 = x_21; -x_12 = x_39; -goto _start; -} -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_41 = lean_ctor_get(x_22, 1); -lean_inc(x_41); -lean_dec(x_22); -x_42 = lean_ctor_get(x_23, 0); -lean_inc(x_42); -x_43 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_44 = lean_nat_dec_eq(x_42, x_43); -lean_dec(x_42); -if (x_44 == 0) -{ -lean_object* x_45; -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_23); -lean_ctor_set(x_45, 1, x_41); -return x_45; -} -else -{ -lean_object* x_46; lean_object* x_47; -lean_dec(x_23); -lean_inc(x_1); -x_46 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -lean_dec(x_46); -x_3 = x_21; -x_12 = x_47; -goto _start; -} -} -} -} -} -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__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) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} -lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing(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_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; -} -} lean_object* l_Lean_Elab_Tactic_mkTacticInfo(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: { @@ -4357,39 +3920,49 @@ x_19 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_22, 0, x_1); -lean_ctor_set(x_22, 1, x_2); -lean_ctor_set(x_22, 2, x_3); -lean_ctor_set(x_22, 3, x_18); -lean_ctor_set(x_22, 4, x_21); -x_23 = lean_alloc_ctor(0, 1, 0); +x_22 = lean_ctor_get(x_4, 1); +lean_inc(x_22); +x_23 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_19, 0, x_23); +lean_ctor_set(x_23, 1, x_3); +x_24 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_1); +lean_ctor_set(x_24, 2, x_2); +lean_ctor_set(x_24, 3, x_18); +lean_ctor_set(x_24, 4, x_21); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_19, 0, x_25); return x_19; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_24 = lean_ctor_get(x_19, 0); -x_25 = lean_ctor_get(x_19, 1); -lean_inc(x_25); -lean_inc(x_24); +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; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); lean_dec(x_19); -x_26 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_26, 0, x_1); -lean_ctor_set(x_26, 1, x_2); -lean_ctor_set(x_26, 2, x_3); -lean_ctor_set(x_26, 3, x_18); -lean_ctor_set(x_26, 4, x_24); -x_27 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_27, 0, 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_25); -return x_28; +x_28 = lean_ctor_get(x_4, 1); +lean_inc(x_28); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_3); +x_30 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_1); +lean_ctor_set(x_30, 2, x_2); +lean_ctor_set(x_30, 3, x_18); +lean_ctor_set(x_30, 4, x_26); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_30); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_27); +return x_32; } } } @@ -5226,6 +4799,985 @@ lean_dec(x_1); return x_4; } } +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; +lean_dec(x_2); +x_6 = lean_apply_1(x_3, x_1); +return x_6; +} +} +} +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_apply_3(x_2, x_1, x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_apply_3(x_3, x_1, x_7, x_8); +return x_9; +} +} +} +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +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_8 = lean_apply_2(x_3, x_6, x_7); +return x_8; +} +} +} +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_8, 3); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_6, x_7, x_8, x_9, x_10); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +lean_inc(x_11); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__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) { +_start: +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 3); +x_14 = l_Lean_replaceRef(x_1, x_13); +lean_dec(x_13); +lean_ctor_set(x_9, 3, x_14); +x_15 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +return x_15; +} +else +{ +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_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_9, 1); +x_18 = lean_ctor_get(x_9, 2); +x_19 = lean_ctor_get(x_9, 3); +x_20 = lean_ctor_get(x_9, 4); +x_21 = lean_ctor_get(x_9, 5); +x_22 = lean_ctor_get(x_9, 6); +x_23 = lean_ctor_get(x_9, 7); +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_dec(x_9); +x_24 = l_Lean_replaceRef(x_1, x_19); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_25, 0, x_16); +lean_ctor_set(x_25, 1, x_17); +lean_ctor_set(x_25, 2, x_18); +lean_ctor_set(x_25, 3, x_24); +lean_ctor_set(x_25, 4, x_20); +lean_ctor_set(x_25, 5, x_21); +lean_ctor_set(x_25, 6, x_22); +lean_ctor_set(x_25, 7, x_23); +x_26 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11); +lean_dec(x_25); +return x_26; +} +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unexpected syntax "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(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: +{ +if (lean_obj_tag(x_3) == 0) +{ +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_dec(x_1); +lean_inc(x_2); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_2); +x_14 = l_Lean_indentD(x_13); +x_15 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2; +x_16 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__1(x_2, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 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; uint8_t x_63; +x_20 = lean_ctor_get(x_3, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_3, 1); +lean_inc(x_21); +lean_dec(x_3); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +x_51 = lean_ctor_get(x_20, 0); +lean_inc(x_51); +lean_dec(x_20); +x_52 = lean_ctor_get(x_4, 0); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +lean_inc(x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +lean_inc(x_2); +x_55 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_2, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +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_st_ref_get(x_11, x_57); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_st_ref_get(x_7, x_59); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_61, 5); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_ctor_get_uint8(x_62, sizeof(void*)*2); +lean_dec(x_62); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; +lean_dec(x_56); +x_64 = lean_ctor_get(x_60, 1); +lean_inc(x_64); +lean_dec(x_60); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +x_65 = lean_apply_10(x_22, x_2, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_64); +x_23 = x_65; +goto block_50; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_66 = lean_ctor_get(x_60, 1); +lean_inc(x_66); +lean_dec(x_60); +x_67 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_7, x_8, x_9, x_10, x_11, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_54); +lean_inc(x_2); +x_70 = lean_apply_10(x_22, x_2, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_69); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_st_ref_get(x_11, x_72); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_75 = lean_st_ref_get(x_7, x_74); +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_ctor_get(x_76, 5); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_80 = lean_apply_9(x_56, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_77); +if (lean_obj_tag(x_80) == 0) +{ +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; uint8_t x_90; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_79); +x_84 = lean_st_ref_get(x_11, x_82); +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +lean_dec(x_84); +x_86 = lean_st_ref_take(x_7, x_85); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_87, 5); +lean_inc(x_88); +x_89 = lean_ctor_get(x_86, 1); +lean_inc(x_89); +lean_dec(x_86); +x_90 = !lean_is_exclusive(x_87); +if (x_90 == 0) +{ +lean_object* x_91; uint8_t x_92; +x_91 = lean_ctor_get(x_87, 5); +lean_dec(x_91); +x_92 = !lean_is_exclusive(x_88); +if (x_92 == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_93 = lean_ctor_get(x_88, 1); +lean_dec(x_93); +x_94 = l_Std_PersistentArray_push___rarg(x_68, x_83); +lean_ctor_set(x_88, 1, x_94); +x_95 = lean_st_ref_set(x_7, x_87, x_89); +x_96 = !lean_is_exclusive(x_95); +if (x_96 == 0) +{ +lean_object* x_97; +x_97 = lean_ctor_get(x_95, 0); +lean_dec(x_97); +lean_ctor_set(x_95, 0, x_71); +x_23 = x_95; +goto block_50; +} +else +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_95, 1); +lean_inc(x_98); +lean_dec(x_95); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_71); +lean_ctor_set(x_99, 1, x_98); +x_23 = x_99; +goto block_50; +} +} +else +{ +uint8_t 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; +x_100 = lean_ctor_get_uint8(x_88, sizeof(void*)*2); +x_101 = lean_ctor_get(x_88, 0); +lean_inc(x_101); +lean_dec(x_88); +x_102 = l_Std_PersistentArray_push___rarg(x_68, x_83); +x_103 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +lean_ctor_set_uint8(x_103, sizeof(void*)*2, x_100); +lean_ctor_set(x_87, 5, x_103); +x_104 = lean_st_ref_set(x_7, x_87, x_89); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + lean_ctor_release(x_104, 1); + x_106 = x_104; +} else { + lean_dec_ref(x_104); + x_106 = lean_box(0); +} +if (lean_is_scalar(x_106)) { + x_107 = lean_alloc_ctor(0, 2, 0); +} else { + x_107 = x_106; +} +lean_ctor_set(x_107, 0, x_71); +lean_ctor_set(x_107, 1, x_105); +x_23 = x_107; +goto block_50; +} +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_108 = lean_ctor_get(x_87, 0); +x_109 = lean_ctor_get(x_87, 1); +x_110 = lean_ctor_get(x_87, 2); +x_111 = lean_ctor_get(x_87, 3); +x_112 = lean_ctor_get(x_87, 4); +lean_inc(x_112); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_109); +lean_inc(x_108); +lean_dec(x_87); +x_113 = lean_ctor_get_uint8(x_88, sizeof(void*)*2); +x_114 = lean_ctor_get(x_88, 0); +lean_inc(x_114); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_115 = x_88; +} else { + lean_dec_ref(x_88); + x_115 = lean_box(0); +} +x_116 = l_Std_PersistentArray_push___rarg(x_68, x_83); +if (lean_is_scalar(x_115)) { + x_117 = lean_alloc_ctor(0, 2, 1); +} else { + x_117 = x_115; +} +lean_ctor_set(x_117, 0, x_114); +lean_ctor_set(x_117, 1, x_116); +lean_ctor_set_uint8(x_117, sizeof(void*)*2, x_113); +x_118 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_118, 0, x_108); +lean_ctor_set(x_118, 1, x_109); +lean_ctor_set(x_118, 2, x_110); +lean_ctor_set(x_118, 3, x_111); +lean_ctor_set(x_118, 4, x_112); +lean_ctor_set(x_118, 5, x_117); +x_119 = lean_st_ref_set(x_7, x_118, x_89); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_121 = x_119; +} else { + lean_dec_ref(x_119); + x_121 = lean_box(0); +} +if (lean_is_scalar(x_121)) { + x_122 = lean_alloc_ctor(0, 2, 0); +} else { + x_122 = x_121; +} +lean_ctor_set(x_122, 0, x_71); +lean_ctor_set(x_122, 1, x_120); +x_23 = x_122; +goto block_50; +} +} +else +{ +uint8_t x_123; +lean_dec(x_79); +lean_dec(x_71); +lean_dec(x_68); +x_123 = !lean_is_exclusive(x_80); +if (x_123 == 0) +{ +x_23 = x_80; +goto block_50; +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_80, 0); +x_125 = lean_ctor_get(x_80, 1); +lean_inc(x_125); +lean_inc(x_124); +lean_dec(x_80); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +x_23 = x_126; +goto block_50; +} +} +} +else +{ +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; +x_127 = lean_ctor_get(x_70, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_70, 1); +lean_inc(x_128); +lean_dec(x_70); +x_129 = lean_st_ref_get(x_11, x_128); +x_130 = lean_ctor_get(x_129, 1); +lean_inc(x_130); +lean_dec(x_129); +x_131 = lean_st_ref_get(x_7, x_130); +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +lean_dec(x_131); +x_134 = lean_ctor_get(x_132, 5); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +lean_dec(x_134); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_136 = lean_apply_9(x_56, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_133); +if (lean_obj_tag(x_136) == 0) +{ +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; uint8_t x_146; +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_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_135); +x_140 = lean_st_ref_get(x_11, x_138); +x_141 = lean_ctor_get(x_140, 1); +lean_inc(x_141); +lean_dec(x_140); +x_142 = lean_st_ref_take(x_7, x_141); +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_143, 5); +lean_inc(x_144); +x_145 = lean_ctor_get(x_142, 1); +lean_inc(x_145); +lean_dec(x_142); +x_146 = !lean_is_exclusive(x_143); +if (x_146 == 0) +{ +lean_object* x_147; uint8_t x_148; +x_147 = lean_ctor_get(x_143, 5); +lean_dec(x_147); +x_148 = !lean_is_exclusive(x_144); +if (x_148 == 0) +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_149 = lean_ctor_get(x_144, 1); +lean_dec(x_149); +x_150 = l_Std_PersistentArray_push___rarg(x_68, x_139); +lean_ctor_set(x_144, 1, x_150); +x_151 = lean_st_ref_set(x_7, x_143, x_145); +x_152 = !lean_is_exclusive(x_151); +if (x_152 == 0) +{ +lean_object* x_153; +x_153 = lean_ctor_get(x_151, 0); +lean_dec(x_153); +lean_ctor_set_tag(x_151, 1); +lean_ctor_set(x_151, 0, x_127); +x_23 = x_151; +goto block_50; +} +else +{ +lean_object* x_154; lean_object* x_155; +x_154 = lean_ctor_get(x_151, 1); +lean_inc(x_154); +lean_dec(x_151); +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_127); +lean_ctor_set(x_155, 1, x_154); +x_23 = x_155; +goto block_50; +} +} +else +{ +uint8_t x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_156 = lean_ctor_get_uint8(x_144, sizeof(void*)*2); +x_157 = lean_ctor_get(x_144, 0); +lean_inc(x_157); +lean_dec(x_144); +x_158 = l_Std_PersistentArray_push___rarg(x_68, x_139); +x_159 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +lean_ctor_set_uint8(x_159, sizeof(void*)*2, x_156); +lean_ctor_set(x_143, 5, x_159); +x_160 = lean_st_ref_set(x_7, x_143, x_145); +x_161 = lean_ctor_get(x_160, 1); +lean_inc(x_161); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_162 = x_160; +} else { + lean_dec_ref(x_160); + x_162 = lean_box(0); +} +if (lean_is_scalar(x_162)) { + x_163 = lean_alloc_ctor(1, 2, 0); +} else { + x_163 = x_162; + lean_ctor_set_tag(x_163, 1); +} +lean_ctor_set(x_163, 0, x_127); +lean_ctor_set(x_163, 1, x_161); +x_23 = x_163; +goto block_50; +} +} +else +{ +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_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; +x_164 = lean_ctor_get(x_143, 0); +x_165 = lean_ctor_get(x_143, 1); +x_166 = lean_ctor_get(x_143, 2); +x_167 = lean_ctor_get(x_143, 3); +x_168 = lean_ctor_get(x_143, 4); +lean_inc(x_168); +lean_inc(x_167); +lean_inc(x_166); +lean_inc(x_165); +lean_inc(x_164); +lean_dec(x_143); +x_169 = lean_ctor_get_uint8(x_144, sizeof(void*)*2); +x_170 = lean_ctor_get(x_144, 0); +lean_inc(x_170); +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + x_171 = x_144; +} else { + lean_dec_ref(x_144); + x_171 = lean_box(0); +} +x_172 = l_Std_PersistentArray_push___rarg(x_68, x_139); +if (lean_is_scalar(x_171)) { + x_173 = lean_alloc_ctor(0, 2, 1); +} else { + x_173 = x_171; +} +lean_ctor_set(x_173, 0, x_170); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set_uint8(x_173, sizeof(void*)*2, x_169); +x_174 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_174, 0, x_164); +lean_ctor_set(x_174, 1, x_165); +lean_ctor_set(x_174, 2, x_166); +lean_ctor_set(x_174, 3, x_167); +lean_ctor_set(x_174, 4, x_168); +lean_ctor_set(x_174, 5, x_173); +x_175 = lean_st_ref_set(x_7, x_174, x_145); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_177 = x_175; +} else { + lean_dec_ref(x_175); + x_177 = lean_box(0); +} +if (lean_is_scalar(x_177)) { + x_178 = lean_alloc_ctor(1, 2, 0); +} else { + x_178 = x_177; + lean_ctor_set_tag(x_178, 1); +} +lean_ctor_set(x_178, 0, x_127); +lean_ctor_set(x_178, 1, x_176); +x_23 = x_178; +goto block_50; +} +} +else +{ +uint8_t x_179; +lean_dec(x_135); +lean_dec(x_127); +lean_dec(x_68); +x_179 = !lean_is_exclusive(x_136); +if (x_179 == 0) +{ +x_23 = x_136; +goto block_50; +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_136, 0); +x_181 = lean_ctor_get(x_136, 1); +lean_inc(x_181); +lean_inc(x_180); +lean_dec(x_136); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_181); +x_23 = x_182; +goto block_50; +} +} +} +} +block_50: +{ +if (lean_obj_tag(x_23) == 0) +{ +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_23; +} +else +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) +{ +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_25; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_23); +if (x_25 == 0) +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_23, 0); +lean_dec(x_26); +return x_23; +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_23, 1); +lean_inc(x_27); +lean_dec(x_23); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_24); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_24); +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_dec(x_23); +lean_inc(x_1); +x_30 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_3 = x_21; +x_12 = x_31; +goto _start; +} +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_23); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_34 = lean_ctor_get(x_23, 1); +x_35 = lean_ctor_get(x_23, 0); +lean_dec(x_35); +x_36 = lean_ctor_get(x_24, 0); +lean_inc(x_36); +x_37 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_38 = lean_nat_dec_eq(x_36, x_37); +lean_dec(x_36); +if (x_38 == 0) +{ +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_23; +} +else +{ +lean_object* x_39; lean_object* x_40; +lean_free_object(x_23); +lean_dec(x_24); +lean_inc(x_1); +x_39 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_3 = x_21; +x_12 = x_40; +goto _start; +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_42 = lean_ctor_get(x_23, 1); +lean_inc(x_42); +lean_dec(x_23); +x_43 = lean_ctor_get(x_24, 0); +lean_inc(x_43); +x_44 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_45 = lean_nat_dec_eq(x_43, x_44); +lean_dec(x_43); +if (x_45 == 0) +{ +lean_object* x_46; +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_24); +lean_ctor_set(x_46, 1, x_42); +return x_46; +} +else +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_24); +lean_inc(x_1); +x_47 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_42); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_3 = x_21; +x_12 = x_48; +goto _start; +} +} +} +} +} +} +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_12; +} +} +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___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_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(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_4); +return x_13; +} +} +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing(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_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; +} +} +lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing___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_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing(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_4); +return x_13; +} +} lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -5291,7 +5843,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticAux_match__1___rar return x_2; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__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* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; @@ -5304,7 +5856,7 @@ lean_ctor_set(x_14, 1, x_10); return x_14; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__1() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1() { _start: { lean_object* x_1; @@ -5312,16 +5864,16 @@ x_1 = lean_mk_string("["); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__2() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__1; +x_1 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__3() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3() { _start: { lean_object* x_1; @@ -5329,16 +5881,16 @@ x_1 = lean_mk_string("] "); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__4() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__3; +x_1 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { 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; uint8_t x_20; @@ -5371,11 +5923,11 @@ x_23 = lean_ctor_get(x_18, 0); lean_inc(x_1); x_24 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_24, 0, x_1); -x_25 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__2; +x_25 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2; x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); -x_27 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__4; +x_27 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4; x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); @@ -5429,11 +5981,11 @@ lean_dec(x_18); lean_inc(x_1); x_44 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_44, 0, x_1); -x_45 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__2; +x_45 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2; x_46 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); -x_47 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__4; +x_47 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4; x_48 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_48, 0, x_46); lean_ctor_set(x_48, 1, x_47); @@ -5501,11 +6053,11 @@ if (lean_is_exclusive(x_18)) { lean_inc(x_1); x_67 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_67, 0, x_1); -x_68 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__2; +x_68 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2; x_69 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__4; +x_70 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4; x_71 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); @@ -5559,7 +6111,7 @@ return x_84; } } } -lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(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) { _start: { if (lean_obj_tag(x_1) == 0) @@ -5611,7 +6163,7 @@ x_23 = lean_ctor_get(x_17, 1); lean_inc(x_23); lean_dec(x_17); lean_inc(x_15); -x_24 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +x_24 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_unbox(x_25); @@ -5638,7 +6190,7 @@ x_30 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_30, 0, x_16); x_31 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_31, 0, x_30); -x_32 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_15, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_32 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_15, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); @@ -5650,7 +6202,7 @@ goto _start; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(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* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(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) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -5688,7 +6240,7 @@ return x_19; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(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* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(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) { _start: { uint8_t x_12; @@ -5700,7 +6252,7 @@ x_13 = lean_ctor_get(x_9, 3); x_14 = l_Lean_replaceRef(x_1, x_13); lean_dec(x_13); lean_ctor_set(x_9, 3, x_14); -x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_9); return x_15; } @@ -5735,13 +6287,13 @@ lean_ctor_set(x_25, 4, x_20); lean_ctor_set(x_25, 5, x_21); lean_ctor_set(x_25, 6, x_22); lean_ctor_set(x_25, 7, x_23); -x_26 = l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11); +x_26 = l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11); lean_dec(x_25); return x_26; } } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -5753,34 +6305,155 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7(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) { _start: { lean_object* x_9; -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___rarg), 1, 0); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg), 1, 0); return x_9; } } -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_13; -x_13 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; +lean_object* x_5; +x_5 = l_Lean_Elab_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; } } -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__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; lean_object* x_7; @@ -5792,7 +6465,7 @@ lean_ctor_set(x_7, 1, x_4); return x_7; } } -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___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) { _start: { lean_object* x_7; lean_object* x_8; @@ -5803,7 +6476,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4(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; @@ -5814,6 +6487,224 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__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) { +_start: +{ +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; +x_11 = lean_st_ref_get(x_9, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_8, 4); +lean_inc(x_15); +x_16 = lean_ctor_get(x_8, 5); +lean_inc(x_16); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_15); +x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_18, 0, x_15); +lean_inc(x_14); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_19, 0, x_14); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_20, 0, x_14); +lean_closure_set(x_20, 1, x_15); +lean_closure_set(x_20, 2, x_16); +lean_inc(x_14); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_21, 0, x_14); +lean_closure_set(x_21, 1, x_15); +lean_closure_set(x_21, 2, x_16); +x_22 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_20); +lean_ctor_set(x_22, 4, x_21); +x_23 = x_22; +x_24 = lean_ctor_get(x_8, 3); +lean_inc(x_24); +x_25 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_ctor_get(x_8, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_8, 2); +lean_inc(x_29); +x_30 = lean_st_ref_get(x_9, x_27); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_environment_main_module(x_14); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_23); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_26); +lean_ctor_set(x_35, 3, x_28); +lean_ctor_set(x_35, 4, x_29); +lean_ctor_set(x_35, 5, x_24); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_apply_2(x_1, x_35, x_37); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_st_ref_take(x_9, x_32); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = !lean_is_exclusive(x_43); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_46 = lean_ctor_get(x_43, 1); +lean_dec(x_46); +lean_ctor_set(x_43, 1, x_41); +x_47 = lean_st_ref_set(x_9, x_43, x_44); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get(x_40, 1); +lean_inc(x_49); +lean_dec(x_40); +x_50 = l_List_reverse___rarg(x_49); +x_51 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_48); +lean_dec(x_8); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_51, 0); +lean_dec(x_53); +lean_ctor_set(x_51, 0, x_39); +return x_51; +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_39); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +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_65; lean_object* x_66; lean_object* x_67; +x_56 = lean_ctor_get(x_43, 0); +x_57 = lean_ctor_get(x_43, 2); +x_58 = lean_ctor_get(x_43, 3); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_43); +x_59 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_41); +lean_ctor_set(x_59, 2, x_57); +lean_ctor_set(x_59, 3, x_58); +x_60 = lean_st_ref_set(x_9, x_59, x_44); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +lean_dec(x_60); +x_62 = lean_ctor_get(x_40, 1); +lean_inc(x_62); +lean_dec(x_40); +x_63 = l_List_reverse___rarg(x_62); +x_64 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_61); +lean_dec(x_8); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_66 = x_64; +} else { + lean_dec_ref(x_64); + x_66 = lean_box(0); +} +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_39); +lean_ctor_set(x_67, 1, x_65); +return x_67; +} +} +else +{ +lean_object* x_68; +x_68 = lean_ctor_get(x_38, 0); +lean_inc(x_68); +lean_dec(x_38); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_72, 0, x_71); +x_73 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(x_69, x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); +lean_dec(x_69); +return x_73; +} +else +{ +lean_object* x_74; +lean_dec(x_8); +x_74 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg(x_32); +return x_74; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_13; +x_13 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; +} +} static lean_object* _init_l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__1() { _start: { @@ -5873,13 +6764,12 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_1); return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_38; lean_object* x_39; 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_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_32; 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_19 = lean_ctor_get(x_2, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_2, 1); @@ -5896,201 +6786,57 @@ if (lean_is_exclusive(x_21)) { lean_dec_ref(x_21); x_23 = lean_box(0); } -x_44 = lean_st_ref_get(x_10, x_22); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_ctor_get(x_45, 0); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_ctor_get(x_9, 4); -lean_inc(x_48); -x_49 = lean_ctor_get(x_9, 5); -lean_inc(x_49); -lean_inc(x_47); -x_50 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_50, 0, x_47); -lean_inc(x_48); -x_51 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_51, 0, x_48); -lean_inc(x_47); -x_52 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__2___boxed), 4, 1); -lean_closure_set(x_52, 0, x_47); -lean_inc(x_49); -lean_inc(x_48); -lean_inc(x_47); -x_53 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__3___boxed), 6, 3); -lean_closure_set(x_53, 0, x_47); -lean_closure_set(x_53, 1, x_48); -lean_closure_set(x_53, 2, x_49); -lean_inc(x_47); -x_54 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__4___boxed), 6, 3); -lean_closure_set(x_54, 0, x_47); -lean_closure_set(x_54, 1, x_48); -lean_closure_set(x_54, 2, x_49); -x_55 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_55, 0, x_50); -lean_ctor_set(x_55, 1, x_51); -lean_ctor_set(x_55, 2, x_52); -lean_ctor_set(x_55, 3, x_53); -lean_ctor_set(x_55, 4, x_54); -x_56 = x_55; -x_57 = lean_ctor_get(x_9, 3); -lean_inc(x_57); -x_58 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_46); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = lean_ctor_get(x_9, 1); -lean_inc(x_61); -x_62 = lean_ctor_get(x_9, 2); -lean_inc(x_62); -x_63 = lean_st_ref_get(x_10, x_60); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_environment_main_module(x_47); -x_68 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_68, 0, x_56); -lean_ctor_set(x_68, 1, x_67); -lean_ctor_set(x_68, 2, x_59); -lean_ctor_set(x_68, 3, x_61); -lean_ctor_set(x_68, 4, x_62); -lean_ctor_set(x_68, 5, x_57); -x_69 = lean_box(0); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_66); -lean_ctor_set(x_70, 1, x_69); +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); lean_inc(x_1); -x_71 = lean_apply_3(x_19, x_1, x_68, x_70); -if (lean_obj_tag(x_71) == 0) +x_25 = lean_apply_1(x_24, x_1); +x_36 = lean_ctor_get(x_19, 0); +lean_inc(x_36); +lean_dec(x_19); +x_37 = lean_ctor_get(x_3, 0); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +lean_inc(x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +lean_inc(x_1); +x_40 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_st_ref_get(x_10, x_42); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_st_ref_get(x_6, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_46, 5); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_ctor_get_uint8(x_47, sizeof(void*)*2); +lean_dec(x_47); +if (x_48 == 0) { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -lean_dec(x_23); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_st_ref_take(x_10, x_65); -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_is_exclusive(x_76); -if (x_78 == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_79 = lean_ctor_get(x_76, 1); -lean_dec(x_79); -lean_ctor_set(x_76, 1, x_74); -x_80 = lean_st_ref_set(x_10, x_76, x_77); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = lean_ctor_get(x_73, 1); -lean_inc(x_82); -lean_dec(x_73); -x_83 = l_List_reverse___rarg(x_82); -x_84 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_83, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_81); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_24 = x_72; -x_25 = x_85; -goto block_37; -} -else -{ -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; -x_86 = lean_ctor_get(x_76, 0); -x_87 = lean_ctor_get(x_76, 2); -x_88 = lean_ctor_get(x_76, 3); -lean_inc(x_88); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_76); -x_89 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_74); -lean_ctor_set(x_89, 2, x_87); -lean_ctor_set(x_89, 3, x_88); -x_90 = lean_st_ref_set(x_10, x_89, x_77); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_92 = lean_ctor_get(x_73, 1); -lean_inc(x_92); -lean_dec(x_73); -x_93 = l_List_reverse___rarg(x_92); -x_94 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_93, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_91); -x_95 = lean_ctor_get(x_94, 1); -lean_inc(x_95); -lean_dec(x_94); -x_24 = x_72; -x_25 = x_95; -goto block_37; -} -} -else -{ -lean_object* x_96; -x_96 = lean_ctor_get(x_71, 0); -lean_inc(x_96); -lean_dec(x_71); -if (lean_obj_tag(x_96) == 0) -{ -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; -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_99, 0, x_98); -x_100 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_100, 0, x_99); +lean_object* x_49; lean_object* x_50; +lean_dec(x_41); +x_49 = lean_ctor_get(x_45, 1); +lean_inc(x_49); +lean_dec(x_45); lean_inc(x_9); -x_101 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(x_97, x_100, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_65); -lean_dec(x_97); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); -x_38 = x_102; -x_39 = x_103; -goto block_43; -} -else +x_50 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_25, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49); +if (lean_obj_tag(x_50) == 0) { -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___rarg(x_65); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_38 = x_105; -x_39 = x_106; -goto block_43; -} -} -block_37: -{ -lean_object* x_26; +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -6098,10 +6844,11 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_26 = l_Lean_Elab_Tactic_evalTactic(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_25); -if (lean_obj_tag(x_26) == 0) +x_53 = l_Lean_Elab_Tactic_evalTacticAux(x_51, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_52); +lean_dec(x_39); +if (lean_obj_tag(x_53) == 0) { +lean_dec(x_23); lean_dec(x_20); lean_dec(x_10); lean_dec(x_9); @@ -6110,95 +6857,543 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_1); -return x_26; +return x_53; } else { -uint8_t x_27; -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_28 = lean_ctor_get(x_26, 0); -x_29 = lean_ctor_get(x_26, 1); -x_30 = l_List_isEmpty___rarg(x_20); -if (x_30 == 0) -{ -lean_free_object(x_26); -lean_dec(x_28); -x_2 = x_20; -x_11 = x_29; -goto _start; -} -else -{ -lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_26; +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_26 = x_54; +x_27 = x_55; +goto block_31; } } else { -lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_32 = lean_ctor_get(x_26, 0); -x_33 = lean_ctor_get(x_26, 1); -lean_inc(x_33); -lean_inc(x_32); +lean_object* x_56; lean_object* x_57; +lean_dec(x_39); +x_56 = lean_ctor_get(x_50, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_26 = x_56; +x_27 = x_57; +goto block_31; +} +} +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_object* x_119; +x_58 = lean_ctor_get(x_45, 1); +lean_inc(x_58); +lean_dec(x_45); +x_59 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_6, x_7, x_8, x_9, x_10, x_58); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +lean_inc(x_9); +x_119 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_25, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_61); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec(x_119); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_122 = l_Lean_Elab_Tactic_evalTacticAux(x_120, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_121); +if (lean_obj_tag(x_122) == 0) +{ +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_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_122, 1); +lean_inc(x_124); +lean_dec(x_122); +x_125 = lean_st_ref_get(x_10, x_124); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +lean_dec(x_125); +x_127 = lean_st_ref_get(x_6, x_126); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +lean_dec(x_127); +x_130 = lean_ctor_get(x_128, 5); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +lean_dec(x_130); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_132 = lean_apply_9(x_41, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_129); +if (lean_obj_tag(x_132) == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_131); +x_136 = lean_st_ref_get(x_10, x_134); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +lean_dec(x_136); +x_138 = lean_st_ref_take(x_6, x_137); +x_139 = lean_ctor_get(x_138, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_139, 5); +lean_inc(x_140); +x_141 = lean_ctor_get(x_138, 1); +lean_inc(x_141); +lean_dec(x_138); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; uint8_t x_144; +x_143 = lean_ctor_get(x_139, 5); +lean_dec(x_143); +x_144 = !lean_is_exclusive(x_140); +if (x_144 == 0) +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; +x_145 = lean_ctor_get(x_140, 1); +lean_dec(x_145); +x_146 = l_Std_PersistentArray_push___rarg(x_60, x_135); +lean_ctor_set(x_140, 1, x_146); +x_147 = lean_st_ref_set(x_6, x_139, x_141); +x_148 = !lean_is_exclusive(x_147); +if (x_148 == 0) +{ +lean_object* x_149; +x_149 = lean_ctor_get(x_147, 0); +lean_dec(x_149); +lean_ctor_set(x_147, 0, x_123); +x_32 = x_147; +goto block_35; +} +else +{ +lean_object* x_150; lean_object* x_151; +x_150 = lean_ctor_get(x_147, 1); +lean_inc(x_150); +lean_dec(x_147); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_123); +lean_ctor_set(x_151, 1, x_150); +x_32 = x_151; +goto block_35; +} +} +else +{ +uint8_t 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_152 = lean_ctor_get_uint8(x_140, sizeof(void*)*2); +x_153 = lean_ctor_get(x_140, 0); +lean_inc(x_153); +lean_dec(x_140); +x_154 = l_Std_PersistentArray_push___rarg(x_60, x_135); +x_155 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_155, 0, x_153); +lean_ctor_set(x_155, 1, x_154); +lean_ctor_set_uint8(x_155, sizeof(void*)*2, x_152); +lean_ctor_set(x_139, 5, x_155); +x_156 = lean_st_ref_set(x_6, x_139, x_141); +x_157 = lean_ctor_get(x_156, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_158 = x_156; +} else { + lean_dec_ref(x_156); + x_158 = lean_box(0); +} +if (lean_is_scalar(x_158)) { + x_159 = lean_alloc_ctor(0, 2, 0); +} else { + x_159 = x_158; +} +lean_ctor_set(x_159, 0, x_123); +lean_ctor_set(x_159, 1, x_157); +x_32 = x_159; +goto block_35; +} +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t 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; +x_160 = lean_ctor_get(x_139, 0); +x_161 = lean_ctor_get(x_139, 1); +x_162 = lean_ctor_get(x_139, 2); +x_163 = lean_ctor_get(x_139, 3); +x_164 = lean_ctor_get(x_139, 4); +lean_inc(x_164); +lean_inc(x_163); +lean_inc(x_162); +lean_inc(x_161); +lean_inc(x_160); +lean_dec(x_139); +x_165 = lean_ctor_get_uint8(x_140, sizeof(void*)*2); +x_166 = lean_ctor_get(x_140, 0); +lean_inc(x_166); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + x_167 = x_140; +} else { + lean_dec_ref(x_140); + x_167 = lean_box(0); +} +x_168 = l_Std_PersistentArray_push___rarg(x_60, x_135); +if (lean_is_scalar(x_167)) { + x_169 = lean_alloc_ctor(0, 2, 1); +} else { + x_169 = x_167; +} +lean_ctor_set(x_169, 0, x_166); +lean_ctor_set(x_169, 1, x_168); +lean_ctor_set_uint8(x_169, sizeof(void*)*2, x_165); +x_170 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_170, 0, x_160); +lean_ctor_set(x_170, 1, x_161); +lean_ctor_set(x_170, 2, x_162); +lean_ctor_set(x_170, 3, x_163); +lean_ctor_set(x_170, 4, x_164); +lean_ctor_set(x_170, 5, x_169); +x_171 = lean_st_ref_set(x_6, x_170, x_141); +x_172 = lean_ctor_get(x_171, 1); +lean_inc(x_172); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_173 = x_171; +} else { + lean_dec_ref(x_171); + x_173 = lean_box(0); +} +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(0, 2, 0); +} else { + x_174 = x_173; +} +lean_ctor_set(x_174, 0, x_123); +lean_ctor_set(x_174, 1, x_172); +x_32 = x_174; +goto block_35; +} +} +else +{ +uint8_t x_175; +lean_dec(x_131); +lean_dec(x_123); +lean_dec(x_60); +x_175 = !lean_is_exclusive(x_132); +if (x_175 == 0) +{ +x_32 = x_132; +goto block_35; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_176 = lean_ctor_get(x_132, 0); +x_177 = lean_ctor_get(x_132, 1); +lean_inc(x_177); +lean_inc(x_176); +lean_dec(x_132); +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_176); +lean_ctor_set(x_178, 1, x_177); +x_32 = x_178; +goto block_35; +} +} +} +else +{ +lean_object* x_179; lean_object* x_180; +x_179 = lean_ctor_get(x_122, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_122, 1); +lean_inc(x_180); +lean_dec(x_122); +x_62 = x_179; +x_63 = x_180; +goto block_118; +} +} +else +{ +lean_object* x_181; lean_object* x_182; +x_181 = lean_ctor_get(x_119, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_119, 1); +lean_inc(x_182); +lean_dec(x_119); +x_62 = x_181; +x_63 = x_182; +goto block_118; +} +block_118: +{ +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; +x_64 = lean_st_ref_get(x_10, x_63); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_st_ref_get(x_6, x_65); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_ctor_get(x_67, 5); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_71 = lean_apply_9(x_41, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_68); +if (lean_obj_tag(x_71) == 0) +{ +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; uint8_t x_81; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_70); +x_75 = lean_st_ref_get(x_10, x_73); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +x_77 = lean_st_ref_take(x_6, x_76); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_78, 5); +lean_inc(x_79); +x_80 = lean_ctor_get(x_77, 1); +lean_inc(x_80); +lean_dec(x_77); +x_81 = !lean_is_exclusive(x_78); +if (x_81 == 0) +{ +lean_object* x_82; uint8_t x_83; +x_82 = lean_ctor_get(x_78, 5); +lean_dec(x_82); +x_83 = !lean_is_exclusive(x_79); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_84 = lean_ctor_get(x_79, 1); +lean_dec(x_84); +x_85 = l_Std_PersistentArray_push___rarg(x_60, x_74); +lean_ctor_set(x_79, 1, x_85); +x_86 = lean_st_ref_set(x_6, x_78, x_80); +x_87 = !lean_is_exclusive(x_86); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_86, 0); +lean_dec(x_88); +lean_ctor_set_tag(x_86, 1); +lean_ctor_set(x_86, 0, x_62); +x_32 = x_86; +goto block_35; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_86, 1); +lean_inc(x_89); +lean_dec(x_86); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_62); +lean_ctor_set(x_90, 1, x_89); +x_32 = x_90; +goto block_35; +} +} +else +{ +uint8_t 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; +x_91 = lean_ctor_get_uint8(x_79, sizeof(void*)*2); +x_92 = lean_ctor_get(x_79, 0); +lean_inc(x_92); +lean_dec(x_79); +x_93 = l_Std_PersistentArray_push___rarg(x_60, x_74); +x_94 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +lean_ctor_set_uint8(x_94, sizeof(void*)*2, x_91); +lean_ctor_set(x_78, 5, x_94); +x_95 = lean_st_ref_set(x_6, x_78, x_80); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_97 = x_95; +} else { + lean_dec_ref(x_95); + x_97 = lean_box(0); +} +if (lean_is_scalar(x_97)) { + x_98 = lean_alloc_ctor(1, 2, 0); +} else { + x_98 = x_97; + lean_ctor_set_tag(x_98, 1); +} +lean_ctor_set(x_98, 0, x_62); +lean_ctor_set(x_98, 1, x_96); +x_32 = x_98; +goto block_35; +} +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; lean_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_99 = lean_ctor_get(x_78, 0); +x_100 = lean_ctor_get(x_78, 1); +x_101 = lean_ctor_get(x_78, 2); +x_102 = lean_ctor_get(x_78, 3); +x_103 = lean_ctor_get(x_78, 4); +lean_inc(x_103); +lean_inc(x_102); +lean_inc(x_101); +lean_inc(x_100); +lean_inc(x_99); +lean_dec(x_78); +x_104 = lean_ctor_get_uint8(x_79, sizeof(void*)*2); +x_105 = lean_ctor_get(x_79, 0); +lean_inc(x_105); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_106 = x_79; +} else { + lean_dec_ref(x_79); + x_106 = lean_box(0); +} +x_107 = l_Std_PersistentArray_push___rarg(x_60, x_74); +if (lean_is_scalar(x_106)) { + x_108 = lean_alloc_ctor(0, 2, 1); +} else { + x_108 = x_106; +} +lean_ctor_set(x_108, 0, x_105); +lean_ctor_set(x_108, 1, x_107); +lean_ctor_set_uint8(x_108, sizeof(void*)*2, x_104); +x_109 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_109, 0, x_99); +lean_ctor_set(x_109, 1, x_100); +lean_ctor_set(x_109, 2, x_101); +lean_ctor_set(x_109, 3, x_102); +lean_ctor_set(x_109, 4, x_103); +lean_ctor_set(x_109, 5, x_108); +x_110 = lean_st_ref_set(x_6, x_109, x_80); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_112 = x_110; +} else { + lean_dec_ref(x_110); + x_112 = lean_box(0); +} +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(1, 2, 0); +} else { + x_113 = x_112; + lean_ctor_set_tag(x_113, 1); +} +lean_ctor_set(x_113, 0, x_62); +lean_ctor_set(x_113, 1, x_111); +x_32 = x_113; +goto block_35; +} +} +else +{ +uint8_t x_114; +lean_dec(x_70); +lean_dec(x_62); +lean_dec(x_60); +x_114 = !lean_is_exclusive(x_71); +if (x_114 == 0) +{ +x_32 = x_71; +goto block_35; +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_71, 0); +x_116 = lean_ctor_get(x_71, 1); +lean_inc(x_116); +lean_inc(x_115); +lean_dec(x_71); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_115); +lean_ctor_set(x_117, 1, x_116); +x_32 = x_117; +goto block_35; +} +} +} +} +block_31: +{ +uint8_t x_28; +x_28 = l_List_isEmpty___rarg(x_20); +if (x_28 == 0) +{ lean_dec(x_26); -x_34 = l_List_isEmpty___rarg(x_20); -if (x_34 == 0) -{ -lean_dec(x_32); -x_2 = x_20; -x_11 = x_33; -goto _start; -} -else -{ -lean_object* x_36; -lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_32); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -} -} -block_43: -{ -uint8_t x_40; -x_40 = l_List_isEmpty___rarg(x_20); -if (x_40 == 0) -{ -lean_dec(x_38); lean_dec(x_23); x_2 = x_20; -x_11 = x_39; +x_11 = x_27; goto _start; } else { -lean_object* x_42; +lean_object* x_30; lean_dec(x_20); lean_dec(x_10); lean_dec(x_9); @@ -6207,17 +7402,45 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_1); if (lean_is_scalar(x_23)) { - x_42 = lean_alloc_ctor(1, 2, 0); + x_30 = lean_alloc_ctor(1, 2, 0); } else { - x_42 = x_23; - lean_ctor_set_tag(x_42, 1); + x_30 = x_23; + lean_ctor_set_tag(x_30, 1); } -lean_ctor_set(x_42, 0, x_38); -lean_ctor_set(x_42, 1, x_39); -return x_42; +lean_ctor_set(x_30, 0, x_26); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +} +block_35: +{ +if (lean_obj_tag(x_32) == 0) +{ +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_26 = x_33; +x_27 = x_34; +goto block_31; } } } @@ -6226,489 +7449,9 @@ return x_42; lean_object* l_Lean_Elab_Tactic_evalTactic(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) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -lean_inc(x_1); -x_11 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_st_ref_get(x_9, x_13); -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_st_ref_get(x_5, x_15); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_17, 5); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); -lean_dec(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -lean_dec(x_12); -x_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_dec(x_16); -x_21 = l_Lean_Elab_Tactic_evalTacticAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_16, 1); -lean_inc(x_22); -lean_dec(x_16); -x_23 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(x_5, x_6, x_7, x_8, x_9, x_22); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_26 = l_Lean_Elab_Tactic_evalTacticAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25); -if (lean_obj_tag(x_26) == 0) -{ -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; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_st_ref_get(x_9, x_28); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -x_31 = lean_st_ref_get(x_5, x_30); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_ctor_get(x_32, 5); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -lean_inc(x_9); -lean_inc(x_5); -x_36 = lean_apply_9(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_33); -if (lean_obj_tag(x_36) == 0) -{ -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; uint8_t x_46; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_35); -x_40 = lean_st_ref_get(x_9, x_38); -lean_dec(x_9); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = lean_st_ref_take(x_5, x_41); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_43, 5); -lean_inc(x_44); -x_45 = lean_ctor_get(x_42, 1); -lean_inc(x_45); -lean_dec(x_42); -x_46 = !lean_is_exclusive(x_43); -if (x_46 == 0) -{ -lean_object* x_47; uint8_t x_48; -x_47 = lean_ctor_get(x_43, 5); -lean_dec(x_47); -x_48 = !lean_is_exclusive(x_44); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_49 = lean_ctor_get(x_44, 1); -lean_dec(x_49); -x_50 = l_Std_PersistentArray_push___rarg(x_24, x_39); -lean_ctor_set(x_44, 1, x_50); -x_51 = lean_st_ref_set(x_5, x_43, x_45); -lean_dec(x_5); -x_52 = !lean_is_exclusive(x_51); -if (x_52 == 0) -{ -lean_object* x_53; -x_53 = lean_ctor_get(x_51, 0); -lean_dec(x_53); -lean_ctor_set(x_51, 0, x_27); -return x_51; -} -else -{ -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_51, 1); -lean_inc(x_54); -lean_dec(x_51); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_27); -lean_ctor_set(x_55, 1, x_54); -return x_55; -} -} -else -{ -uint8_t 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_56 = lean_ctor_get_uint8(x_44, sizeof(void*)*2); -x_57 = lean_ctor_get(x_44, 0); -lean_inc(x_57); -lean_dec(x_44); -x_58 = l_Std_PersistentArray_push___rarg(x_24, x_39); -x_59 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set_uint8(x_59, sizeof(void*)*2, x_56); -lean_ctor_set(x_43, 5, x_59); -x_60 = lean_st_ref_set(x_5, x_43, x_45); -lean_dec(x_5); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_62 = x_60; -} else { - lean_dec_ref(x_60); - x_62 = lean_box(0); -} -if (lean_is_scalar(x_62)) { - x_63 = lean_alloc_ctor(0, 2, 0); -} else { - x_63 = x_62; -} -lean_ctor_set(x_63, 0, x_27); -lean_ctor_set(x_63, 1, x_61); -return x_63; -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t 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; -x_64 = lean_ctor_get(x_43, 0); -x_65 = lean_ctor_get(x_43, 1); -x_66 = lean_ctor_get(x_43, 2); -x_67 = lean_ctor_get(x_43, 3); -x_68 = lean_ctor_get(x_43, 4); -lean_inc(x_68); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_43); -x_69 = lean_ctor_get_uint8(x_44, sizeof(void*)*2); -x_70 = lean_ctor_get(x_44, 0); -lean_inc(x_70); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_71 = x_44; -} else { - lean_dec_ref(x_44); - x_71 = lean_box(0); -} -x_72 = l_Std_PersistentArray_push___rarg(x_24, x_39); -if (lean_is_scalar(x_71)) { - x_73 = lean_alloc_ctor(0, 2, 1); -} else { - x_73 = x_71; -} -lean_ctor_set(x_73, 0, x_70); -lean_ctor_set(x_73, 1, x_72); -lean_ctor_set_uint8(x_73, sizeof(void*)*2, x_69); -x_74 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_74, 0, x_64); -lean_ctor_set(x_74, 1, x_65); -lean_ctor_set(x_74, 2, x_66); -lean_ctor_set(x_74, 3, x_67); -lean_ctor_set(x_74, 4, x_68); -lean_ctor_set(x_74, 5, x_73); -x_75 = lean_st_ref_set(x_5, x_74, x_45); -lean_dec(x_5); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_77 = x_75; -} else { - lean_dec_ref(x_75); - x_77 = lean_box(0); -} -if (lean_is_scalar(x_77)) { - x_78 = lean_alloc_ctor(0, 2, 0); -} else { - x_78 = x_77; -} -lean_ctor_set(x_78, 0, x_27); -lean_ctor_set(x_78, 1, x_76); -return x_78; -} -} -else -{ -uint8_t x_79; -lean_dec(x_35); -lean_dec(x_27); -lean_dec(x_24); -lean_dec(x_9); -lean_dec(x_5); -x_79 = !lean_is_exclusive(x_36); -if (x_79 == 0) -{ -return x_36; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_36, 0); -x_81 = lean_ctor_get(x_36, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_36); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; -} -} -} -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; -x_83 = lean_ctor_get(x_26, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_26, 1); -lean_inc(x_84); -lean_dec(x_26); -x_85 = lean_st_ref_get(x_9, x_84); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_87 = lean_st_ref_get(x_5, x_86); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = lean_ctor_get(x_88, 5); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -lean_inc(x_9); -lean_inc(x_5); -x_92 = lean_apply_9(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_89); -if (lean_obj_tag(x_92) == 0) -{ -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; uint8_t x_102; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_91); -x_96 = lean_st_ref_get(x_9, x_94); -lean_dec(x_9); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_98 = lean_st_ref_take(x_5, x_97); -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_99, 5); -lean_inc(x_100); -x_101 = lean_ctor_get(x_98, 1); -lean_inc(x_101); -lean_dec(x_98); -x_102 = !lean_is_exclusive(x_99); -if (x_102 == 0) -{ -lean_object* x_103; uint8_t x_104; -x_103 = lean_ctor_get(x_99, 5); -lean_dec(x_103); -x_104 = !lean_is_exclusive(x_100); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_105 = lean_ctor_get(x_100, 1); -lean_dec(x_105); -x_106 = l_Std_PersistentArray_push___rarg(x_24, x_95); -lean_ctor_set(x_100, 1, x_106); -x_107 = lean_st_ref_set(x_5, x_99, x_101); -lean_dec(x_5); -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) -{ -lean_object* x_109; -x_109 = lean_ctor_get(x_107, 0); -lean_dec(x_109); -lean_ctor_set_tag(x_107, 1); -lean_ctor_set(x_107, 0, x_83); -return x_107; -} -else -{ -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_107, 1); -lean_inc(x_110); -lean_dec(x_107); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_83); -lean_ctor_set(x_111, 1, x_110); -return x_111; -} -} -else -{ -uint8_t 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; -x_112 = lean_ctor_get_uint8(x_100, sizeof(void*)*2); -x_113 = lean_ctor_get(x_100, 0); -lean_inc(x_113); -lean_dec(x_100); -x_114 = l_Std_PersistentArray_push___rarg(x_24, x_95); -x_115 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -lean_ctor_set_uint8(x_115, sizeof(void*)*2, x_112); -lean_ctor_set(x_99, 5, x_115); -x_116 = lean_st_ref_set(x_5, x_99, x_101); -lean_dec(x_5); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_118 = x_116; -} else { - lean_dec_ref(x_116); - x_118 = lean_box(0); -} -if (lean_is_scalar(x_118)) { - x_119 = lean_alloc_ctor(1, 2, 0); -} else { - x_119 = x_118; - lean_ctor_set_tag(x_119, 1); -} -lean_ctor_set(x_119, 0, x_83); -lean_ctor_set(x_119, 1, x_117); -return x_119; -} -} -else -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t 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; -x_120 = lean_ctor_get(x_99, 0); -x_121 = lean_ctor_get(x_99, 1); -x_122 = lean_ctor_get(x_99, 2); -x_123 = lean_ctor_get(x_99, 3); -x_124 = lean_ctor_get(x_99, 4); -lean_inc(x_124); -lean_inc(x_123); -lean_inc(x_122); -lean_inc(x_121); -lean_inc(x_120); -lean_dec(x_99); -x_125 = lean_ctor_get_uint8(x_100, sizeof(void*)*2); -x_126 = lean_ctor_get(x_100, 0); -lean_inc(x_126); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_127 = x_100; -} else { - lean_dec_ref(x_100); - x_127 = lean_box(0); -} -x_128 = l_Std_PersistentArray_push___rarg(x_24, x_95); -if (lean_is_scalar(x_127)) { - x_129 = lean_alloc_ctor(0, 2, 1); -} else { - x_129 = x_127; -} -lean_ctor_set(x_129, 0, x_126); -lean_ctor_set(x_129, 1, x_128); -lean_ctor_set_uint8(x_129, sizeof(void*)*2, x_125); -x_130 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_130, 0, x_120); -lean_ctor_set(x_130, 1, x_121); -lean_ctor_set(x_130, 2, x_122); -lean_ctor_set(x_130, 3, x_123); -lean_ctor_set(x_130, 4, x_124); -lean_ctor_set(x_130, 5, x_129); -x_131 = lean_st_ref_set(x_5, x_130, x_101); -lean_dec(x_5); -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - x_133 = x_131; -} else { - lean_dec_ref(x_131); - 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_tag(x_134, 1); -} -lean_ctor_set(x_134, 0, x_83); -lean_ctor_set(x_134, 1, x_132); -return x_134; -} -} -else -{ -uint8_t x_135; -lean_dec(x_91); -lean_dec(x_83); -lean_dec(x_24); -lean_dec(x_9); -lean_dec(x_5); -x_135 = !lean_is_exclusive(x_92); -if (x_135 == 0) -{ -return x_92; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_92, 0); -x_137 = lean_ctor_get(x_92, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_92); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; -} -} -} -} +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalTacticAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; } } lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1(lean_object* x_1, size_t x_2, size_t 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) { @@ -6728,8 +7471,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_16 = l_Lean_Elab_Tactic_evalTactic(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Lean_Elab_Tactic_evalTacticAux(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; @@ -6755,7 +7497,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); x_22 = !lean_is_exclusive(x_16); if (x_22 == 0) { @@ -6786,7 +7527,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); x_26 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_26, 0, x_4); lean_ctor_set(x_26, 1, x_13); @@ -6954,7 +7694,7 @@ x_51 = lean_ctor_get(x_46, 1); lean_inc(x_51); lean_dec(x_46); x_52 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5; -x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_52, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); +x_53 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_52, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); x_55 = lean_unbox(x_54); @@ -6984,7 +7724,7 @@ lean_ctor_set(x_60, 1, x_58); x_61 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_61, 0, x_60); lean_ctor_set(x_61, 1, x_59); -x_62 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_52, x_61, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_57); +x_62 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_52, x_61, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_57); x_63 = lean_ctor_get(x_62, 1); lean_inc(x_63); lean_dec(x_62); @@ -7013,7 +7753,7 @@ lean_dec(x_37); lean_inc(x_2); x_40 = l_Lean_Syntax_getKind(x_2); x_41 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_42 = l_Lean_KeyedDeclsAttribute_getValues___rarg(x_41, x_39, x_40); +x_42 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_41, x_39, x_40); lean_dec(x_40); lean_dec(x_39); if (lean_obj_tag(x_42) == 0) @@ -7051,7 +7791,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); x_68 = lean_box(0); lean_ctor_set(x_23, 0, x_68); return x_23; @@ -7072,7 +7811,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); x_70 = lean_box(0); lean_ctor_set(x_23, 0, x_70); return x_23; @@ -7115,7 +7853,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); return x_81; } } @@ -7190,7 +7927,7 @@ x_116 = lean_ctor_get(x_111, 1); lean_inc(x_116); lean_dec(x_111); x_117 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5; -x_118 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_117, x_4, x_5, x_93, x_7, x_8, x_9, x_10, x_11, x_116); +x_118 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_117, x_4, x_5, x_93, x_7, x_8, x_9, x_10, x_11, x_116); x_119 = lean_ctor_get(x_118, 0); lean_inc(x_119); x_120 = lean_unbox(x_119); @@ -7220,7 +7957,7 @@ lean_ctor_set(x_125, 1, x_123); x_126 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); -x_127 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_117, x_126, x_4, x_5, x_93, x_7, x_8, x_9, x_10, x_11, x_122); +x_127 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_117, x_126, x_4, x_5, x_93, x_7, x_8, x_9, x_10, x_11, x_122); x_128 = lean_ctor_get(x_127, 1); lean_inc(x_128); lean_dec(x_127); @@ -7249,7 +7986,7 @@ lean_dec(x_102); lean_inc(x_2); x_105 = l_Lean_Syntax_getKind(x_2); x_106 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_107 = l_Lean_KeyedDeclsAttribute_getValues___rarg(x_106, x_104, x_105); +x_107 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_106, x_104, x_105); lean_dec(x_105); lean_dec(x_104); if (lean_obj_tag(x_107) == 0) @@ -7287,7 +8024,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); x_133 = lean_box(0); lean_ctor_set(x_23, 0, x_133); return x_23; @@ -7308,7 +8044,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); x_135 = lean_box(0); lean_ctor_set(x_23, 0, x_135); return x_23; @@ -7351,7 +8086,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_93); lean_dec(x_5); -lean_dec(x_4); return x_146; } } @@ -7446,7 +8180,7 @@ x_183 = lean_ctor_get(x_178, 1); lean_inc(x_183); lean_dec(x_178); x_184 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5; -x_185 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_184, x_4, x_5, x_160, x_7, x_8, x_9, x_10, x_11, x_183); +x_185 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_184, x_4, x_5, x_160, x_7, x_8, x_9, x_10, x_11, x_183); x_186 = lean_ctor_get(x_185, 0); lean_inc(x_186); x_187 = lean_unbox(x_186); @@ -7476,7 +8210,7 @@ lean_ctor_set(x_192, 1, x_190); x_193 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_193, 0, x_192); lean_ctor_set(x_193, 1, x_191); -x_194 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_184, x_193, x_4, x_5, x_160, x_7, x_8, x_9, x_10, x_11, x_189); +x_194 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_184, x_193, x_4, x_5, x_160, x_7, x_8, x_9, x_10, x_11, x_189); x_195 = lean_ctor_get(x_194, 1); lean_inc(x_195); lean_dec(x_194); @@ -7505,7 +8239,7 @@ lean_dec(x_169); lean_inc(x_2); x_172 = l_Lean_Syntax_getKind(x_2); x_173 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_174 = l_Lean_KeyedDeclsAttribute_getValues___rarg(x_173, x_171, x_172); +x_174 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_173, x_171, x_172); lean_dec(x_172); lean_dec(x_171); if (lean_obj_tag(x_174) == 0) @@ -7543,7 +8277,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); x_200 = lean_box(0); x_201 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_201, 0, x_200); @@ -7566,7 +8299,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); x_203 = lean_box(0); x_204 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_204, 0, x_203); @@ -7609,7 +8341,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_160); lean_dec(x_5); -lean_dec(x_4); return x_215; } } @@ -7728,7 +8459,7 @@ x_260 = lean_ctor_get(x_255, 1); lean_inc(x_260); lean_dec(x_255); x_261 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5; -x_262 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_261, x_4, x_5, x_237, x_7, x_8, x_9, x_10, x_11, x_260); +x_262 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_261, x_4, x_5, x_237, x_7, x_8, x_9, x_10, x_11, x_260); x_263 = lean_ctor_get(x_262, 0); lean_inc(x_263); x_264 = lean_unbox(x_263); @@ -7758,7 +8489,7 @@ lean_ctor_set(x_269, 1, x_267); x_270 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_270, 0, x_269); lean_ctor_set(x_270, 1, x_268); -x_271 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_261, x_270, x_4, x_5, x_237, x_7, x_8, x_9, x_10, x_11, x_266); +x_271 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_261, x_270, x_4, x_5, x_237, x_7, x_8, x_9, x_10, x_11, x_266); x_272 = lean_ctor_get(x_271, 1); lean_inc(x_272); lean_dec(x_271); @@ -7787,7 +8518,7 @@ lean_dec(x_246); lean_inc(x_2); x_249 = l_Lean_Syntax_getKind(x_2); x_250 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_251 = l_Lean_KeyedDeclsAttribute_getValues___rarg(x_250, x_248, x_249); +x_251 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_250, x_248, x_249); lean_dec(x_249); lean_dec(x_248); if (lean_obj_tag(x_251) == 0) @@ -7825,7 +8556,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); x_277 = lean_box(0); if (lean_is_scalar(x_224)) { x_278 = lean_alloc_ctor(0, 2, 0); @@ -7852,7 +8582,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); x_280 = lean_box(0); if (lean_is_scalar(x_224)) { x_281 = lean_alloc_ctor(0, 2, 0); @@ -7901,7 +8630,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_237); lean_dec(x_5); -lean_dec(x_4); return x_292; } } @@ -8063,7 +8791,7 @@ x_349 = lean_ctor_get(x_344, 1); lean_inc(x_349); lean_dec(x_344); x_350 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__5; -x_351 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_350, x_4, x_5, x_326, x_7, x_8, x_9, x_300, x_11, x_349); +x_351 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_350, x_4, x_5, x_326, x_7, x_8, x_9, x_300, x_11, x_349); x_352 = lean_ctor_get(x_351, 0); lean_inc(x_352); x_353 = lean_unbox(x_352); @@ -8093,7 +8821,7 @@ lean_ctor_set(x_358, 1, x_356); x_359 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_359, 0, x_358); lean_ctor_set(x_359, 1, x_357); -x_360 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_350, x_359, x_4, x_5, x_326, x_7, x_8, x_9, x_300, x_11, x_355); +x_360 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_350, x_359, x_4, x_5, x_326, x_7, x_8, x_9, x_300, x_11, x_355); x_361 = lean_ctor_get(x_360, 1); lean_inc(x_361); lean_dec(x_360); @@ -8122,7 +8850,7 @@ lean_dec(x_335); lean_inc(x_2); x_338 = l_Lean_Syntax_getKind(x_2); x_339 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_340 = l_Lean_KeyedDeclsAttribute_getValues___rarg(x_339, x_337, x_338); +x_340 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_339, x_337, x_338); lean_dec(x_338); lean_dec(x_337); if (lean_obj_tag(x_340) == 0) @@ -8160,7 +8888,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); x_366 = lean_box(0); if (lean_is_scalar(x_313)) { x_367 = lean_alloc_ctor(0, 2, 0); @@ -8187,7 +8914,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); -lean_dec(x_4); x_369 = lean_box(0); if (lean_is_scalar(x_313)) { x_370 = lean_alloc_ctor(0, 2, 0); @@ -8236,7 +8962,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_326); lean_dec(x_5); -lean_dec(x_4); return x_381; } } @@ -8302,7 +9027,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -8380,7 +9104,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); @@ -8421,7 +9144,7 @@ lean_dec(x_12); lean_inc(x_1); x_15 = l_Lean_Syntax_getKind(x_1); x_16 = l_Lean_Elab_macroAttribute; -x_17 = l_Lean_KeyedDeclsAttribute_getValues___rarg(x_16, x_14, x_15); +x_17 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_16, x_14, x_15); lean_dec(x_15); lean_dec(x_14); x_18 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop(x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); @@ -8436,11 +9159,11 @@ x_12 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop(x_1, x_2, x_3, x_4, x_5, x_6 return x_12; } } -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__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* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -8452,11 +9175,11 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -8468,11 +9191,11 @@ lean_dec(x_3); return x_12; } } -lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -8484,11 +9207,11 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5___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* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -8500,11 +9223,11 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5___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) { _start: { lean_object* x_12; -x_12 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -8516,11 +9239,11 @@ lean_dec(x_1); return x_12; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___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) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -8532,30 +9255,30 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_3); -return x_13; -} -} -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___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_Elab_Tactic_expandTacticMacroFns_loop___lambda__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__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_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -8563,16 +9286,59 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4___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_Tactic_expandTacticMacroFns_loop___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_2); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_4); +lean_dec(x_3); +return x_13; +} +} +lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +return x_12; +} +} +lean_object* l_Lean_Elab_Tactic_evalTactic___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_11; +} +} lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__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, lean_object* x_13) { _start: { @@ -8582,6 +9348,7 @@ lean_dec(x_2); x_15 = lean_unbox_usize(x_3); lean_dec(x_3); x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_5); lean_dec(x_1); return x_16; } @@ -8607,11 +9374,39 @@ _start: { lean_object* x_13; x_13 = l_Lean_Elab_Tactic_evalTacticAux___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_4); lean_dec(x_3); lean_dec(x_1); return x_13; } } +lean_object* l_Lean_Elab_Tactic_evalTacticAux___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalTacticAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_expandTacticMacro___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_expandTacticMacro(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_expandTacticMacroFns(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +return x_12; +} +} lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1___rarg(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) { _start: { @@ -12163,7 +12958,7 @@ x_15 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); lean_ctor_set(x_5, 3, x_15); -x_16 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_16; } else @@ -12210,7 +13005,7 @@ lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_22); lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 1, x_23); lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 2, x_24); lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 3, x_28); -x_32 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_31, x_6, x_7, x_8, x_9, x_10, x_11); +x_32 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_31, x_6, x_7, x_8, x_9, x_10, x_11); return x_32; } } @@ -12239,7 +13034,7 @@ lean_inc(x_14); lean_dec(x_12); lean_inc(x_13); lean_inc(x_2); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_adaptExpander___lambda__1), 11, 2); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_adaptExpander___lambda__1___boxed), 11, 2); lean_closure_set(x_15, 0, x_2); lean_closure_set(x_15, 1, x_13); x_16 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_2, x_13, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); @@ -12278,6 +13073,15 @@ return x_20; } } } +lean_object* l_Lean_Elab_Tactic_adaptExpander___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_adaptExpander___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +return x_12; +} +} lean_object* l_Lean_Elab_Tactic_appendGoals(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) { _start: { @@ -12946,8 +13750,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_19 = l_Lean_Elab_Tactic_evalTactic(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +x_19 = l_Lean_Elab_Tactic_evalTacticAux(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); if (lean_obj_tag(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; uint8_t x_27; @@ -12972,7 +13775,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); x_27 = !lean_is_exclusive(x_26); if (x_27 == 0) { @@ -13010,7 +13812,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); x_34 = !lean_is_exclusive(x_33); if (x_34 == 0) { @@ -13035,6 +13836,15 @@ return x_37; } } } +lean_object* l_Lean_Elab_Tactic_evalTacticAt___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_evalTacticAt(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +return x_12; +} +} static lean_object* _init_l_Lean_Elab_Tactic_ensureHasNoMVars___closed__1() { _start: { @@ -14708,8 +15518,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -x_38 = l_Lean_Elab_Tactic_evalTactic(x_37, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_38 = l_Lean_Elab_Tactic_evalTacticAux(x_37, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_38) == 0) { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; @@ -14947,7 +15756,7 @@ _start: lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = lean_unsigned_to_nat(1u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } @@ -14956,6 +15765,7 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Tactic_evalParen(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); lean_dec(x_1); return x_11; } @@ -15035,8 +15845,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_18 = l_Lean_Elab_Tactic_evalTactic(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_18 = l_Lean_Elab_Tactic_evalTacticAux(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; @@ -15693,7 +16502,8 @@ lean_inc(x_18); lean_dec(x_14); x_19 = lean_unsigned_to_nat(1u); x_20 = l_Lean_Syntax_getArg(x_1, x_19); -x_21 = l_Lean_Elab_Tactic_evalTactic(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +x_21 = l_Lean_Elab_Tactic_evalTacticAux(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +lean_dec(x_3); return x_21; } else @@ -15776,7 +16586,8 @@ lean_inc(x_49); lean_dec(x_48); x_50 = lean_unsigned_to_nat(1u); x_51 = l_Lean_Syntax_getArg(x_1, x_50); -x_52 = l_Lean_Elab_Tactic_evalTactic(x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49); +x_52 = l_Lean_Elab_Tactic_evalTacticAux(x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49); +lean_dec(x_3); return x_52; } else @@ -15798,7 +16609,8 @@ lean_inc(x_58); lean_dec(x_57); x_59 = lean_unsigned_to_nat(1u); x_60 = l_Lean_Syntax_getArg(x_1, x_59); -x_61 = l_Lean_Elab_Tactic_evalTactic(x_60, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); +x_61 = l_Lean_Elab_Tactic_evalTacticAux(x_60, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); +lean_dec(x_3); return x_61; } } @@ -15849,7 +16661,8 @@ lean_inc(x_74); lean_dec(x_73); x_75 = lean_unsigned_to_nat(1u); x_76 = l_Lean_Syntax_getArg(x_1, x_75); -x_77 = l_Lean_Elab_Tactic_evalTactic(x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_74); +x_77 = l_Lean_Elab_Tactic_evalTacticAux(x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_74); +lean_dec(x_3); return x_77; } } @@ -19172,8 +19985,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_28 = l_Lean_Elab_Tactic_evalTactic(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_27, x_9, x_17); +x_28 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_27, x_9, x_17); if (lean_obj_tag(x_28) == 0) { lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; @@ -20413,7 +21225,7 @@ x_23 = l_Lean_maxRecDepth; x_24 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_231____spec__1(x_16, x_23); lean_ctor_set(x_8, 2, x_24); lean_ctor_set(x_8, 0, x_16); -x_25 = l_Lean_Elab_Tactic_evalTactic(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +x_25 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); return x_25; } else @@ -20443,7 +21255,7 @@ lean_ctor_set(x_34, 4, x_28); lean_ctor_set(x_34, 5, x_29); lean_ctor_set(x_34, 6, x_30); lean_ctor_set(x_34, 7, x_31); -x_35 = l_Lean_Elab_Tactic_evalTactic(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_34, x_9, x_17); +x_35 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_34, x_9, x_17); return x_35; } } @@ -20457,7 +21269,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); x_36 = !lean_is_exclusive(x_15); if (x_36 == 0) { @@ -20595,6 +21406,7 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Tactic_elabSetOption(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); lean_dec(x_1); return x_11; } @@ -20668,7 +21480,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_2); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_4); @@ -20717,8 +21528,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_42 = l_Lean_Elab_Tactic_evalTactic(x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); +x_42 = l_Lean_Elab_Tactic_evalTacticAux(x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); if (lean_obj_tag(x_42) == 0) { lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; @@ -20783,7 +21593,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); x_37 = !lean_is_exclusive(x_33); @@ -20863,8 +21672,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_80 = l_Lean_Elab_Tactic_evalTactic(x_63, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_66); +x_80 = l_Lean_Elab_Tactic_evalTacticAux(x_63, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_66); if (lean_obj_tag(x_80) == 0) { lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; @@ -20929,7 +21737,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); x_75 = lean_ctor_get(x_71, 0); @@ -20989,7 +21796,6 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); x_16 = l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___spec__1(x_1, x_14, x_12, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); if (lean_obj_tag(x_16) == 0) { @@ -21008,7 +21814,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); return x_20; } else @@ -21021,7 +21826,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); x_21 = !lean_is_exclusive(x_16); if (x_21 == 0) { @@ -21048,6 +21852,7 @@ _start: { lean_object* x_14; x_14 = l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___spec__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, x_13); +lean_dec(x_5); lean_dec(x_1); return x_14; } @@ -21057,6 +21862,7 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Tactic_evalAllGoals(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); lean_dec(x_1); return x_11; } @@ -21123,7 +21929,7 @@ _start: lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = lean_unsigned_to_nat(0u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } @@ -21132,6 +21938,7 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Tactic_evalTacticSeq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); lean_dec(x_1); return x_11; } @@ -21196,7 +22003,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoice _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg___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); @@ -21228,7 +22035,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(x_11); return x_14; @@ -21250,8 +22056,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_19 = l_Lean_Elab_Tactic_evalTactic(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +x_19 = l_Lean_Elab_Tactic_evalTacticAux(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); if (lean_obj_tag(x_19) == 0) { lean_dec(x_17); @@ -21262,7 +22067,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); return x_19; } @@ -21285,7 +22089,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); x_23 = !lean_is_exclusive(x_22); if (x_23 == 0) @@ -21333,7 +22136,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); lean_ctor_set_tag(x_22, 1); lean_ctor_set(x_22, 0, x_20); @@ -21373,7 +22175,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_20); @@ -21418,6 +22219,7 @@ _start: { lean_object* x_12; x_12 = l_Lean_Elab_Tactic_evalChoiceAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); lean_dec(x_1); return x_12; } @@ -21438,6 +22240,7 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Tactic_evalChoice(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); lean_dec(x_1); return x_11; } @@ -21715,8 +22518,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_2); -x_23 = l_Lean_Elab_Tactic_evalTactic(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); +x_23 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); if (lean_obj_tag(x_23) == 0) { lean_object* x_24; uint8_t x_25; @@ -21756,7 +22558,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); x_13 = lean_box(0); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_13); @@ -21775,7 +22576,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); return x_16; } } @@ -21786,6 +22586,7 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Tactic_evalFailIfSuccess(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); lean_dec(x_1); return x_11; } @@ -23178,7 +23979,8 @@ x_59 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); -x_61 = l_Lean_Elab_Tactic_evalTactic(x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); +x_61 = l_Lean_Elab_Tactic_evalTacticAux(x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); +lean_dec(x_2); return x_61; } } @@ -23391,7 +24193,8 @@ x_173 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; x_174 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_174, 0, x_173); lean_ctor_set(x_174, 1, x_172); -x_175 = l_Lean_Elab_Tactic_evalTactic(x_174, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_75); +x_175 = l_Lean_Elab_Tactic_evalTacticAux(x_174, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_75); +lean_dec(x_2); return x_175; } else @@ -23489,158 +24292,61 @@ return x_6; lean_object* l_Lean_Elab_Tactic_evalIntroMatch(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) { _start: { -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; uint8_t x_47; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_unsigned_to_nat(1u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = lean_st_ref_get(x_9, x_10); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_1); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic___boxed), 4, 2); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_12); +lean_inc(x_8); +x_14 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get(x_14, 0); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = lean_ctor_get(x_8, 4); -lean_inc(x_17); -x_18 = lean_ctor_get(x_8, 5); -lean_inc(x_18); -lean_inc(x_16); -x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_19, 0, x_16); -lean_inc(x_17); -x_20 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_20, 0, x_17); -lean_inc(x_16); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__2___boxed), 4, 1); -lean_closure_set(x_21, 0, x_16); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__3___boxed), 6, 3); -lean_closure_set(x_22, 0, x_16); -lean_closure_set(x_22, 1, x_17); -lean_closure_set(x_22, 2, x_18); -lean_inc(x_16); -x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__4___boxed), 6, 3); -lean_closure_set(x_23, 0, x_16); -lean_closure_set(x_23, 1, x_17); -lean_closure_set(x_23, 2, x_18); -x_24 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_24, 0, x_19); -lean_ctor_set(x_24, 1, x_20); -lean_ctor_set(x_24, 2, x_21); -lean_ctor_set(x_24, 3, x_22); -lean_ctor_set(x_24, 4, x_23); -x_25 = x_24; -x_26 = lean_ctor_get(x_8, 3); -lean_inc(x_26); -x_27 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_15); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_ctor_get(x_8, 1); -lean_inc(x_30); -x_31 = lean_ctor_get(x_8, 2); -lean_inc(x_31); -x_32 = lean_st_ref_get(x_9, x_29); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_environment_main_module(x_16); -x_37 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_37, 0, x_25); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 2, x_28); -lean_ctor_set(x_37, 3, x_30); -lean_ctor_set(x_37, 4, x_31); -lean_ctor_set(x_37, 5, x_26); -x_38 = lean_box(0); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic(x_1, x_12, x_37, x_39); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_st_ref_take(x_9, x_34); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = !lean_is_exclusive(x_45); -if (x_47 == 0) -{ -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; -x_48 = lean_ctor_get(x_45, 1); -lean_dec(x_48); -lean_ctor_set(x_45, 1, x_43); -x_49 = lean_st_ref_set(x_9, x_45, x_46); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_ctor_get(x_42, 1); -lean_inc(x_51); -lean_dec(x_42); -x_52 = l_List_reverse___rarg(x_51); -x_53 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_50); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -lean_dec(x_53); -lean_inc(x_41); +lean_inc(x_15); lean_inc(x_1); -x_55 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_adaptExpander___lambda__1), 11, 2); -lean_closure_set(x_55, 0, x_1); -lean_closure_set(x_55, 1, x_41); -x_56 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_1, x_41, x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_54); -return x_56; +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_adaptExpander___lambda__1___boxed), 11, 2); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_15); +x_18 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_1, x_15, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +return x_18; } else { -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_57 = lean_ctor_get(x_45, 0); -x_58 = lean_ctor_get(x_45, 2); -x_59 = lean_ctor_get(x_45, 3); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_45); -x_60 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_43); -lean_ctor_set(x_60, 2, x_58); -lean_ctor_set(x_60, 3, x_59); -x_61 = lean_st_ref_set(x_9, x_60, x_46); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_63 = lean_ctor_get(x_42, 1); -lean_inc(x_63); -lean_dec(x_42); -x_64 = l_List_reverse___rarg(x_63); -x_65 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_64, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_62); -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec(x_65); -lean_inc(x_41); -lean_inc(x_1); -x_67 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_adaptExpander___lambda__1), 11, 2); -lean_closure_set(x_67, 0, x_1); -lean_closure_set(x_67, 1, x_41); -x_68 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_1, x_41, x_67, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_66); -return x_68; +uint8_t x_19; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) +{ +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} } } } @@ -28003,7 +28709,7 @@ x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); lean_inc(x_1); -x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___boxed), 10, 1); lean_closure_set(x_26, 0, x_1); x_27 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg), 11, 2); lean_closure_set(x_27, 0, x_2); @@ -28687,8 +29393,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_23 = l_Lean_Elab_Tactic_evalTactic(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +x_23 = l_Lean_Elab_Tactic_evalTacticAux(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); if (lean_obj_tag(x_23) == 0) { lean_dec(x_21); @@ -28700,7 +29405,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); return x_23; } else @@ -28726,7 +29430,7 @@ x_29 = lean_array_get(x_28, x_1, x_2); lean_dec(x_2); x_30 = l_Lean_Syntax_getArg(x_29, x_13); lean_dec(x_29); -x_31 = l_Lean_Elab_Tactic_evalTactic(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_31 = l_Lean_Elab_Tactic_evalTacticAux(x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_31; } } @@ -28736,6 +29440,7 @@ _start: { lean_object* x_12; x_12 = l_Lean_Elab_Tactic_evalFirst_loop(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); lean_dec(x_1); return x_12; } @@ -28744,7 +29449,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst_ _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg___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); @@ -28796,7 +29501,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1___rarg(x_10); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) @@ -28840,6 +29544,7 @@ _start: { lean_object* x_12; x_12 = l_Lean_Elab_Tactic_evalFirst___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_12; @@ -28850,6 +29555,7 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Tactic_evalFirst(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); lean_dec(x_1); return x_11; } @@ -28910,7 +29616,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5495____closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -28920,11 +29626,11 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5495_(lean_object* x_1) { +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5495____closed__1; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -29108,26 +29814,26 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Tactic_tacticElabAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Tactic_tacticElabAttribute); lean_dec_ref(res); -l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1); -l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2); l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__1 = _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__1(); lean_mark_persistent(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__1); l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__2 = _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__2(); lean_mark_persistent(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__2); l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3 = _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3(); lean_mark_persistent(l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg___closed__3); -l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__1); -l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__2); -l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__3); -l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___closed__4); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___rarg___closed__1); +l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1); +l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2); +l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1); +l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2); +l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3); +l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg___closed__1); l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__1 = _init_l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__1); l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__2 = _init_l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__2(); @@ -29691,9 +30397,9 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__5); res = l___regBuiltin_Lean_Elab_Tactic_evalFirst(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5495____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5495____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5495____closed__1); -res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5495_(lean_io_mk_world()); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545____closed__1); +res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_5545_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c index dcceacb8ad..b8b62d2965 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c +++ b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c @@ -56,13 +56,13 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_x27(lean_object*); lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_closeMainGoalUsing(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine___closed__3; lean_object* l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_logUnassignedAndAbort___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTermForApply___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabTermForApply___closed__1; lean_object* l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_preprocessPropToDecide___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalDecide___boxed(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortTactic___at___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_logUnassignedAndAbort___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalRename(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalConstructor___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3619,7 +3619,7 @@ if (x_15 == 0) uint8_t x_16; lean_object* x_17; x_16 = 2; lean_ctor_set_uint8(x_14, 5, x_16); -x_17 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_17 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_17) == 0) { uint8_t x_18; @@ -3691,7 +3691,7 @@ lean_ctor_set_uint8(x_36, 7, x_32); lean_ctor_set_uint8(x_36, 8, x_33); lean_ctor_set_uint8(x_36, 9, x_34); lean_ctor_set(x_6, 0, x_36); -x_37 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_37 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_37) == 0) { lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; @@ -3790,7 +3790,7 @@ lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_47); lean_ctor_set(x_62, 2, x_48); lean_ctor_set(x_62, 3, x_49); -x_63 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_62, x_7, x_8, x_9, x_10); +x_63 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_62, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_63) == 0) { lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; @@ -3847,6 +3847,7 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Tactic_evalWithReducible(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); lean_dec(x_1); return x_11; } @@ -3924,7 +3925,7 @@ if (x_15 == 0) uint8_t x_16; lean_object* x_17; x_16 = 3; lean_ctor_set_uint8(x_14, 5, x_16); -x_17 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_17 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_17) == 0) { uint8_t x_18; @@ -3996,7 +3997,7 @@ lean_ctor_set_uint8(x_36, 7, x_32); lean_ctor_set_uint8(x_36, 8, x_33); lean_ctor_set_uint8(x_36, 9, x_34); lean_ctor_set(x_6, 0, x_36); -x_37 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_37 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_37) == 0) { lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; @@ -4095,7 +4096,7 @@ lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_47); lean_ctor_set(x_62, 2, x_48); lean_ctor_set(x_62, 3, x_49); -x_63 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_62, x_7, x_8, x_9, x_10); +x_63 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_62, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_63) == 0) { lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; @@ -4152,6 +4153,7 @@ _start: { lean_object* x_11; x_11 = l_Lean_Elab_Tactic_evalWithReducibleAndInstances(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); lean_dec(x_1); return x_11; } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Induction.c b/stage0/stdlib/Lean/Elab/Tactic/Induction.c index 39a6f36437..fa9b011b26 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Induction.c @@ -56,6 +56,7 @@ lean_object* l_Lean_Elab_Tactic_evalInduction_checkTargets___boxed(lean_object*, lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__2; @@ -97,7 +98,6 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_ lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__1___lambda__2___closed__4; -lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_setMotiveArg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__6; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames(lean_object*); @@ -107,7 +107,6 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Ind lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__1___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* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_setMotiveArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalAlt(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_expr_instantiate1(lean_object*, lean_object*); @@ -240,6 +239,7 @@ lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___boxed(lean_object**); static lean_object* l_Lean_Elab_Tactic_ElimApp_State_alts___default___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___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* l_Lean_Elab_Tactic_evalInduction_match__1(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getFType___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -295,6 +295,7 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_ lean_object* l_Lean_LocalDecl_toExpr(lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___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_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); @@ -433,7 +434,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec_ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___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* l_Lean_Elab_Tactic_ElimApp_Result_alts___default; uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(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___regBuiltin_Lean_Elab_Tactic_evalCases(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__1___closed__1; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -853,7 +853,7 @@ x_14 = l_Lean_Elab_Tactic_setGoals(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_1 x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___boxed), 10, 1); lean_closure_set(x_16, 0, x_2); x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg), 11, 2); lean_closure_set(x_17, 0, x_3); @@ -4296,7 +4296,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); x_16 = lean_box(0); x_17 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_17, 0, x_2); @@ -4313,6 +4312,7 @@ _start: { lean_object* x_12; x_12 = l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); lean_dec(x_1); return x_12; } @@ -4803,7 +4803,6 @@ lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); x_68 = l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac(x_11, x_66, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_67); if (lean_obj_tag(x_68) == 0) { @@ -5217,7 +5216,6 @@ lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); x_140 = l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac(x_11, x_138, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_139); if (lean_obj_tag(x_140) == 0) { @@ -5680,7 +5678,6 @@ lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); x_220 = l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac(x_11, x_218, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_219); if (lean_obj_tag(x_220) == 0) { @@ -6280,7 +6277,6 @@ lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); -lean_inc(x_15); x_60 = l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac(x_6, x_58, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_59); if (lean_obj_tag(x_60) == 0) { @@ -9053,7 +9049,7 @@ x_26 = lean_ctor_get(x_17, 1); lean_inc(x_26); lean_dec(x_17); x_27 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___closed__3; -x_28 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); +x_28 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); x_30 = lean_unbox(x_29); @@ -9088,7 +9084,7 @@ lean_ctor_set(x_39, 1, x_37); x_40 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_38); -x_41 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_27, x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); +x_41 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_27, x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); x_42 = lean_ctor_get(x_41, 1); lean_inc(x_42); lean_dec(x_41); @@ -9162,7 +9158,7 @@ x_66 = lean_ctor_get(x_57, 1); lean_inc(x_66); lean_dec(x_57); x_67 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___closed__3; -x_68 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_67, x_2, x_3, x_4, x_5, x_6, x_7, x_56, x_9, x_66); +x_68 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_67, x_2, x_3, x_4, x_5, x_6, x_7, x_56, x_9, x_66); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_unbox(x_69); @@ -9197,7 +9193,7 @@ lean_ctor_set(x_79, 1, x_77); x_80 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_78); -x_81 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_67, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_56, x_9, x_76); +x_81 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_67, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_56, x_9, x_76); x_82 = lean_ctor_get(x_81, 1); lean_inc(x_82); lean_dec(x_81); @@ -11582,94 +11578,98 @@ lean_inc(x_14); x_27 = l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__7(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); if (lean_obj_tag(x_27) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +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; uint8_t x_36; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = l_Lean_LocalContext_empty; -x_31 = lean_alloc_ctor(0, 4, 0); +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_3); -lean_ctor_set(x_31, 2, x_28); -lean_ctor_set(x_31, 3, x_1); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +lean_ctor_set(x_31, 1, x_1); +x_32 = l_Lean_LocalContext_empty; +x_33 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_3); +lean_ctor_set(x_33, 3, x_28); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); lean_dec(x_10); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) { -lean_object* x_35; -x_35 = lean_ctor_get(x_33, 0); +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +lean_ctor_set(x_35, 0, x_14); +return x_35; +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); lean_dec(x_35); -lean_ctor_set(x_33, 0, x_14); -return x_33; -} -else -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_14); -lean_ctor_set(x_37, 1, x_36); -return x_37; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_14); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } else { -uint8_t x_38; +uint8_t x_40; lean_dec(x_14); lean_dec(x_10); lean_dec(x_3); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_27); -if (x_38 == 0) +x_40 = !lean_is_exclusive(x_27); +if (x_40 == 0) { return x_27; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_27, 0); -x_40 = lean_ctor_get(x_27, 1); -lean_inc(x_40); -lean_inc(x_39); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_27, 0); +x_42 = lean_ctor_get(x_27, 1); +lean_inc(x_42); +lean_inc(x_41); lean_dec(x_27); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } } else { -uint8_t x_42; +uint8_t x_44; lean_dec(x_10); lean_dec(x_3); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_13); -if (x_42 == 0) +x_44 = !lean_is_exclusive(x_13); +if (x_44 == 0) { return x_13; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_13, 0); -x_44 = lean_ctor_get(x_13, 1); -lean_inc(x_44); -lean_inc(x_43); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_13, 0); +x_46 = lean_ctor_get(x_13, 1); +lean_inc(x_46); +lean_inc(x_45); lean_dec(x_13); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +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; } } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Match.c b/stage0/stdlib/Lean/Elab/Tactic/Match.c index b96de09f19..e0eb107baa 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Match.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Match.c @@ -35,18 +35,17 @@ lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__13; lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm_match__1___rarg(lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__31; lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__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*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___rarg___closed__1; +lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_AuxMatchTermState_cases___default; size_t l_USize_sub(size_t, size_t); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__5; lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__23; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm_match__1(lean_object*); @@ -61,31 +60,33 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__17; -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__8; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__4; size_t l_USize_shiftRight(size_t, size_t); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__13; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__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* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalMatch___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__2; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__9; -lean_object* l_Lean_Elab_Tactic_evalMatch___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__27; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__14; lean_object* l_Lean_Elab_Tactic_evalEraseAuxDiscrs(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalEraseAuxDiscrs___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__1; @@ -94,12 +95,11 @@ lean_object* l_Lean_Meta_tryClear(lean_object*, lean_object*, lean_object*, lean static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__14; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__28; lean_object* l_Lean_Elab_Tactic_evalMatch_match__1(lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__5; static lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___closed__2; +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__3; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__3; lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -112,6 +112,7 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__15; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__37; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__29; lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -120,16 +121,20 @@ uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___closed__1; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalEraseAuxDiscrs___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1; +lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__2(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_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalMatch___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*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__25; size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; lean_object* l_Lean_Elab_Tactic_AuxMatchTermState_nextIdx___default; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalMatch___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__8; @@ -139,9 +144,9 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__33; lean_object* l_Lean_Elab_Tactic_evalMatch_match__1___rarg(lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__6; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_LocalContext_foldlM___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__1(lean_object*, lean_object*, lean_object*); @@ -149,13 +154,14 @@ lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___closed__1; lean_object* l_Lean_Elab_Tactic_evalMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalMatch___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__6(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___boxed__const__1; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__24; lean_object* l_Lean_LocalContext_foldlM___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__9; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalEraseAuxDiscrs___rarg___closed__1; @@ -165,22 +171,22 @@ lean_object* l_Lean_Elab_Tactic_evalEraseAuxDiscrs___boxed(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__5(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__16; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__11; -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__2; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalMatch___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__19; +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___rarg(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__10; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__32; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__20; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalEraseAuxDiscrs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__11; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg(lean_object*); lean_object* lean_usize_to_nat(size_t); lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_instInhabitedPersistentArrayNode(lean_object*); @@ -188,7 +194,6 @@ lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryM static lean_object* l_Lean_Elab_Tactic_evalMatch___closed__1; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__35; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalMatch___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__4___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -2728,7 +2733,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalMatch_match__1___rarg), return x_2; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -2766,7 +2771,7 @@ return x_19; } } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__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* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -2778,7 +2783,7 @@ x_13 = lean_ctor_get(x_9, 3); x_14 = l_Lean_replaceRef(x_1, x_13); lean_dec(x_13); lean_ctor_set(x_9, 3, x_14); -x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_9); return x_15; } @@ -2813,13 +2818,13 @@ lean_ctor_set(x_25, 4, x_20); lean_ctor_set(x_25, 5, x_21); lean_ctor_set(x_25, 6, x_22); lean_ctor_set(x_25, 7, x_23); -x_26 = l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11); +x_26 = l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_10, x_11); lean_dec(x_25); return x_26; } } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2831,25 +2836,398 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4(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) { _start: { lean_object* x_9; -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg), 1, 0); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___rarg), 1, 0); return x_9; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__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; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__4(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; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__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) { +_start: +{ +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; +x_11 = lean_st_ref_get(x_9, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_8, 4); +lean_inc(x_15); +x_16 = lean_ctor_get(x_8, 5); +lean_inc(x_16); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__1___boxed), 4, 1); +lean_closure_set(x_17, 0, x_14); +lean_inc(x_15); +x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_18, 0, x_15); +lean_inc(x_14); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__2___boxed), 4, 1); +lean_closure_set(x_19, 0, x_14); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__3___boxed), 6, 3); +lean_closure_set(x_20, 0, x_14); +lean_closure_set(x_20, 1, x_15); +lean_closure_set(x_20, 2, x_16); +lean_inc(x_14); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__4___boxed), 6, 3); +lean_closure_set(x_21, 0, x_14); +lean_closure_set(x_21, 1, x_15); +lean_closure_set(x_21, 2, x_16); +x_22 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_20); +lean_ctor_set(x_22, 4, x_21); +x_23 = x_22; +x_24 = lean_ctor_get(x_8, 3); +lean_inc(x_24); +x_25 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_ctor_get(x_8, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_8, 2); +lean_inc(x_29); +x_30 = lean_st_ref_get(x_9, x_27); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_environment_main_module(x_14); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_23); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_26); +lean_ctor_set(x_35, 3, x_28); +lean_ctor_set(x_35, 4, x_29); +lean_ctor_set(x_35, 5, x_24); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_apply_2(x_1, x_35, x_37); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_st_ref_take(x_9, x_32); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = !lean_is_exclusive(x_43); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_46 = lean_ctor_get(x_43, 1); +lean_dec(x_46); +lean_ctor_set(x_43, 1, x_41); +x_47 = lean_st_ref_set(x_9, x_43, x_44); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_ctor_get(x_40, 1); +lean_inc(x_49); +lean_dec(x_40); +x_50 = l_List_reverse___rarg(x_49); +x_51 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_48); +lean_dec(x_8); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_51, 0); +lean_dec(x_53); +lean_ctor_set(x_51, 0, x_39); +return x_51; +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_39); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +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_65; lean_object* x_66; lean_object* x_67; +x_56 = lean_ctor_get(x_43, 0); +x_57 = lean_ctor_get(x_43, 2); +x_58 = lean_ctor_get(x_43, 3); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_43); +x_59 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_41); +lean_ctor_set(x_59, 2, x_57); +lean_ctor_set(x_59, 3, x_58); +x_60 = lean_st_ref_set(x_9, x_59, x_44); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +lean_dec(x_60); +x_62 = lean_ctor_get(x_40, 1); +lean_inc(x_62); +lean_dec(x_40); +x_63 = l_List_reverse___rarg(x_62); +x_64 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_61); +lean_dec(x_8); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_66 = x_64; +} else { + lean_dec_ref(x_64); + x_66 = lean_box(0); +} +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_39); +lean_ctor_set(x_67, 1, x_65); +return x_67; +} +} +else +{ +lean_object* x_68; +x_68 = lean_ctor_get(x_38, 0); +lean_inc(x_68); +lean_dec(x_38); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_72, 0, x_71); +x_73 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__2(x_69, x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); +lean_dec(x_69); +return x_73; +} +else +{ +lean_object* x_74; +lean_dec(x_8); +x_74 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___rarg(x_32); +return x_74; +} +} +} +} lean_object* l_Lean_Elab_Tactic_evalMatch___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) { _start: { @@ -2867,7 +3245,7 @@ x_15 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); lean_ctor_set(x_5, 3, x_15); -x_16 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_16; } else @@ -2914,45 +3292,11 @@ lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_22); lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 1, x_23); lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 2, x_24); lean_ctor_set_uint8(x_31, sizeof(void*)*8 + 3, x_28); -x_32 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_31, x_6, x_7, x_8, x_9, x_10, x_11); +x_32 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_31, x_6, x_7, x_8, x_9, x_10, x_11); return x_32; } } } -lean_object* l_Lean_Elab_Tactic_evalMatch___lambda__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; lean_object* x_7; -x_5 = l_Lean_Environment_contains(x_1, x_2); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -lean_object* l_Lean_Elab_Tactic_evalMatch___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) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_Tactic_evalMatch___lambda__4(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; -x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} static lean_object* _init_l_Lean_Elab_Tactic_evalMatch___closed__1() { _start: { @@ -2978,291 +3322,75 @@ lean_object* x_11; x_11 = l_Lean_Elab_Tactic_getMainTag(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 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_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_40 = lean_st_ref_get(x_9, x_13); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_ctor_get(x_41, 0); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_8, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_8, 5); -lean_inc(x_45); -lean_inc(x_43); -x_46 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_46, 0, x_43); -lean_inc(x_44); -x_47 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_47, 0, x_44); -lean_inc(x_43); -x_48 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalMatch___lambda__2___boxed), 4, 1); -lean_closure_set(x_48, 0, x_43); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -x_49 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalMatch___lambda__3___boxed), 6, 3); -lean_closure_set(x_49, 0, x_43); -lean_closure_set(x_49, 1, x_44); -lean_closure_set(x_49, 2, x_45); -lean_inc(x_43); -x_50 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalMatch___lambda__4___boxed), 6, 3); -lean_closure_set(x_50, 0, x_43); -lean_closure_set(x_50, 1, x_44); -lean_closure_set(x_50, 2, x_45); -x_51 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_51, 0, x_46); -lean_ctor_set(x_51, 1, x_47); -lean_ctor_set(x_51, 2, x_48); -lean_ctor_set(x_51, 3, x_49); -lean_ctor_set(x_51, 4, x_50); -x_52 = x_51; -x_53 = lean_ctor_get(x_8, 3); -lean_inc(x_53); -x_54 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_42); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_ctor_get(x_8, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_8, 2); -lean_inc(x_58); -x_59 = lean_st_ref_get(x_9, x_56); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_environment_main_module(x_43); -x_64 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_64, 0, x_52); -lean_ctor_set(x_64, 1, x_63); -lean_ctor_set(x_64, 2, x_55); -lean_ctor_set(x_64, 3, x_57); -lean_ctor_set(x_64, 4, x_58); -lean_ctor_set(x_64, 5, x_53); -x_65 = lean_box(0); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_62); -lean_ctor_set(x_66, 1, x_65); lean_inc(x_1); -x_67 = l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm(x_12, x_1, x_64, x_66); -if (lean_obj_tag(x_67) == 0) +x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm), 4, 2); +lean_closure_set(x_14, 0, x_12); +lean_closure_set(x_14, 1, x_1); +lean_inc(x_8); +x_15 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_15) == 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; uint8_t x_74; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_st_ref_take(x_9, x_61); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = !lean_is_exclusive(x_72); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_75 = lean_ctor_get(x_72, 1); -lean_dec(x_75); -lean_ctor_set(x_72, 1, x_70); -x_76 = lean_st_ref_set(x_9, x_72, x_73); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -lean_dec(x_76); -x_78 = lean_ctor_get(x_69, 1); -lean_inc(x_78); -lean_dec(x_69); -x_79 = l_List_reverse___rarg(x_78); -x_80 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_79, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_77); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_14 = x_68; -x_15 = x_81; -goto block_39; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_82 = lean_ctor_get(x_72, 0); -x_83 = lean_ctor_get(x_72, 2); -x_84 = lean_ctor_get(x_72, 3); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_72); -x_85 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_85, 0, x_82); -lean_ctor_set(x_85, 1, x_70); -lean_ctor_set(x_85, 2, x_83); -lean_ctor_set(x_85, 3, x_84); -x_86 = lean_st_ref_set(x_9, x_85, x_73); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -lean_dec(x_86); -x_88 = lean_ctor_get(x_69, 1); -lean_inc(x_88); -lean_dec(x_69); -x_89 = l_List_reverse___rarg(x_88); -x_90 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_89, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_87); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_14 = x_68; -x_15 = x_91; -goto block_39; -} -} -else -{ -lean_object* x_92; -lean_dec(x_1); -x_92 = lean_ctor_get(x_67, 0); -lean_inc(x_92); -lean_dec(x_67); -if (lean_obj_tag(x_92) == 0) -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_95, 0, x_94); -x_96 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_96, 0, x_95); -x_97 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__1(x_93, x_96, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_61); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_93); -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) -{ -return x_97; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_97, 0); -x_100 = lean_ctor_get(x_97, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_97); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; -} -} -else -{ -lean_object* x_102; uint8_t x_103; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_102 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg(x_61); -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) -{ -return x_102; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_102, 0); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_102); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; -} -} -} -block_39: -{ -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; -x_16 = lean_ctor_get(x_14, 0); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -x_17 = lean_ctor_get(x_14, 1); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -lean_dec(x_14); -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(x_8, x_9, x_15); -x_19 = lean_ctor_get(x_18, 0); +lean_dec(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_20); -x_22 = lean_ctor_get(x_21, 1); +lean_dec(x_16); +x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(x_8, x_9, x_17); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); -lean_dec(x_21); -x_23 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_22); +lean_dec(x_20); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_22); x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Lean_Elab_Tactic_evalMatch___closed__1; -x_26 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_26, 0, x_19); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__14; -x_28 = lean_array_push(x_27, x_26); -x_29 = lean_array_push(x_28, x_16); -x_30 = l_Lean_Elab_Tactic_evalMatch___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 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__27; -x_33 = lean_array_push(x_32, x_31); -x_34 = l_Array_append___rarg(x_33, x_17); -lean_dec(x_17); -x_35 = l_Lean_nullKind; -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -lean_inc(x_36); +x_25 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_24); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Lean_Elab_Tactic_evalMatch___closed__1; +x_28 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_28, 0, x_21); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__14; +x_30 = lean_array_push(x_29, x_28); +x_31 = lean_array_push(x_30, x_18); +x_32 = l_Lean_Elab_Tactic_evalMatch___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 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__27; +x_35 = lean_array_push(x_34, x_33); +x_36 = l_Array_append___rarg(x_35, x_19); +lean_dec(x_19); +x_37 = l_Lean_nullKind; +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +lean_inc(x_38); lean_inc(x_1); -x_37 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalMatch___lambda__1), 11, 2); -lean_closure_set(x_37, 0, x_1); -lean_closure_set(x_37, 1, x_36); -x_38 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_1, x_36, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_24); -return x_38; -} +x_39 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalMatch___lambda__1___boxed), 11, 2); +lean_closure_set(x_39, 0, x_1); +lean_closure_set(x_39, 1, x_38); +x_40 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_1, x_38, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); +return x_40; } else { -uint8_t x_107; +uint8_t x_41; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -3272,32 +3400,64 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_107 = !lean_is_exclusive(x_11); -if (x_107 == 0) +x_41 = !lean_is_exclusive(x_15); +if (x_41 == 0) +{ +return x_15; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_15, 0); +x_43 = lean_ctor_get(x_15, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_15); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_45 = !lean_is_exclusive(x_11); +if (x_45 == 0) { return x_11; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_11, 0); -x_109 = lean_ctor_get(x_11, 1); -lean_inc(x_109); -lean_inc(x_108); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_11, 0); +x_47 = lean_ctor_get(x_11, 1); +lean_inc(x_47); +lean_inc(x_46); lean_dec(x_11); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -3309,11 +3469,11 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__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* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__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 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -3325,11 +3485,11 @@ lean_dec(x_1); return x_12; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -3341,21 +3501,30 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_Elab_Tactic_evalMatch___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___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_Elab_Tactic_evalMatch___lambda__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__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_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_Tactic_evalMatch___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_Tactic_evalMatch___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -3363,16 +3532,40 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_Tactic_evalMatch___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__4___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_Tactic_evalMatch___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_2); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_evalMatch___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_evalMatch___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +return x_12; +} +} static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1() { _start: { @@ -3571,8 +3764,8 @@ l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux__ lean_mark_persistent(l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___boxed__const__1); l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___closed__1 = _init_l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___closed__1); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg___closed__1); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__4___rarg___closed__1); l_Lean_Elab_Tactic_evalMatch___closed__1 = _init_l_Lean_Elab_Tactic_evalMatch___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_evalMatch___closed__1); l_Lean_Elab_Tactic_evalMatch___closed__2 = _init_l_Lean_Elab_Tactic_evalMatch___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Simp.c b/stage0/stdlib/Lean/Elab/Tactic/Simp.c index 443b6c5cce..89c413159c 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Simp.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Simp.c @@ -2540,94 +2540,98 @@ lean_inc(x_14); x_27 = l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpLemmas___spec__7(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); if (lean_obj_tag(x_27) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +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; uint8_t x_36; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = l_Lean_LocalContext_empty; -x_31 = lean_alloc_ctor(0, 4, 0); +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_3); -lean_ctor_set(x_31, 2, x_28); -lean_ctor_set(x_31, 3, x_1); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +lean_ctor_set(x_31, 1, x_1); +x_32 = l_Lean_LocalContext_empty; +x_33 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_3); +lean_ctor_set(x_33, 3, x_28); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_29); lean_dec(x_10); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) { -lean_object* x_35; -x_35 = lean_ctor_get(x_33, 0); +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +lean_ctor_set(x_35, 0, x_14); +return x_35; +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); lean_dec(x_35); -lean_ctor_set(x_33, 0, x_14); -return x_33; -} -else -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_14); -lean_ctor_set(x_37, 1, x_36); -return x_37; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_14); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } else { -uint8_t x_38; +uint8_t x_40; lean_dec(x_14); lean_dec(x_10); lean_dec(x_3); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_27); -if (x_38 == 0) +x_40 = !lean_is_exclusive(x_27); +if (x_40 == 0) { return x_27; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_27, 0); -x_40 = lean_ctor_get(x_27, 1); -lean_inc(x_40); -lean_inc(x_39); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_27, 0); +x_42 = lean_ctor_get(x_27, 1); +lean_inc(x_42); +lean_inc(x_41); lean_dec(x_27); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } } else { -uint8_t x_42; +uint8_t x_44; lean_dec(x_10); lean_dec(x_3); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_13); -if (x_42 == 0) +x_44 = !lean_is_exclusive(x_13); +if (x_44 == 0) { return x_13; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_13, 0); -x_44 = lean_ctor_get(x_13, 1); -lean_inc(x_44); -lean_inc(x_43); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_13, 0); +x_46 = lean_ctor_get(x_13, 1); +lean_inc(x_46); +lean_inc(x_45); lean_dec(x_13); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +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; } } } diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 3cfbcca168..5127aecd9b 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -33,12 +33,14 @@ uint8_t l_Lean_isRecCore(lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___spec__1___closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp___closed__1; lean_object* l_Std_PersistentArray_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addTermInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1; lean_object* l_List_foldr___at_Lean_Elab_Term_resolveName_x27___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTypeOf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__1; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__10; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__2; @@ -73,9 +75,9 @@ lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_List_elem___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__3___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__12; lean_object* lean_io_get_num_heartbeats(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Term_addAutoBoundImplicits___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__4; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp___boxed(lean_object*); @@ -102,7 +104,6 @@ lean_object* l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__20(lean_object lean_object* l_Lean_Elab_Term_getLevelNames___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___spec__1___closed__2; -lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__2; lean_object* l_Lean_mkSort(lean_object*); lean_object* l_Lean_Elab_Term_elabEnsureTypeOf_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -140,9 +141,11 @@ static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErro lean_object* l_Lean_Elab_Term_instMonadTermElabM___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__1; uint8_t l_USize_decEq(size_t, size_t); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__4; lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__8; lean_object* l_Lean_Elab_Term_tryPostpone___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); @@ -152,17 +155,20 @@ lean_object* l_Lean_ofExcept___at_Lean_Elab_Term_evalExpr___spec__12(lean_object lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponingUniverseConstraints(lean_object*); lean_object* l_Lean_Elab_Term_setLevelNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___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* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__6; lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__4; lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__2; static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__12; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__3(lean_object*); static lean_object* l_Lean_Elab_Term_throwErrorIfErrors___closed__1; lean_object* l_Lean_Elab_Term_commitIfNoErrors_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___closed__1; @@ -180,10 +186,12 @@ lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___ lean_object* l_Lean_Elab_Term_instInhabitedTermElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_isValidAutoBoundImplicitName(lean_object*); lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabDoubleQuotedName___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4; lean_object* l_Lean_Elab_Term_commitIfDidNotPostpone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_autoBoundImplicitLocal; static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5___closed__2; @@ -198,19 +206,20 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__2 extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1; static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___closed__4; lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__3; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__3; -lean_object* l_Lean_Elab_Term_addTermInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo___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* l_Lean_Elab_Term_withoutPostponingUniverseConstraints___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkFreshTypeMVarFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1; static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__11; lean_object* l_Lean_Elab_Term_instInhabitedTermElabResult___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1; @@ -218,7 +227,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__3; lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__5; static lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1; -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__5; lean_object* l_Lean_Elab_Term_isMonadApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf(lean_object*); @@ -231,7 +239,6 @@ lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolve static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__19; lean_object* l_Lean_MetavarContext_getExprAssignment_x3f(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__1; lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Term_resolveName_x27___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -279,6 +286,7 @@ static lean_object* l_Lean_Elab_Term_throwErrorIfErrors___closed__2; static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_autoBoundImplicitExceptionId; lean_object* l_List_append___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2; @@ -302,9 +310,9 @@ static lean_object* l_Lean_Elab_Term_instInhabitedState___closed__5; lean_object* l_List_foldl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__7(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__2; extern lean_object* l_Lean_Elab_abortCommandExceptionId; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___closed__3; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__2; lean_object* l_Lean_Elab_Term_withoutPostponing(lean_object*); lean_object* l_Lean_Elab_Term_State_mvarErrorInfos___default; static lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__4; @@ -324,13 +332,13 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(lean_ lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1; lean_object* l_Lean_Elab_Term_withAutoBoundImplicit_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMessageLog___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeAscription___closed__2; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__4; lean_object* l_Lean_Elab_Term_resolveName_x27_match__6___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__4; @@ -342,6 +350,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwMVarError___spec__1(lean lean_object* l___regBuiltin_Lean_Elab_Term_elabProp(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6; lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -355,10 +364,11 @@ static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__13; lean_object* l_List_map___at_Lean_resolveGlobalConst___spec__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__4; lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__2; lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1; lean_object* l_Lean_Elab_Term_instToStringMVarErrorKind(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__2; +lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5; lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__3; @@ -369,6 +379,7 @@ static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMe lean_object* l_Std_mkHashSetImp___rarg(lean_object*); lean_object* l_Lean_Declaration_foldExprM___at_Lean_Elab_Term_evalExpr___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__5; static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__1; @@ -380,10 +391,10 @@ lean_object* l_Lean_Elab_Term_throwMVarError___rarg(lean_object*, lean_object*, static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__3; uint8_t l_List_foldr___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Elab_Term_throwMVarError___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed__5; lean_object* l_Std_RBNode_find___at_Lean_Elab_Term_resolveName___spec__2___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); @@ -424,7 +435,6 @@ lean_object* l_Lean_Elab_Term_resolveName_x27_match__2(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__8; -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__7; lean_object* l_Std_PersistentArray_forMAux___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__4; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2; @@ -528,7 +538,6 @@ uint8_t l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___lambda__1(lean_ob lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__1(lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadTermElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__2; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__5; @@ -552,7 +561,6 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImp lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5; @@ -593,6 +601,7 @@ lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__4; uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Term_withMacroExpansion(lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMessageLog(lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -607,7 +616,6 @@ extern lean_object* l_Lean_numLitKind; lean_object* l_Lean_Elab_Term_getSyntheticMVarDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1___closed__6; lean_object* l_Lean_Elab_Term_isLocalIdent_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__3; @@ -649,6 +657,7 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3; static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__3; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Term_evalExpr___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkHasTypeButIsExpectedMsg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -675,7 +684,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCn lean_object* l_Lean_Elab_Term_elabQuotedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__2; lean_object* l_Lean_mkAnnotation(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit(lean_object*); lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isScientificLit_x3f(lean_object*); @@ -693,7 +701,6 @@ lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__3; lean_object* l_Lean_Elab_Term_levelMVarToParam___lambda__1___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_maxCoeSize___closed__1; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -729,7 +736,6 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabOptLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__7; -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_pushScope___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___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*); uint8_t l_Lean_MetavarContext_isWellFormed(lean_object*, lean_object*, lean_object*); @@ -762,7 +768,6 @@ lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, l uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_getMacros(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_findSome_x3f___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3; @@ -774,9 +779,9 @@ lean_object* l_Lean_Elab_Term_mkTypeMismatchError_match__1___rarg(lean_object*, lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabOptLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017_(lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019_(lean_object*); lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setElabConfig(lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__14; @@ -813,6 +818,7 @@ lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__17(lean_ static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__5; lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___closed__3; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit___closed__2; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_appendExtra(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLetRecAuxMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -836,10 +842,10 @@ static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__11; lean_object* l_Lean_Meta_throwAppTypeMismatch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_KeyedDeclsAttribute_getValues___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName_match__2(lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__3; lean_object* l_Lean_Elab_Term_getMainModule(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isMonadApp_match__1(lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute(lean_object*); @@ -882,7 +888,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__2; lean_object* l_Lean_Meta_getMVarsAtDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__1; static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__16; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__3; @@ -923,6 +928,7 @@ lean_object* l_Lean_Elab_Term_resolveName_x27_match__4___rarg(lean_object*, lean static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__1___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_checkMaxHeartbeats(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); @@ -956,7 +962,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe_match__3 lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenHiding___at_Lean_Elab_Term_elabOpen___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwTypeMismatchError_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Term_addAutoBoundImplicits___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDelayedRoot(lean_object*, lean_object*); lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -984,6 +990,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__2; lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_elabOpen___spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__4; lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1003,7 +1010,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe_match__2(lean_o static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__4; lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__6; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__13; lean_object* l_Lean_Elab_Term_evalExpr(lean_object*); @@ -1032,6 +1038,7 @@ uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkNoImplicitLambdaAnnotation___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__3; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); +lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__18; lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1083,6 +1090,7 @@ lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___sp lean_object* l_Lean_Elab_Term_mkFreshBinderName(lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f_match__2(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2(lean_object*, lean_object*, size_t, size_t); +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__8; static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11; @@ -1092,11 +1100,9 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_e lean_object* l_List_forIn_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__9; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__4; lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop_match__1(lean_object*); lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___boxed(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__3; lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__1; @@ -1106,6 +1112,7 @@ lean_object* l_Lean_Elab_Term_instMonadTermElabM; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1; static lean_object* l_Lean_Elab_Term_instToStringLVal___closed__1; lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1; static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__1; uint8_t l_Lean_Elab_Term_LVal_isFieldName(lean_object*); @@ -1125,7 +1132,6 @@ lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f_match__1(lean_object*); lean_object* l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwTypeMismatchError___spec__1(lean_object*); lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1; static lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__2; lean_object* l_Lean_Elab_Term_elabScientificLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1134,7 +1140,6 @@ uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_String_Basic_0__Substring_takeRightWhileAux___at_Lean_Elab_Term_resolveName_x27___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__5; -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__6; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos___closed__1; @@ -1201,7 +1206,7 @@ lean_object* l_Lean_Elab_Term_applyAttributes(lean_object*, lean_object*, lean_o static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2; lean_object* l_Lean_Elab_Term_elabNumLit_match__1(lean_object*); lean_object* l_Lean_Elab_Term_resolveId_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_addTermInfo(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_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_assignLevel(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_State_syntheticMVars___default; @@ -1243,7 +1248,6 @@ static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__4; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___boxed(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isHole___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___closed__2; static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__6; static lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___closed__1; @@ -1260,7 +1264,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__1; static lean_object* l_Lean_Elab_Term_mkConst___closed__1; lean_object* l_Lean_Elab_Term_isTypeApp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__9; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__2; static lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___closed__1; lean_object* l_Lean_Elab_Term_resolveLocalName_loop_match__1(lean_object*); lean_object* l_Lean_Elab_Term_ensureHasType_match__1(lean_object*); @@ -1300,6 +1303,7 @@ lean_object* l_Lean_Elab_Term_resolveName_x27(lean_object*, lean_object*, lean_o static lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1___rarg___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion(lean_object*); static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1326,9 +1330,11 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFn lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_elabOpen___spec__8(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedSavedState___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1; +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___closed__1; lean_object* l_Lean_Elab_logUnknownDecl___at_Lean_Elab_Term_elabOpen___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__9; @@ -1394,6 +1400,7 @@ lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Elab_Term_0__Lean_E lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg(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*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__7; lean_object* l_Lean_Elab_Term_addDotCompletionInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__3; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__4; lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1412,13 +1419,13 @@ lean_object* l_Lean_Elab_Term_elabByTactic___boxed(lean_object*, lean_object*, l uint8_t l_List_elem___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_resolveName___closed__2; lean_object* l_Lean_Elab_Term_elabSyntheticHole(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__2; lean_object* l_Lean_Elab_Term_TermElabM_toIO_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkTacticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__1; lean_object* l_Lean_Elab_Term_getLevelNames___boxed(lean_object*); static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__1; +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setMessageLog___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1451,13 +1458,13 @@ lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_obj lean_object* l_Lean_Elab_Term_tryPostpone(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_println___at_Lean_instEval___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__3; lean_object* l_Lean_Elab_Term_throwErrorIfErrors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___closed__2; uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492_(lean_object*); static lean_object* l_Lean_Elab_Term_termElabAttribute___closed__10; lean_object* l_Lean_throwError___at_Lean_Elab_Term_evalExpr___spec__13(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__2; lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___closed__2; @@ -1473,14 +1480,13 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_e lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__3; lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabRawNatLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__6; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__1; -lean_object* l_Lean_Elab_Term_mkTermInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkTermInfo___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*); static lean_object* l_Lean_Elab_Term_instMonadInfoTreeTermElabM___closed__3; lean_object* l_Lean_Elab_Term_resolveName_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__4(lean_object*); @@ -1500,7 +1506,6 @@ lean_object* l_Std_HashSetImp_expand___at___private_Lean_Elab_Term_0__Lean_Elab_ lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___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*); lean_object* l_Lean_Elab_Term_resolveName_x27_match__1(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__3; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__11; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); @@ -1510,6 +1515,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCn static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__4; uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkInstMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar_match__1(lean_object*); @@ -1565,7 +1571,6 @@ lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_findUserName_x3f(lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabCompletion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addTermInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabScientificLit_match__1(lean_object*); lean_object* l_Lean_Meta_setMCtx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1585,6 +1590,7 @@ lean_object* l_Lean_Elab_Term_synthesizeCoeInstMVarCore(lean_object*, lean_objec lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__12; lean_object* l_Lean_Elab_Term_registerMVarErrorCustomInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; lean_object* l_Lean_Elab_Term_elabEnsureTypeOf_match__1(lean_object*); lean_object* l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___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*); @@ -1641,10 +1647,11 @@ static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOp lean_object* l_Lean_ScopedEnvExtension_activateScoped___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec__2(lean_object*, lean_object*, uint8_t); lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSyntheticSorryFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_autoLift___closed__1; lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_evalExpr___rarg___closed__4; @@ -1680,7 +1687,6 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFn lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__1; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_Elab_Term_resolveId_x3f___spec__2(lean_object*, lean_object*); lean_object* l_Lean_instMonadRef___rarg(lean_object*, lean_object*, lean_object*); @@ -1712,7 +1718,6 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabCharLit_match__1(lean_object*); lean_object* l_Std_HashSetImp_contains___at___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__2___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__6; lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__5; @@ -1721,6 +1726,7 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTer static lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___spec__1___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Context_mayPostpone___default; +static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7; lean_object* lean_add_decl(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1; lean_object* l_Lean_Elab_Term_termElabAttribute___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -9015,46 +9021,46 @@ lean_object* l_Lean_Elab_Term_liftLevelM___rarg(lean_object* x_1, lean_object* x _start: { 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; uint8_t 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_9 = lean_ctor_get(x_6, 0); -x_10 = lean_ctor_get(x_6, 3); -x_11 = lean_st_ref_get(x_7, x_8); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_st_ref_get(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); -x_16 = lean_ctor_get(x_14, 0); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_st_ref_get(x_7, x_15); -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, 2); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); -lean_inc(x_9); +lean_dec(x_9); +x_11 = lean_st_ref_get(x_5, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_st_ref_get(x_7, x_13); +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); +x_18 = lean_ctor_get(x_16, 2); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_6, 0); +x_20 = lean_ctor_get(x_6, 3); +x_21 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); +lean_inc(x_20); +lean_inc(x_19); x_22 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_22, 0, x_9); -lean_ctor_set(x_22, 1, x_10); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_20); lean_ctor_set_uint8(x_22, sizeof(void*)*2, x_21); -x_23 = l_Lean_Elab_Term_getLevelNames___rarg(x_3, x_4, x_5, x_6, x_7, x_19); +x_23 = l_Lean_Elab_Term_getLevelNames___rarg(x_3, x_4, x_5, x_6, x_7, x_17); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); x_26 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_26, 0, x_20); -lean_ctor_set(x_26, 1, x_16); +lean_ctor_set(x_26, 0, x_18); +lean_ctor_set(x_26, 1, x_14); lean_ctor_set(x_26, 2, x_24); x_27 = lean_apply_2(x_1, x_22, x_26); if (lean_obj_tag(x_27) == 0) @@ -14621,7 +14627,7 @@ lean_dec(x_4); return x_10; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__1() { _start: { lean_object* x_1; @@ -14629,17 +14635,17 @@ x_1 = lean_mk_string("autoLift"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____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_initFn____x40_Lean_Elab_Term___hyg_3997____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__3() { _start: { lean_object* x_1; @@ -14647,13 +14653,13 @@ x_1 = lean_mk_string("insert monadic lifts (i.e., `liftM` and `liftCoeM`) when n return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -14662,12 +14668,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__4; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -14685,7 +14691,7 @@ lean_ctor_set(x_4, 1, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__1() { _start: { lean_object* x_1; @@ -14693,17 +14699,17 @@ x_1 = lean_mk_string("maxCoeSize"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____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_initFn____x40_Lean_Elab_Term___hyg_4017____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__3() { _start: { lean_object* x_1; @@ -14711,13 +14717,13 @@ x_1 = lean_mk_string("maximum number of instances used to construct an automatic return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_unsigned_to_nat(16u); x_2 = l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__3; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -14725,12 +14731,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__4; x_4 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -23411,6 +23417,823 @@ lean_dec(x_3); return x_10; } } +uint8_t l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_name_eq(x_3, x_1); +return x_4; +} +} +lean_object* l_Lean_Elab_Term_getSyntheticMVarDecl_x3f(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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_st_ref_get(x_3, x_10); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1___boxed), 2, 1); +lean_closure_set(x_14, 0, x_1); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_List_find_x3f___rarg(x_14, x_15); +lean_ctor_set(x_11, 0, x_16); +return x_11; +} +else +{ +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_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_11); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1___boxed), 2, 1); +lean_closure_set(x_19, 0, x_1); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = l_List_find_x3f___rarg(x_19, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_18); +return x_22; +} +} +} +lean_object* l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_getSyntheticMVarDecl_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_mkTermInfo_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; +lean_dec(x_3); +lean_dec(x_2); +x_5 = lean_apply_1(x_4, x_1); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_6, 2); +lean_inc(x_7); +switch (lean_obj_tag(x_7)) { +case 2: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_ctor_get(x_7, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_7, 1); +lean_inc(x_11); +lean_dec(x_7); +x_12 = lean_apply_4(x_2, x_10, x_11, x_8, x_9); +return x_12; +} +case 3: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_13 = lean_ctor_get(x_6, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 1); +lean_inc(x_14); +lean_dec(x_6); +x_15 = lean_ctor_get(x_7, 0); +lean_inc(x_15); +lean_dec(x_7); +x_16 = lean_apply_3(x_3, x_15, x_13, x_14); +return x_16; +} +default: +{ +lean_object* x_17; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_17 = lean_apply_1(x_4, x_1); +return x_17; +} +} +} +} +} +lean_object* l_Lean_Elab_Term_mkTermInfo_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkTermInfo_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_mkTermInfo_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_3, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_mkTermInfo_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkTermInfo_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_mkTermInfo(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; lean_object* x_14; +if (lean_obj_tag(x_3) == 2) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_3, 0); +lean_inc(x_30); +lean_inc(x_30); +x_31 = l_Lean_Elab_Term_getSyntheticMVarDecl_x3f(x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_30); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_box(0); +x_13 = x_34; +x_14 = x_33; +goto block_29; +} +else +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_32); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_32, 0); +x_37 = lean_ctor_get(x_36, 2); +lean_inc(x_37); +lean_dec(x_36); +switch (lean_obj_tag(x_37)) { +case 2: +{ +lean_object* x_38; +lean_dec(x_37); +x_38 = lean_ctor_get(x_31, 1); +lean_inc(x_38); +lean_dec(x_31); +lean_ctor_set(x_32, 0, x_30); +x_13 = x_32; +x_14 = x_38; +goto block_29; +} +case 3: +{ +lean_object* x_39; +lean_dec(x_37); +x_39 = lean_ctor_get(x_31, 1); +lean_inc(x_39); +lean_dec(x_31); +lean_ctor_set(x_32, 0, x_30); +x_13 = x_32; +x_14 = x_39; +goto block_29; +} +default: +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_37); +lean_free_object(x_32); +lean_dec(x_30); +x_40 = lean_ctor_get(x_31, 1); +lean_inc(x_40); +lean_dec(x_31); +x_41 = lean_box(0); +x_13 = x_41; +x_14 = x_40; +goto block_29; +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_32, 0); +lean_inc(x_42); +lean_dec(x_32); +x_43 = lean_ctor_get(x_42, 2); +lean_inc(x_43); +lean_dec(x_42); +switch (lean_obj_tag(x_43)) { +case 2: +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_43); +x_44 = lean_ctor_get(x_31, 1); +lean_inc(x_44); +lean_dec(x_31); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_30); +x_13 = x_45; +x_14 = x_44; +goto block_29; +} +case 3: +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_43); +x_46 = lean_ctor_get(x_31, 1); +lean_inc(x_46); +lean_dec(x_31); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_30); +x_13 = x_47; +x_14 = x_46; +goto block_29; +} +default: +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_43); +lean_dec(x_30); +x_48 = lean_ctor_get(x_31, 1); +lean_inc(x_48); +lean_dec(x_31); +x_49 = lean_box(0); +x_13 = x_49; +x_14 = x_48; +goto block_29; +} +} +} +} +} +else +{ +lean_object* x_50; +x_50 = lean_box(0); +x_13 = x_50; +x_14 = x_12; +goto block_29; +} +block_29: +{ +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_8, 1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_1); +lean_ctor_set(x_16, 1, x_2); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_inc(x_15); +x_17 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +lean_ctor_set(x_17, 2, x_4); +lean_ctor_set(x_17, 3, x_3); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_14); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_5, 0); +lean_inc(x_21); +x_22 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_22, 0, x_16); +lean_ctor_set(x_22, 1, x_21); +lean_ctor_set(x_22, 2, x_4); +lean_ctor_set(x_22, 3, x_3); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_14); +return x_25; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = lean_ctor_get(x_13, 0); +lean_inc(x_26); +lean_dec(x_13); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, 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_14); +return x_28; +} +} +} +} +lean_object* l_Lean_Elab_Term_mkTermInfo___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_Lean_Elab_Term_mkTermInfo(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); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_13; +} +} +lean_object* l_Lean_Elab_Term_addTermInfo(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; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_13 = lean_st_ref_get(x_11, x_12); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_st_ref_get(x_7, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 5); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*2); +lean_dec(x_17); +if (x_18 == 0) +{ +uint8_t x_19; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_15, 0); +lean_dec(x_20); +x_21 = lean_box(0); +lean_ctor_set(x_15, 0, x_21); +return x_15; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_15, 1); +lean_inc(x_22); +lean_dec(x_15); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; +} +} +else +{ +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; +x_25 = lean_ctor_get(x_15, 1); +lean_inc(x_25); +lean_dec(x_15); +x_26 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_7, x_8, x_9, x_10, x_11, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Elab_Term_mkTermInfo(x_5, x_1, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_st_ref_get(x_11, x_31); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_st_ref_take(x_7, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_35, 5); +lean_inc(x_36); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_dec(x_34); +x_38 = !lean_is_exclusive(x_35); +if (x_38 == 0) +{ +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_35, 5); +lean_dec(x_39); +x_40 = !lean_is_exclusive(x_36); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_41 = lean_ctor_get(x_36, 1); +x_42 = lean_ctor_get(x_30, 0); +lean_inc(x_42); +lean_dec(x_30); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = l_Std_PersistentArray_push___rarg(x_27, x_43); +lean_ctor_set(x_36, 1, x_44); +x_45 = lean_st_ref_set(x_7, x_35, x_37); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +x_48 = lean_box(0); +lean_ctor_set(x_45, 0, x_48); +return x_45; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_45, 1); +lean_inc(x_49); +lean_dec(x_45); +x_50 = lean_box(0); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +return x_51; +} +} +else +{ +uint8_t 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_52 = lean_ctor_get_uint8(x_36, sizeof(void*)*2); +x_53 = lean_ctor_get(x_36, 0); +x_54 = lean_ctor_get(x_36, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_36); +x_55 = lean_ctor_get(x_30, 0); +lean_inc(x_55); +lean_dec(x_30); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = l_Std_PersistentArray_push___rarg(x_27, x_56); +x_58 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_58, 0, x_53); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set_uint8(x_58, sizeof(void*)*2, x_52); +lean_ctor_set(x_35, 5, x_58); +x_59 = lean_st_ref_set(x_7, x_35, x_37); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_61 = x_59; +} else { + lean_dec_ref(x_59); + x_61 = lean_box(0); +} +x_62 = lean_box(0); +if (lean_is_scalar(x_61)) { + x_63 = lean_alloc_ctor(0, 2, 0); +} else { + x_63 = x_61; +} +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_60); +return x_63; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t 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; +x_64 = lean_ctor_get(x_35, 0); +x_65 = lean_ctor_get(x_35, 1); +x_66 = lean_ctor_get(x_35, 2); +x_67 = lean_ctor_get(x_35, 3); +x_68 = lean_ctor_get(x_35, 4); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_35); +x_69 = lean_ctor_get_uint8(x_36, sizeof(void*)*2); +x_70 = lean_ctor_get(x_36, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_36, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_72 = x_36; +} else { + lean_dec_ref(x_36); + x_72 = lean_box(0); +} +x_73 = lean_ctor_get(x_30, 0); +lean_inc(x_73); +lean_dec(x_30); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_71); +x_75 = l_Std_PersistentArray_push___rarg(x_27, x_74); +if (lean_is_scalar(x_72)) { + x_76 = lean_alloc_ctor(0, 2, 1); +} else { + x_76 = x_72; +} +lean_ctor_set(x_76, 0, x_70); +lean_ctor_set(x_76, 1, x_75); +lean_ctor_set_uint8(x_76, sizeof(void*)*2, x_69); +x_77 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_77, 0, x_64); +lean_ctor_set(x_77, 1, x_65); +lean_ctor_set(x_77, 2, x_66); +lean_ctor_set(x_77, 3, x_67); +lean_ctor_set(x_77, 4, x_68); +lean_ctor_set(x_77, 5, x_76); +x_78 = lean_st_ref_set(x_7, x_77, x_37); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_80 = x_78; +} else { + lean_dec_ref(x_78); + x_80 = lean_box(0); +} +x_81 = lean_box(0); +if (lean_is_scalar(x_80)) { + x_82 = lean_alloc_ctor(0, 2, 0); +} else { + x_82 = x_80; +} +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_79); +return x_82; +} +} +else +{ +lean_object* x_83; uint8_t x_84; +x_83 = lean_ctor_get(x_34, 1); +lean_inc(x_83); +lean_dec(x_34); +x_84 = !lean_is_exclusive(x_35); +if (x_84 == 0) +{ +lean_object* x_85; uint8_t x_86; +x_85 = lean_ctor_get(x_35, 5); +lean_dec(x_85); +x_86 = !lean_is_exclusive(x_36); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_87 = lean_ctor_get(x_36, 1); +lean_dec(x_87); +x_88 = lean_ctor_get(x_30, 0); +lean_inc(x_88); +lean_dec(x_30); +x_89 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_90 = l_Std_PersistentArray_push___rarg(x_27, x_89); +lean_ctor_set(x_36, 1, x_90); +x_91 = lean_st_ref_set(x_7, x_35, x_83); +x_92 = !lean_is_exclusive(x_91); +if (x_92 == 0) +{ +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_91, 0); +lean_dec(x_93); +x_94 = lean_box(0); +lean_ctor_set(x_91, 0, x_94); +return x_91; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_91, 1); +lean_inc(x_95); +lean_dec(x_91); +x_96 = lean_box(0); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +else +{ +uint8_t 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; +x_98 = lean_ctor_get_uint8(x_36, sizeof(void*)*2); +x_99 = lean_ctor_get(x_36, 0); +lean_inc(x_99); +lean_dec(x_36); +x_100 = lean_ctor_get(x_30, 0); +lean_inc(x_100); +lean_dec(x_30); +x_101 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_101, 0, x_100); +x_102 = l_Std_PersistentArray_push___rarg(x_27, x_101); +x_103 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_103, 0, x_99); +lean_ctor_set(x_103, 1, x_102); +lean_ctor_set_uint8(x_103, sizeof(void*)*2, x_98); +lean_ctor_set(x_35, 5, x_103); +x_104 = lean_st_ref_set(x_7, x_35, x_83); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + lean_ctor_release(x_104, 1); + x_106 = x_104; +} else { + lean_dec_ref(x_104); + x_106 = lean_box(0); +} +x_107 = lean_box(0); +if (lean_is_scalar(x_106)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_106; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_105); +return x_108; +} +} +else +{ +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; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_109 = lean_ctor_get(x_35, 0); +x_110 = lean_ctor_get(x_35, 1); +x_111 = lean_ctor_get(x_35, 2); +x_112 = lean_ctor_get(x_35, 3); +x_113 = lean_ctor_get(x_35, 4); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_35); +x_114 = lean_ctor_get_uint8(x_36, sizeof(void*)*2); +x_115 = lean_ctor_get(x_36, 0); +lean_inc(x_115); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_116 = x_36; +} else { + lean_dec_ref(x_36); + x_116 = lean_box(0); +} +x_117 = lean_ctor_get(x_30, 0); +lean_inc(x_117); +lean_dec(x_30); +x_118 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_118, 0, x_117); +x_119 = l_Std_PersistentArray_push___rarg(x_27, x_118); +if (lean_is_scalar(x_116)) { + x_120 = lean_alloc_ctor(0, 2, 1); +} else { + x_120 = x_116; +} +lean_ctor_set(x_120, 0, x_115); +lean_ctor_set(x_120, 1, x_119); +lean_ctor_set_uint8(x_120, sizeof(void*)*2, x_114); +x_121 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_121, 0, x_109); +lean_ctor_set(x_121, 1, x_110); +lean_ctor_set(x_121, 2, x_111); +lean_ctor_set(x_121, 3, x_112); +lean_ctor_set(x_121, 4, x_113); +lean_ctor_set(x_121, 5, x_120); +x_122 = lean_st_ref_set(x_7, x_121, x_83); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_124 = x_122; +} else { + lean_dec_ref(x_122); + x_124 = lean_box(0); +} +x_125 = lean_box(0); +if (lean_is_scalar(x_124)) { + x_126 = lean_alloc_ctor(0, 2, 0); +} else { + x_126 = x_124; +} +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_123); +return x_126; +} +} +} +} +} +lean_object* l_Lean_Elab_Term_addTermInfo___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_Lean_Elab_Term_addTermInfo(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); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +return x_13; +} +} lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -23453,6 +24276,38 @@ _start: { if (lean_obj_tag(x_1) == 0) { +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_2(x_2, x_5, x_6); +return x_7; +} +} +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ lean_object* x_4; lean_object* x_5; lean_dec(x_3); x_4 = lean_box(0); @@ -23473,11 +24328,11 @@ return x_8; } } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__2(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__2___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__3___rarg), 3, 0); return x_2; } } @@ -23527,12 +24382,33 @@ return x_19; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_49; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; x_20 = lean_ctor_get(x_5, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_5, 1); lean_inc(x_21); lean_dec(x_5); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +x_62 = lean_st_ref_get(x_11, x_12); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_64 = lean_st_ref_get(x_7, x_63); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_65, 5); +lean_inc(x_66); +lean_dec(x_65); +x_67 = lean_ctor_get_uint8(x_66, sizeof(void*)*2); +lean_dec(x_66); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; +lean_dec(x_20); +x_68 = lean_ctor_get(x_64, 1); +lean_inc(x_68); +lean_dec(x_64); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -23541,36 +24417,1186 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_3); lean_inc(x_2); -x_22 = lean_apply_9(x_20, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_22) == 0) +x_69 = lean_apply_9(x_22, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_68); +if (lean_obj_tag(x_69) == 0) { -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_22; +x_23 = x_69; +goto block_48; } else { -lean_object* x_23; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); +lean_object* x_70; +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +if (lean_obj_tag(x_70) == 0) +{ +uint8_t x_71; +x_71 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); +if (x_71 == 0) +{ +uint8_t x_72; +x_72 = !lean_is_exclusive(x_69); +if (x_72 == 0) +{ +lean_object* x_73; +x_73 = lean_ctor_get(x_69, 0); +lean_dec(x_73); +x_23 = x_69; +goto block_48; +} +else +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_69, 1); +lean_inc(x_74); +lean_dec(x_69); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_70); +lean_ctor_set(x_75, 1, x_74); +x_23 = x_75; +goto block_48; +} +} +else +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_69, 1); +lean_inc(x_76); +lean_dec(x_69); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_3); +x_77 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_70, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_76); +x_23 = x_77; +goto block_48; +} +} +else +{ +uint8_t x_78; +x_78 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); +if (x_78 == 0) +{ +uint8_t x_79; +x_79 = !lean_is_exclusive(x_69); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_80 = lean_ctor_get(x_69, 1); +x_81 = lean_ctor_get(x_69, 0); +lean_dec(x_81); +x_82 = lean_ctor_get(x_70, 0); +lean_inc(x_82); +x_83 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_84 = lean_nat_dec_eq(x_82, x_83); +if (x_84 == 0) +{ +if (x_4 == 0) +{ +lean_dec(x_82); +x_23 = x_69; +goto block_48; +} +else +{ +lean_object* x_85; uint8_t x_86; +x_85 = l_Lean_Elab_postponeExceptionId; +x_86 = lean_nat_dec_eq(x_82, x_85); +lean_dec(x_82); +if (x_86 == 0) +{ +x_23 = x_69; +goto block_48; +} +else +{ +uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_free_object(x_69); +lean_dec(x_70); +x_87 = 0; +lean_inc(x_1); +x_88 = l_Lean_Elab_Term_SavedState_restore(x_1, x_87, x_6, x_7, x_8, x_9, x_10, x_11, x_80); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +lean_dec(x_88); +lean_inc(x_8); +lean_inc(x_3); +lean_inc(x_2); +x_90 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_89); +x_23 = x_90; +goto block_48; +} +} +} +else +{ +lean_dec(x_82); +x_23 = x_69; +goto block_48; +} +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_91 = lean_ctor_get(x_69, 1); +lean_inc(x_91); +lean_dec(x_69); +x_92 = lean_ctor_get(x_70, 0); +lean_inc(x_92); +x_93 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_94 = lean_nat_dec_eq(x_92, x_93); +if (x_94 == 0) +{ +if (x_4 == 0) +{ +lean_object* x_95; +lean_dec(x_92); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_70); +lean_ctor_set(x_95, 1, x_91); +x_23 = x_95; +goto block_48; +} +else +{ +lean_object* x_96; uint8_t x_97; +x_96 = l_Lean_Elab_postponeExceptionId; +x_97 = lean_nat_dec_eq(x_92, x_96); +lean_dec(x_92); +if (x_97 == 0) +{ +lean_object* x_98; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_70); +lean_ctor_set(x_98, 1, x_91); +x_23 = x_98; +goto block_48; +} +else +{ +uint8_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_70); +x_99 = 0; +lean_inc(x_1); +x_100 = l_Lean_Elab_Term_SavedState_restore(x_1, x_99, x_6, x_7, x_8, x_9, x_10, x_11, x_91); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +lean_dec(x_100); +lean_inc(x_8); +lean_inc(x_3); +lean_inc(x_2); +x_102 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_101); +x_23 = x_102; +goto block_48; +} +} +} +else +{ +lean_object* x_103; +lean_dec(x_92); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_70); +lean_ctor_set(x_103, 1, x_91); +x_23 = x_103; +goto block_48; +} +} +} +else +{ +uint8_t x_104; +x_104 = !lean_is_exclusive(x_69); +if (x_104 == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_105 = lean_ctor_get(x_69, 1); +x_106 = lean_ctor_get(x_69, 0); +lean_dec(x_106); +x_107 = lean_ctor_get(x_70, 0); +lean_inc(x_107); +x_108 = l_Lean_Elab_abortTermExceptionId; +x_109 = lean_nat_dec_eq(x_107, x_108); +if (x_109 == 0) +{ +lean_object* x_110; uint8_t x_111; +x_110 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_111 = lean_nat_dec_eq(x_107, x_110); +if (x_111 == 0) +{ +if (x_4 == 0) +{ +lean_dec(x_107); +x_23 = x_69; +goto block_48; +} +else +{ +lean_object* x_112; uint8_t x_113; +x_112 = l_Lean_Elab_postponeExceptionId; +x_113 = lean_nat_dec_eq(x_107, x_112); +lean_dec(x_107); +if (x_113 == 0) +{ +x_23 = x_69; +goto block_48; +} +else +{ +uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_free_object(x_69); +lean_dec(x_70); +x_114 = 0; +lean_inc(x_1); +x_115 = l_Lean_Elab_Term_SavedState_restore(x_1, x_114, x_6, x_7, x_8, x_9, x_10, x_11, x_105); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +lean_dec(x_115); +lean_inc(x_8); +lean_inc(x_3); +lean_inc(x_2); +x_117 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_116); +x_23 = x_117; +goto block_48; +} +} +} +else +{ +lean_dec(x_107); +x_23 = x_69; +goto block_48; +} +} +else +{ +lean_object* x_118; +lean_dec(x_107); +lean_free_object(x_69); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_3); +x_118 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_70, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_105); +x_23 = x_118; +goto block_48; +} +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; +x_119 = lean_ctor_get(x_69, 1); +lean_inc(x_119); +lean_dec(x_69); +x_120 = lean_ctor_get(x_70, 0); +lean_inc(x_120); +x_121 = l_Lean_Elab_abortTermExceptionId; +x_122 = lean_nat_dec_eq(x_120, x_121); +if (x_122 == 0) +{ +lean_object* x_123; uint8_t x_124; +x_123 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_124 = lean_nat_dec_eq(x_120, x_123); +if (x_124 == 0) +{ +if (x_4 == 0) +{ +lean_object* x_125; +lean_dec(x_120); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_70); +lean_ctor_set(x_125, 1, x_119); +x_23 = x_125; +goto block_48; +} +else +{ +lean_object* x_126; uint8_t x_127; +x_126 = l_Lean_Elab_postponeExceptionId; +x_127 = lean_nat_dec_eq(x_120, x_126); +lean_dec(x_120); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_70); +lean_ctor_set(x_128, 1, x_119); +x_23 = x_128; +goto block_48; +} +else +{ +uint8_t x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_dec(x_70); +x_129 = 0; +lean_inc(x_1); +x_130 = l_Lean_Elab_Term_SavedState_restore(x_1, x_129, x_6, x_7, x_8, x_9, x_10, x_11, x_119); +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +lean_dec(x_130); +lean_inc(x_8); +lean_inc(x_3); +lean_inc(x_2); +x_132 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_131); +x_23 = x_132; +goto block_48; +} +} +} +else +{ +lean_object* x_133; +lean_dec(x_120); +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_70); +lean_ctor_set(x_133, 1, x_119); +x_23 = x_133; +goto block_48; +} +} +else +{ +lean_object* x_134; +lean_dec(x_120); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_3); +x_134 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_70, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_119); +x_23 = x_134; +goto block_48; +} +} +} +} +} +} +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_251; lean_object* x_252; lean_object* x_290; +x_135 = lean_ctor_get(x_64, 1); +lean_inc(x_135); +lean_dec(x_64); +x_136 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_7, x_8, x_9, x_10, x_11, x_135); +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); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_3); +lean_inc(x_2); +x_290 = lean_apply_9(x_22, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_138); +if (lean_obj_tag(x_290) == 0) +{ +lean_object* x_291; lean_object* x_292; +x_291 = lean_ctor_get(x_290, 0); +lean_inc(x_291); +x_292 = lean_ctor_get(x_290, 1); +lean_inc(x_292); +lean_dec(x_290); +x_139 = x_291; +x_140 = x_292; +goto block_250; +} +else +{ +lean_object* x_293; +x_293 = lean_ctor_get(x_290, 0); +lean_inc(x_293); +if (lean_obj_tag(x_293) == 0) +{ +uint8_t x_294; +x_294 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); +if (x_294 == 0) +{ +lean_object* x_295; +lean_dec(x_20); +x_295 = lean_ctor_get(x_290, 1); +lean_inc(x_295); +lean_dec(x_290); +x_251 = x_293; +x_252 = x_295; +goto block_289; +} +else +{ +lean_object* x_296; lean_object* x_297; +x_296 = lean_ctor_get(x_290, 1); +lean_inc(x_296); +lean_dec(x_290); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_3); +x_297 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_293, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_296); +if (lean_obj_tag(x_297) == 0) +{ +lean_object* x_298; lean_object* x_299; +x_298 = lean_ctor_get(x_297, 0); +lean_inc(x_298); +x_299 = lean_ctor_get(x_297, 1); +lean_inc(x_299); +lean_dec(x_297); +x_139 = x_298; +x_140 = x_299; +goto block_250; +} +else +{ +lean_object* x_300; lean_object* x_301; +lean_dec(x_20); +x_300 = lean_ctor_get(x_297, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_297, 1); +lean_inc(x_301); +lean_dec(x_297); +x_251 = x_300; +x_252 = x_301; +goto block_289; +} +} +} +else +{ +uint8_t x_302; +x_302 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); +if (x_302 == 0) +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; +x_303 = lean_ctor_get(x_290, 1); +lean_inc(x_303); +lean_dec(x_290); +x_304 = lean_ctor_get(x_293, 0); +lean_inc(x_304); +x_305 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_306 = lean_nat_dec_eq(x_304, x_305); +if (x_306 == 0) +{ +if (x_4 == 0) +{ +lean_dec(x_304); +lean_dec(x_20); +x_251 = x_293; +x_252 = x_303; +goto block_289; +} +else +{ +lean_object* x_307; uint8_t x_308; +x_307 = l_Lean_Elab_postponeExceptionId; +x_308 = lean_nat_dec_eq(x_304, x_307); +lean_dec(x_304); +if (x_308 == 0) +{ +lean_dec(x_20); +x_251 = x_293; +x_252 = x_303; +goto block_289; +} +else +{ +uint8_t x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +lean_dec(x_293); +x_309 = 0; +lean_inc(x_1); +x_310 = l_Lean_Elab_Term_SavedState_restore(x_1, x_309, x_6, x_7, x_8, x_9, x_10, x_11, x_303); +x_311 = lean_ctor_get(x_310, 1); +lean_inc(x_311); +lean_dec(x_310); +lean_inc(x_8); +lean_inc(x_3); +lean_inc(x_2); +x_312 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_311); +x_313 = lean_ctor_get(x_312, 0); +lean_inc(x_313); +x_314 = lean_ctor_get(x_312, 1); +lean_inc(x_314); +lean_dec(x_312); +x_139 = x_313; +x_140 = x_314; +goto block_250; +} +} +} +else +{ +lean_dec(x_304); +lean_dec(x_20); +x_251 = x_293; +x_252 = x_303; +goto block_289; +} +} +else +{ +lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; +x_315 = lean_ctor_get(x_290, 1); +lean_inc(x_315); +lean_dec(x_290); +x_316 = lean_ctor_get(x_293, 0); +lean_inc(x_316); +x_317 = l_Lean_Elab_abortTermExceptionId; +x_318 = lean_nat_dec_eq(x_316, x_317); +if (x_318 == 0) +{ +lean_object* x_319; uint8_t x_320; +x_319 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_320 = lean_nat_dec_eq(x_316, x_319); +if (x_320 == 0) +{ +if (x_4 == 0) +{ +lean_dec(x_316); +lean_dec(x_20); +x_251 = x_293; +x_252 = x_315; +goto block_289; +} +else +{ +lean_object* x_321; uint8_t x_322; +x_321 = l_Lean_Elab_postponeExceptionId; +x_322 = lean_nat_dec_eq(x_316, x_321); +lean_dec(x_316); +if (x_322 == 0) +{ +lean_dec(x_20); +x_251 = x_293; +x_252 = x_315; +goto block_289; +} +else +{ +uint8_t x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; +lean_dec(x_293); +x_323 = 0; +lean_inc(x_1); +x_324 = l_Lean_Elab_Term_SavedState_restore(x_1, x_323, x_6, x_7, x_8, x_9, x_10, x_11, x_315); +x_325 = lean_ctor_get(x_324, 1); +lean_inc(x_325); +lean_dec(x_324); +lean_inc(x_8); +lean_inc(x_3); +lean_inc(x_2); +x_326 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_325); +x_327 = lean_ctor_get(x_326, 0); +lean_inc(x_327); +x_328 = lean_ctor_get(x_326, 1); +lean_inc(x_328); +lean_dec(x_326); +x_139 = x_327; +x_140 = x_328; +goto block_250; +} +} +} +else +{ +lean_dec(x_316); +lean_dec(x_20); +x_251 = x_293; +x_252 = x_315; +goto block_289; +} +} +else +{ +lean_object* x_329; +lean_dec(x_316); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_3); +x_329 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_293, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_315); +if (lean_obj_tag(x_329) == 0) +{ +lean_object* x_330; lean_object* x_331; +x_330 = lean_ctor_get(x_329, 0); +lean_inc(x_330); +x_331 = lean_ctor_get(x_329, 1); +lean_inc(x_331); +lean_dec(x_329); +x_139 = x_330; +x_140 = x_331; +goto block_250; +} +else +{ +lean_object* x_332; lean_object* x_333; +lean_dec(x_20); +x_332 = lean_ctor_get(x_329, 0); +lean_inc(x_332); +x_333 = lean_ctor_get(x_329, 1); +lean_inc(x_333); +lean_dec(x_329); +x_251 = x_332; +x_252 = x_333; +goto block_289; +} +} +} +} +} +block_250: +{ +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; +x_141 = lean_ctor_get(x_20, 0); +lean_inc(x_141); +lean_dec(x_20); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = lean_box(0); +lean_inc(x_3); +lean_inc(x_139); +lean_inc(x_2); +x_144 = l_Lean_Elab_Term_mkTermInfo(x_142, x_2, x_139, x_3, x_143, x_6, x_7, x_8, x_9, x_10, x_11, x_140); +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +lean_dec(x_144); +x_147 = lean_st_ref_get(x_11, x_146); +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = lean_st_ref_take(x_7, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_150, 5); +lean_inc(x_151); +if (lean_obj_tag(x_145) == 0) +{ +lean_object* x_152; uint8_t x_153; +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +x_153 = !lean_is_exclusive(x_150); +if (x_153 == 0) +{ +lean_object* x_154; uint8_t x_155; +x_154 = lean_ctor_get(x_150, 5); +lean_dec(x_154); +x_155 = !lean_is_exclusive(x_151); +if (x_155 == 0) +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; +x_156 = lean_ctor_get(x_151, 1); +x_157 = lean_ctor_get(x_145, 0); +lean_inc(x_157); +lean_dec(x_145); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_156); +x_159 = l_Std_PersistentArray_push___rarg(x_137, x_158); +lean_ctor_set(x_151, 1, x_159); +x_160 = lean_st_ref_set(x_7, x_150, x_152); +x_161 = !lean_is_exclusive(x_160); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_162 = lean_ctor_get(x_160, 0); +lean_dec(x_162); +x_163 = lean_box(0); +x_164 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_164, 0, x_139); +lean_ctor_set(x_164, 1, x_163); +lean_ctor_set(x_160, 0, x_164); +x_49 = x_160; +goto block_61; +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_165 = lean_ctor_get(x_160, 1); +lean_inc(x_165); +lean_dec(x_160); +x_166 = lean_box(0); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_139); +lean_ctor_set(x_167, 1, x_166); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_165); +x_49 = x_168; +goto block_61; +} +} +else +{ +uint8_t 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_169 = lean_ctor_get_uint8(x_151, sizeof(void*)*2); +x_170 = lean_ctor_get(x_151, 0); +x_171 = lean_ctor_get(x_151, 1); +lean_inc(x_171); +lean_inc(x_170); +lean_dec(x_151); +x_172 = lean_ctor_get(x_145, 0); +lean_inc(x_172); +lean_dec(x_145); +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_Std_PersistentArray_push___rarg(x_137, x_173); +x_175 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_175, 0, x_170); +lean_ctor_set(x_175, 1, x_174); +lean_ctor_set_uint8(x_175, sizeof(void*)*2, x_169); +lean_ctor_set(x_150, 5, x_175); +x_176 = lean_st_ref_set(x_7, x_150, x_152); +x_177 = lean_ctor_get(x_176, 1); +lean_inc(x_177); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_178 = x_176; +} else { + lean_dec_ref(x_176); + x_178 = lean_box(0); +} +x_179 = lean_box(0); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_139); +lean_ctor_set(x_180, 1, x_179); +if (lean_is_scalar(x_178)) { + x_181 = lean_alloc_ctor(0, 2, 0); +} else { + x_181 = x_178; +} +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_177); +x_49 = x_181; +goto block_61; +} +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t 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; +x_182 = lean_ctor_get(x_150, 0); +x_183 = lean_ctor_get(x_150, 1); +x_184 = lean_ctor_get(x_150, 2); +x_185 = lean_ctor_get(x_150, 3); +x_186 = lean_ctor_get(x_150, 4); +lean_inc(x_186); +lean_inc(x_185); +lean_inc(x_184); +lean_inc(x_183); +lean_inc(x_182); +lean_dec(x_150); +x_187 = lean_ctor_get_uint8(x_151, sizeof(void*)*2); +x_188 = lean_ctor_get(x_151, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_151, 1); +lean_inc(x_189); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + x_190 = x_151; +} else { + lean_dec_ref(x_151); + x_190 = lean_box(0); +} +x_191 = lean_ctor_get(x_145, 0); +lean_inc(x_191); +lean_dec(x_145); +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_189); +x_193 = l_Std_PersistentArray_push___rarg(x_137, x_192); +if (lean_is_scalar(x_190)) { + x_194 = lean_alloc_ctor(0, 2, 1); +} else { + x_194 = x_190; +} +lean_ctor_set(x_194, 0, x_188); +lean_ctor_set(x_194, 1, x_193); +lean_ctor_set_uint8(x_194, sizeof(void*)*2, x_187); +x_195 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_195, 0, x_182); +lean_ctor_set(x_195, 1, x_183); +lean_ctor_set(x_195, 2, x_184); +lean_ctor_set(x_195, 3, x_185); +lean_ctor_set(x_195, 4, x_186); +lean_ctor_set(x_195, 5, x_194); +x_196 = lean_st_ref_set(x_7, x_195, x_152); +x_197 = lean_ctor_get(x_196, 1); +lean_inc(x_197); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_198 = x_196; +} else { + lean_dec_ref(x_196); + x_198 = lean_box(0); +} +x_199 = lean_box(0); +x_200 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_200, 0, x_139); +lean_ctor_set(x_200, 1, x_199); +if (lean_is_scalar(x_198)) { + x_201 = lean_alloc_ctor(0, 2, 0); +} else { + x_201 = x_198; +} +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_197); +x_49 = x_201; +goto block_61; +} +} +else +{ +lean_object* x_202; uint8_t x_203; +x_202 = lean_ctor_get(x_149, 1); +lean_inc(x_202); +lean_dec(x_149); +x_203 = !lean_is_exclusive(x_150); +if (x_203 == 0) +{ +lean_object* x_204; uint8_t x_205; +x_204 = lean_ctor_get(x_150, 5); +lean_dec(x_204); +x_205 = !lean_is_exclusive(x_151); +if (x_205 == 0) +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; +x_206 = lean_ctor_get(x_151, 1); +lean_dec(x_206); +x_207 = lean_ctor_get(x_145, 0); +lean_inc(x_207); +lean_dec(x_145); +x_208 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_208, 0, x_207); +x_209 = l_Std_PersistentArray_push___rarg(x_137, x_208); +lean_ctor_set(x_151, 1, x_209); +x_210 = lean_st_ref_set(x_7, x_150, x_202); +x_211 = !lean_is_exclusive(x_210); +if (x_211 == 0) +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; +x_212 = lean_ctor_get(x_210, 0); +lean_dec(x_212); +x_213 = lean_box(0); +x_214 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_214, 0, x_139); +lean_ctor_set(x_214, 1, x_213); +lean_ctor_set(x_210, 0, x_214); +x_49 = x_210; +goto block_61; +} +else +{ +lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_215 = lean_ctor_get(x_210, 1); +lean_inc(x_215); +lean_dec(x_210); +x_216 = lean_box(0); +x_217 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_217, 0, x_139); +lean_ctor_set(x_217, 1, x_216); +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_215); +x_49 = x_218; +goto block_61; +} +} +else +{ +uint8_t 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; +x_219 = lean_ctor_get_uint8(x_151, sizeof(void*)*2); +x_220 = lean_ctor_get(x_151, 0); +lean_inc(x_220); +lean_dec(x_151); +x_221 = lean_ctor_get(x_145, 0); +lean_inc(x_221); +lean_dec(x_145); +x_222 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_222, 0, x_221); +x_223 = l_Std_PersistentArray_push___rarg(x_137, x_222); +x_224 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_224, 0, x_220); +lean_ctor_set(x_224, 1, x_223); +lean_ctor_set_uint8(x_224, sizeof(void*)*2, x_219); +lean_ctor_set(x_150, 5, x_224); +x_225 = lean_st_ref_set(x_7, x_150, x_202); +x_226 = lean_ctor_get(x_225, 1); +lean_inc(x_226); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + x_227 = x_225; +} else { + lean_dec_ref(x_225); + x_227 = lean_box(0); +} +x_228 = lean_box(0); +x_229 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 0, x_139); +lean_ctor_set(x_229, 1, x_228); +if (lean_is_scalar(x_227)) { + x_230 = lean_alloc_ctor(0, 2, 0); +} else { + x_230 = x_227; +} +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_226); +x_49 = x_230; +goto block_61; +} +} +else +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t 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; +x_231 = lean_ctor_get(x_150, 0); +x_232 = lean_ctor_get(x_150, 1); +x_233 = lean_ctor_get(x_150, 2); +x_234 = lean_ctor_get(x_150, 3); +x_235 = lean_ctor_get(x_150, 4); +lean_inc(x_235); +lean_inc(x_234); +lean_inc(x_233); +lean_inc(x_232); +lean_inc(x_231); +lean_dec(x_150); +x_236 = lean_ctor_get_uint8(x_151, sizeof(void*)*2); +x_237 = lean_ctor_get(x_151, 0); +lean_inc(x_237); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + x_238 = x_151; +} else { + lean_dec_ref(x_151); + x_238 = lean_box(0); +} +x_239 = lean_ctor_get(x_145, 0); +lean_inc(x_239); +lean_dec(x_145); +x_240 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_240, 0, x_239); +x_241 = l_Std_PersistentArray_push___rarg(x_137, x_240); +if (lean_is_scalar(x_238)) { + x_242 = lean_alloc_ctor(0, 2, 1); +} else { + x_242 = x_238; +} +lean_ctor_set(x_242, 0, x_237); +lean_ctor_set(x_242, 1, x_241); +lean_ctor_set_uint8(x_242, sizeof(void*)*2, x_236); +x_243 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_243, 0, x_231); +lean_ctor_set(x_243, 1, x_232); +lean_ctor_set(x_243, 2, x_233); +lean_ctor_set(x_243, 3, x_234); +lean_ctor_set(x_243, 4, x_235); +lean_ctor_set(x_243, 5, x_242); +x_244 = lean_st_ref_set(x_7, x_243, x_202); +x_245 = lean_ctor_get(x_244, 1); +lean_inc(x_245); +if (lean_is_exclusive(x_244)) { + lean_ctor_release(x_244, 0); + lean_ctor_release(x_244, 1); + x_246 = x_244; +} else { + lean_dec_ref(x_244); + x_246 = lean_box(0); +} +x_247 = lean_box(0); +x_248 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_248, 0, x_139); +lean_ctor_set(x_248, 1, x_247); +if (lean_is_scalar(x_246)) { + x_249 = lean_alloc_ctor(0, 2, 0); +} else { + x_249 = x_246; +} +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_245); +x_49 = x_249; +goto block_61; +} +} +} +block_289: +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; +x_253 = lean_st_ref_get(x_11, x_252); +x_254 = lean_ctor_get(x_253, 1); +lean_inc(x_254); +lean_dec(x_253); +x_255 = lean_st_ref_take(x_7, x_254); +x_256 = lean_ctor_get(x_255, 0); +lean_inc(x_256); +x_257 = lean_ctor_get(x_256, 5); +lean_inc(x_257); +x_258 = lean_ctor_get(x_255, 1); +lean_inc(x_258); +lean_dec(x_255); +x_259 = !lean_is_exclusive(x_256); +if (x_259 == 0) +{ +lean_object* x_260; uint8_t x_261; +x_260 = lean_ctor_get(x_256, 5); +lean_dec(x_260); +x_261 = !lean_is_exclusive(x_257); +if (x_261 == 0) +{ +lean_object* x_262; lean_object* x_263; uint8_t x_264; +x_262 = lean_ctor_get(x_257, 1); +lean_dec(x_262); +lean_ctor_set(x_257, 1, x_137); +x_263 = lean_st_ref_set(x_7, x_256, x_258); +x_264 = !lean_is_exclusive(x_263); +if (x_264 == 0) +{ +lean_object* x_265; +x_265 = lean_ctor_get(x_263, 0); +lean_dec(x_265); +lean_ctor_set_tag(x_263, 1); +lean_ctor_set(x_263, 0, x_251); +x_49 = x_263; +goto block_61; +} +else +{ +lean_object* x_266; lean_object* x_267; +x_266 = lean_ctor_get(x_263, 1); +lean_inc(x_266); +lean_dec(x_263); +x_267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_267, 0, x_251); +lean_ctor_set(x_267, 1, x_266); +x_49 = x_267; +goto block_61; +} +} +else +{ +uint8_t 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; +x_268 = lean_ctor_get_uint8(x_257, sizeof(void*)*2); +x_269 = lean_ctor_get(x_257, 0); +lean_inc(x_269); +lean_dec(x_257); +x_270 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_137); +lean_ctor_set_uint8(x_270, sizeof(void*)*2, x_268); +lean_ctor_set(x_256, 5, x_270); +x_271 = lean_st_ref_set(x_7, x_256, x_258); +x_272 = lean_ctor_get(x_271, 1); +lean_inc(x_272); +if (lean_is_exclusive(x_271)) { + lean_ctor_release(x_271, 0); + lean_ctor_release(x_271, 1); + x_273 = x_271; +} else { + lean_dec_ref(x_271); + 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_tag(x_274, 1); +} +lean_ctor_set(x_274, 0, x_251); +lean_ctor_set(x_274, 1, x_272); +x_49 = x_274; +goto block_61; +} +} +else +{ +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; uint8_t 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; +x_275 = lean_ctor_get(x_256, 0); +x_276 = lean_ctor_get(x_256, 1); +x_277 = lean_ctor_get(x_256, 2); +x_278 = lean_ctor_get(x_256, 3); +x_279 = lean_ctor_get(x_256, 4); +lean_inc(x_279); +lean_inc(x_278); +lean_inc(x_277); +lean_inc(x_276); +lean_inc(x_275); +lean_dec(x_256); +x_280 = lean_ctor_get_uint8(x_257, sizeof(void*)*2); +x_281 = lean_ctor_get(x_257, 0); +lean_inc(x_281); +if (lean_is_exclusive(x_257)) { + lean_ctor_release(x_257, 0); + lean_ctor_release(x_257, 1); + x_282 = x_257; +} else { + lean_dec_ref(x_257); + x_282 = lean_box(0); +} +if (lean_is_scalar(x_282)) { + x_283 = lean_alloc_ctor(0, 2, 1); +} else { + x_283 = x_282; +} +lean_ctor_set(x_283, 0, x_281); +lean_ctor_set(x_283, 1, x_137); +lean_ctor_set_uint8(x_283, sizeof(void*)*2, x_280); +x_284 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_284, 0, x_275); +lean_ctor_set(x_284, 1, x_276); +lean_ctor_set(x_284, 2, x_277); +lean_ctor_set(x_284, 3, x_278); +lean_ctor_set(x_284, 4, x_279); +lean_ctor_set(x_284, 5, x_283); +x_285 = lean_st_ref_set(x_7, x_284, x_258); +x_286 = lean_ctor_get(x_285, 1); +lean_inc(x_286); +if (lean_is_exclusive(x_285)) { + lean_ctor_release(x_285, 0); + lean_ctor_release(x_285, 1); + x_287 = x_285; +} else { + lean_dec_ref(x_285); + x_287 = lean_box(0); +} +if (lean_is_scalar(x_287)) { + x_288 = lean_alloc_ctor(1, 2, 0); +} else { + x_288 = x_287; + lean_ctor_set_tag(x_288, 1); +} +lean_ctor_set(x_288, 0, x_251); +lean_ctor_set(x_288, 1, x_286); +x_49 = x_288; +goto block_61; +} +} +} +block_48: +{ if (lean_obj_tag(x_23) == 0) { -uint8_t x_24; lean_dec(x_21); -lean_dec(x_2); -lean_dec(x_1); -x_24 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -if (x_24 == 0) -{ -uint8_t x_25; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -23578,60 +25604,66 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_25 = !lean_is_exclusive(x_22); +lean_dec(x_2); +lean_dec(x_1); +return x_23; +} +else +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_23); if (x_25 == 0) { lean_object* x_26; -x_26 = lean_ctor_get(x_22, 0); +x_26 = lean_ctor_get(x_23, 0); lean_dec(x_26); -return x_22; +return x_23; } else { lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_22, 1); +x_27 = lean_ctor_get(x_23, 1); lean_inc(x_27); -lean_dec(x_22); +lean_dec(x_23); x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_23); +lean_ctor_set(x_28, 0, x_24); lean_ctor_set(x_28, 1, x_27); return x_28; } } else { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_22, 1); -lean_inc(x_29); -lean_dec(x_22); -x_30 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_23, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_29); -return x_30; -} -} -else +uint8_t x_29; +x_29 = !lean_is_exclusive(x_23); +if (x_29 == 0) { -uint8_t x_31; -x_31 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -if (x_31 == 0) -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_22); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_33 = lean_ctor_get(x_22, 1); -x_34 = lean_ctor_get(x_22, 0); -lean_dec(x_34); -x_35 = lean_ctor_get(x_23, 0); -lean_inc(x_35); -x_36 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_37 = lean_nat_dec_eq(x_35, x_36); -if (x_37 == 0) +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_30 = lean_ctor_get(x_23, 1); +x_31 = lean_ctor_get(x_23, 0); +lean_dec(x_31); +x_32 = lean_ctor_get(x_24, 0); +lean_inc(x_32); +x_33 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_34 = lean_nat_dec_eq(x_32, x_33); +lean_dec(x_32); +if (x_34 == 0) { lean_dec(x_21); -if (x_4 == 0) -{ -lean_dec(x_35); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -23641,56 +25673,60 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_22; +return x_23; } else { -lean_object* x_38; uint8_t x_39; -x_38 = l_Lean_Elab_postponeExceptionId; -x_39 = lean_nat_dec_eq(x_35, x_38); -lean_dec(x_35); -if (x_39 == 0) -{ -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_22; +uint8_t x_35; lean_object* x_36; lean_object* x_37; +lean_free_object(x_23); +lean_dec(x_24); +x_35 = 0; +lean_inc(x_1); +x_36 = l_Lean_Elab_Term_SavedState_restore(x_1, x_35, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_5 = x_21; +x_12 = x_37; +goto _start; +} } else { -uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -lean_free_object(x_22); +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_23, 1); +lean_inc(x_39); lean_dec(x_23); -x_40 = 0; -x_41 = l_Lean_Elab_Term_SavedState_restore(x_1, x_40, x_6, x_7, x_8, x_9, x_10, x_11, x_33); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_42); +x_40 = lean_ctor_get(x_24, 0); +lean_inc(x_40); +x_41 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_42 = lean_nat_dec_eq(x_40, x_41); +lean_dec(x_40); +if (x_42 == 0) +{ +lean_object* x_43; +lean_dec(x_21); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_24); +lean_ctor_set(x_43, 1, x_39); return x_43; } -} -} else { uint8_t x_44; lean_object* x_45; lean_object* x_46; -lean_dec(x_35); -lean_free_object(x_22); -lean_dec(x_23); +lean_dec(x_24); x_44 = 0; lean_inc(x_1); -x_45 = l_Lean_Elab_Term_SavedState_restore(x_1, x_44, x_6, x_7, x_8, x_9, x_10, x_11, x_33); +x_45 = l_Lean_Elab_Term_SavedState_restore(x_1, x_44, x_6, x_7, x_8, x_9, x_10, x_11, x_39); x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); lean_dec(x_45); @@ -23699,305 +25735,66 @@ x_12 = x_46; goto _start; } } -else +} +} +} +block_61: { -lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_48 = lean_ctor_get(x_22, 1); -lean_inc(x_48); -lean_dec(x_22); -x_49 = lean_ctor_get(x_23, 0); -lean_inc(x_49); -x_50 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_51 = lean_nat_dec_eq(x_49, x_50); -if (x_51 == 0) +if (lean_obj_tag(x_49) == 0) { -lean_dec(x_21); -if (x_4 == 0) +uint8_t x_50; +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) { -lean_object* x_52; -lean_dec(x_49); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_23); -lean_ctor_set(x_52, 1, x_48); -return x_52; +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_49, 0); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_52); +x_23 = x_49; +goto block_48; } else { -lean_object* x_53; uint8_t x_54; -x_53 = l_Lean_Elab_postponeExceptionId; -x_54 = lean_nat_dec_eq(x_49, x_53); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = lean_ctor_get(x_49, 0); +x_54 = lean_ctor_get(x_49, 1); +lean_inc(x_54); +lean_inc(x_53); lean_dec(x_49); -if (x_54 == 0) -{ -lean_object* x_55; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_23); -lean_ctor_set(x_55, 1, x_48); -return x_55; +x_55 = lean_ctor_get(x_53, 0); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_23 = x_56; +goto block_48; +} } else { -uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_23); -x_56 = 0; -x_57 = l_Lean_Elab_Term_SavedState_restore(x_1, x_56, x_6, x_7, x_8, x_9, x_10, x_11, x_48); -x_58 = lean_ctor_get(x_57, 1); +uint8_t x_57; +x_57 = !lean_is_exclusive(x_49); +if (x_57 == 0) +{ +x_23 = x_49; +goto block_48; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_49, 0); +x_59 = lean_ctor_get(x_49, 1); +lean_inc(x_59); lean_inc(x_58); -lean_dec(x_57); -x_59 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_58); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -return x_59; -} -} -} -else -{ -uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_dec(x_49); -lean_dec(x_23); -x_60 = 0; -lean_inc(x_1); -x_61 = l_Lean_Elab_Term_SavedState_restore(x_1, x_60, x_6, x_7, x_8, x_9, x_10, x_11, x_48); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_5 = x_21; -x_12 = x_62; -goto _start; -} -} -} -else -{ -uint8_t x_64; -x_64 = !lean_is_exclusive(x_22); -if (x_64 == 0) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_65 = lean_ctor_get(x_22, 1); -x_66 = lean_ctor_get(x_22, 0); -lean_dec(x_66); -x_67 = lean_ctor_get(x_23, 0); -lean_inc(x_67); -x_68 = l_Lean_Elab_abortTermExceptionId; -x_69 = lean_nat_dec_eq(x_67, x_68); -if (x_69 == 0) -{ -lean_object* x_70; uint8_t x_71; -x_70 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_71 = lean_nat_dec_eq(x_67, x_70); -if (x_71 == 0) -{ -lean_dec(x_21); -if (x_4 == 0) -{ -lean_dec(x_67); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_22; -} -else -{ -lean_object* x_72; uint8_t x_73; -x_72 = l_Lean_Elab_postponeExceptionId; -x_73 = lean_nat_dec_eq(x_67, x_72); -lean_dec(x_67); -if (x_73 == 0) -{ -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_22; -} -else -{ -uint8_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -lean_free_object(x_22); -lean_dec(x_23); -x_74 = 0; -x_75 = l_Lean_Elab_Term_SavedState_restore(x_1, x_74, x_6, x_7, x_8, x_9, x_10, x_11, x_65); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_77 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_76); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -return x_77; -} -} -} -else -{ -uint8_t x_78; lean_object* x_79; lean_object* x_80; -lean_dec(x_67); -lean_free_object(x_22); -lean_dec(x_23); -x_78 = 0; -lean_inc(x_1); -x_79 = l_Lean_Elab_Term_SavedState_restore(x_1, x_78, x_6, x_7, x_8, x_9, x_10, x_11, x_65); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_5 = x_21; -x_12 = x_80; -goto _start; -} -} -else -{ -lean_object* x_82; -lean_dec(x_67); -lean_free_object(x_22); -lean_dec(x_21); -lean_dec(x_2); -lean_dec(x_1); -x_82 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_23, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_65); -return x_82; -} -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_83 = lean_ctor_get(x_22, 1); -lean_inc(x_83); -lean_dec(x_22); -x_84 = lean_ctor_get(x_23, 0); -lean_inc(x_84); -x_85 = l_Lean_Elab_abortTermExceptionId; -x_86 = lean_nat_dec_eq(x_84, x_85); -if (x_86 == 0) -{ -lean_object* x_87; uint8_t x_88; -x_87 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_88 = lean_nat_dec_eq(x_84, x_87); -if (x_88 == 0) -{ -lean_dec(x_21); -if (x_4 == 0) -{ -lean_object* x_89; -lean_dec(x_84); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_23); -lean_ctor_set(x_89, 1, x_83); -return x_89; -} -else -{ -lean_object* x_90; uint8_t x_91; -x_90 = l_Lean_Elab_postponeExceptionId; -x_91 = lean_nat_dec_eq(x_84, x_90); -lean_dec(x_84); -if (x_91 == 0) -{ -lean_object* x_92; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_23); -lean_ctor_set(x_92, 1, x_83); -return x_92; -} -else -{ -uint8_t x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -lean_dec(x_23); -x_93 = 0; -x_94 = l_Lean_Elab_Term_SavedState_restore(x_1, x_93, x_6, x_7, x_8, x_9, x_10, x_11, x_83); -x_95 = lean_ctor_get(x_94, 1); -lean_inc(x_95); -lean_dec(x_94); -x_96 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_95); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -return x_96; -} -} -} -else -{ -uint8_t x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_84); -lean_dec(x_23); -x_97 = 0; -lean_inc(x_1); -x_98 = l_Lean_Elab_Term_SavedState_restore(x_1, x_97, x_6, x_7, x_8, x_9, x_10, x_11, x_83); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -lean_dec(x_98); -x_5 = x_21; -x_12 = x_99; -goto _start; -} -} -else -{ -lean_object* x_101; -lean_dec(x_84); -lean_dec(x_21); -lean_dec(x_2); -lean_dec(x_1); -x_101 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry(x_23, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_83); -return x_101; -} -} +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_23 = x_60; +goto block_48; } } } @@ -24098,7 +25895,7 @@ x_18 = lean_ctor_get(x_16, 0); lean_inc(x_18); lean_dec(x_16); x_19 = l_Lean_Elab_Term_termElabAttribute; -x_20 = l_Lean_KeyedDeclsAttribute_getValues___rarg(x_19, x_18, x_14); +x_20 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_19, x_18, x_14); lean_dec(x_18); if (lean_obj_tag(x_20) == 0) { @@ -26686,13 +28483,18 @@ return x_4; } else { -lean_object* x_5; lean_object* x_6; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_dec(x_3); x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_apply_2(x_2, x_6, x_7); +return x_8; } } } @@ -27306,7 +29108,606 @@ return x_168; } } } -lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +lean_dec(x_1); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec(x_11); +x_15 = lean_st_ref_get(x_7, x_8); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 3); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_14); +lean_dec(x_13); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_dec(x_15); +x_1 = x_12; +x_8 = x_19; +goto _start; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_21 = lean_ctor_get(x_15, 1); +lean_inc(x_21); +lean_dec(x_15); +lean_inc(x_13); +x_22 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_21); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_unbox(x_23); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; +lean_dec(x_14); +lean_dec(x_13); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_1 = x_12; +x_8 = x_25; +goto _start; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_ctor_get(x_22, 1); +lean_inc(x_27); +lean_dec(x_22); +x_28 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_28, 0, x_14); +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_13, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_27); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_1 = x_12; +x_8 = x_31; +goto _start; +} +} +} +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(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) { +_start: +{ +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; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 3); +x_10 = lean_ctor_get(x_2, 3); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(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) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 3); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 3, x_12); +x_13 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_7); +return x_13; +} +else +{ +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_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +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_inc(x_14); +lean_dec(x_7); +x_22 = l_Lean_replaceRef(x_1, x_17); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_15); +lean_ctor_set(x_23, 2, x_16); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set(x_23, 4, x_18); +lean_ctor_set(x_23, 5, x_19); +lean_ctor_set(x_23, 6, x_20); +lean_ctor_set(x_23, 7, x_21); +x_24 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); +lean_dec(x_23); +return x_24; +} +} +} +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; +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_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg), 1, 0); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__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; lean_object* x_7; +x_5 = l_Lean_Environment_contains(x_1, x_2); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__4(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; +x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 5); +lean_inc(x_14); +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__1___boxed), 4, 1); +lean_closure_set(x_15, 0, x_12); +lean_inc(x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_13); +lean_inc(x_12); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__2___boxed), 4, 1); +lean_closure_set(x_17, 0, x_12); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__3___boxed), 6, 3); +lean_closure_set(x_18, 0, x_12); +lean_closure_set(x_18, 1, x_13); +lean_closure_set(x_18, 2, x_14); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__4___boxed), 6, 3); +lean_closure_set(x_19, 0, x_12); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_14); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = x_20; +x_22 = lean_ctor_get(x_6, 3); +lean_inc(x_22); +x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_6, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_6, 2); +lean_inc(x_27); +x_28 = lean_st_ref_get(x_7, x_25); +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_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_environment_main_module(x_12); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_24); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_27); +lean_ctor_set(x_33, 5, x_22); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_2(x_1, x_33, x_35); +if (lean_obj_tag(x_36) == 0) +{ +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_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_st_ref_take(x_7, x_30); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_41, 1); +lean_dec(x_44); +lean_ctor_set(x_41, 1, x_39); +x_45 = lean_st_ref_set(x_7, x_41, x_42); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_ctor_get(x_38, 1); +lean_inc(x_47); +lean_dec(x_38); +x_48 = l_List_reverse___rarg(x_47); +x_49 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_6); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_37); +return x_49; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_37); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +else +{ +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; +x_54 = lean_ctor_get(x_41, 0); +x_55 = lean_ctor_get(x_41, 2); +x_56 = lean_ctor_get(x_41, 3); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_41); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_39); +lean_ctor_set(x_57, 2, x_55); +lean_ctor_set(x_57, 3, x_56); +x_58 = lean_st_ref_set(x_7, x_57, x_42); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get(x_38, 1); +lean_inc(x_60); +lean_dec(x_38); +x_61 = l_List_reverse___rarg(x_60); +x_62 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_59); +lean_dec(x_6); +lean_dec(x_2); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_37); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_36, 0); +lean_inc(x_66); +lean_dec(x_36); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_67, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +lean_dec(x_67); +return x_71; +} +else +{ +lean_object* x_72; +lean_dec(x_6); +lean_dec(x_2); +x_72 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_30); +return x_72; +} +} +} +} +lean_object* l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(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) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -27723,229 +30124,6 @@ return x_127; } } } -lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_box(0); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_8); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_11 = lean_ctor_get(x_1, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_1, 1); -lean_inc(x_12); -lean_dec(x_1); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_dec(x_11); -x_15 = lean_st_ref_get(x_7, x_8); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -lean_dec(x_17); -if (x_18 == 0) -{ -lean_object* x_19; -lean_dec(x_14); -lean_dec(x_13); -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_1 = x_12; -x_8 = x_19; -goto _start; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_21 = lean_ctor_get(x_15, 1); -lean_inc(x_21); -lean_dec(x_15); -lean_inc(x_13); -x_22 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_unbox(x_23); -lean_dec(x_23); -if (x_24 == 0) -{ -lean_object* x_25; -lean_dec(x_14); -lean_dec(x_13); -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -lean_dec(x_22); -x_1 = x_12; -x_8 = x_25; -goto _start; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_22, 1); -lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_28, 0, x_14); -x_29 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_29, 0, x_28); -x_30 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_13, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_27); -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec(x_30); -x_1 = x_12; -x_8 = x_31; -goto _start; -} -} -} -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(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) { -_start: -{ -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; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 3); -x_10 = lean_ctor_get(x_2, 3); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -lean_dec(x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(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) { -_start: -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_7, 3); -x_12 = l_Lean_replaceRef(x_1, x_11); -lean_dec(x_11); -lean_ctor_set(x_7, 3, x_12); -x_13 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -return x_13; -} -else -{ -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_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -x_16 = lean_ctor_get(x_7, 2); -x_17 = lean_ctor_get(x_7, 3); -x_18 = lean_ctor_get(x_7, 4); -x_19 = lean_ctor_get(x_7, 5); -x_20 = lean_ctor_get(x_7, 6); -x_21 = lean_ctor_get(x_7, 7); -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_inc(x_14); -lean_dec(x_7); -x_22 = l_Lean_replaceRef(x_1, x_17); -lean_dec(x_17); -x_23 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_23, 1, x_15); -lean_ctor_set(x_23, 2, x_16); -lean_ctor_set(x_23, 3, x_22); -lean_ctor_set(x_23, 4, x_18); -lean_ctor_set(x_23, 5, x_19); -lean_ctor_set(x_23, 6, x_20); -lean_ctor_set(x_23, 7, x_21); -x_24 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9); -lean_dec(x_23); -return x_24; -} -} -} -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; -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_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6(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 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg), 1, 0); -return x_7; -} -} lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t 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) { _start: { @@ -28124,41 +30302,7 @@ return x_58; } } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(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; lean_object* x_7; -x_5 = l_Lean_Environment_contains(x_1, x_2); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(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; -x_7 = l_Lean_ResolveName_resolveNamespace_x3f(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5(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; -x_7 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -28166,7 +30310,7 @@ x_1 = lean_mk_string("elaborator"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2() { _start: { lean_object* x_1; @@ -28174,16 +30318,16 @@ x_1 = lean_mk_string("expected type: "); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__2; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4() { _start: { lean_object* x_1; @@ -28191,20 +30335,20 @@ x_1 = lean_mk_string(", term\n"); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__5() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__4; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__6() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__3; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__7; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28212,2200 +30356,3164 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__7() { +static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__6; -x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__5; +x_1 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6; +x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t 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* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t 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) { _start: { -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_1, x_15); -x_17 = !lean_is_exclusive(x_12); -if (x_17 == 0) +lean_object* x_15; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_1, x_28); +x_30 = !lean_is_exclusive(x_12); +if (x_30 == 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; uint8_t x_376; lean_object* x_377; lean_object* x_397; lean_object* x_398; lean_object* x_399; uint8_t x_400; -x_18 = lean_ctor_get(x_12, 2); -x_19 = lean_ctor_get(x_12, 3); -x_20 = lean_ctor_get(x_12, 4); -x_21 = lean_ctor_get(x_12, 5); -x_22 = lean_ctor_get(x_12, 1); -lean_dec(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_16); -lean_ctor_set(x_12, 1, x_16); -x_397 = lean_st_ref_get(x_13, x_14); -x_398 = lean_ctor_get(x_397, 0); -lean_inc(x_398); -x_399 = lean_ctor_get(x_398, 3); -lean_inc(x_399); -lean_dec(x_398); -x_400 = lean_ctor_get_uint8(x_399, sizeof(void*)*1); -lean_dec(x_399); -if (x_400 == 0) -{ -lean_object* x_401; uint8_t x_402; -x_401 = lean_ctor_get(x_397, 1); -lean_inc(x_401); -lean_dec(x_397); -x_402 = 0; -x_376 = x_402; -x_377 = x_401; -goto block_396; -} -else -{ -lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; uint8_t x_407; -x_403 = lean_ctor_get(x_397, 1); -lean_inc(x_403); -lean_dec(x_397); -lean_inc(x_6); -x_404 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_403); -x_405 = lean_ctor_get(x_404, 0); -lean_inc(x_405); -x_406 = lean_ctor_get(x_404, 1); -lean_inc(x_406); -lean_dec(x_404); -x_407 = lean_unbox(x_405); -lean_dec(x_405); -x_376 = x_407; -x_377 = x_406; -goto block_396; -} -block_375: -{ -lean_object* x_24; lean_object* x_25; -x_24 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1; -x_25 = l_Lean_Core_checkMaxHeartbeats(x_24, x_12, x_13, x_23); -if (lean_obj_tag(x_25) == 0) -{ -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; uint8_t x_36; -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_st_ref_get(x_13, x_26); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_ctor_get(x_28, 3); -lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_st_ref_take(x_13, x_29); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_33, 3); -lean_inc(x_34); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_771; lean_object* x_772; lean_object* x_792; lean_object* x_793; lean_object* x_794; uint8_t x_795; +x_31 = lean_ctor_get(x_12, 3); +x_32 = lean_ctor_get(x_12, 1); lean_dec(x_32); -x_36 = !lean_is_exclusive(x_33); -if (x_36 == 0) +lean_inc(x_31); +lean_ctor_set(x_12, 1, x_29); +x_792 = lean_st_ref_get(x_13, x_14); +x_793 = lean_ctor_get(x_792, 0); +lean_inc(x_793); +x_794 = lean_ctor_get(x_793, 3); +lean_inc(x_794); +lean_dec(x_793); +x_795 = lean_ctor_get_uint8(x_794, sizeof(void*)*1); +lean_dec(x_794); +if (x_795 == 0) { -lean_object* x_37; uint8_t x_38; -x_37 = lean_ctor_get(x_33, 3); +lean_object* x_796; uint8_t x_797; +x_796 = lean_ctor_get(x_792, 1); +lean_inc(x_796); +lean_dec(x_792); +x_797 = 0; +x_771 = x_797; +x_772 = x_796; +goto block_791; +} +else +{ +lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; uint8_t x_802; +x_798 = lean_ctor_get(x_792, 1); +lean_inc(x_798); +lean_dec(x_792); +lean_inc(x_6); +x_799 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_798); +x_800 = lean_ctor_get(x_799, 0); +lean_inc(x_800); +x_801 = lean_ctor_get(x_799, 1); +lean_inc(x_801); +lean_dec(x_799); +x_802 = lean_unbox(x_800); +lean_dec(x_800); +x_771 = x_802; +x_772 = x_801; +goto block_791; +} +block_770: +{ +lean_object* x_34; lean_object* x_35; +x_34 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1; +x_35 = l_Lean_Core_checkMaxHeartbeats(x_34, x_12, x_13, x_33); +if (lean_obj_tag(x_35) == 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; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_st_ref_get(x_13, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); lean_dec(x_37); -x_38 = !lean_is_exclusive(x_34); -if (x_38 == 0) +x_40 = lean_ctor_get(x_38, 3); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +lean_dec(x_40); +x_42 = lean_st_ref_take(x_13, x_39); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_43, 3); +lean_inc(x_44); +x_45 = lean_ctor_get(x_42, 1); +lean_inc(x_45); +lean_dec(x_42); +x_46 = !lean_is_exclusive(x_43); +if (x_46 == 0) { -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_60; lean_object* x_61; lean_object* x_81; lean_object* x_82; 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; -x_39 = lean_ctor_get(x_34, 0); -lean_dec(x_39); -x_40 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; -lean_ctor_set(x_34, 0, x_40); -x_41 = lean_st_ref_set(x_13, x_33, x_35); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_43 = x_41; -} else { - lean_dec_ref(x_41); - x_43 = lean_box(0); -} -x_90 = lean_st_ref_get(x_13, x_42); -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_ctor_get(x_91, 0); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_st_ref_get(x_13, x_92); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_ctor_get(x_95, 0); -lean_inc(x_97); -lean_dec(x_95); -lean_inc(x_97); -x_98 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_98, 0, x_97); -lean_inc(x_20); -x_99 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_99, 0, x_20); -lean_inc(x_97); -x_100 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed), 4, 1); -lean_closure_set(x_100, 0, x_97); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_97); -x_101 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___boxed), 6, 3); -lean_closure_set(x_101, 0, x_97); -lean_closure_set(x_101, 1, x_20); -lean_closure_set(x_101, 2, x_21); -lean_inc(x_97); -x_102 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___boxed), 6, 3); -lean_closure_set(x_102, 0, x_97); -lean_closure_set(x_102, 1, x_20); -lean_closure_set(x_102, 2, x_21); -x_103 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_103, 0, x_98); -lean_ctor_set(x_103, 1, x_99); -lean_ctor_set(x_103, 2, x_100); -lean_ctor_set(x_103, 3, x_101); -lean_ctor_set(x_103, 4, x_102); -x_104 = x_103; -x_105 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_96); -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = lean_st_ref_get(x_13, x_107); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec(x_108); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_112 = lean_environment_main_module(x_97); -lean_inc(x_19); -x_113 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_113, 0, x_104); -lean_ctor_set(x_113, 1, x_112); -lean_ctor_set(x_113, 2, x_106); -lean_ctor_set(x_113, 3, x_16); -lean_ctor_set(x_113, 4, x_18); -lean_ctor_set(x_113, 5, x_19); -x_114 = lean_box(0); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_111); -lean_ctor_set(x_115, 1, x_114); +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_43, 3); +lean_dec(x_47); +x_48 = !lean_is_exclusive(x_44); +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_61; lean_object* x_62; lean_object* x_69; lean_object* x_88; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_49 = lean_ctor_get(x_44, 0); +lean_dec(x_49); +x_50 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; +lean_ctor_set(x_44, 0, x_50); +x_51 = lean_st_ref_set(x_13, x_43, x_45); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_101 = lean_st_ref_get(x_13, x_52); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +x_104 = lean_ctor_get(x_102, 0); +lean_inc(x_104); +lean_dec(x_102); lean_inc(x_2); -x_116 = l_Lean_Elab_getMacros(x_93, x_2, x_113, x_115); -lean_dec(x_93); -if (lean_obj_tag(x_116) == 0) -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; -lean_dec(x_43); -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); -lean_inc(x_118); -lean_dec(x_116); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_st_ref_take(x_13, x_110); -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -lean_dec(x_120); -x_123 = !lean_is_exclusive(x_121); -if (x_123 == 0) -{ -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; -x_124 = lean_ctor_get(x_121, 1); -lean_dec(x_124); -lean_ctor_set(x_121, 1, x_119); -x_125 = lean_st_ref_set(x_13, x_121, x_122); -x_126 = lean_ctor_get(x_125, 1); -lean_inc(x_126); -lean_dec(x_125); -x_127 = lean_ctor_get(x_118, 1); -lean_inc(x_127); -lean_dec(x_118); -x_128 = l_List_reverse___rarg(x_127); -x_129 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_128, x_8, x_9, x_10, x_11, x_12, x_13, x_126); -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -lean_dec(x_129); -x_131 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_131, 0, x_117); -x_60 = x_131; -x_61 = x_130; -goto block_80; -} -else -{ -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; -x_132 = lean_ctor_get(x_121, 0); -x_133 = lean_ctor_get(x_121, 2); -x_134 = lean_ctor_get(x_121, 3); -lean_inc(x_134); -lean_inc(x_133); -lean_inc(x_132); -lean_dec(x_121); -x_135 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_135, 0, x_132); -lean_ctor_set(x_135, 1, x_119); -lean_ctor_set(x_135, 2, x_133); -lean_ctor_set(x_135, 3, x_134); -x_136 = lean_st_ref_set(x_13, x_135, x_122); -x_137 = lean_ctor_get(x_136, 1); -lean_inc(x_137); -lean_dec(x_136); -x_138 = lean_ctor_get(x_118, 1); -lean_inc(x_138); -lean_dec(x_118); -x_139 = l_List_reverse___rarg(x_138); -x_140 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_139, x_8, x_9, x_10, x_11, x_12, x_13, x_137); -x_141 = lean_ctor_get(x_140, 1); -lean_inc(x_141); -lean_dec(x_140); -x_142 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_142, 0, x_117); -x_60 = x_142; -x_61 = x_141; -goto block_80; -} -} -else -{ -lean_object* x_143; -x_143 = lean_ctor_get(x_116, 0); -lean_inc(x_143); -lean_dec(x_116); -if (lean_obj_tag(x_143) == 0) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_143, 1); -lean_inc(x_145); -lean_dec(x_143); -x_146 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_146, 0, x_145); -x_147 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_147, 0, x_146); +x_105 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); +lean_closure_set(x_105, 0, x_104); +lean_closure_set(x_105, 1, x_2); lean_inc(x_12); lean_inc(x_8); -x_148 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_144, x_147, x_8, x_9, x_10, x_11, x_12, x_13, x_110); -lean_dec(x_144); -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); -lean_inc(x_150); -lean_dec(x_148); -x_81 = x_149; -x_82 = x_150; -goto block_89; +x_106 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_105, x_8, x_9, x_10, x_11, x_12, x_13, x_103); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +if (lean_obj_tag(x_107) == 0) +{ +if (x_5 == 0) +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = lean_box(0); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_110 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_109, x_8, x_9, x_10, x_11, x_12, x_13, x_108); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_53 = x_111; +x_54 = x_112; +goto block_60; } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_151 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_110); +lean_object* x_113; lean_object* x_114; +x_113 = lean_ctor_get(x_110, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_110, 1); +lean_inc(x_114); +lean_dec(x_110); +x_61 = x_113; +x_62 = x_114; +goto block_68; +} +} +else +{ +uint8_t x_115; +x_115 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_106, 1); +lean_inc(x_116); +lean_dec(x_106); +x_117 = lean_box(0); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_118 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_117, x_8, x_9, x_10, x_11, x_12, x_13, x_116); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; lean_object* x_120; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); +lean_dec(x_118); +x_53 = x_119; +x_54 = x_120; +goto block_60; +} +else +{ +lean_object* x_121; lean_object* x_122; +x_121 = lean_ctor_get(x_118, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_118, 1); +lean_inc(x_122); +lean_dec(x_118); +x_61 = x_121; +x_62 = x_122; +goto block_68; +} +} +else +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_106, 1); +lean_inc(x_123); +lean_dec(x_106); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_3); +lean_inc(x_2); +x_124 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_123); +if (lean_obj_tag(x_124) == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_127 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_125, x_8, x_9, x_10, x_11, x_12, x_13, x_126); +if (lean_obj_tag(x_127) == 0) +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +lean_dec(x_127); +x_53 = x_128; +x_54 = x_129; +goto block_60; +} +else +{ +lean_object* x_130; lean_object* x_131; +x_130 = lean_ctor_get(x_127, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_127, 1); +lean_inc(x_131); +lean_dec(x_127); +x_61 = x_130; +x_62 = x_131; +goto block_68; +} +} +else +{ +lean_object* x_132; lean_object* x_133; +lean_dec(x_3); +lean_dec(x_2); +x_132 = lean_ctor_get(x_124, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_124, 1); +lean_inc(x_133); +lean_dec(x_124); +x_61 = x_132; +x_62 = x_133; +goto block_68; +} +} +} +} +else +{ +lean_object* x_134; lean_object* x_135; uint8_t x_136; +x_134 = lean_ctor_get(x_107, 0); +lean_inc(x_134); +lean_dec(x_107); +x_135 = lean_ctor_get(x_106, 1); +lean_inc(x_135); +lean_dec(x_106); +x_136 = !lean_is_exclusive(x_134); +if (x_136 == 0) +{ +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; uint8_t x_144; +x_137 = lean_ctor_get(x_134, 0); +x_138 = lean_ctor_get(x_134, 1); +x_139 = lean_st_ref_get(x_13, x_135); +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +lean_dec(x_139); +x_141 = lean_st_ref_get(x_9, x_140); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_142, 5); +lean_inc(x_143); +lean_dec(x_142); +x_144 = lean_ctor_get_uint8(x_143, sizeof(void*)*2); +lean_dec(x_143); +if (x_144 == 0) +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +lean_free_object(x_134); +lean_dec(x_137); +x_145 = lean_ctor_get(x_141, 1); +lean_inc(x_145); +lean_dec(x_141); +x_146 = lean_box(x_4); +x_147 = lean_box(x_5); +lean_inc(x_138); +lean_inc(x_2); +x_148 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); +lean_closure_set(x_148, 0, x_2); +lean_closure_set(x_148, 1, x_138); +lean_closure_set(x_148, 2, x_3); +lean_closure_set(x_148, 3, x_146); +lean_closure_set(x_148, 4, x_147); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_149 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_138, x_148, x_8, x_9, x_10, x_11, x_12, x_13, x_145); +x_69 = x_149; +goto block_87; +} +else +{ +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; +x_150 = lean_ctor_get(x_141, 1); +lean_inc(x_150); +lean_dec(x_141); +x_151 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_9, x_10, x_11, x_12, x_13, x_150); 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_81 = x_152; -x_82 = x_153; -goto block_89; -} -} -block_59: -{ -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_19, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_46); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) -{ -lean_object* x_49; -x_49 = lean_ctor_get(x_47, 0); -lean_dec(x_49); -lean_ctor_set(x_47, 0, x_45); -return x_47; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_47, 1); -lean_inc(x_50); -lean_dec(x_47); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_45); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_52 = lean_ctor_get(x_44, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_44, 1); -lean_inc(x_53); -lean_dec(x_44); -x_54 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_19, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_53); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) -{ -lean_object* x_56; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -lean_ctor_set_tag(x_54, 1); -lean_ctor_set(x_54, 0, x_52); -return x_54; -} -else -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_52); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -} -block_80: -{ -if (lean_obj_tag(x_60) == 0) -{ -if (x_5 == 0) -{ -lean_object* x_62; lean_object* x_63; -x_62 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_63 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_62, x_8, x_9, x_10, x_11, x_12, x_13, x_61); -x_44 = x_63; -goto block_59; -} -else -{ -uint8_t x_64; -x_64 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); -if (x_64 == 0) -{ -lean_object* x_65; lean_object* x_66; -x_65 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_66 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_65, x_8, x_9, x_10, x_11, x_12, x_13, x_61); -x_44 = x_66; -goto block_59; -} -else -{ -lean_object* x_67; -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); +x_154 = lean_box(x_4); +x_155 = lean_box(x_5); lean_inc(x_3); +lean_inc(x_138); lean_inc(x_2); -x_67 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_61); -if (lean_obj_tag(x_67) == 0) -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); +x_156 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); +lean_closure_set(x_156, 0, x_2); +lean_closure_set(x_156, 1, x_138); +lean_closure_set(x_156, 2, x_3); +lean_closure_set(x_156, 3, x_154); +lean_closure_set(x_156, 4, x_155); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_70 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_68, x_8, x_9, x_10, x_11, x_12, x_13, x_69); -x_44 = x_70; -goto block_59; -} -else -{ -uint8_t x_71; -lean_dec(x_3); -lean_dec(x_2); -x_71 = !lean_is_exclusive(x_67); -if (x_71 == 0) -{ -x_44 = x_67; -goto block_59; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_67, 0); -x_73 = lean_ctor_get(x_67, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_67); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -x_44 = x_74; -goto block_59; -} -} -} -} -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_75 = lean_ctor_get(x_60, 0); -lean_inc(x_75); -lean_dec(x_60); -x_76 = lean_box(x_4); -x_77 = lean_box(x_5); -lean_inc(x_75); lean_inc(x_2); -x_78 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_78, 0, x_2); -lean_closure_set(x_78, 1, x_75); -lean_closure_set(x_78, 2, x_3); -lean_closure_set(x_78, 3, x_76); -lean_closure_set(x_78, 4, x_77); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_79 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_2, x_75, x_78, x_8, x_9, x_10, x_11, x_12, x_13, x_61); -x_44 = x_79; -goto block_59; -} -} -block_89: +x_157 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_138, x_156, x_8, x_9, x_10, x_11, x_12, x_13, x_153); +if (lean_obj_tag(x_157) == 0) { -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_83; -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_43)) { - x_83 = lean_alloc_ctor(1, 2, 0); -} else { - x_83 = x_43; - lean_ctor_set_tag(x_83, 1); -} -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -x_44 = x_83; -goto block_59; -} -else -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_84 = lean_ctor_get(x_81, 0); -lean_inc(x_84); -x_85 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_86 = lean_nat_dec_eq(x_85, x_84); -lean_dec(x_84); -if (x_86 == 0) -{ -lean_object* x_87; -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_43)) { - x_87 = lean_alloc_ctor(1, 2, 0); -} else { - x_87 = x_43; - lean_ctor_set_tag(x_87, 1); -} -lean_ctor_set(x_87, 0, x_81); -lean_ctor_set(x_87, 1, x_82); -x_44 = x_87; -goto block_59; -} -else -{ -lean_object* x_88; -lean_dec(x_81); -lean_dec(x_43); -x_88 = lean_box(0); -x_60 = x_88; -x_61 = x_82; -goto block_80; -} -} -} -} -else -{ -uint8_t 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_174; lean_object* x_175; lean_object* x_195; lean_object* x_196; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_154 = lean_ctor_get_uint8(x_34, sizeof(void*)*1); -lean_dec(x_34); -x_155 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; -x_156 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set_uint8(x_156, sizeof(void*)*1, x_154); -lean_ctor_set(x_33, 3, x_156); -x_157 = lean_st_ref_set(x_13, x_33, x_35); -x_158 = lean_ctor_get(x_157, 1); +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; +x_158 = lean_ctor_get(x_157, 0); lean_inc(x_158); -if (lean_is_exclusive(x_157)) { - lean_ctor_release(x_157, 0); - lean_ctor_release(x_157, 1); - x_159 = x_157; -} else { - lean_dec_ref(x_157); - x_159 = lean_box(0); -} -x_204 = lean_st_ref_get(x_13, x_158); -x_205 = lean_ctor_get(x_204, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_204, 1); -lean_inc(x_206); -lean_dec(x_204); -x_207 = lean_ctor_get(x_205, 0); -lean_inc(x_207); -lean_dec(x_205); -x_208 = lean_st_ref_get(x_13, x_206); -x_209 = lean_ctor_get(x_208, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_208, 1); -lean_inc(x_210); -lean_dec(x_208); -x_211 = lean_ctor_get(x_209, 0); -lean_inc(x_211); -lean_dec(x_209); -lean_inc(x_211); -x_212 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_212, 0, x_211); -lean_inc(x_20); -x_213 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_213, 0, x_20); -lean_inc(x_211); -x_214 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed), 4, 1); -lean_closure_set(x_214, 0, x_211); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_211); -x_215 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___boxed), 6, 3); -lean_closure_set(x_215, 0, x_211); -lean_closure_set(x_215, 1, x_20); -lean_closure_set(x_215, 2, x_21); -lean_inc(x_211); -x_216 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___boxed), 6, 3); -lean_closure_set(x_216, 0, x_211); -lean_closure_set(x_216, 1, x_20); -lean_closure_set(x_216, 2, x_21); -x_217 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_217, 0, x_212); -lean_ctor_set(x_217, 1, x_213); -lean_ctor_set(x_217, 2, x_214); -lean_ctor_set(x_217, 3, x_215); -lean_ctor_set(x_217, 4, x_216); -x_218 = x_217; -x_219 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_210); -x_220 = lean_ctor_get(x_219, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_219, 1); -lean_inc(x_221); -lean_dec(x_219); -x_222 = lean_st_ref_get(x_13, x_221); -x_223 = lean_ctor_get(x_222, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_222, 1); -lean_inc(x_224); -lean_dec(x_222); -x_225 = lean_ctor_get(x_223, 1); -lean_inc(x_225); -lean_dec(x_223); -x_226 = lean_environment_main_module(x_211); -lean_inc(x_19); -x_227 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_227, 0, x_218); -lean_ctor_set(x_227, 1, x_226); -lean_ctor_set(x_227, 2, x_220); -lean_ctor_set(x_227, 3, x_16); -lean_ctor_set(x_227, 4, x_18); -lean_ctor_set(x_227, 5, x_19); -x_228 = lean_box(0); -x_229 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_229, 0, x_225); -lean_ctor_set(x_229, 1, x_228); -lean_inc(x_2); -x_230 = l_Lean_Elab_getMacros(x_207, x_2, x_227, x_229); -lean_dec(x_207); -if (lean_obj_tag(x_230) == 0) -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; 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_dec(x_159); -x_231 = lean_ctor_get(x_230, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_230, 1); -lean_inc(x_232); -lean_dec(x_230); -x_233 = lean_ctor_get(x_232, 0); -lean_inc(x_233); -x_234 = lean_st_ref_take(x_13, x_224); -x_235 = lean_ctor_get(x_234, 0); -lean_inc(x_235); -x_236 = lean_ctor_get(x_234, 1); -lean_inc(x_236); -lean_dec(x_234); -x_237 = lean_ctor_get(x_235, 0); -lean_inc(x_237); -x_238 = lean_ctor_get(x_235, 2); -lean_inc(x_238); -x_239 = lean_ctor_get(x_235, 3); -lean_inc(x_239); -if (lean_is_exclusive(x_235)) { - lean_ctor_release(x_235, 0); - lean_ctor_release(x_235, 1); - lean_ctor_release(x_235, 2); - lean_ctor_release(x_235, 3); - x_240 = x_235; -} else { - lean_dec_ref(x_235); - x_240 = lean_box(0); -} -if (lean_is_scalar(x_240)) { - x_241 = lean_alloc_ctor(0, 4, 0); -} else { - x_241 = x_240; -} -lean_ctor_set(x_241, 0, x_237); -lean_ctor_set(x_241, 1, x_233); -lean_ctor_set(x_241, 2, x_238); -lean_ctor_set(x_241, 3, x_239); -x_242 = lean_st_ref_set(x_13, x_241, x_236); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -lean_dec(x_242); -x_244 = lean_ctor_get(x_232, 1); -lean_inc(x_244); -lean_dec(x_232); -x_245 = l_List_reverse___rarg(x_244); -x_246 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_245, x_8, x_9, x_10, x_11, x_12, x_13, x_243); -x_247 = lean_ctor_get(x_246, 1); -lean_inc(x_247); -lean_dec(x_246); -x_248 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_248, 0, x_231); -x_174 = x_248; -x_175 = x_247; -goto block_194; -} -else -{ -lean_object* x_249; -x_249 = lean_ctor_get(x_230, 0); -lean_inc(x_249); -lean_dec(x_230); -if (lean_obj_tag(x_249) == 0) -{ -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; -x_250 = lean_ctor_get(x_249, 0); -lean_inc(x_250); -x_251 = lean_ctor_get(x_249, 1); -lean_inc(x_251); -lean_dec(x_249); -x_252 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_252, 0, x_251); -x_253 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_253, 0, x_252); -lean_inc(x_12); -lean_inc(x_8); -x_254 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_250, x_253, x_8, x_9, x_10, x_11, x_12, x_13, x_224); -lean_dec(x_250); -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_195 = x_255; -x_196 = x_256; -goto block_203; -} -else -{ -lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_257 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_224); -x_258 = lean_ctor_get(x_257, 0); -lean_inc(x_258); -x_259 = lean_ctor_get(x_257, 1); -lean_inc(x_259); -lean_dec(x_257); -x_195 = x_258; -x_196 = x_259; -goto block_203; -} -} -block_173: -{ -if (lean_obj_tag(x_160) == 0) -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_160, 1); +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); +lean_dec(x_157); +x_160 = lean_box(0); +lean_inc(x_158); +x_161 = l_Lean_Elab_Term_mkTermInfo(x_137, x_2, x_158, x_3, x_160, x_8, x_9, x_10, x_11, x_12, x_13, x_159); +x_162 = lean_ctor_get(x_161, 0); lean_inc(x_162); -lean_dec(x_160); -x_163 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_19, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_162); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_164 = lean_ctor_get(x_163, 1); -lean_inc(x_164); -if (lean_is_exclusive(x_163)) { - lean_ctor_release(x_163, 0); - lean_ctor_release(x_163, 1); - x_165 = x_163; -} else { - lean_dec_ref(x_163); - x_165 = lean_box(0); -} -if (lean_is_scalar(x_165)) { - x_166 = lean_alloc_ctor(0, 2, 0); -} else { - x_166 = x_165; -} -lean_ctor_set(x_166, 0, x_161); -lean_ctor_set(x_166, 1, x_164); -return x_166; -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_167 = lean_ctor_get(x_160, 0); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +lean_dec(x_161); +x_164 = lean_st_ref_get(x_13, x_163); +x_165 = lean_ctor_get(x_164, 1); +lean_inc(x_165); +lean_dec(x_164); +x_166 = lean_st_ref_take(x_9, x_165); +x_167 = lean_ctor_get(x_166, 0); lean_inc(x_167); -x_168 = lean_ctor_get(x_160, 1); +x_168 = lean_ctor_get(x_167, 5); lean_inc(x_168); -lean_dec(x_160); -x_169 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_19, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_168); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -if (lean_is_exclusive(x_169)) { - lean_ctor_release(x_169, 0); - lean_ctor_release(x_169, 1); - x_171 = x_169; -} else { - lean_dec_ref(x_169); - x_171 = lean_box(0); -} -if (lean_is_scalar(x_171)) { - x_172 = lean_alloc_ctor(1, 2, 0); -} else { - x_172 = x_171; - lean_ctor_set_tag(x_172, 1); -} -lean_ctor_set(x_172, 0, x_167); -lean_ctor_set(x_172, 1, x_170); -return x_172; -} -} -block_194: +if (lean_obj_tag(x_162) == 0) { -if (lean_obj_tag(x_174) == 0) +lean_object* x_169; uint8_t x_170; +x_169 = lean_ctor_get(x_166, 1); +lean_inc(x_169); +lean_dec(x_166); +x_170 = !lean_is_exclusive(x_167); +if (x_170 == 0) { -if (x_5 == 0) +lean_object* x_171; uint8_t x_172; +x_171 = lean_ctor_get(x_167, 5); +lean_dec(x_171); +x_172 = !lean_is_exclusive(x_168); +if (x_172 == 0) { -lean_object* x_176; lean_object* x_177; -x_176 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_177 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_176, x_8, x_9, x_10, x_11, x_12, x_13, x_175); -x_160 = x_177; -goto block_173; -} -else -{ -uint8_t x_178; -x_178 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +x_173 = lean_ctor_get(x_168, 1); +x_174 = lean_ctor_get(x_162, 0); +lean_inc(x_174); +lean_dec(x_162); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_173); +x_176 = l_Std_PersistentArray_push___rarg(x_152, x_175); +lean_ctor_set(x_168, 1, x_176); +x_177 = lean_st_ref_set(x_9, x_167, x_169); +x_178 = !lean_is_exclusive(x_177); if (x_178 == 0) { lean_object* x_179; lean_object* x_180; -x_179 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_180 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_179, x_8, x_9, x_10, x_11, x_12, x_13, x_175); -x_160 = x_180; -goto block_173; +x_179 = lean_ctor_get(x_177, 0); +lean_dec(x_179); +x_180 = lean_box(0); +lean_ctor_set(x_134, 1, x_180); +lean_ctor_set(x_134, 0, x_158); +lean_ctor_set(x_177, 0, x_134); +x_88 = x_177; +goto block_100; } else { -lean_object* x_181; -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_3); -lean_inc(x_2); -x_181 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_175); -if (lean_obj_tag(x_181) == 0) -{ -lean_object* x_182; lean_object* x_183; lean_object* x_184; -x_182 = lean_ctor_get(x_181, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_181, 1); -lean_inc(x_183); -lean_dec(x_181); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_184 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_182, x_8, x_9, x_10, x_11, x_12, x_13, x_183); -x_160 = x_184; -goto block_173; +lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_181 = lean_ctor_get(x_177, 1); +lean_inc(x_181); +lean_dec(x_177); +x_182 = lean_box(0); +lean_ctor_set(x_134, 1, x_182); +lean_ctor_set(x_134, 0, x_158); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_134); +lean_ctor_set(x_183, 1, x_181); +x_88 = x_183; +goto block_100; +} } else { -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -lean_dec(x_3); -lean_dec(x_2); -x_185 = lean_ctor_get(x_181, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_181, 1); +uint8_t x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_184 = lean_ctor_get_uint8(x_168, sizeof(void*)*2); +x_185 = lean_ctor_get(x_168, 0); +x_186 = lean_ctor_get(x_168, 1); lean_inc(x_186); -if (lean_is_exclusive(x_181)) { - lean_ctor_release(x_181, 0); - lean_ctor_release(x_181, 1); - x_187 = x_181; -} else { - lean_dec_ref(x_181); - x_187 = lean_box(0); -} -if (lean_is_scalar(x_187)) { - x_188 = lean_alloc_ctor(1, 2, 0); -} else { - x_188 = x_187; -} -lean_ctor_set(x_188, 0, x_185); +lean_inc(x_185); +lean_dec(x_168); +x_187 = lean_ctor_get(x_162, 0); +lean_inc(x_187); +lean_dec(x_162); +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_187); lean_ctor_set(x_188, 1, x_186); -x_160 = x_188; -goto block_173; +x_189 = l_Std_PersistentArray_push___rarg(x_152, x_188); +x_190 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_190, 0, x_185); +lean_ctor_set(x_190, 1, x_189); +lean_ctor_set_uint8(x_190, sizeof(void*)*2, x_184); +lean_ctor_set(x_167, 5, x_190); +x_191 = lean_st_ref_set(x_9, x_167, x_169); +x_192 = lean_ctor_get(x_191, 1); +lean_inc(x_192); +if (lean_is_exclusive(x_191)) { + lean_ctor_release(x_191, 0); + lean_ctor_release(x_191, 1); + x_193 = x_191; +} else { + lean_dec_ref(x_191); + x_193 = lean_box(0); +} +x_194 = lean_box(0); +lean_ctor_set(x_134, 1, x_194); +lean_ctor_set(x_134, 0, x_158); +if (lean_is_scalar(x_193)) { + x_195 = lean_alloc_ctor(0, 2, 0); +} else { + x_195 = x_193; +} +lean_ctor_set(x_195, 0, x_134); +lean_ctor_set(x_195, 1, x_192); +x_88 = x_195; +goto block_100; +} +} +else +{ +lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t 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; +x_196 = lean_ctor_get(x_167, 0); +x_197 = lean_ctor_get(x_167, 1); +x_198 = lean_ctor_get(x_167, 2); +x_199 = lean_ctor_get(x_167, 3); +x_200 = lean_ctor_get(x_167, 4); +lean_inc(x_200); +lean_inc(x_199); +lean_inc(x_198); +lean_inc(x_197); +lean_inc(x_196); +lean_dec(x_167); +x_201 = lean_ctor_get_uint8(x_168, sizeof(void*)*2); +x_202 = lean_ctor_get(x_168, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_168, 1); +lean_inc(x_203); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_204 = x_168; +} else { + lean_dec_ref(x_168); + x_204 = lean_box(0); +} +x_205 = lean_ctor_get(x_162, 0); +lean_inc(x_205); +lean_dec(x_162); +x_206 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_206, 0, x_205); +lean_ctor_set(x_206, 1, x_203); +x_207 = l_Std_PersistentArray_push___rarg(x_152, x_206); +if (lean_is_scalar(x_204)) { + x_208 = lean_alloc_ctor(0, 2, 1); +} else { + x_208 = x_204; +} +lean_ctor_set(x_208, 0, x_202); +lean_ctor_set(x_208, 1, x_207); +lean_ctor_set_uint8(x_208, sizeof(void*)*2, x_201); +x_209 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_209, 0, x_196); +lean_ctor_set(x_209, 1, x_197); +lean_ctor_set(x_209, 2, x_198); +lean_ctor_set(x_209, 3, x_199); +lean_ctor_set(x_209, 4, x_200); +lean_ctor_set(x_209, 5, x_208); +x_210 = lean_st_ref_set(x_9, x_209, x_169); +x_211 = lean_ctor_get(x_210, 1); +lean_inc(x_211); +if (lean_is_exclusive(x_210)) { + lean_ctor_release(x_210, 0); + lean_ctor_release(x_210, 1); + x_212 = x_210; +} else { + lean_dec_ref(x_210); + x_212 = lean_box(0); +} +x_213 = lean_box(0); +lean_ctor_set(x_134, 1, x_213); +lean_ctor_set(x_134, 0, x_158); +if (lean_is_scalar(x_212)) { + x_214 = lean_alloc_ctor(0, 2, 0); +} else { + x_214 = x_212; +} +lean_ctor_set(x_214, 0, x_134); +lean_ctor_set(x_214, 1, x_211); +x_88 = x_214; +goto block_100; +} +} +else +{ +lean_object* x_215; uint8_t x_216; +x_215 = lean_ctor_get(x_166, 1); +lean_inc(x_215); +lean_dec(x_166); +x_216 = !lean_is_exclusive(x_167); +if (x_216 == 0) +{ +lean_object* x_217; uint8_t x_218; +x_217 = lean_ctor_get(x_167, 5); +lean_dec(x_217); +x_218 = !lean_is_exclusive(x_168); +if (x_218 == 0) +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; +x_219 = lean_ctor_get(x_168, 1); +lean_dec(x_219); +x_220 = lean_ctor_get(x_162, 0); +lean_inc(x_220); +lean_dec(x_162); +x_221 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_221, 0, x_220); +x_222 = l_Std_PersistentArray_push___rarg(x_152, x_221); +lean_ctor_set(x_168, 1, x_222); +x_223 = lean_st_ref_set(x_9, x_167, x_215); +x_224 = !lean_is_exclusive(x_223); +if (x_224 == 0) +{ +lean_object* x_225; lean_object* x_226; +x_225 = lean_ctor_get(x_223, 0); +lean_dec(x_225); +x_226 = lean_box(0); +lean_ctor_set(x_134, 1, x_226); +lean_ctor_set(x_134, 0, x_158); +lean_ctor_set(x_223, 0, x_134); +x_88 = x_223; +goto block_100; +} +else +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; +x_227 = lean_ctor_get(x_223, 1); +lean_inc(x_227); +lean_dec(x_223); +x_228 = lean_box(0); +lean_ctor_set(x_134, 1, x_228); +lean_ctor_set(x_134, 0, x_158); +x_229 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 0, x_134); +lean_ctor_set(x_229, 1, x_227); +x_88 = x_229; +goto block_100; +} +} +else +{ +uint8_t 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; +x_230 = lean_ctor_get_uint8(x_168, sizeof(void*)*2); +x_231 = lean_ctor_get(x_168, 0); +lean_inc(x_231); +lean_dec(x_168); +x_232 = lean_ctor_get(x_162, 0); +lean_inc(x_232); +lean_dec(x_162); +x_233 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_233, 0, x_232); +x_234 = l_Std_PersistentArray_push___rarg(x_152, x_233); +x_235 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_235, 0, x_231); +lean_ctor_set(x_235, 1, x_234); +lean_ctor_set_uint8(x_235, sizeof(void*)*2, x_230); +lean_ctor_set(x_167, 5, x_235); +x_236 = lean_st_ref_set(x_9, x_167, x_215); +x_237 = lean_ctor_get(x_236, 1); +lean_inc(x_237); +if (lean_is_exclusive(x_236)) { + lean_ctor_release(x_236, 0); + lean_ctor_release(x_236, 1); + x_238 = x_236; +} else { + lean_dec_ref(x_236); + x_238 = lean_box(0); +} +x_239 = lean_box(0); +lean_ctor_set(x_134, 1, x_239); +lean_ctor_set(x_134, 0, x_158); +if (lean_is_scalar(x_238)) { + x_240 = lean_alloc_ctor(0, 2, 0); +} else { + x_240 = x_238; +} +lean_ctor_set(x_240, 0, x_134); +lean_ctor_set(x_240, 1, x_237); +x_88 = x_240; +goto block_100; +} +} +else +{ +lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t 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; +x_241 = lean_ctor_get(x_167, 0); +x_242 = lean_ctor_get(x_167, 1); +x_243 = lean_ctor_get(x_167, 2); +x_244 = lean_ctor_get(x_167, 3); +x_245 = lean_ctor_get(x_167, 4); +lean_inc(x_245); +lean_inc(x_244); +lean_inc(x_243); +lean_inc(x_242); +lean_inc(x_241); +lean_dec(x_167); +x_246 = lean_ctor_get_uint8(x_168, sizeof(void*)*2); +x_247 = lean_ctor_get(x_168, 0); +lean_inc(x_247); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_248 = x_168; +} else { + lean_dec_ref(x_168); + x_248 = lean_box(0); +} +x_249 = lean_ctor_get(x_162, 0); +lean_inc(x_249); +lean_dec(x_162); +x_250 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_250, 0, x_249); +x_251 = l_Std_PersistentArray_push___rarg(x_152, x_250); +if (lean_is_scalar(x_248)) { + x_252 = lean_alloc_ctor(0, 2, 1); +} else { + x_252 = x_248; +} +lean_ctor_set(x_252, 0, x_247); +lean_ctor_set(x_252, 1, x_251); +lean_ctor_set_uint8(x_252, sizeof(void*)*2, x_246); +x_253 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_253, 0, x_241); +lean_ctor_set(x_253, 1, x_242); +lean_ctor_set(x_253, 2, x_243); +lean_ctor_set(x_253, 3, x_244); +lean_ctor_set(x_253, 4, x_245); +lean_ctor_set(x_253, 5, x_252); +x_254 = lean_st_ref_set(x_9, x_253, x_215); +x_255 = lean_ctor_get(x_254, 1); +lean_inc(x_255); +if (lean_is_exclusive(x_254)) { + lean_ctor_release(x_254, 0); + lean_ctor_release(x_254, 1); + x_256 = x_254; +} else { + lean_dec_ref(x_254); + x_256 = lean_box(0); +} +x_257 = lean_box(0); +lean_ctor_set(x_134, 1, x_257); +lean_ctor_set(x_134, 0, x_158); +if (lean_is_scalar(x_256)) { + x_258 = lean_alloc_ctor(0, 2, 0); +} else { + x_258 = x_256; +} +lean_ctor_set(x_258, 0, x_134); +lean_ctor_set(x_258, 1, x_255); +x_88 = x_258; +goto block_100; +} +} +} +else +{ +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; uint8_t x_267; +lean_free_object(x_134); +lean_dec(x_137); +lean_dec(x_3); +lean_dec(x_2); +x_259 = lean_ctor_get(x_157, 0); +lean_inc(x_259); +x_260 = lean_ctor_get(x_157, 1); +lean_inc(x_260); +lean_dec(x_157); +x_261 = lean_st_ref_get(x_13, x_260); +x_262 = lean_ctor_get(x_261, 1); +lean_inc(x_262); +lean_dec(x_261); +x_263 = lean_st_ref_take(x_9, x_262); +x_264 = lean_ctor_get(x_263, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_264, 5); +lean_inc(x_265); +x_266 = lean_ctor_get(x_263, 1); +lean_inc(x_266); +lean_dec(x_263); +x_267 = !lean_is_exclusive(x_264); +if (x_267 == 0) +{ +lean_object* x_268; uint8_t x_269; +x_268 = lean_ctor_get(x_264, 5); +lean_dec(x_268); +x_269 = !lean_is_exclusive(x_265); +if (x_269 == 0) +{ +lean_object* x_270; lean_object* x_271; uint8_t x_272; +x_270 = lean_ctor_get(x_265, 1); +lean_dec(x_270); +lean_ctor_set(x_265, 1, x_152); +x_271 = lean_st_ref_set(x_9, x_264, x_266); +x_272 = !lean_is_exclusive(x_271); +if (x_272 == 0) +{ +lean_object* x_273; +x_273 = lean_ctor_get(x_271, 0); +lean_dec(x_273); +lean_ctor_set_tag(x_271, 1); +lean_ctor_set(x_271, 0, x_259); +x_88 = x_271; +goto block_100; +} +else +{ +lean_object* x_274; lean_object* x_275; +x_274 = lean_ctor_get(x_271, 1); +lean_inc(x_274); +lean_dec(x_271); +x_275 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_275, 0, x_259); +lean_ctor_set(x_275, 1, x_274); +x_88 = x_275; +goto block_100; +} +} +else +{ +uint8_t 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; +x_276 = lean_ctor_get_uint8(x_265, sizeof(void*)*2); +x_277 = lean_ctor_get(x_265, 0); +lean_inc(x_277); +lean_dec(x_265); +x_278 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_278, 0, x_277); +lean_ctor_set(x_278, 1, x_152); +lean_ctor_set_uint8(x_278, sizeof(void*)*2, x_276); +lean_ctor_set(x_264, 5, x_278); +x_279 = lean_st_ref_set(x_9, x_264, x_266); +x_280 = lean_ctor_get(x_279, 1); +lean_inc(x_280); +if (lean_is_exclusive(x_279)) { + lean_ctor_release(x_279, 0); + lean_ctor_release(x_279, 1); + x_281 = x_279; +} else { + lean_dec_ref(x_279); + x_281 = lean_box(0); +} +if (lean_is_scalar(x_281)) { + x_282 = lean_alloc_ctor(1, 2, 0); +} else { + x_282 = x_281; + lean_ctor_set_tag(x_282, 1); +} +lean_ctor_set(x_282, 0, x_259); +lean_ctor_set(x_282, 1, x_280); +x_88 = x_282; +goto block_100; +} +} +else +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; uint8_t x_288; 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; +x_283 = lean_ctor_get(x_264, 0); +x_284 = lean_ctor_get(x_264, 1); +x_285 = lean_ctor_get(x_264, 2); +x_286 = lean_ctor_get(x_264, 3); +x_287 = lean_ctor_get(x_264, 4); +lean_inc(x_287); +lean_inc(x_286); +lean_inc(x_285); +lean_inc(x_284); +lean_inc(x_283); +lean_dec(x_264); +x_288 = lean_ctor_get_uint8(x_265, sizeof(void*)*2); +x_289 = lean_ctor_get(x_265, 0); +lean_inc(x_289); +if (lean_is_exclusive(x_265)) { + lean_ctor_release(x_265, 0); + lean_ctor_release(x_265, 1); + x_290 = x_265; +} else { + lean_dec_ref(x_265); + x_290 = lean_box(0); +} +if (lean_is_scalar(x_290)) { + x_291 = lean_alloc_ctor(0, 2, 1); +} else { + x_291 = x_290; +} +lean_ctor_set(x_291, 0, x_289); +lean_ctor_set(x_291, 1, x_152); +lean_ctor_set_uint8(x_291, sizeof(void*)*2, x_288); +x_292 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_292, 0, x_283); +lean_ctor_set(x_292, 1, x_284); +lean_ctor_set(x_292, 2, x_285); +lean_ctor_set(x_292, 3, x_286); +lean_ctor_set(x_292, 4, x_287); +lean_ctor_set(x_292, 5, x_291); +x_293 = lean_st_ref_set(x_9, x_292, x_266); +x_294 = lean_ctor_get(x_293, 1); +lean_inc(x_294); +if (lean_is_exclusive(x_293)) { + lean_ctor_release(x_293, 0); + lean_ctor_release(x_293, 1); + x_295 = x_293; +} else { + lean_dec_ref(x_293); + x_295 = lean_box(0); +} +if (lean_is_scalar(x_295)) { + x_296 = lean_alloc_ctor(1, 2, 0); +} else { + x_296 = x_295; + lean_ctor_set_tag(x_296, 1); +} +lean_ctor_set(x_296, 0, x_259); +lean_ctor_set(x_296, 1, x_294); +x_88 = x_296; +goto block_100; } } } } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_189 = lean_ctor_get(x_174, 0); -lean_inc(x_189); -lean_dec(x_174); -x_190 = lean_box(x_4); -x_191 = lean_box(x_5); -lean_inc(x_189); +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; uint8_t x_304; +x_297 = lean_ctor_get(x_134, 0); +x_298 = lean_ctor_get(x_134, 1); +lean_inc(x_298); +lean_inc(x_297); +lean_dec(x_134); +x_299 = lean_st_ref_get(x_13, x_135); +x_300 = lean_ctor_get(x_299, 1); +lean_inc(x_300); +lean_dec(x_299); +x_301 = lean_st_ref_get(x_9, x_300); +x_302 = lean_ctor_get(x_301, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_302, 5); +lean_inc(x_303); +lean_dec(x_302); +x_304 = lean_ctor_get_uint8(x_303, sizeof(void*)*2); +lean_dec(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_dec(x_297); +x_305 = lean_ctor_get(x_301, 1); +lean_inc(x_305); +lean_dec(x_301); +x_306 = lean_box(x_4); +x_307 = lean_box(x_5); +lean_inc(x_298); lean_inc(x_2); -x_192 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_192, 0, x_2); -lean_closure_set(x_192, 1, x_189); -lean_closure_set(x_192, 2, x_3); -lean_closure_set(x_192, 3, x_190); -lean_closure_set(x_192, 4, x_191); +x_308 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); +lean_closure_set(x_308, 0, x_2); +lean_closure_set(x_308, 1, x_298); +lean_closure_set(x_308, 2, x_3); +lean_closure_set(x_308, 3, x_306); +lean_closure_set(x_308, 4, x_307); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_193 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_2, x_189, x_192, x_8, x_9, x_10, x_11, x_12, x_13, x_175); -x_160 = x_193; -goto block_173; -} -} -block_203: -{ -if (lean_obj_tag(x_195) == 0) -{ -lean_object* x_197; -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_159)) { - x_197 = lean_alloc_ctor(1, 2, 0); -} else { - x_197 = x_159; - lean_ctor_set_tag(x_197, 1); -} -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -x_160 = x_197; -goto block_173; +x_309 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_298, x_308, x_8, x_9, x_10, x_11, x_12, x_13, x_305); +x_69 = x_309; +goto block_87; } else { -lean_object* x_198; lean_object* x_199; uint8_t x_200; -x_198 = lean_ctor_get(x_195, 0); -lean_inc(x_198); -x_199 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_200 = lean_nat_dec_eq(x_199, x_198); -lean_dec(x_198); -if (x_200 == 0) -{ -lean_object* x_201; -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_159)) { - x_201 = lean_alloc_ctor(1, 2, 0); -} else { - x_201 = x_159; - lean_ctor_set_tag(x_201, 1); -} -lean_ctor_set(x_201, 0, x_195); -lean_ctor_set(x_201, 1, x_196); -x_160 = x_201; -goto block_173; -} -else -{ -lean_object* x_202; -lean_dec(x_195); -lean_dec(x_159); -x_202 = lean_box(0); -x_174 = x_202; -x_175 = x_196; -goto block_194; -} -} -} -} -} -else -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; uint8_t 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_285; lean_object* x_286; lean_object* x_306; lean_object* x_307; 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; -x_260 = lean_ctor_get(x_33, 0); -x_261 = lean_ctor_get(x_33, 1); -x_262 = lean_ctor_get(x_33, 2); -lean_inc(x_262); -lean_inc(x_261); -lean_inc(x_260); -lean_dec(x_33); -x_263 = lean_ctor_get_uint8(x_34, sizeof(void*)*1); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - x_264 = x_34; -} else { - lean_dec_ref(x_34); - x_264 = lean_box(0); -} -x_265 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; -if (lean_is_scalar(x_264)) { - x_266 = lean_alloc_ctor(0, 1, 1); -} else { - x_266 = x_264; -} -lean_ctor_set(x_266, 0, x_265); -lean_ctor_set_uint8(x_266, sizeof(void*)*1, x_263); -x_267 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_267, 0, x_260); -lean_ctor_set(x_267, 1, x_261); -lean_ctor_set(x_267, 2, x_262); -lean_ctor_set(x_267, 3, x_266); -x_268 = lean_st_ref_set(x_13, x_267, x_35); -x_269 = lean_ctor_get(x_268, 1); -lean_inc(x_269); -if (lean_is_exclusive(x_268)) { - lean_ctor_release(x_268, 0); - lean_ctor_release(x_268, 1); - x_270 = x_268; -} else { - lean_dec_ref(x_268); - x_270 = lean_box(0); -} -x_315 = lean_st_ref_get(x_13, x_269); -x_316 = lean_ctor_get(x_315, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_315, 1); -lean_inc(x_317); -lean_dec(x_315); -x_318 = lean_ctor_get(x_316, 0); -lean_inc(x_318); -lean_dec(x_316); -x_319 = lean_st_ref_get(x_13, x_317); -x_320 = lean_ctor_get(x_319, 0); -lean_inc(x_320); -x_321 = lean_ctor_get(x_319, 1); -lean_inc(x_321); -lean_dec(x_319); -x_322 = lean_ctor_get(x_320, 0); -lean_inc(x_322); -lean_dec(x_320); -lean_inc(x_322); -x_323 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_323, 0, x_322); -lean_inc(x_20); -x_324 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_324, 0, x_20); -lean_inc(x_322); -x_325 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed), 4, 1); -lean_closure_set(x_325, 0, x_322); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_322); -x_326 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___boxed), 6, 3); -lean_closure_set(x_326, 0, x_322); -lean_closure_set(x_326, 1, x_20); -lean_closure_set(x_326, 2, x_21); -lean_inc(x_322); -x_327 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___boxed), 6, 3); -lean_closure_set(x_327, 0, x_322); -lean_closure_set(x_327, 1, x_20); -lean_closure_set(x_327, 2, x_21); -x_328 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_328, 0, x_323); -lean_ctor_set(x_328, 1, x_324); -lean_ctor_set(x_328, 2, x_325); -lean_ctor_set(x_328, 3, x_326); -lean_ctor_set(x_328, 4, x_327); -x_329 = x_328; -x_330 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_321); -x_331 = lean_ctor_get(x_330, 0); -lean_inc(x_331); -x_332 = lean_ctor_get(x_330, 1); -lean_inc(x_332); -lean_dec(x_330); -x_333 = lean_st_ref_get(x_13, x_332); -x_334 = lean_ctor_get(x_333, 0); -lean_inc(x_334); -x_335 = lean_ctor_get(x_333, 1); -lean_inc(x_335); -lean_dec(x_333); -x_336 = lean_ctor_get(x_334, 1); -lean_inc(x_336); -lean_dec(x_334); -x_337 = lean_environment_main_module(x_322); -lean_inc(x_19); -x_338 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_338, 0, x_329); -lean_ctor_set(x_338, 1, x_337); -lean_ctor_set(x_338, 2, x_331); -lean_ctor_set(x_338, 3, x_16); -lean_ctor_set(x_338, 4, x_18); -lean_ctor_set(x_338, 5, x_19); -x_339 = lean_box(0); -x_340 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_340, 0, x_336); -lean_ctor_set(x_340, 1, x_339); +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_310 = lean_ctor_get(x_301, 1); +lean_inc(x_310); +lean_dec(x_301); +x_311 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_9, x_10, x_11, x_12, x_13, x_310); +x_312 = lean_ctor_get(x_311, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_311, 1); +lean_inc(x_313); +lean_dec(x_311); +x_314 = lean_box(x_4); +x_315 = lean_box(x_5); +lean_inc(x_3); +lean_inc(x_298); lean_inc(x_2); -x_341 = l_Lean_Elab_getMacros(x_318, x_2, x_338, x_340); -lean_dec(x_318); -if (lean_obj_tag(x_341) == 0) +x_316 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); +lean_closure_set(x_316, 0, x_2); +lean_closure_set(x_316, 1, x_298); +lean_closure_set(x_316, 2, x_3); +lean_closure_set(x_316, 3, x_314); +lean_closure_set(x_316, 4, x_315); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_2); +x_317 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_298, x_316, x_8, x_9, x_10, x_11, x_12, x_13, x_313); +if (lean_obj_tag(x_317) == 0) { -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_dec(x_270); -x_342 = lean_ctor_get(x_341, 0); -lean_inc(x_342); -x_343 = lean_ctor_get(x_341, 1); -lean_inc(x_343); -lean_dec(x_341); -x_344 = lean_ctor_get(x_343, 0); -lean_inc(x_344); -x_345 = lean_st_ref_take(x_13, x_335); -x_346 = lean_ctor_get(x_345, 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; +x_318 = lean_ctor_get(x_317, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_317, 1); +lean_inc(x_319); +lean_dec(x_317); +x_320 = lean_box(0); +lean_inc(x_318); +x_321 = l_Lean_Elab_Term_mkTermInfo(x_297, x_2, x_318, x_3, x_320, x_8, x_9, x_10, x_11, x_12, x_13, x_319); +x_322 = lean_ctor_get(x_321, 0); +lean_inc(x_322); +x_323 = lean_ctor_get(x_321, 1); +lean_inc(x_323); +lean_dec(x_321); +x_324 = lean_st_ref_get(x_13, x_323); +x_325 = lean_ctor_get(x_324, 1); +lean_inc(x_325); +lean_dec(x_324); +x_326 = lean_st_ref_take(x_9, x_325); +x_327 = lean_ctor_get(x_326, 0); +lean_inc(x_327); +x_328 = lean_ctor_get(x_327, 5); +lean_inc(x_328); +if (lean_obj_tag(x_322) == 0) +{ +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; uint8_t 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; +x_329 = lean_ctor_get(x_326, 1); +lean_inc(x_329); +lean_dec(x_326); +x_330 = lean_ctor_get(x_327, 0); +lean_inc(x_330); +x_331 = lean_ctor_get(x_327, 1); +lean_inc(x_331); +x_332 = lean_ctor_get(x_327, 2); +lean_inc(x_332); +x_333 = lean_ctor_get(x_327, 3); +lean_inc(x_333); +x_334 = lean_ctor_get(x_327, 4); +lean_inc(x_334); +if (lean_is_exclusive(x_327)) { + lean_ctor_release(x_327, 0); + lean_ctor_release(x_327, 1); + lean_ctor_release(x_327, 2); + lean_ctor_release(x_327, 3); + lean_ctor_release(x_327, 4); + lean_ctor_release(x_327, 5); + x_335 = x_327; +} else { + lean_dec_ref(x_327); + x_335 = lean_box(0); +} +x_336 = lean_ctor_get_uint8(x_328, sizeof(void*)*2); +x_337 = lean_ctor_get(x_328, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_328, 1); +lean_inc(x_338); +if (lean_is_exclusive(x_328)) { + lean_ctor_release(x_328, 0); + lean_ctor_release(x_328, 1); + x_339 = x_328; +} else { + lean_dec_ref(x_328); + x_339 = lean_box(0); +} +x_340 = lean_ctor_get(x_322, 0); +lean_inc(x_340); +lean_dec(x_322); +x_341 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_341, 0, x_340); +lean_ctor_set(x_341, 1, x_338); +x_342 = l_Std_PersistentArray_push___rarg(x_312, x_341); +if (lean_is_scalar(x_339)) { + x_343 = lean_alloc_ctor(0, 2, 1); +} else { + x_343 = x_339; +} +lean_ctor_set(x_343, 0, x_337); +lean_ctor_set(x_343, 1, x_342); +lean_ctor_set_uint8(x_343, sizeof(void*)*2, x_336); +if (lean_is_scalar(x_335)) { + x_344 = lean_alloc_ctor(0, 6, 0); +} else { + x_344 = x_335; +} +lean_ctor_set(x_344, 0, x_330); +lean_ctor_set(x_344, 1, x_331); +lean_ctor_set(x_344, 2, x_332); +lean_ctor_set(x_344, 3, x_333); +lean_ctor_set(x_344, 4, x_334); +lean_ctor_set(x_344, 5, x_343); +x_345 = lean_st_ref_set(x_9, x_344, x_329); +x_346 = lean_ctor_get(x_345, 1); lean_inc(x_346); -x_347 = lean_ctor_get(x_345, 1); -lean_inc(x_347); -lean_dec(x_345); -x_348 = lean_ctor_get(x_346, 0); -lean_inc(x_348); -x_349 = lean_ctor_get(x_346, 2); -lean_inc(x_349); -x_350 = lean_ctor_get(x_346, 3); -lean_inc(x_350); -if (lean_is_exclusive(x_346)) { - lean_ctor_release(x_346, 0); - lean_ctor_release(x_346, 1); - lean_ctor_release(x_346, 2); - lean_ctor_release(x_346, 3); - x_351 = x_346; +if (lean_is_exclusive(x_345)) { + lean_ctor_release(x_345, 0); + lean_ctor_release(x_345, 1); + x_347 = x_345; } else { - lean_dec_ref(x_346); - x_351 = lean_box(0); + lean_dec_ref(x_345); + x_347 = lean_box(0); } -if (lean_is_scalar(x_351)) { - x_352 = lean_alloc_ctor(0, 4, 0); +x_348 = lean_box(0); +x_349 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_349, 0, x_318); +lean_ctor_set(x_349, 1, x_348); +if (lean_is_scalar(x_347)) { + x_350 = lean_alloc_ctor(0, 2, 0); } else { - x_352 = x_351; + x_350 = x_347; } -lean_ctor_set(x_352, 0, x_348); -lean_ctor_set(x_352, 1, x_344); -lean_ctor_set(x_352, 2, x_349); -lean_ctor_set(x_352, 3, x_350); -x_353 = lean_st_ref_set(x_13, x_352, x_347); -x_354 = lean_ctor_get(x_353, 1); -lean_inc(x_354); -lean_dec(x_353); -x_355 = lean_ctor_get(x_343, 1); -lean_inc(x_355); -lean_dec(x_343); -x_356 = l_List_reverse___rarg(x_355); -x_357 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_356, x_8, x_9, x_10, x_11, x_12, x_13, x_354); -x_358 = lean_ctor_get(x_357, 1); -lean_inc(x_358); -lean_dec(x_357); -x_359 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_359, 0, x_342); -x_285 = x_359; -x_286 = x_358; -goto block_305; +lean_ctor_set(x_350, 0, x_349); +lean_ctor_set(x_350, 1, x_346); +x_88 = x_350; +goto block_100; } else { -lean_object* x_360; -x_360 = lean_ctor_get(x_341, 0); -lean_inc(x_360); -lean_dec(x_341); -if (lean_obj_tag(x_360) == 0) -{ -lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; -x_361 = lean_ctor_get(x_360, 0); +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; uint8_t 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; +x_351 = lean_ctor_get(x_326, 1); +lean_inc(x_351); +lean_dec(x_326); +x_352 = lean_ctor_get(x_327, 0); +lean_inc(x_352); +x_353 = lean_ctor_get(x_327, 1); +lean_inc(x_353); +x_354 = lean_ctor_get(x_327, 2); +lean_inc(x_354); +x_355 = lean_ctor_get(x_327, 3); +lean_inc(x_355); +x_356 = lean_ctor_get(x_327, 4); +lean_inc(x_356); +if (lean_is_exclusive(x_327)) { + lean_ctor_release(x_327, 0); + lean_ctor_release(x_327, 1); + lean_ctor_release(x_327, 2); + lean_ctor_release(x_327, 3); + lean_ctor_release(x_327, 4); + lean_ctor_release(x_327, 5); + x_357 = x_327; +} else { + lean_dec_ref(x_327); + x_357 = lean_box(0); +} +x_358 = lean_ctor_get_uint8(x_328, sizeof(void*)*2); +x_359 = lean_ctor_get(x_328, 0); +lean_inc(x_359); +if (lean_is_exclusive(x_328)) { + lean_ctor_release(x_328, 0); + lean_ctor_release(x_328, 1); + x_360 = x_328; +} else { + lean_dec_ref(x_328); + x_360 = lean_box(0); +} +x_361 = lean_ctor_get(x_322, 0); lean_inc(x_361); -x_362 = lean_ctor_get(x_360, 1); -lean_inc(x_362); -lean_dec(x_360); -x_363 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_363, 0, x_362); -x_364 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_364, 0, x_363); +lean_dec(x_322); +x_362 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_362, 0, x_361); +x_363 = l_Std_PersistentArray_push___rarg(x_312, x_362); +if (lean_is_scalar(x_360)) { + x_364 = lean_alloc_ctor(0, 2, 1); +} else { + x_364 = x_360; +} +lean_ctor_set(x_364, 0, x_359); +lean_ctor_set(x_364, 1, x_363); +lean_ctor_set_uint8(x_364, sizeof(void*)*2, x_358); +if (lean_is_scalar(x_357)) { + x_365 = lean_alloc_ctor(0, 6, 0); +} else { + x_365 = x_357; +} +lean_ctor_set(x_365, 0, x_352); +lean_ctor_set(x_365, 1, x_353); +lean_ctor_set(x_365, 2, x_354); +lean_ctor_set(x_365, 3, x_355); +lean_ctor_set(x_365, 4, x_356); +lean_ctor_set(x_365, 5, x_364); +x_366 = lean_st_ref_set(x_9, x_365, x_351); +x_367 = lean_ctor_get(x_366, 1); +lean_inc(x_367); +if (lean_is_exclusive(x_366)) { + lean_ctor_release(x_366, 0); + lean_ctor_release(x_366, 1); + x_368 = x_366; +} else { + lean_dec_ref(x_366); + x_368 = lean_box(0); +} +x_369 = lean_box(0); +x_370 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_370, 0, x_318); +lean_ctor_set(x_370, 1, x_369); +if (lean_is_scalar(x_368)) { + x_371 = lean_alloc_ctor(0, 2, 0); +} else { + x_371 = x_368; +} +lean_ctor_set(x_371, 0, x_370); +lean_ctor_set(x_371, 1, x_367); +x_88 = x_371; +goto block_100; +} +} +else +{ +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; uint8_t 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_dec(x_297); +lean_dec(x_3); +lean_dec(x_2); +x_372 = lean_ctor_get(x_317, 0); +lean_inc(x_372); +x_373 = lean_ctor_get(x_317, 1); +lean_inc(x_373); +lean_dec(x_317); +x_374 = lean_st_ref_get(x_13, x_373); +x_375 = lean_ctor_get(x_374, 1); +lean_inc(x_375); +lean_dec(x_374); +x_376 = lean_st_ref_take(x_9, x_375); +x_377 = lean_ctor_get(x_376, 0); +lean_inc(x_377); +x_378 = lean_ctor_get(x_377, 5); +lean_inc(x_378); +x_379 = lean_ctor_get(x_376, 1); +lean_inc(x_379); +lean_dec(x_376); +x_380 = lean_ctor_get(x_377, 0); +lean_inc(x_380); +x_381 = lean_ctor_get(x_377, 1); +lean_inc(x_381); +x_382 = lean_ctor_get(x_377, 2); +lean_inc(x_382); +x_383 = lean_ctor_get(x_377, 3); +lean_inc(x_383); +x_384 = lean_ctor_get(x_377, 4); +lean_inc(x_384); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + lean_ctor_release(x_377, 4); + lean_ctor_release(x_377, 5); + x_385 = x_377; +} else { + lean_dec_ref(x_377); + x_385 = lean_box(0); +} +x_386 = lean_ctor_get_uint8(x_378, sizeof(void*)*2); +x_387 = lean_ctor_get(x_378, 0); +lean_inc(x_387); +if (lean_is_exclusive(x_378)) { + lean_ctor_release(x_378, 0); + lean_ctor_release(x_378, 1); + x_388 = x_378; +} else { + lean_dec_ref(x_378); + x_388 = lean_box(0); +} +if (lean_is_scalar(x_388)) { + x_389 = lean_alloc_ctor(0, 2, 1); +} else { + x_389 = x_388; +} +lean_ctor_set(x_389, 0, x_387); +lean_ctor_set(x_389, 1, x_312); +lean_ctor_set_uint8(x_389, sizeof(void*)*2, x_386); +if (lean_is_scalar(x_385)) { + x_390 = lean_alloc_ctor(0, 6, 0); +} else { + x_390 = x_385; +} +lean_ctor_set(x_390, 0, x_380); +lean_ctor_set(x_390, 1, x_381); +lean_ctor_set(x_390, 2, x_382); +lean_ctor_set(x_390, 3, x_383); +lean_ctor_set(x_390, 4, x_384); +lean_ctor_set(x_390, 5, x_389); +x_391 = lean_st_ref_set(x_9, x_390, x_379); +x_392 = lean_ctor_get(x_391, 1); +lean_inc(x_392); +if (lean_is_exclusive(x_391)) { + lean_ctor_release(x_391, 0); + lean_ctor_release(x_391, 1); + x_393 = x_391; +} else { + lean_dec_ref(x_391); + x_393 = lean_box(0); +} +if (lean_is_scalar(x_393)) { + x_394 = lean_alloc_ctor(1, 2, 0); +} else { + x_394 = x_393; + lean_ctor_set_tag(x_394, 1); +} +lean_ctor_set(x_394, 0, x_372); +lean_ctor_set(x_394, 1, x_392); +x_88 = x_394; +goto block_100; +} +} +} +} +} +else +{ +lean_object* x_395; lean_object* x_396; +lean_dec(x_3); +lean_dec(x_2); +x_395 = lean_ctor_get(x_106, 0); +lean_inc(x_395); +x_396 = lean_ctor_get(x_106, 1); +lean_inc(x_396); +lean_dec(x_106); +x_61 = x_395; +x_62 = x_396; +goto block_68; +} +block_60: +{ +lean_object* x_55; uint8_t x_56; +x_55 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_54); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +lean_ctor_set(x_55, 0, x_53); +return x_55; +} +else +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_55, 1); +lean_inc(x_58); +lean_dec(x_55); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_53); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +block_68: +{ +lean_object* x_63; uint8_t x_64; +x_63 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_62); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_64 = !lean_is_exclusive(x_63); +if (x_64 == 0) +{ +lean_object* x_65; +x_65 = lean_ctor_get(x_63, 0); +lean_dec(x_65); +lean_ctor_set_tag(x_63, 1); +lean_ctor_set(x_63, 0, x_61); +return x_63; +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_63, 1); +lean_inc(x_66); +lean_dec(x_63); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_61); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +block_87: +{ +if (lean_obj_tag(x_69) == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_71); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_72, 0); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_70); +lean_ctor_set(x_75, 1, x_74); +lean_ctor_set(x_72, 0, x_75); +x_15 = x_72; +goto block_27; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_76 = lean_ctor_get(x_72, 0); +x_77 = lean_ctor_get(x_72, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_72); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_70); +lean_ctor_set(x_78, 1, x_76); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_15 = x_79; +goto block_27; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_80 = lean_ctor_get(x_69, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_69, 1); +lean_inc(x_81); +lean_dec(x_69); +x_82 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_81); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_83 = !lean_is_exclusive(x_82); +if (x_83 == 0) +{ +lean_object* x_84; +x_84 = lean_ctor_get(x_82, 0); +lean_dec(x_84); +lean_ctor_set_tag(x_82, 1); +lean_ctor_set(x_82, 0, x_80); +x_15 = x_82; +goto block_27; +} +else +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +lean_dec(x_82); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_80); +lean_ctor_set(x_86, 1, x_85); +x_15 = x_86; +goto block_27; +} +} +} +block_100: +{ +if (lean_obj_tag(x_88) == 0) +{ +uint8_t x_89; +x_89 = !lean_is_exclusive(x_88); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; +x_90 = lean_ctor_get(x_88, 0); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +lean_dec(x_90); +lean_ctor_set(x_88, 0, x_91); +x_69 = x_88; +goto block_87; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_92 = lean_ctor_get(x_88, 0); +x_93 = lean_ctor_get(x_88, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_88); +x_94 = lean_ctor_get(x_92, 0); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +x_69 = x_95; +goto block_87; +} +} +else +{ +uint8_t x_96; +x_96 = !lean_is_exclusive(x_88); +if (x_96 == 0) +{ +x_69 = x_88; +goto block_87; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_88, 0); +x_98 = lean_ctor_get(x_88, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_88); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +x_69 = x_99; +goto block_87; +} +} +} +} +else +{ +uint8_t 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_409; lean_object* x_410; lean_object* x_416; lean_object* x_432; 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_397 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); +lean_dec(x_44); +x_398 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; +x_399 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_399, 0, x_398); +lean_ctor_set_uint8(x_399, sizeof(void*)*1, x_397); +lean_ctor_set(x_43, 3, x_399); +x_400 = lean_st_ref_set(x_13, x_43, x_45); +x_401 = lean_ctor_get(x_400, 1); +lean_inc(x_401); +lean_dec(x_400); +x_443 = lean_st_ref_get(x_13, x_401); +x_444 = lean_ctor_get(x_443, 0); +lean_inc(x_444); +x_445 = lean_ctor_get(x_443, 1); +lean_inc(x_445); +lean_dec(x_443); +x_446 = lean_ctor_get(x_444, 0); +lean_inc(x_446); +lean_dec(x_444); +lean_inc(x_2); +x_447 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); +lean_closure_set(x_447, 0, x_446); +lean_closure_set(x_447, 1, x_2); lean_inc(x_12); lean_inc(x_8); -x_365 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_361, x_364, x_8, x_9, x_10, x_11, x_12, x_13, x_335); -lean_dec(x_361); -x_366 = lean_ctor_get(x_365, 0); -lean_inc(x_366); -x_367 = lean_ctor_get(x_365, 1); -lean_inc(x_367); -lean_dec(x_365); -x_306 = x_366; -x_307 = x_367; -goto block_314; -} -else +x_448 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_447, x_8, x_9, x_10, x_11, x_12, x_13, x_445); +if (lean_obj_tag(x_448) == 0) { -lean_object* x_368; lean_object* x_369; lean_object* x_370; -x_368 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_335); -x_369 = lean_ctor_get(x_368, 0); -lean_inc(x_369); -x_370 = lean_ctor_get(x_368, 1); -lean_inc(x_370); -lean_dec(x_368); -x_306 = x_369; -x_307 = x_370; -goto block_314; -} -} -block_284: -{ -if (lean_obj_tag(x_271) == 0) -{ -lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_272 = lean_ctor_get(x_271, 0); -lean_inc(x_272); -x_273 = lean_ctor_get(x_271, 1); -lean_inc(x_273); -lean_dec(x_271); -x_274 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_19, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_273); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_275 = lean_ctor_get(x_274, 1); -lean_inc(x_275); -if (lean_is_exclusive(x_274)) { - lean_ctor_release(x_274, 0); - lean_ctor_release(x_274, 1); - x_276 = x_274; -} else { - lean_dec_ref(x_274); - x_276 = lean_box(0); -} -if (lean_is_scalar(x_276)) { - x_277 = lean_alloc_ctor(0, 2, 0); -} else { - x_277 = x_276; -} -lean_ctor_set(x_277, 0, x_272); -lean_ctor_set(x_277, 1, x_275); -return x_277; -} -else -{ -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; -x_278 = lean_ctor_get(x_271, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_271, 1); -lean_inc(x_279); -lean_dec(x_271); -x_280 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_19, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_279); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_281 = lean_ctor_get(x_280, 1); -lean_inc(x_281); -if (lean_is_exclusive(x_280)) { - lean_ctor_release(x_280, 0); - lean_ctor_release(x_280, 1); - x_282 = x_280; -} else { - lean_dec_ref(x_280); - x_282 = lean_box(0); -} -if (lean_is_scalar(x_282)) { - x_283 = lean_alloc_ctor(1, 2, 0); -} else { - x_283 = x_282; - lean_ctor_set_tag(x_283, 1); -} -lean_ctor_set(x_283, 0, x_278); -lean_ctor_set(x_283, 1, x_281); -return x_283; -} -} -block_305: -{ -if (lean_obj_tag(x_285) == 0) +lean_object* x_449; +x_449 = lean_ctor_get(x_448, 0); +lean_inc(x_449); +if (lean_obj_tag(x_449) == 0) { if (x_5 == 0) { -lean_object* x_287; lean_object* x_288; -x_287 = lean_box(0); +lean_object* x_450; lean_object* x_451; lean_object* x_452; +x_450 = lean_ctor_get(x_448, 1); +lean_inc(x_450); +lean_dec(x_448); +x_451 = lean_box(0); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_288 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_287, x_8, x_9, x_10, x_11, x_12, x_13, x_286); -x_271 = x_288; -goto block_284; +x_452 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_451, x_8, x_9, x_10, x_11, x_12, x_13, x_450); +if (lean_obj_tag(x_452) == 0) +{ +lean_object* x_453; lean_object* x_454; +x_453 = lean_ctor_get(x_452, 0); +lean_inc(x_453); +x_454 = lean_ctor_get(x_452, 1); +lean_inc(x_454); +lean_dec(x_452); +x_402 = x_453; +x_403 = x_454; +goto block_408; } else { -uint8_t x_289; -x_289 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); -if (x_289 == 0) +lean_object* x_455; lean_object* x_456; +x_455 = lean_ctor_get(x_452, 0); +lean_inc(x_455); +x_456 = lean_ctor_get(x_452, 1); +lean_inc(x_456); +lean_dec(x_452); +x_409 = x_455; +x_410 = x_456; +goto block_415; +} +} +else { -lean_object* x_290; lean_object* x_291; -x_290 = lean_box(0); +uint8_t x_457; +x_457 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); +if (x_457 == 0) +{ +lean_object* x_458; lean_object* x_459; lean_object* x_460; +x_458 = lean_ctor_get(x_448, 1); +lean_inc(x_458); +lean_dec(x_448); +x_459 = lean_box(0); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_291 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_290, x_8, x_9, x_10, x_11, x_12, x_13, x_286); -x_271 = x_291; -goto block_284; +x_460 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_459, x_8, x_9, x_10, x_11, x_12, x_13, x_458); +if (lean_obj_tag(x_460) == 0) +{ +lean_object* x_461; lean_object* x_462; +x_461 = lean_ctor_get(x_460, 0); +lean_inc(x_461); +x_462 = lean_ctor_get(x_460, 1); +lean_inc(x_462); +lean_dec(x_460); +x_402 = x_461; +x_403 = x_462; +goto block_408; } else { -lean_object* x_292; +lean_object* x_463; lean_object* x_464; +x_463 = lean_ctor_get(x_460, 0); +lean_inc(x_463); +x_464 = lean_ctor_get(x_460, 1); +lean_inc(x_464); +lean_dec(x_460); +x_409 = x_463; +x_410 = x_464; +goto block_415; +} +} +else +{ +lean_object* x_465; lean_object* x_466; +x_465 = lean_ctor_get(x_448, 1); +lean_inc(x_465); +lean_dec(x_448); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_3); lean_inc(x_2); -x_292 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_286); -if (lean_obj_tag(x_292) == 0) +x_466 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_465); +if (lean_obj_tag(x_466) == 0) { -lean_object* x_293; lean_object* x_294; lean_object* x_295; -x_293 = lean_ctor_get(x_292, 0); -lean_inc(x_293); -x_294 = lean_ctor_get(x_292, 1); -lean_inc(x_294); -lean_dec(x_292); +lean_object* x_467; lean_object* x_468; lean_object* x_469; +x_467 = lean_ctor_get(x_466, 0); +lean_inc(x_467); +x_468 = lean_ctor_get(x_466, 1); +lean_inc(x_468); +lean_dec(x_466); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_295 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_293, x_8, x_9, x_10, x_11, x_12, x_13, x_294); -x_271 = x_295; -goto block_284; +x_469 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_467, x_8, x_9, x_10, x_11, x_12, x_13, x_468); +if (lean_obj_tag(x_469) == 0) +{ +lean_object* x_470; lean_object* x_471; +x_470 = lean_ctor_get(x_469, 0); +lean_inc(x_470); +x_471 = lean_ctor_get(x_469, 1); +lean_inc(x_471); +lean_dec(x_469); +x_402 = x_470; +x_403 = x_471; +goto block_408; } else { -lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +lean_object* x_472; lean_object* x_473; +x_472 = lean_ctor_get(x_469, 0); +lean_inc(x_472); +x_473 = lean_ctor_get(x_469, 1); +lean_inc(x_473); +lean_dec(x_469); +x_409 = x_472; +x_410 = x_473; +goto block_415; +} +} +else +{ +lean_object* x_474; lean_object* x_475; lean_dec(x_3); lean_dec(x_2); -x_296 = lean_ctor_get(x_292, 0); -lean_inc(x_296); -x_297 = lean_ctor_get(x_292, 1); -lean_inc(x_297); -if (lean_is_exclusive(x_292)) { - lean_ctor_release(x_292, 0); - lean_ctor_release(x_292, 1); - x_298 = x_292; -} else { - lean_dec_ref(x_292); - x_298 = lean_box(0); -} -if (lean_is_scalar(x_298)) { - x_299 = lean_alloc_ctor(1, 2, 0); -} else { - x_299 = x_298; -} -lean_ctor_set(x_299, 0, x_296); -lean_ctor_set(x_299, 1, x_297); -x_271 = x_299; -goto block_284; +x_474 = lean_ctor_get(x_466, 0); +lean_inc(x_474); +x_475 = lean_ctor_get(x_466, 1); +lean_inc(x_475); +lean_dec(x_466); +x_409 = x_474; +x_410 = x_475; +goto block_415; } } } } else { -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; -x_300 = lean_ctor_get(x_285, 0); -lean_inc(x_300); -lean_dec(x_285); -x_301 = lean_box(x_4); -x_302 = lean_box(x_5); -lean_inc(x_300); -lean_inc(x_2); -x_303 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_303, 0, x_2); -lean_closure_set(x_303, 1, x_300); -lean_closure_set(x_303, 2, x_3); -lean_closure_set(x_303, 3, x_301); -lean_closure_set(x_303, 4, x_302); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_304 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_2, x_300, x_303, x_8, x_9, x_10, x_11, x_12, x_13, x_286); -x_271 = x_304; -goto block_284; -} -} -block_314: -{ -if (lean_obj_tag(x_306) == 0) -{ -lean_object* x_308; -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_270)) { - x_308 = lean_alloc_ctor(1, 2, 0); +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; uint8_t x_486; +x_476 = lean_ctor_get(x_449, 0); +lean_inc(x_476); +lean_dec(x_449); +x_477 = lean_ctor_get(x_448, 1); +lean_inc(x_477); +lean_dec(x_448); +x_478 = lean_ctor_get(x_476, 0); +lean_inc(x_478); +x_479 = lean_ctor_get(x_476, 1); +lean_inc(x_479); +if (lean_is_exclusive(x_476)) { + lean_ctor_release(x_476, 0); + lean_ctor_release(x_476, 1); + x_480 = x_476; } else { - x_308 = x_270; - lean_ctor_set_tag(x_308, 1); + lean_dec_ref(x_476); + x_480 = lean_box(0); } -lean_ctor_set(x_308, 0, x_306); -lean_ctor_set(x_308, 1, x_307); -x_271 = x_308; -goto block_284; -} -else -{ -lean_object* x_309; lean_object* x_310; uint8_t x_311; -x_309 = lean_ctor_get(x_306, 0); -lean_inc(x_309); -x_310 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_311 = lean_nat_dec_eq(x_310, x_309); -lean_dec(x_309); -if (x_311 == 0) -{ -lean_object* x_312; -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_270)) { - x_312 = lean_alloc_ctor(1, 2, 0); -} else { - x_312 = x_270; - lean_ctor_set_tag(x_312, 1); -} -lean_ctor_set(x_312, 0, x_306); -lean_ctor_set(x_312, 1, x_307); -x_271 = x_312; -goto block_284; -} -else -{ -lean_object* x_313; -lean_dec(x_306); -lean_dec(x_270); -x_313 = lean_box(0); -x_285 = x_313; -x_286 = x_307; -goto block_305; -} -} -} -} -} -else -{ -uint8_t x_371; -lean_dec(x_12); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -x_371 = !lean_is_exclusive(x_25); -if (x_371 == 0) -{ -return x_25; -} -else -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; -x_372 = lean_ctor_get(x_25, 0); -x_373 = lean_ctor_get(x_25, 1); -lean_inc(x_373); -lean_inc(x_372); -lean_dec(x_25); -x_374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_374, 0, x_372); -lean_ctor_set(x_374, 1, x_373); -return x_374; -} -} -} -block_396: -{ -if (x_376 == 0) -{ -lean_dec(x_6); -x_23 = x_377; -goto block_375; -} -else -{ -lean_object* x_378; -lean_inc(x_2); -x_378 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_378, 0, x_2); -if (lean_obj_tag(x_3) == 0) -{ -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_379 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__7; -x_380 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_380, 0, x_379); -lean_ctor_set(x_380, 1, x_378); -x_381 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_382 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_382, 0, x_380); -lean_ctor_set(x_382, 1, x_381); -x_383 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_382, x_8, x_9, x_10, x_11, x_12, x_13, x_377); -x_384 = lean_ctor_get(x_383, 1); -lean_inc(x_384); -lean_dec(x_383); -x_23 = x_384; -goto block_375; -} -else -{ -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; -x_385 = lean_ctor_get(x_3, 0); -lean_inc(x_385); -x_386 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_386, 0, x_385); -x_387 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__3; -x_388 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_388, 0, x_387); -lean_ctor_set(x_388, 1, x_386); -x_389 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__5; -x_390 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_390, 0, x_388); -lean_ctor_set(x_390, 1, x_389); -x_391 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_391, 0, x_390); -lean_ctor_set(x_391, 1, x_378); -x_392 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_393 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_393, 0, x_391); -lean_ctor_set(x_393, 1, x_392); -x_394 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_393, x_8, x_9, x_10, x_11, x_12, x_13, x_377); -x_395 = lean_ctor_get(x_394, 1); -lean_inc(x_395); -lean_dec(x_394); -x_23 = x_395; -goto block_375; -} -} -} -} -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; uint8_t x_546; lean_object* x_547; lean_object* x_567; lean_object* x_568; lean_object* x_569; uint8_t x_570; -x_408 = lean_ctor_get(x_12, 0); -x_409 = lean_ctor_get(x_12, 2); -x_410 = lean_ctor_get(x_12, 3); -x_411 = lean_ctor_get(x_12, 4); -x_412 = lean_ctor_get(x_12, 5); -x_413 = lean_ctor_get(x_12, 6); -x_414 = lean_ctor_get(x_12, 7); -lean_inc(x_414); -lean_inc(x_413); -lean_inc(x_412); -lean_inc(x_411); -lean_inc(x_410); -lean_inc(x_409); -lean_inc(x_408); -lean_dec(x_12); -lean_inc(x_412); -lean_inc(x_411); -lean_inc(x_410); -lean_inc(x_409); -lean_inc(x_16); -x_415 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_415, 0, x_408); -lean_ctor_set(x_415, 1, x_16); -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_412); -lean_ctor_set(x_415, 6, x_413); -lean_ctor_set(x_415, 7, x_414); -x_567 = lean_st_ref_get(x_13, x_14); -x_568 = lean_ctor_get(x_567, 0); -lean_inc(x_568); -x_569 = lean_ctor_get(x_568, 3); -lean_inc(x_569); -lean_dec(x_568); -x_570 = lean_ctor_get_uint8(x_569, sizeof(void*)*1); -lean_dec(x_569); -if (x_570 == 0) -{ -lean_object* x_571; uint8_t x_572; -x_571 = lean_ctor_get(x_567, 1); -lean_inc(x_571); -lean_dec(x_567); -x_572 = 0; -x_546 = x_572; -x_547 = x_571; -goto block_566; -} -else -{ -lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; uint8_t x_577; -x_573 = lean_ctor_get(x_567, 1); -lean_inc(x_573); -lean_dec(x_567); -lean_inc(x_6); -x_574 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_415, x_13, x_573); -x_575 = lean_ctor_get(x_574, 0); -lean_inc(x_575); -x_576 = lean_ctor_get(x_574, 1); -lean_inc(x_576); -lean_dec(x_574); -x_577 = lean_unbox(x_575); -lean_dec(x_575); -x_546 = x_577; -x_547 = x_576; -goto block_566; -} -block_545: -{ -lean_object* x_417; lean_object* x_418; -x_417 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1; -x_418 = l_Lean_Core_checkMaxHeartbeats(x_417, x_415, x_13, x_416); -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; 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_455; lean_object* x_456; lean_object* x_476; lean_object* x_477; 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; -x_419 = lean_ctor_get(x_418, 1); -lean_inc(x_419); -lean_dec(x_418); -x_420 = lean_st_ref_get(x_13, x_419); -x_421 = lean_ctor_get(x_420, 0); -lean_inc(x_421); -x_422 = lean_ctor_get(x_420, 1); -lean_inc(x_422); -lean_dec(x_420); -x_423 = lean_ctor_get(x_421, 3); -lean_inc(x_423); -lean_dec(x_421); -x_424 = lean_ctor_get(x_423, 0); -lean_inc(x_424); -lean_dec(x_423); -x_425 = lean_st_ref_take(x_13, x_422); -x_426 = lean_ctor_get(x_425, 0); -lean_inc(x_426); -x_427 = lean_ctor_get(x_426, 3); -lean_inc(x_427); -x_428 = lean_ctor_get(x_425, 1); -lean_inc(x_428); -lean_dec(x_425); -x_429 = lean_ctor_get(x_426, 0); -lean_inc(x_429); -x_430 = lean_ctor_get(x_426, 1); -lean_inc(x_430); -x_431 = lean_ctor_get(x_426, 2); -lean_inc(x_431); -if (lean_is_exclusive(x_426)) { - lean_ctor_release(x_426, 0); - lean_ctor_release(x_426, 1); - lean_ctor_release(x_426, 2); - lean_ctor_release(x_426, 3); - x_432 = x_426; -} else { - lean_dec_ref(x_426); - x_432 = lean_box(0); -} -x_433 = lean_ctor_get_uint8(x_427, sizeof(void*)*1); -if (lean_is_exclusive(x_427)) { - lean_ctor_release(x_427, 0); - x_434 = x_427; -} else { - lean_dec_ref(x_427); - x_434 = lean_box(0); -} -x_435 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; -if (lean_is_scalar(x_434)) { - x_436 = lean_alloc_ctor(0, 1, 1); -} else { - x_436 = x_434; -} -lean_ctor_set(x_436, 0, x_435); -lean_ctor_set_uint8(x_436, sizeof(void*)*1, x_433); -if (lean_is_scalar(x_432)) { - x_437 = lean_alloc_ctor(0, 4, 0); -} else { - x_437 = x_432; -} -lean_ctor_set(x_437, 0, x_429); -lean_ctor_set(x_437, 1, x_430); -lean_ctor_set(x_437, 2, x_431); -lean_ctor_set(x_437, 3, x_436); -x_438 = lean_st_ref_set(x_13, x_437, x_428); -x_439 = lean_ctor_get(x_438, 1); -lean_inc(x_439); -if (lean_is_exclusive(x_438)) { - lean_ctor_release(x_438, 0); - lean_ctor_release(x_438, 1); - x_440 = x_438; -} else { - lean_dec_ref(x_438); - x_440 = lean_box(0); -} -x_485 = lean_st_ref_get(x_13, x_439); -x_486 = lean_ctor_get(x_485, 0); -lean_inc(x_486); -x_487 = lean_ctor_get(x_485, 1); -lean_inc(x_487); +x_481 = lean_st_ref_get(x_13, x_477); +x_482 = lean_ctor_get(x_481, 1); +lean_inc(x_482); +lean_dec(x_481); +x_483 = lean_st_ref_get(x_9, x_482); +x_484 = lean_ctor_get(x_483, 0); +lean_inc(x_484); +x_485 = lean_ctor_get(x_484, 5); +lean_inc(x_485); +lean_dec(x_484); +x_486 = lean_ctor_get_uint8(x_485, sizeof(void*)*2); lean_dec(x_485); -x_488 = lean_ctor_get(x_486, 0); -lean_inc(x_488); -lean_dec(x_486); -x_489 = lean_st_ref_get(x_13, x_487); -x_490 = lean_ctor_get(x_489, 0); -lean_inc(x_490); -x_491 = lean_ctor_get(x_489, 1); -lean_inc(x_491); -lean_dec(x_489); -x_492 = lean_ctor_get(x_490, 0); +if (x_486 == 0) +{ +lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; +lean_dec(x_480); +lean_dec(x_478); +x_487 = lean_ctor_get(x_483, 1); +lean_inc(x_487); +lean_dec(x_483); +x_488 = lean_box(x_4); +x_489 = lean_box(x_5); +lean_inc(x_479); +lean_inc(x_2); +x_490 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); +lean_closure_set(x_490, 0, x_2); +lean_closure_set(x_490, 1, x_479); +lean_closure_set(x_490, 2, x_3); +lean_closure_set(x_490, 3, x_488); +lean_closure_set(x_490, 4, x_489); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_491 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_479, x_490, x_8, x_9, x_10, x_11, x_12, x_13, x_487); +x_416 = x_491; +goto block_431; +} +else +{ +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; +x_492 = lean_ctor_get(x_483, 1); lean_inc(x_492); -lean_dec(x_490); -lean_inc(x_492); -x_493 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_493, 0, x_492); -lean_inc(x_411); -x_494 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_494, 0, x_411); -lean_inc(x_492); -x_495 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed), 4, 1); -lean_closure_set(x_495, 0, x_492); -lean_inc(x_412); -lean_inc(x_411); -lean_inc(x_492); -x_496 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___boxed), 6, 3); -lean_closure_set(x_496, 0, x_492); -lean_closure_set(x_496, 1, x_411); -lean_closure_set(x_496, 2, x_412); -lean_inc(x_492); -x_497 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___boxed), 6, 3); -lean_closure_set(x_497, 0, x_492); -lean_closure_set(x_497, 1, x_411); -lean_closure_set(x_497, 2, x_412); -x_498 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_498, 0, x_493); -lean_ctor_set(x_498, 1, x_494); -lean_ctor_set(x_498, 2, x_495); -lean_ctor_set(x_498, 3, x_496); -lean_ctor_set(x_498, 4, x_497); -x_499 = x_498; -x_500 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_415, x_13, x_491); -x_501 = lean_ctor_get(x_500, 0); +lean_dec(x_483); +x_493 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_9, x_10, x_11, x_12, x_13, x_492); +x_494 = lean_ctor_get(x_493, 0); +lean_inc(x_494); +x_495 = lean_ctor_get(x_493, 1); +lean_inc(x_495); +lean_dec(x_493); +x_496 = lean_box(x_4); +x_497 = lean_box(x_5); +lean_inc(x_3); +lean_inc(x_479); +lean_inc(x_2); +x_498 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); +lean_closure_set(x_498, 0, x_2); +lean_closure_set(x_498, 1, x_479); +lean_closure_set(x_498, 2, x_3); +lean_closure_set(x_498, 3, x_496); +lean_closure_set(x_498, 4, x_497); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_2); +x_499 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_479, x_498, x_8, x_9, x_10, x_11, x_12, x_13, x_495); +if (lean_obj_tag(x_499) == 0) +{ +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_500 = lean_ctor_get(x_499, 0); +lean_inc(x_500); +x_501 = lean_ctor_get(x_499, 1); lean_inc(x_501); -x_502 = lean_ctor_get(x_500, 1); -lean_inc(x_502); -lean_dec(x_500); -x_503 = lean_st_ref_get(x_13, x_502); +lean_dec(x_499); +x_502 = lean_box(0); +lean_inc(x_500); +x_503 = l_Lean_Elab_Term_mkTermInfo(x_478, x_2, x_500, x_3, x_502, x_8, x_9, x_10, x_11, x_12, x_13, x_501); x_504 = lean_ctor_get(x_503, 0); lean_inc(x_504); x_505 = lean_ctor_get(x_503, 1); lean_inc(x_505); lean_dec(x_503); -x_506 = lean_ctor_get(x_504, 1); -lean_inc(x_506); -lean_dec(x_504); -x_507 = lean_environment_main_module(x_492); -lean_inc(x_410); -x_508 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_508, 0, x_499); -lean_ctor_set(x_508, 1, x_507); -lean_ctor_set(x_508, 2, x_501); -lean_ctor_set(x_508, 3, x_16); -lean_ctor_set(x_508, 4, x_409); -lean_ctor_set(x_508, 5, x_410); -x_509 = lean_box(0); -x_510 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_510, 0, x_506); -lean_ctor_set(x_510, 1, x_509); -lean_inc(x_2); -x_511 = l_Lean_Elab_getMacros(x_488, x_2, x_508, x_510); -lean_dec(x_488); -if (lean_obj_tag(x_511) == 0) +x_506 = lean_st_ref_get(x_13, x_505); +x_507 = lean_ctor_get(x_506, 1); +lean_inc(x_507); +lean_dec(x_506); +x_508 = lean_st_ref_take(x_9, x_507); +x_509 = lean_ctor_get(x_508, 0); +lean_inc(x_509); +x_510 = lean_ctor_get(x_509, 5); +lean_inc(x_510); +if (lean_obj_tag(x_504) == 0) { -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_dec(x_440); -x_512 = lean_ctor_get(x_511, 0); +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; uint8_t x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; +x_511 = lean_ctor_get(x_508, 1); +lean_inc(x_511); +lean_dec(x_508); +x_512 = lean_ctor_get(x_509, 0); lean_inc(x_512); -x_513 = lean_ctor_get(x_511, 1); +x_513 = lean_ctor_get(x_509, 1); lean_inc(x_513); -lean_dec(x_511); -x_514 = lean_ctor_get(x_513, 0); +x_514 = lean_ctor_get(x_509, 2); lean_inc(x_514); -x_515 = lean_st_ref_take(x_13, x_505); -x_516 = lean_ctor_get(x_515, 0); +x_515 = lean_ctor_get(x_509, 3); +lean_inc(x_515); +x_516 = lean_ctor_get(x_509, 4); lean_inc(x_516); -x_517 = lean_ctor_get(x_515, 1); -lean_inc(x_517); -lean_dec(x_515); -x_518 = lean_ctor_get(x_516, 0); -lean_inc(x_518); -x_519 = lean_ctor_get(x_516, 2); -lean_inc(x_519); -x_520 = lean_ctor_get(x_516, 3); -lean_inc(x_520); -if (lean_is_exclusive(x_516)) { - lean_ctor_release(x_516, 0); - lean_ctor_release(x_516, 1); - lean_ctor_release(x_516, 2); - lean_ctor_release(x_516, 3); - x_521 = x_516; +if (lean_is_exclusive(x_509)) { + lean_ctor_release(x_509, 0); + lean_ctor_release(x_509, 1); + lean_ctor_release(x_509, 2); + lean_ctor_release(x_509, 3); + lean_ctor_release(x_509, 4); + lean_ctor_release(x_509, 5); + x_517 = x_509; } else { - lean_dec_ref(x_516); + lean_dec_ref(x_509); + x_517 = lean_box(0); +} +x_518 = lean_ctor_get_uint8(x_510, sizeof(void*)*2); +x_519 = lean_ctor_get(x_510, 0); +lean_inc(x_519); +x_520 = lean_ctor_get(x_510, 1); +lean_inc(x_520); +if (lean_is_exclusive(x_510)) { + lean_ctor_release(x_510, 0); + lean_ctor_release(x_510, 1); + x_521 = x_510; +} else { + lean_dec_ref(x_510); x_521 = lean_box(0); } +x_522 = lean_ctor_get(x_504, 0); +lean_inc(x_522); +lean_dec(x_504); +x_523 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_523, 0, x_522); +lean_ctor_set(x_523, 1, x_520); +x_524 = l_Std_PersistentArray_push___rarg(x_494, x_523); if (lean_is_scalar(x_521)) { - x_522 = lean_alloc_ctor(0, 4, 0); + x_525 = lean_alloc_ctor(0, 2, 1); } else { - x_522 = x_521; + x_525 = x_521; } -lean_ctor_set(x_522, 0, x_518); -lean_ctor_set(x_522, 1, x_514); -lean_ctor_set(x_522, 2, x_519); -lean_ctor_set(x_522, 3, x_520); -x_523 = lean_st_ref_set(x_13, x_522, x_517); -x_524 = lean_ctor_get(x_523, 1); -lean_inc(x_524); -lean_dec(x_523); -x_525 = lean_ctor_get(x_513, 1); -lean_inc(x_525); -lean_dec(x_513); -x_526 = l_List_reverse___rarg(x_525); -x_527 = l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_526, x_8, x_9, x_10, x_11, x_415, x_13, x_524); +lean_ctor_set(x_525, 0, x_519); +lean_ctor_set(x_525, 1, x_524); +lean_ctor_set_uint8(x_525, sizeof(void*)*2, x_518); +if (lean_is_scalar(x_517)) { + x_526 = lean_alloc_ctor(0, 6, 0); +} else { + x_526 = x_517; +} +lean_ctor_set(x_526, 0, x_512); +lean_ctor_set(x_526, 1, x_513); +lean_ctor_set(x_526, 2, x_514); +lean_ctor_set(x_526, 3, x_515); +lean_ctor_set(x_526, 4, x_516); +lean_ctor_set(x_526, 5, x_525); +x_527 = lean_st_ref_set(x_9, x_526, x_511); x_528 = lean_ctor_get(x_527, 1); lean_inc(x_528); -lean_dec(x_527); -x_529 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_529, 0, x_512); -x_455 = x_529; -x_456 = x_528; -goto block_475; +if (lean_is_exclusive(x_527)) { + lean_ctor_release(x_527, 0); + lean_ctor_release(x_527, 1); + x_529 = x_527; +} else { + lean_dec_ref(x_527); + x_529 = lean_box(0); +} +x_530 = lean_box(0); +if (lean_is_scalar(x_480)) { + x_531 = lean_alloc_ctor(0, 2, 0); +} else { + x_531 = x_480; +} +lean_ctor_set(x_531, 0, x_500); +lean_ctor_set(x_531, 1, x_530); +if (lean_is_scalar(x_529)) { + x_532 = lean_alloc_ctor(0, 2, 0); +} else { + x_532 = x_529; +} +lean_ctor_set(x_532, 0, x_531); +lean_ctor_set(x_532, 1, x_528); +x_432 = x_532; +goto block_442; } else { -lean_object* x_530; -x_530 = lean_ctor_get(x_511, 0); -lean_inc(x_530); -lean_dec(x_511); -if (lean_obj_tag(x_530) == 0) -{ -lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; -x_531 = lean_ctor_get(x_530, 0); -lean_inc(x_531); -x_532 = lean_ctor_get(x_530, 1); -lean_inc(x_532); -lean_dec(x_530); -x_533 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_533, 0, x_532); -x_534 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_534, 0, x_533); -lean_inc(x_415); -lean_inc(x_8); -x_535 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(x_531, x_534, x_8, x_9, x_10, x_11, x_415, x_13, x_505); -lean_dec(x_531); -x_536 = lean_ctor_get(x_535, 0); +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; uint8_t 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; +x_533 = lean_ctor_get(x_508, 1); +lean_inc(x_533); +lean_dec(x_508); +x_534 = lean_ctor_get(x_509, 0); +lean_inc(x_534); +x_535 = lean_ctor_get(x_509, 1); +lean_inc(x_535); +x_536 = lean_ctor_get(x_509, 2); lean_inc(x_536); -x_537 = lean_ctor_get(x_535, 1); +x_537 = lean_ctor_get(x_509, 3); lean_inc(x_537); -lean_dec(x_535); -x_476 = x_536; -x_477 = x_537; -goto block_484; +x_538 = lean_ctor_get(x_509, 4); +lean_inc(x_538); +if (lean_is_exclusive(x_509)) { + lean_ctor_release(x_509, 0); + lean_ctor_release(x_509, 1); + lean_ctor_release(x_509, 2); + lean_ctor_release(x_509, 3); + lean_ctor_release(x_509, 4); + lean_ctor_release(x_509, 5); + x_539 = x_509; +} else { + lean_dec_ref(x_509); + x_539 = lean_box(0); +} +x_540 = lean_ctor_get_uint8(x_510, sizeof(void*)*2); +x_541 = lean_ctor_get(x_510, 0); +lean_inc(x_541); +if (lean_is_exclusive(x_510)) { + lean_ctor_release(x_510, 0); + lean_ctor_release(x_510, 1); + x_542 = x_510; +} else { + lean_dec_ref(x_510); + x_542 = lean_box(0); +} +x_543 = lean_ctor_get(x_504, 0); +lean_inc(x_543); +lean_dec(x_504); +x_544 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_544, 0, x_543); +x_545 = l_Std_PersistentArray_push___rarg(x_494, x_544); +if (lean_is_scalar(x_542)) { + x_546 = lean_alloc_ctor(0, 2, 1); +} else { + x_546 = x_542; +} +lean_ctor_set(x_546, 0, x_541); +lean_ctor_set(x_546, 1, x_545); +lean_ctor_set_uint8(x_546, sizeof(void*)*2, x_540); +if (lean_is_scalar(x_539)) { + x_547 = lean_alloc_ctor(0, 6, 0); +} else { + x_547 = x_539; +} +lean_ctor_set(x_547, 0, x_534); +lean_ctor_set(x_547, 1, x_535); +lean_ctor_set(x_547, 2, x_536); +lean_ctor_set(x_547, 3, x_537); +lean_ctor_set(x_547, 4, x_538); +lean_ctor_set(x_547, 5, x_546); +x_548 = lean_st_ref_set(x_9, x_547, x_533); +x_549 = lean_ctor_get(x_548, 1); +lean_inc(x_549); +if (lean_is_exclusive(x_548)) { + lean_ctor_release(x_548, 0); + lean_ctor_release(x_548, 1); + x_550 = x_548; +} else { + lean_dec_ref(x_548); + x_550 = lean_box(0); +} +x_551 = lean_box(0); +if (lean_is_scalar(x_480)) { + x_552 = lean_alloc_ctor(0, 2, 0); +} else { + x_552 = x_480; +} +lean_ctor_set(x_552, 0, x_500); +lean_ctor_set(x_552, 1, x_551); +if (lean_is_scalar(x_550)) { + x_553 = lean_alloc_ctor(0, 2, 0); +} else { + x_553 = x_550; +} +lean_ctor_set(x_553, 0, x_552); +lean_ctor_set(x_553, 1, x_549); +x_432 = x_553; +goto block_442; +} } else { -lean_object* x_538; lean_object* x_539; lean_object* x_540; -x_538 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg(x_505); -x_539 = lean_ctor_get(x_538, 0); -lean_inc(x_539); -x_540 = lean_ctor_get(x_538, 1); -lean_inc(x_540); -lean_dec(x_538); -x_476 = x_539; -x_477 = x_540; -goto block_484; +lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; uint8_t x_568; lean_object* x_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_dec(x_480); +lean_dec(x_478); +lean_dec(x_3); +lean_dec(x_2); +x_554 = lean_ctor_get(x_499, 0); +lean_inc(x_554); +x_555 = lean_ctor_get(x_499, 1); +lean_inc(x_555); +lean_dec(x_499); +x_556 = lean_st_ref_get(x_13, x_555); +x_557 = lean_ctor_get(x_556, 1); +lean_inc(x_557); +lean_dec(x_556); +x_558 = lean_st_ref_take(x_9, x_557); +x_559 = lean_ctor_get(x_558, 0); +lean_inc(x_559); +x_560 = lean_ctor_get(x_559, 5); +lean_inc(x_560); +x_561 = lean_ctor_get(x_558, 1); +lean_inc(x_561); +lean_dec(x_558); +x_562 = lean_ctor_get(x_559, 0); +lean_inc(x_562); +x_563 = lean_ctor_get(x_559, 1); +lean_inc(x_563); +x_564 = lean_ctor_get(x_559, 2); +lean_inc(x_564); +x_565 = lean_ctor_get(x_559, 3); +lean_inc(x_565); +x_566 = lean_ctor_get(x_559, 4); +lean_inc(x_566); +if (lean_is_exclusive(x_559)) { + lean_ctor_release(x_559, 0); + lean_ctor_release(x_559, 1); + lean_ctor_release(x_559, 2); + lean_ctor_release(x_559, 3); + lean_ctor_release(x_559, 4); + lean_ctor_release(x_559, 5); + x_567 = x_559; +} else { + lean_dec_ref(x_559); + x_567 = lean_box(0); +} +x_568 = lean_ctor_get_uint8(x_560, sizeof(void*)*2); +x_569 = lean_ctor_get(x_560, 0); +lean_inc(x_569); +if (lean_is_exclusive(x_560)) { + lean_ctor_release(x_560, 0); + lean_ctor_release(x_560, 1); + x_570 = x_560; +} else { + lean_dec_ref(x_560); + x_570 = lean_box(0); +} +if (lean_is_scalar(x_570)) { + x_571 = lean_alloc_ctor(0, 2, 1); +} else { + x_571 = x_570; +} +lean_ctor_set(x_571, 0, x_569); +lean_ctor_set(x_571, 1, x_494); +lean_ctor_set_uint8(x_571, sizeof(void*)*2, x_568); +if (lean_is_scalar(x_567)) { + x_572 = lean_alloc_ctor(0, 6, 0); +} else { + x_572 = x_567; +} +lean_ctor_set(x_572, 0, x_562); +lean_ctor_set(x_572, 1, x_563); +lean_ctor_set(x_572, 2, x_564); +lean_ctor_set(x_572, 3, x_565); +lean_ctor_set(x_572, 4, x_566); +lean_ctor_set(x_572, 5, x_571); +x_573 = lean_st_ref_set(x_9, x_572, x_561); +x_574 = lean_ctor_get(x_573, 1); +lean_inc(x_574); +if (lean_is_exclusive(x_573)) { + lean_ctor_release(x_573, 0); + lean_ctor_release(x_573, 1); + x_575 = x_573; +} else { + lean_dec_ref(x_573); + x_575 = lean_box(0); +} +if (lean_is_scalar(x_575)) { + x_576 = lean_alloc_ctor(1, 2, 0); +} else { + x_576 = x_575; + lean_ctor_set_tag(x_576, 1); +} +lean_ctor_set(x_576, 0, x_554); +lean_ctor_set(x_576, 1, x_574); +x_432 = x_576; +goto block_442; } } -block_454: +} +} +else { -if (lean_obj_tag(x_441) == 0) +lean_object* x_577; lean_object* x_578; +lean_dec(x_3); +lean_dec(x_2); +x_577 = lean_ctor_get(x_448, 0); +lean_inc(x_577); +x_578 = lean_ctor_get(x_448, 1); +lean_inc(x_578); +lean_dec(x_448); +x_409 = x_577; +x_410 = x_578; +goto block_415; +} +block_408: { -lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; -x_442 = lean_ctor_get(x_441, 0); -lean_inc(x_442); -x_443 = lean_ctor_get(x_441, 1); -lean_inc(x_443); -lean_dec(x_441); -x_444 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_410, x_424, x_8, x_9, x_10, x_11, x_415, x_13, x_443); +lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; +x_404 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_403); lean_dec(x_13); -lean_dec(x_415); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_445 = lean_ctor_get(x_444, 1); -lean_inc(x_445); -if (lean_is_exclusive(x_444)) { - lean_ctor_release(x_444, 0); - lean_ctor_release(x_444, 1); - x_446 = x_444; +x_405 = lean_ctor_get(x_404, 1); +lean_inc(x_405); +if (lean_is_exclusive(x_404)) { + lean_ctor_release(x_404, 0); + lean_ctor_release(x_404, 1); + x_406 = x_404; } else { - lean_dec_ref(x_444); - x_446 = lean_box(0); + lean_dec_ref(x_404); + x_406 = lean_box(0); } -if (lean_is_scalar(x_446)) { - x_447 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_406)) { + x_407 = lean_alloc_ctor(0, 2, 0); } else { - x_447 = x_446; + x_407 = x_406; } -lean_ctor_set(x_447, 0, x_442); -lean_ctor_set(x_447, 1, x_445); -return x_447; +lean_ctor_set(x_407, 0, x_402); +lean_ctor_set(x_407, 1, x_405); +return x_407; } -else +block_415: { -lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; -x_448 = lean_ctor_get(x_441, 0); -lean_inc(x_448); -x_449 = lean_ctor_get(x_441, 1); -lean_inc(x_449); -lean_dec(x_441); -x_450 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_410, x_424, x_8, x_9, x_10, x_11, x_415, x_13, x_449); +lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; +x_411 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_410); lean_dec(x_13); -lean_dec(x_415); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_451 = lean_ctor_get(x_450, 1); -lean_inc(x_451); -if (lean_is_exclusive(x_450)) { - lean_ctor_release(x_450, 0); - lean_ctor_release(x_450, 1); - x_452 = x_450; +x_412 = lean_ctor_get(x_411, 1); +lean_inc(x_412); +if (lean_is_exclusive(x_411)) { + lean_ctor_release(x_411, 0); + lean_ctor_release(x_411, 1); + x_413 = x_411; } else { - lean_dec_ref(x_450); - x_452 = lean_box(0); + lean_dec_ref(x_411); + x_413 = lean_box(0); } -if (lean_is_scalar(x_452)) { - x_453 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_413)) { + x_414 = lean_alloc_ctor(1, 2, 0); } else { - x_453 = x_452; - lean_ctor_set_tag(x_453, 1); + x_414 = x_413; + lean_ctor_set_tag(x_414, 1); } -lean_ctor_set(x_453, 0, x_448); -lean_ctor_set(x_453, 1, x_451); -return x_453; +lean_ctor_set(x_414, 0, x_409); +lean_ctor_set(x_414, 1, x_412); +return x_414; } -} -block_475: +block_431: { -if (lean_obj_tag(x_455) == 0) +if (lean_obj_tag(x_416) == 0) +{ +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; +x_417 = lean_ctor_get(x_416, 0); +lean_inc(x_417); +x_418 = lean_ctor_get(x_416, 1); +lean_inc(x_418); +lean_dec(x_416); +x_419 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_418); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_420 = lean_ctor_get(x_419, 0); +lean_inc(x_420); +x_421 = lean_ctor_get(x_419, 1); +lean_inc(x_421); +if (lean_is_exclusive(x_419)) { + lean_ctor_release(x_419, 0); + lean_ctor_release(x_419, 1); + x_422 = x_419; +} else { + lean_dec_ref(x_419); + x_422 = lean_box(0); +} +x_423 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_423, 0, x_417); +lean_ctor_set(x_423, 1, x_420); +if (lean_is_scalar(x_422)) { + x_424 = lean_alloc_ctor(0, 2, 0); +} else { + x_424 = x_422; +} +lean_ctor_set(x_424, 0, x_423); +lean_ctor_set(x_424, 1, x_421); +x_15 = x_424; +goto block_27; +} +else +{ +lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; +x_425 = lean_ctor_get(x_416, 0); +lean_inc(x_425); +x_426 = lean_ctor_get(x_416, 1); +lean_inc(x_426); +lean_dec(x_416); +x_427 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_426); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_428 = lean_ctor_get(x_427, 1); +lean_inc(x_428); +if (lean_is_exclusive(x_427)) { + lean_ctor_release(x_427, 0); + lean_ctor_release(x_427, 1); + x_429 = x_427; +} else { + lean_dec_ref(x_427); + x_429 = lean_box(0); +} +if (lean_is_scalar(x_429)) { + x_430 = lean_alloc_ctor(1, 2, 0); +} else { + x_430 = x_429; + lean_ctor_set_tag(x_430, 1); +} +lean_ctor_set(x_430, 0, x_425); +lean_ctor_set(x_430, 1, x_428); +x_15 = x_430; +goto block_27; +} +} +block_442: +{ +if (lean_obj_tag(x_432) == 0) +{ +lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; +x_433 = lean_ctor_get(x_432, 0); +lean_inc(x_433); +x_434 = lean_ctor_get(x_432, 1); +lean_inc(x_434); +if (lean_is_exclusive(x_432)) { + lean_ctor_release(x_432, 0); + lean_ctor_release(x_432, 1); + x_435 = x_432; +} else { + lean_dec_ref(x_432); + x_435 = lean_box(0); +} +x_436 = lean_ctor_get(x_433, 0); +lean_inc(x_436); +lean_dec(x_433); +if (lean_is_scalar(x_435)) { + x_437 = lean_alloc_ctor(0, 2, 0); +} else { + x_437 = x_435; +} +lean_ctor_set(x_437, 0, x_436); +lean_ctor_set(x_437, 1, x_434); +x_416 = x_437; +goto block_431; +} +else +{ +lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; +x_438 = lean_ctor_get(x_432, 0); +lean_inc(x_438); +x_439 = lean_ctor_get(x_432, 1); +lean_inc(x_439); +if (lean_is_exclusive(x_432)) { + lean_ctor_release(x_432, 0); + lean_ctor_release(x_432, 1); + x_440 = x_432; +} else { + lean_dec_ref(x_432); + x_440 = lean_box(0); +} +if (lean_is_scalar(x_440)) { + x_441 = lean_alloc_ctor(1, 2, 0); +} else { + x_441 = x_440; +} +lean_ctor_set(x_441, 0, x_438); +lean_ctor_set(x_441, 1, x_439); +x_416 = x_441; +goto block_431; +} +} +} +} +else +{ +lean_object* x_579; lean_object* x_580; lean_object* x_581; uint8_t 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_596; lean_object* x_597; lean_object* x_603; lean_object* x_619; 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_579 = lean_ctor_get(x_43, 0); +x_580 = lean_ctor_get(x_43, 1); +x_581 = lean_ctor_get(x_43, 2); +lean_inc(x_581); +lean_inc(x_580); +lean_inc(x_579); +lean_dec(x_43); +x_582 = lean_ctor_get_uint8(x_44, sizeof(void*)*1); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + x_583 = x_44; +} else { + lean_dec_ref(x_44); + x_583 = lean_box(0); +} +x_584 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; +if (lean_is_scalar(x_583)) { + x_585 = lean_alloc_ctor(0, 1, 1); +} else { + x_585 = x_583; +} +lean_ctor_set(x_585, 0, x_584); +lean_ctor_set_uint8(x_585, sizeof(void*)*1, x_582); +x_586 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_586, 0, x_579); +lean_ctor_set(x_586, 1, x_580); +lean_ctor_set(x_586, 2, x_581); +lean_ctor_set(x_586, 3, x_585); +x_587 = lean_st_ref_set(x_13, x_586, x_45); +x_588 = lean_ctor_get(x_587, 1); +lean_inc(x_588); +lean_dec(x_587); +x_630 = lean_st_ref_get(x_13, x_588); +x_631 = lean_ctor_get(x_630, 0); +lean_inc(x_631); +x_632 = lean_ctor_get(x_630, 1); +lean_inc(x_632); +lean_dec(x_630); +x_633 = lean_ctor_get(x_631, 0); +lean_inc(x_633); +lean_dec(x_631); +lean_inc(x_2); +x_634 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); +lean_closure_set(x_634, 0, x_633); +lean_closure_set(x_634, 1, x_2); +lean_inc(x_12); +lean_inc(x_8); +x_635 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_634, x_8, x_9, x_10, x_11, x_12, x_13, x_632); +if (lean_obj_tag(x_635) == 0) +{ +lean_object* x_636; +x_636 = lean_ctor_get(x_635, 0); +lean_inc(x_636); +if (lean_obj_tag(x_636) == 0) { if (x_5 == 0) { -lean_object* x_457; lean_object* x_458; -x_457 = lean_box(0); +lean_object* x_637; lean_object* x_638; lean_object* x_639; +x_637 = lean_ctor_get(x_635, 1); +lean_inc(x_637); +lean_dec(x_635); +x_638 = lean_box(0); lean_inc(x_13); -lean_inc(x_415); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_458 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_457, x_8, x_9, x_10, x_11, x_415, x_13, x_456); -x_441 = x_458; -goto block_454; +x_639 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_638, x_8, x_9, x_10, x_11, x_12, x_13, x_637); +if (lean_obj_tag(x_639) == 0) +{ +lean_object* x_640; lean_object* x_641; +x_640 = lean_ctor_get(x_639, 0); +lean_inc(x_640); +x_641 = lean_ctor_get(x_639, 1); +lean_inc(x_641); +lean_dec(x_639); +x_589 = x_640; +x_590 = x_641; +goto block_595; } else { -uint8_t x_459; -x_459 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); -if (x_459 == 0) +lean_object* x_642; lean_object* x_643; +x_642 = lean_ctor_get(x_639, 0); +lean_inc(x_642); +x_643 = lean_ctor_get(x_639, 1); +lean_inc(x_643); +lean_dec(x_639); +x_596 = x_642; +x_597 = x_643; +goto block_602; +} +} +else { -lean_object* x_460; lean_object* x_461; -x_460 = lean_box(0); +uint8_t x_644; +x_644 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); +if (x_644 == 0) +{ +lean_object* x_645; lean_object* x_646; lean_object* x_647; +x_645 = lean_ctor_get(x_635, 1); +lean_inc(x_645); +lean_dec(x_635); +x_646 = lean_box(0); lean_inc(x_13); -lean_inc(x_415); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_461 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_460, x_8, x_9, x_10, x_11, x_415, x_13, x_456); -x_441 = x_461; -goto block_454; +x_647 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_646, x_8, x_9, x_10, x_11, x_12, x_13, x_645); +if (lean_obj_tag(x_647) == 0) +{ +lean_object* x_648; lean_object* x_649; +x_648 = lean_ctor_get(x_647, 0); +lean_inc(x_648); +x_649 = lean_ctor_get(x_647, 1); +lean_inc(x_649); +lean_dec(x_647); +x_589 = x_648; +x_590 = x_649; +goto block_595; } else { -lean_object* x_462; +lean_object* x_650; lean_object* x_651; +x_650 = lean_ctor_get(x_647, 0); +lean_inc(x_650); +x_651 = lean_ctor_get(x_647, 1); +lean_inc(x_651); +lean_dec(x_647); +x_596 = x_650; +x_597 = x_651; +goto block_602; +} +} +else +{ +lean_object* x_652; lean_object* x_653; +x_652 = lean_ctor_get(x_635, 1); +lean_inc(x_652); +lean_dec(x_635); lean_inc(x_13); -lean_inc(x_415); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_3); lean_inc(x_2); -x_462 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_415, x_13, x_456); -if (lean_obj_tag(x_462) == 0) +x_653 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_652); +if (lean_obj_tag(x_653) == 0) { -lean_object* x_463; lean_object* x_464; lean_object* x_465; -x_463 = lean_ctor_get(x_462, 0); -lean_inc(x_463); -x_464 = lean_ctor_get(x_462, 1); -lean_inc(x_464); -lean_dec(x_462); +lean_object* x_654; lean_object* x_655; lean_object* x_656; +x_654 = lean_ctor_get(x_653, 0); +lean_inc(x_654); +x_655 = lean_ctor_get(x_653, 1); +lean_inc(x_655); +lean_dec(x_653); lean_inc(x_13); -lean_inc(x_415); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_465 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_463, x_8, x_9, x_10, x_11, x_415, x_13, x_464); -x_441 = x_465; -goto block_454; +x_656 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_654, x_8, x_9, x_10, x_11, x_12, x_13, x_655); +if (lean_obj_tag(x_656) == 0) +{ +lean_object* x_657; lean_object* x_658; +x_657 = lean_ctor_get(x_656, 0); +lean_inc(x_657); +x_658 = lean_ctor_get(x_656, 1); +lean_inc(x_658); +lean_dec(x_656); +x_589 = x_657; +x_590 = x_658; +goto block_595; } else { -lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; +lean_object* x_659; lean_object* x_660; +x_659 = lean_ctor_get(x_656, 0); +lean_inc(x_659); +x_660 = lean_ctor_get(x_656, 1); +lean_inc(x_660); +lean_dec(x_656); +x_596 = x_659; +x_597 = x_660; +goto block_602; +} +} +else +{ +lean_object* x_661; lean_object* x_662; lean_dec(x_3); lean_dec(x_2); -x_466 = lean_ctor_get(x_462, 0); -lean_inc(x_466); -x_467 = lean_ctor_get(x_462, 1); -lean_inc(x_467); -if (lean_is_exclusive(x_462)) { - lean_ctor_release(x_462, 0); - lean_ctor_release(x_462, 1); - x_468 = x_462; -} else { - lean_dec_ref(x_462); - x_468 = lean_box(0); -} -if (lean_is_scalar(x_468)) { - x_469 = lean_alloc_ctor(1, 2, 0); -} else { - x_469 = x_468; -} -lean_ctor_set(x_469, 0, x_466); -lean_ctor_set(x_469, 1, x_467); -x_441 = x_469; -goto block_454; +x_661 = lean_ctor_get(x_653, 0); +lean_inc(x_661); +x_662 = lean_ctor_get(x_653, 1); +lean_inc(x_662); +lean_dec(x_653); +x_596 = x_661; +x_597 = x_662; +goto block_602; } } } } else { -lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; -x_470 = lean_ctor_get(x_455, 0); -lean_inc(x_470); -lean_dec(x_455); -x_471 = lean_box(x_4); -x_472 = lean_box(x_5); -lean_inc(x_470); +lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; uint8_t x_673; +x_663 = lean_ctor_get(x_636, 0); +lean_inc(x_663); +lean_dec(x_636); +x_664 = lean_ctor_get(x_635, 1); +lean_inc(x_664); +lean_dec(x_635); +x_665 = lean_ctor_get(x_663, 0); +lean_inc(x_665); +x_666 = lean_ctor_get(x_663, 1); +lean_inc(x_666); +if (lean_is_exclusive(x_663)) { + lean_ctor_release(x_663, 0); + lean_ctor_release(x_663, 1); + x_667 = x_663; +} else { + lean_dec_ref(x_663); + x_667 = lean_box(0); +} +x_668 = lean_st_ref_get(x_13, x_664); +x_669 = lean_ctor_get(x_668, 1); +lean_inc(x_669); +lean_dec(x_668); +x_670 = lean_st_ref_get(x_9, x_669); +x_671 = lean_ctor_get(x_670, 0); +lean_inc(x_671); +x_672 = lean_ctor_get(x_671, 5); +lean_inc(x_672); +lean_dec(x_671); +x_673 = lean_ctor_get_uint8(x_672, sizeof(void*)*2); +lean_dec(x_672); +if (x_673 == 0) +{ +lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; +lean_dec(x_667); +lean_dec(x_665); +x_674 = lean_ctor_get(x_670, 1); +lean_inc(x_674); +lean_dec(x_670); +x_675 = lean_box(x_4); +x_676 = lean_box(x_5); +lean_inc(x_666); lean_inc(x_2); -x_473 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_473, 0, x_2); -lean_closure_set(x_473, 1, x_470); -lean_closure_set(x_473, 2, x_3); -lean_closure_set(x_473, 3, x_471); -lean_closure_set(x_473, 4, x_472); +x_677 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); +lean_closure_set(x_677, 0, x_2); +lean_closure_set(x_677, 1, x_666); +lean_closure_set(x_677, 2, x_3); +lean_closure_set(x_677, 3, x_675); +lean_closure_set(x_677, 4, x_676); lean_inc(x_13); -lean_inc(x_415); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_474 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_2, x_470, x_473, x_8, x_9, x_10, x_11, x_415, x_13, x_456); -x_441 = x_474; -goto block_454; +x_678 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_666, x_677, x_8, x_9, x_10, x_11, x_12, x_13, x_674); +x_603 = x_678; +goto block_618; +} +else +{ +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; +x_679 = lean_ctor_get(x_670, 1); +lean_inc(x_679); +lean_dec(x_670); +x_680 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_9, x_10, x_11, x_12, x_13, x_679); +x_681 = lean_ctor_get(x_680, 0); +lean_inc(x_681); +x_682 = lean_ctor_get(x_680, 1); +lean_inc(x_682); +lean_dec(x_680); +x_683 = lean_box(x_4); +x_684 = lean_box(x_5); +lean_inc(x_3); +lean_inc(x_666); +lean_inc(x_2); +x_685 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); +lean_closure_set(x_685, 0, x_2); +lean_closure_set(x_685, 1, x_666); +lean_closure_set(x_685, 2, x_3); +lean_closure_set(x_685, 3, x_683); +lean_closure_set(x_685, 4, x_684); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_2); +x_686 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_666, x_685, x_8, x_9, x_10, x_11, x_12, x_13, x_682); +if (lean_obj_tag(x_686) == 0) +{ +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; +x_687 = lean_ctor_get(x_686, 0); +lean_inc(x_687); +x_688 = lean_ctor_get(x_686, 1); +lean_inc(x_688); +lean_dec(x_686); +x_689 = lean_box(0); +lean_inc(x_687); +x_690 = l_Lean_Elab_Term_mkTermInfo(x_665, x_2, x_687, x_3, x_689, x_8, x_9, x_10, x_11, x_12, x_13, x_688); +x_691 = lean_ctor_get(x_690, 0); +lean_inc(x_691); +x_692 = lean_ctor_get(x_690, 1); +lean_inc(x_692); +lean_dec(x_690); +x_693 = lean_st_ref_get(x_13, x_692); +x_694 = lean_ctor_get(x_693, 1); +lean_inc(x_694); +lean_dec(x_693); +x_695 = lean_st_ref_take(x_9, x_694); +x_696 = lean_ctor_get(x_695, 0); +lean_inc(x_696); +x_697 = lean_ctor_get(x_696, 5); +lean_inc(x_697); +if (lean_obj_tag(x_691) == 0) +{ +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; uint8_t 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; +x_698 = lean_ctor_get(x_695, 1); +lean_inc(x_698); +lean_dec(x_695); +x_699 = lean_ctor_get(x_696, 0); +lean_inc(x_699); +x_700 = lean_ctor_get(x_696, 1); +lean_inc(x_700); +x_701 = lean_ctor_get(x_696, 2); +lean_inc(x_701); +x_702 = lean_ctor_get(x_696, 3); +lean_inc(x_702); +x_703 = lean_ctor_get(x_696, 4); +lean_inc(x_703); +if (lean_is_exclusive(x_696)) { + lean_ctor_release(x_696, 0); + lean_ctor_release(x_696, 1); + lean_ctor_release(x_696, 2); + lean_ctor_release(x_696, 3); + lean_ctor_release(x_696, 4); + lean_ctor_release(x_696, 5); + x_704 = x_696; +} else { + lean_dec_ref(x_696); + x_704 = lean_box(0); +} +x_705 = lean_ctor_get_uint8(x_697, sizeof(void*)*2); +x_706 = lean_ctor_get(x_697, 0); +lean_inc(x_706); +x_707 = lean_ctor_get(x_697, 1); +lean_inc(x_707); +if (lean_is_exclusive(x_697)) { + lean_ctor_release(x_697, 0); + lean_ctor_release(x_697, 1); + x_708 = x_697; +} else { + lean_dec_ref(x_697); + x_708 = lean_box(0); +} +x_709 = lean_ctor_get(x_691, 0); +lean_inc(x_709); +lean_dec(x_691); +x_710 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_710, 0, x_709); +lean_ctor_set(x_710, 1, x_707); +x_711 = l_Std_PersistentArray_push___rarg(x_681, x_710); +if (lean_is_scalar(x_708)) { + x_712 = lean_alloc_ctor(0, 2, 1); +} else { + x_712 = x_708; +} +lean_ctor_set(x_712, 0, x_706); +lean_ctor_set(x_712, 1, x_711); +lean_ctor_set_uint8(x_712, sizeof(void*)*2, x_705); +if (lean_is_scalar(x_704)) { + x_713 = lean_alloc_ctor(0, 6, 0); +} else { + x_713 = x_704; +} +lean_ctor_set(x_713, 0, x_699); +lean_ctor_set(x_713, 1, x_700); +lean_ctor_set(x_713, 2, x_701); +lean_ctor_set(x_713, 3, x_702); +lean_ctor_set(x_713, 4, x_703); +lean_ctor_set(x_713, 5, x_712); +x_714 = lean_st_ref_set(x_9, x_713, x_698); +x_715 = lean_ctor_get(x_714, 1); +lean_inc(x_715); +if (lean_is_exclusive(x_714)) { + lean_ctor_release(x_714, 0); + lean_ctor_release(x_714, 1); + x_716 = x_714; +} else { + lean_dec_ref(x_714); + x_716 = lean_box(0); +} +x_717 = lean_box(0); +if (lean_is_scalar(x_667)) { + x_718 = lean_alloc_ctor(0, 2, 0); +} else { + x_718 = x_667; +} +lean_ctor_set(x_718, 0, x_687); +lean_ctor_set(x_718, 1, x_717); +if (lean_is_scalar(x_716)) { + x_719 = lean_alloc_ctor(0, 2, 0); +} else { + x_719 = x_716; +} +lean_ctor_set(x_719, 0, x_718); +lean_ctor_set(x_719, 1, x_715); +x_619 = x_719; +goto block_629; +} +else +{ +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; uint8_t 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; +x_720 = lean_ctor_get(x_695, 1); +lean_inc(x_720); +lean_dec(x_695); +x_721 = lean_ctor_get(x_696, 0); +lean_inc(x_721); +x_722 = lean_ctor_get(x_696, 1); +lean_inc(x_722); +x_723 = lean_ctor_get(x_696, 2); +lean_inc(x_723); +x_724 = lean_ctor_get(x_696, 3); +lean_inc(x_724); +x_725 = lean_ctor_get(x_696, 4); +lean_inc(x_725); +if (lean_is_exclusive(x_696)) { + lean_ctor_release(x_696, 0); + lean_ctor_release(x_696, 1); + lean_ctor_release(x_696, 2); + lean_ctor_release(x_696, 3); + lean_ctor_release(x_696, 4); + lean_ctor_release(x_696, 5); + x_726 = x_696; +} else { + lean_dec_ref(x_696); + x_726 = lean_box(0); +} +x_727 = lean_ctor_get_uint8(x_697, sizeof(void*)*2); +x_728 = lean_ctor_get(x_697, 0); +lean_inc(x_728); +if (lean_is_exclusive(x_697)) { + lean_ctor_release(x_697, 0); + lean_ctor_release(x_697, 1); + x_729 = x_697; +} else { + lean_dec_ref(x_697); + x_729 = lean_box(0); +} +x_730 = lean_ctor_get(x_691, 0); +lean_inc(x_730); +lean_dec(x_691); +x_731 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_731, 0, x_730); +x_732 = l_Std_PersistentArray_push___rarg(x_681, x_731); +if (lean_is_scalar(x_729)) { + x_733 = lean_alloc_ctor(0, 2, 1); +} else { + x_733 = x_729; +} +lean_ctor_set(x_733, 0, x_728); +lean_ctor_set(x_733, 1, x_732); +lean_ctor_set_uint8(x_733, sizeof(void*)*2, x_727); +if (lean_is_scalar(x_726)) { + x_734 = lean_alloc_ctor(0, 6, 0); +} else { + x_734 = x_726; +} +lean_ctor_set(x_734, 0, x_721); +lean_ctor_set(x_734, 1, x_722); +lean_ctor_set(x_734, 2, x_723); +lean_ctor_set(x_734, 3, x_724); +lean_ctor_set(x_734, 4, x_725); +lean_ctor_set(x_734, 5, x_733); +x_735 = lean_st_ref_set(x_9, x_734, x_720); +x_736 = lean_ctor_get(x_735, 1); +lean_inc(x_736); +if (lean_is_exclusive(x_735)) { + lean_ctor_release(x_735, 0); + lean_ctor_release(x_735, 1); + x_737 = x_735; +} else { + lean_dec_ref(x_735); + x_737 = lean_box(0); +} +x_738 = lean_box(0); +if (lean_is_scalar(x_667)) { + x_739 = lean_alloc_ctor(0, 2, 0); +} else { + x_739 = x_667; +} +lean_ctor_set(x_739, 0, x_687); +lean_ctor_set(x_739, 1, x_738); +if (lean_is_scalar(x_737)) { + x_740 = lean_alloc_ctor(0, 2, 0); +} else { + x_740 = x_737; +} +lean_ctor_set(x_740, 0, x_739); +lean_ctor_set(x_740, 1, x_736); +x_619 = x_740; +goto block_629; } } -block_484: +else { -if (lean_obj_tag(x_476) == 0) -{ -lean_object* x_478; +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; uint8_t 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_dec(x_667); +lean_dec(x_665); lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_440)) { - x_478 = lean_alloc_ctor(1, 2, 0); +x_741 = lean_ctor_get(x_686, 0); +lean_inc(x_741); +x_742 = lean_ctor_get(x_686, 1); +lean_inc(x_742); +lean_dec(x_686); +x_743 = lean_st_ref_get(x_13, x_742); +x_744 = lean_ctor_get(x_743, 1); +lean_inc(x_744); +lean_dec(x_743); +x_745 = lean_st_ref_take(x_9, x_744); +x_746 = lean_ctor_get(x_745, 0); +lean_inc(x_746); +x_747 = lean_ctor_get(x_746, 5); +lean_inc(x_747); +x_748 = lean_ctor_get(x_745, 1); +lean_inc(x_748); +lean_dec(x_745); +x_749 = lean_ctor_get(x_746, 0); +lean_inc(x_749); +x_750 = lean_ctor_get(x_746, 1); +lean_inc(x_750); +x_751 = lean_ctor_get(x_746, 2); +lean_inc(x_751); +x_752 = lean_ctor_get(x_746, 3); +lean_inc(x_752); +x_753 = lean_ctor_get(x_746, 4); +lean_inc(x_753); +if (lean_is_exclusive(x_746)) { + lean_ctor_release(x_746, 0); + lean_ctor_release(x_746, 1); + lean_ctor_release(x_746, 2); + lean_ctor_release(x_746, 3); + lean_ctor_release(x_746, 4); + lean_ctor_release(x_746, 5); + x_754 = x_746; } else { - x_478 = x_440; - lean_ctor_set_tag(x_478, 1); + lean_dec_ref(x_746); + x_754 = lean_box(0); +} +x_755 = lean_ctor_get_uint8(x_747, sizeof(void*)*2); +x_756 = lean_ctor_get(x_747, 0); +lean_inc(x_756); +if (lean_is_exclusive(x_747)) { + lean_ctor_release(x_747, 0); + lean_ctor_release(x_747, 1); + x_757 = x_747; +} else { + lean_dec_ref(x_747); + x_757 = lean_box(0); +} +if (lean_is_scalar(x_757)) { + x_758 = lean_alloc_ctor(0, 2, 1); +} else { + x_758 = x_757; +} +lean_ctor_set(x_758, 0, x_756); +lean_ctor_set(x_758, 1, x_681); +lean_ctor_set_uint8(x_758, sizeof(void*)*2, x_755); +if (lean_is_scalar(x_754)) { + x_759 = lean_alloc_ctor(0, 6, 0); +} else { + x_759 = x_754; +} +lean_ctor_set(x_759, 0, x_749); +lean_ctor_set(x_759, 1, x_750); +lean_ctor_set(x_759, 2, x_751); +lean_ctor_set(x_759, 3, x_752); +lean_ctor_set(x_759, 4, x_753); +lean_ctor_set(x_759, 5, x_758); +x_760 = lean_st_ref_set(x_9, x_759, x_748); +x_761 = lean_ctor_get(x_760, 1); +lean_inc(x_761); +if (lean_is_exclusive(x_760)) { + lean_ctor_release(x_760, 0); + lean_ctor_release(x_760, 1); + x_762 = x_760; +} else { + lean_dec_ref(x_760); + x_762 = lean_box(0); +} +if (lean_is_scalar(x_762)) { + x_763 = lean_alloc_ctor(1, 2, 0); +} else { + x_763 = x_762; + lean_ctor_set_tag(x_763, 1); +} +lean_ctor_set(x_763, 0, x_741); +lean_ctor_set(x_763, 1, x_761); +x_619 = x_763; +goto block_629; +} +} } -lean_ctor_set(x_478, 0, x_476); -lean_ctor_set(x_478, 1, x_477); -x_441 = x_478; -goto block_454; } else { -lean_object* x_479; lean_object* x_480; uint8_t x_481; -x_479 = lean_ctor_get(x_476, 0); -lean_inc(x_479); -x_480 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_481 = lean_nat_dec_eq(x_480, x_479); -lean_dec(x_479); -if (x_481 == 0) -{ -lean_object* x_482; +lean_object* x_764; lean_object* x_765; lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_440)) { - x_482 = lean_alloc_ctor(1, 2, 0); +x_764 = lean_ctor_get(x_635, 0); +lean_inc(x_764); +x_765 = lean_ctor_get(x_635, 1); +lean_inc(x_765); +lean_dec(x_635); +x_596 = x_764; +x_597 = x_765; +goto block_602; +} +block_595: +{ +lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; +x_591 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_590); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_592 = lean_ctor_get(x_591, 1); +lean_inc(x_592); +if (lean_is_exclusive(x_591)) { + lean_ctor_release(x_591, 0); + lean_ctor_release(x_591, 1); + x_593 = x_591; } else { - x_482 = x_440; - lean_ctor_set_tag(x_482, 1); + lean_dec_ref(x_591); + x_593 = lean_box(0); } -lean_ctor_set(x_482, 0, x_476); -lean_ctor_set(x_482, 1, x_477); -x_441 = x_482; -goto block_454; +if (lean_is_scalar(x_593)) { + x_594 = lean_alloc_ctor(0, 2, 0); +} else { + x_594 = x_593; +} +lean_ctor_set(x_594, 0, x_589); +lean_ctor_set(x_594, 1, x_592); +return x_594; +} +block_602: +{ +lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; +x_598 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_597); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_599 = lean_ctor_get(x_598, 1); +lean_inc(x_599); +if (lean_is_exclusive(x_598)) { + lean_ctor_release(x_598, 0); + lean_ctor_release(x_598, 1); + 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(1, 2, 0); +} else { + x_601 = x_600; + lean_ctor_set_tag(x_601, 1); +} +lean_ctor_set(x_601, 0, x_596); +lean_ctor_set(x_601, 1, x_599); +return x_601; +} +block_618: +{ +if (lean_obj_tag(x_603) == 0) +{ +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; +x_604 = lean_ctor_get(x_603, 0); +lean_inc(x_604); +x_605 = lean_ctor_get(x_603, 1); +lean_inc(x_605); +lean_dec(x_603); +x_606 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_605); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_607 = lean_ctor_get(x_606, 0); +lean_inc(x_607); +x_608 = lean_ctor_get(x_606, 1); +lean_inc(x_608); +if (lean_is_exclusive(x_606)) { + lean_ctor_release(x_606, 0); + lean_ctor_release(x_606, 1); + x_609 = x_606; +} else { + lean_dec_ref(x_606); + x_609 = lean_box(0); +} +x_610 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_610, 0, x_604); +lean_ctor_set(x_610, 1, x_607); +if (lean_is_scalar(x_609)) { + x_611 = lean_alloc_ctor(0, 2, 0); +} else { + x_611 = x_609; +} +lean_ctor_set(x_611, 0, x_610); +lean_ctor_set(x_611, 1, x_608); +x_15 = x_611; +goto block_27; } else { -lean_object* x_483; -lean_dec(x_476); -lean_dec(x_440); -x_483 = lean_box(0); -x_455 = x_483; -x_456 = x_477; -goto block_475; +lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; +x_612 = lean_ctor_get(x_603, 0); +lean_inc(x_612); +x_613 = lean_ctor_get(x_603, 1); +lean_inc(x_613); +lean_dec(x_603); +x_614 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_31, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_613); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_615 = lean_ctor_get(x_614, 1); +lean_inc(x_615); +if (lean_is_exclusive(x_614)) { + lean_ctor_release(x_614, 0); + lean_ctor_release(x_614, 1); + x_616 = x_614; +} else { + lean_dec_ref(x_614); + x_616 = lean_box(0); +} +if (lean_is_scalar(x_616)) { + x_617 = lean_alloc_ctor(1, 2, 0); +} else { + x_617 = x_616; + lean_ctor_set_tag(x_617, 1); +} +lean_ctor_set(x_617, 0, x_612); +lean_ctor_set(x_617, 1, x_615); +x_15 = x_617; +goto block_27; +} +} +block_629: +{ +if (lean_obj_tag(x_619) == 0) +{ +lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; +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 = lean_ctor_get(x_620, 0); +lean_inc(x_623); +lean_dec(x_620); +if (lean_is_scalar(x_622)) { + x_624 = lean_alloc_ctor(0, 2, 0); +} else { + x_624 = x_622; +} +lean_ctor_set(x_624, 0, x_623); +lean_ctor_set(x_624, 1, x_621); +x_603 = x_624; +goto block_618; +} +else +{ +lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; +x_625 = lean_ctor_get(x_619, 0); +lean_inc(x_625); +x_626 = lean_ctor_get(x_619, 1); +lean_inc(x_626); +if (lean_is_exclusive(x_619)) { + lean_ctor_release(x_619, 0); + lean_ctor_release(x_619, 1); + x_627 = x_619; +} else { + lean_dec_ref(x_619); + x_627 = lean_box(0); +} +if (lean_is_scalar(x_627)) { + x_628 = lean_alloc_ctor(1, 2, 0); +} else { + x_628 = x_627; +} +lean_ctor_set(x_628, 0, x_625); +lean_ctor_set(x_628, 1, x_626); +x_603 = x_628; +goto block_618; } } } } else { -lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; -lean_dec(x_415); -lean_dec(x_412); -lean_dec(x_411); -lean_dec(x_410); -lean_dec(x_409); -lean_dec(x_16); +uint8_t x_766; +lean_dec(x_12); +lean_dec(x_31); lean_dec(x_13); lean_dec(x_11); lean_dec(x_10); @@ -30413,92 +33521,1178 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_541 = lean_ctor_get(x_418, 0); -lean_inc(x_541); -x_542 = lean_ctor_get(x_418, 1); -lean_inc(x_542); -if (lean_is_exclusive(x_418)) { - lean_ctor_release(x_418, 0); - lean_ctor_release(x_418, 1); - x_543 = x_418; -} else { - lean_dec_ref(x_418); - x_543 = lean_box(0); -} -if (lean_is_scalar(x_543)) { - x_544 = lean_alloc_ctor(1, 2, 0); -} else { - x_544 = x_543; -} -lean_ctor_set(x_544, 0, x_541); -lean_ctor_set(x_544, 1, x_542); -return x_544; -} -} -block_566: +x_766 = !lean_is_exclusive(x_35); +if (x_766 == 0) { -if (x_546 == 0) +return x_35; +} +else +{ +lean_object* x_767; lean_object* x_768; lean_object* x_769; +x_767 = lean_ctor_get(x_35, 0); +x_768 = lean_ctor_get(x_35, 1); +lean_inc(x_768); +lean_inc(x_767); +lean_dec(x_35); +x_769 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_769, 0, x_767); +lean_ctor_set(x_769, 1, x_768); +return x_769; +} +} +} +block_791: +{ +if (x_771 == 0) { lean_dec(x_6); -x_416 = x_547; -goto block_545; +x_33 = x_772; +goto block_770; } else { -lean_object* x_548; +lean_object* x_773; lean_inc(x_2); -x_548 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_548, 0, x_2); +x_773 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_773, 0, x_2); if (lean_obj_tag(x_3) == 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; -x_549 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__7; -x_550 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_550, 0, x_549); -lean_ctor_set(x_550, 1, x_548); -x_551 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_552 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_552, 0, x_550); -lean_ctor_set(x_552, 1, x_551); -x_553 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_552, x_8, x_9, x_10, x_11, x_415, x_13, x_547); -x_554 = lean_ctor_get(x_553, 1); -lean_inc(x_554); -lean_dec(x_553); -x_416 = x_554; -goto block_545; +lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; +x_774 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7; +x_775 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_775, 0, x_774); +lean_ctor_set(x_775, 1, x_773); +x_776 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_777 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_777, 0, x_775); +lean_ctor_set(x_777, 1, x_776); +x_778 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_777, x_8, x_9, x_10, x_11, x_12, x_13, x_772); +x_779 = lean_ctor_get(x_778, 1); +lean_inc(x_779); +lean_dec(x_778); +x_33 = x_779; +goto block_770; } else { -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; -x_555 = lean_ctor_get(x_3, 0); -lean_inc(x_555); -x_556 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_556, 0, x_555); -x_557 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__3; -x_558 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_558, 0, x_557); -lean_ctor_set(x_558, 1, x_556); -x_559 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__5; -x_560 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_560, 0, x_558); -lean_ctor_set(x_560, 1, x_559); -x_561 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_561, 0, x_560); -lean_ctor_set(x_561, 1, x_548); -x_562 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_563 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_563, 0, x_561); -lean_ctor_set(x_563, 1, x_562); -x_564 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_563, x_8, x_9, x_10, x_11, x_415, x_13, x_547); -x_565 = lean_ctor_get(x_564, 1); -lean_inc(x_565); -lean_dec(x_564); -x_416 = x_565; -goto block_545; +lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; +x_780 = lean_ctor_get(x_3, 0); +lean_inc(x_780); +x_781 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_781, 0, x_780); +x_782 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; +x_783 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_783, 0, x_782); +lean_ctor_set(x_783, 1, x_781); +x_784 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; +x_785 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_785, 0, x_783); +lean_ctor_set(x_785, 1, x_784); +x_786 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_786, 0, x_785); +lean_ctor_set(x_786, 1, x_773); +x_787 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_788 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_788, 0, x_786); +lean_ctor_set(x_788, 1, x_787); +x_789 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_788, x_8, x_9, x_10, x_11, x_12, x_13, x_772); +x_790 = lean_ctor_get(x_789, 1); +lean_inc(x_790); +lean_dec(x_789); +x_33 = x_790; +goto block_770; } } } } +else +{ +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; uint8_t x_1017; lean_object* x_1018; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; uint8_t x_1041; +x_803 = lean_ctor_get(x_12, 0); +x_804 = lean_ctor_get(x_12, 2); +x_805 = lean_ctor_get(x_12, 3); +x_806 = lean_ctor_get(x_12, 4); +x_807 = lean_ctor_get(x_12, 5); +x_808 = lean_ctor_get(x_12, 6); +x_809 = lean_ctor_get(x_12, 7); +lean_inc(x_809); +lean_inc(x_808); +lean_inc(x_807); +lean_inc(x_806); +lean_inc(x_805); +lean_inc(x_804); +lean_inc(x_803); +lean_dec(x_12); +lean_inc(x_805); +x_810 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_810, 0, x_803); +lean_ctor_set(x_810, 1, x_29); +lean_ctor_set(x_810, 2, x_804); +lean_ctor_set(x_810, 3, x_805); +lean_ctor_set(x_810, 4, x_806); +lean_ctor_set(x_810, 5, x_807); +lean_ctor_set(x_810, 6, x_808); +lean_ctor_set(x_810, 7, x_809); +x_1038 = lean_st_ref_get(x_13, x_14); +x_1039 = lean_ctor_get(x_1038, 0); +lean_inc(x_1039); +x_1040 = lean_ctor_get(x_1039, 3); +lean_inc(x_1040); +lean_dec(x_1039); +x_1041 = lean_ctor_get_uint8(x_1040, sizeof(void*)*1); +lean_dec(x_1040); +if (x_1041 == 0) +{ +lean_object* x_1042; uint8_t x_1043; +x_1042 = lean_ctor_get(x_1038, 1); +lean_inc(x_1042); +lean_dec(x_1038); +x_1043 = 0; +x_1017 = x_1043; +x_1018 = x_1042; +goto block_1037; +} +else +{ +lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; uint8_t x_1048; +x_1044 = lean_ctor_get(x_1038, 1); +lean_inc(x_1044); +lean_dec(x_1038); +lean_inc(x_6); +x_1045 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_810, x_13, x_1044); +x_1046 = lean_ctor_get(x_1045, 0); +lean_inc(x_1046); +x_1047 = lean_ctor_get(x_1045, 1); +lean_inc(x_1047); +lean_dec(x_1045); +x_1048 = lean_unbox(x_1046); +lean_dec(x_1046); +x_1017 = x_1048; +x_1018 = x_1047; +goto block_1037; +} +block_1016: +{ +lean_object* x_812; lean_object* x_813; +x_812 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1; +x_813 = l_Lean_Core_checkMaxHeartbeats(x_812, x_810, x_13, x_811); +if (lean_obj_tag(x_813) == 0) +{ +lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; uint8_t 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_842; lean_object* x_843; lean_object* x_849; lean_object* x_865; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; +x_814 = lean_ctor_get(x_813, 1); +lean_inc(x_814); +lean_dec(x_813); +x_815 = lean_st_ref_get(x_13, x_814); +x_816 = lean_ctor_get(x_815, 0); +lean_inc(x_816); +x_817 = lean_ctor_get(x_815, 1); +lean_inc(x_817); +lean_dec(x_815); +x_818 = lean_ctor_get(x_816, 3); +lean_inc(x_818); +lean_dec(x_816); +x_819 = lean_ctor_get(x_818, 0); +lean_inc(x_819); +lean_dec(x_818); +x_820 = lean_st_ref_take(x_13, x_817); +x_821 = lean_ctor_get(x_820, 0); +lean_inc(x_821); +x_822 = lean_ctor_get(x_821, 3); +lean_inc(x_822); +x_823 = lean_ctor_get(x_820, 1); +lean_inc(x_823); +lean_dec(x_820); +x_824 = lean_ctor_get(x_821, 0); +lean_inc(x_824); +x_825 = lean_ctor_get(x_821, 1); +lean_inc(x_825); +x_826 = lean_ctor_get(x_821, 2); +lean_inc(x_826); +if (lean_is_exclusive(x_821)) { + lean_ctor_release(x_821, 0); + lean_ctor_release(x_821, 1); + lean_ctor_release(x_821, 2); + lean_ctor_release(x_821, 3); + x_827 = x_821; +} else { + lean_dec_ref(x_821); + x_827 = lean_box(0); +} +x_828 = lean_ctor_get_uint8(x_822, sizeof(void*)*1); +if (lean_is_exclusive(x_822)) { + lean_ctor_release(x_822, 0); + x_829 = x_822; +} else { + lean_dec_ref(x_822); + x_829 = lean_box(0); +} +x_830 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; +if (lean_is_scalar(x_829)) { + x_831 = lean_alloc_ctor(0, 1, 1); +} else { + x_831 = x_829; +} +lean_ctor_set(x_831, 0, x_830); +lean_ctor_set_uint8(x_831, sizeof(void*)*1, x_828); +if (lean_is_scalar(x_827)) { + x_832 = lean_alloc_ctor(0, 4, 0); +} else { + x_832 = x_827; +} +lean_ctor_set(x_832, 0, x_824); +lean_ctor_set(x_832, 1, x_825); +lean_ctor_set(x_832, 2, x_826); +lean_ctor_set(x_832, 3, x_831); +x_833 = lean_st_ref_set(x_13, x_832, x_823); +x_834 = lean_ctor_get(x_833, 1); +lean_inc(x_834); +lean_dec(x_833); +x_876 = lean_st_ref_get(x_13, x_834); +x_877 = lean_ctor_get(x_876, 0); +lean_inc(x_877); +x_878 = lean_ctor_get(x_876, 1); +lean_inc(x_878); +lean_dec(x_876); +x_879 = lean_ctor_get(x_877, 0); +lean_inc(x_879); +lean_dec(x_877); +lean_inc(x_2); +x_880 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f___boxed), 4, 2); +lean_closure_set(x_880, 0, x_879); +lean_closure_set(x_880, 1, x_2); +lean_inc(x_810); +lean_inc(x_8); +x_881 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_880, x_8, x_9, x_10, x_11, x_810, x_13, x_878); +if (lean_obj_tag(x_881) == 0) +{ +lean_object* x_882; +x_882 = lean_ctor_get(x_881, 0); +lean_inc(x_882); +if (lean_obj_tag(x_882) == 0) +{ +if (x_5 == 0) +{ +lean_object* x_883; lean_object* x_884; lean_object* x_885; +x_883 = lean_ctor_get(x_881, 1); +lean_inc(x_883); +lean_dec(x_881); +x_884 = lean_box(0); +lean_inc(x_13); +lean_inc(x_810); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_885 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_884, x_8, x_9, x_10, x_11, x_810, x_13, x_883); +if (lean_obj_tag(x_885) == 0) +{ +lean_object* x_886; lean_object* x_887; +x_886 = lean_ctor_get(x_885, 0); +lean_inc(x_886); +x_887 = lean_ctor_get(x_885, 1); +lean_inc(x_887); +lean_dec(x_885); +x_835 = x_886; +x_836 = x_887; +goto block_841; +} +else +{ +lean_object* x_888; lean_object* x_889; +x_888 = lean_ctor_get(x_885, 0); +lean_inc(x_888); +x_889 = lean_ctor_get(x_885, 1); +lean_inc(x_889); +lean_dec(x_885); +x_842 = x_888; +x_843 = x_889; +goto block_848; +} +} +else +{ +uint8_t x_890; +x_890 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); +if (x_890 == 0) +{ +lean_object* x_891; lean_object* x_892; lean_object* x_893; +x_891 = lean_ctor_get(x_881, 1); +lean_inc(x_891); +lean_dec(x_881); +x_892 = lean_box(0); +lean_inc(x_13); +lean_inc(x_810); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_893 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_892, x_8, x_9, x_10, x_11, x_810, x_13, x_891); +if (lean_obj_tag(x_893) == 0) +{ +lean_object* x_894; lean_object* x_895; +x_894 = lean_ctor_get(x_893, 0); +lean_inc(x_894); +x_895 = lean_ctor_get(x_893, 1); +lean_inc(x_895); +lean_dec(x_893); +x_835 = x_894; +x_836 = x_895; +goto block_841; +} +else +{ +lean_object* x_896; lean_object* x_897; +x_896 = lean_ctor_get(x_893, 0); +lean_inc(x_896); +x_897 = lean_ctor_get(x_893, 1); +lean_inc(x_897); +lean_dec(x_893); +x_842 = x_896; +x_843 = x_897; +goto block_848; +} +} +else +{ +lean_object* x_898; lean_object* x_899; +x_898 = lean_ctor_get(x_881, 1); +lean_inc(x_898); +lean_dec(x_881); +lean_inc(x_13); +lean_inc(x_810); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_3); +lean_inc(x_2); +x_899 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_810, x_13, x_898); +if (lean_obj_tag(x_899) == 0) +{ +lean_object* x_900; lean_object* x_901; lean_object* x_902; +x_900 = lean_ctor_get(x_899, 0); +lean_inc(x_900); +x_901 = lean_ctor_get(x_899, 1); +lean_inc(x_901); +lean_dec(x_899); +lean_inc(x_13); +lean_inc(x_810); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_902 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_900, x_8, x_9, x_10, x_11, x_810, x_13, x_901); +if (lean_obj_tag(x_902) == 0) +{ +lean_object* x_903; lean_object* x_904; +x_903 = lean_ctor_get(x_902, 0); +lean_inc(x_903); +x_904 = lean_ctor_get(x_902, 1); +lean_inc(x_904); +lean_dec(x_902); +x_835 = x_903; +x_836 = x_904; +goto block_841; +} +else +{ +lean_object* x_905; lean_object* x_906; +x_905 = lean_ctor_get(x_902, 0); +lean_inc(x_905); +x_906 = lean_ctor_get(x_902, 1); +lean_inc(x_906); +lean_dec(x_902); +x_842 = x_905; +x_843 = x_906; +goto block_848; +} +} +else +{ +lean_object* x_907; lean_object* x_908; +lean_dec(x_3); +lean_dec(x_2); +x_907 = lean_ctor_get(x_899, 0); +lean_inc(x_907); +x_908 = lean_ctor_get(x_899, 1); +lean_inc(x_908); +lean_dec(x_899); +x_842 = x_907; +x_843 = x_908; +goto block_848; +} +} +} +} +else +{ +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; uint8_t x_919; +x_909 = lean_ctor_get(x_882, 0); +lean_inc(x_909); +lean_dec(x_882); +x_910 = lean_ctor_get(x_881, 1); +lean_inc(x_910); +lean_dec(x_881); +x_911 = lean_ctor_get(x_909, 0); +lean_inc(x_911); +x_912 = lean_ctor_get(x_909, 1); +lean_inc(x_912); +if (lean_is_exclusive(x_909)) { + lean_ctor_release(x_909, 0); + lean_ctor_release(x_909, 1); + x_913 = x_909; +} else { + lean_dec_ref(x_909); + x_913 = lean_box(0); +} +x_914 = lean_st_ref_get(x_13, x_910); +x_915 = lean_ctor_get(x_914, 1); +lean_inc(x_915); +lean_dec(x_914); +x_916 = lean_st_ref_get(x_9, x_915); +x_917 = lean_ctor_get(x_916, 0); +lean_inc(x_917); +x_918 = lean_ctor_get(x_917, 5); +lean_inc(x_918); +lean_dec(x_917); +x_919 = lean_ctor_get_uint8(x_918, sizeof(void*)*2); +lean_dec(x_918); +if (x_919 == 0) +{ +lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; +lean_dec(x_913); +lean_dec(x_911); +x_920 = lean_ctor_get(x_916, 1); +lean_inc(x_920); +lean_dec(x_916); +x_921 = lean_box(x_4); +x_922 = lean_box(x_5); +lean_inc(x_912); +lean_inc(x_2); +x_923 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); +lean_closure_set(x_923, 0, x_2); +lean_closure_set(x_923, 1, x_912); +lean_closure_set(x_923, 2, x_3); +lean_closure_set(x_923, 3, x_921); +lean_closure_set(x_923, 4, x_922); +lean_inc(x_13); +lean_inc(x_810); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_924 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_912, x_923, x_8, x_9, x_10, x_11, x_810, x_13, x_920); +x_849 = x_924; +goto block_864; +} +else +{ +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; +x_925 = lean_ctor_get(x_916, 1); +lean_inc(x_925); +lean_dec(x_916); +x_926 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_9, x_10, x_11, x_810, x_13, x_925); +x_927 = lean_ctor_get(x_926, 0); +lean_inc(x_927); +x_928 = lean_ctor_get(x_926, 1); +lean_inc(x_928); +lean_dec(x_926); +x_929 = lean_box(x_4); +x_930 = lean_box(x_5); +lean_inc(x_3); +lean_inc(x_912); +lean_inc(x_2); +x_931 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); +lean_closure_set(x_931, 0, x_2); +lean_closure_set(x_931, 1, x_912); +lean_closure_set(x_931, 2, x_3); +lean_closure_set(x_931, 3, x_929); +lean_closure_set(x_931, 4, x_930); +lean_inc(x_13); +lean_inc(x_810); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_2); +x_932 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_912, x_931, x_8, x_9, x_10, x_11, x_810, x_13, x_928); +if (lean_obj_tag(x_932) == 0) +{ +lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; +x_933 = lean_ctor_get(x_932, 0); +lean_inc(x_933); +x_934 = lean_ctor_get(x_932, 1); +lean_inc(x_934); +lean_dec(x_932); +x_935 = lean_box(0); +lean_inc(x_933); +x_936 = l_Lean_Elab_Term_mkTermInfo(x_911, x_2, x_933, x_3, x_935, x_8, x_9, x_10, x_11, x_810, x_13, x_934); +x_937 = lean_ctor_get(x_936, 0); +lean_inc(x_937); +x_938 = lean_ctor_get(x_936, 1); +lean_inc(x_938); +lean_dec(x_936); +x_939 = lean_st_ref_get(x_13, x_938); +x_940 = lean_ctor_get(x_939, 1); +lean_inc(x_940); +lean_dec(x_939); +x_941 = lean_st_ref_take(x_9, x_940); +x_942 = lean_ctor_get(x_941, 0); +lean_inc(x_942); +x_943 = lean_ctor_get(x_942, 5); +lean_inc(x_943); +if (lean_obj_tag(x_937) == 0) +{ +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; uint8_t 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; +x_944 = lean_ctor_get(x_941, 1); +lean_inc(x_944); +lean_dec(x_941); +x_945 = lean_ctor_get(x_942, 0); +lean_inc(x_945); +x_946 = lean_ctor_get(x_942, 1); +lean_inc(x_946); +x_947 = lean_ctor_get(x_942, 2); +lean_inc(x_947); +x_948 = lean_ctor_get(x_942, 3); +lean_inc(x_948); +x_949 = lean_ctor_get(x_942, 4); +lean_inc(x_949); +if (lean_is_exclusive(x_942)) { + lean_ctor_release(x_942, 0); + lean_ctor_release(x_942, 1); + lean_ctor_release(x_942, 2); + lean_ctor_release(x_942, 3); + lean_ctor_release(x_942, 4); + lean_ctor_release(x_942, 5); + x_950 = x_942; +} else { + lean_dec_ref(x_942); + x_950 = lean_box(0); +} +x_951 = lean_ctor_get_uint8(x_943, sizeof(void*)*2); +x_952 = lean_ctor_get(x_943, 0); +lean_inc(x_952); +x_953 = lean_ctor_get(x_943, 1); +lean_inc(x_953); +if (lean_is_exclusive(x_943)) { + lean_ctor_release(x_943, 0); + lean_ctor_release(x_943, 1); + x_954 = x_943; +} else { + lean_dec_ref(x_943); + x_954 = lean_box(0); +} +x_955 = lean_ctor_get(x_937, 0); +lean_inc(x_955); +lean_dec(x_937); +x_956 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_956, 0, x_955); +lean_ctor_set(x_956, 1, x_953); +x_957 = l_Std_PersistentArray_push___rarg(x_927, x_956); +if (lean_is_scalar(x_954)) { + x_958 = lean_alloc_ctor(0, 2, 1); +} else { + x_958 = x_954; +} +lean_ctor_set(x_958, 0, x_952); +lean_ctor_set(x_958, 1, x_957); +lean_ctor_set_uint8(x_958, sizeof(void*)*2, x_951); +if (lean_is_scalar(x_950)) { + x_959 = lean_alloc_ctor(0, 6, 0); +} else { + x_959 = x_950; +} +lean_ctor_set(x_959, 0, x_945); +lean_ctor_set(x_959, 1, x_946); +lean_ctor_set(x_959, 2, x_947); +lean_ctor_set(x_959, 3, x_948); +lean_ctor_set(x_959, 4, x_949); +lean_ctor_set(x_959, 5, x_958); +x_960 = lean_st_ref_set(x_9, x_959, x_944); +x_961 = lean_ctor_get(x_960, 1); +lean_inc(x_961); +if (lean_is_exclusive(x_960)) { + lean_ctor_release(x_960, 0); + lean_ctor_release(x_960, 1); + x_962 = x_960; +} else { + lean_dec_ref(x_960); + x_962 = lean_box(0); +} +x_963 = lean_box(0); +if (lean_is_scalar(x_913)) { + x_964 = lean_alloc_ctor(0, 2, 0); +} else { + x_964 = x_913; +} +lean_ctor_set(x_964, 0, x_933); +lean_ctor_set(x_964, 1, x_963); +if (lean_is_scalar(x_962)) { + x_965 = lean_alloc_ctor(0, 2, 0); +} else { + x_965 = x_962; +} +lean_ctor_set(x_965, 0, x_964); +lean_ctor_set(x_965, 1, x_961); +x_865 = x_965; +goto block_875; +} +else +{ +lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; uint8_t 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; +x_966 = lean_ctor_get(x_941, 1); +lean_inc(x_966); +lean_dec(x_941); +x_967 = lean_ctor_get(x_942, 0); +lean_inc(x_967); +x_968 = lean_ctor_get(x_942, 1); +lean_inc(x_968); +x_969 = lean_ctor_get(x_942, 2); +lean_inc(x_969); +x_970 = lean_ctor_get(x_942, 3); +lean_inc(x_970); +x_971 = lean_ctor_get(x_942, 4); +lean_inc(x_971); +if (lean_is_exclusive(x_942)) { + lean_ctor_release(x_942, 0); + lean_ctor_release(x_942, 1); + lean_ctor_release(x_942, 2); + lean_ctor_release(x_942, 3); + lean_ctor_release(x_942, 4); + lean_ctor_release(x_942, 5); + x_972 = x_942; +} else { + lean_dec_ref(x_942); + x_972 = lean_box(0); +} +x_973 = lean_ctor_get_uint8(x_943, sizeof(void*)*2); +x_974 = lean_ctor_get(x_943, 0); +lean_inc(x_974); +if (lean_is_exclusive(x_943)) { + lean_ctor_release(x_943, 0); + lean_ctor_release(x_943, 1); + x_975 = x_943; +} else { + lean_dec_ref(x_943); + x_975 = lean_box(0); +} +x_976 = lean_ctor_get(x_937, 0); +lean_inc(x_976); +lean_dec(x_937); +x_977 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_977, 0, x_976); +x_978 = l_Std_PersistentArray_push___rarg(x_927, x_977); +if (lean_is_scalar(x_975)) { + x_979 = lean_alloc_ctor(0, 2, 1); +} else { + x_979 = x_975; +} +lean_ctor_set(x_979, 0, x_974); +lean_ctor_set(x_979, 1, x_978); +lean_ctor_set_uint8(x_979, sizeof(void*)*2, x_973); +if (lean_is_scalar(x_972)) { + x_980 = lean_alloc_ctor(0, 6, 0); +} else { + x_980 = x_972; +} +lean_ctor_set(x_980, 0, x_967); +lean_ctor_set(x_980, 1, x_968); +lean_ctor_set(x_980, 2, x_969); +lean_ctor_set(x_980, 3, x_970); +lean_ctor_set(x_980, 4, x_971); +lean_ctor_set(x_980, 5, x_979); +x_981 = lean_st_ref_set(x_9, x_980, x_966); +x_982 = lean_ctor_get(x_981, 1); +lean_inc(x_982); +if (lean_is_exclusive(x_981)) { + lean_ctor_release(x_981, 0); + lean_ctor_release(x_981, 1); + x_983 = x_981; +} else { + lean_dec_ref(x_981); + x_983 = lean_box(0); +} +x_984 = lean_box(0); +if (lean_is_scalar(x_913)) { + x_985 = lean_alloc_ctor(0, 2, 0); +} else { + x_985 = x_913; +} +lean_ctor_set(x_985, 0, x_933); +lean_ctor_set(x_985, 1, x_984); +if (lean_is_scalar(x_983)) { + x_986 = lean_alloc_ctor(0, 2, 0); +} else { + x_986 = x_983; +} +lean_ctor_set(x_986, 0, x_985); +lean_ctor_set(x_986, 1, x_982); +x_865 = x_986; +goto block_875; +} +} +else +{ +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; uint8_t 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_dec(x_913); +lean_dec(x_911); +lean_dec(x_3); +lean_dec(x_2); +x_987 = lean_ctor_get(x_932, 0); +lean_inc(x_987); +x_988 = lean_ctor_get(x_932, 1); +lean_inc(x_988); +lean_dec(x_932); +x_989 = lean_st_ref_get(x_13, x_988); +x_990 = lean_ctor_get(x_989, 1); +lean_inc(x_990); +lean_dec(x_989); +x_991 = lean_st_ref_take(x_9, x_990); +x_992 = lean_ctor_get(x_991, 0); +lean_inc(x_992); +x_993 = lean_ctor_get(x_992, 5); +lean_inc(x_993); +x_994 = lean_ctor_get(x_991, 1); +lean_inc(x_994); +lean_dec(x_991); +x_995 = lean_ctor_get(x_992, 0); +lean_inc(x_995); +x_996 = lean_ctor_get(x_992, 1); +lean_inc(x_996); +x_997 = lean_ctor_get(x_992, 2); +lean_inc(x_997); +x_998 = lean_ctor_get(x_992, 3); +lean_inc(x_998); +x_999 = lean_ctor_get(x_992, 4); +lean_inc(x_999); +if (lean_is_exclusive(x_992)) { + lean_ctor_release(x_992, 0); + lean_ctor_release(x_992, 1); + lean_ctor_release(x_992, 2); + lean_ctor_release(x_992, 3); + lean_ctor_release(x_992, 4); + lean_ctor_release(x_992, 5); + x_1000 = x_992; +} else { + lean_dec_ref(x_992); + x_1000 = lean_box(0); +} +x_1001 = lean_ctor_get_uint8(x_993, sizeof(void*)*2); +x_1002 = lean_ctor_get(x_993, 0); +lean_inc(x_1002); +if (lean_is_exclusive(x_993)) { + lean_ctor_release(x_993, 0); + lean_ctor_release(x_993, 1); + x_1003 = x_993; +} else { + lean_dec_ref(x_993); + x_1003 = lean_box(0); +} +if (lean_is_scalar(x_1003)) { + x_1004 = lean_alloc_ctor(0, 2, 1); +} else { + x_1004 = x_1003; +} +lean_ctor_set(x_1004, 0, x_1002); +lean_ctor_set(x_1004, 1, x_927); +lean_ctor_set_uint8(x_1004, sizeof(void*)*2, x_1001); +if (lean_is_scalar(x_1000)) { + x_1005 = lean_alloc_ctor(0, 6, 0); +} else { + x_1005 = x_1000; +} +lean_ctor_set(x_1005, 0, x_995); +lean_ctor_set(x_1005, 1, x_996); +lean_ctor_set(x_1005, 2, x_997); +lean_ctor_set(x_1005, 3, x_998); +lean_ctor_set(x_1005, 4, x_999); +lean_ctor_set(x_1005, 5, x_1004); +x_1006 = lean_st_ref_set(x_9, x_1005, x_994); +x_1007 = lean_ctor_get(x_1006, 1); +lean_inc(x_1007); +if (lean_is_exclusive(x_1006)) { + lean_ctor_release(x_1006, 0); + lean_ctor_release(x_1006, 1); + x_1008 = x_1006; +} else { + lean_dec_ref(x_1006); + x_1008 = lean_box(0); +} +if (lean_is_scalar(x_1008)) { + x_1009 = lean_alloc_ctor(1, 2, 0); +} else { + x_1009 = x_1008; + lean_ctor_set_tag(x_1009, 1); +} +lean_ctor_set(x_1009, 0, x_987); +lean_ctor_set(x_1009, 1, x_1007); +x_865 = x_1009; +goto block_875; +} +} +} +} +else +{ +lean_object* x_1010; lean_object* x_1011; +lean_dec(x_3); +lean_dec(x_2); +x_1010 = lean_ctor_get(x_881, 0); +lean_inc(x_1010); +x_1011 = lean_ctor_get(x_881, 1); +lean_inc(x_1011); +lean_dec(x_881); +x_842 = x_1010; +x_843 = x_1011; +goto block_848; +} +block_841: +{ +lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; +x_837 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_805, x_819, x_8, x_9, x_10, x_11, x_810, x_13, x_836); +lean_dec(x_13); +lean_dec(x_810); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_838 = lean_ctor_get(x_837, 1); +lean_inc(x_838); +if (lean_is_exclusive(x_837)) { + lean_ctor_release(x_837, 0); + lean_ctor_release(x_837, 1); + x_839 = x_837; +} else { + lean_dec_ref(x_837); + x_839 = lean_box(0); +} +if (lean_is_scalar(x_839)) { + x_840 = lean_alloc_ctor(0, 2, 0); +} else { + x_840 = x_839; +} +lean_ctor_set(x_840, 0, x_835); +lean_ctor_set(x_840, 1, x_838); +return x_840; +} +block_848: +{ +lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; +x_844 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_805, x_819, x_8, x_9, x_10, x_11, x_810, x_13, x_843); +lean_dec(x_13); +lean_dec(x_810); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_845 = lean_ctor_get(x_844, 1); +lean_inc(x_845); +if (lean_is_exclusive(x_844)) { + lean_ctor_release(x_844, 0); + lean_ctor_release(x_844, 1); + x_846 = x_844; +} else { + lean_dec_ref(x_844); + x_846 = lean_box(0); +} +if (lean_is_scalar(x_846)) { + x_847 = lean_alloc_ctor(1, 2, 0); +} else { + x_847 = x_846; + lean_ctor_set_tag(x_847, 1); +} +lean_ctor_set(x_847, 0, x_842); +lean_ctor_set(x_847, 1, x_845); +return x_847; +} +block_864: +{ +if (lean_obj_tag(x_849) == 0) +{ +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; +x_850 = lean_ctor_get(x_849, 0); +lean_inc(x_850); +x_851 = lean_ctor_get(x_849, 1); +lean_inc(x_851); +lean_dec(x_849); +x_852 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_805, x_819, x_8, x_9, x_10, x_11, x_810, x_13, x_851); +lean_dec(x_13); +lean_dec(x_810); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_853 = lean_ctor_get(x_852, 0); +lean_inc(x_853); +x_854 = lean_ctor_get(x_852, 1); +lean_inc(x_854); +if (lean_is_exclusive(x_852)) { + lean_ctor_release(x_852, 0); + lean_ctor_release(x_852, 1); + x_855 = x_852; +} else { + lean_dec_ref(x_852); + x_855 = lean_box(0); +} +x_856 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_856, 0, x_850); +lean_ctor_set(x_856, 1, x_853); +if (lean_is_scalar(x_855)) { + x_857 = lean_alloc_ctor(0, 2, 0); +} else { + x_857 = x_855; +} +lean_ctor_set(x_857, 0, x_856); +lean_ctor_set(x_857, 1, x_854); +x_15 = x_857; +goto block_27; +} +else +{ +lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; +x_858 = lean_ctor_get(x_849, 0); +lean_inc(x_858); +x_859 = lean_ctor_get(x_849, 1); +lean_inc(x_859); +lean_dec(x_849); +x_860 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_805, x_819, x_8, x_9, x_10, x_11, x_810, x_13, x_859); +lean_dec(x_13); +lean_dec(x_810); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_861 = lean_ctor_get(x_860, 1); +lean_inc(x_861); +if (lean_is_exclusive(x_860)) { + lean_ctor_release(x_860, 0); + lean_ctor_release(x_860, 1); + x_862 = x_860; +} else { + lean_dec_ref(x_860); + x_862 = lean_box(0); +} +if (lean_is_scalar(x_862)) { + x_863 = lean_alloc_ctor(1, 2, 0); +} else { + x_863 = x_862; + lean_ctor_set_tag(x_863, 1); +} +lean_ctor_set(x_863, 0, x_858); +lean_ctor_set(x_863, 1, x_861); +x_15 = x_863; +goto block_27; +} +} +block_875: +{ +if (lean_obj_tag(x_865) == 0) +{ +lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; +x_866 = lean_ctor_get(x_865, 0); +lean_inc(x_866); +x_867 = lean_ctor_get(x_865, 1); +lean_inc(x_867); +if (lean_is_exclusive(x_865)) { + lean_ctor_release(x_865, 0); + lean_ctor_release(x_865, 1); + x_868 = x_865; +} else { + lean_dec_ref(x_865); + x_868 = lean_box(0); +} +x_869 = lean_ctor_get(x_866, 0); +lean_inc(x_869); +lean_dec(x_866); +if (lean_is_scalar(x_868)) { + x_870 = lean_alloc_ctor(0, 2, 0); +} else { + x_870 = x_868; +} +lean_ctor_set(x_870, 0, x_869); +lean_ctor_set(x_870, 1, x_867); +x_849 = x_870; +goto block_864; +} +else +{ +lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; +x_871 = lean_ctor_get(x_865, 0); +lean_inc(x_871); +x_872 = lean_ctor_get(x_865, 1); +lean_inc(x_872); +if (lean_is_exclusive(x_865)) { + lean_ctor_release(x_865, 0); + lean_ctor_release(x_865, 1); + x_873 = x_865; +} else { + lean_dec_ref(x_865); + 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_871); +lean_ctor_set(x_874, 1, x_872); +x_849 = x_874; +goto block_864; +} +} +} +else +{ +lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; +lean_dec(x_810); +lean_dec(x_805); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_1012 = lean_ctor_get(x_813, 0); +lean_inc(x_1012); +x_1013 = lean_ctor_get(x_813, 1); +lean_inc(x_1013); +if (lean_is_exclusive(x_813)) { + lean_ctor_release(x_813, 0); + lean_ctor_release(x_813, 1); + x_1014 = x_813; +} else { + lean_dec_ref(x_813); + x_1014 = lean_box(0); +} +if (lean_is_scalar(x_1014)) { + x_1015 = lean_alloc_ctor(1, 2, 0); +} else { + x_1015 = x_1014; +} +lean_ctor_set(x_1015, 0, x_1012); +lean_ctor_set(x_1015, 1, x_1013); +return x_1015; +} +} +block_1037: +{ +if (x_1017 == 0) +{ +lean_dec(x_6); +x_811 = x_1018; +goto block_1016; +} +else +{ +lean_object* x_1019; +lean_inc(x_2); +x_1019 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1019, 0, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; +x_1020 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7; +x_1021 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1021, 0, x_1020); +lean_ctor_set(x_1021, 1, x_1019); +x_1022 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_1023 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1023, 0, x_1021); +lean_ctor_set(x_1023, 1, x_1022); +x_1024 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_1023, x_8, x_9, x_10, x_11, x_810, x_13, x_1018); +x_1025 = lean_ctor_get(x_1024, 1); +lean_inc(x_1025); +lean_dec(x_1024); +x_811 = x_1025; +goto block_1016; +} +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; +x_1026 = lean_ctor_get(x_3, 0); +lean_inc(x_1026); +x_1027 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1027, 0, x_1026); +x_1028 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; +x_1029 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1029, 0, x_1028); +lean_ctor_set(x_1029, 1, x_1027); +x_1030 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; +x_1031 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1031, 0, x_1029); +lean_ctor_set(x_1031, 1, x_1030); +x_1032 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1032, 0, x_1031); +lean_ctor_set(x_1032, 1, x_1019); +x_1033 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_1034 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1034, 0, x_1032); +lean_ctor_set(x_1034, 1, x_1033); +x_1035 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_1034, x_8, x_9, x_10, x_11, x_810, x_13, x_1018); +x_1036 = lean_ctor_get(x_1035, 1); +lean_inc(x_1036); +lean_dec(x_1035); +x_811 = x_1036; +goto block_1016; +} +} +} +} +block_27: +{ +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec(x_17); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(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_20); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_15); +if (x_23 == 0) +{ +return x_15; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_15, 0); +x_25 = lean_ctor_get(x_15, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_15); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} } } static lean_object* _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__1() { @@ -30587,7 +34781,7 @@ if (x_26 == 0) lean_object* x_27; lean_object* x_28; lean_object* x_29; x_27 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2; x_28 = lean_box(0); -x_29 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6(x_24, x_4, x_1, x_2, x_3, x_27, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +x_29 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_24, x_4, x_1, x_2, x_3, x_27, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_21); lean_dec(x_24); return x_29; } @@ -30670,7 +34864,7 @@ if (x_50 == 0) lean_object* x_51; lean_object* x_52; lean_object* x_53; x_51 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2; x_52 = lean_box(0); -x_53 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6(x_48, x_4, x_1, x_2, x_3, x_51, x_52, x_47, x_6, x_7, x_8, x_9, x_10, x_21); +x_53 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_48, x_4, x_1, x_2, x_3, x_51, x_52, x_47, x_6, x_7, x_8, x_9, x_10, x_21); lean_dec(x_48); return x_53; } @@ -30793,7 +34987,7 @@ if (x_84 == 0) lean_object* x_85; lean_object* x_86; lean_object* x_87; x_85 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2; x_86 = lean_box(0); -x_87 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6(x_82, x_4, x_1, x_2, x_3, x_85, x_86, x_81, x_6, x_7, x_8, x_9, x_10, x_68); +x_87 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_82, x_4, x_1, x_2, x_3, x_85, x_86, x_81, x_6, x_7, x_8, x_9, x_10, x_68); lean_dec(x_82); return x_87; } @@ -30903,6 +35097,59 @@ lean_dec(x_1); return x_7; } } +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___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_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__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_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__4___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_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___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) { _start: { @@ -30925,39 +35172,7 @@ x_15 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(x_1, return x_15; } } -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___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_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___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_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; -} -} -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* 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* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___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, 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) { _start: { uint8_t x_15; uint8_t x_16; lean_object* x_17; @@ -30965,7 +35180,7 @@ x_15 = lean_unbox(x_4); lean_dec(x_4); x_16 = lean_unbox(x_5); lean_dec(x_5); -x_17 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_17 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_7); lean_dec(x_1); return x_17; @@ -30983,7 +35198,7 @@ x_14 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(x_1, x_12, x_13, return x_14; } } -lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -31185,7 +35400,7 @@ return x_66; } } } -lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addTermInfo___spec__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* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -31238,524 +35453,71 @@ x_22 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3; x_23 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_23, 0, x_1); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_21); +x_24 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_21); return x_24; } } } -lean_object* l_Lean_Elab_Term_addTermInfo(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) { -_start: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_11 = lean_st_ref_get(x_9, x_10); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_st_ref_get(x_5, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_14, 5); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2); -lean_dec(x_15); -if (x_16 == 0) -{ -uint8_t x_17; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_17 = !lean_is_exclusive(x_13); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_13, 0); -lean_dec(x_18); -x_19 = lean_box(0); -lean_ctor_set(x_13, 0, x_19); -return x_13; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_13, 1); -lean_inc(x_20); -lean_dec(x_13); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_13, 1); -lean_inc(x_23); -lean_dec(x_13); -x_24 = lean_ctor_get(x_6, 1); -lean_inc(x_24); -x_25 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_3); -lean_ctor_set(x_25, 2, x_2); -lean_ctor_set(x_25, 3, x_1); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addTermInfo___spec__1(x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_23); -return x_27; -} -} -} -lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addTermInfo___spec__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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addTermInfo___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Lean_Elab_Term_addTermInfo___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) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Term_addTermInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -uint8_t l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_name_eq(x_3, x_1); -return x_4; -} -} -lean_object* l_Lean_Elab_Term_getSyntheticMVarDecl_x3f(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) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = lean_st_ref_get(x_7, x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_st_ref_get(x_3, x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1___boxed), 2, 1); -lean_closure_set(x_14, 0, x_1); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l_List_find_x3f___rarg(x_14, x_15); -lean_ctor_set(x_11, 0, x_16); -return x_11; -} -else -{ -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_17 = lean_ctor_get(x_11, 0); -x_18 = lean_ctor_get(x_11, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_11); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1___boxed), 2, 1); -lean_closure_set(x_19, 0, x_1); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = l_List_find_x3f___rarg(x_19, x_20); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_18); -return x_22; -} -} -} -lean_object* l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___lambda__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_Elab_Term_getSyntheticMVarDecl_x3f___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_Term_getSyntheticMVarDecl_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Lean_Elab_Term_mkTermInfo_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_5; -lean_dec(x_3); -lean_dec(x_2); -x_5 = lean_apply_1(x_4, x_1); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_6, 2); -lean_inc(x_7); -switch (lean_obj_tag(x_7)) { -case 2: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_ctor_get(x_7, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_7, 1); -lean_inc(x_11); -lean_dec(x_7); -x_12 = lean_apply_4(x_2, x_10, x_11, x_8, x_9); -return x_12; -} -case 3: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_13 = lean_ctor_get(x_6, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_6, 1); -lean_inc(x_14); -lean_dec(x_6); -x_15 = lean_ctor_get(x_7, 0); -lean_inc(x_15); -lean_dec(x_7); -x_16 = lean_apply_3(x_3, x_15, x_13, x_14); -return x_16; -} -default: -{ -lean_object* x_17; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_17 = lean_apply_1(x_4, x_1); -return x_17; -} -} -} -} -} -lean_object* l_Lean_Elab_Term_mkTermInfo_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkTermInfo_match__1___rarg), 4, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_mkTermInfo_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_3); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_2, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_2); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_3, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Elab_Term_mkTermInfo_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkTermInfo_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_mkTermInfo(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) { -_start: -{ -lean_object* x_11; lean_object* x_12; -if (lean_obj_tag(x_2) == 2) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_2, 0); -lean_inc(x_22); -lean_inc(x_22); -x_23 = l_Lean_Elab_Term_getSyntheticMVarDecl_x3f(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_22); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_box(0); -x_11 = x_26; -x_12 = x_25; -goto block_21; -} -else -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_24); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_24, 0); -x_29 = lean_ctor_get(x_28, 2); -lean_inc(x_29); -lean_dec(x_28); -switch (lean_obj_tag(x_29)) { -case 2: -{ -lean_object* x_30; -lean_dec(x_29); -x_30 = lean_ctor_get(x_23, 1); -lean_inc(x_30); -lean_dec(x_23); -lean_ctor_set(x_24, 0, x_22); -x_11 = x_24; -x_12 = x_30; -goto block_21; -} -case 3: -{ -lean_object* x_31; -lean_dec(x_29); -x_31 = lean_ctor_get(x_23, 1); -lean_inc(x_31); -lean_dec(x_23); -lean_ctor_set(x_24, 0, x_22); -x_11 = x_24; -x_12 = x_31; -goto block_21; -} -default: -{ -lean_object* x_32; lean_object* x_33; -lean_dec(x_29); -lean_free_object(x_24); -lean_dec(x_22); -x_32 = lean_ctor_get(x_23, 1); -lean_inc(x_32); -lean_dec(x_23); -x_33 = lean_box(0); -x_11 = x_33; -x_12 = x_32; -goto block_21; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_24, 0); -lean_inc(x_34); -lean_dec(x_24); -x_35 = lean_ctor_get(x_34, 2); -lean_inc(x_35); -lean_dec(x_34); -switch (lean_obj_tag(x_35)) { -case 2: -{ -lean_object* x_36; lean_object* x_37; -lean_dec(x_35); -x_36 = lean_ctor_get(x_23, 1); -lean_inc(x_36); -lean_dec(x_23); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_22); -x_11 = x_37; -x_12 = x_36; -goto block_21; -} -case 3: -{ -lean_object* x_38; lean_object* x_39; -lean_dec(x_35); -x_38 = lean_ctor_get(x_23, 1); -lean_inc(x_38); -lean_dec(x_23); -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_22); -x_11 = x_39; -x_12 = x_38; -goto block_21; -} -default: -{ -lean_object* x_40; lean_object* x_41; -lean_dec(x_35); -lean_dec(x_22); -x_40 = lean_ctor_get(x_23, 1); -lean_inc(x_40); -lean_dec(x_23); -x_41 = lean_box(0); -x_11 = x_41; -x_12 = x_40; -goto block_21; -} -} -} -} -} -else -{ -lean_object* x_42; -x_42 = lean_box(0); -x_11 = x_42; -x_12 = x_10; -goto block_21; -} -block_21: -{ -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_6, 1); -lean_inc(x_13); -x_14 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_3); -lean_ctor_set(x_14, 2, x_2); -lean_ctor_set(x_14, 3, x_1); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_14); -x_16 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_12); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_18 = lean_ctor_get(x_11, 0); -lean_inc(x_18); -lean_dec(x_11); -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_12); -return x_20; -} -} -} -} -lean_object* l_Lean_Elab_Term_mkTermInfo___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) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Term_mkTermInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__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) { _start: { lean_object* x_9; lean_object* x_10; x_9 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_9, 0, x_1); -x_10 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addTermInfo___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } lean_object* l_Lean_Elab_Term_addDotCompletionInfo(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) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +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_7, 1); +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_1); lean_inc(x_3); lean_inc(x_12); -x_13 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_3); -lean_ctor_set(x_13, 2, x_2); -lean_ctor_set(x_13, 3, x_1); -x_14 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_4); -lean_ctor_set(x_14, 2, x_3); -x_15 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_15; +x_15 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); +lean_ctor_set(x_15, 2, x_3); +lean_ctor_set(x_15, 3, x_2); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +lean_ctor_set(x_16, 2, x_3); +x_17 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_17; +} +} +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; } } lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__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) { @@ -31789,728 +35551,51 @@ return x_12; lean_object* l_Lean_Elab_Term_elabTerm(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_25 = lean_st_ref_get(x_10, x_11); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_st_ref_get(x_6, x_26); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_28, 5); -lean_inc(x_29); -lean_dec(x_28); -x_30 = lean_ctor_get_uint8(x_29, sizeof(void*)*2); -lean_dec(x_29); -if (x_30 == 0) +uint8_t x_12; +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) { -lean_object* x_31; uint8_t x_32; -x_31 = lean_ctor_get(x_27, 1); -lean_inc(x_31); -lean_dec(x_27); -x_32 = !lean_is_exclusive(x_9); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_9, 3); -x_34 = l_Lean_replaceRef(x_1, x_33); -lean_dec(x_33); -lean_ctor_set(x_9, 3, x_34); -x_35 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(x_2, x_3, x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_31); -return x_35; +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 3); +x_14 = l_Lean_replaceRef(x_1, x_13); +lean_dec(x_13); +lean_ctor_set(x_9, 3, x_14); +x_15 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(x_2, x_3, x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_15; } else { -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_36 = lean_ctor_get(x_9, 0); -x_37 = lean_ctor_get(x_9, 1); -x_38 = lean_ctor_get(x_9, 2); -x_39 = lean_ctor_get(x_9, 3); -x_40 = lean_ctor_get(x_9, 4); -x_41 = lean_ctor_get(x_9, 5); -x_42 = lean_ctor_get(x_9, 6); -x_43 = lean_ctor_get(x_9, 7); -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_dec(x_9); -x_44 = l_Lean_replaceRef(x_1, x_39); -lean_dec(x_39); -x_45 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_45, 0, x_36); -lean_ctor_set(x_45, 1, x_37); -lean_ctor_set(x_45, 2, x_38); -lean_ctor_set(x_45, 3, x_44); -lean_ctor_set(x_45, 4, x_40); -lean_ctor_set(x_45, 5, x_41); -lean_ctor_set(x_45, 6, x_42); -lean_ctor_set(x_45, 7, x_43); -x_46 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(x_2, x_3, x_4, x_1, x_5, x_6, x_7, x_8, x_45, x_10, x_31); -return x_46; -} -} -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; lean_object* x_61; -x_47 = lean_ctor_get(x_27, 1); -lean_inc(x_47); -lean_dec(x_27); -x_48 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withMacroExpansion___spec__2___rarg(x_6, x_7, x_8, x_9, x_10, x_47); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_ctor_get(x_9, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_9, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_9, 2); -lean_inc(x_53); -x_54 = lean_ctor_get(x_9, 3); -lean_inc(x_54); -x_55 = lean_ctor_get(x_9, 4); -lean_inc(x_55); -x_56 = lean_ctor_get(x_9, 5); -lean_inc(x_56); -x_57 = lean_ctor_get(x_9, 6); -lean_inc(x_57); -x_58 = lean_ctor_get(x_9, 7); -lean_inc(x_58); -x_59 = l_Lean_replaceRef(x_1, x_54); -lean_dec(x_54); -x_60 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_60, 0, x_51); -lean_ctor_set(x_60, 1, x_52); -lean_ctor_set(x_60, 2, x_53); -lean_ctor_set(x_60, 3, x_59); -lean_ctor_set(x_60, 4, x_55); -lean_ctor_set(x_60, 5, x_56); -lean_ctor_set(x_60, 6, x_57); -lean_ctor_set(x_60, 7, x_58); -lean_inc(x_10); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_1); -lean_inc(x_2); -x_61 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(x_2, x_3, x_4, x_1, x_5, x_6, x_7, x_8, x_60, x_10, x_50); -if (lean_obj_tag(x_61) == 0) -{ -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; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -lean_inc(x_62); -x_64 = l_Lean_Elab_Term_mkTermInfo(x_1, x_62, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_63); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_st_ref_get(x_10, x_66); -lean_dec(x_10); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_st_ref_take(x_6, x_68); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_70, 5); -lean_inc(x_71); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_72; uint8_t x_73; -x_72 = lean_ctor_get(x_69, 1); -lean_inc(x_72); -lean_dec(x_69); -x_73 = !lean_is_exclusive(x_70); -if (x_73 == 0) -{ -lean_object* x_74; uint8_t x_75; -x_74 = lean_ctor_get(x_70, 5); -lean_dec(x_74); -x_75 = !lean_is_exclusive(x_71); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; -x_76 = lean_ctor_get(x_71, 1); -x_77 = lean_ctor_get(x_65, 0); -lean_inc(x_77); -lean_dec(x_65); -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_Std_PersistentArray_push___rarg(x_49, x_78); -lean_ctor_set(x_71, 1, x_79); -x_80 = lean_st_ref_set(x_6, x_70, x_72); -lean_dec(x_6); -x_81 = !lean_is_exclusive(x_80); -if (x_81 == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_80, 0); -lean_dec(x_82); -x_83 = lean_box(0); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_62); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_80, 0, x_84); -x_12 = x_80; -goto block_24; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_85 = lean_ctor_get(x_80, 1); -lean_inc(x_85); -lean_dec(x_80); -x_86 = lean_box(0); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_62); -lean_ctor_set(x_87, 1, x_86); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_85); -x_12 = x_88; -goto block_24; -} -} -else -{ -uint8_t 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; -x_89 = lean_ctor_get_uint8(x_71, sizeof(void*)*2); -x_90 = lean_ctor_get(x_71, 0); -x_91 = lean_ctor_get(x_71, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_71); -x_92 = lean_ctor_get(x_65, 0); -lean_inc(x_92); -lean_dec(x_65); -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_Std_PersistentArray_push___rarg(x_49, x_93); -x_95 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_95, 0, x_90); -lean_ctor_set(x_95, 1, x_94); -lean_ctor_set_uint8(x_95, sizeof(void*)*2, x_89); -lean_ctor_set(x_70, 5, x_95); -x_96 = lean_st_ref_set(x_6, x_70, x_72); -lean_dec(x_6); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - x_98 = x_96; -} else { - lean_dec_ref(x_96); - x_98 = lean_box(0); -} -x_99 = lean_box(0); -x_100 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_62); -lean_ctor_set(x_100, 1, x_99); -if (lean_is_scalar(x_98)) { - x_101 = lean_alloc_ctor(0, 2, 0); -} else { - x_101 = x_98; -} -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_97); -x_12 = x_101; -goto block_24; -} -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t 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; -x_102 = lean_ctor_get(x_70, 0); -x_103 = lean_ctor_get(x_70, 1); -x_104 = lean_ctor_get(x_70, 2); -x_105 = lean_ctor_get(x_70, 3); -x_106 = lean_ctor_get(x_70, 4); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_70); -x_107 = lean_ctor_get_uint8(x_71, sizeof(void*)*2); -x_108 = lean_ctor_get(x_71, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_71, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_110 = x_71; -} else { - lean_dec_ref(x_71); - x_110 = lean_box(0); -} -x_111 = lean_ctor_get(x_65, 0); -lean_inc(x_111); -lean_dec(x_65); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_109); -x_113 = l_Std_PersistentArray_push___rarg(x_49, x_112); -if (lean_is_scalar(x_110)) { - x_114 = lean_alloc_ctor(0, 2, 1); -} else { - x_114 = x_110; -} -lean_ctor_set(x_114, 0, x_108); -lean_ctor_set(x_114, 1, x_113); -lean_ctor_set_uint8(x_114, sizeof(void*)*2, x_107); -x_115 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_115, 0, x_102); -lean_ctor_set(x_115, 1, x_103); -lean_ctor_set(x_115, 2, x_104); -lean_ctor_set(x_115, 3, x_105); -lean_ctor_set(x_115, 4, x_106); -lean_ctor_set(x_115, 5, x_114); -x_116 = lean_st_ref_set(x_6, x_115, x_72); -lean_dec(x_6); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_118 = x_116; -} else { - lean_dec_ref(x_116); - x_118 = lean_box(0); -} -x_119 = lean_box(0); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_62); -lean_ctor_set(x_120, 1, x_119); -if (lean_is_scalar(x_118)) { - x_121 = lean_alloc_ctor(0, 2, 0); -} else { - x_121 = x_118; -} -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_117); -x_12 = x_121; -goto block_24; -} -} -else -{ -lean_object* x_122; uint8_t x_123; -x_122 = lean_ctor_get(x_69, 1); -lean_inc(x_122); -lean_dec(x_69); -x_123 = !lean_is_exclusive(x_70); -if (x_123 == 0) -{ -lean_object* x_124; uint8_t x_125; -x_124 = lean_ctor_get(x_70, 5); -lean_dec(x_124); -x_125 = !lean_is_exclusive(x_71); -if (x_125 == 0) -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; -x_126 = lean_ctor_get(x_71, 1); -lean_dec(x_126); -x_127 = lean_ctor_get(x_65, 0); -lean_inc(x_127); -lean_dec(x_65); -x_128 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_128, 0, x_127); -x_129 = l_Std_PersistentArray_push___rarg(x_49, x_128); -lean_ctor_set(x_71, 1, x_129); -x_130 = lean_st_ref_set(x_6, x_70, x_122); -lean_dec(x_6); -x_131 = !lean_is_exclusive(x_130); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_130, 0); -lean_dec(x_132); -x_133 = lean_box(0); -x_134 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_134, 0, x_62); -lean_ctor_set(x_134, 1, x_133); -lean_ctor_set(x_130, 0, x_134); -x_12 = x_130; -goto block_24; -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_135 = lean_ctor_get(x_130, 1); -lean_inc(x_135); -lean_dec(x_130); -x_136 = lean_box(0); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_62); -lean_ctor_set(x_137, 1, x_136); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_135); -x_12 = x_138; -goto block_24; -} -} -else -{ -uint8_t 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_139 = lean_ctor_get_uint8(x_71, sizeof(void*)*2); -x_140 = lean_ctor_get(x_71, 0); -lean_inc(x_140); -lean_dec(x_71); -x_141 = lean_ctor_get(x_65, 0); -lean_inc(x_141); -lean_dec(x_65); -x_142 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_142, 0, x_141); -x_143 = l_Std_PersistentArray_push___rarg(x_49, x_142); -x_144 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_144, 0, x_140); -lean_ctor_set(x_144, 1, x_143); -lean_ctor_set_uint8(x_144, sizeof(void*)*2, x_139); -lean_ctor_set(x_70, 5, x_144); -x_145 = lean_st_ref_set(x_6, x_70, x_122); -lean_dec(x_6); -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); -if (lean_is_exclusive(x_145)) { - lean_ctor_release(x_145, 0); - lean_ctor_release(x_145, 1); - x_147 = x_145; -} else { - lean_dec_ref(x_145); - x_147 = lean_box(0); -} -x_148 = lean_box(0); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_62); -lean_ctor_set(x_149, 1, x_148); -if (lean_is_scalar(x_147)) { - x_150 = lean_alloc_ctor(0, 2, 0); -} else { - x_150 = x_147; -} -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_146); -x_12 = x_150; -goto block_24; -} -} -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t 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; -x_151 = lean_ctor_get(x_70, 0); -x_152 = lean_ctor_get(x_70, 1); -x_153 = lean_ctor_get(x_70, 2); -x_154 = lean_ctor_get(x_70, 3); -x_155 = lean_ctor_get(x_70, 4); -lean_inc(x_155); -lean_inc(x_154); -lean_inc(x_153); -lean_inc(x_152); -lean_inc(x_151); -lean_dec(x_70); -x_156 = lean_ctor_get_uint8(x_71, sizeof(void*)*2); -x_157 = lean_ctor_get(x_71, 0); -lean_inc(x_157); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_158 = x_71; -} else { - lean_dec_ref(x_71); - x_158 = lean_box(0); -} -x_159 = lean_ctor_get(x_65, 0); -lean_inc(x_159); -lean_dec(x_65); -x_160 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_160, 0, x_159); -x_161 = l_Std_PersistentArray_push___rarg(x_49, x_160); -if (lean_is_scalar(x_158)) { - x_162 = lean_alloc_ctor(0, 2, 1); -} else { - x_162 = x_158; -} -lean_ctor_set(x_162, 0, x_157); -lean_ctor_set(x_162, 1, x_161); -lean_ctor_set_uint8(x_162, sizeof(void*)*2, x_156); -x_163 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_163, 0, x_151); -lean_ctor_set(x_163, 1, x_152); -lean_ctor_set(x_163, 2, x_153); -lean_ctor_set(x_163, 3, x_154); -lean_ctor_set(x_163, 4, x_155); -lean_ctor_set(x_163, 5, x_162); -x_164 = lean_st_ref_set(x_6, x_163, x_122); -lean_dec(x_6); -x_165 = lean_ctor_get(x_164, 1); -lean_inc(x_165); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_166 = x_164; -} else { - lean_dec_ref(x_164); - x_166 = lean_box(0); -} -x_167 = lean_box(0); -x_168 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_168, 0, x_62); -lean_ctor_set(x_168, 1, x_167); -if (lean_is_scalar(x_166)) { - x_169 = lean_alloc_ctor(0, 2, 0); -} else { - x_169 = x_166; -} -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_165); -x_12 = x_169; -goto block_24; -} -} -} -else -{ -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; uint8_t x_178; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_170 = lean_ctor_get(x_61, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_61, 1); -lean_inc(x_171); -lean_dec(x_61); -x_172 = lean_st_ref_get(x_10, x_171); -lean_dec(x_10); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -lean_dec(x_172); -x_174 = lean_st_ref_take(x_6, x_173); -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_175, 5); -lean_inc(x_176); -x_177 = lean_ctor_get(x_174, 1); -lean_inc(x_177); -lean_dec(x_174); -x_178 = !lean_is_exclusive(x_175); -if (x_178 == 0) -{ -lean_object* x_179; uint8_t x_180; -x_179 = lean_ctor_get(x_175, 5); -lean_dec(x_179); -x_180 = !lean_is_exclusive(x_176); -if (x_180 == 0) -{ -lean_object* x_181; lean_object* x_182; uint8_t x_183; -x_181 = lean_ctor_get(x_176, 1); -lean_dec(x_181); -lean_ctor_set(x_176, 1, x_49); -x_182 = lean_st_ref_set(x_6, x_175, x_177); -lean_dec(x_6); -x_183 = !lean_is_exclusive(x_182); -if (x_183 == 0) -{ -lean_object* x_184; -x_184 = lean_ctor_get(x_182, 0); -lean_dec(x_184); -lean_ctor_set_tag(x_182, 1); -lean_ctor_set(x_182, 0, x_170); -x_12 = x_182; -goto block_24; -} -else -{ -lean_object* x_185; lean_object* x_186; -x_185 = lean_ctor_get(x_182, 1); -lean_inc(x_185); -lean_dec(x_182); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_170); -lean_ctor_set(x_186, 1, x_185); -x_12 = x_186; -goto block_24; -} -} -else -{ -uint8_t 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; -x_187 = lean_ctor_get_uint8(x_176, sizeof(void*)*2); -x_188 = lean_ctor_get(x_176, 0); -lean_inc(x_188); -lean_dec(x_176); -x_189 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_49); -lean_ctor_set_uint8(x_189, sizeof(void*)*2, x_187); -lean_ctor_set(x_175, 5, x_189); -x_190 = lean_st_ref_set(x_6, x_175, x_177); -lean_dec(x_6); -x_191 = lean_ctor_get(x_190, 1); -lean_inc(x_191); -if (lean_is_exclusive(x_190)) { - lean_ctor_release(x_190, 0); - lean_ctor_release(x_190, 1); - x_192 = x_190; -} else { - lean_dec_ref(x_190); - x_192 = lean_box(0); -} -if (lean_is_scalar(x_192)) { - x_193 = lean_alloc_ctor(1, 2, 0); -} else { - x_193 = x_192; - lean_ctor_set_tag(x_193, 1); -} -lean_ctor_set(x_193, 0, x_170); -lean_ctor_set(x_193, 1, x_191); -x_12 = x_193; -goto block_24; -} -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t 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; -x_194 = lean_ctor_get(x_175, 0); -x_195 = lean_ctor_get(x_175, 1); -x_196 = lean_ctor_get(x_175, 2); -x_197 = lean_ctor_get(x_175, 3); -x_198 = lean_ctor_get(x_175, 4); -lean_inc(x_198); -lean_inc(x_197); -lean_inc(x_196); -lean_inc(x_195); -lean_inc(x_194); -lean_dec(x_175); -x_199 = lean_ctor_get_uint8(x_176, sizeof(void*)*2); -x_200 = lean_ctor_get(x_176, 0); -lean_inc(x_200); -if (lean_is_exclusive(x_176)) { - lean_ctor_release(x_176, 0); - lean_ctor_release(x_176, 1); - x_201 = x_176; -} else { - lean_dec_ref(x_176); - x_201 = lean_box(0); -} -if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(0, 2, 1); -} else { - x_202 = x_201; -} -lean_ctor_set(x_202, 0, x_200); -lean_ctor_set(x_202, 1, x_49); -lean_ctor_set_uint8(x_202, sizeof(void*)*2, x_199); -x_203 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_203, 0, x_194); -lean_ctor_set(x_203, 1, x_195); -lean_ctor_set(x_203, 2, x_196); -lean_ctor_set(x_203, 3, x_197); -lean_ctor_set(x_203, 4, x_198); -lean_ctor_set(x_203, 5, x_202); -x_204 = lean_st_ref_set(x_6, x_203, x_177); -lean_dec(x_6); -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -if (lean_is_exclusive(x_204)) { - lean_ctor_release(x_204, 0); - lean_ctor_release(x_204, 1); - x_206 = x_204; -} else { - lean_dec_ref(x_204); - x_206 = lean_box(0); -} -if (lean_is_scalar(x_206)) { - x_207 = lean_alloc_ctor(1, 2, 0); -} else { - x_207 = x_206; - lean_ctor_set_tag(x_207, 1); -} -lean_ctor_set(x_207, 0, x_170); -lean_ctor_set(x_207, 1, x_205); -x_12 = x_207; -goto block_24; -} -} -} -block_24: -{ -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); -lean_ctor_set(x_12, 0, x_15); -return x_12; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_12, 0); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_12); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -else -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_12); -if (x_20 == 0) -{ -return x_12; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_12, 0); -x_22 = lean_ctor_get(x_12, 1); +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_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_9, 1); +x_18 = lean_ctor_get(x_9, 2); +x_19 = lean_ctor_get(x_9, 3); +x_20 = lean_ctor_get(x_9, 4); +x_21 = lean_ctor_get(x_9, 5); +x_22 = lean_ctor_get(x_9, 6); +x_23 = lean_ctor_get(x_9, 7); +lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); -lean_dec(x_12); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_9); +x_24 = l_Lean_replaceRef(x_1, x_19); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_25, 0, x_16); +lean_ctor_set(x_25, 1, x_17); +lean_ctor_set(x_25, 2, x_18); +lean_ctor_set(x_25, 3, x_24); +lean_ctor_set(x_25, 4, x_20); +lean_ctor_set(x_25, 5, x_21); +lean_ctor_set(x_25, 6, x_22); +lean_ctor_set(x_25, 7, x_23); +x_26 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(x_2, x_3, x_4, x_1, x_5, x_6, x_7, x_8, x_25, x_10, x_11); +return x_26; } } } @@ -33205,7 +36290,7 @@ x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 1 lean_closure_set(x_14, 0, x_2); lean_closure_set(x_14, 1, x_12); lean_closure_set(x_14, 2, x_3); -x_15 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_2, x_12, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_15 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(x_2, x_12, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_13); return x_15; } else @@ -35902,7 +38987,7 @@ lean_dec(x_3); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__1() { _start: { lean_object* x_1; @@ -35910,21 +38995,21 @@ x_1 = lean_mk_string("letrec"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__12; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__2; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -36095,7 +39180,7 @@ lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean x_86 = lean_ctor_get(x_80, 1); lean_inc(x_86); lean_dec(x_80); -x_87 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__2; +x_87 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2; x_88 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_87, x_2, x_3, x_4, x_5, x_6, x_7, x_86); x_89 = lean_ctor_get(x_88, 0); lean_inc(x_89); @@ -36148,7 +39233,7 @@ lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint x_45 = lean_ctor_get(x_40, 1); lean_inc(x_45); lean_dec(x_40); -x_46 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__2; +x_46 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2; x_47 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_45); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); @@ -36273,7 +39358,7 @@ x_74 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed x_75 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_75, 0, x_73); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__2; +x_76 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2; x_77 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_76, x_75, x_2, x_3, x_4, x_5, x_6, x_7, x_62); x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); @@ -41319,7 +44404,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__2; x_2 = l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__6___closed__1; -x_3 = lean_unsigned_to_nat(1489u); +x_3 = lean_unsigned_to_nat(1498u); x_4 = lean_unsigned_to_nat(31u); x_5 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -42384,50 +45469,51 @@ return x_20; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +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_21 = lean_ctor_get(x_14, 0); lean_inc(x_21); lean_dec(x_14); x_22 = lean_box(0); +x_23 = lean_box(0); lean_inc(x_21); -x_23 = l_Lean_Elab_Term_addTermInfo(x_2, x_21, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); +x_24 = l_Lean_Elab_Term_addTermInfo(x_2, x_21, x_22, x_22, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -lean_dec(x_23); -x_26 = l_Lean_Elab_Term_resolveId_x3f___lambda__1(x_21, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_25); -lean_dec(x_5); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); lean_dec(x_24); -return x_26; +x_27 = l_Lean_Elab_Term_resolveId_x3f___lambda__1(x_21, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +lean_dec(x_5); +lean_dec(x_25); +return x_27; } } else { -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_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_dec(x_17); lean_dec(x_2); -x_27 = l_Lean_stringToMessageData(x_3); -x_28 = l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__2; -x_29 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -x_30 = l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__4; -x_31 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_14); -x_33 = l_Lean_MessageData_ofList(x_32); -lean_dec(x_32); -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_31); -lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; -x_36 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__1(x_36, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_37; +x_28 = l_Lean_stringToMessageData(x_3); +x_29 = l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__2; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__4; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_14); +x_34 = l_Lean_MessageData_ofList(x_33); +lean_dec(x_33); +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_32); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_throwError___at_Lean_Elab_Term_resolveId_x3f___spec__1(x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_38; } } } @@ -44540,97 +47626,101 @@ lean_inc(x_12); x_25 = l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_24); if (lean_obj_tag(x_25) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +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; uint8_t x_34; x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); lean_dec(x_25); -x_28 = l_Lean_LocalContext_empty; -x_29 = lean_alloc_ctor(0, 4, 0); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 2, x_26); -lean_ctor_set(x_29, 3, x_1); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addTermInfo___spec__1(x_30, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +lean_ctor_set(x_29, 1, x_1); +x_30 = l_Lean_LocalContext_empty; +x_31 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_3); +lean_ctor_set(x_31, 3, x_26); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_27); lean_dec(x_8); lean_dec(x_4); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) { -lean_object* x_33; -x_33 = lean_ctor_get(x_31, 0); +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set(x_33, 0, x_12); +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); lean_dec(x_33); -lean_ctor_set(x_31, 0, x_12); -return x_31; -} -else -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_12); -lean_ctor_set(x_35, 1, x_34); -return x_35; +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_12); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } else { -uint8_t x_36; +uint8_t x_38; lean_dec(x_12); lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_36 = !lean_is_exclusive(x_25); -if (x_36 == 0) +x_38 = !lean_is_exclusive(x_25); +if (x_38 == 0) { return x_25; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_25, 0); -x_38 = lean_ctor_get(x_25, 1); -lean_inc(x_38); -lean_inc(x_37); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_25, 0); +x_40 = lean_ctor_get(x_25, 1); +lean_inc(x_40); +lean_inc(x_39); lean_dec(x_25); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } } else { -uint8_t x_40; +uint8_t x_42; lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_11); -if (x_40 == 0) +x_42 = !lean_is_exclusive(x_11); +if (x_42 == 0) { return x_11; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_11, 0); -x_42 = lean_ctor_get(x_11, 1); -lean_inc(x_42); -lean_inc(x_41); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_11, 0); +x_44 = lean_ctor_get(x_11, 1); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_11); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } @@ -57265,7 +60355,7 @@ lean_dec(x_3); return x_11; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -57275,7 +60365,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__2() { _start: { lean_object* x_1; @@ -57283,17 +60373,17 @@ x_1 = lean_mk_string("debug"); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__12; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__2; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -57305,7 +60395,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__1; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__1; x_6 = l_Lean_registerTraceClass(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -57313,7 +60403,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__3; +x_8 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__3; x_9 = l_Lean_registerTraceClass(x_8, x_7); return x_9; } @@ -57882,32 +60972,32 @@ l_Lean_Elab_Term_synthesizeInstMVarCore___closed__9 = _init_l_Lean_Elab_Term_syn lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__9); l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999____closed__4); l_Lean_Elab_Term_autoLift___closed__1 = _init_l_Lean_Elab_Term_autoLift___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_autoLift___closed__1); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3997_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_3999_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_autoLift = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_autoLift); lean_dec_ref(res); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019____closed__4); l_Lean_Elab_Term_maxCoeSize___closed__1 = _init_l_Lean_Elab_Term_maxCoeSize___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_maxCoeSize___closed__1); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4017_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_4019_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_maxCoeSize = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_maxCoeSize); @@ -58076,20 +61166,20 @@ l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2 = lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2); l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___closed__1); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__1); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__2); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__3 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__3); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__4 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__4); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__5 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__5); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__6 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__6); -l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__7 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6___closed__7); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__2); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__4); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__6); +l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7); l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__1 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__1); l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___closed__2(); @@ -58130,11 +61220,11 @@ l_Lean_Elab_Term_mkAuxName___closed__1 = _init_l_Lean_Elab_Term_mkAuxName___clos lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__1); l_Lean_Elab_Term_mkAuxName___closed__2 = _init_l_Lean_Elab_Term_mkAuxName___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372____closed__2); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9372_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412____closed__2); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_9412_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_isLetRecAuxMVar___closed__1 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___closed__1(); @@ -58637,13 +61727,13 @@ l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed_ lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__3); l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__4 = _init_l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__4(); lean_mark_persistent(l___private_Lean_Elab_Term_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452____closed__3); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13452_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492____closed__3); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_13492_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Util.c b/stage0/stdlib/Lean/Elab/Util.c index 55145300ca..845f70a060 100644 --- a/stage0/stdlib/Lean/Elab/Util.c +++ b/stage0/stdlib/Lean/Elab/Util.c @@ -13,33 +13,25 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); -lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM_match__2(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__4; +lean_object* l_Lean_Elab_liftMacroM_match__2(lean_object*); lean_object* l_Lean_Elab_macroAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_expandOptNamedName(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Elab_getBetterRef___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandOptNamedPrio(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__3; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkMacroAttribute(lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__3; static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__7; lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_macroAttribute___closed__2; lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*); -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_format___boxed(lean_object*, lean_object*); lean_object* l_String_toFormat(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_adaptMacro___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_adaptMacro___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_macroAttribute___closed__1; static lean_object* l_Lean_Elab_macroAttribute___closed__12; static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__3; @@ -48,106 +40,101 @@ lean_object* l_Lean_MacroScopesView_format(lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM_match__1(lean_object*); static lean_object* l_Lean_Elab_macroAttribute___closed__4; -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_macroAttribute___lambda__4___boxed(lean_object*); lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__12(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_id___rarg___boxed(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_macroAttribute___closed__9; -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg(lean_object*); -static lean_object* l_Lean_Elab_expandOptNamedName___closed__2; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__1; static lean_object* l_Lean_Elab_mkElabAttribute___rarg___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_adaptMacro___spec__1(lean_object*); +lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_expandMacroImpl_x3f___closed__1; lean_object* l_Lean_Elab_instMonadMacroAdapter___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__2; +lean_object* l_Lean_Elab_expandMacroImpl_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_macroAttribute___lambda__6___closed__1; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_macroAttribute___lambda__6___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_macroAttribute___lambda__6___boxed(lean_object*); static lean_object* l_Lean_Elab_macroAttribute___closed__13; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__2; -static lean_object* l_Lean_Elab_expandOptNamedName___closed__1; -lean_object* l_Lean_Elab_expandOptNamedName___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_macroAttribute___closed__3; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Elab_macroAttribute___closed__15; -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_macroAttribute___lambda__4___closed__1; -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_evalSyntaxConstant___closed__1; static lean_object* l_Lean_Elab_macroAttribute___closed__14; -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_macroAttribute___closed__5; lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__6; -static lean_object* l_Lean_Elab_checkSyntaxNodeKind___closed__2; +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_macroAttribute___lambda__1___closed__1; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_macroAttribute___closed__8; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__4; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces(lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_evalSyntaxConstant___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_getBetterRef___lambda__1(lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__2; +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__11(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*); static lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__2; static lean_object* l_Lean_Elab_macroAttribute___lambda__1___closed__2; -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_macroAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1___closed__3; -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_prettyPrint_match__1(lean_object*); -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__2___boxed(lean_object**); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1; static lean_object* l_Lean_Elab_macroAttribute___closed__6; lean_object* lean_name_append_index_after(lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKind___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__10; -lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__1; lean_object* l_Lean_Elab_instMonadMacroAdapter(lean_object*, lean_object*); static lean_object* l_Lean_Elab_evalSyntaxConstant___closed__2; -lean_object* l_Lean_Elab_macroAttribute___lambda__5___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_macroAttribute___lambda__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_49____spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_expandOptNamedPrio___closed__7; -lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279_(lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217_(lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_630_(lean_object*); -lean_object* l_Lean_Elab_getMacros(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_584_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503_(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__14(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_Lean_Syntax_prettyPrint(lean_object*); lean_object* l_Lean_Elab_mkUnusedBaseName_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Elab_getBetterRef___spec__1(lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_KeyedDeclsAttribute_getValues___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM_match__2___rarg(lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__4(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__5(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__1; lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2(lean_object*); static lean_object* l_Lean_Elab_expandOptNamedPrio___closed__3; +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instMonadMacroAdapter___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack(lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__9; lean_object* l_Lean_Macro_hasDecl(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_macroAttribute___lambda__8(lean_object*); lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM(lean_object*, lean_object*); static lean_object* l_Lean_Elab_expandOptNamedPrio___closed__5; @@ -157,41 +144,39 @@ static lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__3; lean_object* l_Lean_Elab_getBetterRef___lambda__1___boxed(lean_object*); lean_object* l_Lean_Syntax_prettyPrint_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_macroAttribute___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__1(lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces_match__1(lean_object*); static lean_object* l_Lean_Elab_macroAttribute___closed__10; -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1; lean_object* l_Lean_Environment_evalConstCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__6; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__6; static lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__3; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*); lean_object* l_Lean_Syntax_unsetTrailing(lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1(lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__1; +lean_object* l_Lean_Elab_liftMacroM_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__1; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__5; static lean_object* l_Lean_Elab_macroAttribute___closed__16; +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f_match__2(lean_object*); lean_object* l_Lean_Elab_getBetterRef_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_macroAttribute___lambda__7___boxed(lean_object*); -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f_match__3(lean_object*); static lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1___closed__1; lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_getMacros___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_macroAttribute; static lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1___closed__2; lean_object* lean_environment_main_module(lean_object*); static lean_object* l_Lean_Elab_macroAttribute___closed__7; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__3; -static lean_object* l_Lean_Elab_checkSyntaxNodeKind___closed__1; +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__2; static lean_object* l_Lean_Elab_expandOptNamedPrio___closed__6; lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute(lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__2(lean_object*); -static lean_object* l_Lean_Elab_macroAttribute___lambda__7___closed__1; static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__5; lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Elab_mkUnusedBaseName_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -200,72 +185,82 @@ lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Elab_getBetterRef_match__2(lean_object*); uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__1; +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Attribute_Builtin_getId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___at_Lean_Elab_adaptMacro___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_evalSyntaxConstant(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_pp_macroStack; lean_object* l_Lean_Elab_adaptMacro___rarg(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_Lean_Elab_macroAttribute___lambda__8___boxed(lean_object*); +lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_getBetterRef___closed__1; lean_object* l_Lean_Elab_getBetterRef___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f_match__1(lean_object*); lean_object* l_List_foldl___at_Lean_MacroScopesView_review___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__8(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*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__2; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_macroAttribute___lambda__2(lean_object*); static lean_object* l_Lean_Elab_macroAttribute___closed__11; -lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux_match__1(lean_object*); lean_object* l_Lean_Elab_getBetterRef_match__1(lean_object*); lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_macroAttribute___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_macroAttribute___lambda__5(lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_macroAttribute___lambda__5(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_expandOptNamedPrio___closed__2; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandOptNamedPrio___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_expandOptNamedPrio___closed__8; +lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkSyntaxNodeKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_expandOptNamedPrio___closed__1; lean_object* l_Lean_indentD(lean_object*); lean_object* l_Lean_Elab_macroAttribute___lambda__4(lean_object*); -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkSyntaxNodeKind(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKind(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__13(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_Lean_Elab_liftMacroM___rarg___lambda__13(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_Lean_Elab_getBetterRef_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__2; lean_object* l_Lean_Elab_macroAttribute___lambda__7(lean_object*); -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forIn_loop___at_Lean_Elab_expandMacroImpl_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_expandOptNamedPrio___closed__4; uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkMacroAttribute___closed__2; uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM_match__3(lean_object*, lean_object*); static lean_object* l_Lean_Elab_pp_macroStack___closed__1; static lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__1; static uint32_t l_Lean_Elab_mkMacroAttribute___closed__1; static lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__2; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__3; static lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__4; -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandMacroImpl_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_liftMacroM_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__2; lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_evalPrio(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__4; -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__8; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Syntax_reprint(lean_object*); -lean_object* l_Lean_Elab_macroAttribute___lambda__6(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_macroAttribute___lambda__6(lean_object*); lean_object* l_Lean_Elab_addMacroStack_match__1(lean_object*); static lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__4; lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__5; lean_object* l_Lean_Attribute_Builtin_getId(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkMacroAttributeUnsafe(lean_object*); lean_object* l_Lean_Syntax_prettyPrint_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -520,84 +515,6 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_expandOptNamedName___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("namedName"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_expandOptNamedName___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_expandOptNamedPrio___closed__6; -x_2 = l_Lean_Elab_expandOptNamedName___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_expandOptNamedName(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = l_Lean_Syntax_isNone(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = l_Lean_Elab_expandOptNamedName___closed__2; -lean_inc(x_6); -x_8 = l_Lean_Syntax_isOfKind(x_6, x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_6); -x_9 = lean_box(1); -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_3); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_11 = lean_unsigned_to_nat(3u); -x_12 = l_Lean_Syntax_getArg(x_6, x_11); -lean_dec(x_6); -x_13 = l_Lean_Syntax_getId(x_12); -lean_dec(x_12); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_3); -return x_15; -} -} -else -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_3); -return x_17; -} -} -} -lean_object* l_Lean_Elab_expandOptNamedName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Elab_expandOptNamedName(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} lean_object* l_Lean_Elab_getBetterRef_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -796,7 +713,7 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__1() { _start: { lean_object* x_1; @@ -804,17 +721,17 @@ x_1 = lean_mk_string("pp"); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____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_initFn____x40_Lean_Elab_Util___hyg_279____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__3() { _start: { lean_object* x_1; @@ -822,17 +739,17 @@ x_1 = lean_mk_string("macroStack"); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__4() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__2; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__3; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__2; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__5() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__5() { _start: { lean_object* x_1; @@ -840,13 +757,13 @@ x_1 = lean_mk_string("dispaly macro expansion stack"); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__6() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__6() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__1; -x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__5; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__1; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -855,12 +772,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__4; -x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__6; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__4; +x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__6; x_4 = l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_49____spec__1(x_2, x_3, x_1); return x_4; } @@ -1117,7 +1034,7 @@ lean_dec(x_3); return x_5; } } -static lean_object* _init_l_Lean_Elab_checkSyntaxNodeKind___closed__1() { +static lean_object* _init_l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -1125,16 +1042,201 @@ x_1 = lean_mk_string("failed"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkSyntaxNodeKind___closed__2() { +static lean_object* _init_l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkSyntaxNodeKind___closed__1; +x_1 = l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_checkSyntaxNodeKind(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = l_Lean_Parser_isValidSyntaxNodeKind(x_4, x_1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_1); +x_6 = l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__2; +x_7 = l_Lean_throwError___rarg(x_2, x_3, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +lean_dec(x_2); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_apply_2(x_9, lean_box(0), x_1); +return x_10; +} +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKind___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___boxed), 4, 3); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_1); +lean_closure_set(x_7, 2, x_3); +x_8 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_7); +return x_8; +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKind(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_checkSyntaxNodeKind___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKind___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_Elab_checkSyntaxNodeKind___rarg___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +return x_5; +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_4); +lean_dec(x_2); +x_5 = lean_box(0); +x_6 = lean_apply_1(x_3, x_5); +return x_6; +} +case 1: +{ +lean_object* x_7; lean_object* x_8; uint64_t x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +lean_dec(x_3); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +x_10 = lean_box_uint64(x_9); +x_11 = lean_apply_4(x_2, x_1, x_7, x_8, x_10); +return x_11; +} +default: +{ +lean_object* x_12; +lean_dec(x_3); +lean_dec(x_2); +x_12 = lean_apply_1(x_4, x_1); +return x_12; +} +} +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_checkSyntaxNodeKindAtNamespaces_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (lean_obj_tag(x_5)) { +case 0: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_checkSyntaxNodeKind___rarg(x_1, x_2, x_3, x_4); +return x_6; +} +case 1: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_inc(x_4); +x_9 = l_Lean_Name_append(x_5, x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_10 = l_Lean_Elab_checkSyntaxNodeKind___rarg(x_1, x_2, x_3, x_9); +x_11 = l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg(x_1, x_2, x_3, x_4, x_7); +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_12, 0, x_11); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_dec(x_8); +x_14 = lean_apply_3(x_13, lean_box(0), x_10, x_12); +return x_14; +} +default: +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_4); +lean_dec(x_2); +x_15 = l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__2; +x_16 = l_Lean_throwError___rarg(x_1, x_3, x_15); +return x_16; +} +} +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg___boxed), 5, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg___lambda__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg___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_checkSyntaxNodeKindAtNamespaces___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +return x_6; +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -1155,7 +1257,7 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_5); lean_dec(x_1); -x_11 = l_Lean_Elab_checkSyntaxNodeKind___closed__2; +x_11 = l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__2; x_12 = l_Lean_throwError___at_Lean_Attribute_Builtin_getId___spec__2(x_11, x_2, x_3, x_8); return x_12; } @@ -1182,7 +1284,7 @@ if (x_16 == 0) { lean_object* x_17; lean_object* x_18; lean_dec(x_1); -x_17 = l_Lean_Elab_checkSyntaxNodeKind___closed__2; +x_17 = l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__2; x_18 = l_Lean_throwError___at_Lean_Attribute_Builtin_getId___spec__2(x_17, x_2, x_3, x_14); return x_18; } @@ -1197,110 +1299,85 @@ return x_19; } } } -lean_object* l_Lean_Elab_checkSyntaxNodeKind___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___spec__2(x_1, x_3, x_4, x_5); +return x_6; +} +case 1: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_1); +x_8 = l_Lean_Name_append(x_2, x_1); +x_9 = l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___spec__2(x_8, x_3, x_4, x_5); +if (lean_obj_tag(x_9) == 0) +{ +lean_dec(x_1); +return x_9; +} +else +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_2 = x_7; +x_5 = x_10; +goto _start; +} +} +default: +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_1); +x_12 = l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__2; +x_13 = l_Lean_throwError___at_Lean_Attribute_Builtin_getId___spec__2(x_12, x_3, x_4, x_5); +return x_13; +} +} +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces(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_ctor_get(x_2, 4); +x_6 = l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___spec__1(x_1, x_5, x_2, x_3, x_4); +return x_6; +} +} +lean_object* l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___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_checkSyntaxNodeKind(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___spec__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_4(x_2, x_1, x_4, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -if (lean_obj_tag(x_2) == 1) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_2, 0); -lean_inc(x_1); -x_7 = l_Lean_Name_append(x_2, x_1); -x_8 = l_Lean_Elab_checkSyntaxNodeKind(x_7, x_3, x_4, x_5); -if (lean_obj_tag(x_8) == 0) -{ -lean_dec(x_1); -return x_8; -} -else -{ -lean_object* x_9; -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_2 = x_6; -x_5 = x_9; -goto _start; -} -} -else -{ -lean_object* x_11; lean_object* x_12; -lean_dec(x_1); -x_11 = l_Lean_Elab_checkSyntaxNodeKind___closed__2; -x_12 = l_Lean_throwError___at_Lean_Attribute_Builtin_getId___spec__2(x_11, x_3, x_4, x_5); -return x_12; -} -} -} -lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___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_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___spec__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); return x_6; } } -lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces(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_ctor_get(x_2, 4); -x_6 = l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux(x_1, x_5, x_2, x_3, x_4); -return x_6; -} -} -lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___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_checkSyntaxNodeKindAtNamespaces(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; @@ -1367,13 +1444,11 @@ x_13 = l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__4; x_14 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -lean_inc(x_7); -x_15 = l_Lean_Elab_checkSyntaxNodeKind(x_7, x_3, x_4, x_8); +x_15 = l_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces(x_7, x_3, x_4, x_8); if (lean_obj_tag(x_15) == 0) { lean_dec(x_14); lean_dec(x_9); -lean_dec(x_7); lean_dec(x_3); return x_15; } @@ -1383,11 +1458,10 @@ lean_object* x_16; lean_object* x_17; x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); lean_dec(x_15); -x_17 = l_Lean_Elab_checkSyntaxNodeKindAtNamespaces(x_7, x_3, x_4, x_16); +x_17 = l_Lean_Elab_checkSyntaxNodeKind___at_Lean_Elab_checkSyntaxNodeKindAtCurrentNamespaces___spec__2(x_9, x_3, x_4, x_16); if (lean_obj_tag(x_17) == 0) { lean_dec(x_14); -lean_dec(x_9); lean_dec(x_3); return x_17; } @@ -1397,47 +1471,33 @@ lean_object* x_18; lean_object* x_19; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_Elab_checkSyntaxNodeKind(x_9, x_3, x_4, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_dec(x_14); +x_19 = l_Lean_throwError___at_Lean_Attribute_Builtin_getId___spec__2(x_14, x_3, x_4, x_18); lean_dec(x_3); return x_19; } -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = l_Lean_throwError___at_Lean_Attribute_Builtin_getId___spec__2(x_14, x_3, x_4, x_20); -lean_dec(x_3); -return x_21; -} -} } } else { -uint8_t x_22; +uint8_t x_20; lean_dec(x_3); -x_22 = !lean_is_exclusive(x_6); -if (x_22 == 0) +x_20 = !lean_is_exclusive(x_6); +if (x_20 == 0) { return x_6; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_6, 0); -x_24 = lean_ctor_get(x_6, 1); -lean_inc(x_24); -lean_inc(x_23); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_6, 0); +x_22 = lean_ctor_get(x_6, 1); +lean_inc(x_22); +lean_inc(x_21); lean_dec(x_6); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; } } } @@ -1715,7 +1775,7 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_630_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_584_(lean_object* x_1) { _start: { lean_object* x_2; @@ -1797,14 +1857,7 @@ x_2 = l_Lean_Elab_macroAttribute___lambda__4___closed__1; return x_2; } } -lean_object* l_Lean_Elab_macroAttribute___lambda__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_inc(x_1); -return x_1; -} -} -lean_object* l_Lean_Elab_macroAttribute___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_macroAttribute___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; @@ -1815,7 +1868,7 @@ lean_ctor_set(x_5, 1, x_3); return x_5; } } -static lean_object* _init_l_Lean_Elab_macroAttribute___lambda__7___closed__1() { +static lean_object* _init_l_Lean_Elab_macroAttribute___lambda__6___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -1824,15 +1877,15 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Lean_Elab_macroAttribute___lambda__7(lean_object* x_1) { +lean_object* l_Lean_Elab_macroAttribute___lambda__6(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Elab_macroAttribute___lambda__7___closed__1; +x_2 = l_Lean_Elab_macroAttribute___lambda__6___closed__1; return x_2; } } -lean_object* l_Lean_Elab_macroAttribute___lambda__8(lean_object* x_1) { +lean_object* l_Lean_Elab_macroAttribute___lambda__7(lean_object* x_1) { _start: { lean_object* x_2; @@ -1892,7 +1945,7 @@ static lean_object* _init_l_Lean_Elab_macroAttribute___closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_macroAttribute___lambda__5___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg___lambda__1___boxed), 2, 0); return x_1; } } @@ -1948,7 +2001,7 @@ static lean_object* _init_l_Lean_Elab_macroAttribute___closed__11() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_macroAttribute___lambda__6___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_macroAttribute___lambda__5___boxed), 3, 0); return x_1; } } @@ -1956,7 +2009,7 @@ static lean_object* _init_l_Lean_Elab_macroAttribute___closed__12() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_macroAttribute___lambda__7___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_macroAttribute___lambda__6___boxed), 1, 0); return x_1; } } @@ -1964,7 +2017,7 @@ static lean_object* _init_l_Lean_Elab_macroAttribute___closed__13() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_macroAttribute___lambda__8___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_macroAttribute___lambda__7___boxed), 1, 0); return x_1; } } @@ -2047,26 +2100,25 @@ lean_dec(x_1); return x_2; } } -lean_object* l_Lean_Elab_macroAttribute___lambda__5___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_macroAttribute___lambda__5(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_Elab_macroAttribute___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_macroAttribute___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Elab_macroAttribute___lambda__6(x_1, x_2, x_3); +x_4 = l_Lean_Elab_macroAttribute___lambda__5(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } +lean_object* l_Lean_Elab_macroAttribute___lambda__6___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_macroAttribute___lambda__6(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Lean_Elab_macroAttribute___lambda__7___boxed(lean_object* x_1) { _start: { @@ -2076,16 +2128,7 @@ lean_dec(x_1); return x_2; } } -lean_object* l_Lean_Elab_macroAttribute___lambda__8___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Elab_macroAttribute___lambda__8(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_expandMacroImpl_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2105,15 +2148,52 @@ return x_6; } } } -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__1(lean_object* x_1) { +lean_object* l_Lean_Elab_expandMacroImpl_x3f_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f_match__1___rarg), 3, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_expandMacroImpl_x3f_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_2(x_2, x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_apply_2(x_3, x_7, x_8); +return x_9; +} +} +} +lean_object* l_Lean_Elab_expandMacroImpl_x3f_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_expandMacroImpl_x3f_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2126,121 +2206,305 @@ return x_5; } else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_object* x_6; lean_object* x_7; lean_dec(x_2); 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_8 = lean_apply_2(x_3, x_6, x_7); -return x_8; +x_7 = lean_apply_1(x_3, x_6); +return x_7; } } } -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__2(lean_object* x_1) { +lean_object* l_Lean_Elab_expandMacroImpl_x3f_match__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__2___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_expandMacroImpl_x3f_match__3___rarg), 3, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_List_forIn_loop___at_Lean_Elab_expandMacroImpl_x3f___spec__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: { -if (lean_obj_tag(x_2) == 0) +if (lean_obj_tag(x_3) == 0) { -lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -lean_dec(x_1); -x_5 = lean_box(1); -x_6 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_4); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_2, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_2, 1); -lean_inc(x_8); +lean_object* x_7; +lean_dec(x_5); lean_dec(x_2); -lean_inc(x_3); -lean_inc(x_1); -x_9 = lean_apply_3(x_7, x_1, x_3, x_4); -if (lean_obj_tag(x_9) == 0) -{ -lean_dec(x_8); -lean_dec(x_3); lean_dec(x_1); -return x_9; +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_10; -x_10 = lean_ctor_get(x_9, 0); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +lean_dec(x_3); +x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) +lean_inc(x_5); +lean_inc(x_1); +x_11 = lean_apply_3(x_10, x_1, x_5, x_6); +if (lean_obj_tag(x_11) == 0) { -uint8_t x_11; -lean_dec(x_8); -lean_dec(x_3); +uint8_t x_12; +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_2); lean_dec(x_1); -x_11 = !lean_is_exclusive(x_9); -if (x_11 == 0) +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) { -lean_object* x_12; -x_12 = lean_ctor_get(x_9, 0); -lean_dec(x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_9, 1); -lean_inc(x_13); -lean_dec(x_9); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -} -else -{ -lean_object* x_15; -x_15 = lean_ctor_get(x_9, 1); +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; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_8, 0); +lean_inc(x_14); +lean_dec(x_8); +x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_box(0); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set(x_11, 0, x_20); +return x_11; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_21 = lean_ctor_get(x_11, 0); +x_22 = lean_ctor_get(x_11, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_11); +x_23 = lean_ctor_get(x_8, 0); +lean_inc(x_23); +lean_dec(x_8); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_21); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_22); +return x_30; +} +} +else +{ +lean_object* x_31; +lean_dec(x_8); +x_31 = lean_ctor_get(x_11, 0); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) +{ +uint8_t x_32; lean_dec(x_9); -x_2 = x_8; -x_4 = x_15; +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_11); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = lean_ctor_get(x_11, 0); +lean_dec(x_33); +return x_11; +} +else +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_11, 1); +lean_inc(x_34); +lean_dec(x_11); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +else +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_11, 1); +lean_inc(x_36); +lean_dec(x_11); +lean_inc(x_2); +{ +lean_object* _tmp_2 = x_9; +lean_object* _tmp_3 = x_2; +lean_object* _tmp_5 = x_36; +x_3 = _tmp_2; +x_4 = _tmp_3; +x_6 = _tmp_5; +} goto _start; } } } } } -lean_object* l_Lean_Elab_getMacros(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_inc(x_2); -x_5 = l_Lean_Syntax_getKind(x_2); -x_6 = l_Lean_Elab_macroAttribute; -x_7 = l_Lean_KeyedDeclsAttribute_getValues___rarg(x_6, x_1, x_5); -lean_dec(x_5); -x_8 = l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns(x_2, x_7, x_3, x_4); -return x_8; -} -} -lean_object* l_Lean_Elab_getMacros___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_expandMacroImpl_x3f___lambda__1(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_getMacros(x_1, x_2, x_3, x_4); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_expandMacroImpl_x3f___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_expandMacroImpl_x3f(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_inc(x_2); +x_5 = l_Lean_Syntax_getKind(x_2); +x_6 = l_Lean_Elab_macroAttribute; +x_7 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_6, x_1, x_5); +lean_dec(x_5); +x_8 = lean_box(0); +x_9 = l_Lean_Elab_expandMacroImpl_x3f___closed__1; +x_10 = l_List_forIn_loop___at_Lean_Elab_expandMacroImpl_x3f___spec__1(x_2, x_9, x_7, x_9, x_3, x_4); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_10, 0); +lean_dec(x_14); +lean_ctor_set(x_10, 0, x_8); +return x_10; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_dec(x_10); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_8); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_10); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_10, 0); +lean_dec(x_18); +x_19 = lean_ctor_get(x_12, 0); +lean_inc(x_19); +lean_dec(x_12); +lean_ctor_set(x_10, 0, x_19); +return x_10; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); +lean_dec(x_10); +x_21 = lean_ctor_get(x_12, 0); +lean_inc(x_21); +lean_dec(x_12); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_10); +if (x_23 == 0) +{ +return x_10; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_10, 0); +x_25 = lean_ctor_get(x_10, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_10); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +lean_object* l_Lean_Elab_expandMacroImpl_x3f___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_Elab_expandMacroImpl_x3f___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_expandMacroImpl_x3f___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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); lean_dec(x_1); return x_5; } @@ -2287,108 +2551,43 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Elab_instMonadMacroAdapter___rarg), 2, 0 return x_3; } } -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_5; -x_5 = l_Lean_Elab_getMacros(x_1, x_2, x_3, x_4); -if (lean_obj_tag(x_5) == 0) +if (lean_obj_tag(x_1) == 0) { -uint8_t x_6; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_5, 0, x_8); +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); return x_5; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_5, 0); -x_10 = lean_ctor_get(x_5, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_5); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_9); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -} -else -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_5, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_5); -if (x_14 == 0) -{ -lean_object* x_15; -x_15 = lean_ctor_get(x_5, 0); -lean_dec(x_15); -return x_5; -} -else -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_5, 1); -lean_inc(x_16); -lean_dec(x_5); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_13); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -else -{ -uint8_t x_18; -x_18 = !lean_is_exclusive(x_5); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_5, 0); -lean_dec(x_19); -x_20 = lean_box(0); -lean_ctor_set_tag(x_5, 0); -lean_ctor_set(x_5, 0, x_20); -return x_5; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_5, 1); -lean_inc(x_21); -lean_dec(x_5); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -return x_23; -} -} -} -} -} -lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f(x_1, x_2, x_3, x_4); +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); lean_dec(x_1); -return x_5; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_apply_2(x_2, x_7, x_8); +return x_9; } } -lean_object* l_Lean_Elab_liftMacroM_match__1___rarg(lean_object* x_1, lean_object* x_2) { +} +lean_object* l_Lean_Elab_liftMacroM_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_liftMacroM_match__2___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -2401,15 +2600,15 @@ x_5 = lean_apply_2(x_2, x_3, x_4); return x_5; } } -lean_object* l_Lean_Elab_liftMacroM_match__1(lean_object* x_1) { +lean_object* l_Lean_Elab_liftMacroM_match__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM_match__1___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM_match__2___rarg), 2, 0); return x_2; } } -lean_object* l_Lean_Elab_liftMacroM_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_liftMacroM_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2459,11 +2658,11 @@ return x_14; } } } -lean_object* l_Lean_Elab_liftMacroM_match__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_liftMacroM_match__3(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM_match__2___rarg), 4, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM_match__3___rarg), 4, 0); return x_3; } } @@ -2639,6 +2838,135 @@ return x_2; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__1(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_17); +return x_5; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_ctor_set(x_6, 0, x_20); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_6); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +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_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +lean_dec(x_6); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_24 = x_5; +} else { + lean_dec_ref(x_5); + x_24 = lean_box(0); +} +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +if (lean_is_scalar(x_24)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_24; +} +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +return x_5; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__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; lean_object* x_7; x_5 = l_Lean_Environment_contains(x_1, x_2); x_6 = lean_box(x_5); @@ -2648,7 +2976,7 @@ lean_ctor_set(x_7, 1, x_4); return x_7; } } -lean_object* l_Lean_Elab_liftMacroM___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) { +lean_object* l_Lean_Elab_liftMacroM___rarg___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) { _start: { lean_object* x_7; lean_object* x_8; @@ -2659,7 +2987,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -lean_object* l_Lean_Elab_liftMacroM___rarg___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* l_Lean_Elab_liftMacroM___rarg___lambda__4(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; @@ -2670,7 +2998,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__5(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; @@ -2684,7 +3012,7 @@ x_6 = lean_apply_2(x_5, lean_box(0), x_2); return x_6; } } -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__5(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* l_Lean_Elab_liftMacroM___rarg___lambda__6(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) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -2695,14 +3023,14 @@ x_11 = l_List_reverse___rarg(x_10); lean_inc(x_6); lean_inc(x_2); x_12 = l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_11); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__4___boxed), 3, 2); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__5___boxed), 3, 2); lean_closure_set(x_13, 0, x_2); lean_closure_set(x_13, 1, x_8); x_14 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_12, x_13); return x_14; } } -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__6(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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__7(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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; @@ -2735,7 +3063,7 @@ x_25 = lean_ctor_get(x_23, 0); lean_inc(x_25); x_26 = lean_apply_1(x_24, x_25); lean_inc(x_13); -x_27 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__5___boxed), 9, 8); +x_27 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__6___boxed), 9, 8); lean_closure_set(x_27, 0, x_23); lean_closure_set(x_27, 1, x_9); lean_closure_set(x_27, 2, x_10); @@ -2787,14 +3115,14 @@ return x_36; } } } -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__7(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__8(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; x_16 = lean_ctor_get(x_1, 1); lean_inc(x_16); lean_inc(x_12); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__6), 16, 15); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__7), 16, 15); lean_closure_set(x_17, 0, x_2); lean_closure_set(x_17, 1, x_3); lean_closure_set(x_17, 2, x_4); @@ -2814,7 +3142,7 @@ x_18 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_16, x_17); return x_18; } } -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__8(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__9(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -2822,7 +3150,7 @@ x_16 = lean_ctor_get(x_1, 2); lean_inc(x_16); lean_dec(x_1); lean_inc(x_12); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__7), 15, 14); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__8), 15, 14); lean_closure_set(x_17, 0, x_2); lean_closure_set(x_17, 1, x_3); lean_closure_set(x_17, 2, x_4); @@ -2841,14 +3169,14 @@ x_18 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_16, x_17); return x_18; } } -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__9(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, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__10(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, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = lean_ctor_get(x_1, 1); lean_inc(x_15); lean_inc(x_11); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__8), 15, 14); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__9), 15, 14); lean_closure_set(x_16, 0, x_1); lean_closure_set(x_16, 1, x_2); lean_closure_set(x_16, 2, x_3); @@ -2867,14 +3195,14 @@ x_17 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_15, x_16); return x_17; } } -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__10(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, lean_object* x_13) { +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__11(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, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; x_14 = lean_ctor_get(x_1, 0); lean_inc(x_14); lean_inc(x_10); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__9), 14, 13); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__10), 14, 13); lean_closure_set(x_15, 0, x_2); lean_closure_set(x_15, 1, x_1); lean_closure_set(x_15, 2, x_3); @@ -2892,28 +3220,28 @@ x_16 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_14, x_15); return x_16; } } -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__11(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) { +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__12(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; 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_inc(x_1); -x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); lean_closure_set(x_13, 0, x_1); lean_inc(x_2); x_14 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); lean_closure_set(x_14, 0, x_2); lean_inc(x_1); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 4, 1); lean_closure_set(x_15, 0, x_1); lean_inc(x_12); lean_inc(x_2); lean_inc(x_1); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); lean_closure_set(x_16, 0, x_1); lean_closure_set(x_16, 1, x_2); lean_closure_set(x_16, 2, x_12); lean_inc(x_1); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__4___boxed), 6, 3); lean_closure_set(x_17, 0, x_1); lean_closure_set(x_17, 1, x_2); lean_closure_set(x_17, 2, x_12); @@ -2929,7 +3257,7 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); lean_inc(x_11); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__10), 13, 12); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__11), 13, 12); lean_closure_set(x_22, 0, x_4); lean_closure_set(x_22, 1, x_5); lean_closure_set(x_22, 2, x_1); @@ -2946,7 +3274,7 @@ x_23 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_21, x_22); return x_23; } } -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__12(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) { +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__13(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; lean_object* x_14; lean_object* x_15; @@ -2954,7 +3282,7 @@ x_13 = lean_ctor_get(x_1, 1); lean_inc(x_13); lean_dec(x_1); lean_inc(x_11); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__11), 12, 11); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__12), 12, 11); lean_closure_set(x_14, 0, x_2); lean_closure_set(x_14, 1, x_12); lean_closure_set(x_14, 2, x_3); @@ -2970,14 +3298,14 @@ x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_14); return x_15; } } -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__13(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* l_Lean_Elab_liftMacroM___rarg___lambda__14(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) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; x_12 = lean_ctor_get(x_1, 0); lean_inc(x_12); lean_inc(x_10); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__12), 12, 11); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__13), 12, 11); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_11); lean_closure_set(x_13, 2, x_2); @@ -3003,7 +3331,7 @@ x_12 = lean_ctor_get(x_3, 0); lean_inc(x_12); lean_dec(x_3); lean_inc(x_11); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__13), 11, 10); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__14), 11, 10); lean_closure_set(x_13, 0, x_6); lean_closure_set(x_13, 1, x_5); lean_closure_set(x_13, 2, x_2); @@ -3068,21 +3396,18 @@ _start: { lean_object* x_5; x_5 = l_Lean_Elab_liftMacroM___rarg___lambda__1(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* l_Lean_Elab_liftMacroM___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) { +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_7; -x_7 = l_Lean_Elab_liftMacroM___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); +lean_object* x_5; +x_5 = l_Lean_Elab_liftMacroM___rarg___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -return x_7; +return x_5; } } lean_object* l_Lean_Elab_liftMacroM___rarg___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) { @@ -3091,457 +3416,47 @@ _start: lean_object* x_7; x_7 = l_Lean_Elab_liftMacroM___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__4___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_liftMacroM___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); lean_dec(x_2); return x_7; } } -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Elab_liftMacroM___rarg___lambda__4(x_1, x_2, x_3); +x_4 = l_Lean_Elab_liftMacroM___rarg___lambda__5(x_1, x_2, x_3); lean_dec(x_3); return x_4; } } -lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__5___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* l_Lean_Elab_liftMacroM___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_liftMacroM___rarg___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_liftMacroM___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_9); return x_10; } } -lean_object* l_List_forM___at_Lean_Elab_adaptMacro___spec__1___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, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_List_forM___at_Lean_Elab_adaptMacro___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -lean_object* l_List_forM___at_Lean_Elab_adaptMacro___spec__1___rarg(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: -{ -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); -lean_dec(x_1); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_box(0); -x_11 = lean_apply_2(x_9, lean_box(0), x_10); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_12 = lean_ctor_get(x_7, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_7, 1); -lean_inc(x_13); -lean_dec(x_7); -x_14 = lean_ctor_get(x_1, 1); -lean_inc(x_14); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_15 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_adaptMacro___spec__1___rarg___lambda__1___boxed), 8, 7); -lean_closure_set(x_15, 0, x_1); -lean_closure_set(x_15, 1, x_2); -lean_closure_set(x_15, 2, x_3); -lean_closure_set(x_15, 3, x_4); -lean_closure_set(x_15, 4, x_5); -lean_closure_set(x_15, 5, x_6); -lean_closure_set(x_15, 6, x_13); -x_16 = lean_ctor_get(x_12, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_dec(x_12); -x_18 = lean_ctor_get(x_2, 1); -lean_inc(x_18); -lean_inc(x_16); -lean_inc(x_1); -x_19 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__2___boxed), 4, 3); -lean_closure_set(x_19, 0, x_1); -lean_closure_set(x_19, 1, x_3); -lean_closure_set(x_19, 2, x_16); -lean_inc(x_5); -x_20 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_18, x_19); -x_21 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_liftMacroM___spec__2___rarg___lambda__3___boxed), 7, 6); -lean_closure_set(x_21, 0, x_1); -lean_closure_set(x_21, 1, x_17); -lean_closure_set(x_21, 2, x_2); -lean_closure_set(x_21, 3, x_6); -lean_closure_set(x_21, 4, x_4); -lean_closure_set(x_21, 5, x_16); -x_22 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_20, x_21); -x_23 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_22, x_15); -return x_23; -} -} -} -lean_object* l_List_forM___at_Lean_Elab_adaptMacro___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_List_forM___at_Lean_Elab_adaptMacro___spec__1___rarg), 7, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_adaptMacro___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, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -lean_dec(x_1); -x_11 = l_List_reverse___rarg(x_10); -lean_inc(x_6); -lean_inc(x_2); -x_12 = l_List_forM___at_Lean_Elab_adaptMacro___spec__1___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_11); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__4___boxed), 3, 2); -lean_closure_set(x_13, 0, x_2); -lean_closure_set(x_13, 1, x_8); -x_14 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_12, x_13); -return x_14; -} -} -lean_object* l_Lean_Elab_adaptMacro___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, 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) { -_start: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_environment_main_module(x_1); -x_19 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_19, 0, x_2); -lean_ctor_set(x_19, 1, x_18); -lean_ctor_set(x_19, 2, x_3); -lean_ctor_set(x_19, 3, x_4); -lean_ctor_set(x_19, 4, x_5); -lean_ctor_set(x_19, 5, x_6); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_17); -lean_ctor_set(x_21, 1, x_20); -x_22 = lean_apply_3(x_7, x_8, x_19, x_21); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_16); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_ctor_get(x_9, 2); -lean_inc(x_25); -lean_dec(x_9); -x_26 = lean_ctor_get(x_24, 0); -lean_inc(x_26); -x_27 = lean_apply_1(x_25, x_26); -lean_inc(x_14); -x_28 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg___lambda__1___boxed), 9, 8); -lean_closure_set(x_28, 0, x_24); -lean_closure_set(x_28, 1, x_10); -lean_closure_set(x_28, 2, x_11); -lean_closure_set(x_28, 3, x_12); -lean_closure_set(x_28, 4, x_13); -lean_closure_set(x_28, 5, x_14); -lean_closure_set(x_28, 6, x_15); -lean_closure_set(x_28, 7, x_23); -x_29 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_27, x_28); -return x_29; -} -else -{ -lean_object* x_30; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -x_30 = lean_ctor_get(x_22, 0); -lean_inc(x_30); -lean_dec(x_22); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_33, 0, x_32); -x_34 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = l_Lean_throwErrorAt___rarg(x_10, x_16, x_31, x_34); -return x_35; -} -else -{ -lean_object* x_36; lean_object* x_37; -lean_dec(x_10); -x_36 = lean_ctor_get(x_16, 0); -lean_inc(x_36); -lean_dec(x_16); -x_37 = l_Lean_Elab_throwUnsupportedSyntax___rarg(x_36); -return x_37; -} -} -} -} -lean_object* l_Lean_Elab_adaptMacro___rarg___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, 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) { -_start: -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_1, 1); -lean_inc(x_17); -lean_inc(x_13); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg___lambda__2___boxed), 17, 16); -lean_closure_set(x_18, 0, x_2); -lean_closure_set(x_18, 1, x_3); -lean_closure_set(x_18, 2, x_4); -lean_closure_set(x_18, 3, x_5); -lean_closure_set(x_18, 4, x_16); -lean_closure_set(x_18, 5, x_6); -lean_closure_set(x_18, 6, x_7); -lean_closure_set(x_18, 7, x_8); -lean_closure_set(x_18, 8, x_1); -lean_closure_set(x_18, 9, x_9); -lean_closure_set(x_18, 10, x_10); -lean_closure_set(x_18, 11, x_11); -lean_closure_set(x_18, 12, x_12); -lean_closure_set(x_18, 13, x_13); -lean_closure_set(x_18, 14, x_14); -lean_closure_set(x_18, 15, x_15); -x_19 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_17, x_18); -return x_19; -} -} -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__4(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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_1, 2); -lean_inc(x_17); -lean_dec(x_1); -lean_inc(x_13); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg___lambda__3), 16, 15); -lean_closure_set(x_18, 0, x_2); -lean_closure_set(x_18, 1, x_3); -lean_closure_set(x_18, 2, x_4); -lean_closure_set(x_18, 3, x_5); -lean_closure_set(x_18, 4, x_16); -lean_closure_set(x_18, 5, x_6); -lean_closure_set(x_18, 6, x_7); -lean_closure_set(x_18, 7, x_8); -lean_closure_set(x_18, 8, x_9); -lean_closure_set(x_18, 9, x_10); -lean_closure_set(x_18, 10, x_11); -lean_closure_set(x_18, 11, x_12); -lean_closure_set(x_18, 12, x_13); -lean_closure_set(x_18, 13, x_14); -lean_closure_set(x_18, 14, x_15); -x_19 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_17, x_18); -return x_19; -} -} -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__5(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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_1, 1); -lean_inc(x_16); -lean_inc(x_12); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg___lambda__4), 16, 15); -lean_closure_set(x_17, 0, x_1); -lean_closure_set(x_17, 1, x_2); -lean_closure_set(x_17, 2, x_3); -lean_closure_set(x_17, 3, x_4); -lean_closure_set(x_17, 4, x_15); -lean_closure_set(x_17, 5, x_5); -lean_closure_set(x_17, 6, x_6); -lean_closure_set(x_17, 7, x_7); -lean_closure_set(x_17, 8, x_8); -lean_closure_set(x_17, 9, x_9); -lean_closure_set(x_17, 10, x_10); -lean_closure_set(x_17, 11, x_11); -lean_closure_set(x_17, 12, x_12); -lean_closure_set(x_17, 13, x_13); -lean_closure_set(x_17, 14, x_14); -x_18 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_16, x_17); -return x_18; -} -} -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__6(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, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_1, 0); -lean_inc(x_15); -lean_inc(x_11); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg___lambda__5), 15, 14); -lean_closure_set(x_16, 0, x_2); -lean_closure_set(x_16, 1, x_1); -lean_closure_set(x_16, 2, x_3); -lean_closure_set(x_16, 3, x_4); -lean_closure_set(x_16, 4, x_14); -lean_closure_set(x_16, 5, x_5); -lean_closure_set(x_16, 6, x_6); -lean_closure_set(x_16, 7, x_7); -lean_closure_set(x_16, 8, x_8); -lean_closure_set(x_16, 9, x_9); -lean_closure_set(x_16, 10, x_10); -lean_closure_set(x_16, 11, x_11); -lean_closure_set(x_16, 12, x_12); -lean_closure_set(x_16, 13, x_13); -x_17 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_15, x_16); -return x_17; -} -} -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__7(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, lean_object* x_13) { -_start: -{ -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_inc(x_1); -x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_14, 0, x_1); -lean_inc(x_2); -x_15 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_15, 0, x_2); -lean_inc(x_1); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_16, 0, x_1); -lean_inc(x_13); -lean_inc(x_2); -lean_inc(x_1); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed), 6, 3); -lean_closure_set(x_17, 0, x_1); -lean_closure_set(x_17, 1, x_2); -lean_closure_set(x_17, 2, x_13); -lean_inc(x_1); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__3___boxed), 6, 3); -lean_closure_set(x_18, 0, x_1); -lean_closure_set(x_18, 1, x_2); -lean_closure_set(x_18, 2, x_13); -x_19 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_19, 0, x_14); -lean_ctor_set(x_19, 1, x_15); -lean_ctor_set(x_19, 2, x_16); -lean_ctor_set(x_19, 3, x_17); -lean_ctor_set(x_19, 4, x_18); -x_20 = x_19; -x_21 = lean_ctor_get(x_3, 1); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_inc(x_12); -x_23 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg___lambda__6), 14, 13); -lean_closure_set(x_23, 0, x_4); -lean_closure_set(x_23, 1, x_5); -lean_closure_set(x_23, 2, x_1); -lean_closure_set(x_23, 3, x_20); -lean_closure_set(x_23, 4, x_6); -lean_closure_set(x_23, 5, x_7); -lean_closure_set(x_23, 6, x_8); -lean_closure_set(x_23, 7, x_9); -lean_closure_set(x_23, 8, x_10); -lean_closure_set(x_23, 9, x_11); -lean_closure_set(x_23, 10, x_12); -lean_closure_set(x_23, 11, x_21); -lean_closure_set(x_23, 12, x_3); -x_24 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_22, x_23); -return x_24; -} -} -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__8(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, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_1, 1); -lean_inc(x_14); -lean_dec(x_1); -lean_inc(x_12); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg___lambda__7), 13, 12); -lean_closure_set(x_15, 0, x_2); -lean_closure_set(x_15, 1, x_13); -lean_closure_set(x_15, 2, x_3); -lean_closure_set(x_15, 3, x_4); -lean_closure_set(x_15, 4, x_5); -lean_closure_set(x_15, 5, x_6); -lean_closure_set(x_15, 6, x_7); -lean_closure_set(x_15, 7, x_8); -lean_closure_set(x_15, 8, x_9); -lean_closure_set(x_15, 9, x_10); -lean_closure_set(x_15, 10, x_11); -lean_closure_set(x_15, 11, x_12); -x_16 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_14, x_15); -return x_16; -} -} -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__9(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; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); -lean_inc(x_11); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg___lambda__8), 13, 12); -lean_closure_set(x_14, 0, x_1); -lean_closure_set(x_14, 1, x_12); -lean_closure_set(x_14, 2, x_2); -lean_closure_set(x_14, 3, x_3); -lean_closure_set(x_14, 4, x_4); -lean_closure_set(x_14, 5, x_5); -lean_closure_set(x_14, 6, x_6); -lean_closure_set(x_14, 7, x_7); -lean_closure_set(x_14, 8, x_8); -lean_closure_set(x_14, 9, x_9); -lean_closure_set(x_14, 10, x_10); -lean_closure_set(x_14, 11, x_11); -x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_14); -return x_15; -} -} lean_object* l_Lean_Elab_adaptMacro___rarg(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) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_1, 1); -lean_inc(x_12); -x_13 = lean_ctor_get(x_3, 0); -lean_inc(x_13); -lean_dec(x_3); -lean_inc(x_12); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg___lambda__9), 12, 11); -lean_closure_set(x_14, 0, x_6); -lean_closure_set(x_14, 1, x_5); -lean_closure_set(x_14, 2, x_2); -lean_closure_set(x_14, 3, x_4); -lean_closure_set(x_14, 4, x_10); -lean_closure_set(x_14, 5, x_11); -lean_closure_set(x_14, 6, x_1); -lean_closure_set(x_14, 7, x_7); -lean_closure_set(x_14, 8, x_8); -lean_closure_set(x_14, 9, x_9); -lean_closure_set(x_14, 10, x_12); -x_15 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_13, x_14); -return x_15; +lean_object* x_12; lean_object* x_13; +x_12 = lean_apply_1(x_10, x_11); +x_13 = l_Lean_Elab_liftMacroM___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +return x_13; } } lean_object* l_Lean_Elab_adaptMacro(lean_object* x_1) { @@ -3552,49 +3467,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg), 11, 0); return x_2; } } -lean_object* l_List_forM___at_Lean_Elab_adaptMacro___spec__1___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, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_List_forM___at_Lean_Elab_adaptMacro___spec__1___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -return x_9; -} -} -lean_object* l_Lean_Elab_adaptMacro___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, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_adaptMacro___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_9); -return x_10; -} -} -lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__2___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -_start: -{ -lean_object* x_18; -x_18 = l_Lean_Elab_adaptMacro___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_18; -} -} lean_object* l_Lean_Elab_mkUnusedBaseName_loop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -3807,7 +3679,7 @@ return x_25; } } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -3817,7 +3689,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__2() { _start: { lean_object* x_1; @@ -3825,21 +3697,21 @@ x_1 = lean_mk_string("step"); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__1; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__2; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -3847,7 +3719,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__3; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__3; x_6 = l_Lean_registerTraceClass(x_5, x_4); return x_6; } @@ -3920,27 +3792,23 @@ l_Lean_Elab_expandOptNamedPrio___closed__7 = _init_l_Lean_Elab_expandOptNamedPri lean_mark_persistent(l_Lean_Elab_expandOptNamedPrio___closed__7); l_Lean_Elab_expandOptNamedPrio___closed__8 = _init_l_Lean_Elab_expandOptNamedPrio___closed__8(); lean_mark_persistent(l_Lean_Elab_expandOptNamedPrio___closed__8); -l_Lean_Elab_expandOptNamedName___closed__1 = _init_l_Lean_Elab_expandOptNamedName___closed__1(); -lean_mark_persistent(l_Lean_Elab_expandOptNamedName___closed__1); -l_Lean_Elab_expandOptNamedName___closed__2 = _init_l_Lean_Elab_expandOptNamedName___closed__2(); -lean_mark_persistent(l_Lean_Elab_expandOptNamedName___closed__2); l_Lean_Elab_getBetterRef___closed__1 = _init_l_Lean_Elab_getBetterRef___closed__1(); lean_mark_persistent(l_Lean_Elab_getBetterRef___closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__4(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__5(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__6(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279____closed__6); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__3); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__4(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__4); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__5(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__5); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__6(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209____closed__6); l_Lean_Elab_pp_macroStack___closed__1 = _init_l_Lean_Elab_pp_macroStack___closed__1(); lean_mark_persistent(l_Lean_Elab_pp_macroStack___closed__1); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_279_(lean_io_mk_world()); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_209_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_pp_macroStack = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_pp_macroStack); @@ -3959,10 +3827,10 @@ l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__3 = _init_l_Lean_Elab_add lean_mark_persistent(l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__3); l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__4 = _init_l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__4(); lean_mark_persistent(l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__4); -l_Lean_Elab_checkSyntaxNodeKind___closed__1 = _init_l_Lean_Elab_checkSyntaxNodeKind___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkSyntaxNodeKind___closed__1); -l_Lean_Elab_checkSyntaxNodeKind___closed__2 = _init_l_Lean_Elab_checkSyntaxNodeKind___closed__2(); -lean_mark_persistent(l_Lean_Elab_checkSyntaxNodeKind___closed__2); +l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__1 = _init_l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__1); +l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__2 = _init_l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkSyntaxNodeKind___rarg___lambda__1___closed__2); l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__1 = _init_l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__1(); lean_mark_persistent(l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__1); l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__2 = _init_l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__2(); @@ -4010,8 +3878,8 @@ l_Lean_Elab_macroAttribute___lambda__1___closed__2 = _init_l_Lean_Elab_macroAttr lean_mark_persistent(l_Lean_Elab_macroAttribute___lambda__1___closed__2); l_Lean_Elab_macroAttribute___lambda__4___closed__1 = _init_l_Lean_Elab_macroAttribute___lambda__4___closed__1(); lean_mark_persistent(l_Lean_Elab_macroAttribute___lambda__4___closed__1); -l_Lean_Elab_macroAttribute___lambda__7___closed__1 = _init_l_Lean_Elab_macroAttribute___lambda__7___closed__1(); -lean_mark_persistent(l_Lean_Elab_macroAttribute___lambda__7___closed__1); +l_Lean_Elab_macroAttribute___lambda__6___closed__1 = _init_l_Lean_Elab_macroAttribute___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Elab_macroAttribute___lambda__6___closed__1); l_Lean_Elab_macroAttribute___closed__1 = _init_l_Lean_Elab_macroAttribute___closed__1(); lean_mark_persistent(l_Lean_Elab_macroAttribute___closed__1); l_Lean_Elab_macroAttribute___closed__2 = _init_l_Lean_Elab_macroAttribute___closed__2(); @@ -4044,18 +3912,20 @@ l_Lean_Elab_macroAttribute___closed__15 = _init_l_Lean_Elab_macroAttribute___clo lean_mark_persistent(l_Lean_Elab_macroAttribute___closed__15); l_Lean_Elab_macroAttribute___closed__16 = _init_l_Lean_Elab_macroAttribute___closed__16(); lean_mark_persistent(l_Lean_Elab_macroAttribute___closed__16); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_630_(lean_io_mk_world()); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_584_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_macroAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_macroAttribute); lean_dec_ref(res); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217____closed__3); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1217_(lean_io_mk_world()); +l_Lean_Elab_expandMacroImpl_x3f___closed__1 = _init_l_Lean_Elab_expandMacroImpl_x3f___closed__1(); +lean_mark_persistent(l_Lean_Elab_expandMacroImpl_x3f___closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503____closed__3); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1503_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Parser/Syntax.c b/stage0/stdlib/Lean/Parser/Syntax.c index d105a50b91..5dc597b7ea 100644 --- a/stage0/stdlib/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Lean/Parser/Syntax.c @@ -48,6 +48,7 @@ static lean_object* l_Lean_Parser_Command_prefix_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_infixl___closed__5; static lean_object* l_Lean_Parser_Term_stx_quot_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Command_syntaxCat_parenthesizer(lean_object*); +static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__16; static lean_object* l_Lean_Parser_Command_macro__rules___closed__7; lean_object* l_Lean_Parser_Term_prio_quot; static lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__5; @@ -68,7 +69,7 @@ static lean_object* l_Lean_Parser_Command_macroTailTactic___closed__1; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_macroArgSimple_formatter___closed__5; -static lean_object* l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__10; +lean_object* l_Lean_Parser_Command_macroRhs___elambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_elab_formatter___closed__3; static lean_object* l_Lean_Parser_Command_elabTail_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__10; @@ -76,7 +77,7 @@ static lean_object* l_Lean_Parser_Command_mixfixKind___closed__2; static lean_object* l_Lean_Parser_Syntax_atom___closed__6; static lean_object* l_Lean_Parser_Command_macroArgSimple_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__3; -static lean_object* l_Lean_Parser_Command_macroTailTactic___closed__8; +static lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer___closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_notation___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_precedence___elambda__1___lambda__1___closed__2; @@ -93,7 +94,6 @@ lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__14; static lean_object* l_Lean_Parser_Command_elab___closed__13; static lean_object* l_Lean_Parser_Command_postfix_formatter___closed__3; -static lean_object* l_Lean_Parser_Command_macroTailCommand___closed__7; lean_object* l_Lean_Parser_Command_mixfix; static lean_object* l_Lean_Parser_Syntax_sepBy___closed__10; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__15; @@ -106,6 +106,7 @@ static lean_object* l_Lean_Parser_precedence___elambda__1___lambda__2___closed__ static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__13; static lean_object* l_Lean_Parser_Command_macroTail_formatter___closed__1; static lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__9; +static lean_object* l_Lean_Parser_Command_elab__rules___closed__12; static lean_object* l_Lean_Parser_Term_prec_quot_formatter___closed__6; lean_object* l_Lean_Parser_ppSpace_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_precedence___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -120,11 +121,13 @@ static lean_object* l_Lean_Parser_precedence___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_optKind_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__11; +static lean_object* l_Lean_Parser_Command_macroRhs_formatter___closed__1; static lean_object* l_Lean_Parser_Term_prio_quot___closed__3; static lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__15; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__21; lean_object* l_Lean_Parser_Term_prec_quot; static lean_object* l_Lean_Parser_Command_namedName_parenthesizer___closed__9; +static lean_object* l_Lean_Parser_Command_macroRhs_formatter___closed__2; lean_object* l_Lean_Parser_Command_macroTailCommand_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_stx_quot___closed__9; static lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__3; @@ -144,9 +147,11 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_elab_formatter___closed__7; +static lean_object* l_Lean_Parser_Command_macroArg_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Syntax_nonReserved___closed__1; static lean_object* l_Lean_Parser_Syntax_sepBy1_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_syntaxCat_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Syntax_sepBy1_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Syntax_nonReserved___closed__2; lean_object* l_Lean_Parser_Command_mixfix_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -156,14 +161,13 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_prio_quot_parenthesizer___cl lean_object* l_Lean_Parser_Command_notationItem_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_stx_quot_parenthesizer___closed__5; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__13; -static lean_object* l_Lean_Parser_Command_macroTailDefault___closed__8; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_namedName_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Syntax_unary___closed__1; static lean_object* l_Lean_Parser_Term_stx_quot_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__13; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___closed__1; static lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__12; -static lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_infixl_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_namedName___closed__6; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__9; @@ -187,6 +191,8 @@ static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__16; static lean_object* l_Lean_Parser_Syntax_paren___closed__4; static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__10; static lean_object* l_Lean_Parser_Syntax_sepBy_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_Command_macroTail___elambda__1___closed__8; +static lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__17; lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_notation_formatter___closed__7; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__20; @@ -197,6 +203,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Syntax_cat(lean_object*); lean_object* l_Lean_Parser_Syntax_sepBy1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_prio_quot_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__10; +static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Syntax_nonReserved_formatter___closed__2; static lean_object* l_Lean_Parser_Command_infixr_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__8; @@ -274,8 +281,8 @@ static lean_object* l_Lean_Parser_Command_macroArg_parenthesizer___closed__3; static lean_object* l___regBuiltinParser_Lean_Parser_Syntax_numPrec___closed__4; static lean_object* l_Lean_Parser_Command_elab__rules___closed__7; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__6; +static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__20; lean_object* l_Lean_Parser_Command_macroTail_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__8; static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__13; lean_object* l_Lean_Parser_Command_elab__rules_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_ident; @@ -309,13 +316,13 @@ static lean_object* l_Lean_Parser_Syntax_unary_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__5; static lean_object* l_Lean_Parser_Command_identPrec_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Command_macroRhs_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_notation___closed__11; static lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__16; static lean_object* l_Lean_Parser_Syntax_unary_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_darrow; lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__6; -static lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Command_syntaxAbbrev_formatter___closed__1; static lean_object* l_Lean_Parser_Command_macroArgSimple___closed__4; static lean_object* l_Lean_Parser_Command_elab_formatter___closed__8; @@ -327,10 +334,8 @@ lean_object* l_Lean_Parser_Tactic_seq1_formatter(lean_object*, lean_object*, lea static lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__12; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__22; static lean_object* l_Lean_Parser_Command_macroArgSimple_parenthesizer___closed__2; -static lean_object* l_Lean_Parser_Command_macroTailCommand___closed__5; static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__10; static lean_object* l___regBuiltin_Lean_Parser_Syntax_atom_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__9; static lean_object* l_Lean_Parser_Command_elab_formatter___closed__1; lean_object* l_Lean_Parser_Command_mixfix___elambda__1___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Syntax_atom_parenthesizer___closed__2; @@ -355,6 +360,7 @@ static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__18; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__17; lean_object* l_Lean_Parser_Command_macroTail_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__5; +static lean_object* l_Lean_Parser_Command_macroTail___closed__7; static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__10; static lean_object* l_Lean_Parser_Command_syntax_formatter___closed__8; static lean_object* l_Lean_Parser_precedence___elambda__1___lambda__2___closed__9; @@ -367,14 +373,17 @@ static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__16; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__19; static lean_object* l_Lean_Parser_Syntax_cat___closed__2; static lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__10; +lean_object* l_Lean_Parser_Command_docComment_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_notation___closed__10; static lean_object* l_Lean_Parser_Term_prio_quot___closed__8; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__21; static lean_object* l_Lean_Parser_Command_namedName_formatter___closed__6; +static lean_object* l_Lean_Parser_Command_macroArg_formatter___closed__6; static lean_object* l_Lean_Parser_Command_identPrec_parenthesizer___closed__2; lean_object* l_Lean_Parser_addBuiltinParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__6; +static lean_object* l_Lean_Parser_Command_macroTail___elambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Syntax_atom_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_macroTail_formatter___closed__6; lean_object* l_Lean_Parser_optional_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mixfixKind_formatter___closed__6; lean_object* lean_array_get_size(lean_object*); @@ -386,6 +395,7 @@ static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__9; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_Command_macroRhs___closed__5; static lean_object* l_Lean_Parser_Syntax_binary_formatter___closed__7; static lean_object* l_Lean_Parser_Syntax_binary___closed__6; lean_object* l_Lean_Parser_Command_infixr; @@ -409,6 +419,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Syntax_numPrec_parenthesizer___cl lean_object* l_Lean_Parser_Command_macroTailDefault___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macroArgSymbol_formatter___closed__7; static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__16; +static lean_object* l_Lean_Parser_Command_macroArg_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Syntax_paren_parenthesizer___closed__1; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__17; lean_object* l_Lean_Parser_atomicFn(lean_object*, lean_object*, lean_object*); @@ -416,6 +427,7 @@ static lean_object* l_Lean_Parser_Command_elab___closed__3; lean_object* l___regBuiltin_Lean_Parser_Syntax_nonReserved_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_syntax_formatter___closed__1; static lean_object* l_Lean_Parser_Command_notationItem_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_Command_elab___closed__15; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Command_syntaxCat_formatter___closed__1; @@ -427,6 +439,7 @@ static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__12; lean_object* l_Lean_Parser_checkPrecFn___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_precedence___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__12; +static lean_object* l_Lean_Parser_Command_macroArg_formatter___closed__4; static lean_object* l_Lean_Parser_Command_macroArgSymbol_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__11; @@ -458,11 +471,13 @@ lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_obje static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__18; static lean_object* l_Lean_Parser_Syntax_sepBy_parenthesizer___closed__11; static lean_object* l_Lean_Parser_Syntax_paren___closed__3; +static lean_object* l_Lean_Parser_Command_macroRhs___elambda__1___closed__4; lean_object* l_Lean_Parser_Syntax_unary___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_elab___closed__14; static lean_object* l_Lean_Parser_Command_namedName___closed__1; lean_object* l_Lean_Parser_Syntax_binary; lean_object* l_Lean_Parser_Command_elabArg; +static lean_object* l_Lean_Parser_Command_macroTail___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_macroArgSimple___closed__9; static lean_object* l_Lean_Parser_Command_macro__rules___closed__8; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -504,11 +519,16 @@ static lean_object* l_Lean_Parser_Command_syntaxAbbrev_parenthesizer___closed__2 lean_object* l_Lean_Parser_Command_syntaxAbbrev; lean_object* l_Lean_Parser_Command_notation_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_infix_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__16; static lean_object* l___regBuiltin_Lean_Parser_Term_stx_quot_formatter___closed__2; static lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__8; +static lean_object* l_Lean_Parser_Command_macroArg___closed__5; lean_object* l_Lean_Parser_checkPrecFn(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Command_docComment_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__10; +lean_object* l_Lean_Parser_Command_macroRhs_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_elab__rules___closed__5; static lean_object* l_Lean_Parser_Syntax_sepBy___closed__4; static lean_object* l_Lean_Parser_Command_macro___closed__5; @@ -532,6 +552,7 @@ static lean_object* l_Lean_Parser_Term_prio_quot___elambda__1___closed__13; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_4____closed__2; lean_object* l___regBuiltin_Lean_Parser_Syntax_sepBy_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Command_syntaxAbbrev_formatter(lean_object*); +static lean_object* l_Lean_Parser_Command_syntax_formatter___closed__12; lean_object* l_Lean_Parser_identEqFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optional(lean_object*); static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__1; @@ -554,7 +575,6 @@ static lean_object* l_Lean_Parser_Command_identPrec___closed__5; static lean_object* l_Lean_Parser_Syntax_sepBy___closed__9; static lean_object* l_Lean_Parser_Term_prio_quot_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__6; -static lean_object* l_Lean_Parser_Command_macroTailDefault___closed__5; static lean_object* l_Lean_Parser_Command_notation___closed__6; static lean_object* l_Lean_Parser_Command_infixl_formatter___closed__2; static lean_object* l_Lean_Parser_Command_mixfix___closed__9; @@ -587,6 +607,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_syntaxAbbrev_formatter___ static lean_object* l_Lean_Parser_Syntax_paren_formatter___closed__1; static lean_object* l_Lean_Parser_Command_macroArgSymbol_parenthesizer___closed__9; static lean_object* l_Lean_Parser_Syntax_sepBy_parenthesizer___closed__10; +static lean_object* l_Lean_Parser_Command_elabTail___closed__8; static lean_object* l_Lean_Parser_Command_prefix___closed__4; static lean_object* l_Lean_Parser_Syntax_cat_formatter___closed__3; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___closed__8; @@ -612,6 +633,7 @@ static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__2; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__15; static lean_object* l_Lean_Parser_Command_macroArg___closed__1; +static lean_object* l_Lean_Parser_Command_macro___closed__15; static lean_object* l___regBuiltin_Lean_Parser_Term_stx_quot_formatter___closed__1; static lean_object* l_Lean_Parser_Command_macroTailCommand_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_syntax_formatter___closed__1; @@ -622,16 +644,16 @@ lean_object* l_Lean_PrettyPrinter_Formatter_withAntiquot_formatter(lean_object*, static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_syntaxAbbrev_formatter___closed__3; lean_object* l_Lean_Parser_Command_optNamedPrio_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_macroTailCommand___closed__6; lean_object* l_Lean_Parser_Command_macroTailDefault_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_elabTail___closed__9; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__15; -static lean_object* l_Lean_Parser_Command_macroTailDefault___closed__7; static lean_object* l_Lean_Parser_Term_stx_quot_formatter___closed__6; static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__11; lean_object* l_Lean_Parser_Command_infixl; lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__5; +static lean_object* l_Lean_Parser_Command_macro__rules_formatter___closed__10; static lean_object* l_Lean_Parser_Command_notation___closed__3; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_elabHead; @@ -646,12 +668,14 @@ static lean_object* l___regBuiltin_Lean_Parser_Syntax_binary_parenthesizer___clo lean_object* l_Lean_Parser_Syntax_binary_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_numPrec_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__11; +static lean_object* l_Lean_Parser_Command_macroTail_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_macroArgSimple_parenthesizer___closed__5; lean_object* l_Lean_Parser_optPrecedence_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__29; static lean_object* l_Lean_Parser_Command_macroArgSymbol_parenthesizer___closed__2; static lean_object* l_Lean_Parser_precedence_formatter___closed__4; +static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__26; static lean_object* l_Lean_Parser_Command_macro__rules___closed__1; static lean_object* l_Lean_Parser_Command_macroTail_formatter___closed__2; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__3; @@ -663,7 +687,6 @@ static lean_object* l_Lean_Parser_Command_mixfix___closed__11; static lean_object* l_Lean_Parser_Command_postfix___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_prio_quot_formatter___closed__2; static lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__6; -static lean_object* l_Lean_Parser_Command_macroTailTactic___closed__10; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__18; static lean_object* l_Lean_Parser_Command_macroTailCommand___closed__3; static lean_object* l_Lean_Parser_Command_elabTail___closed__1; @@ -689,6 +712,7 @@ static lean_object* l_Lean_Parser_Syntax_nonReserved_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__7; lean_object* l___regBuiltin_Lean_Parser_Command_syntax_parenthesizer(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_stx_quot_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__10; static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__15; static lean_object* l_Lean_Parser_Command_notation___closed__5; static lean_object* l_Lean_Parser_Term_stx_quot___closed__3; @@ -708,10 +732,12 @@ static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__20; static lean_object* l_Lean_Parser_Command_macro__rules___closed__9; lean_object* l_Lean_Parser_symbolFn___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__1; +static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__11; lean_object* l_Lean_Parser_darrow_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_sepBy1; lean_object* l_Lean_Parser_Command_elab_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__17; +static lean_object* l_Lean_Parser_Command_macroTail___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__10; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_sepBy1_parenthesizer___closed__1; @@ -735,6 +761,7 @@ static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__28; static lean_object* l_Lean_Parser_Syntax_cat_formatter___closed__5; static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__8; +static lean_object* l_Lean_Parser_Command_macroTail___elambda__1___closed__3; static lean_object* l_Lean_Parser_Syntax_paren_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Syntax_binary___closed__12; lean_object* l___regBuiltin_Lean_Parser_Syntax_nonReserved_formatter(lean_object*); @@ -749,7 +776,6 @@ static lean_object* l_Lean_Parser_Command_prefix___closed__1; static lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__2; lean_object* l___regBuiltin_Lean_Parser_Command_mixfix_formatter(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo(lean_object*, uint8_t); -static lean_object* l_Lean_Parser_Command_macroTailDefault_formatter___closed__6; static lean_object* l_Lean_Parser_Command_syntax___closed__15; lean_object* l_Lean_Parser_strLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__7; @@ -770,6 +796,7 @@ static lean_object* l_Lean_Parser_Syntax_sepBy1___closed__4; static lean_object* l_Lean_Parser_Command_optKind_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Syntax_nonReserved_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__3; +static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__21; static lean_object* l_Lean_Parser_Command_syntaxAbbrev_formatter___closed__4; static lean_object* l_Lean_Parser_Term_prio_quot_formatter___closed__5; lean_object* l_Lean_Parser_Command_notation; @@ -815,7 +842,6 @@ lean_object* l_Lean_Parser_Command_macro_formatter(lean_object*, lean_object*, l static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__20; static lean_object* l___regBuiltin_Lean_Parser_Command_notation_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__7; -static lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_postfix___closed__5; static lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__3; @@ -833,7 +859,6 @@ static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__10; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__2; lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_numPrec_formatter___closed__2; -lean_object* l_Lean_Parser_Tactic_seq1___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__17; static lean_object* l_Lean_Parser_Command_macro_formatter___closed__4; static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__15; @@ -844,6 +869,7 @@ static lean_object* l_Lean_Parser_Command_mixfix___closed__13; lean_object* l_Lean_Parser_precedence_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_syntaxParser_formatter___boxed(lean_object*); static lean_object* l_Lean_Parser_Syntax_binary___closed__7; +static lean_object* l_Lean_Parser_Command_macroTail___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__13; static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__7; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__7; @@ -858,8 +884,8 @@ static lean_object* l_Lean_Parser_Command_namedName_formatter___closed__4; static lean_object* l_Lean_Parser_Syntax_unary___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_macroArgSymbol___elambda__1___closed__2; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__5; +static lean_object* l_Lean_Parser_Command_macroRhs___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__5; -static lean_object* l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_identPrec___closed__3; static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_notationItem___elambda__1___closed__4; @@ -867,10 +893,13 @@ lean_object* l_Lean_Parser_Command_macroArg_formatter(lean_object*, lean_object* static lean_object* l_Lean_Parser_precedence___elambda__1___closed__18; static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__2; static lean_object* l_Lean_Parser_Syntax_unary___closed__8; +static lean_object* l_Lean_Parser_Command_macroArg___closed__7; static lean_object* l_Lean_Parser_Command_infixr_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_stx_quot___closed__8; +static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__21; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__4; +static lean_object* l_Lean_Parser_Command_macroRhs___closed__1; static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_stx_quot_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__7; @@ -888,6 +917,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_notation_parenthesizer___ static lean_object* l_Lean_Parser_Command_elab_formatter___closed__11; lean_object* l_Lean_Parser_Syntax_binary_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__18; +static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__19; lean_object* l_Lean_Parser_Syntax_unary_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_unary___closed__7; lean_object* l_Lean_Parser_categoryParserOfStack(lean_object*, lean_object*); @@ -904,6 +934,7 @@ lean_object* l_Lean_Parser_checkNoWsBeforeFn(lean_object*, lean_object*, lean_ob static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_stx_quot___closed__6; static lean_object* l_Lean_Parser_Command_optKind_formatter___closed__5; +static lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__12; static lean_object* l_Lean_Parser_Term_prio_quot___closed__1; lean_object* l_Lean_Parser_Syntax_cat; static lean_object* l_Lean_Parser_Command_macroTailDefault_formatter___closed__1; @@ -923,12 +954,13 @@ static lean_object* l_Lean_Parser_Command_macroTailCommand_parenthesizer___close static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__4; static lean_object* l_Lean_Parser_Syntax_paren___closed__8; lean_object* l_Lean_Parser_Command_notationItem___elambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Term_stx_quot___closed__1; lean_object* l_Lean_Parser_Command_syntaxCat_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_macroRhs___elambda__1___closed__2; lean_object* l_Lean_Parser_Syntax_nonReserved_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_nonReserved___closed__7; lean_object* l_Lean_Parser_Command_macroTailTactic; +static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__27; static lean_object* l_Lean_Parser_Command_namedName_formatter___closed__9; static lean_object* l_Lean_Parser_Command_syntaxAbbrev_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___closed__6; @@ -952,7 +984,6 @@ static lean_object* l_Lean_Parser_Term_prec_quot___closed__8; extern lean_object* l_Lean_Parser_maxPrec; static lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__17; -static lean_object* l_Lean_Parser_Command_macroTailTactic___closed__9; lean_object* l_Lean_Parser_strLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macroTailDefault_formatter___closed__2; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__4; @@ -960,11 +991,13 @@ lean_object* l_Lean_Parser_Command_elab_parenthesizer(lean_object*, lean_object* static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__13; lean_object* l_Lean_Parser_syntaxParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macro___closed__10; +static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__9; lean_object* l_Lean_PrettyPrinter_Formatter_many1Unbox_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_elab_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_infixr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__13; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__18; lean_object* l_Lean_Parser_Syntax_numPrec_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -974,6 +1007,7 @@ lean_object* l_Lean_Parser_Command_optNamedName_formatter(lean_object*, lean_obj static lean_object* l_Lean_Parser_Term_prec_quot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__14; static lean_object* l_Lean_Parser_Command_mixfixKind___closed__1; +static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__9; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__4; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_macro_formatter___closed__8; @@ -983,6 +1017,7 @@ static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__15; static lean_object* l_Lean_Parser_Command_macroTailDefault___closed__3; static lean_object* l_Lean_Parser_Syntax_numPrec___closed__3; +static lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer___closed__11; static lean_object* l_Lean_Parser_Command_macroTail_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_optKind___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_mixfix_parenthesizer___closed__1; @@ -990,6 +1025,8 @@ static lean_object* l_Lean_Parser_Command_namedName_formatter___closed__8; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__17; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__1; static lean_object* l_Lean_Parser_Syntax_sepBy_parenthesizer___closed__13; +static lean_object* l_Lean_Parser_Command_macro__rules___closed__11; +static lean_object* l_Lean_Parser_Command_syntax___closed__16; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__17; static lean_object* l_Lean_Parser_Command_syntaxAbbrev_parenthesizer___closed__3; @@ -1028,7 +1065,6 @@ static lean_object* l_Lean_Parser_Command_macroArg_formatter___closed__3; lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Parser_Term_prio_quot___closed__9; lean_object* l_Lean_Parser_Command_elab___elambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_macroTailCommand_formatter___closed__5; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_28____closed__6; static lean_object* l_Lean_Parser_Command_macroArgSymbol_formatter___closed__3; static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__8; @@ -1041,7 +1077,6 @@ static lean_object* l_Lean_Parser_precedence_formatter___closed__5; static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__12; static lean_object* l_Lean_Parser_Syntax_paren_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__10; static lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__2; static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__1; static lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__2; @@ -1064,19 +1099,19 @@ static lean_object* l_Lean_Parser_precedence_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__9; static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_elabTail; +static lean_object* l_Lean_Parser_Command_elabTail___closed__6; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__23; lean_object* l_Lean_Parser_Syntax_unary; static lean_object* l_Lean_Parser_Term_stx_quot_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_Command_macroArg_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_prio_quot_formatter___closed__6; lean_object* l___regBuiltin_Lean_Parser_Syntax_cat_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__3; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__1; -static lean_object* l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__9; -static lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__5; lean_object* l_Lean_Parser_Command_mixfixKind_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Syntax_binary___closed__1; @@ -1086,6 +1121,7 @@ static lean_object* l_Lean_Parser_Term_prio_quot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_prio_quot___elambda__1___closed__19; static lean_object* l_Lean_Parser_Syntax_sepBy___closed__2; static lean_object* l_Lean_Parser_Command_mixfixKind_formatter___closed__5; +static lean_object* l_Lean_Parser_Command_macroTail_formatter___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_prec_quot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__4; @@ -1096,7 +1132,7 @@ static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__14; lean_object* l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__16; -static lean_object* l_Lean_Parser_Command_macroTailDefault___closed__6; +static lean_object* l_Lean_Parser_Command_macroRhs___closed__3; lean_object* l_Lean_Parser_Term_prec_quot___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_precedence___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Command_syntaxCat(lean_object*); @@ -1106,6 +1142,7 @@ static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_prio_quot_formatter___closed__2; static lean_object* l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__4; lean_object* l_Lean_Parser_Command_namedName___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__2; static lean_object* l_Lean_Parser_Syntax_numPrec___closed__1; static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__13; static lean_object* l_Lean_Parser_Syntax_unary_formatter___closed__4; @@ -1119,15 +1156,16 @@ static lean_object* l_Lean_Parser_Command_macroArgSymbol___closed__4; static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__6; lean_object* l_Lean_Parser_Syntax_unary_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Syntax_sepBy(lean_object*); -static lean_object* l_Lean_Parser_Command_macroTailCommand_formatter___closed__6; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__7; lean_object* l_Lean_Parser_Syntax_atom; +static lean_object* l_Lean_Parser_Command_elab__rules___closed__13; static lean_object* l___regBuiltin_Lean_Parser_Syntax_cat_formatter___closed__2; lean_object* l_Lean_Parser_Term_stx_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__8; static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__13; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__2; static lean_object* l_Lean_Parser_Syntax_binary_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_Command_macroTail_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__2; static lean_object* l_Lean_Parser_Syntax_cat_formatter___closed__1; static lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__11; @@ -1139,12 +1177,12 @@ static lean_object* l_Lean_Parser_Command_macroTailCommand___closed__1; static lean_object* l_Lean_Parser_Command_identPrec___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Command_elab__rules_formatter___closed__1; static lean_object* l_Lean_Parser_Syntax_paren_formatter___closed__7; -static lean_object* l_Lean_Parser_Command_macroTailTactic___closed__11; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_syntax___closed__1; static lean_object* l___regBuiltinParser_Lean_Parser_Term_stx_quot___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Syntax_paren_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__5; +static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__21; lean_object* l_Lean_Parser_Term_prio_quot___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_elabHead_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1155,6 +1193,7 @@ static lean_object* l_Lean_Parser_Syntax_binary___closed__8; static lean_object* l_Lean_Parser_Command_notation_formatter___closed__9; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__11; static lean_object* l_Lean_Parser_precedence___closed__3; +static lean_object* l_Lean_Parser_Command_macroArg___closed__4; static lean_object* l_Lean_Parser_Command_notationItem___closed__1; static lean_object* l_Lean_Parser_precedence___elambda__1___lambda__2___closed__11; static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__12; @@ -1172,22 +1211,27 @@ static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__2; lean_object* l_Lean_Parser_addQuotDepthFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_syntaxAbbrev_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Syntax_binary___closed__11; +static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__17; static lean_object* l_Lean_Parser_Command_macroArgSymbol___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__2; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_4____closed__6; static lean_object* l___regBuiltin_Lean_Parser_Syntax_binary_formatter___closed__1; static lean_object* l_Lean_Parser_Command_infixr_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_macroRhs_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__21; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__6; +static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__14; static lean_object* l_Lean_Parser_Command_notationItem_formatter___closed__3; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_optNamedName_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_elab_formatter___closed__4; +static lean_object* l_Lean_Parser_Command_macroArg_formatter___closed__5; static lean_object* l_Lean_Parser_Command_elab__rules___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Syntax_nonReserved_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_syntax___closed__13; +static lean_object* l_Lean_Parser_Command_macroTail___closed__8; static lean_object* l_Lean_Parser_Syntax_unary_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Syntax_unary___elambda__1___closed__1; lean_object* l___regBuiltin_Lean_Parser_Syntax_binary_parenthesizer(lean_object*); @@ -1195,22 +1239,22 @@ static lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__17; static lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__3; +static lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer___closed__9; lean_object* l_Lean_Parser_Command_postfix___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_precedence; -static lean_object* l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Command_syntax_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Syntax_binary_formatter___closed__1; static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__1; +static lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__16; +lean_object* l_Lean_Parser_Command_macroRhs(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer___closed__8; lean_object* l_Lean_Parser_Syntax_nonReserved_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__7; lean_object* l_Lean_Parser_Syntax_numPrec; static lean_object* l_Lean_Parser_Syntax_atom___closed__1; static lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_macroTailTactic___closed__4; -static lean_object* l_Lean_Parser_Command_macroTailDefault_formatter___closed__7; static lean_object* l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_elab_formatter___closed__9; static lean_object* l_Lean_Parser_Command_macroArgSymbol___elambda__1___closed__3; @@ -1238,7 +1282,6 @@ static lean_object* l_Lean_Parser_Command_mixfix___closed__5; lean_object* l_Lean_Parser_Syntax_cat_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___closed__3; -static lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_notation_formatter___closed__4; lean_object* l_Lean_Parser_commandParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macro_formatter___closed__11; @@ -1272,6 +1315,7 @@ uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_ static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__22; static lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__1; +static lean_object* l_Lean_Parser_Command_elab_formatter___closed__16; static lean_object* l_Lean_Parser_Command_prefix___closed__6; static lean_object* l_Lean_Parser_Command_macro___closed__6; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__4; @@ -1305,6 +1349,7 @@ static lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__12; static lean_object* l_Lean_Parser_precedence___closed__5; static lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__8; +static lean_object* l_Lean_Parser_Command_macroRhs___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1___lambda__1___boxed(lean_object*); extern lean_object* l_Lean_Parser_Term_attrKind; static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__7; @@ -1323,13 +1368,12 @@ static lean_object* l_Lean_Parser_Command_postfix___closed__4; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__18; static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__12; static lean_object* l_Lean_Parser_Command_syntax_formatter___closed__10; -static lean_object* l_Lean_Parser_Command_macroTailCommand___closed__8; static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__12; static lean_object* l_Lean_Parser_Command_notation___closed__2; -static lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__12; static lean_object* l___regBuiltinParser_Lean_Parser_Term_stx_quot___closed__2; static lean_object* l_Lean_Parser_Command_identPrec___closed__6; static lean_object* l_Lean_Parser_Command_syntaxCat___closed__3; +static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__6; static lean_object* l_Lean_Parser_Syntax_cat_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Syntax_unary_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___boxed(lean_object*); @@ -1337,6 +1381,7 @@ static lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__9; static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_macroHead_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_macroArg___closed__6; static lean_object* l_Lean_Parser_Term_prec_quot_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_attrKind_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_cat___elambda__1(lean_object*, lean_object*); @@ -1347,7 +1392,6 @@ static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__11; static lean_object* l_Lean_Parser_precedence___elambda__1___lambda__2___closed__10; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_macroArgSymbol_formatter___closed__1; -static lean_object* l_Lean_Parser_Command_macroTailCommand___closed__9; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_prio_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__8; @@ -1361,6 +1405,8 @@ static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__3; lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_prefix___closed__5; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__33; +static lean_object* l_Lean_Parser_Command_macroTail___elambda__1___closed__7; +static lean_object* l_Lean_Parser_Command_macroRhs___closed__4; static lean_object* l_Lean_Parser_precedence_parenthesizer___closed__5; lean_object* l_Lean_Parser_commandParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macroArgSymbol___closed__6; @@ -1376,6 +1422,7 @@ static lean_object* l_Lean_Parser_Syntax_unary_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_infix___closed__3; lean_object* l_Lean_Parser_Command_namedName_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__23; static lean_object* l_Lean_Parser_Term_prec_quot_formatter___closed__1; static lean_object* l_Lean_Parser_Command_infixl___closed__7; static lean_object* l_Lean_Parser_Syntax_unary___elambda__1___closed__2; @@ -1396,14 +1443,17 @@ static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_prec_quot_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__11; static lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__2; +static lean_object* l_Lean_Parser_Command_macroTail_parenthesizer___closed__5; lean_object* l_Lean_Parser_Command_macro__rules___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_infixl_formatter___closed__1; static lean_object* l_Lean_Parser_Term_prio_quot___elambda__1___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_incQuotDepth_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_elab__rules___closed__8; +static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__12; static lean_object* l_Lean_Parser_Command_syntaxCat___closed__5; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__12; +static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__12; static lean_object* l_Lean_Parser_Command_elab_formatter___closed__10; static lean_object* l___regBuiltin_Lean_Parser_Syntax_unary_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_syntaxAbbrev_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1431,6 +1481,7 @@ lean_object* l_Lean_Parser_addQuotDepthFn(lean_object*, lean_object*, lean_objec lean_object* l_Lean_Parser_symbolInfo(lean_object*); static lean_object* l_Lean_Parser_Term_stx_quot_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__8; +static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_prio_quot_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Syntax_binary_formatter___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Command_mixfix(lean_object*); @@ -1446,6 +1497,7 @@ static lean_object* l_Lean_Parser_Command_notationItem_formatter___closed__4; lean_object* l_Lean_Parser_Command_elabArg_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__13; static lean_object* l___regBuiltin_Lean_Parser_Command_mixfix_parenthesizer___closed__2; +extern lean_object* l_Lean_Parser_Command_docComment; static lean_object* l_Lean_Parser_Syntax_sepBy_parenthesizer___closed__14; lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__13; @@ -1462,9 +1514,11 @@ static lean_object* l_Lean_Parser_Command_mixfix___closed__6; static lean_object* l_Lean_Parser_Syntax_sepBy_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_elab___closed__11; +static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__25; static lean_object* l_Lean_Parser_Command_macroTail_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_notation_formatter___closed__11; +static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__13; static lean_object* l_Lean_Parser_Syntax_paren_formatter___closed__5; static lean_object* l_Lean_Parser_Term_prec_quot_formatter___closed__4; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__6; @@ -1474,6 +1528,7 @@ lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_atom___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_postfix___closed__2; +static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_elab__rules___closed__9; static lean_object* l_Lean_Parser_Command_notation___closed__4; static lean_object* l_Lean_Parser_Term_prec_quot___closed__4; @@ -1490,7 +1545,7 @@ static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__3; static lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Syntax_unary_parenthesizer___closed__2; -static lean_object* l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__10; +static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__10; static lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Syntax_cat___closed__7; @@ -1503,7 +1558,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Syntax_sepBy_parenthesizer___clos lean_object* l_Lean_Parser_Command_infix_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_optKind___closed__9; static lean_object* l_Lean_Parser_Syntax_sepBy1___closed__3; -static lean_object* l_Lean_Parser_Command_macroTailDefault_formatter___closed__5; static lean_object* l_Lean_Parser_Command_mixfixKind_formatter___closed__2; lean_object* l_Lean_Parser_precedenceParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_syntaxCat_formatter___closed__2; @@ -1512,6 +1566,7 @@ static lean_object* l_Lean_Parser_Command_notation___closed__9; static lean_object* l_Lean_Parser_Command_notation_formatter___closed__3; static lean_object* l_Lean_Parser_Command_macro___closed__11; static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__9; +static lean_object* l_Lean_Parser_Command_macro__rules_formatter___closed__9; static lean_object* l_Lean_Parser_Command_macro_formatter___closed__7; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__3; @@ -1535,9 +1590,11 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_elab_formatter___closed__ static lean_object* l_Lean_Parser_Command_infixl___closed__1; static lean_object* l_Lean_Parser_Syntax_unary___closed__5; static lean_object* l_Lean_Parser_Command_optKind___closed__4; +static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__27; static lean_object* l_Lean_Parser_Syntax_sepBy_parenthesizer___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_prio_quot_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_syntax___closed__11; +static lean_object* l_Lean_Parser_Command_macroTail___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_mixfixKind_formatter___closed__1; static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__1; static lean_object* l_Lean_Parser_Syntax_nonReserved_formatter___closed__3; @@ -1551,14 +1608,15 @@ static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_mixfixKind___closed__6; lean_object* l___regBuiltin_Lean_Parser_Command_notation_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__14; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__8; -static lean_object* l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__19; static lean_object* l_Lean_Parser_Command_prefix_formatter___closed__1; lean_object* l_Lean_ppSpace_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_elabTail_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_elab__rules___closed__4; +static lean_object* l_Lean_Parser_Command_elabTail___closed__7; static lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__3; @@ -1569,6 +1627,7 @@ static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__19; lean_object* l_String_trim(lean_object*); static lean_object* l_Lean_Parser_Command_macro__rules_formatter___closed__8; static lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__8; +static lean_object* l_Lean_Parser_Command_macroRhs___closed__2; static lean_object* l_Lean_Parser_Command_postfix___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Command_elab_formatter___closed__2; lean_object* l_Lean_Parser_darrow___elambda__1(lean_object*, lean_object*); @@ -1581,6 +1640,7 @@ static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__14; static lean_object* l_Lean_Parser_Command_optKind_formatter___closed__2; static lean_object* l_Lean_Parser_Syntax_binary_parenthesizer___closed__5; lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__10; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__16; lean_object* l_Lean_Parser_Command_macroArgSymbol; @@ -1588,7 +1648,6 @@ static lean_object* l_Lean_Parser_Command_mixfixKind___closed__3; static lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__1; static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__12; -static lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_macro__rules_formatter___closed__7; static lean_object* l_Lean_Parser_Command_syntax_formatter___closed__7; static lean_object* l_Lean_Parser_Command_optKind___closed__1; @@ -1637,6 +1696,7 @@ lean_object* l_Lean_Parser_Term_prec_quot_parenthesizer(lean_object*, lean_objec static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__18; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_syntax_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__18; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__26; static lean_object* l_Lean_Parser_Command_notationItem_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Syntax_sepBy___closed__13; @@ -1647,7 +1707,6 @@ static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__17; static lean_object* l_Lean_Parser_Command_macroArg_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_macro__rules___closed__3; static lean_object* l_Lean_Parser_Command_macro_formatter___closed__15; -static lean_object* l_Lean_Parser_Command_macroTailCommand_formatter___closed__7; static lean_object* l_Lean_Parser_Command_syntaxCat___closed__4; lean_object* l___regBuiltin_Lean_Parser_Command_macro_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_prio_quot_formatter___closed__1; @@ -1660,6 +1719,7 @@ static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_macro_formatter___closed__10; +static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__14; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_macroTailCommand; static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__5; @@ -1679,11 +1739,13 @@ static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__15; static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_prec_quot___closed__3; +static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__15; lean_object* l_Lean_Parser_many_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__17; +static lean_object* l_Lean_Parser_Command_elab__rules___closed__11; static lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__6; static lean_object* l_Lean_Parser_Syntax_atom_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__2; @@ -1717,6 +1779,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_elab__rules_formatter___c lean_object* l___regBuiltinParser_Lean_Parser_Term_prio_quot(lean_object*); static lean_object* l_Lean_Parser_Command_syntaxCat_formatter___closed__3; static lean_object* l_Lean_Parser_Command_namedName_formatter___closed__7; +static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__22; lean_object* l_Lean_Parser_Command_macroArgSymbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_syntax___closed__9; static lean_object* l_Lean_Parser_Command_elabTail_formatter___closed__6; @@ -1757,14 +1820,14 @@ static lean_object* l_Lean_Parser_Syntax_nonReserved_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Syntax_nonReserved___closed__8; static lean_object* l_Lean_Parser_Command_identPrec___closed__1; static lean_object* l_Lean_Parser_Syntax_cat___closed__5; -static lean_object* l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_Command_macroRhs_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_syntax_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_matchAlts_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_macro_formatter___closed__16; static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__4; static lean_object* l_Lean_Parser_Syntax_cat_formatter___closed__4; static lean_object* l_Lean_Parser_Term_prec_quot_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Syntax_sepBy___closed__7; lean_object* l_Lean_Parser_Syntax_sepBy_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_infix_formatter___closed__1; @@ -1776,7 +1839,6 @@ static lean_object* l_Lean_Parser_Command_elabTail_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_macroArgSymbol___closed__3; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_elabTail_formatter___closed__4; -static lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_postfix_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_macroTailDefault___closed__1; static lean_object* l_Lean_Parser_Command_mixfix___closed__10; @@ -1788,6 +1850,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Syntax_sepBy1_formatter___closed_ lean_object* l_Lean_PrettyPrinter_Formatter_suppressInsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_syntax___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_atom(lean_object*); +static lean_object* l_Lean_Parser_Command_macroTail___closed__6; static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_elabTail___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Syntax_cat_formatter___closed__1; @@ -1808,7 +1871,9 @@ static lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__ static lean_object* l_Lean_Parser_Command_mixfixKind_formatter___closed__7; static lean_object* l_Lean_Parser_Command_elab___closed__8; static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_Command_macroTail_formatter___closed__7; static lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__5; +static lean_object* l_Lean_Parser_Command_macro__rules_formatter___closed__11; lean_object* l_Lean_Parser_precedenceParser_formatter(lean_object*); lean_object* l_Lean_Parser_Command_macroTailCommand_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_prec_quot___closed__10; @@ -1846,7 +1911,6 @@ lean_object* l_Lean_Parser_Command_macroTailTactic_formatter(lean_object*, lean_ static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__24; static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__14; static lean_object* l___regBuiltin_Lean_Parser_Syntax_numPrec_formatter___closed__3; -lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_optPrecedence_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_elabTail___closed__3; static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__5; @@ -1873,6 +1937,7 @@ static lean_object* l_Lean_Parser_optPrecedence___closed__2; static lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__9; static lean_object* l_Lean_Parser_precedence___closed__1; static lean_object* l_Lean_Parser_Command_macroTail___closed__3; +static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__9; static lean_object* l_Lean_Parser_Command_macroArgSymbol_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Command_macroTail___closed__1; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_4____closed__3; @@ -1884,6 +1949,7 @@ static lean_object* l_Lean_Parser_Command_infixl_formatter___closed__3; lean_object* l___regBuiltin_Lean_Parser_Command_macro_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__11; +static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__14; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__16; static lean_object* l_Lean_Parser_Syntax_sepBy1___closed__7; @@ -1913,7 +1979,7 @@ lean_object* l_Lean_Parser_Command_mixfix_formatter(lean_object*, lean_object*, static lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_prefix___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__4; -static lean_object* l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__9; +static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__24; static lean_object* l_Lean_Parser_Command_mixfix___closed__7; static lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_syntaxAbbrev_parenthesizer___closed__1; @@ -1937,6 +2003,7 @@ static lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__16; static lean_object* l_Lean_Parser_Command_prefix_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Syntax_nonReserved_formatter___closed__1; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__7; +static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__28; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__6; lean_object* l_Lean_Parser_termParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mixfixKind_formatter___closed__8; @@ -1957,6 +2024,7 @@ static lean_object* l_Lean_Parser_Command_syntax___closed__4; static lean_object* l_Lean_Parser_Command_macroArgSymbol___elambda__1___closed__4; lean_object* l_Lean_Parser_setLhsPrecFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_syntaxAbbrev_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_macroTail___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Syntax_paren_parenthesizer___closed__2; lean_object* l_Lean_Parser_syntaxParser(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -17567,19 +17635,28 @@ static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___clos _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_mixfix___closed__1; -x_2 = l_Lean_Parser_Term_matchAlts(x_1); +x_1 = l_Lean_Parser_Command_docComment; +x_2 = l_Lean_Parser_optional(x_1); return x_2; } } static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__6() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_mixfix___closed__1; +x_2 = l_Lean_Parser_Term_matchAlts(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__7() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Parser_Command_optKind; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); x_5 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); @@ -17588,7 +17665,7 @@ lean_closure_set(x_5, 1, x_4); return x_5; } } -static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__7() { +static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -17597,22 +17674,12 @@ x_2 = l_String_trim(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__7; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__8; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -17620,21 +17687,19 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__9; -x_2 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__6; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix___elambda__1___closed__15; -x_2 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__10; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__10; +x_2 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -17645,9 +17710,9 @@ static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +x_1 = l_Lean_Parser_Command_mixfix___elambda__1___closed__15; x_2 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__11; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -17656,22 +17721,24 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__12; -x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__12; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; x_2 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__13; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -17680,11 +17747,35 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__15() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__14; +x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; +x_2 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__15; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__17() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__14; +x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__16; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_withAntiquotFn), 4, 2); lean_closure_set(x_4, 0, x_2); lean_closure_set(x_4, 1, x_3); @@ -17695,7 +17786,7 @@ lean_object* l_Lean_Parser_Command_macro__rules___elambda__1(lean_object* x_1, l _start: { lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__15; +x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__17; x_4 = l_Lean_Parser_suppressInsideQuotFn(x_3, x_1, x_2); return x_4; } @@ -17707,7 +17798,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l_Lean_Parser_Command_optKind; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__6; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); @@ -17718,7 +17809,7 @@ static lean_object* _init_l_Lean_Parser_Command_macro__rules___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__7; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__8; x_2 = l_Lean_Parser_symbolInfo(x_1); return x_2; } @@ -17748,20 +17839,22 @@ return x_4; static lean_object* _init_l_Lean_Parser_Command_macro__rules___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_macro__rules___closed__4; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_macro__rules___closed__4; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_macro__rules___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro__rules___closed__5; -x_2 = l_Lean_Parser_epsilonInfo; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_macro__rules___closed__5; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } @@ -17769,8 +17862,8 @@ static lean_object* _init_l_Lean_Parser_Command_macro__rules___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_macro__rules___closed__6; +x_1 = l_Lean_Parser_Command_macro__rules___closed__6; +x_2 = l_Lean_Parser_epsilonInfo; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -17778,16 +17871,26 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_macro__rules___closed__8() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_macro__rules___closed__7; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules___closed__9() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macro__rules___closed__7; +x_3 = l_Lean_Parser_Command_macro__rules___closed__8; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_macro__rules___closed__9() { +static lean_object* _init_l_Lean_Parser_Command_macro__rules___closed__10() { _start: { lean_object* x_1; @@ -17795,12 +17898,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macro__rules___elambda__1 return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macro__rules___closed__10() { +static lean_object* _init_l_Lean_Parser_Command_macro__rules___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro__rules___closed__8; -x_2 = l_Lean_Parser_Command_macro__rules___closed__9; +x_1 = l_Lean_Parser_Command_macro__rules___closed__9; +x_2 = l_Lean_Parser_Command_macro__rules___closed__10; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -17811,7 +17914,7 @@ static lean_object* _init_l_Lean_Parser_Command_macro__rules() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_macro__rules___closed__10; +x_1 = l_Lean_Parser_Command_macro__rules___closed__11; return x_1; } } @@ -17914,6 +18017,24 @@ return x_5; static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__2() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_docComment_formatter), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macro__rules_formatter___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); @@ -17921,7 +18042,7 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__3() { +static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -17931,7 +18052,7 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__4() { +static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__6() { _start: { lean_object* x_1; @@ -17939,36 +18060,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_optKind_formatter), 5, 0) return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro__rules_formatter___closed__4; -x_2 = l_Lean_Parser_Command_macro__rules_formatter___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro__rules_formatter___closed__2; -x_2 = l_Lean_Parser_Command_macro__rules_formatter___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__15; -x_2 = l_Lean_Parser_Command_macro__rules_formatter___closed__6; +x_1 = l_Lean_Parser_Command_macro__rules_formatter___closed__6; +x_2 = l_Lean_Parser_Command_macro__rules_formatter___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -17978,10 +18075,46 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__8() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macro__rules_formatter___closed__4; +x_2 = l_Lean_Parser_Command_macro__rules_formatter___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__15; +x_2 = l_Lean_Parser_Command_macro__rules_formatter___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macro__rules_formatter___closed__3; +x_2 = l_Lean_Parser_Command_macro__rules_formatter___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules_formatter___closed__11() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_macro__rules_formatter___closed__7; +x_3 = l_Lean_Parser_Command_macro__rules_formatter___closed__10; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -17994,7 +18127,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_macro__rules_formatter___closed__1; -x_7 = l_Lean_Parser_Command_macro__rules_formatter___closed__8; +x_7 = l_Lean_Parser_Command_macro__rules_formatter___closed__11; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -18115,6 +18248,24 @@ return x_5; static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__2() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_docComment_parenthesizer), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); @@ -18122,7 +18273,7 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__3() { +static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -18132,7 +18283,7 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__4() { +static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__6() { _start: { lean_object* x_1; @@ -18140,36 +18291,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_optKind_parenthesizer), 5 return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__4; -x_2 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__15; -x_2 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__6; +x_1 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__6; +x_2 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -18179,10 +18306,46 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__8() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__15; +x_2 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__11() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__7; +x_3 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__10; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -18195,7 +18358,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__8; +x_7 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__11; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -18438,22 +18601,24 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_syntax___elambda__1___closed__20() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_syntax___elambda__1___closed__19; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_syntax___elambda__1___closed__19; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_syntax___elambda__1___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__20; -x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_syntax___elambda__1___closed__20; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -18463,8 +18628,8 @@ static lean_object* _init_l_Lean_Parser_Command_syntax___elambda__1___closed__22 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; -x_2 = l_Lean_Parser_Command_syntax___elambda__1___closed__21; +x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__21; +x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -18475,9 +18640,11 @@ static lean_object* _init_l_Lean_Parser_Command_syntax___elambda__1___closed__23 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; -x_2 = l_Lean_Parser_Command_syntax___elambda__1___closed__15; -x_3 = lean_string_append(x_1, x_2); +x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; +x_2 = l_Lean_Parser_Command_syntax___elambda__1___closed__22; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); return x_3; } } @@ -18485,8 +18652,8 @@ static lean_object* _init_l_Lean_Parser_Command_syntax___elambda__1___closed__24 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__23; -x_2 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; +x_1 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; +x_2 = l_Lean_Parser_Command_syntax___elambda__1___closed__15; x_3 = lean_string_append(x_1, x_2); return x_3; } @@ -18495,17 +18662,27 @@ static lean_object* _init_l_Lean_Parser_Command_syntax___elambda__1___closed__25 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__24; +x_2 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_syntax___elambda__1___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; x_2 = l_Lean_Parser_Command_syntax___elambda__1___closed__6; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_syntax___elambda__1___closed__26() { +static lean_object* _init_l_Lean_Parser_Command_syntax___elambda__1___closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__25; +x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__26; x_2 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; x_3 = lean_string_append(x_1, x_2); return x_3; @@ -18514,7 +18691,7 @@ return x_3; lean_object* l_Lean_Parser_Command_syntax___elambda__1(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_11; lean_object* x_12; uint8_t x_13; +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; uint8_t x_15; x_3 = l_Lean_Parser_Syntax_paren___elambda__1___closed__6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); @@ -18527,81 +18704,86 @@ lean_inc(x_8); x_9 = l_Lean_Parser_optPrecedence; x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); -x_11 = l_Lean_Parser_Command_syntax___elambda__1___closed__4; +x_11 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); +x_13 = l_Lean_Parser_Command_syntax___elambda__1___closed__4; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); lean_inc(x_2); lean_inc(x_1); -x_13 = l_Lean_Parser_tryAnti(x_1, x_2); -if (x_13 == 0) +x_15 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_14); +x_16 = lean_unsigned_to_nat(1024u); +x_17 = l_Lean_Parser_checkPrecFn(x_16, x_1, x_2); +x_18 = lean_ctor_get(x_17, 4); +lean_inc(x_18); +x_19 = lean_box(0); +x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_18, x_19); +lean_dec(x_18); +if (x_20 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_dec(x_12); -x_14 = lean_unsigned_to_nat(1024u); -x_15 = l_Lean_Parser_checkPrecFn(x_14, x_1, x_2); -x_16 = lean_ctor_get(x_15, 4); -lean_inc(x_16); -x_17 = lean_box(0); -x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_17); -lean_dec(x_16); -if (x_18 == 0) -{ lean_dec(x_10); lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -return x_15; +return x_17; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; -x_19 = lean_ctor_get(x_15, 0); -lean_inc(x_19); -x_20 = lean_array_get_size(x_19); -lean_dec(x_19); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_21 = lean_ctor_get(x_17, 0); +lean_inc(x_21); +x_22 = lean_array_get_size(x_21); +lean_dec(x_21); lean_inc(x_1); -x_21 = l_Lean_Parser_Term_attrKind___elambda__1(x_1, x_15); -x_22 = lean_ctor_get(x_21, 4); -lean_inc(x_22); -x_23 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_22, x_17); -lean_dec(x_22); -if (x_23 == 0) +x_23 = lean_apply_2(x_12, x_1, x_17); +x_24 = lean_ctor_get(x_23, 4); +lean_inc(x_24); +x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_24, x_19); +lean_dec(x_24); +if (x_25 == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_dec(x_10); lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); -x_31 = l_Lean_Parser_Command_syntax___elambda__1___closed__2; -x_32 = l_Lean_Parser_ParserState_mkNode(x_21, x_31, x_20); -x_33 = lean_ctor_get(x_32, 4); -lean_inc(x_33); -x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_33, x_17); -lean_dec(x_33); -if (x_34 == 0) -{ -lean_dec(x_1); -return x_32; +x_26 = x_23; +goto block_32; } else { -lean_object* x_35; -x_35 = l_Lean_Parser_setLhsPrecFn(x_14, x_1, x_32); -lean_dec(x_1); -return x_35; -} +lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_inc(x_1); +x_33 = l_Lean_Parser_Term_attrKind___elambda__1(x_1, x_23); +x_34 = lean_ctor_get(x_33, 4); +lean_inc(x_34); +x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_34, x_19); +lean_dec(x_34); +if (x_35 == 0) +{ +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +x_26 = x_33; +goto block_32; } else { lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; x_36 = l_Lean_Parser_Command_syntax___elambda__1___closed__15; -x_37 = l_Lean_Parser_Command_syntax___elambda__1___closed__24; +x_37 = l_Lean_Parser_Command_syntax___elambda__1___closed__25; lean_inc(x_1); -x_38 = l_Lean_Parser_symbolFnAux(x_36, x_37, x_1, x_21); +x_38 = l_Lean_Parser_symbolFnAux(x_36, x_37, x_1, x_33); x_39 = lean_ctor_get(x_38, 4); lean_inc(x_39); -x_40 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_39, x_17); +x_40 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_39, x_19); lean_dec(x_39); if (x_40 == 0) { @@ -18621,7 +18803,7 @@ if (x_73 == 0) lean_object* x_74; lean_object* x_75; x_74 = lean_box(0); lean_inc(x_1); -x_75 = l_Lean_Parser_precedence___elambda__1___lambda__2(x_38, x_1, x_17, x_74); +x_75 = l_Lean_Parser_precedence___elambda__1___lambda__2(x_38, x_1, x_19, x_74); x_41 = x_75; goto block_70; } @@ -18636,7 +18818,7 @@ block_70: lean_object* x_42; uint8_t x_43; x_42 = lean_ctor_get(x_41, 4); lean_inc(x_42); -x_43 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_42, x_17); +x_43 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_42, x_19); lean_dec(x_42); if (x_43 == 0) { @@ -18644,8 +18826,8 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); -x_24 = x_41; -goto block_30; +x_26 = x_41; +goto block_32; } else { @@ -18654,15 +18836,15 @@ lean_inc(x_1); x_44 = lean_apply_2(x_10, x_1, x_41); x_45 = lean_ctor_get(x_44, 4); lean_inc(x_45); -x_46 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_45, x_17); +x_46 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_45, x_19); lean_dec(x_45); if (x_46 == 0) { lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); -x_24 = x_44; -goto block_30; +x_26 = x_44; +goto block_32; } else { @@ -18671,14 +18853,14 @@ lean_inc(x_1); x_47 = lean_apply_2(x_8, x_1, x_44); x_48 = lean_ctor_get(x_47, 4); lean_inc(x_48); -x_49 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_48, x_17); +x_49 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_48, x_19); lean_dec(x_48); if (x_49 == 0) { lean_dec(x_6); lean_dec(x_4); -x_24 = x_47; -goto block_30; +x_26 = x_47; +goto block_32; } else { @@ -18687,13 +18869,13 @@ lean_inc(x_1); x_50 = lean_apply_2(x_6, x_1, x_47); x_51 = lean_ctor_get(x_50, 4); lean_inc(x_51); -x_52 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_51, x_17); +x_52 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_51, x_19); lean_dec(x_51); if (x_52 == 0) { lean_dec(x_4); -x_24 = x_50; -goto block_30; +x_26 = x_50; +goto block_32; } else { @@ -18702,28 +18884,28 @@ lean_inc(x_1); x_53 = lean_apply_2(x_4, x_1, x_50); x_54 = lean_ctor_get(x_53, 4); lean_inc(x_54); -x_55 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_54, x_17); +x_55 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_54, x_19); lean_dec(x_54); if (x_55 == 0) { -x_24 = x_53; -goto block_30; +x_26 = x_53; +goto block_32; } else { lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; x_56 = l_Lean_Parser_Command_syntax___elambda__1___closed__6; -x_57 = l_Lean_Parser_Command_syntax___elambda__1___closed__26; +x_57 = l_Lean_Parser_Command_syntax___elambda__1___closed__27; lean_inc(x_1); x_58 = l_Lean_Parser_symbolFnAux(x_56, x_57, x_1, x_53); x_59 = lean_ctor_get(x_58, 4); lean_inc(x_59); -x_60 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_59, x_17); +x_60 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_59, x_19); lean_dec(x_59); if (x_60 == 0) { -x_24 = x_58; -goto block_30; +x_26 = x_58; +goto block_32; } else { @@ -18738,23 +18920,23 @@ if (x_63 == 0) lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; x_64 = lean_box(0); lean_inc(x_1); -x_65 = l_Lean_Parser_precedence___elambda__1___lambda__2(x_58, x_1, x_17, x_64); +x_65 = l_Lean_Parser_precedence___elambda__1___lambda__2(x_58, x_1, x_19, x_64); x_66 = lean_ctor_get(x_65, 4); lean_inc(x_66); -x_67 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_66, x_17); +x_67 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_66, x_19); lean_dec(x_66); if (x_67 == 0) { -x_24 = x_65; -goto block_30; +x_26 = x_65; +goto block_32; } else { lean_object* x_68; lean_inc(x_1); x_68 = l_Lean_Parser_ident___elambda__1(x_1, x_65); -x_24 = x_68; -goto block_30; +x_26 = x_68; +goto block_32; } } else @@ -18762,8 +18944,8 @@ else lean_object* x_69; lean_inc(x_1); x_69 = l_Lean_Parser_ident___elambda__1(x_1, x_58); -x_24 = x_69; -goto block_30; +x_26 = x_69; +goto block_32; } } } @@ -18773,26 +18955,27 @@ goto block_30; } } } -block_30: +} +block_32: { -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_25 = l_Lean_Parser_Command_syntax___elambda__1___closed__2; -x_26 = l_Lean_Parser_ParserState_mkNode(x_24, x_25, x_20); -x_27 = lean_ctor_get(x_26, 4); -lean_inc(x_27); -x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_27, x_17); -lean_dec(x_27); -if (x_28 == 0) +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = l_Lean_Parser_Command_syntax___elambda__1___closed__2; +x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_22); +x_29 = lean_ctor_get(x_28, 4); +lean_inc(x_29); +x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_19); +lean_dec(x_29); +if (x_30 == 0) { lean_dec(x_1); -return x_26; +return x_28; } else { -lean_object* x_29; -x_29 = l_Lean_Parser_setLhsPrecFn(x_14, x_1, x_26); +lean_object* x_31; +x_31 = l_Lean_Parser_setLhsPrecFn(x_16, x_1, x_28); lean_dec(x_1); -return x_29; +return x_31; } } } @@ -18800,13 +18983,14 @@ return x_29; else { lean_object* x_76; uint8_t x_77; lean_object* x_78; +lean_dec(x_12); lean_dec(x_10); lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); -x_76 = l_Lean_Parser_Command_syntax___elambda__1___closed__22; +x_76 = l_Lean_Parser_Command_syntax___elambda__1___closed__23; x_77 = 1; -x_78 = l_Lean_Parser_orelseFnCore(x_12, x_76, x_77, x_1, x_2); +x_78 = l_Lean_Parser_orelseFnCore(x_14, x_76, x_77, x_1, x_2); return x_78; } } @@ -18914,20 +19098,22 @@ return x_4; static lean_object* _init_l_Lean_Parser_Command_syntax___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_syntax___closed__9; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_syntax___closed__9; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_syntax___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntax___closed__10; -x_2 = l_Lean_Parser_epsilonInfo; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_syntax___closed__10; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } @@ -18935,8 +19121,8 @@ static lean_object* _init_l_Lean_Parser_Command_syntax___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_syntax___closed__11; +x_1 = l_Lean_Parser_Command_syntax___closed__11; +x_2 = l_Lean_Parser_epsilonInfo; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -18944,16 +19130,26 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_syntax___closed__13() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_syntax___closed__12; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_syntax___closed__14() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_syntax___closed__12; +x_3 = l_Lean_Parser_Command_syntax___closed__13; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_syntax___closed__14() { +static lean_object* _init_l_Lean_Parser_Command_syntax___closed__15() { _start: { lean_object* x_1; @@ -18961,12 +19157,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_syntax___elambda__1), 2, return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_syntax___closed__15() { +static lean_object* _init_l_Lean_Parser_Command_syntax___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntax___closed__13; -x_2 = l_Lean_Parser_Command_syntax___closed__14; +x_1 = l_Lean_Parser_Command_syntax___closed__14; +x_2 = l_Lean_Parser_Command_syntax___closed__15; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -18977,7 +19173,7 @@ static lean_object* _init_l_Lean_Parser_Command_syntax() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_syntax___closed__15; +x_1 = l_Lean_Parser_Command_syntax___closed__16; return x_1; } } @@ -19116,10 +19312,22 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_syntax_formatter___closed__11() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macro__rules_formatter___closed__3; +x_2 = l_Lean_Parser_Command_syntax_formatter___closed__10; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_syntax_formatter___closed__12() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_syntax_formatter___closed__10; +x_3 = l_Lean_Parser_Command_syntax_formatter___closed__11; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -19132,7 +19340,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_syntax_formatter___closed__1; -x_7 = l_Lean_Parser_Command_syntax_formatter___closed__11; +x_7 = l_Lean_Parser_Command_syntax_formatter___closed__12; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -19289,10 +19497,22 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_syntax_parenthesizer___closed__11() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Command_syntax_parenthesizer___closed__10; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_syntax_parenthesizer___closed__12() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_syntax_parenthesizer___closed__10; +x_3 = l_Lean_Parser_Command_syntax_parenthesizer___closed__11; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -19305,7 +19525,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_syntax_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Command_syntax_parenthesizer___closed__11; +x_7 = l_Lean_Parser_Command_syntax_parenthesizer___closed__12; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -19491,7 +19711,7 @@ lean_inc(x_13); x_14 = lean_array_get_size(x_13); lean_dec(x_13); x_15 = l_Lean_Parser_Command_syntax___elambda__1___closed__15; -x_16 = l_Lean_Parser_Command_syntax___elambda__1___closed__24; +x_16 = l_Lean_Parser_Command_syntax___elambda__1___closed__25; lean_inc(x_1); x_17 = l_Lean_Parser_symbolFnAux(x_15, x_16, x_1, x_9); x_18 = lean_ctor_get(x_17, 4); @@ -21360,6 +21580,45 @@ return x_1; static lean_object* _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__1() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("macroArg"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_namedName___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_macroArg___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macroArg___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macroArg___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_macroArg___elambda__1___closed__3; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_macroArgSimple___closed__9; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_atomicFn), 3, 1); @@ -21367,15 +21626,120 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } +static lean_object* _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroArgSymbol___closed__6; +x_2 = l_Lean_Parser_Command_macroArg___elambda__1___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroArg___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_macroArg___elambda__1___closed__6; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroArg___elambda__1___closed__7; +x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; +x_2 = l_Lean_Parser_Command_macroArg___elambda__1___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} lean_object* l_Lean_Parser_Command_macroArg___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; -x_3 = l_Lean_Parser_Command_macroArgSymbol___closed__6; -x_4 = l_Lean_Parser_Command_macroArg___elambda__1___closed__1; -x_5 = 1; -x_6 = l_Lean_Parser_orelseFnCore(x_3, x_4, x_5, x_1, x_2); -return x_6; +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Parser_Command_macroArg___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_5 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_dec(x_4); +x_6 = lean_unsigned_to_nat(1024u); +x_7 = l_Lean_Parser_checkPrecFn(x_6, x_1, x_2); +x_8 = lean_ctor_get(x_7, 4); +lean_inc(x_8); +x_9 = lean_box(0); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +lean_dec(x_8); +if (x_10 == 0) +{ +lean_dec(x_1); +return x_7; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +x_12 = lean_array_get_size(x_11); +lean_dec(x_11); +x_13 = l_Lean_Parser_Command_macroArgSymbol___closed__6; +x_14 = l_Lean_Parser_Command_macroArg___elambda__1___closed__5; +x_15 = 1; +lean_inc(x_1); +x_16 = l_Lean_Parser_orelseFnCore(x_13, x_14, x_15, x_1, x_7); +x_17 = l_Lean_Parser_Command_macroArg___elambda__1___closed__2; +x_18 = l_Lean_Parser_ParserState_mkNode(x_16, x_17, x_12); +x_19 = lean_ctor_get(x_18, 4); +lean_inc(x_19); +x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_19, x_9); +lean_dec(x_19); +if (x_20 == 0) +{ +lean_dec(x_1); +return x_18; +} +else +{ +lean_object* x_21; +x_21 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_18); +lean_dec(x_1); +return x_21; +} +} +} +else +{ +lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_22 = l_Lean_Parser_Command_macroArg___elambda__1___closed__9; +x_23 = 1; +x_24 = l_Lean_Parser_orelseFnCore(x_4, x_22, x_23, x_1, x_2); +return x_24; +} } } static lean_object* _init_l_Lean_Parser_Command_macroArg___closed__1() { @@ -21395,17 +21759,59 @@ return x_5; static lean_object* _init_l_Lean_Parser_Command_macroArg___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroArg___elambda__1), 2, 0); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroArg___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_macroArg___closed__1; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_macroArg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroArg___closed__1; -x_2 = l_Lean_Parser_Command_macroArg___closed__2; +x_1 = l_Lean_Parser_Command_macroArg___closed__2; +x_2 = l_Lean_Parser_epsilonInfo; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_macroArg___closed__3; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macroArg___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_macroArg___closed__4; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroArg___elambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroArg___closed__5; +x_2 = l_Lean_Parser_Command_macroArg___closed__6; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -21416,7 +21822,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroArg() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_macroArg___closed__3; +x_1 = l_Lean_Parser_Command_macroArg___closed__7; return x_1; } } @@ -21428,6 +21834,178 @@ x_1 = l_Lean_Parser_Command_macroArg; return x_1; } } +static lean_object* _init_l_Lean_Parser_Command_macroRhs___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("macroRhs"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroRhs___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_namedName___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroRhs___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroRhs___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__3; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Command_macroRhs___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__4; +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +x_6 = l_Lean_Parser_tryAnti(x_2, x_3); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_5); +x_7 = lean_apply_2(x_1, x_2, x_3); +return x_7; +} +else +{ +uint8_t x_8; lean_object* x_9; +x_8 = 1; +x_9 = l_Lean_Parser_orelseFnCore(x_5, x_1, x_8, x_2, x_3); +return x_9; +} +} +} +static lean_object* _init_l_Lean_Parser_Command_macroRhs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("`("); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroRhs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macroRhs___closed__1; +x_2 = l_String_trim(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroRhs___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macroRhs___closed__2; +x_2 = l_Lean_Parser_symbolInfo(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroRhs___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macroRhs___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroRhs___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macroRhs___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Parser_Command_macroRhs(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 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_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +lean_dec(x_1); +x_4 = l_Lean_Parser_Term_stx_quot___elambda__1___closed__8; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_addQuotDepthFn___boxed), 4, 2); +lean_closure_set(x_5, 0, x_4); +lean_closure_set(x_5, 1, x_3); +x_6 = l_Lean_Parser_Syntax_paren___closed__1; +x_7 = l_Lean_Parser_andthenInfo(x_2, x_6); +x_8 = l_Lean_Parser_Syntax_paren___elambda__1___closed__10; +x_9 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_9, 0, x_5); +lean_closure_set(x_9, 1, x_8); +x_10 = l_Lean_Parser_Command_macroRhs___closed__3; +x_11 = l_Lean_Parser_andthenInfo(x_10, x_7); +x_12 = l_Lean_Parser_Command_macroRhs___closed__5; +x_13 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_13, 0, x_12); +lean_closure_set(x_13, 1, x_9); +x_14 = l_Lean_Parser_Command_mixfix___closed__1; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = l_Lean_Parser_orelseInfo(x_11, x_15); +x_17 = l_Lean_Parser_Command_mixfix___elambda__1___closed__5; +x_18 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn), 4, 2); +lean_closure_set(x_18, 0, x_13); +lean_closure_set(x_18, 1, x_17); +x_19 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__2; +x_20 = l_Lean_Parser_nodeInfo(x_19, x_16); +x_21 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_21, 0, x_19); +lean_closure_set(x_21, 1, x_18); +x_22 = l_Lean_Parser_epsilonInfo; +x_23 = l_Lean_Parser_andthenInfo(x_20, x_22); +x_24 = l_Lean_Parser_precedence___elambda__1___closed__17; +x_25 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_25, 0, x_21); +lean_closure_set(x_25, 1, x_24); +x_26 = l_Lean_Parser_andthenInfo(x_22, x_23); +x_27 = l_Lean_Parser_precedence___elambda__1___closed__15; +x_28 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_28, 0, x_27); +lean_closure_set(x_28, 1, x_25); +x_29 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__4; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = l_Lean_Parser_orelseInfo(x_30, x_26); +x_32 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroRhs___elambda__1), 3, 1); +lean_closure_set(x_32, 0, x_28); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__1() { _start: { @@ -21471,123 +22049,53 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__5() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_seq1___elambda__1), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_stx_quot___elambda__1___closed__8; -x_2 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_addQuotDepthFn___boxed), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__6; -x_2 = l_Lean_Parser_Syntax_paren___elambda__1___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("`("); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__9() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__8; -x_2 = l_String_trim(x_1); +x_1 = l_Lean_Parser_Tactic_seq1; +x_2 = l_Lean_Parser_Command_macroRhs(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__9; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__10; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__11; -x_2 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__7; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_3 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__4; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_3 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__5; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__4; lean_inc(x_1); -x_4 = l_Lean_Parser_atomicFn(x_3, x_1, x_2); -x_5 = lean_ctor_get(x_4, 4); -lean_inc(x_5); -x_6 = lean_box(0); -x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6); -lean_dec(x_5); -if (x_7 == 0) +x_6 = l_Lean_Parser_atomicFn(x_5, x_1, x_2); +x_7 = lean_ctor_get(x_6, 4); +lean_inc(x_7); +x_8 = lean_box(0); +x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); +lean_dec(x_7); +if (x_9 == 0) { +lean_dec(x_4); lean_dec(x_1); -return x_4; +return x_6; } else { -lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_inc(x_1); -x_8 = l_Lean_Parser_darrow___elambda__1(x_1, x_4); -x_9 = lean_ctor_get(x_8, 4); -lean_inc(x_9); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_9, x_6); -lean_dec(x_9); -if (x_10 == 0) +x_10 = l_Lean_Parser_darrow___elambda__1(x_1, x_6); +x_11 = lean_ctor_get(x_10, 4); +lean_inc(x_11); +x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_8); +lean_dec(x_11); +if (x_12 == 0) { +lean_dec(x_4); lean_dec(x_1); -return x_8; +return x_10; } else { -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; -x_11 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__12; -x_12 = l_Lean_Parser_Command_mixfix___elambda__1___closed__5; -x_13 = 1; -x_14 = l_Lean_Parser_orelseFnCore(x_11, x_12, x_13, x_1, x_8); -return x_14; +lean_object* x_13; +x_13 = lean_apply_2(x_4, x_1, x_10); +return x_13; } } } @@ -21622,69 +22130,28 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_seq1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_darrow; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Syntax_paren___closed__1; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; +x_3 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__5; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); +return x_5; } } static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__9; -x_2 = l_Lean_Parser_symbolInfo(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic___closed__5; +x_1 = l_Lean_Parser_Command_macroTailTactic___closed__3; x_2 = l_Lean_Parser_Command_macroTailTactic___closed__4; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_mixfix___closed__1; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macroTailTactic___closed__6; -x_4 = l_Lean_Parser_orelseInfo(x_3, x_2); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_darrow; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macroTailTactic___closed__7; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic___closed__3; -x_2 = l_Lean_Parser_Command_macroTailTactic___closed__8; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___closed__10() { +static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___closed__6() { _start: { lean_object* x_1; @@ -21692,12 +22159,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroTailTactic___elambda return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___closed__11() { +static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic___closed__9; -x_2 = l_Lean_Parser_Command_macroTailTactic___closed__10; +x_1 = l_Lean_Parser_Command_macroTailTactic___closed__5; +x_2 = l_Lean_Parser_Command_macroTailTactic___closed__6; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -21708,7 +22175,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailTactic() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_macroTailTactic___closed__11; +x_1 = l_Lean_Parser_Command_macroTailTactic___closed__7; return x_1; } } @@ -21762,23 +22229,44 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltinParser_Lean_Parser_Command_mixfix___closed__2; x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); +x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltinParser_Lean_Parser_Command_mixfix___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__3; +x_1 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_many1Fn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__5() { +static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_withResultOfInfo(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__7() { _start: { lean_object* x_1; @@ -21786,37 +22274,13 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroTailCommand___elambd return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__4; -x_2 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_withResultOfFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_stx_quot___elambda__1___closed__8; -x_2 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__6; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_addQuotDepthFn___boxed), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__7; -x_2 = l_Lean_Parser_Syntax_paren___elambda__1___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_1 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__5; +x_2 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_withResultOfFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -21826,53 +22290,64 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__11; +x_1 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__6; x_2 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__8; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__9; +x_2 = l_Lean_Parser_Command_macroRhs(x_1); +return x_2; +} +} lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_3 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__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; uint8_t x_9; +x_3 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__10; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__2; lean_inc(x_1); -x_4 = l_Lean_Parser_atomicFn(x_3, x_1, x_2); -x_5 = lean_ctor_get(x_4, 4); -lean_inc(x_5); -x_6 = lean_box(0); -x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6); -lean_dec(x_5); -if (x_7 == 0) +x_6 = l_Lean_Parser_atomicFn(x_5, x_1, x_2); +x_7 = lean_ctor_get(x_6, 4); +lean_inc(x_7); +x_8 = lean_box(0); +x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); +lean_dec(x_7); +if (x_9 == 0) { +lean_dec(x_4); lean_dec(x_1); -return x_4; +return x_6; } else { -lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_inc(x_1); -x_8 = l_Lean_Parser_darrow___elambda__1(x_1, x_4); -x_9 = lean_ctor_get(x_8, 4); -lean_inc(x_9); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_9, x_6); -lean_dec(x_9); -if (x_10 == 0) +x_10 = l_Lean_Parser_darrow___elambda__1(x_1, x_6); +x_11 = lean_ctor_get(x_10, 4); +lean_inc(x_11); +x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_8); +lean_dec(x_11); +if (x_12 == 0) { +lean_dec(x_4); lean_dec(x_1); -return x_8; +return x_10; } else { -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; -x_11 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__9; -x_12 = l_Lean_Parser_Command_mixfix___elambda__1___closed__5; -x_13 = 1; -x_14 = l_Lean_Parser_orelseFnCore(x_11, x_12, x_13, x_1, x_8); -return x_14; +lean_object* x_13; +x_13 = lean_apply_2(x_4, x_1, x_10); +return x_13; } } } @@ -21880,92 +22355,41 @@ return x_14; static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltinParser_Lean_Parser_Command_mixfix___closed__2; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_categoryParser(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_darrow; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__10; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); +return x_5; } } static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailCommand___closed__1; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_withResultOfInfo(x_2); +x_1 = l_Lean_Parser_Command_macroTailTactic___closed__3; +x_2 = l_Lean_Parser_Command_macroTailCommand___closed__1; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailCommand___closed__2; -x_2 = l_Lean_Parser_Syntax_paren___closed__1; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic___closed__5; -x_2 = l_Lean_Parser_Command_macroTailCommand___closed__3; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_mixfix___closed__1; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macroTailCommand___closed__4; -x_4 = l_Lean_Parser_orelseInfo(x_3, x_2); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_darrow; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macroTailCommand___closed__5; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic___closed__3; -x_2 = l_Lean_Parser_Command_macroTailCommand___closed__6; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___closed__8() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroTailCommand___elambda__1), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___closed__9() { +static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailCommand___closed__7; -x_2 = l_Lean_Parser_Command_macroTailCommand___closed__8; +x_1 = l_Lean_Parser_Command_macroTailCommand___closed__2; +x_2 = l_Lean_Parser_Command_macroTailCommand___closed__3; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -21976,7 +22400,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailCommand() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_macroTailCommand___closed__9; +x_1 = l_Lean_Parser_Command_macroTailCommand___closed__4; return x_1; } } @@ -21995,87 +22419,60 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParserOfStack___elambda__1___boxed), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); +x_3 = l_Lean_Parser_categoryParserOfStack(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_stx_quot___elambda__1___closed__8; -x_2 = l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__1; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_addQuotDepthFn___boxed), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__2; -x_2 = l_Lean_Parser_Syntax_paren___elambda__1___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__11; -x_2 = l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_macroRhs(x_1); +return x_2; } } lean_object* l_Lean_Parser_Command_macroTailDefault___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_3 = l_Lean_Parser_Command_syntax___elambda__1___closed__9; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_3 = l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__2; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = l_Lean_Parser_Command_syntax___elambda__1___closed__9; lean_inc(x_1); -x_4 = l_Lean_Parser_atomicFn(x_3, x_1, x_2); -x_5 = lean_ctor_get(x_4, 4); -lean_inc(x_5); -x_6 = lean_box(0); -x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6); -lean_dec(x_5); -if (x_7 == 0) +x_6 = l_Lean_Parser_atomicFn(x_5, x_1, x_2); +x_7 = lean_ctor_get(x_6, 4); +lean_inc(x_7); +x_8 = lean_box(0); +x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); +lean_dec(x_7); +if (x_9 == 0) { +lean_dec(x_4); lean_dec(x_1); -return x_4; +return x_6; } else { -lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_inc(x_1); -x_8 = l_Lean_Parser_darrow___elambda__1(x_1, x_4); -x_9 = lean_ctor_get(x_8, 4); -lean_inc(x_9); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_9, x_6); -lean_dec(x_9); -if (x_10 == 0) +x_10 = l_Lean_Parser_darrow___elambda__1(x_1, x_6); +x_11 = lean_ctor_get(x_10, 4); +lean_inc(x_11); +x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_8); +lean_dec(x_11); +if (x_12 == 0) { +lean_dec(x_4); lean_dec(x_1); -return x_8; +return x_10; } else { -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; -x_11 = l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__4; -x_12 = l_Lean_Parser_Command_mixfix___elambda__1___closed__5; -x_13 = 1; -x_14 = l_Lean_Parser_orelseFnCore(x_11, x_12, x_13, x_1, x_8); -return x_14; +lean_object* x_13; +x_13 = lean_apply_2(x_4, x_1, x_10); +return x_13; } } } @@ -22083,83 +22480,41 @@ return x_14; static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_categoryParserOfStack(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_darrow; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__2; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); +return x_5; } } static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_macroTailDefault___closed__1; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Syntax_paren___closed__1; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_syntax___closed__2; +x_2 = l_Lean_Parser_Command_macroTailDefault___closed__1; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic___closed__5; -x_2 = l_Lean_Parser_Command_macroTailDefault___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_mixfix___closed__1; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macroTailDefault___closed__3; -x_4 = l_Lean_Parser_orelseInfo(x_3, x_2); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_darrow; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macroTailDefault___closed__4; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntax___closed__2; -x_2 = l_Lean_Parser_Command_macroTailDefault___closed__5; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___closed__7() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroTailDefault___elambda__1), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___closed__8() { +static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailDefault___closed__6; -x_2 = l_Lean_Parser_Command_macroTailDefault___closed__7; +x_1 = l_Lean_Parser_Command_macroTailDefault___closed__2; +x_2 = l_Lean_Parser_Command_macroTailDefault___closed__3; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -22170,31 +22525,175 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailDefault() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_macroTailDefault___closed__8; +x_1 = l_Lean_Parser_Command_macroTailDefault___closed__4; return x_1; } } static lean_object* _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__1() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("macroTail"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__2() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailCommand___closed__8; -x_2 = l_Lean_Parser_Command_macroTailDefault___closed__7; +x_1 = l_Lean_Parser_Command_namedName___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_macroTail___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macroTail___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macroTail___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_macroTail___elambda__1___closed__3; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroTailCommand___closed__3; +x_2 = l_Lean_Parser_Command_macroTailDefault___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroTailTactic___closed__6; +x_2 = l_Lean_Parser_Command_macroTail___elambda__1___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroTail___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_macroTail___elambda__1___closed__6; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroTail___elambda__1___closed__7; +x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; +x_2 = l_Lean_Parser_Command_macroTail___elambda__1___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} lean_object* l_Lean_Parser_Command_macroTail___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; -x_3 = l_Lean_Parser_Command_macroTailTactic___closed__10; -x_4 = l_Lean_Parser_Command_macroTail___elambda__1___closed__1; -x_5 = 1; -x_6 = l_Lean_Parser_orelseFnCore(x_3, x_4, x_5, x_1, x_2); -return x_6; +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Parser_Command_macroTail___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_5 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_dec(x_4); +x_6 = lean_unsigned_to_nat(1024u); +x_7 = l_Lean_Parser_checkPrecFn(x_6, x_1, x_2); +x_8 = lean_ctor_get(x_7, 4); +lean_inc(x_8); +x_9 = lean_box(0); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +lean_dec(x_8); +if (x_10 == 0) +{ +lean_dec(x_1); +return x_7; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +x_12 = lean_array_get_size(x_11); +lean_dec(x_11); +x_13 = l_Lean_Parser_Command_macroTailTactic___closed__6; +x_14 = l_Lean_Parser_Command_macroTail___elambda__1___closed__5; +x_15 = 1; +lean_inc(x_1); +x_16 = l_Lean_Parser_orelseFnCore(x_13, x_14, x_15, x_1, x_7); +x_17 = l_Lean_Parser_Command_macroTail___elambda__1___closed__2; +x_18 = l_Lean_Parser_ParserState_mkNode(x_16, x_17, x_12); +x_19 = lean_ctor_get(x_18, 4); +lean_inc(x_19); +x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_19, x_9); +lean_dec(x_19); +if (x_20 == 0) +{ +lean_dec(x_1); +return x_18; +} +else +{ +lean_object* x_21; +x_21 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_18); +lean_dec(x_1); +return x_21; +} +} +} +else +{ +lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_22 = l_Lean_Parser_Command_macroTail___elambda__1___closed__9; +x_23 = 1; +x_24 = l_Lean_Parser_orelseFnCore(x_4, x_22, x_23, x_1, x_2); +return x_24; +} } } static lean_object* _init_l_Lean_Parser_Command_macroTail___closed__1() { @@ -22226,17 +22725,59 @@ return x_4; static lean_object* _init_l_Lean_Parser_Command_macroTail___closed__3() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroTail___elambda__1), 2, 0); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroTail___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_macroTail___closed__2; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_macroTail___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTail___closed__2; -x_2 = l_Lean_Parser_Command_macroTail___closed__3; +x_1 = l_Lean_Parser_Command_macroTail___closed__3; +x_2 = l_Lean_Parser_epsilonInfo; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_macroTail___closed__4; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macroTail___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_macroTail___closed__5; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroTail___elambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroTail___closed__6; +x_2 = l_Lean_Parser_Command_macroTail___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -22247,7 +22788,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroTail() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_macroTail___closed__4; +x_1 = l_Lean_Parser_Command_macroTail___closed__8; return x_1; } } @@ -22306,7 +22847,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__5; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macroTail___closed__3; +x_3 = l_Lean_Parser_Command_macroTail___closed__7; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_4, 0, x_2); lean_closure_set(x_4, 1, x_3); @@ -22433,32 +22974,34 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_macro___elambda__1___closed__17() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__16; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_suppressInsideQuotFn), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_macro___elambda__1___closed__16; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_macro___elambda__1___closed__18() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_macro___elambda__1___closed__17; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__17; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_suppressInsideQuotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Command_macro___elambda__1___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__18; -x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_macro___elambda__1___closed__18; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -22468,8 +23011,20 @@ static lean_object* _init_l_Lean_Parser_Command_macro___elambda__1___closed__20( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__19; +x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro___elambda__1___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; -x_2 = l_Lean_Parser_Command_macro___elambda__1___closed__19; +x_2 = l_Lean_Parser_Command_macro___elambda__1___closed__20; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -22509,7 +23064,7 @@ x_11 = lean_ctor_get(x_7, 0); lean_inc(x_11); x_12 = lean_array_get_size(x_11); lean_dec(x_11); -x_13 = l_Lean_Parser_Command_macro___elambda__1___closed__16; +x_13 = l_Lean_Parser_Command_macro___elambda__1___closed__17; lean_inc(x_1); x_14 = l_Lean_Parser_suppressInsideQuotFn(x_13, x_1, x_7); x_15 = l_Lean_Parser_Command_macro___elambda__1___closed__2; @@ -22535,7 +23090,7 @@ return x_19; else { lean_object* x_20; uint8_t x_21; lean_object* x_22; -x_20 = l_Lean_Parser_Command_macro___elambda__1___closed__20; +x_20 = l_Lean_Parser_Command_macro___elambda__1___closed__21; x_21 = 1; x_22 = l_Lean_Parser_orelseFnCore(x_4, x_20, x_21, x_1, x_2); return x_22; @@ -22638,20 +23193,22 @@ return x_4; static lean_object* _init_l_Lean_Parser_Command_macro___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_macro___closed__8; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_macro___closed__8; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_macro___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro___closed__9; -x_2 = l_Lean_Parser_epsilonInfo; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_macro___closed__9; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } @@ -22659,8 +23216,8 @@ static lean_object* _init_l_Lean_Parser_Command_macro___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_macro___closed__10; +x_1 = l_Lean_Parser_Command_macro___closed__10; +x_2 = l_Lean_Parser_epsilonInfo; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -22668,16 +23225,26 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_macro___closed__12() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_macro___closed__11; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro___closed__13() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macro___closed__11; +x_3 = l_Lean_Parser_Command_macro___closed__12; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_macro___closed__13() { +static lean_object* _init_l_Lean_Parser_Command_macro___closed__14() { _start: { lean_object* x_1; @@ -22685,12 +23252,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macro___elambda__1), 2, 0 return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macro___closed__14() { +static lean_object* _init_l_Lean_Parser_Command_macro___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro___closed__12; -x_2 = l_Lean_Parser_Command_macro___closed__13; +x_1 = l_Lean_Parser_Command_macro___closed__13; +x_2 = l_Lean_Parser_Command_macro___closed__14; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -22701,7 +23268,7 @@ static lean_object* _init_l_Lean_Parser_Command_macro() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_macro___closed__14; +x_1 = l_Lean_Parser_Command_macro___closed__15; return x_1; } } @@ -22913,22 +23480,37 @@ return x_8; static lean_object* _init_l_Lean_Parser_Command_macroArg_formatter___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroArgSimple_formatter), 5, 0); -return x_1; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Command_macroArg___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_macroArg___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; } } static lean_object* _init_l_Lean_Parser_Command_macroArg_formatter___closed__2() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroArgSimple_formatter), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg_formatter___closed__3() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macroArg_formatter___closed__1; +x_1 = l_Lean_Parser_Command_macroArg_formatter___closed__2; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_atomic_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_macroArg_formatter___closed__3() { +static lean_object* _init_l_Lean_Parser_Command_macroArg_formatter___closed__4() { _start: { lean_object* x_1; @@ -22936,12 +23518,38 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroArgSymbol_formatter) return x_1; } } +static lean_object* _init_l_Lean_Parser_Command_macroArg_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroArg_formatter___closed__4; +x_2 = l_Lean_Parser_Command_macroArg_formatter___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg_formatter___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macroArg___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_macroArg_formatter___closed__5; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} lean_object* l_Lean_Parser_Command_macroArg_formatter(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; -x_6 = l_Lean_Parser_Command_macroArg_formatter___closed__3; -x_7 = l_Lean_Parser_Command_macroArg_formatter___closed__2; +x_6 = l_Lean_Parser_Command_macroArg_formatter___closed__1; +x_7 = l_Lean_Parser_Command_macroArg_formatter___closed__6; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -22954,6 +23562,60 @@ x_6 = l_Lean_Parser_Command_macroArg_formatter(x_1, x_2, x_3, x_4, x_5); return x_6; } } +static lean_object* _init_l_Lean_Parser_Command_macroRhs_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroRhs_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macroRhs___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Parser_Command_macroRhs_formatter(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; +x_7 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_incQuotDepth_formatter), 6, 1); +lean_closure_set(x_7, 0, x_1); +x_8 = l_Lean_Parser_Syntax_paren_formatter___closed__5; +x_9 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_9, 0, x_7); +lean_closure_set(x_9, 1, x_8); +x_10 = l_Lean_Parser_Command_macroRhs_formatter___closed__2; +x_11 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_11, 0, x_10); +lean_closure_set(x_11, 1, x_9); +x_12 = l_Lean_Parser_Command_mixfix_formatter___closed__3; +x_13 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); +lean_closure_set(x_13, 0, x_11); +lean_closure_set(x_13, 1, x_12); +x_14 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__2; +x_15 = lean_unsigned_to_nat(1024u); +x_16 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_16, 0, x_14); +lean_closure_set(x_16, 1, x_15); +lean_closure_set(x_16, 2, x_13); +x_17 = l_Lean_Parser_Command_macroRhs_formatter___closed__1; +x_18 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_17, x_16, x_2, x_3, x_4, x_5, x_6); +return x_18; +} +} static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__1() { _start: { @@ -22987,73 +23649,27 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__8; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__5() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_seq1_formatter), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__6() { +static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_incQuotDepth_formatter), 6, 1); +x_1 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroRhs_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__6; -x_2 = l_Lean_Parser_Syntax_paren_formatter___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__4; -x_2 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__7; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__8; -x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__10() { +static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__2; -x_2 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__9; +x_2 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -23065,7 +23681,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__3; -x_7 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__10; +x_7 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__6; x_8 = l_Lean_PrettyPrinter_Formatter_andthen_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -23093,7 +23709,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_macroTailCommand_formatter___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_incQuotDepth_formatter), 6, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroRhs_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -23102,44 +23718,8 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailCommand_formatter___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailCommand_formatter___closed__3; -x_2 = l_Lean_Parser_Syntax_paren_formatter___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand_formatter___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__4; -x_2 = l_Lean_Parser_Command_macroTailCommand_formatter___closed__4; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand_formatter___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailCommand_formatter___closed__5; -x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand_formatter___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__2; -x_2 = l_Lean_Parser_Command_macroTailCommand_formatter___closed__6; +x_2 = l_Lean_Parser_Command_macroTailCommand_formatter___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -23151,7 +23731,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__3; -x_7 = l_Lean_Parser_Command_macroTailCommand_formatter___closed__7; +x_7 = l_Lean_Parser_Command_macroTailCommand_formatter___closed__4; x_8 = l_Lean_PrettyPrinter_Formatter_andthen_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -23181,7 +23761,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_macroTailDefault_formatter___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_incQuotDepth_formatter), 6, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroRhs_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -23190,44 +23770,8 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailDefault_formatter___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailDefault_formatter___closed__3; -x_2 = l_Lean_Parser_Syntax_paren_formatter___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault_formatter___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic_formatter___closed__4; -x_2 = l_Lean_Parser_Command_macroTailDefault_formatter___closed__4; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault_formatter___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailDefault_formatter___closed__5; -x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault_formatter___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__2; -x_2 = l_Lean_Parser_Command_macroTailDefault_formatter___closed__6; +x_2 = l_Lean_Parser_Command_macroTailDefault_formatter___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -23239,7 +23783,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_macroTailDefault_formatter___closed__1; -x_7 = l_Lean_Parser_Command_macroTailDefault_formatter___closed__7; +x_7 = l_Lean_Parser_Command_macroTailDefault_formatter___closed__4; x_8 = l_Lean_PrettyPrinter_Formatter_andthen_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -23247,12 +23791,27 @@ return x_8; static lean_object* _init_l_Lean_Parser_Command_macroTail_formatter___closed__1() { _start: { +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Command_macroTail___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_macroTail___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail_formatter___closed__2() { +_start: +{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroTailCommand_formatter), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macroTail_formatter___closed__2() { +static lean_object* _init_l_Lean_Parser_Command_macroTail_formatter___closed__3() { _start: { lean_object* x_1; @@ -23260,19 +23819,19 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroTailDefault_formatte return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macroTail_formatter___closed__3() { +static lean_object* _init_l_Lean_Parser_Command_macroTail_formatter___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTail_formatter___closed__1; -x_2 = l_Lean_Parser_Command_macroTail_formatter___closed__2; +x_1 = l_Lean_Parser_Command_macroTail_formatter___closed__2; +x_2 = l_Lean_Parser_Command_macroTail_formatter___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_macroTail_formatter___closed__4() { +static lean_object* _init_l_Lean_Parser_Command_macroTail_formatter___closed__5() { _start: { lean_object* x_1; @@ -23280,12 +23839,38 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroTailTactic_formatter return x_1; } } +static lean_object* _init_l_Lean_Parser_Command_macroTail_formatter___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroTail_formatter___closed__5; +x_2 = l_Lean_Parser_Command_macroTail_formatter___closed__4; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail_formatter___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macroTail___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_macroTail_formatter___closed__6; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} lean_object* l_Lean_Parser_Command_macroTail_formatter(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; -x_6 = l_Lean_Parser_Command_macroTail_formatter___closed__4; -x_7 = l_Lean_Parser_Command_macroTail_formatter___closed__3; +x_6 = l_Lean_Parser_Command_macroTail_formatter___closed__1; +x_7 = l_Lean_Parser_Command_macroTail_formatter___closed__7; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -23436,20 +24021,32 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_macro_formatter___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macro_formatter___closed__13; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_suppressInsideQuot_formatter), 6, 1); -lean_closure_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_Parser_Command_macro__rules_formatter___closed__3; +x_2 = l_Lean_Parser_Command_macro_formatter___closed__13; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_macro_formatter___closed__15() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macro_formatter___closed__14; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_suppressInsideQuot_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro_formatter___closed__16() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_macro_formatter___closed__14; +x_3 = l_Lean_Parser_Command_macro_formatter___closed__15; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -23462,7 +24059,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_macro_formatter___closed__1; -x_7 = l_Lean_Parser_Command_macro_formatter___closed__15; +x_7 = l_Lean_Parser_Command_macro_formatter___closed__16; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -23702,22 +24299,37 @@ return x_8; static lean_object* _init_l_Lean_Parser_Command_macroArg_parenthesizer___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroArgSimple_parenthesizer), 5, 0); -return x_1; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Command_macroArg___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_macroArg___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; } } static lean_object* _init_l_Lean_Parser_Command_macroArg_parenthesizer___closed__2() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroArgSimple_parenthesizer), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg_parenthesizer___closed__3() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macroArg_parenthesizer___closed__1; +x_1 = l_Lean_Parser_Command_macroArg_parenthesizer___closed__2; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_macroArg_parenthesizer___closed__3() { +static lean_object* _init_l_Lean_Parser_Command_macroArg_parenthesizer___closed__4() { _start: { lean_object* x_1; @@ -23725,12 +24337,38 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroArgSymbol_parenthesi return x_1; } } +static lean_object* _init_l_Lean_Parser_Command_macroArg_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroArg_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Command_macroArg_parenthesizer___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroArg_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macroArg___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_macroArg_parenthesizer___closed__5; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} lean_object* l_Lean_Parser_Command_macroArg_parenthesizer(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; -x_6 = l_Lean_Parser_Command_macroArg_parenthesizer___closed__3; -x_7 = l_Lean_Parser_Command_macroArg_parenthesizer___closed__2; +x_6 = l_Lean_Parser_Command_macroArg_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Command_macroArg_parenthesizer___closed__6; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -23743,6 +24381,60 @@ x_6 = l_Lean_Parser_Command_macroArg_parenthesizer(x_1, x_2, x_3, x_4, x_5); return x_6; } } +static lean_object* _init_l_Lean_Parser_Command_macroRhs_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroRhs_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macroRhs___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Parser_Command_macroRhs_parenthesizer(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; +x_7 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_incQuotDepth_parenthesizer), 6, 1); +lean_closure_set(x_7, 0, x_1); +x_8 = l_Lean_Parser_Syntax_paren_parenthesizer___closed__5; +x_9 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_9, 0, x_7); +lean_closure_set(x_9, 1, x_8); +x_10 = l_Lean_Parser_Command_macroRhs_parenthesizer___closed__2; +x_11 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_11, 0, x_10); +lean_closure_set(x_11, 1, x_9); +x_12 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__2; +x_13 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); +lean_closure_set(x_13, 0, x_11); +lean_closure_set(x_13, 1, x_12); +x_14 = l_Lean_Parser_Command_macroRhs___elambda__1___closed__2; +x_15 = lean_unsigned_to_nat(1024u); +x_16 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_16, 0, x_14); +lean_closure_set(x_16, 1, x_15); +lean_closure_set(x_16, 2, x_13); +x_17 = l_Lean_Parser_Command_macroRhs_parenthesizer___closed__1; +x_18 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_17, x_16, x_2, x_3, x_4, x_5, x_6); +return x_18; +} +} static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__1() { _start: { @@ -23778,73 +24470,27 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__8; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__5() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_seq1_parenthesizer), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__6() { +static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_incQuotDepth_parenthesizer), 6, 1); +x_1 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroRhs_parenthesizer), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__6; -x_2 = l_Lean_Parser_Syntax_paren_parenthesizer___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__4; -x_2 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__7; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__8; -x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__2; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__10() { +static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__9; +x_2 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -23856,7 +24502,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__3; -x_7 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__10; +x_7 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__6; x_8 = l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -23918,7 +24564,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_incQuotDepth_parenthesizer), 6, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroRhs_parenthesizer), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -23927,44 +24573,8 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailCommand_parenthesizer__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__6; -x_2 = l_Lean_Parser_Syntax_paren_parenthesizer___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__4; -x_2 = l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__7; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__8; -x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__2; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__9; +x_2 = l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -23976,7 +24586,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__3; -x_7 = l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__10; +x_7 = l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__7; x_8 = l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -24008,7 +24618,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_incQuotDepth_parenthesizer), 6, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroRhs_parenthesizer), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -24017,44 +24627,8 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailDefault_parenthesizer__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Syntax_paren_parenthesizer___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__4; -x_2 = l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__4; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__5; -x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__2; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__6; +x_2 = l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -24066,7 +24640,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__7; +x_7 = l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__4; x_8 = l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -24074,12 +24648,27 @@ return x_8; static lean_object* _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__1() { _start: { +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Command_macroTail___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_macroTail___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__2() { +_start: +{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroTailCommand_parenthesizer), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__2() { +static lean_object* _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__3() { _start: { lean_object* x_1; @@ -24087,19 +24676,19 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroTailDefault_parenthe return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__3() { +static lean_object* _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macroTail_parenthesizer___closed__1; -x_2 = l_Lean_Parser_Command_macroTail_parenthesizer___closed__2; +x_1 = l_Lean_Parser_Command_macroTail_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_macroTail_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__4() { +static lean_object* _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__5() { _start: { lean_object* x_1; @@ -24107,12 +24696,38 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_macroTailTactic_parenthes return x_1; } } +static lean_object* _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macroTail_parenthesizer___closed__5; +x_2 = l_Lean_Parser_Command_macroTail_parenthesizer___closed__4; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macroTail___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_macroTail_parenthesizer___closed__6; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} lean_object* l_Lean_Parser_Command_macroTail_parenthesizer(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; -x_6 = l_Lean_Parser_Command_macroTail_parenthesizer___closed__4; -x_7 = l_Lean_Parser_Command_macroTail_parenthesizer___closed__3; +x_6 = l_Lean_Parser_Command_macroTail_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Command_macroTail_parenthesizer___closed__7; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -24263,20 +24878,32 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_macro_parenthesizer___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_macro_parenthesizer___closed__13; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_suppressInsideQuot_parenthesizer), 6, 1); -lean_closure_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_Parser_Command_macro__rules_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Command_macro_parenthesizer___closed__13; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_macro_parenthesizer___closed__15() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_macro_parenthesizer___closed__14; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_suppressInsideQuot_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_macro_parenthesizer___closed__16() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_macro_parenthesizer___closed__14; +x_3 = l_Lean_Parser_Command_macro_parenthesizer___closed__15; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -24289,7 +24916,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_macro_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Command_macro_parenthesizer___closed__15; +x_7 = l_Lean_Parser_Command_macro_parenthesizer___closed__16; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -24387,39 +25014,26 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__6; -x_2 = lean_ctor_get(x_1, 1); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; -x_4 = lean_ctor_get(x_3, 1); -lean_inc(x_4); -x_5 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_5, 0, x_2); -lean_closure_set(x_5, 1, x_4); -return x_5; +lean_object* x_1; +x_1 = lean_mk_string(" <= "); +return x_1; } } static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_optKind; -x_2 = lean_ctor_get(x_1, 1); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__7; -x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_4, 0, x_2); -lean_closure_set(x_4, 1, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__7; +x_2 = l_String_trim(x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__1; -x_2 = l_String_trim(x_1); +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__8; +x_2 = l_Lean_Parser_symbolInfo(x_1); return x_2; } } @@ -24427,7 +25041,7 @@ static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___close _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__9; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__8; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -24446,42 +25060,186 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__12() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_ident; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__9; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__13() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__11; -x_2 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__8; +x_2 = l_Lean_Parser_Syntax_cat___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__12; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_suppressInsideQuotFn), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__2; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__12; x_2 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__13; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__15() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__14; +x_2 = l_Lean_Parser_optional(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___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 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__15; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__6; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_5, 0, x_2); +lean_closure_set(x_5, 1, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__6; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__16; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_optKind; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__17; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__1; +x_2 = l_String_trim(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__19; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__20; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__21; +x_2 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__18; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_mixfix___elambda__1___closed__15; +x_2 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__22; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__23; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__24; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_suppressInsideQuotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__25; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__26; x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -24489,12 +25247,12 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__16() { +static lean_object* _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; -x_2 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__15; +x_2 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__27; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -24534,7 +25292,7 @@ x_11 = lean_ctor_get(x_7, 0); lean_inc(x_11); x_12 = lean_array_get_size(x_11); lean_dec(x_11); -x_13 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__12; +x_13 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__24; lean_inc(x_1); x_14 = l_Lean_Parser_suppressInsideQuotFn(x_13, x_1, x_7); x_15 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__2; @@ -24560,7 +25318,7 @@ return x_19; else { lean_object* x_20; uint8_t x_21; lean_object* x_22; -x_20 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__16; +x_20 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__28; x_21 = 1; x_22 = l_Lean_Parser_orelseFnCore(x_4, x_20, x_21, x_1, x_2); return x_22; @@ -24571,10 +25329,10 @@ static lean_object* _init_l_Lean_Parser_Command_elab__rules___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 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__6; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__15; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__6; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); @@ -24585,7 +25343,7 @@ static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_optKind; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__6; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Command_elab__rules___closed__1; @@ -24596,65 +25354,101 @@ return x_4; static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__9; -x_2 = l_Lean_Parser_symbolInfo(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_optKind; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_elab__rules___closed__2; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab__rules___closed__3; -x_2 = l_Lean_Parser_Command_elab__rules___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__19; +x_2 = l_Lean_Parser_symbolInfo(x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_elab__rules___closed__4; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +x_1 = l_Lean_Parser_Command_elab__rules___closed__4; +x_2 = l_Lean_Parser_Command_elab__rules___closed__3; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab__rules___closed__5; -x_2 = l_Lean_Parser_epsilonInfo; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_attrKind; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_elab__rules___closed__5; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__7() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_elab__rules___closed__6; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_elab__rules___closed__6; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_elab__rules___closed__7; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elab__rules___closed__8; +x_2 = l_Lean_Parser_epsilonInfo; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__8() { +static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_elab__rules___closed__9; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_elab__rules___closed__7; +x_3 = l_Lean_Parser_Command_elab__rules___closed__10; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__9() { +static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__12() { _start: { lean_object* x_1; @@ -24662,12 +25456,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_elab__rules___elambda__1) return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__10() { +static lean_object* _init_l_Lean_Parser_Command_elab__rules___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab__rules___closed__8; -x_2 = l_Lean_Parser_Command_elab__rules___closed__9; +x_1 = l_Lean_Parser_Command_elab__rules___closed__11; +x_2 = l_Lean_Parser_Command_elab__rules___closed__12; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -24678,7 +25472,7 @@ static lean_object* _init_l_Lean_Parser_Command_elab__rules() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_elab__rules___closed__10; +x_1 = l_Lean_Parser_Command_elab__rules___closed__13; return x_1; } } @@ -24733,21 +25527,19 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab__rules_formatter___closed__3; -x_2 = l_Lean_Parser_Command_macro__rules_formatter___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__7; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro__rules_formatter___closed__4; -x_2 = l_Lean_Parser_Command_elab__rules_formatter___closed__4; +x_1 = l_Lean_Parser_Command_elab__rules_formatter___closed__4; +x_2 = l_Lean_Parser_Syntax_cat_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -24757,32 +25549,102 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__6() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab__rules_formatter___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__7() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab__rules_formatter___closed__2; -x_2 = l_Lean_Parser_Command_elab__rules_formatter___closed__5; +x_1 = l_Lean_Parser_Command_elab__rules_formatter___closed__6; +x_2 = l_Lean_Parser_Command_macro__rules_formatter___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__7() { +static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elab__rules_formatter___closed__3; +x_2 = l_Lean_Parser_Command_elab__rules_formatter___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macro__rules_formatter___closed__6; +x_2 = l_Lean_Parser_Command_elab__rules_formatter___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elab__rules_formatter___closed__2; +x_2 = l_Lean_Parser_Command_elab__rules_formatter___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__15; +x_2 = l_Lean_Parser_Command_elab__rules_formatter___closed__10; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macro__rules_formatter___closed__3; +x_2 = l_Lean_Parser_Command_elab__rules_formatter___closed__11; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elab__rules_formatter___closed__6; +x_1 = l_Lean_Parser_Command_elab__rules_formatter___closed__12; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_suppressInsideQuot_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__8() { +static lean_object* _init_l_Lean_Parser_Command_elab__rules_formatter___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_elab__rules_formatter___closed__7; +x_3 = l_Lean_Parser_Command_elab__rules_formatter___closed__13; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -24795,7 +25657,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_elab__rules_formatter___closed__1; -x_7 = l_Lean_Parser_Command_elab__rules_formatter___closed__8; +x_7 = l_Lean_Parser_Command_elab__rules_formatter___closed__14; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -24868,21 +25730,19 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__7; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__4; -x_2 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__4; +x_1 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -24892,32 +25752,102 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__6() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__7() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__5; +x_1 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__6; +x_2 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__7() { +static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__6; +x_2 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__15; +x_2 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__10; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_macro__rules_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__11; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__6; +x_1 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__12; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_suppressInsideQuot_parenthesizer), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__8() { +static lean_object* _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__7; +x_3 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__13; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -24930,7 +25860,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__8; +x_7 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__14; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -24985,17 +25915,18 @@ static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__ _start: { lean_object* x_1; -x_1 = lean_mk_string(" <= "); +x_1 = lean_mk_string("elabTail"); return x_1; } } static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__1; -x_2 = l_String_trim(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_namedName___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_elabTail___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__3() { @@ -25003,80 +25934,60 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__2; -x_2 = l_Lean_Parser_symbolInfo(x_1); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); return x_2; } } static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_elabTail___elambda__1___closed__3; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_ident; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_elabTail___elambda__1___closed__3; +x_3 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__9; x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__7() { +static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__5; -x_2 = l_Lean_Parser_Syntax_cat___elambda__1___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__6; -x_2 = l_Lean_Parser_Command_elabTail___elambda__1___closed__7; +x_2 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__13; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__9() { +static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__8; +x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__6; x_2 = l_Lean_Parser_optional(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__10() { +static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__9; +x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__7; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); x_3 = l_Lean_Parser_Syntax_cat___elambda__1___closed__5; @@ -25086,12 +25997,70 @@ lean_closure_set(x_4, 1, x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__11() { +static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_syntax___elambda__1___closed__8; -x_2 = l_Lean_Parser_Command_elabTail___elambda__1___closed__10; +x_2 = l_Lean_Parser_Command_elabTail___elambda__1___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__9; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_atomicFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__10; +x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_elabTail___elambda__1___closed__11; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__12; +x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; +x_2 = l_Lean_Parser_Command_elabTail___elambda__1___closed__13; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -25101,42 +26070,132 @@ return x_3; lean_object* l_Lean_Parser_Command_elabTail___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_3 = l_Lean_Parser_Command_elabTail___elambda__1___closed__11; +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Parser_Command_elabTail___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_inc(x_2); lean_inc(x_1); -x_4 = l_Lean_Parser_atomicFn(x_3, x_1, x_2); -x_5 = lean_ctor_get(x_4, 4); -lean_inc(x_5); -x_6 = lean_box(0); -x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6); -lean_dec(x_5); -if (x_7 == 0) +x_5 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_5 == 0) { -lean_dec(x_1); -return x_4; -} -else -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -lean_inc(x_1); -x_8 = l_Lean_Parser_darrow___elambda__1(x_1, x_4); -x_9 = lean_ctor_get(x_8, 4); -lean_inc(x_9); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_9, x_6); -lean_dec(x_9); +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_dec(x_4); +x_6 = lean_unsigned_to_nat(1024u); +x_7 = l_Lean_Parser_checkPrecFn(x_6, x_1, x_2); +x_8 = lean_ctor_get(x_7, 4); +lean_inc(x_8); +x_9 = lean_box(0); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +lean_dec(x_8); if (x_10 == 0) { lean_dec(x_1); -return x_8; +return x_7; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = l___regBuiltinParser_Lean_Parser_Term_stx_quot___closed__2; -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Parser_categoryParser___elambda__1(x_11, x_12, x_1, x_8); -return x_13; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +x_12 = lean_array_get_size(x_11); +lean_dec(x_11); +x_13 = l_Lean_Parser_Command_elabTail___elambda__1___closed__9; +lean_inc(x_1); +x_14 = l_Lean_Parser_atomicFn(x_13, x_1, x_7); +x_15 = lean_ctor_get(x_14, 4); +lean_inc(x_15); +x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_15, x_9); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = l_Lean_Parser_Command_elabTail___elambda__1___closed__2; +x_18 = l_Lean_Parser_ParserState_mkNode(x_14, x_17, x_12); +x_19 = lean_ctor_get(x_18, 4); +lean_inc(x_19); +x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_19, x_9); +lean_dec(x_19); +if (x_20 == 0) +{ +lean_dec(x_1); +return x_18; } +else +{ +lean_object* x_21; +x_21 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_18); +lean_dec(x_1); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +lean_inc(x_1); +x_22 = l_Lean_Parser_darrow___elambda__1(x_1, x_14); +x_23 = lean_ctor_get(x_22, 4); +lean_inc(x_23); +x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_23, x_9); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = l_Lean_Parser_Command_elabTail___elambda__1___closed__2; +x_26 = l_Lean_Parser_ParserState_mkNode(x_22, x_25, x_12); +x_27 = lean_ctor_get(x_26, 4); +lean_inc(x_27); +x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_27, x_9); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_dec(x_1); +return x_26; +} +else +{ +lean_object* x_29; +x_29 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_26); +lean_dec(x_1); +return x_29; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_30 = l___regBuiltinParser_Lean_Parser_Term_stx_quot___closed__2; +x_31 = lean_unsigned_to_nat(0u); +lean_inc(x_1); +x_32 = l_Lean_Parser_categoryParser___elambda__1(x_30, x_31, x_1, x_22); +x_33 = l_Lean_Parser_Command_elabTail___elambda__1___closed__2; +x_34 = l_Lean_Parser_ParserState_mkNode(x_32, x_33, x_12); +x_35 = lean_ctor_get(x_34, 4); +lean_inc(x_35); +x_36 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_35, x_9); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_dec(x_1); +return x_34; +} +else +{ +lean_object* x_37; +x_37 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_34); +lean_dec(x_1); +return x_37; +} +} +} +} +} +else +{ +lean_object* x_38; uint8_t x_39; lean_object* x_40; +x_38 = l_Lean_Parser_Command_elabTail___elambda__1___closed__14; +x_39 = 1; +x_40 = l_Lean_Parser_orelseFnCore(x_4, x_38, x_39, x_1, x_2); +return x_40; } } } @@ -25147,7 +26206,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l_Lean_Parser_ident; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_elabTail___elambda__1___closed__9; +x_3 = l_Lean_Parser_Command_elabTail___elambda__1___closed__7; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); @@ -25177,17 +26236,59 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_elabTail___closed__4() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_elabTail___elambda__1), 2, 0); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_elabTail___closed__3; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_elabTail___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elabTail___closed__3; -x_2 = l_Lean_Parser_Command_elabTail___closed__4; +x_1 = l_Lean_Parser_Command_elabTail___closed__4; +x_2 = l_Lean_Parser_epsilonInfo; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elabTail___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_elabTail___closed__5; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elabTail___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_elabTail___closed__6; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_elabTail___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_elabTail___elambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_elabTail___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elabTail___closed__7; +x_2 = l_Lean_Parser_Command_elabTail___closed__8; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -25198,7 +26299,7 @@ static lean_object* _init_l_Lean_Parser_Command_elabTail() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_elabTail___closed__5; +x_1 = l_Lean_Parser_Command_elabTail___closed__9; return x_1; } } @@ -25257,7 +26358,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_elab___elambda__1___closed__5; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_elabTail___closed__4; +x_3 = l_Lean_Parser_Command_elabTail___closed__8; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_4, 0, x_2); lean_closure_set(x_4, 1, x_3); @@ -25384,32 +26485,34 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_elab___elambda__1___closed__17() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elab___elambda__1___closed__16; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_suppressInsideQuotFn), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_elab___elambda__1___closed__16; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_elab___elambda__1___closed__18() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_elab___elambda__1___closed__17; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab___elambda__1___closed__17; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_suppressInsideQuotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Command_elab___elambda__1___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab___elambda__1___closed__18; -x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_1 = l_Lean_Parser_Command_elab___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_elab___elambda__1___closed__18; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -25419,8 +26522,20 @@ static lean_object* _init_l_Lean_Parser_Command_elab___elambda__1___closed__20() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_elab___elambda__1___closed__19; +x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab___elambda__1___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; -x_2 = l_Lean_Parser_Command_elab___elambda__1___closed__19; +x_2 = l_Lean_Parser_Command_elab___elambda__1___closed__20; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -25460,7 +26575,7 @@ x_11 = lean_ctor_get(x_7, 0); lean_inc(x_11); x_12 = lean_array_get_size(x_11); lean_dec(x_11); -x_13 = l_Lean_Parser_Command_elab___elambda__1___closed__16; +x_13 = l_Lean_Parser_Command_elab___elambda__1___closed__17; lean_inc(x_1); x_14 = l_Lean_Parser_suppressInsideQuotFn(x_13, x_1, x_7); x_15 = l_Lean_Parser_Command_elab___elambda__1___closed__2; @@ -25486,7 +26601,7 @@ return x_19; else { lean_object* x_20; uint8_t x_21; lean_object* x_22; -x_20 = l_Lean_Parser_Command_elab___elambda__1___closed__20; +x_20 = l_Lean_Parser_Command_elab___elambda__1___closed__21; x_21 = 1; x_22 = l_Lean_Parser_orelseFnCore(x_4, x_20, x_21, x_1, x_2); return x_22; @@ -25589,20 +26704,22 @@ return x_4; static lean_object* _init_l_Lean_Parser_Command_elab___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_elab___closed__8; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_elab___closed__8; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_elab___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab___closed__9; -x_2 = l_Lean_Parser_epsilonInfo; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_1 = l_Lean_Parser_Command_elab___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_elab___closed__9; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } @@ -25610,8 +26727,8 @@ static lean_object* _init_l_Lean_Parser_Command_elab___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_elab___closed__10; +x_1 = l_Lean_Parser_Command_elab___closed__10; +x_2 = l_Lean_Parser_epsilonInfo; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -25619,16 +26736,26 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_elab___closed__12() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_elab___closed__11; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab___closed__13() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_elab___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_elab___closed__11; +x_3 = l_Lean_Parser_Command_elab___closed__12; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_elab___closed__13() { +static lean_object* _init_l_Lean_Parser_Command_elab___closed__14() { _start: { lean_object* x_1; @@ -25636,12 +26763,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_elab___elambda__1), 2, 0) return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_elab___closed__14() { +static lean_object* _init_l_Lean_Parser_Command_elab___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elab___closed__12; -x_2 = l_Lean_Parser_Command_elab___closed__13; +x_1 = l_Lean_Parser_Command_elab___closed__13; +x_2 = l_Lean_Parser_Command_elab___closed__14; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -25652,7 +26779,7 @@ static lean_object* _init_l_Lean_Parser_Command_elab() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_elab___closed__14; +x_1 = l_Lean_Parser_Command_elab___closed__15; return x_1; } } @@ -25688,19 +26815,24 @@ return x_6; static lean_object* _init_l_Lean_Parser_Command_elabTail_formatter___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__1; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +x_2 = l_Lean_Parser_Command_elabTail___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; } } static lean_object* _init_l_Lean_Parser_Command_elabTail_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elabTail_formatter___closed__1; -x_2 = l_Lean_Parser_Syntax_cat_formatter___closed__2; +x_1 = l_Lean_Parser_Syntax_cat_formatter___closed__2; +x_2 = l_Lean_Parser_Command_elab__rules_formatter___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -25710,31 +26842,31 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_elabTail_formatter___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elabTail_formatter___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_elabTail_formatter___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_cat_formatter___closed__2; -x_2 = l_Lean_Parser_Command_elabTail_formatter___closed__3; +x_1 = l_Lean_Parser_Command_syntax_formatter___closed__3; +x_2 = l_Lean_Parser_Command_elabTail_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Command_elabTail_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elabTail_formatter___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_atomic_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Parser_Command_elabTail_formatter___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntax_formatter___closed__3; -x_2 = l_Lean_Parser_Command_elabTail_formatter___closed__4; +x_1 = l_Lean_Parser_Command_elabTail_formatter___closed__4; +x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -25744,20 +26876,24 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_elabTail_formatter___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elabTail_formatter___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_atomic_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_elabTail_formatter___closed__5; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; } } lean_object* l_Lean_Parser_Command_elabTail_formatter(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; -x_6 = l_Lean_Parser_Command_elabTail_formatter___closed__6; -x_7 = l_Lean_Parser_Command_mixfix_formatter___closed__4; -x_8 = l_Lean_PrettyPrinter_Formatter_andthen_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Parser_Command_elabTail_formatter___closed__1; +x_7 = l_Lean_Parser_Command_elabTail_formatter___closed__6; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } } @@ -25907,20 +27043,32 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_elab_formatter___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elab_formatter___closed__13; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_suppressInsideQuot_formatter), 6, 1); -lean_closure_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_Parser_Command_macro__rules_formatter___closed__3; +x_2 = l_Lean_Parser_Command_elab_formatter___closed__13; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_elab_formatter___closed__15() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab_formatter___closed__14; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_suppressInsideQuot_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab_formatter___closed__16() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_elab___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_elab_formatter___closed__14; +x_3 = l_Lean_Parser_Command_elab_formatter___closed__15; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -25933,7 +27081,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_elab_formatter___closed__1; -x_7 = l_Lean_Parser_Command_elab_formatter___closed__15; +x_7 = l_Lean_Parser_Command_elab_formatter___closed__16; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -25987,19 +27135,24 @@ return x_6; static lean_object* _init_l_Lean_Parser_Command_elabTail_parenthesizer___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__1; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +x_2 = l_Lean_Parser_Command_elabTail___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; } } static lean_object* _init_l_Lean_Parser_Command_elabTail_parenthesizer___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_elabTail_parenthesizer___closed__1; -x_2 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__2; +x_1 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_elab__rules_parenthesizer___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -26009,31 +27162,31 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_elabTail_parenthesizer___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elabTail_parenthesizer___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_elabTail_parenthesizer___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Command_elabTail_parenthesizer___closed__3; +x_1 = l_Lean_Parser_Command_syntax_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Command_elabTail_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Command_elabTail_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elabTail_parenthesizer___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Parser_Command_elabTail_parenthesizer___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntax_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Command_elabTail_parenthesizer___closed__4; +x_1 = l_Lean_Parser_Command_elabTail_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -26043,20 +27196,24 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_elabTail_parenthesizer___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elabTail_parenthesizer___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_elabTail___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_elabTail_parenthesizer___closed__5; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; } } lean_object* l_Lean_Parser_Command_elabTail_parenthesizer(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; -x_6 = l_Lean_Parser_Command_elabTail_parenthesizer___closed__6; -x_7 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__4; -x_8 = l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Parser_Command_elabTail_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Command_elabTail_parenthesizer___closed__6; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } } @@ -26206,20 +27363,32 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_elab_parenthesizer___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_elab_parenthesizer___closed__13; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_suppressInsideQuot_parenthesizer), 6, 1); -lean_closure_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_Parser_Command_macro__rules_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Command_elab_parenthesizer___closed__13; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_elab_parenthesizer___closed__15() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_elab_parenthesizer___closed__14; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_suppressInsideQuot_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_elab_parenthesizer___closed__16() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_elab___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_elab_parenthesizer___closed__14; +x_3 = l_Lean_Parser_Command_elab_parenthesizer___closed__15; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -26232,7 +27401,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_elab_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Command_elab_parenthesizer___closed__15; +x_7 = l_Lean_Parser_Command_elab_parenthesizer___closed__16; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -28410,6 +29579,10 @@ l_Lean_Parser_Command_macro__rules___elambda__1___closed__14 = _init_l_Lean_Pars lean_mark_persistent(l_Lean_Parser_Command_macro__rules___elambda__1___closed__14); l_Lean_Parser_Command_macro__rules___elambda__1___closed__15 = _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__15(); lean_mark_persistent(l_Lean_Parser_Command_macro__rules___elambda__1___closed__15); +l_Lean_Parser_Command_macro__rules___elambda__1___closed__16 = _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__16(); +lean_mark_persistent(l_Lean_Parser_Command_macro__rules___elambda__1___closed__16); +l_Lean_Parser_Command_macro__rules___elambda__1___closed__17 = _init_l_Lean_Parser_Command_macro__rules___elambda__1___closed__17(); +lean_mark_persistent(l_Lean_Parser_Command_macro__rules___elambda__1___closed__17); l_Lean_Parser_Command_macro__rules___closed__1 = _init_l_Lean_Parser_Command_macro__rules___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macro__rules___closed__1); l_Lean_Parser_Command_macro__rules___closed__2 = _init_l_Lean_Parser_Command_macro__rules___closed__2(); @@ -28430,6 +29603,8 @@ l_Lean_Parser_Command_macro__rules___closed__9 = _init_l_Lean_Parser_Command_mac lean_mark_persistent(l_Lean_Parser_Command_macro__rules___closed__9); l_Lean_Parser_Command_macro__rules___closed__10 = _init_l_Lean_Parser_Command_macro__rules___closed__10(); lean_mark_persistent(l_Lean_Parser_Command_macro__rules___closed__10); +l_Lean_Parser_Command_macro__rules___closed__11 = _init_l_Lean_Parser_Command_macro__rules___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_macro__rules___closed__11); l_Lean_Parser_Command_macro__rules = _init_l_Lean_Parser_Command_macro__rules(); lean_mark_persistent(l_Lean_Parser_Command_macro__rules); res = l___regBuiltinParser_Lean_Parser_Command_macro__rules(lean_io_mk_world()); @@ -28461,6 +29636,12 @@ l_Lean_Parser_Command_macro__rules_formatter___closed__7 = _init_l_Lean_Parser_C lean_mark_persistent(l_Lean_Parser_Command_macro__rules_formatter___closed__7); l_Lean_Parser_Command_macro__rules_formatter___closed__8 = _init_l_Lean_Parser_Command_macro__rules_formatter___closed__8(); lean_mark_persistent(l_Lean_Parser_Command_macro__rules_formatter___closed__8); +l_Lean_Parser_Command_macro__rules_formatter___closed__9 = _init_l_Lean_Parser_Command_macro__rules_formatter___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_macro__rules_formatter___closed__9); +l_Lean_Parser_Command_macro__rules_formatter___closed__10 = _init_l_Lean_Parser_Command_macro__rules_formatter___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_macro__rules_formatter___closed__10); +l_Lean_Parser_Command_macro__rules_formatter___closed__11 = _init_l_Lean_Parser_Command_macro__rules_formatter___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_macro__rules_formatter___closed__11); l___regBuiltin_Lean_Parser_Command_macro__rules_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_macro__rules_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_macro__rules_formatter___closed__1); l___regBuiltin_Lean_Parser_Command_macro__rules_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_macro__rules_formatter___closed__2(); @@ -28494,6 +29675,12 @@ l_Lean_Parser_Command_macro__rules_parenthesizer___closed__7 = _init_l_Lean_Pars lean_mark_persistent(l_Lean_Parser_Command_macro__rules_parenthesizer___closed__7); l_Lean_Parser_Command_macro__rules_parenthesizer___closed__8 = _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__8(); lean_mark_persistent(l_Lean_Parser_Command_macro__rules_parenthesizer___closed__8); +l_Lean_Parser_Command_macro__rules_parenthesizer___closed__9 = _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_macro__rules_parenthesizer___closed__9); +l_Lean_Parser_Command_macro__rules_parenthesizer___closed__10 = _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_macro__rules_parenthesizer___closed__10); +l_Lean_Parser_Command_macro__rules_parenthesizer___closed__11 = _init_l_Lean_Parser_Command_macro__rules_parenthesizer___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_macro__rules_parenthesizer___closed__11); l___regBuiltin_Lean_Parser_Command_macro__rules_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_macro__rules_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_macro__rules_parenthesizer___closed__1); l___regBuiltin_Lean_Parser_Command_macro__rules_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_macro__rules_parenthesizer___closed__2(); @@ -28553,6 +29740,8 @@ l_Lean_Parser_Command_syntax___elambda__1___closed__25 = _init_l_Lean_Parser_Com lean_mark_persistent(l_Lean_Parser_Command_syntax___elambda__1___closed__25); l_Lean_Parser_Command_syntax___elambda__1___closed__26 = _init_l_Lean_Parser_Command_syntax___elambda__1___closed__26(); lean_mark_persistent(l_Lean_Parser_Command_syntax___elambda__1___closed__26); +l_Lean_Parser_Command_syntax___elambda__1___closed__27 = _init_l_Lean_Parser_Command_syntax___elambda__1___closed__27(); +lean_mark_persistent(l_Lean_Parser_Command_syntax___elambda__1___closed__27); l_Lean_Parser_Command_syntax___closed__1 = _init_l_Lean_Parser_Command_syntax___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_syntax___closed__1); l_Lean_Parser_Command_syntax___closed__2 = _init_l_Lean_Parser_Command_syntax___closed__2(); @@ -28583,6 +29772,8 @@ l_Lean_Parser_Command_syntax___closed__14 = _init_l_Lean_Parser_Command_syntax__ lean_mark_persistent(l_Lean_Parser_Command_syntax___closed__14); l_Lean_Parser_Command_syntax___closed__15 = _init_l_Lean_Parser_Command_syntax___closed__15(); lean_mark_persistent(l_Lean_Parser_Command_syntax___closed__15); +l_Lean_Parser_Command_syntax___closed__16 = _init_l_Lean_Parser_Command_syntax___closed__16(); +lean_mark_persistent(l_Lean_Parser_Command_syntax___closed__16); l_Lean_Parser_Command_syntax = _init_l_Lean_Parser_Command_syntax(); lean_mark_persistent(l_Lean_Parser_Command_syntax); res = l___regBuiltinParser_Lean_Parser_Command_syntax(lean_io_mk_world()); @@ -28610,6 +29801,8 @@ l_Lean_Parser_Command_syntax_formatter___closed__10 = _init_l_Lean_Parser_Comman lean_mark_persistent(l_Lean_Parser_Command_syntax_formatter___closed__10); l_Lean_Parser_Command_syntax_formatter___closed__11 = _init_l_Lean_Parser_Command_syntax_formatter___closed__11(); lean_mark_persistent(l_Lean_Parser_Command_syntax_formatter___closed__11); +l_Lean_Parser_Command_syntax_formatter___closed__12 = _init_l_Lean_Parser_Command_syntax_formatter___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_syntax_formatter___closed__12); l___regBuiltin_Lean_Parser_Command_syntax_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_syntax_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_syntax_formatter___closed__1); l___regBuiltin_Lean_Parser_Command_syntax_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_syntax_formatter___closed__2(); @@ -28639,6 +29832,8 @@ l_Lean_Parser_Command_syntax_parenthesizer___closed__10 = _init_l_Lean_Parser_Co lean_mark_persistent(l_Lean_Parser_Command_syntax_parenthesizer___closed__10); l_Lean_Parser_Command_syntax_parenthesizer___closed__11 = _init_l_Lean_Parser_Command_syntax_parenthesizer___closed__11(); lean_mark_persistent(l_Lean_Parser_Command_syntax_parenthesizer___closed__11); +l_Lean_Parser_Command_syntax_parenthesizer___closed__12 = _init_l_Lean_Parser_Command_syntax_parenthesizer___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_syntax_parenthesizer___closed__12); l___regBuiltin_Lean_Parser_Command_syntax_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_syntax_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_syntax_parenthesizer___closed__1); l___regBuiltin_Lean_Parser_Command_syntax_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_syntax_parenthesizer___closed__2(); @@ -28908,16 +30103,58 @@ l_Lean_Parser_Command_macroArgSymbol = _init_l_Lean_Parser_Command_macroArgSymbo lean_mark_persistent(l_Lean_Parser_Command_macroArgSymbol); l_Lean_Parser_Command_macroArg___elambda__1___closed__1 = _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroArg___elambda__1___closed__1); +l_Lean_Parser_Command_macroArg___elambda__1___closed__2 = _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg___elambda__1___closed__2); +l_Lean_Parser_Command_macroArg___elambda__1___closed__3 = _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg___elambda__1___closed__3); +l_Lean_Parser_Command_macroArg___elambda__1___closed__4 = _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg___elambda__1___closed__4); +l_Lean_Parser_Command_macroArg___elambda__1___closed__5 = _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg___elambda__1___closed__5); +l_Lean_Parser_Command_macroArg___elambda__1___closed__6 = _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg___elambda__1___closed__6); +l_Lean_Parser_Command_macroArg___elambda__1___closed__7 = _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg___elambda__1___closed__7); +l_Lean_Parser_Command_macroArg___elambda__1___closed__8 = _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg___elambda__1___closed__8); +l_Lean_Parser_Command_macroArg___elambda__1___closed__9 = _init_l_Lean_Parser_Command_macroArg___elambda__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg___elambda__1___closed__9); l_Lean_Parser_Command_macroArg___closed__1 = _init_l_Lean_Parser_Command_macroArg___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroArg___closed__1); l_Lean_Parser_Command_macroArg___closed__2 = _init_l_Lean_Parser_Command_macroArg___closed__2(); lean_mark_persistent(l_Lean_Parser_Command_macroArg___closed__2); l_Lean_Parser_Command_macroArg___closed__3 = _init_l_Lean_Parser_Command_macroArg___closed__3(); lean_mark_persistent(l_Lean_Parser_Command_macroArg___closed__3); +l_Lean_Parser_Command_macroArg___closed__4 = _init_l_Lean_Parser_Command_macroArg___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg___closed__4); +l_Lean_Parser_Command_macroArg___closed__5 = _init_l_Lean_Parser_Command_macroArg___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg___closed__5); +l_Lean_Parser_Command_macroArg___closed__6 = _init_l_Lean_Parser_Command_macroArg___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg___closed__6); +l_Lean_Parser_Command_macroArg___closed__7 = _init_l_Lean_Parser_Command_macroArg___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg___closed__7); l_Lean_Parser_Command_macroArg = _init_l_Lean_Parser_Command_macroArg(); lean_mark_persistent(l_Lean_Parser_Command_macroArg); l_Lean_Parser_Command_macroHead = _init_l_Lean_Parser_Command_macroHead(); lean_mark_persistent(l_Lean_Parser_Command_macroHead); +l_Lean_Parser_Command_macroRhs___elambda__1___closed__1 = _init_l_Lean_Parser_Command_macroRhs___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs___elambda__1___closed__1); +l_Lean_Parser_Command_macroRhs___elambda__1___closed__2 = _init_l_Lean_Parser_Command_macroRhs___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs___elambda__1___closed__2); +l_Lean_Parser_Command_macroRhs___elambda__1___closed__3 = _init_l_Lean_Parser_Command_macroRhs___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs___elambda__1___closed__3); +l_Lean_Parser_Command_macroRhs___elambda__1___closed__4 = _init_l_Lean_Parser_Command_macroRhs___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs___elambda__1___closed__4); +l_Lean_Parser_Command_macroRhs___closed__1 = _init_l_Lean_Parser_Command_macroRhs___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs___closed__1); +l_Lean_Parser_Command_macroRhs___closed__2 = _init_l_Lean_Parser_Command_macroRhs___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs___closed__2); +l_Lean_Parser_Command_macroRhs___closed__3 = _init_l_Lean_Parser_Command_macroRhs___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs___closed__3); +l_Lean_Parser_Command_macroRhs___closed__4 = _init_l_Lean_Parser_Command_macroRhs___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs___closed__4); +l_Lean_Parser_Command_macroRhs___closed__5 = _init_l_Lean_Parser_Command_macroRhs___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs___closed__5); l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__1 = _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__1); l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__2 = _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__2(); @@ -28928,20 +30165,6 @@ l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__4 = _init_l_Lean_Pa lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__4); l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__5 = _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__5(); lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__5); -l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__6 = _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__6(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__6); -l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__7 = _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__7(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__7); -l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__8 = _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__8(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__8); -l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__9 = _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__9(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__9); -l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__10 = _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__10); -l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__11 = _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__11); -l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__12 = _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__12); l_Lean_Parser_Command_macroTailTactic___closed__1 = _init_l_Lean_Parser_Command_macroTailTactic___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___closed__1); l_Lean_Parser_Command_macroTailTactic___closed__2 = _init_l_Lean_Parser_Command_macroTailTactic___closed__2(); @@ -28956,14 +30179,6 @@ l_Lean_Parser_Command_macroTailTactic___closed__6 = _init_l_Lean_Parser_Command_ lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___closed__6); l_Lean_Parser_Command_macroTailTactic___closed__7 = _init_l_Lean_Parser_Command_macroTailTactic___closed__7(); lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___closed__7); -l_Lean_Parser_Command_macroTailTactic___closed__8 = _init_l_Lean_Parser_Command_macroTailTactic___closed__8(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___closed__8); -l_Lean_Parser_Command_macroTailTactic___closed__9 = _init_l_Lean_Parser_Command_macroTailTactic___closed__9(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___closed__9); -l_Lean_Parser_Command_macroTailTactic___closed__10 = _init_l_Lean_Parser_Command_macroTailTactic___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___closed__10); -l_Lean_Parser_Command_macroTailTactic___closed__11 = _init_l_Lean_Parser_Command_macroTailTactic___closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic___closed__11); l_Lean_Parser_Command_macroTailTactic = _init_l_Lean_Parser_Command_macroTailTactic(); lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic); l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__1 = _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__1(); @@ -28984,6 +30199,8 @@ l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__8 = _init_l_Lean_P lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__8); l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__9 = _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__9(); lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__9); +l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__10 = _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__10); l_Lean_Parser_Command_macroTailCommand___closed__1 = _init_l_Lean_Parser_Command_macroTailCommand___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand___closed__1); l_Lean_Parser_Command_macroTailCommand___closed__2 = _init_l_Lean_Parser_Command_macroTailCommand___closed__2(); @@ -28992,26 +30209,12 @@ l_Lean_Parser_Command_macroTailCommand___closed__3 = _init_l_Lean_Parser_Command lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand___closed__3); l_Lean_Parser_Command_macroTailCommand___closed__4 = _init_l_Lean_Parser_Command_macroTailCommand___closed__4(); lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand___closed__4); -l_Lean_Parser_Command_macroTailCommand___closed__5 = _init_l_Lean_Parser_Command_macroTailCommand___closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand___closed__5); -l_Lean_Parser_Command_macroTailCommand___closed__6 = _init_l_Lean_Parser_Command_macroTailCommand___closed__6(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand___closed__6); -l_Lean_Parser_Command_macroTailCommand___closed__7 = _init_l_Lean_Parser_Command_macroTailCommand___closed__7(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand___closed__7); -l_Lean_Parser_Command_macroTailCommand___closed__8 = _init_l_Lean_Parser_Command_macroTailCommand___closed__8(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand___closed__8); -l_Lean_Parser_Command_macroTailCommand___closed__9 = _init_l_Lean_Parser_Command_macroTailCommand___closed__9(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand___closed__9); l_Lean_Parser_Command_macroTailCommand = _init_l_Lean_Parser_Command_macroTailCommand(); lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand); l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__1 = _init_l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__1); l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__2 = _init_l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__2(); lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__2); -l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__3 = _init_l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__3(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__3); -l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__4 = _init_l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__4(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault___elambda__1___closed__4); l_Lean_Parser_Command_macroTailDefault___closed__1 = _init_l_Lean_Parser_Command_macroTailDefault___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault___closed__1); l_Lean_Parser_Command_macroTailDefault___closed__2 = _init_l_Lean_Parser_Command_macroTailDefault___closed__2(); @@ -29020,18 +30223,26 @@ l_Lean_Parser_Command_macroTailDefault___closed__3 = _init_l_Lean_Parser_Command lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault___closed__3); l_Lean_Parser_Command_macroTailDefault___closed__4 = _init_l_Lean_Parser_Command_macroTailDefault___closed__4(); lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault___closed__4); -l_Lean_Parser_Command_macroTailDefault___closed__5 = _init_l_Lean_Parser_Command_macroTailDefault___closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault___closed__5); -l_Lean_Parser_Command_macroTailDefault___closed__6 = _init_l_Lean_Parser_Command_macroTailDefault___closed__6(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault___closed__6); -l_Lean_Parser_Command_macroTailDefault___closed__7 = _init_l_Lean_Parser_Command_macroTailDefault___closed__7(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault___closed__7); -l_Lean_Parser_Command_macroTailDefault___closed__8 = _init_l_Lean_Parser_Command_macroTailDefault___closed__8(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault___closed__8); l_Lean_Parser_Command_macroTailDefault = _init_l_Lean_Parser_Command_macroTailDefault(); lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault); l_Lean_Parser_Command_macroTail___elambda__1___closed__1 = _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTail___elambda__1___closed__1); +l_Lean_Parser_Command_macroTail___elambda__1___closed__2 = _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail___elambda__1___closed__2); +l_Lean_Parser_Command_macroTail___elambda__1___closed__3 = _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail___elambda__1___closed__3); +l_Lean_Parser_Command_macroTail___elambda__1___closed__4 = _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail___elambda__1___closed__4); +l_Lean_Parser_Command_macroTail___elambda__1___closed__5 = _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail___elambda__1___closed__5); +l_Lean_Parser_Command_macroTail___elambda__1___closed__6 = _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail___elambda__1___closed__6); +l_Lean_Parser_Command_macroTail___elambda__1___closed__7 = _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail___elambda__1___closed__7); +l_Lean_Parser_Command_macroTail___elambda__1___closed__8 = _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail___elambda__1___closed__8); +l_Lean_Parser_Command_macroTail___elambda__1___closed__9 = _init_l_Lean_Parser_Command_macroTail___elambda__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail___elambda__1___closed__9); l_Lean_Parser_Command_macroTail___closed__1 = _init_l_Lean_Parser_Command_macroTail___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTail___closed__1); l_Lean_Parser_Command_macroTail___closed__2 = _init_l_Lean_Parser_Command_macroTail___closed__2(); @@ -29040,6 +30251,14 @@ l_Lean_Parser_Command_macroTail___closed__3 = _init_l_Lean_Parser_Command_macroT lean_mark_persistent(l_Lean_Parser_Command_macroTail___closed__3); l_Lean_Parser_Command_macroTail___closed__4 = _init_l_Lean_Parser_Command_macroTail___closed__4(); lean_mark_persistent(l_Lean_Parser_Command_macroTail___closed__4); +l_Lean_Parser_Command_macroTail___closed__5 = _init_l_Lean_Parser_Command_macroTail___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail___closed__5); +l_Lean_Parser_Command_macroTail___closed__6 = _init_l_Lean_Parser_Command_macroTail___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail___closed__6); +l_Lean_Parser_Command_macroTail___closed__7 = _init_l_Lean_Parser_Command_macroTail___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail___closed__7); +l_Lean_Parser_Command_macroTail___closed__8 = _init_l_Lean_Parser_Command_macroTail___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail___closed__8); l_Lean_Parser_Command_macroTail = _init_l_Lean_Parser_Command_macroTail(); lean_mark_persistent(l_Lean_Parser_Command_macroTail); l_Lean_Parser_Command_macro___elambda__1___closed__1 = _init_l_Lean_Parser_Command_macro___elambda__1___closed__1(); @@ -29082,6 +30301,8 @@ l_Lean_Parser_Command_macro___elambda__1___closed__19 = _init_l_Lean_Parser_Comm lean_mark_persistent(l_Lean_Parser_Command_macro___elambda__1___closed__19); l_Lean_Parser_Command_macro___elambda__1___closed__20 = _init_l_Lean_Parser_Command_macro___elambda__1___closed__20(); lean_mark_persistent(l_Lean_Parser_Command_macro___elambda__1___closed__20); +l_Lean_Parser_Command_macro___elambda__1___closed__21 = _init_l_Lean_Parser_Command_macro___elambda__1___closed__21(); +lean_mark_persistent(l_Lean_Parser_Command_macro___elambda__1___closed__21); l_Lean_Parser_Command_macro___closed__1 = _init_l_Lean_Parser_Command_macro___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macro___closed__1); l_Lean_Parser_Command_macro___closed__2 = _init_l_Lean_Parser_Command_macro___closed__2(); @@ -29110,6 +30331,8 @@ l_Lean_Parser_Command_macro___closed__13 = _init_l_Lean_Parser_Command_macro___c lean_mark_persistent(l_Lean_Parser_Command_macro___closed__13); l_Lean_Parser_Command_macro___closed__14 = _init_l_Lean_Parser_Command_macro___closed__14(); lean_mark_persistent(l_Lean_Parser_Command_macro___closed__14); +l_Lean_Parser_Command_macro___closed__15 = _init_l_Lean_Parser_Command_macro___closed__15(); +lean_mark_persistent(l_Lean_Parser_Command_macro___closed__15); l_Lean_Parser_Command_macro = _init_l_Lean_Parser_Command_macro(); lean_mark_persistent(l_Lean_Parser_Command_macro); res = l___regBuiltinParser_Lean_Parser_Command_macro(lean_io_mk_world()); @@ -29149,6 +30372,16 @@ l_Lean_Parser_Command_macroArg_formatter___closed__2 = _init_l_Lean_Parser_Comma lean_mark_persistent(l_Lean_Parser_Command_macroArg_formatter___closed__2); l_Lean_Parser_Command_macroArg_formatter___closed__3 = _init_l_Lean_Parser_Command_macroArg_formatter___closed__3(); lean_mark_persistent(l_Lean_Parser_Command_macroArg_formatter___closed__3); +l_Lean_Parser_Command_macroArg_formatter___closed__4 = _init_l_Lean_Parser_Command_macroArg_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg_formatter___closed__4); +l_Lean_Parser_Command_macroArg_formatter___closed__5 = _init_l_Lean_Parser_Command_macroArg_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg_formatter___closed__5); +l_Lean_Parser_Command_macroArg_formatter___closed__6 = _init_l_Lean_Parser_Command_macroArg_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg_formatter___closed__6); +l_Lean_Parser_Command_macroRhs_formatter___closed__1 = _init_l_Lean_Parser_Command_macroRhs_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs_formatter___closed__1); +l_Lean_Parser_Command_macroRhs_formatter___closed__2 = _init_l_Lean_Parser_Command_macroRhs_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs_formatter___closed__2); l_Lean_Parser_Command_macroTailTactic_formatter___closed__1 = _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_formatter___closed__1); l_Lean_Parser_Command_macroTailTactic_formatter___closed__2 = _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__2(); @@ -29161,14 +30394,6 @@ l_Lean_Parser_Command_macroTailTactic_formatter___closed__5 = _init_l_Lean_Parse lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_formatter___closed__5); l_Lean_Parser_Command_macroTailTactic_formatter___closed__6 = _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__6(); lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_formatter___closed__6); -l_Lean_Parser_Command_macroTailTactic_formatter___closed__7 = _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__7(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_formatter___closed__7); -l_Lean_Parser_Command_macroTailTactic_formatter___closed__8 = _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__8(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_formatter___closed__8); -l_Lean_Parser_Command_macroTailTactic_formatter___closed__9 = _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__9(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_formatter___closed__9); -l_Lean_Parser_Command_macroTailTactic_formatter___closed__10 = _init_l_Lean_Parser_Command_macroTailTactic_formatter___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_formatter___closed__10); l_Lean_Parser_Command_macroTailCommand_formatter___closed__1 = _init_l_Lean_Parser_Command_macroTailCommand_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand_formatter___closed__1); l_Lean_Parser_Command_macroTailCommand_formatter___closed__2 = _init_l_Lean_Parser_Command_macroTailCommand_formatter___closed__2(); @@ -29177,12 +30402,6 @@ l_Lean_Parser_Command_macroTailCommand_formatter___closed__3 = _init_l_Lean_Pars lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand_formatter___closed__3); l_Lean_Parser_Command_macroTailCommand_formatter___closed__4 = _init_l_Lean_Parser_Command_macroTailCommand_formatter___closed__4(); lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand_formatter___closed__4); -l_Lean_Parser_Command_macroTailCommand_formatter___closed__5 = _init_l_Lean_Parser_Command_macroTailCommand_formatter___closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand_formatter___closed__5); -l_Lean_Parser_Command_macroTailCommand_formatter___closed__6 = _init_l_Lean_Parser_Command_macroTailCommand_formatter___closed__6(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand_formatter___closed__6); -l_Lean_Parser_Command_macroTailCommand_formatter___closed__7 = _init_l_Lean_Parser_Command_macroTailCommand_formatter___closed__7(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand_formatter___closed__7); l_Lean_Parser_Command_macroTailDefault_formatter___closed__1 = _init_l_Lean_Parser_Command_macroTailDefault_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault_formatter___closed__1); l_Lean_Parser_Command_macroTailDefault_formatter___closed__2 = _init_l_Lean_Parser_Command_macroTailDefault_formatter___closed__2(); @@ -29191,12 +30410,6 @@ l_Lean_Parser_Command_macroTailDefault_formatter___closed__3 = _init_l_Lean_Pars lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault_formatter___closed__3); l_Lean_Parser_Command_macroTailDefault_formatter___closed__4 = _init_l_Lean_Parser_Command_macroTailDefault_formatter___closed__4(); lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault_formatter___closed__4); -l_Lean_Parser_Command_macroTailDefault_formatter___closed__5 = _init_l_Lean_Parser_Command_macroTailDefault_formatter___closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault_formatter___closed__5); -l_Lean_Parser_Command_macroTailDefault_formatter___closed__6 = _init_l_Lean_Parser_Command_macroTailDefault_formatter___closed__6(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault_formatter___closed__6); -l_Lean_Parser_Command_macroTailDefault_formatter___closed__7 = _init_l_Lean_Parser_Command_macroTailDefault_formatter___closed__7(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault_formatter___closed__7); l_Lean_Parser_Command_macroTail_formatter___closed__1 = _init_l_Lean_Parser_Command_macroTail_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTail_formatter___closed__1); l_Lean_Parser_Command_macroTail_formatter___closed__2 = _init_l_Lean_Parser_Command_macroTail_formatter___closed__2(); @@ -29205,6 +30418,12 @@ l_Lean_Parser_Command_macroTail_formatter___closed__3 = _init_l_Lean_Parser_Comm lean_mark_persistent(l_Lean_Parser_Command_macroTail_formatter___closed__3); l_Lean_Parser_Command_macroTail_formatter___closed__4 = _init_l_Lean_Parser_Command_macroTail_formatter___closed__4(); lean_mark_persistent(l_Lean_Parser_Command_macroTail_formatter___closed__4); +l_Lean_Parser_Command_macroTail_formatter___closed__5 = _init_l_Lean_Parser_Command_macroTail_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail_formatter___closed__5); +l_Lean_Parser_Command_macroTail_formatter___closed__6 = _init_l_Lean_Parser_Command_macroTail_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail_formatter___closed__6); +l_Lean_Parser_Command_macroTail_formatter___closed__7 = _init_l_Lean_Parser_Command_macroTail_formatter___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail_formatter___closed__7); l_Lean_Parser_Command_macro_formatter___closed__1 = _init_l_Lean_Parser_Command_macro_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macro_formatter___closed__1); l_Lean_Parser_Command_macro_formatter___closed__2 = _init_l_Lean_Parser_Command_macro_formatter___closed__2(); @@ -29235,6 +30454,8 @@ l_Lean_Parser_Command_macro_formatter___closed__14 = _init_l_Lean_Parser_Command lean_mark_persistent(l_Lean_Parser_Command_macro_formatter___closed__14); l_Lean_Parser_Command_macro_formatter___closed__15 = _init_l_Lean_Parser_Command_macro_formatter___closed__15(); lean_mark_persistent(l_Lean_Parser_Command_macro_formatter___closed__15); +l_Lean_Parser_Command_macro_formatter___closed__16 = _init_l_Lean_Parser_Command_macro_formatter___closed__16(); +lean_mark_persistent(l_Lean_Parser_Command_macro_formatter___closed__16); l___regBuiltin_Lean_Parser_Command_macro_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_macro_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_macro_formatter___closed__1); l___regBuiltin_Lean_Parser_Command_macro_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_macro_formatter___closed__2(); @@ -29278,6 +30499,16 @@ l_Lean_Parser_Command_macroArg_parenthesizer___closed__2 = _init_l_Lean_Parser_C lean_mark_persistent(l_Lean_Parser_Command_macroArg_parenthesizer___closed__2); l_Lean_Parser_Command_macroArg_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_macroArg_parenthesizer___closed__3(); lean_mark_persistent(l_Lean_Parser_Command_macroArg_parenthesizer___closed__3); +l_Lean_Parser_Command_macroArg_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_macroArg_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg_parenthesizer___closed__4); +l_Lean_Parser_Command_macroArg_parenthesizer___closed__5 = _init_l_Lean_Parser_Command_macroArg_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg_parenthesizer___closed__5); +l_Lean_Parser_Command_macroArg_parenthesizer___closed__6 = _init_l_Lean_Parser_Command_macroArg_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_macroArg_parenthesizer___closed__6); +l_Lean_Parser_Command_macroRhs_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_macroRhs_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs_parenthesizer___closed__1); +l_Lean_Parser_Command_macroRhs_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_macroRhs_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_macroRhs_parenthesizer___closed__2); l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__1); l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__2(); @@ -29290,14 +30521,6 @@ l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__5 = _init_l_Lean_P lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__5); l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__6 = _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__6(); lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__6); -l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__7 = _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__7(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__7); -l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__8 = _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__8(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__8); -l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__9 = _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__9(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__9); -l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__10 = _init_l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__10); l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__1); l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__2(); @@ -29312,12 +30535,6 @@ l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__6 = _init_l_Lean_ lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__6); l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__7 = _init_l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__7(); lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__7); -l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__8 = _init_l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__8(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__8); -l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__9 = _init_l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__9(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__9); -l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__10 = _init_l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__10); l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__1); l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__2(); @@ -29326,12 +30543,6 @@ l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__3 = _init_l_Lean_ lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__3); l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__4(); lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__4); -l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__5 = _init_l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__5); -l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__6 = _init_l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__6(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__6); -l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__7 = _init_l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__7(); -lean_mark_persistent(l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__7); l_Lean_Parser_Command_macroTail_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macroTail_parenthesizer___closed__1); l_Lean_Parser_Command_macroTail_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__2(); @@ -29340,6 +30551,12 @@ l_Lean_Parser_Command_macroTail_parenthesizer___closed__3 = _init_l_Lean_Parser_ lean_mark_persistent(l_Lean_Parser_Command_macroTail_parenthesizer___closed__3); l_Lean_Parser_Command_macroTail_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__4(); lean_mark_persistent(l_Lean_Parser_Command_macroTail_parenthesizer___closed__4); +l_Lean_Parser_Command_macroTail_parenthesizer___closed__5 = _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail_parenthesizer___closed__5); +l_Lean_Parser_Command_macroTail_parenthesizer___closed__6 = _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail_parenthesizer___closed__6); +l_Lean_Parser_Command_macroTail_parenthesizer___closed__7 = _init_l_Lean_Parser_Command_macroTail_parenthesizer___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_macroTail_parenthesizer___closed__7); l_Lean_Parser_Command_macro_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_macro_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_macro_parenthesizer___closed__1); l_Lean_Parser_Command_macro_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_macro_parenthesizer___closed__2(); @@ -29370,6 +30587,8 @@ l_Lean_Parser_Command_macro_parenthesizer___closed__14 = _init_l_Lean_Parser_Com lean_mark_persistent(l_Lean_Parser_Command_macro_parenthesizer___closed__14); l_Lean_Parser_Command_macro_parenthesizer___closed__15 = _init_l_Lean_Parser_Command_macro_parenthesizer___closed__15(); lean_mark_persistent(l_Lean_Parser_Command_macro_parenthesizer___closed__15); +l_Lean_Parser_Command_macro_parenthesizer___closed__16 = _init_l_Lean_Parser_Command_macro_parenthesizer___closed__16(); +lean_mark_persistent(l_Lean_Parser_Command_macro_parenthesizer___closed__16); l___regBuiltin_Lean_Parser_Command_macro_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_macro_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_macro_parenthesizer___closed__1); l___regBuiltin_Lean_Parser_Command_macro_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_macro_parenthesizer___closed__2(); @@ -29409,6 +30628,30 @@ l_Lean_Parser_Command_elab__rules___elambda__1___closed__15 = _init_l_Lean_Parse lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__15); l_Lean_Parser_Command_elab__rules___elambda__1___closed__16 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__16(); lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__16); +l_Lean_Parser_Command_elab__rules___elambda__1___closed__17 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__17(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__17); +l_Lean_Parser_Command_elab__rules___elambda__1___closed__18 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__18(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__18); +l_Lean_Parser_Command_elab__rules___elambda__1___closed__19 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__19(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__19); +l_Lean_Parser_Command_elab__rules___elambda__1___closed__20 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__20(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__20); +l_Lean_Parser_Command_elab__rules___elambda__1___closed__21 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__21(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__21); +l_Lean_Parser_Command_elab__rules___elambda__1___closed__22 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__22(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__22); +l_Lean_Parser_Command_elab__rules___elambda__1___closed__23 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__23(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__23); +l_Lean_Parser_Command_elab__rules___elambda__1___closed__24 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__24(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__24); +l_Lean_Parser_Command_elab__rules___elambda__1___closed__25 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__25(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__25); +l_Lean_Parser_Command_elab__rules___elambda__1___closed__26 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__26(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__26); +l_Lean_Parser_Command_elab__rules___elambda__1___closed__27 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__27(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__27); +l_Lean_Parser_Command_elab__rules___elambda__1___closed__28 = _init_l_Lean_Parser_Command_elab__rules___elambda__1___closed__28(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___elambda__1___closed__28); l_Lean_Parser_Command_elab__rules___closed__1 = _init_l_Lean_Parser_Command_elab__rules___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_elab__rules___closed__1); l_Lean_Parser_Command_elab__rules___closed__2 = _init_l_Lean_Parser_Command_elab__rules___closed__2(); @@ -29429,6 +30672,12 @@ l_Lean_Parser_Command_elab__rules___closed__9 = _init_l_Lean_Parser_Command_elab lean_mark_persistent(l_Lean_Parser_Command_elab__rules___closed__9); l_Lean_Parser_Command_elab__rules___closed__10 = _init_l_Lean_Parser_Command_elab__rules___closed__10(); lean_mark_persistent(l_Lean_Parser_Command_elab__rules___closed__10); +l_Lean_Parser_Command_elab__rules___closed__11 = _init_l_Lean_Parser_Command_elab__rules___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___closed__11); +l_Lean_Parser_Command_elab__rules___closed__12 = _init_l_Lean_Parser_Command_elab__rules___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___closed__12); +l_Lean_Parser_Command_elab__rules___closed__13 = _init_l_Lean_Parser_Command_elab__rules___closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules___closed__13); l_Lean_Parser_Command_elab__rules = _init_l_Lean_Parser_Command_elab__rules(); lean_mark_persistent(l_Lean_Parser_Command_elab__rules); res = l___regBuiltinParser_Lean_Parser_Command_elab__rules(lean_io_mk_world()); @@ -29450,6 +30699,18 @@ l_Lean_Parser_Command_elab__rules_formatter___closed__7 = _init_l_Lean_Parser_Co lean_mark_persistent(l_Lean_Parser_Command_elab__rules_formatter___closed__7); l_Lean_Parser_Command_elab__rules_formatter___closed__8 = _init_l_Lean_Parser_Command_elab__rules_formatter___closed__8(); lean_mark_persistent(l_Lean_Parser_Command_elab__rules_formatter___closed__8); +l_Lean_Parser_Command_elab__rules_formatter___closed__9 = _init_l_Lean_Parser_Command_elab__rules_formatter___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules_formatter___closed__9); +l_Lean_Parser_Command_elab__rules_formatter___closed__10 = _init_l_Lean_Parser_Command_elab__rules_formatter___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules_formatter___closed__10); +l_Lean_Parser_Command_elab__rules_formatter___closed__11 = _init_l_Lean_Parser_Command_elab__rules_formatter___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules_formatter___closed__11); +l_Lean_Parser_Command_elab__rules_formatter___closed__12 = _init_l_Lean_Parser_Command_elab__rules_formatter___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules_formatter___closed__12); +l_Lean_Parser_Command_elab__rules_formatter___closed__13 = _init_l_Lean_Parser_Command_elab__rules_formatter___closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules_formatter___closed__13); +l_Lean_Parser_Command_elab__rules_formatter___closed__14 = _init_l_Lean_Parser_Command_elab__rules_formatter___closed__14(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules_formatter___closed__14); l___regBuiltin_Lean_Parser_Command_elab__rules_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_elab__rules_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_elab__rules_formatter___closed__1); l___regBuiltin_Lean_Parser_Command_elab__rules_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_elab__rules_formatter___closed__2(); @@ -29473,6 +30734,18 @@ l_Lean_Parser_Command_elab__rules_parenthesizer___closed__7 = _init_l_Lean_Parse lean_mark_persistent(l_Lean_Parser_Command_elab__rules_parenthesizer___closed__7); l_Lean_Parser_Command_elab__rules_parenthesizer___closed__8 = _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__8(); lean_mark_persistent(l_Lean_Parser_Command_elab__rules_parenthesizer___closed__8); +l_Lean_Parser_Command_elab__rules_parenthesizer___closed__9 = _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules_parenthesizer___closed__9); +l_Lean_Parser_Command_elab__rules_parenthesizer___closed__10 = _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules_parenthesizer___closed__10); +l_Lean_Parser_Command_elab__rules_parenthesizer___closed__11 = _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules_parenthesizer___closed__11); +l_Lean_Parser_Command_elab__rules_parenthesizer___closed__12 = _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules_parenthesizer___closed__12); +l_Lean_Parser_Command_elab__rules_parenthesizer___closed__13 = _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules_parenthesizer___closed__13); +l_Lean_Parser_Command_elab__rules_parenthesizer___closed__14 = _init_l_Lean_Parser_Command_elab__rules_parenthesizer___closed__14(); +lean_mark_persistent(l_Lean_Parser_Command_elab__rules_parenthesizer___closed__14); l___regBuiltin_Lean_Parser_Command_elab__rules_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_elab__rules_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_elab__rules_parenthesizer___closed__1); l___regBuiltin_Lean_Parser_Command_elab__rules_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_elab__rules_parenthesizer___closed__2(); @@ -29506,6 +30779,12 @@ l_Lean_Parser_Command_elabTail___elambda__1___closed__10 = _init_l_Lean_Parser_C lean_mark_persistent(l_Lean_Parser_Command_elabTail___elambda__1___closed__10); l_Lean_Parser_Command_elabTail___elambda__1___closed__11 = _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__11(); lean_mark_persistent(l_Lean_Parser_Command_elabTail___elambda__1___closed__11); +l_Lean_Parser_Command_elabTail___elambda__1___closed__12 = _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_elabTail___elambda__1___closed__12); +l_Lean_Parser_Command_elabTail___elambda__1___closed__13 = _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_elabTail___elambda__1___closed__13); +l_Lean_Parser_Command_elabTail___elambda__1___closed__14 = _init_l_Lean_Parser_Command_elabTail___elambda__1___closed__14(); +lean_mark_persistent(l_Lean_Parser_Command_elabTail___elambda__1___closed__14); l_Lean_Parser_Command_elabTail___closed__1 = _init_l_Lean_Parser_Command_elabTail___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_elabTail___closed__1); l_Lean_Parser_Command_elabTail___closed__2 = _init_l_Lean_Parser_Command_elabTail___closed__2(); @@ -29516,6 +30795,14 @@ l_Lean_Parser_Command_elabTail___closed__4 = _init_l_Lean_Parser_Command_elabTai lean_mark_persistent(l_Lean_Parser_Command_elabTail___closed__4); l_Lean_Parser_Command_elabTail___closed__5 = _init_l_Lean_Parser_Command_elabTail___closed__5(); lean_mark_persistent(l_Lean_Parser_Command_elabTail___closed__5); +l_Lean_Parser_Command_elabTail___closed__6 = _init_l_Lean_Parser_Command_elabTail___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_elabTail___closed__6); +l_Lean_Parser_Command_elabTail___closed__7 = _init_l_Lean_Parser_Command_elabTail___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_elabTail___closed__7); +l_Lean_Parser_Command_elabTail___closed__8 = _init_l_Lean_Parser_Command_elabTail___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_elabTail___closed__8); +l_Lean_Parser_Command_elabTail___closed__9 = _init_l_Lean_Parser_Command_elabTail___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_elabTail___closed__9); l_Lean_Parser_Command_elabTail = _init_l_Lean_Parser_Command_elabTail(); lean_mark_persistent(l_Lean_Parser_Command_elabTail); l_Lean_Parser_Command_elab___elambda__1___closed__1 = _init_l_Lean_Parser_Command_elab___elambda__1___closed__1(); @@ -29558,6 +30845,8 @@ l_Lean_Parser_Command_elab___elambda__1___closed__19 = _init_l_Lean_Parser_Comma lean_mark_persistent(l_Lean_Parser_Command_elab___elambda__1___closed__19); l_Lean_Parser_Command_elab___elambda__1___closed__20 = _init_l_Lean_Parser_Command_elab___elambda__1___closed__20(); lean_mark_persistent(l_Lean_Parser_Command_elab___elambda__1___closed__20); +l_Lean_Parser_Command_elab___elambda__1___closed__21 = _init_l_Lean_Parser_Command_elab___elambda__1___closed__21(); +lean_mark_persistent(l_Lean_Parser_Command_elab___elambda__1___closed__21); l_Lean_Parser_Command_elab___closed__1 = _init_l_Lean_Parser_Command_elab___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_elab___closed__1); l_Lean_Parser_Command_elab___closed__2 = _init_l_Lean_Parser_Command_elab___closed__2(); @@ -29586,6 +30875,8 @@ l_Lean_Parser_Command_elab___closed__13 = _init_l_Lean_Parser_Command_elab___clo lean_mark_persistent(l_Lean_Parser_Command_elab___closed__13); l_Lean_Parser_Command_elab___closed__14 = _init_l_Lean_Parser_Command_elab___closed__14(); lean_mark_persistent(l_Lean_Parser_Command_elab___closed__14); +l_Lean_Parser_Command_elab___closed__15 = _init_l_Lean_Parser_Command_elab___closed__15(); +lean_mark_persistent(l_Lean_Parser_Command_elab___closed__15); l_Lean_Parser_Command_elab = _init_l_Lean_Parser_Command_elab(); lean_mark_persistent(l_Lean_Parser_Command_elab); res = l___regBuiltinParser_Lean_Parser_Command_elab(lean_io_mk_world()); @@ -29633,6 +30924,8 @@ l_Lean_Parser_Command_elab_formatter___closed__14 = _init_l_Lean_Parser_Command_ lean_mark_persistent(l_Lean_Parser_Command_elab_formatter___closed__14); l_Lean_Parser_Command_elab_formatter___closed__15 = _init_l_Lean_Parser_Command_elab_formatter___closed__15(); lean_mark_persistent(l_Lean_Parser_Command_elab_formatter___closed__15); +l_Lean_Parser_Command_elab_formatter___closed__16 = _init_l_Lean_Parser_Command_elab_formatter___closed__16(); +lean_mark_persistent(l_Lean_Parser_Command_elab_formatter___closed__16); l___regBuiltin_Lean_Parser_Command_elab_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_elab_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_elab_formatter___closed__1); l___regBuiltin_Lean_Parser_Command_elab_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_elab_formatter___closed__2(); @@ -29682,6 +30975,8 @@ l_Lean_Parser_Command_elab_parenthesizer___closed__14 = _init_l_Lean_Parser_Comm lean_mark_persistent(l_Lean_Parser_Command_elab_parenthesizer___closed__14); l_Lean_Parser_Command_elab_parenthesizer___closed__15 = _init_l_Lean_Parser_Command_elab_parenthesizer___closed__15(); lean_mark_persistent(l_Lean_Parser_Command_elab_parenthesizer___closed__15); +l_Lean_Parser_Command_elab_parenthesizer___closed__16 = _init_l_Lean_Parser_Command_elab_parenthesizer___closed__16(); +lean_mark_persistent(l_Lean_Parser_Command_elab_parenthesizer___closed__16); l___regBuiltin_Lean_Parser_Command_elab_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_elab_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_elab_parenthesizer___closed__1); l___regBuiltin_Lean_Parser_Command_elab_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_elab_parenthesizer___closed__2(); diff --git a/stage0/stdlib/Lean/Server/Completion.c b/stage0/stdlib/Lean/Server/Completion.c index 19b1918d94..eda59e6ec5 100644 --- a/stage0/stdlib/Lean/Server/Completion.c +++ b/stage0/stdlib/Lean/Server/Completion.c @@ -12187,23 +12187,26 @@ _start: { if (lean_obj_tag(x_4) == 0) { -lean_object* x_11; uint8_t x_12; -x_11 = lean_ctor_get(x_1, 3); +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_1, 0); lean_inc(x_11); lean_dec(x_1); -x_12 = l_Lean_Syntax_isIdent(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -lean_inc(x_11); -x_13 = l_Lean_Syntax_getKind(x_11); -x_14 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__8; -x_15 = lean_name_eq(x_13, x_14); -lean_dec(x_13); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); lean_dec(x_11); +x_13 = l_Lean_Syntax_isIdent(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +lean_inc(x_12); +x_14 = l_Lean_Syntax_getKind(x_12); +x_15 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__2___closed__8; +x_16 = lean_name_eq(x_14, x_15); +lean_dec(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12211,23 +12214,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_10); -return x_17; +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_10); +return x_18; } else { -lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_11, x_18); -lean_dec(x_11); -x_20 = l_Lean_Syntax_isIdent(x_19); -if (x_20 == 0) +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Lean_Syntax_getArg(x_12, x_19); +lean_dec(x_12); +x_21 = l_Lean_Syntax_isIdent(x_20); +if (x_21 == 0) { -lean_object* x_21; lean_object* x_22; -lean_dec(x_19); +lean_object* x_22; lean_object* x_23; +lean_dec(x_20); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12235,56 +12238,56 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_10); -return x_22; +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_10); +return x_23; } else { -lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_23 = l_Lean_Syntax_getId(x_19); -lean_dec(x_19); -x_24 = 1; -x_25 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore(x_2, x_23, x_24, x_3, x_5, x_6, x_7, x_8, x_9, x_10); -return x_25; +lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_24 = l_Lean_Syntax_getId(x_20); +lean_dec(x_20); +x_25 = 1; +x_26 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore(x_2, x_24, x_25, x_3, x_5, x_6, x_7, x_8, x_9, x_10); +return x_26; } } } else { -lean_object* x_26; uint8_t x_27; lean_object* x_28; -x_26 = l_Lean_Syntax_getId(x_11); -lean_dec(x_11); -x_27 = 0; -x_28 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore(x_2, x_26, x_27, x_3, x_5, x_6, x_7, x_8, x_9, x_10); -return x_28; +lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_27 = l_Lean_Syntax_getId(x_12); +lean_dec(x_12); +x_28 = 0; +x_29 = l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore(x_2, x_27, x_28, x_3, x_5, x_6, x_7, x_8, x_9, x_10); +return x_29; } } else { -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_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_dec(x_2); lean_dec(x_1); -x_29 = lean_st_ref_get(x_9, x_10); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); +x_30 = lean_st_ref_get(x_9, x_10); +x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_ctor_get(x_30, 0); +x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); lean_dec(x_30); -x_33 = lean_ctor_get(x_32, 1); +x_33 = lean_ctor_get(x_31, 0); lean_inc(x_33); -lean_dec(x_32); -x_34 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__1___boxed), 10, 2); -lean_closure_set(x_34, 0, x_4); -lean_closure_set(x_34, 1, x_3); -x_35 = l_Lean_SMap_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__2(x_33, x_34, x_5, x_6, x_7, x_8, x_9, x_31); +lean_dec(x_31); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); lean_dec(x_33); -return x_35; +x_35 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__1___boxed), 10, 2); +lean_closure_set(x_35, 0, x_4); +lean_closure_set(x_35, 1, x_3); +x_36 = l_Lean_SMap_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__2(x_34, x_35, x_5, x_6, x_7, x_8, x_9, x_32); +lean_dec(x_34); +return x_36; } } } @@ -12484,7 +12487,7 @@ lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCom _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; -x_5 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); lean_inc(x_5); lean_inc(x_1); lean_inc(x_2); @@ -12492,7 +12495,7 @@ x_6 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_0__Lean_Serv lean_closure_set(x_6, 0, x_2); lean_closure_set(x_6, 1, x_1); lean_closure_set(x_6, 2, x_3); -x_7 = lean_ctor_get(x_2, 2); +x_7 = lean_ctor_get(x_2, 3); lean_inc(x_7); lean_dec(x_2); x_8 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_0__Lean_Server_Completion_dotCompletion___lambda__3___boxed), 7, 1); diff --git a/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c b/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c index c7ace32e5e..73629009c9 100644 --- a/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c +++ b/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c @@ -14,563 +14,593 @@ extern "C" { #endif lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_find_x3f___at_Lean_findDeclarationRangesCore_x3f___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__1; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4___closed__1; static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__3; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__2; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__1(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1___boxed(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensRange(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__3___closed__1; -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4___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_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Server_FileWorker_hasRange(lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___closed__1; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__14(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__6; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__21; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__1(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__23; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__22(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__2(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1533_(lean_object*); extern lean_object* l_Lean_nullKind; -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__2; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__1; -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; uint8_t l_USize_decEq(size_t, size_t); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__9(size_t, size_t, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__2(lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHoverParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_559_(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__1; +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoalParams____x40_Lean_Data_Lsp_Extra___hyg_299_(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__1; lean_object* l_List_map___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__1(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(uint8_t, 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_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_noConfusionExt; extern lean_object* l_Std_Format_defWidth; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__13; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__7; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleHover___closed__1; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__3; +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5___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_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5___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*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__11; +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__1; +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__8; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__2___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__1(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__10; lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__2; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__11; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__2(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__12(size_t, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__2; +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__1; lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Completion_find_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__2___boxed(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__2; static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__3; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__2(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_List_append___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__11; +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__8(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__1(lean_object*); +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__3___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__2___closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__9___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_declRangeExt; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1(lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentHashMap_contains___at_Lean_Server_Requests_registerLspRequestHandler___spec__5(lean_object*, lean_object*); extern lean_object* l_instInhabitedNat; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__1; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__2; -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__4___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__18(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__4; +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, 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_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__6(lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainTermGoalParams____x40_Lean_Data_Lsp_Extra___hyg_488_(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__4; +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__11(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__1(lean_object*); +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___closed__1; lean_object* l_ReaderT_bind___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__9; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__8; lean_object* l_Lean_FileMap_lspPosToUtf8Pos(lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__2; -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__16; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__8; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__17; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__4; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__11; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__2; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4___closed__1; lean_object* l_IO_sleep(uint32_t, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__4___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_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__16; lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__9; lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__6(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__1___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___closed__1; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923_(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4___closed__1; +lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335_(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6(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_Lean_Server_FileWorker_handleHover_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_join___rarg(lean_object*); uint8_t l_USize_decLt(size_t, size_t); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__3___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_Lean_Server_FileWorker_handleDefinition_match__2(lean_object*); -lean_object* l_Lean_Server_FileWorker_rangeOfSyntax_x21___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_auxRecExt; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___boxed(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__2(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__2; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_utf8PosToLspPos(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__20; extern lean_object* l_Lean_Server_Requests_requestHandlers; lean_object* l_Lean_Server_FileWorker_handleHover_match__2(lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__2(lean_object*); lean_object* lean_io_bind_task(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1(lean_object*); lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__10; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainTermGoal____x40_Lean_Data_Lsp_Extra___hyg_631_(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_deepestNodes___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__14; +uint8_t l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2(lean_object*, lean_object*, size_t, size_t); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__8; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__5; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_rangeOfSyntax_x21(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__3; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__15; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__5___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_Lean_Server_FileWorker_handleDocumentHighlight(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__15; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__5; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4___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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4___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_Except_map___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__18; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__18; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_474_(lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonWaitForDiagnosticsParams____x40_Lean_Data_Lsp_Extra___hyg_57_(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__15; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__2(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_parseAhead(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__18(lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__4; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__3; +uint8_t l_String_Range_contains(lean_object*, lean_object*); lean_object* l_Lean_Json_compress(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__2; static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1; lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_692_(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3(size_t, size_t, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_SemanticTokenType_toNat(uint8_t); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__5; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_match__1(lean_object*); lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6___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_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__2(lean_object*); lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__18; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___closed__2; lean_object* l_Lean_Server_Requests_RequestM_mapTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_String_Range_toLspRange(lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__10; lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__20; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3___closed__1; +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1904_(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__1___boxed(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__6; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__3; lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__2(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDefinition___closed__1; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___rarg___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1782_(lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_handlePlainGoal___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* lean_task_map(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___closed__1; lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1(lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__5; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__2(lean_object*); +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Server_Requests_RequestError_fileChanged; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__1; lean_object* l_Lean_Syntax_getId(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__2(lean_object*); lean_object* lean_format_pretty(lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__1; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__7; static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__12; lean_object* l_Lean_SearchPath_findWithExt(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__2___rarg(lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1707_(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_RequestM_asTask___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___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_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint32_t lean_string_utf8_get(lean_object*, lean_object*); static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__3___closed__1; static lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2___closed__1; lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__4___boxed(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__22; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__1; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_443_(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1084_(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___closed__1; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentHighlight____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1040_(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__22; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__12(size_t, size_t, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__1; +lean_object* l_Lean_Elab_Info_toElabInfo_x3f(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__2(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__1(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___closed__1; +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__9; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_374_(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__2; -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___closed__1; +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__1; extern lean_object* l_Task_Priority_default; -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__2___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__2(lean_object*); lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_range_x3f(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isRec___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword_match__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__2; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__21; static lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__1(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__15; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__13; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__13; +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__3; lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__1___boxed(lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleCompletion___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__23; uint8_t l_Char_isAlpha(uint32_t); +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__5; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_329_(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__14; lean_object* l_Lean_Server_FileWorker_handleCompletion_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__3; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__2(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__12___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__4; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__7; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__2; lean_object* l_List_drop___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2; lean_object* l_Lean_Syntax_isIdOrAtom_x3f(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__2(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__3(lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__14; static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__6; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__1(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__21; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__2(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___closed__1; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* l_IO_AsyncList_updateFinishedPrefix___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleHover(lean_object*, lean_object*, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__1(lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__4; lean_object* l_List_redLength___rarg(lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__8(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__14; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__10; static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___closed__2; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__3(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___closed__3; lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__16(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___boxed(lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__1(lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___boxed(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__4(lean_object*); lean_object* l_IO_AsyncList_finishedPrefix___rarg(lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__3___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* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__3___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; lean_object* l_Lean_Server_FileWorker_handleDefinition(uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__16; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover___lambda__1___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__7; static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__1; -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9___closed__2; -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__9; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__1(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__2(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__4; lean_object* l_Lean_Elab_Info_tailPos_x3f(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__4; +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__3(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__1(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__20(lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__1; -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__17; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__17; lean_object* lean_panic_fn(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__1(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__16; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__9___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findDeclarationRanges_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNamesImp___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__6; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__1(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4___closed__1; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__1; lean_object* l_Lean_findDeclarationRanges_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__2; -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__9; +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__16(lean_object*); +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_shiftl(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__2; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__1(lean_object*); +uint8_t l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Name_getPrefix(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_endPos(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__1(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__2; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__2; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x3f(lean_object*); lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__20; lean_object* l_Lean_Server_Requests_RequestM_readDoc(lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__4(lean_object*); +extern lean_object* l_String_instInhabitedRange; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__8; lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__1; lean_object* l_Lean_Server_toFileUri(lean_object*); +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__3(lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__7; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; lean_object* l_Lean_Environment_allImportedModuleNames(lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6(lean_object*); lean_object* l_Lean_Server_FileWorker_noHighlightKinds; lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2(lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__13; lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__6; +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__6; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__1(lean_object*); +lean_object* l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_initializing(lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__4(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__19; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__19; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___boxed(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__9; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__5; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__19; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__3(lean_object*); lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__2(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleHover___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_contains___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_hasRange___boxed(lean_object*); -static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__20(lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2(lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__6; lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__1(lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__2; static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___closed__1; lean_object* l_Lean_Elab_Info_pos_x3f(lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___closed__7; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1(lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8___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___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__11(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3___closed__1; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__1(lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__1; -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__4; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__8; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); @@ -578,72 +608,65 @@ lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2___ lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__4; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4___closed__1; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__8; lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__3(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__2; -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__2; +static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; lean_object* l_Lean_Server_Requests_RequestM_withWaitFindSnap___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_lctx(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__9; -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__2; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__12; -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__6; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__1(lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__1; lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__4(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__5; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__2; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__22(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___boxed(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__12___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_task_pure(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__1; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_Server_Requests_registerLspRequestHandler___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__1; -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__14(lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__12; +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2(lean_object*); lean_object* l_Lean_Syntax_reprint(lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__1(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4___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_Lean_Server_FileWorker_handleDefinition_match__4(lean_object*); lean_object* l_List_getLast___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__2(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_getLastD___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__9(size_t, size_t, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__4___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_RequestM_bindTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__1; lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__8; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__10; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__1(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentHighlightParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_919_(lean_object*); -static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__1(lean_object*); -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -6237,21 +6260,20 @@ _start: { if (lean_obj_tag(x_1) == 0) { -lean_object* x_4; lean_object* x_5; +lean_object* x_4; lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; +x_4 = lean_apply_1(x_3, x_1); +return x_4; } else { -lean_object* x_6; lean_object* x_7; +lean_object* x_5; lean_object* x_6; lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; +x_6 = lean_apply_1(x_2, x_5); +return x_6; } } } @@ -6266,43 +6288,22 @@ return x_2; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); x_4 = lean_ctor_get(x_1, 0); lean_inc(x_4); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; -lean_dec(x_2); -x_5 = lean_apply_1(x_3, x_1); +lean_dec(x_1); +x_5 = lean_apply_1(x_2, x_4); return x_5; } else { lean_object* x_6; -x_6 = lean_ctor_get(x_1, 1); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; -lean_dec(x_4); lean_dec(x_2); -x_7 = lean_apply_1(x_3, x_1); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_8 = lean_ctor_get(x_4, 0); -lean_inc(x_8); -lean_dec(x_4); -x_9 = lean_ctor_get(x_6, 0); -lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_apply_2(x_2, x_8, x_9); -return x_10; -} +x_6 = lean_apply_1(x_3, x_1); +return x_6; } } } @@ -6349,41 +6350,21 @@ _start: { if (lean_obj_tag(x_1) == 0) { -lean_object* x_4; +lean_object* x_4; lean_object* x_5; lean_dec(x_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; } else { -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 1) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_6; lean_object* x_7; lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); lean_dec(x_1); -x_7 = lean_ctor_get(x_5, 0); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_apply_2(x_2, x_7, x_8); -return x_9; -} -else -{ -lean_object* x_10; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_10 = lean_apply_1(x_3, x_1); -return x_10; -} +x_7 = lean_apply_1(x_2, x_6); +return x_7; } } } @@ -6398,6 +6379,57 @@ return x_2; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; +lean_dec(x_2); +x_5 = lean_apply_1(x_3, x_1); +return x_5; +} +else +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +lean_dec(x_4); +lean_dec(x_2); +x_7 = lean_apply_1(x_3, x_1); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +lean_dec(x_1); +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_apply_2(x_2, x_8, x_9); +return x_10; +} +} +} +} +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__5___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ if (lean_obj_tag(x_1) == 0) { lean_object* x_4; lean_object* x_5; @@ -6418,11 +6450,11 @@ return x_7; } } } -lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__5___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDefinition_match__6___rarg), 3, 0); return x_2; } } @@ -6760,475 +6792,507 @@ return x_25; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, size_t x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; uint8_t x_39; -x_39 = x_11 < x_10; -if (x_39 == 0) +lean_object* x_16; lean_object* x_17; uint8_t x_40; +x_40 = x_12 < x_11; +if (x_40 == 0) { -lean_object* x_40; lean_object* x_41; -lean_dec(x_8); +lean_object* x_41; lean_object* x_42; +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_12); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_14); -return x_41; +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_13); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_15); +return x_42; } else { -lean_object* x_42; uint8_t x_43; -x_42 = lean_array_uget(x_9, x_11); -x_43 = !lean_is_exclusive(x_12); -if (x_43 == 0) +lean_object* x_43; uint8_t x_44; +x_43 = lean_array_uget(x_10, x_12); +x_44 = !lean_is_exclusive(x_13); +if (x_44 == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_12, 1); -x_45 = lean_ctor_get(x_12, 0); -lean_dec(x_45); -lean_inc(x_44); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_13, 1); +x_46 = lean_ctor_get(x_13, 0); +lean_dec(x_46); +lean_inc(x_14); +lean_inc(x_45); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); -x_46 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_42, x_44, x_13, x_14); -lean_dec(x_42); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); +x_47 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_45, x_14, x_15); +lean_dec(x_43); if (lean_obj_tag(x_47) == 0) { -lean_object* x_48; uint8_t x_49; -lean_free_object(x_12); -lean_dec(x_44); -x_48 = lean_ctor_get(x_46, 1); +lean_object* x_48; +x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); -lean_dec(x_46); -x_49 = !lean_is_exclusive(x_47); -if (x_49 == 0) +if (lean_obj_tag(x_48) == 0) { -x_15 = x_47; -x_16 = x_48; -goto block_38; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_47, 0); -lean_inc(x_50); +lean_object* x_49; uint8_t x_50; +lean_free_object(x_13); +lean_dec(x_45); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); lean_dec(x_47); -x_51 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_51, 0, x_50); -x_15 = x_51; +x_50 = !lean_is_exclusive(x_48); +if (x_50 == 0) +{ x_16 = x_48; -goto block_38; +x_17 = x_49; +goto block_39; +} +else +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_48, 0); +lean_inc(x_51); +lean_dec(x_48); +x_52 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_16 = x_52; +x_17 = x_49; +goto block_39; } } else { -uint8_t x_52; -x_52 = !lean_is_exclusive(x_47); -if (x_52 == 0) +uint8_t x_53; +x_53 = !lean_is_exclusive(x_48); +if (x_53 == 0) { -lean_object* x_53; -x_53 = lean_ctor_get(x_47, 0); -if (lean_obj_tag(x_53) == 0) +lean_object* x_54; +x_54 = lean_ctor_get(x_48, 0); +if (lean_obj_tag(x_54) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_46, 1); -lean_inc(x_54); -lean_dec(x_46); -x_55 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_12, 0, x_55); -x_56 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_56, 0, x_12); -lean_ctor_set(x_47, 0, x_56); -x_15 = x_47; -x_16 = x_54; -goto block_38; -} -else -{ -lean_object* x_57; uint8_t x_58; -lean_dec(x_44); -x_57 = lean_ctor_get(x_46, 1); -lean_inc(x_57); -lean_dec(x_46); -x_58 = !lean_is_exclusive(x_53); -if (x_58 == 0) -{ -lean_object* x_59; -x_59 = lean_ctor_get(x_53, 0); -lean_inc(x_8); -lean_ctor_set(x_12, 1, x_59); -lean_ctor_set(x_12, 0, x_8); -lean_ctor_set(x_53, 0, x_12); -x_15 = x_47; -x_16 = x_57; -goto block_38; -} -else -{ -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_53, 0); -lean_inc(x_60); -lean_dec(x_53); -lean_inc(x_8); -lean_ctor_set(x_12, 1, x_60); -lean_ctor_set(x_12, 0, x_8); -x_61 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_61, 0, x_12); -lean_ctor_set(x_47, 0, x_61); -x_15 = x_47; -x_16 = x_57; -goto block_38; -} -} -} -else -{ -lean_object* x_62; -x_62 = lean_ctor_get(x_47, 0); -lean_inc(x_62); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_47, 1); +lean_inc(x_55); lean_dec(x_47); -if (lean_obj_tag(x_62) == 0) +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_13, 0, x_56); +x_57 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_57, 0, x_13); +lean_ctor_set(x_48, 0, x_57); +x_16 = x_48; +x_17 = x_55; +goto block_39; +} +else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_63 = lean_ctor_get(x_46, 1); +lean_object* x_58; uint8_t x_59; +lean_dec(x_45); +x_58 = lean_ctor_get(x_47, 1); +lean_inc(x_58); +lean_dec(x_47); +x_59 = !lean_is_exclusive(x_54); +if (x_59 == 0) +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_54, 0); +lean_inc(x_9); +lean_ctor_set(x_13, 1, x_60); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_54, 0, x_13); +x_16 = x_48; +x_17 = x_58; +goto block_39; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_54, 0); +lean_inc(x_61); +lean_dec(x_54); +lean_inc(x_9); +lean_ctor_set(x_13, 1, x_61); +lean_ctor_set(x_13, 0, x_9); +x_62 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_13); +lean_ctor_set(x_48, 0, x_62); +x_16 = x_48; +x_17 = x_58; +goto block_39; +} +} +} +else +{ +lean_object* x_63; +x_63 = lean_ctor_get(x_48, 0); lean_inc(x_63); -lean_dec(x_46); -x_64 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_12, 0, x_64); -x_65 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_65, 0, x_12); -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_65); -x_15 = x_66; -x_16 = x_63; -goto block_38; -} -else +lean_dec(x_48); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -lean_dec(x_44); -x_67 = lean_ctor_get(x_46, 1); -lean_inc(x_67); -lean_dec(x_46); -x_68 = lean_ctor_get(x_62, 0); -lean_inc(x_68); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - x_69 = x_62; -} else { - lean_dec_ref(x_62); - x_69 = lean_box(0); -} -lean_inc(x_8); -lean_ctor_set(x_12, 1, x_68); -lean_ctor_set(x_12, 0, x_8); -if (lean_is_scalar(x_69)) { - x_70 = lean_alloc_ctor(1, 1, 0); -} else { - x_70 = x_69; -} -lean_ctor_set(x_70, 0, x_12); -x_71 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_71, 0, x_70); -x_15 = x_71; +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_64 = lean_ctor_get(x_47, 1); +lean_inc(x_64); +lean_dec(x_47); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_13, 0, x_65); +x_66 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_66, 0, x_13); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_66); x_16 = x_67; -goto block_38; +x_17 = x_64; +goto block_39; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_45); +x_68 = lean_ctor_get(x_47, 1); +lean_inc(x_68); +lean_dec(x_47); +x_69 = lean_ctor_get(x_63, 0); +lean_inc(x_69); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + x_70 = x_63; +} else { + lean_dec_ref(x_63); + x_70 = lean_box(0); +} +lean_inc(x_9); +lean_ctor_set(x_13, 1, x_69); +lean_ctor_set(x_13, 0, x_9); +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(1, 1, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_13); +x_72 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_72, 0, x_71); +x_16 = x_72; +x_17 = x_68; +goto block_39; } } } } else { -uint8_t x_72; -lean_free_object(x_12); -lean_dec(x_44); -lean_dec(x_8); +uint8_t x_73; +lean_free_object(x_13); +lean_dec(x_45); +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_72 = !lean_is_exclusive(x_46); -if (x_72 == 0) +x_73 = !lean_is_exclusive(x_47); +if (x_73 == 0) { -return x_46; +return x_47; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_46, 0); -x_74 = lean_ctor_get(x_46, 1); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_47, 0); +x_75 = lean_ctor_get(x_47, 1); +lean_inc(x_75); lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_46); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +lean_dec(x_47); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } } else { -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_12, 1); -lean_inc(x_76); -lean_dec(x_12); -lean_inc(x_76); +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_13, 1); +lean_inc(x_77); +lean_dec(x_13); +lean_inc(x_14); +lean_inc(x_77); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); -x_77 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_42, x_76, x_13, x_14); -lean_dec(x_42); -if (lean_obj_tag(x_77) == 0) -{ -lean_object* x_78; -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); +x_78 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_77, x_14, x_15); +lean_dec(x_43); if (lean_obj_tag(x_78) == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -lean_dec(x_76); -x_79 = lean_ctor_get(x_77, 1); +lean_object* x_79; +x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_dec(x_77); -x_80 = lean_ctor_get(x_78, 0); +x_80 = lean_ctor_get(x_78, 1); lean_inc(x_80); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - x_81 = x_78; +lean_dec(x_78); +x_81 = lean_ctor_get(x_79, 0); +lean_inc(x_81); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + x_82 = x_79; } else { - lean_dec_ref(x_78); - x_81 = lean_box(0); + lean_dec_ref(x_79); + x_82 = lean_box(0); } -if (lean_is_scalar(x_81)) { - x_82 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_82)) { + x_83 = lean_alloc_ctor(0, 1, 0); } else { - x_82 = x_81; + x_83 = x_82; } -lean_ctor_set(x_82, 0, x_80); -x_15 = x_82; -x_16 = x_79; -goto block_38; +lean_ctor_set(x_83, 0, x_81); +x_16 = x_83; +x_17 = x_80; +goto block_39; } else { -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_78, 0); -lean_inc(x_83); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - x_84 = x_78; +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_79, 0); +lean_inc(x_84); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + x_85 = x_79; } else { - lean_dec_ref(x_78); - x_84 = lean_box(0); + lean_dec_ref(x_79); + x_85 = lean_box(0); } -if (lean_obj_tag(x_83) == 0) +if (lean_obj_tag(x_84) == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_85 = lean_ctor_get(x_77, 1); -lean_inc(x_85); -lean_dec(x_77); -x_86 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_86, 0, x_83); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_76); -x_88 = lean_alloc_ctor(0, 1, 0); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_86 = lean_ctor_get(x_78, 1); +lean_inc(x_86); +lean_dec(x_78); +x_87 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_87, 0, x_84); +x_88 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_88, 0, x_87); -if (lean_is_scalar(x_84)) { - x_89 = lean_alloc_ctor(1, 1, 0); -} else { - x_89 = x_84; -} +lean_ctor_set(x_88, 1, x_77); +x_89 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_89, 0, x_88); -x_15 = x_89; -x_16 = x_85; -goto block_38; +if (lean_is_scalar(x_85)) { + x_90 = lean_alloc_ctor(1, 1, 0); +} else { + x_90 = x_85; +} +lean_ctor_set(x_90, 0, x_89); +x_16 = x_90; +x_17 = x_86; +goto block_39; } else { -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_dec(x_76); -x_90 = lean_ctor_get(x_77, 1); -lean_inc(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_dec(x_77); -x_91 = lean_ctor_get(x_83, 0); +x_91 = lean_ctor_get(x_78, 1); lean_inc(x_91); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - x_92 = x_83; +lean_dec(x_78); +x_92 = lean_ctor_get(x_84, 0); +lean_inc(x_92); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + x_93 = x_84; } else { - lean_dec_ref(x_83); - x_92 = lean_box(0); + lean_dec_ref(x_84); + x_93 = lean_box(0); } -lean_inc(x_8); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_8); -lean_ctor_set(x_93, 1, x_91); -if (lean_is_scalar(x_92)) { - x_94 = lean_alloc_ctor(1, 1, 0); -} else { - x_94 = x_92; -} -lean_ctor_set(x_94, 0, x_93); -if (lean_is_scalar(x_84)) { +lean_inc(x_9); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_9); +lean_ctor_set(x_94, 1, x_92); +if (lean_is_scalar(x_93)) { x_95 = lean_alloc_ctor(1, 1, 0); } else { - x_95 = x_84; + x_95 = x_93; } lean_ctor_set(x_95, 0, x_94); -x_15 = x_95; -x_16 = x_90; -goto block_38; +if (lean_is_scalar(x_85)) { + x_96 = lean_alloc_ctor(1, 1, 0); +} else { + x_96 = x_85; +} +lean_ctor_set(x_96, 0, x_95); +x_16 = x_96; +x_17 = x_91; +goto block_39; } } } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_76); -lean_dec(x_8); +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_77); +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_96 = lean_ctor_get(x_77, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_77, 1); +x_97 = lean_ctor_get(x_78, 0); lean_inc(x_97); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_98 = x_77; +x_98 = lean_ctor_get(x_78, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_99 = x_78; } else { - lean_dec_ref(x_77); - x_98 = lean_box(0); + lean_dec_ref(x_78); + x_99 = lean_box(0); } -if (lean_is_scalar(x_98)) { - x_99 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); } else { - x_99 = x_98; + x_100 = x_99; } -lean_ctor_set(x_99, 0, x_96); -lean_ctor_set(x_99, 1, x_97); -return x_99; +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +return x_100; } } } -block_38: +block_39: { -if (lean_obj_tag(x_15) == 0) +if (lean_obj_tag(x_16) == 0) { -uint8_t x_17; -lean_dec(x_8); +uint8_t x_18; +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) { -lean_object* x_18; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_15); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_object* x_19; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +return x_19; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 0); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_16, 0); +lean_inc(x_20); +lean_dec(x_16); +x_21 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_16); -return x_21; +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +return x_22; } } else { -uint8_t x_22; -x_22 = !lean_is_exclusive(x_15); -if (x_22 == 0) +uint8_t x_23; +x_23 = !lean_is_exclusive(x_16); +if (x_23 == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_15, 0); -if (lean_obj_tag(x_23) == 0) +lean_object* x_24; +x_24 = lean_ctor_get(x_16, 0); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_24; lean_object* x_25; -lean_dec(x_8); +lean_object* x_25; lean_object* x_26; +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -lean_dec(x_23); -lean_ctor_set(x_15, 0, x_24); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_15); -lean_ctor_set(x_25, 1, x_16); -return x_25; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +lean_ctor_set(x_16, 0, x_25); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_16); +lean_ctor_set(x_26, 1, x_17); +return x_26; } else { -lean_object* x_26; size_t x_27; size_t x_28; -lean_free_object(x_15); -x_26 = lean_ctor_get(x_23, 0); -lean_inc(x_26); -lean_dec(x_23); -x_27 = 1; -x_28 = x_11 + x_27; -x_11 = x_28; -x_12 = x_26; -x_14 = x_16; +lean_object* x_27; size_t x_28; size_t x_29; +lean_free_object(x_16); +x_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +lean_dec(x_24); +x_28 = 1; +x_29 = x_12 + x_28; +x_12 = x_29; +x_13 = x_27; +x_15 = x_17; goto _start; } } else { -lean_object* x_30; -x_30 = lean_ctor_get(x_15, 0); -lean_inc(x_30); -lean_dec(x_15); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_31 = lean_ctor_get(x_30, 0); +lean_object* x_31; +x_31 = lean_ctor_get(x_16, 0); lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_16); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_16); -return x_33; +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_17); +return x_34; } else { -lean_object* x_34; size_t x_35; size_t x_36; -x_34 = lean_ctor_get(x_30, 0); -lean_inc(x_34); -lean_dec(x_30); -x_35 = 1; -x_36 = x_11 + x_35; -x_11 = x_36; -x_12 = x_34; -x_14 = x_16; +lean_object* x_35; size_t x_36; size_t x_37; +x_35 = lean_ctor_get(x_31, 0); +lean_inc(x_35); +lean_dec(x_31); +x_36 = 1; +x_37 = x_12 + x_36; +x_12 = x_37; +x_13 = x_35; +x_15 = x_17; goto _start; } } @@ -7236,7 +7300,17 @@ goto _start; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___closed__1() { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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_8; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -7245,124 +7319,113 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_10; lean_object* x_11; -x_10 = lean_alloc_closure((void*)(l_Lean_findDeclarationRanges_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__2___boxed), 6, 1); -lean_closure_set(x_10, 0, x_1); -x_11 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_2, x_3, x_10, x_9); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; +lean_object* x_11; lean_object* x_12; +x_11 = l_Lean_findDeclarationRanges_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__2(x_1, x_6, x_7, x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); if (lean_obj_tag(x_12) == 0) { uint8_t x_13; -lean_dec(x_7); x_13 = !lean_is_exclusive(x_11); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; x_14 = lean_ctor_get(x_11, 0); lean_dec(x_14); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_4); -x_16 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_11, 0, x_16); +lean_ctor_set(x_11, 0, x_2); return x_11; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_11, 1); -lean_inc(x_17); +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_2); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_17; +lean_dec(x_12); +x_17 = !lean_is_exclusive(x_11); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_11, 0); +lean_dec(x_18); +lean_ctor_set(x_11, 0, x_2); +return x_11; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_11, 1); +lean_inc(x_19); lean_dec(x_11); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_4); -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_18); x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_17); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_19); return x_20; } } else { -if (lean_obj_tag(x_7) == 0) -{ uint8_t x_21; -lean_dec(x_12); +lean_dec(x_2); x_21 = !lean_is_exclusive(x_11); if (x_21 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; +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; x_22 = lean_ctor_get(x_11, 0); lean_dec(x_22); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_4); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_11, 0, x_24); -return x_11; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = lean_ctor_get(x_11, 1); -lean_inc(x_25); -lean_dec(x_11); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_4); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, 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_25); -return x_28; -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t 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_dec(x_4); -x_29 = lean_ctor_get(x_11, 1); +x_23 = lean_ctor_get(x_12, 0); +lean_inc(x_23); +lean_dec(x_12); +x_24 = lean_ctor_get(x_5, 0); +x_25 = l_Lean_Elab_Info_range_x3f(x_3); +x_26 = lean_ctor_get(x_23, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_26, 2); lean_inc(x_29); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_30 = x_11; -} else { - lean_dec_ref(x_11); - x_30 = lean_box(0); -} -x_31 = lean_ctor_get(x_12, 0); +x_30 = lean_ctor_get(x_26, 3); +lean_inc(x_30); +lean_dec(x_26); +x_31 = lean_ctor_get(x_27, 0); lean_inc(x_31); -if (lean_is_exclusive(x_12)) { - lean_ctor_release(x_12, 0); - x_32 = x_12; -} else { - lean_dec_ref(x_12); - x_32 = lean_box(0); -} -x_33 = lean_ctor_get(x_7, 0); -lean_inc(x_33); -if (lean_is_exclusive(x_7)) { - lean_ctor_release(x_7, 0); - x_34 = x_7; -} else { - lean_dec_ref(x_7); - x_34 = lean_box(0); -} -x_35 = lean_ctor_get(x_5, 3); -x_36 = 0; -x_37 = l_Lean_Syntax_getPos_x3f(x_35, x_36); -x_38 = l_Lean_Syntax_getTailPos_x3f(x_35, x_36); -x_39 = lean_ctor_get(x_31, 0); +lean_dec(x_27); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_sub(x_31, x_32); +lean_dec(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_28); +x_35 = lean_ctor_get(x_29, 0); +lean_inc(x_35); +lean_dec(x_29); +x_36 = lean_nat_sub(x_35, x_32); +lean_dec(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_30); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_ctor_get(x_23, 1); lean_inc(x_39); +lean_dec(x_23); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); @@ -7375,244 +7438,211 @@ lean_dec(x_39); x_44 = lean_ctor_get(x_40, 0); lean_inc(x_44); lean_dec(x_40); -x_45 = lean_unsigned_to_nat(1u); -x_46 = lean_nat_sub(x_44, x_45); +x_45 = lean_nat_sub(x_44, x_32); lean_dec(x_44); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_41); -x_48 = lean_ctor_get(x_42, 0); -lean_inc(x_48); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_41); +x_47 = lean_ctor_get(x_42, 0); +lean_inc(x_47); lean_dec(x_42); -x_49 = lean_nat_sub(x_48, x_45); -lean_dec(x_48); +x_48 = lean_nat_sub(x_47, x_32); +lean_dec(x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_43); x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_43); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_47); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_ctor_get(x_31, 1); -lean_inc(x_52); -lean_dec(x_31); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -x_55 = lean_ctor_get(x_52, 2); -lean_inc(x_55); -x_56 = lean_ctor_get(x_52, 3); -lean_inc(x_56); -lean_dec(x_52); -x_57 = lean_ctor_get(x_53, 0); -lean_inc(x_57); -lean_dec(x_53); -x_58 = lean_nat_sub(x_57, x_45); -lean_dec(x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_54); -x_60 = lean_ctor_get(x_55, 0); -lean_inc(x_60); -lean_dec(x_55); -x_61 = lean_nat_sub(x_60, x_45); -lean_dec(x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_56); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_59); -lean_ctor_set(x_63, 1, x_62); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = l_instInhabitedNat; -x_109 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; -x_110 = lean_panic_fn(x_108, x_109); -x_64 = x_110; -goto block_107; -} -else -{ -lean_object* x_111; -x_111 = lean_ctor_get(x_37, 0); -lean_inc(x_111); -lean_dec(x_37); -x_64 = x_111; -goto block_107; -} -block_107: -{ -lean_object* x_65; -x_65 = l_Lean_FileMap_utf8PosToLspPos(x_6, x_64); -lean_dec(x_64); -if (lean_obj_tag(x_38) == 0) -{ -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; -x_66 = l_instInhabitedNat; -x_67 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; -x_68 = lean_panic_fn(x_66, x_67); -x_69 = l_Lean_FileMap_utf8PosToLspPos(x_6, x_68); -lean_dec(x_68); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_65); -lean_ctor_set(x_70, 1, x_69); -if (lean_is_scalar(x_34)) { - x_71 = lean_alloc_ctor(1, 1, 0); -} else { - x_71 = x_34; -} -lean_ctor_set(x_71, 0, x_70); -x_72 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_33); -lean_ctor_set(x_72, 2, x_51); -lean_ctor_set(x_72, 3, x_63); -x_73 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___closed__1; -x_74 = lean_array_push(x_73, x_72); -if (lean_is_scalar(x_32)) { - x_75 = lean_alloc_ctor(1, 1, 0); -} else { - x_75 = x_32; -} -lean_ctor_set(x_75, 0, x_74); -x_76 = lean_box(0); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_78, 0, x_77); -x_79 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_79, 0, x_78); -if (lean_is_scalar(x_30)) { - x_80 = lean_alloc_ctor(0, 2, 0); -} else { - x_80 = x_30; -} -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_29); -return x_80; -} -else -{ -uint8_t x_81; -lean_dec(x_32); -x_81 = !lean_is_exclusive(x_38); -if (x_81 == 0) -{ -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; -x_82 = lean_ctor_get(x_38, 0); -x_83 = l_Lean_FileMap_utf8PosToLspPos(x_6, x_82); -lean_dec(x_82); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_65); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_38, 0, x_84); -x_85 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_85, 0, x_38); -lean_ctor_set(x_85, 1, x_33); -lean_ctor_set(x_85, 2, x_51); -lean_ctor_set(x_85, 3, x_63); -x_86 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___closed__1; -x_87 = lean_array_push(x_86, x_85); -if (lean_is_scalar(x_34)) { - x_88 = lean_alloc_ctor(1, 1, 0); -} else { - x_88 = x_34; -} -lean_ctor_set(x_88, 0, x_87); -x_89 = lean_box(0); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -x_91 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_91, 0, x_90); -x_92 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_92, 0, x_91); -if (lean_is_scalar(x_30)) { - x_93 = lean_alloc_ctor(0, 2, 0); -} else { - x_93 = x_30; -} -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_29); -return x_93; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_94 = lean_ctor_get(x_38, 0); -lean_inc(x_94); -lean_dec(x_38); -x_95 = l_Lean_FileMap_utf8PosToLspPos(x_6, x_94); -lean_dec(x_94); -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_65); -lean_ctor_set(x_96, 1, x_95); -x_97 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_97, 0, x_96); -x_98 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_33); -lean_ctor_set(x_98, 2, x_51); -lean_ctor_set(x_98, 3, x_63); -x_99 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___closed__1; -x_100 = lean_array_push(x_99, x_98); -if (lean_is_scalar(x_34)) { - x_101 = lean_alloc_ctor(1, 1, 0); -} else { - x_101 = x_34; -} -lean_ctor_set(x_101, 0, x_100); -x_102 = lean_box(0); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -x_104 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_104, 0, x_103); -x_105 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_105, 0, x_104); -if (lean_is_scalar(x_30)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_30; -} -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_29); -return x_106; -} -} -} -} -} -} -else -{ -uint8_t x_112; -lean_dec(x_7); -lean_dec(x_4); -x_112 = !lean_is_exclusive(x_11); -if (x_112 == 0) +lean_ctor_set(x_50, 0, x_46); +lean_ctor_set(x_50, 1, x_49); +if (lean_obj_tag(x_25) == 0) { +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_box(0); +lean_inc(x_24); +x_52 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_24); +lean_ctor_set(x_52, 2, x_38); +lean_ctor_set(x_52, 3, x_50); +x_53 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +x_54 = lean_array_push(x_53, x_52); +lean_ctor_set(x_11, 0, x_54); return x_11; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_11, 0); -x_114 = lean_ctor_get(x_11, 1); -lean_inc(x_114); -lean_inc(x_113); +uint8_t x_55; +x_55 = !lean_is_exclusive(x_25); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_56 = lean_ctor_get(x_25, 0); +x_57 = l_String_Range_toLspRange(x_4, x_56); +lean_dec(x_56); +lean_ctor_set(x_25, 0, x_57); +lean_inc(x_24); +x_58 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_58, 0, x_25); +lean_ctor_set(x_58, 1, x_24); +lean_ctor_set(x_58, 2, x_38); +lean_ctor_set(x_58, 3, x_50); +x_59 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +x_60 = lean_array_push(x_59, x_58); +lean_ctor_set(x_11, 0, x_60); +return x_11; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_61 = lean_ctor_get(x_25, 0); +lean_inc(x_61); +lean_dec(x_25); +x_62 = l_String_Range_toLspRange(x_4, x_61); +lean_dec(x_61); +x_63 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_63, 0, x_62); +lean_inc(x_24); +x_64 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_24); +lean_ctor_set(x_64, 2, x_38); +lean_ctor_set(x_64, 3, x_50); +x_65 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +x_66 = lean_array_push(x_65, x_64); +lean_ctor_set(x_11, 0, x_66); +return x_11; +} +} +} +else +{ +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; +x_67 = lean_ctor_get(x_11, 1); +lean_inc(x_67); lean_dec(x_11); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; +x_68 = lean_ctor_get(x_12, 0); +lean_inc(x_68); +lean_dec(x_12); +x_69 = lean_ctor_get(x_5, 0); +x_70 = l_Lean_Elab_Info_range_x3f(x_3); +x_71 = lean_ctor_get(x_68, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +x_74 = lean_ctor_get(x_71, 2); +lean_inc(x_74); +x_75 = lean_ctor_get(x_71, 3); +lean_inc(x_75); +lean_dec(x_71); +x_76 = lean_ctor_get(x_72, 0); +lean_inc(x_76); +lean_dec(x_72); +x_77 = lean_unsigned_to_nat(1u); +x_78 = lean_nat_sub(x_76, x_77); +lean_dec(x_76); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_73); +x_80 = lean_ctor_get(x_74, 0); +lean_inc(x_80); +lean_dec(x_74); +x_81 = lean_nat_sub(x_80, x_77); +lean_dec(x_80); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_75); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_79); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_ctor_get(x_68, 1); +lean_inc(x_84); +lean_dec(x_68); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +x_87 = lean_ctor_get(x_84, 2); +lean_inc(x_87); +x_88 = lean_ctor_get(x_84, 3); +lean_inc(x_88); +lean_dec(x_84); +x_89 = lean_ctor_get(x_85, 0); +lean_inc(x_89); +lean_dec(x_85); +x_90 = lean_nat_sub(x_89, x_77); +lean_dec(x_89); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_86); +x_92 = lean_ctor_get(x_87, 0); +lean_inc(x_92); +lean_dec(x_87); +x_93 = lean_nat_sub(x_92, x_77); +lean_dec(x_92); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_88); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_91); +lean_ctor_set(x_95, 1, x_94); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_96 = lean_box(0); +lean_inc(x_69); +x_97 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_69); +lean_ctor_set(x_97, 2, x_83); +lean_ctor_set(x_97, 3, x_95); +x_98 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +x_99 = lean_array_push(x_98, 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_67); +return x_100; +} +else +{ +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; +x_101 = lean_ctor_get(x_70, 0); +lean_inc(x_101); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + x_102 = x_70; +} else { + lean_dec_ref(x_70); + x_102 = lean_box(0); +} +x_103 = l_String_Range_toLspRange(x_4, x_101); +lean_dec(x_101); +if (lean_is_scalar(x_102)) { + x_104 = lean_alloc_ctor(1, 1, 0); +} else { + x_104 = x_102; +} +lean_ctor_set(x_104, 0, x_103); +lean_inc(x_69); +x_105 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_69); +lean_ctor_set(x_105, 2, x_83); +lean_ctor_set(x_105, 3, x_95); +x_106 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; +x_107 = lean_array_push(x_106, x_105); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_67); +return x_108; } } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1() { +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -7620,18 +7650,253 @@ x_1 = lean_mk_string("lean"); return x_1; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +lean_inc(x_1); +x_12 = l_Lean_findModuleOf_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__1(x_1, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_6); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2(x_1, x_2, x_3, x_4, x_16, x_7, x_8, x_9, x_10, x_14); +lean_dec(x_16); +return x_17; +} +else +{ +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_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +lean_dec(x_12); +x_19 = lean_ctor_get(x_13, 0); +lean_inc(x_19); +lean_dec(x_13); +x_20 = lean_ctor_get(x_6, 0); +lean_inc(x_20); +lean_dec(x_6); +x_21 = lean_st_ref_get(x_10, x_18); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___closed__1; +x_24 = l_Lean_SearchPath_findWithExt(x_20, x_23, x_19, x_22); +lean_dec(x_19); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_box(0); +x_28 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2(x_1, x_2, x_3, x_4, x_27, x_7, x_8, x_9, x_10, x_26); +return x_28; +} +else +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_24, 1); +lean_inc(x_29); +lean_dec(x_24); +x_30 = !lean_is_exclusive(x_25); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_25, 0); +x_32 = l_Lean_Server_toFileUri(x_31); +lean_ctor_set(x_25, 0, x_32); +x_33 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2(x_1, x_2, x_3, x_4, x_25, x_7, x_8, x_9, x_10, x_29); +lean_dec(x_25); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_25, 0); +lean_inc(x_34); +lean_dec(x_25); +x_35 = l_Lean_Server_toFileUri(x_34); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_37 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2(x_1, x_2, x_3, x_4, x_36, x_7, x_8, x_9, x_10, x_29); +lean_dec(x_36); +return x_37; +} +} +} +} +else +{ +uint8_t x_38; +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_38 = !lean_is_exclusive(x_12); +if (x_38 == 0) +{ +return x_12; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_12, 0); +x_40 = lean_ctor_get(x_12, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_12); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4(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) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_2, 1); +lean_inc(x_13); +lean_dec(x_2); +x_14 = l_Lean_Syntax_getKind(x_13); +x_15 = l_Lean_Environment_contains(x_12, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_3); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_11); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_3); +x_19 = l_Lean_Elab_Info_lctx(x_4); +x_20 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed), 11, 6); +lean_closure_set(x_20, 0, x_14); +lean_closure_set(x_20, 1, x_5); +lean_closure_set(x_20, 2, x_4); +lean_closure_set(x_20, 3, x_6); +lean_closure_set(x_20, 4, x_7); +lean_closure_set(x_20, 5, x_8); +x_21 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_1, x_19, x_20, x_11); +lean_dec(x_1); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_21, 0, x_28); +return x_21; +} +else +{ +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; +x_29 = lean_ctor_get(x_21, 0); +x_30 = lean_ctor_get(x_21, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_21); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_29); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_30); +return x_36; +} +} +else +{ +uint8_t x_37; +x_37 = !lean_is_exclusive(x_21); +if (x_37 == 0) +{ +return x_21; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_21, 0); +x_39 = lean_ctor_get(x_21, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_21); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5(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) { _start: { lean_object* x_11; -x_11 = l_Lean_Expr_constName_x3f(x_7); +x_11 = l_Lean_Elab_Info_toElabInfo_x3f(x_1); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_2); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_12, 0, x_2); x_13 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_13, 0, x_12); x_14 = lean_alloc_ctor(0, 2, 0); @@ -7645,91 +7910,100 @@ uint8_t x_15; x_15 = !lean_is_exclusive(x_11); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; x_16 = lean_ctor_get(x_11, 0); -x_17 = lean_ctor_get(x_2, 0); +x_17 = lean_ctor_get(x_3, 0); lean_inc(x_17); -lean_inc(x_16); -x_18 = lean_alloc_closure((void*)(l_Lean_findModuleOf_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__1___boxed), 6, 1); -lean_closure_set(x_18, 0, x_16); -lean_inc(x_17); -x_19 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_3, x_17, x_18, x_10); -if (lean_obj_tag(x_19) == 0) +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = l_Lean_Environment_contains(x_17, x_18); +if (x_19 == 0) { -lean_object* x_20; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_6); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get(x_5, 0); -lean_inc(x_22); -lean_ctor_set(x_11, 0, x_22); -x_23 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(x_16, x_3, x_17, x_1, x_2, x_4, x_11, x_9, x_21); -lean_dec(x_2); -return x_23; -} -else -{ -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_20; lean_object* x_21; +lean_dec(x_18); lean_free_object(x_11); -x_24 = lean_ctor_get(x_19, 1); -lean_inc(x_24); -lean_dec(x_19); -x_25 = lean_ctor_get(x_20, 0); -lean_inc(x_25); -lean_dec(x_20); -x_26 = lean_ctor_get(x_6, 0); -lean_inc(x_26); -lean_dec(x_6); -x_27 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; -x_28 = l_Lean_SearchPath_findWithExt(x_26, x_27, x_25, x_24); -lean_dec(x_25); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_box(0); -x_32 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(x_16, x_3, x_17, x_1, x_2, x_4, x_31, x_9, x_30); -lean_dec(x_2); -return x_32; +x_20 = lean_box(0); +x_21 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4(x_3, x_16, x_2, x_1, x_4, x_5, x_6, x_7, x_20, x_9, x_10); +return x_21; } else { -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_28, 1); -lean_inc(x_33); -lean_dec(x_28); -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_29, 0); -x_36 = l_Lean_Server_toFileUri(x_35); -lean_ctor_set(x_29, 0, x_36); -x_37 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(x_16, x_3, x_17, x_1, x_2, x_4, x_29, x_9, x_33); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_16); lean_dec(x_2); +x_22 = l_Lean_Elab_Info_lctx(x_1); +x_23 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed), 11, 6); +lean_closure_set(x_23, 0, x_18); +lean_closure_set(x_23, 1, x_4); +lean_closure_set(x_23, 2, x_1); +lean_closure_set(x_23, 3, x_5); +lean_closure_set(x_23, 4, x_6); +lean_closure_set(x_23, 5, x_7); +x_24 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_3, x_22, x_23, x_10); +lean_dec(x_3); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_24, 0); +lean_ctor_set(x_11, 0, x_26); +x_27 = lean_box(0); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_11); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_24, 0, x_30); +return x_24; +} +else +{ +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_31 = lean_ctor_get(x_24, 0); +x_32 = lean_ctor_get(x_24, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_24); +lean_ctor_set(x_11, 0, x_31); +x_33 = lean_box(0); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_11); +lean_ctor_set(x_34, 1, x_33); +x_35 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, 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_32); return x_37; } +} else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_29, 0); -lean_inc(x_38); -lean_dec(x_29); -x_39 = l_Lean_Server_toFileUri(x_38); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_39); -x_41 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(x_16, x_3, x_17, x_1, x_2, x_4, x_40, x_9, x_33); -lean_dec(x_2); +uint8_t x_38; +lean_free_object(x_11); +x_38 = !lean_is_exclusive(x_24); +if (x_38 == 0) +{ +return x_24; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_24, 0); +x_40 = lean_ctor_get(x_24, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_24); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); return x_41; } } @@ -7737,156 +8011,282 @@ return x_41; } else { -uint8_t x_42; -lean_dec(x_17); -lean_free_object(x_11); -lean_dec(x_16); -lean_dec(x_6); +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_42 = lean_ctor_get(x_11, 0); +lean_inc(x_42); +lean_dec(x_11); +x_43 = lean_ctor_get(x_3, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +x_45 = l_Lean_Environment_contains(x_43, x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_44); +x_46 = lean_box(0); +x_47 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4(x_3, x_42, x_2, x_1, x_4, x_5, x_6, x_7, x_46, x_9, x_10); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_42); lean_dec(x_2); +x_48 = l_Lean_Elab_Info_lctx(x_1); +x_49 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed), 11, 6); +lean_closure_set(x_49, 0, x_44); +lean_closure_set(x_49, 1, x_4); +lean_closure_set(x_49, 2, x_1); +lean_closure_set(x_49, 3, x_5); +lean_closure_set(x_49, 4, x_6); +lean_closure_set(x_49, 5, x_7); +x_50 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_3, x_48, x_49, x_10); +lean_dec(x_3); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_53 = x_50; +} else { + lean_dec_ref(x_50); + x_53 = lean_box(0); +} +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_51); +x_55 = lean_box(0); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_57, 0, x_56); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_57); +if (lean_is_scalar(x_53)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_53; +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_52); +return x_59; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_50, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_50, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_62 = x_50; +} else { + lean_dec_ref(x_50); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(1, 2, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6(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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Expr_constName_x3f(x_8); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_13 = lean_box(0); +x_14 = lean_apply_3(x_1, x_13, x_10, x_11); +return x_14; +} +else +{ +uint8_t x_15; +lean_dec(x_10); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_19); -if (x_42 == 0) +x_15 = !lean_is_exclusive(x_12); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = l_Lean_Elab_Info_lctx(x_2); +x_18 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed), 11, 6); +lean_closure_set(x_18, 0, x_16); +lean_closure_set(x_18, 1, x_3); +lean_closure_set(x_18, 2, x_2); +lean_closure_set(x_18, 3, x_4); +lean_closure_set(x_18, 4, x_5); +lean_closure_set(x_18, 5, x_6); +x_19 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_7, x_17, x_18, x_11); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_12, 0, x_21); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_12); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_19, 0, x_25); +return x_19; +} +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_object* x_32; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +lean_ctor_set(x_12, 0, x_26); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_12); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_30); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_27); +return x_32; +} +} +else +{ +uint8_t x_33; +lean_free_object(x_12); +x_33 = !lean_is_exclusive(x_19); +if (x_33 == 0) { return x_19; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_19, 0); -x_44 = lean_ctor_get(x_19, 1); -lean_inc(x_44); -lean_inc(x_43); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_19, 0); +x_35 = lean_ctor_get(x_19, 1); +lean_inc(x_35); +lean_inc(x_34); lean_dec(x_19); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_46 = lean_ctor_get(x_11, 0); -lean_inc(x_46); -lean_dec(x_11); -x_47 = lean_ctor_get(x_2, 0); -lean_inc(x_47); -lean_inc(x_46); -x_48 = lean_alloc_closure((void*)(l_Lean_findModuleOf_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__1___boxed), 6, 1); -lean_closure_set(x_48, 0, x_46); -lean_inc(x_47); -x_49 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_3, x_47, x_48, x_10); -if (lean_obj_tag(x_49) == 0) +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = lean_ctor_get(x_12, 0); +lean_inc(x_37); +lean_dec(x_12); +x_38 = l_Lean_Elab_Info_lctx(x_2); +x_39 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed), 11, 6); +lean_closure_set(x_39, 0, x_37); +lean_closure_set(x_39, 1, x_3); +lean_closure_set(x_39, 2, x_2); +lean_closure_set(x_39, 3, x_4); +lean_closure_set(x_39, 4, x_5); +lean_closure_set(x_39, 5, x_6); +x_40 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_7, x_38, x_39, x_11); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_50; -x_50 = lean_ctor_get(x_49, 0); +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; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_43 = x_40; +} else { + lean_dec_ref(x_40); + x_43 = lean_box(0); +} +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_41); +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +if (lean_is_scalar(x_43)) { + x_49 = lean_alloc_ctor(0, 2, 0); +} else { + x_49 = x_43; +} +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_42); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_50 = lean_ctor_get(x_40, 0); lean_inc(x_50); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -lean_dec(x_6); -x_51 = lean_ctor_get(x_49, 1); +x_51 = lean_ctor_get(x_40, 1); lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_ctor_get(x_5, 0); -lean_inc(x_52); -x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_52); -x_54 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(x_46, x_3, x_47, x_1, x_2, x_4, x_53, x_9, x_51); -lean_dec(x_2); -return x_54; -} -else -{ -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_55 = lean_ctor_get(x_49, 1); -lean_inc(x_55); -lean_dec(x_49); -x_56 = lean_ctor_get(x_50, 0); -lean_inc(x_56); -lean_dec(x_50); -x_57 = lean_ctor_get(x_6, 0); -lean_inc(x_57); -lean_dec(x_6); -x_58 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; -x_59 = l_Lean_SearchPath_findWithExt(x_57, x_58, x_56, x_55); -lean_dec(x_56); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -if (lean_obj_tag(x_60) == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_box(0); -x_63 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(x_46, x_3, x_47, x_1, x_2, x_4, x_62, x_9, x_61); -lean_dec(x_2); -return x_63; -} -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; -x_64 = lean_ctor_get(x_59, 1); -lean_inc(x_64); -lean_dec(x_59); -x_65 = lean_ctor_get(x_60, 0); -lean_inc(x_65); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - x_66 = x_60; +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_52 = x_40; } else { - lean_dec_ref(x_60); - x_66 = lean_box(0); + lean_dec_ref(x_40); + x_52 = lean_box(0); } -x_67 = l_Lean_Server_toFileUri(x_65); -if (lean_is_scalar(x_66)) { - x_68 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(1, 2, 0); } else { - x_68 = x_66; + x_53 = x_52; } -lean_ctor_set(x_68, 0, x_67); -x_69 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(x_46, x_3, x_47, x_1, x_2, x_4, x_68, x_9, x_64); -lean_dec(x_2); -return x_69; -} -} -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_70 = lean_ctor_get(x_49, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_49, 1); -lean_inc(x_71); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - x_72 = x_49; -} else { - lean_dec_ref(x_49); - x_72 = lean_box(0); -} -if (lean_is_scalar(x_72)) { - x_73 = lean_alloc_ctor(1, 2, 0); -} else { - x_73 = x_72; -} -lean_ctor_set(x_73, 0, x_70); -lean_ctor_set(x_73, 1, x_71); -return x_73; +lean_ctor_set(x_53, 0, x_50); +lean_ctor_set(x_53, 1, x_51); +return x_53; } } } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7(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; @@ -7934,1767 +8334,361 @@ return x_14; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; lean_object* x_15; uint8_t x_38; -x_38 = x_10 < x_9; -if (x_38 == 0) +lean_object* x_15; lean_object* x_16; uint8_t x_39; +x_39 = x_11 < x_10; +if (x_39 == 0) { -lean_object* x_39; lean_object* x_40; +lean_object* x_40; lean_object* x_41; +lean_dec(x_13); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_11); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_13); -return x_40; +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_12); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_14); +return x_41; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_71; -x_41 = lean_array_uget(x_8, x_10); -x_42 = lean_ctor_get(x_11, 1); -lean_inc(x_42); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_43 = x_11; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_81; +x_42 = lean_array_uget(x_9, x_11); +x_43 = lean_ctor_get(x_12, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_44 = x_12; } else { - lean_dec_ref(x_11); - x_43 = lean_box(0); + lean_dec_ref(x_12); + x_44 = lean_box(0); } lean_inc(x_5); -x_71 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(x_41, x_5); -if (lean_obj_tag(x_71) == 0) +x_81 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(x_42, x_5); +if (lean_obj_tag(x_81) == 0) { -lean_object* x_72; lean_object* x_73; -lean_inc(x_6); -x_72 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_72, 0, x_6); -x_73 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_73, 0, x_72); -x_44 = x_73; -x_45 = x_13; -goto block_70; +lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_inc(x_7); +x_82 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_82, 0, x_7); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_82); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_14); +x_45 = x_84; +goto block_80; } else { -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_71, 0); -lean_inc(x_74); -lean_dec(x_71); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -if (lean_obj_tag(x_75) == 1) +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_81, 0); +lean_inc(x_85); +lean_dec(x_81); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +if (lean_obj_tag(x_86) == 1) { +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_85, 0); +lean_inc(x_87); +lean_dec(x_85); +x_88 = lean_ctor_get(x_86, 0); +lean_inc(x_88); +lean_inc(x_2); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_6); +lean_inc(x_87); +lean_inc(x_7); +lean_inc(x_86); +x_89 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5___boxed), 10, 7); +lean_closure_set(x_89, 0, x_86); +lean_closure_set(x_89, 1, x_7); +lean_closure_set(x_89, 2, x_87); +lean_closure_set(x_89, 3, x_6); +lean_closure_set(x_89, 4, x_4); +lean_closure_set(x_89, 5, x_3); +lean_closure_set(x_89, 6, x_2); if (x_1 == 0) { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_76 = lean_ctor_get(x_74, 0); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_ctor_get(x_75, 0); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_ctor_get(x_77, 2); -lean_inc(x_78); -x_79 = lean_box(0); -lean_inc(x_2); -lean_inc(x_6); -x_80 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2(x_6, x_77, x_76, x_4, x_3, x_2, x_78, x_79, x_12, x_13); -lean_dec(x_78); -lean_dec(x_76); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_44 = x_81; -x_45 = x_82; -goto block_70; -} -else -{ -uint8_t x_83; -lean_dec(x_43); -lean_dec(x_42); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_83 = !lean_is_exclusive(x_80); -if (x_83 == 0) -{ -return x_80; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_80, 0); -x_85 = lean_ctor_get(x_80, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_80); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; -} -} -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_87 = lean_ctor_get(x_74, 0); -lean_inc(x_87); -lean_dec(x_74); -x_88 = lean_ctor_get(x_75, 0); -lean_inc(x_88); -lean_dec(x_75); -x_89 = lean_ctor_get(x_88, 2); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 0); +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_88, 3); lean_inc(x_90); -x_91 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3), 6, 1); -lean_closure_set(x_91, 0, x_89); -x_92 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_87, x_90, x_91, x_13); -if (lean_obj_tag(x_92) == 0) +lean_dec(x_88); +x_91 = lean_box(0); +lean_inc(x_13); +lean_inc(x_2); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_6); +x_92 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6(x_89, x_86, x_6, x_4, x_3, x_2, x_87, x_90, x_91, x_13, x_14); +lean_dec(x_90); +lean_dec(x_87); +x_45 = x_92; +goto block_80; +} +else { lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_93 = lean_ctor_get(x_92, 0); +x_93 = lean_ctor_get(x_88, 3); lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_box(0); -lean_inc(x_2); -lean_inc(x_6); -x_96 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2(x_6, x_88, x_87, x_4, x_3, x_2, x_93, x_95, x_12, x_94); -lean_dec(x_93); -lean_dec(x_87); +lean_dec(x_88); +x_94 = l_Lean_Elab_Info_lctx(x_86); +x_95 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7), 6, 1); +lean_closure_set(x_95, 0, x_93); +x_96 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_87, x_94, x_95, x_14); if (lean_obj_tag(x_96) == 0) { -lean_object* x_97; lean_object* x_98; +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; x_97 = lean_ctor_get(x_96, 0); lean_inc(x_97); x_98 = lean_ctor_get(x_96, 1); lean_inc(x_98); lean_dec(x_96); -x_44 = x_97; -x_45 = x_98; -goto block_70; -} -else -{ -uint8_t x_99; -lean_dec(x_43); -lean_dec(x_42); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_99 = !lean_is_exclusive(x_96); -if (x_99 == 0) -{ -return x_96; -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_96, 0); -x_101 = lean_ctor_get(x_96, 1); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_96); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -return x_102; -} -} -} -else -{ -uint8_t x_103; -lean_dec(x_88); -lean_dec(x_87); -lean_dec(x_43); -lean_dec(x_42); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_103 = !lean_is_exclusive(x_92); -if (x_103 == 0) -{ -return x_92; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_92, 0); -x_105 = lean_ctor_get(x_92, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_92); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; -} -} -} -} -else -{ -lean_object* x_107; lean_object* x_108; -lean_dec(x_75); -lean_dec(x_74); +x_99 = lean_box(0); +lean_inc(x_13); +lean_inc(x_2); +lean_inc(x_3); +lean_inc(x_4); lean_inc(x_6); -x_107 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_107, 0, x_6); -x_108 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_108, 0, x_107); -x_44 = x_108; -x_45 = x_13; -goto block_70; +x_100 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6(x_89, x_86, x_6, x_4, x_3, x_2, x_87, x_97, x_99, x_13, x_98); +lean_dec(x_97); +lean_dec(x_87); +x_45 = x_100; +goto block_80; +} +else +{ +uint8_t x_101; +lean_dec(x_89); +lean_dec(x_87); +lean_dec(x_86); +x_101 = !lean_is_exclusive(x_96); +if (x_101 == 0) +{ +x_45 = x_96; +goto block_80; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_96, 0); +x_103 = lean_ctor_get(x_96, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_96); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +x_45 = x_104; +goto block_80; } } -block_70: +} +} +else { -if (lean_obj_tag(x_44) == 0) +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_85, 0); +lean_inc(x_105); +lean_dec(x_85); +x_106 = lean_box(0); +lean_inc(x_2); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_6); +lean_inc(x_7); +x_107 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5(x_86, x_7, x_105, x_6, x_4, x_3, x_2, x_106, x_13, x_14); +x_45 = x_107; +goto block_80; +} +} +block_80: { -uint8_t x_46; +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; uint8_t x_48; +lean_dec(x_44); lean_dec(x_43); -lean_dec(x_42); -x_46 = !lean_is_exclusive(x_44); -if (x_46 == 0) -{ -x_14 = x_44; -x_15 = x_45; -goto block_37; -} -else -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_44, 0); +x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); -lean_dec(x_44); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -x_14 = x_48; -x_15 = x_45; -goto block_37; +lean_dec(x_45); +x_48 = !lean_is_exclusive(x_46); +if (x_48 == 0) +{ +x_15 = x_46; +x_16 = x_47; +goto block_38; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_46, 0); +lean_inc(x_49); +lean_dec(x_46); +x_50 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_15 = x_50; +x_16 = x_47; +goto block_38; } } else { -uint8_t x_49; -x_49 = !lean_is_exclusive(x_44); -if (x_49 == 0) +uint8_t x_51; +x_51 = !lean_is_exclusive(x_46); +if (x_51 == 0) { -lean_object* x_50; -x_50 = lean_ctor_get(x_44, 0); -if (lean_obj_tag(x_50) == 0) +lean_object* x_52; +x_52 = lean_ctor_get(x_46, 0); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_50); -if (lean_is_scalar(x_43)) { - x_52 = lean_alloc_ctor(0, 2, 0); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = lean_ctor_get(x_45, 1); +lean_inc(x_53); +lean_dec(x_45); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_52); +if (lean_is_scalar(x_44)) { + x_55 = lean_alloc_ctor(0, 2, 0); } else { - x_52 = x_43; + x_55 = x_44; } -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_42); -x_53 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_44, 0, x_53); -x_14 = x_44; -x_15 = x_45; -goto block_37; +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_43); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_46, 0, x_56); +x_15 = x_46; +x_16 = x_53; +goto block_38; } else { -uint8_t x_54; -lean_dec(x_42); -x_54 = !lean_is_exclusive(x_50); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; -x_55 = lean_ctor_get(x_50, 0); -lean_inc(x_7); -if (lean_is_scalar(x_43)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_43; -} -lean_ctor_set(x_56, 0, x_7); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_50, 0, x_56); -x_14 = x_44; -x_15 = x_45; -goto block_37; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_50, 0); +lean_object* x_57; uint8_t x_58; +lean_dec(x_43); +x_57 = lean_ctor_get(x_45, 1); lean_inc(x_57); -lean_dec(x_50); -lean_inc(x_7); -if (lean_is_scalar(x_43)) { - x_58 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_45); +x_58 = !lean_is_exclusive(x_52); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_52, 0); +lean_inc(x_8); +if (lean_is_scalar(x_44)) { + x_60 = lean_alloc_ctor(0, 2, 0); } else { - x_58 = x_43; -} -lean_ctor_set(x_58, 0, x_7); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_44, 0, x_59); -x_14 = x_44; -x_15 = x_45; -goto block_37; -} + x_60 = x_44; } +lean_ctor_set(x_60, 0, x_8); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_52, 0, x_60); +x_15 = x_46; +x_16 = x_57; +goto block_38; } else { -lean_object* x_60; -x_60 = lean_ctor_get(x_44, 0); -lean_inc(x_60); -lean_dec(x_44); -if (lean_obj_tag(x_60) == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_61, 0, x_60); -if (lean_is_scalar(x_43)) { +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_52, 0); +lean_inc(x_61); +lean_dec(x_52); +lean_inc(x_8); +if (lean_is_scalar(x_44)) { x_62 = lean_alloc_ctor(0, 2, 0); } else { - x_62 = x_43; + x_62 = x_44; } -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_42); -x_63 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_62, 0, x_8); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_63, 0, x_62); -x_64 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_64, 0, x_63); -x_14 = x_64; -x_15 = x_45; -goto block_37; +lean_ctor_set(x_46, 0, x_63); +x_15 = x_46; +x_16 = x_57; +goto block_38; +} +} } else { +lean_object* x_64; +x_64 = lean_ctor_get(x_46, 0); +lean_inc(x_64); +lean_dec(x_46); +if (lean_obj_tag(x_64) == 0) +{ lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_dec(x_42); -x_65 = lean_ctor_get(x_60, 0); +x_65 = lean_ctor_get(x_45, 1); lean_inc(x_65); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - x_66 = x_60; -} else { - lean_dec_ref(x_60); - x_66 = lean_box(0); -} -lean_inc(x_7); -if (lean_is_scalar(x_43)) { +lean_dec(x_45); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_64); +if (lean_is_scalar(x_44)) { x_67 = lean_alloc_ctor(0, 2, 0); } else { - x_67 = x_43; -} -lean_ctor_set(x_67, 0, x_7); -lean_ctor_set(x_67, 1, x_65); -if (lean_is_scalar(x_66)) { - x_68 = lean_alloc_ctor(1, 1, 0); -} else { - x_68 = x_66; + x_67 = x_44; } +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_43); +x_68 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_68, 0, x_67); x_69 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_69, 0, x_68); -x_14 = x_69; -x_15 = x_45; -goto block_37; -} -} -} -} -} -block_37: -{ -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_16; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) -{ -lean_object* x_17; -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_15); -return x_17; +x_15 = x_69; +x_16 = x_65; +goto block_38; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_14, 0); -lean_inc(x_18); -lean_dec(x_14); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_15); -return x_20; -} -} -else -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_14); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_14, 0); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -lean_dec(x_22); -lean_ctor_set(x_14, 0, x_23); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_14); -lean_ctor_set(x_24, 1, x_15); -return x_24; -} -else -{ -lean_object* x_25; size_t x_26; size_t x_27; -lean_free_object(x_14); -x_25 = lean_ctor_get(x_22, 0); -lean_inc(x_25); -lean_dec(x_22); -x_26 = 1; -x_27 = x_10 + x_26; -x_10 = x_27; -x_11 = x_25; -x_13 = x_15; -goto _start; -} -} -else -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_14, 0); -lean_inc(x_29); -lean_dec(x_14); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -lean_dec(x_29); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_15); -return x_32; -} -else -{ -lean_object* x_33; size_t x_34; size_t x_35; -x_33 = lean_ctor_get(x_29, 0); -lean_inc(x_33); -lean_dec(x_29); -x_34 = 1; -x_35 = x_10 + x_34; -x_10 = x_35; -x_11 = x_33; -x_13 = x_15; -goto _start; -} -} -} -} -} -} -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_12 = lean_ctor_get(x_8, 0); -x_13 = lean_box(0); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_9); -x_15 = lean_array_get_size(x_12); -x_16 = lean_usize_of_nat(x_15); -lean_dec(x_15); -x_17 = 0; -x_18 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_12, x_16, x_17, x_14, x_10, x_11); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) -{ -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_18, 0); -lean_dec(x_21); -x_22 = !lean_is_exclusive(x_19); -if (x_22 == 0) -{ -return x_18; -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_19, 0); -lean_inc(x_23); -lean_dec(x_19); -x_24 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_18, 0, x_24); -return x_18; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_ctor_get(x_18, 1); -lean_inc(x_25); -lean_dec(x_18); -x_26 = lean_ctor_get(x_19, 0); -lean_inc(x_26); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - x_27 = x_19; -} else { - lean_dec_ref(x_19); - x_27 = lean_box(0); -} -if (lean_is_scalar(x_27)) { - x_28 = lean_alloc_ctor(0, 1, 0); -} else { - x_28 = x_27; -} -lean_ctor_set(x_28, 0, x_26); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_25); -return x_29; -} -} -else -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_19); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_19, 0); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_free_object(x_19); -x_33 = lean_ctor_get(x_18, 1); -lean_inc(x_33); -lean_dec(x_18); -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_box(0); -x_36 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_34, x_35, x_10, x_33); -return x_36; -} -else -{ -uint8_t x_37; -lean_dec(x_31); -x_37 = !lean_is_exclusive(x_18); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_18, 0); -lean_dec(x_38); -x_39 = lean_ctor_get(x_32, 0); -lean_inc(x_39); -lean_dec(x_32); -lean_ctor_set(x_19, 0, x_39); -return x_18; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_18, 1); -lean_inc(x_40); -lean_dec(x_18); -x_41 = lean_ctor_get(x_32, 0); -lean_inc(x_41); -lean_dec(x_32); -lean_ctor_set(x_19, 0, x_41); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_19); -lean_ctor_set(x_42, 1, x_40); -return x_42; -} -} -} -else -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_19, 0); -lean_inc(x_43); -lean_dec(x_19); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_18, 1); -lean_inc(x_45); -lean_dec(x_18); -x_46 = lean_ctor_get(x_43, 1); -lean_inc(x_46); +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_dec(x_43); -x_47 = lean_box(0); -x_48 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_46, x_47, x_10, x_45); -return x_48; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -lean_dec(x_43); -x_49 = lean_ctor_get(x_18, 1); -lean_inc(x_49); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - x_50 = x_18; -} else { - lean_dec_ref(x_18); - x_50 = lean_box(0); -} -x_51 = lean_ctor_get(x_44, 0); -lean_inc(x_51); -lean_dec(x_44); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_51); -if (lean_is_scalar(x_50)) { - x_53 = lean_alloc_ctor(0, 2, 0); -} else { - x_53 = x_50; -} -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_49); -return x_53; -} -} -} -} -else -{ -uint8_t x_54; -x_54 = !lean_is_exclusive(x_18); -if (x_54 == 0) -{ -return x_18; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_18, 0); -x_56 = lean_ctor_get(x_18, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_18); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; size_t x_62; size_t x_63; lean_object* x_64; -x_58 = lean_ctor_get(x_8, 0); -x_59 = lean_box(0); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_9); -x_61 = lean_array_get_size(x_58); -x_62 = lean_usize_of_nat(x_61); -lean_dec(x_61); -x_63 = 0; -x_64 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_59, x_58, x_62, x_63, x_60, x_10, x_11); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -if (lean_obj_tag(x_65) == 0) -{ -uint8_t x_66; -x_66 = !lean_is_exclusive(x_64); -if (x_66 == 0) -{ -lean_object* x_67; uint8_t x_68; -x_67 = lean_ctor_get(x_64, 0); -lean_dec(x_67); -x_68 = !lean_is_exclusive(x_65); -if (x_68 == 0) -{ -return x_64; -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_65, 0); -lean_inc(x_69); -lean_dec(x_65); -x_70 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_64, 0, x_70); -return x_64; -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_71 = lean_ctor_get(x_64, 1); +x_70 = lean_ctor_get(x_45, 1); +lean_inc(x_70); +lean_dec(x_45); +x_71 = lean_ctor_get(x_64, 0); lean_inc(x_71); -lean_dec(x_64); -x_72 = lean_ctor_get(x_65, 0); -lean_inc(x_72); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - x_73 = x_65; -} else { - lean_dec_ref(x_65); - x_73 = lean_box(0); -} -if (lean_is_scalar(x_73)) { - x_74 = lean_alloc_ctor(0, 1, 0); -} else { - x_74 = x_73; -} -lean_ctor_set(x_74, 0, x_72); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_71); -return x_75; -} -} -else -{ -uint8_t x_76; -x_76 = !lean_is_exclusive(x_65); -if (x_76 == 0) -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_65, 0); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -lean_free_object(x_65); -x_79 = lean_ctor_get(x_64, 1); -lean_inc(x_79); -lean_dec(x_64); -x_80 = lean_ctor_get(x_77, 1); -lean_inc(x_80); -lean_dec(x_77); -x_81 = lean_box(0); -x_82 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_80, x_81, x_10, x_79); -return x_82; -} -else -{ -uint8_t x_83; -lean_dec(x_77); -x_83 = !lean_is_exclusive(x_64); -if (x_83 == 0) -{ -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_64, 0); -lean_dec(x_84); -x_85 = lean_ctor_get(x_78, 0); -lean_inc(x_85); -lean_dec(x_78); -lean_ctor_set(x_65, 0, x_85); -return x_64; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_64, 1); -lean_inc(x_86); -lean_dec(x_64); -x_87 = lean_ctor_get(x_78, 0); -lean_inc(x_87); -lean_dec(x_78); -lean_ctor_set(x_65, 0, x_87); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_65); -lean_ctor_set(x_88, 1, x_86); -return x_88; -} -} -} -else -{ -lean_object* x_89; lean_object* x_90; -x_89 = lean_ctor_get(x_65, 0); -lean_inc(x_89); -lean_dec(x_65); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -if (lean_obj_tag(x_90) == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_91 = lean_ctor_get(x_64, 1); -lean_inc(x_91); -lean_dec(x_64); -x_92 = lean_ctor_get(x_89, 1); -lean_inc(x_92); -lean_dec(x_89); -x_93 = lean_box(0); -x_94 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_92, x_93, x_10, x_91); -return x_94; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_89); -x_95 = lean_ctor_get(x_64, 1); -lean_inc(x_95); if (lean_is_exclusive(x_64)) { lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_96 = x_64; + x_72 = x_64; } else { lean_dec_ref(x_64); - x_96 = lean_box(0); -} -x_97 = lean_ctor_get(x_90, 0); -lean_inc(x_97); -lean_dec(x_90); -x_98 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_98, 0, x_97); -if (lean_is_scalar(x_96)) { - x_99 = lean_alloc_ctor(0, 2, 0); -} else { - x_99 = x_96; -} -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_95); -return x_99; -} -} -} -} -else -{ -uint8_t x_100; -x_100 = !lean_is_exclusive(x_64); -if (x_100 == 0) -{ -return x_64; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_64, 0); -x_102 = lean_ctor_get(x_64, 1); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_64); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; -} -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_38; -x_38 = x_10 < x_9; -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_11); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_13); -return x_40; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_78; -x_41 = lean_array_uget(x_8, x_10); -x_42 = lean_ctor_get(x_11, 1); -lean_inc(x_42); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_43 = x_11; -} else { - lean_dec_ref(x_11); - x_43 = lean_box(0); -} -lean_inc(x_5); -x_78 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(x_41, x_5); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; -lean_inc(x_6); -x_79 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_79, 0, x_6); -x_80 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_80, 0, x_79); -x_44 = x_80; -x_45 = x_13; -goto block_77; -} -else -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_78, 0); -lean_inc(x_81); -lean_dec(x_78); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -if (lean_obj_tag(x_82) == 1) -{ -if (x_1 == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_83 = lean_ctor_get(x_81, 0); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_ctor_get(x_82, 0); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_ctor_get(x_84, 2); -lean_inc(x_85); -x_86 = lean_box(0); -lean_inc(x_2); -lean_inc(x_6); -x_87 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2(x_6, x_84, x_83, x_4, x_3, x_2, x_85, x_86, x_12, x_13); -lean_dec(x_85); -lean_dec(x_83); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_44 = x_88; -x_45 = x_89; -goto block_77; -} -else -{ -uint8_t x_90; -lean_dec(x_43); -lean_dec(x_42); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_90 = !lean_is_exclusive(x_87); -if (x_90 == 0) -{ -return x_87; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_87, 0); -x_92 = lean_ctor_get(x_87, 1); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_87); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -return x_93; -} -} -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_94 = lean_ctor_get(x_81, 0); -lean_inc(x_94); -lean_dec(x_81); -x_95 = lean_ctor_get(x_82, 0); -lean_inc(x_95); -lean_dec(x_82); -x_96 = lean_ctor_get(x_95, 2); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 0); -lean_inc(x_97); -x_98 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3), 6, 1); -lean_closure_set(x_98, 0, x_96); -x_99 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_94, x_97, x_98, x_13); -if (lean_obj_tag(x_99) == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_box(0); -lean_inc(x_2); -lean_inc(x_6); -x_103 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2(x_6, x_95, x_94, x_4, x_3, x_2, x_100, x_102, x_12, x_101); -lean_dec(x_100); -lean_dec(x_94); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; lean_object* x_105; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_44 = x_104; -x_45 = x_105; -goto block_77; -} -else -{ -uint8_t x_106; -lean_dec(x_43); -lean_dec(x_42); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_106 = !lean_is_exclusive(x_103); -if (x_106 == 0) -{ -return x_103; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_103, 0); -x_108 = lean_ctor_get(x_103, 1); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_103); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -return x_109; -} -} -} -else -{ -uint8_t x_110; -lean_dec(x_95); -lean_dec(x_94); -lean_dec(x_43); -lean_dec(x_42); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_110 = !lean_is_exclusive(x_99); -if (x_110 == 0) -{ -return x_99; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_99, 0); -x_112 = lean_ctor_get(x_99, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_99); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -return x_113; -} -} -} -} -else -{ -lean_object* x_114; lean_object* x_115; -lean_dec(x_82); -lean_dec(x_81); -lean_inc(x_6); -x_114 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_114, 0, x_6); -x_115 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_115, 0, x_114); -x_44 = x_115; -x_45 = x_13; -goto block_77; -} -} -block_77: -{ -if (lean_obj_tag(x_44) == 0) -{ -uint8_t x_46; -lean_dec(x_43); -lean_dec(x_42); -x_46 = !lean_is_exclusive(x_44); -if (x_46 == 0) -{ -x_14 = x_44; -x_15 = x_45; -goto block_37; -} -else -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_44, 0); -lean_inc(x_47); -lean_dec(x_44); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -x_14 = x_48; -x_15 = x_45; -goto block_37; -} -} -else -{ -uint8_t x_49; -x_49 = !lean_is_exclusive(x_44); -if (x_49 == 0) -{ -lean_object* x_50; -x_50 = lean_ctor_get(x_44, 0); -if (lean_obj_tag(x_50) == 0) -{ -uint8_t x_51; -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_50, 0); -x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_52); -if (lean_is_scalar(x_43)) { - x_54 = lean_alloc_ctor(0, 2, 0); -} else { - x_54 = x_43; -} -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_42); -lean_ctor_set(x_50, 0, x_54); -x_14 = x_44; -x_15 = x_45; -goto block_37; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_55 = lean_ctor_get(x_50, 0); -lean_inc(x_55); -lean_dec(x_50); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_55); -if (lean_is_scalar(x_43)) { - x_57 = lean_alloc_ctor(0, 2, 0); -} else { - x_57 = x_43; -} -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_42); -x_58 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_44, 0, x_58); -x_14 = x_44; -x_15 = x_45; -goto block_37; -} -} -else -{ -uint8_t x_59; -lean_dec(x_42); -x_59 = !lean_is_exclusive(x_50); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_50, 0); -lean_inc(x_7); -if (lean_is_scalar(x_43)) { - x_61 = lean_alloc_ctor(0, 2, 0); -} else { - x_61 = x_43; -} -lean_ctor_set(x_61, 0, x_7); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_50, 0, x_61); -x_14 = x_44; -x_15 = x_45; -goto block_37; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_50, 0); -lean_inc(x_62); -lean_dec(x_50); -lean_inc(x_7); -if (lean_is_scalar(x_43)) { - x_63 = lean_alloc_ctor(0, 2, 0); -} else { - x_63 = x_43; -} -lean_ctor_set(x_63, 0, x_7); -lean_ctor_set(x_63, 1, x_62); -x_64 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_44, 0, x_64); -x_14 = x_44; -x_15 = x_45; -goto block_37; -} -} -} -else -{ -lean_object* x_65; -x_65 = lean_ctor_get(x_44, 0); -lean_inc(x_65); -lean_dec(x_44); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - x_67 = x_65; -} else { - lean_dec_ref(x_65); - x_67 = lean_box(0); -} -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_66); -if (lean_is_scalar(x_43)) { - x_69 = lean_alloc_ctor(0, 2, 0); -} else { - x_69 = x_43; -} -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_42); -if (lean_is_scalar(x_67)) { - x_70 = lean_alloc_ctor(0, 1, 0); -} else { - x_70 = x_67; -} -lean_ctor_set(x_70, 0, x_69); -x_71 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_71, 0, x_70); -x_14 = x_71; -x_15 = x_45; -goto block_37; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -lean_dec(x_42); -x_72 = lean_ctor_get(x_65, 0); -lean_inc(x_72); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - x_73 = x_65; -} else { - lean_dec_ref(x_65); - x_73 = lean_box(0); -} -lean_inc(x_7); -if (lean_is_scalar(x_43)) { - x_74 = lean_alloc_ctor(0, 2, 0); -} else { - x_74 = x_43; -} -lean_ctor_set(x_74, 0, x_7); -lean_ctor_set(x_74, 1, x_72); -if (lean_is_scalar(x_73)) { - x_75 = lean_alloc_ctor(1, 1, 0); -} else { - x_75 = x_73; -} -lean_ctor_set(x_75, 0, x_74); -x_76 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_76, 0, x_75); -x_14 = x_76; -x_15 = x_45; -goto block_37; -} -} -} -} -} -block_37: -{ -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_16; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) -{ -lean_object* x_17; -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_14, 0); -lean_inc(x_18); -lean_dec(x_14); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_15); -return x_20; -} -} -else -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_14); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_14, 0); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -lean_dec(x_22); -lean_ctor_set(x_14, 0, x_23); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_14); -lean_ctor_set(x_24, 1, x_15); -return x_24; -} -else -{ -lean_object* x_25; size_t x_26; size_t x_27; -lean_free_object(x_14); -x_25 = lean_ctor_get(x_22, 0); -lean_inc(x_25); -lean_dec(x_22); -x_26 = 1; -x_27 = x_10 + x_26; -x_10 = x_27; -x_11 = x_25; -x_13 = x_15; -goto _start; -} -} -else -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_14, 0); -lean_inc(x_29); -lean_dec(x_14); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -lean_dec(x_29); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_15); -return x_32; -} -else -{ -lean_object* x_33; size_t x_34; size_t x_35; -x_33 = lean_ctor_get(x_29, 0); -lean_inc(x_33); -lean_dec(x_29); -x_34 = 1; -x_35 = x_10 + x_34; -x_10 = x_35; -x_11 = x_33; -x_13 = x_15; -goto _start; -} -} -} -} -} -} -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_2); -x_12 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_11, x_8, x_9, x_10); -lean_dec(x_8); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_14; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_12, 0); -lean_dec(x_15); -x_16 = !lean_is_exclusive(x_13); -if (x_16 == 0) -{ -return x_12; -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_13, 0); -lean_inc(x_17); -lean_dec(x_13); -x_18 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_12, 0, x_18); -return x_12; -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_12, 1); -lean_inc(x_19); -lean_dec(x_12); -x_20 = lean_ctor_get(x_13, 0); -lean_inc(x_20); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - x_21 = x_13; -} else { - lean_dec_ref(x_13); - x_21 = lean_box(0); -} -if (lean_is_scalar(x_21)) { - x_22 = lean_alloc_ctor(0, 1, 0); -} else { - x_22 = x_21; -} -lean_ctor_set(x_22, 0, x_20); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_19); -return x_23; -} -} -else -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_13); -if (x_24 == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_13, 0); -if (lean_obj_tag(x_25) == 0) -{ -uint8_t x_26; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_26 = !lean_is_exclusive(x_12); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_12, 0); -lean_dec(x_27); -x_28 = lean_ctor_get(x_25, 0); -lean_inc(x_28); -lean_dec(x_25); -lean_ctor_set(x_13, 0, x_28); -return x_12; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_12, 1); -lean_inc(x_29); -lean_dec(x_12); -x_30 = lean_ctor_get(x_25, 0); -lean_inc(x_30); -lean_dec(x_25); -lean_ctor_set(x_13, 0, x_30); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_13); -lean_ctor_set(x_31, 1, x_29); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; size_t x_38; size_t x_39; lean_object* x_40; -lean_free_object(x_13); -x_32 = lean_ctor_get(x_12, 1); -lean_inc(x_32); -lean_dec(x_12); -x_33 = lean_ctor_get(x_25, 0); -lean_inc(x_33); -lean_dec(x_25); -x_34 = lean_ctor_get(x_7, 1); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -x_37 = lean_array_get_size(x_34); -x_38 = lean_usize_of_nat(x_37); -lean_dec(x_37); -x_39 = 0; -x_40 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_35, x_34, x_38, x_39, x_36, x_9, x_32); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -if (lean_obj_tag(x_41) == 0) -{ -uint8_t x_42; -x_42 = !lean_is_exclusive(x_40); -if (x_42 == 0) -{ -lean_object* x_43; uint8_t x_44; -x_43 = lean_ctor_get(x_40, 0); -lean_dec(x_43); -x_44 = !lean_is_exclusive(x_41); -if (x_44 == 0) -{ -return x_40; -} -else -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_41, 0); -lean_inc(x_45); -lean_dec(x_41); -x_46 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_40, 0, x_46); -return x_40; -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_40, 1); -lean_inc(x_47); -lean_dec(x_40); -x_48 = lean_ctor_get(x_41, 0); -lean_inc(x_48); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - x_49 = x_41; -} else { - lean_dec_ref(x_41); - x_49 = lean_box(0); -} -if (lean_is_scalar(x_49)) { - x_50 = lean_alloc_ctor(0, 1, 0); -} else { - x_50 = x_49; -} -lean_ctor_set(x_50, 0, x_48); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_47); -return x_51; -} -} -else -{ -uint8_t x_52; -x_52 = !lean_is_exclusive(x_41); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_41, 0); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -if (lean_obj_tag(x_54) == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -lean_free_object(x_41); -x_55 = lean_ctor_get(x_40, 1); -lean_inc(x_55); -lean_dec(x_40); -x_56 = lean_ctor_get(x_53, 1); -lean_inc(x_56); -lean_dec(x_53); -x_57 = lean_box(0); -x_58 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_56, x_57, x_9, x_55); -return x_58; -} -else -{ -uint8_t x_59; -lean_dec(x_53); -x_59 = !lean_is_exclusive(x_40); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_40, 0); -lean_dec(x_60); -x_61 = lean_ctor_get(x_54, 0); -lean_inc(x_61); -lean_dec(x_54); -lean_ctor_set(x_41, 0, x_61); -return x_40; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_40, 1); -lean_inc(x_62); -lean_dec(x_40); -x_63 = lean_ctor_get(x_54, 0); -lean_inc(x_63); -lean_dec(x_54); -lean_ctor_set(x_41, 0, x_63); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_41); -lean_ctor_set(x_64, 1, x_62); -return x_64; -} -} -} -else -{ -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_41, 0); -lean_inc(x_65); -lean_dec(x_41); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_67 = lean_ctor_get(x_40, 1); -lean_inc(x_67); -lean_dec(x_40); -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); -lean_dec(x_65); -x_69 = lean_box(0); -x_70 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_68, x_69, x_9, x_67); -return x_70; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -lean_dec(x_65); -x_71 = lean_ctor_get(x_40, 1); -lean_inc(x_71); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_72 = x_40; -} else { - lean_dec_ref(x_40); x_72 = lean_box(0); } -x_73 = lean_ctor_get(x_66, 0); -lean_inc(x_73); -lean_dec(x_66); -x_74 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_74, 0, x_73); -if (lean_is_scalar(x_72)) { - x_75 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_8); +if (lean_is_scalar(x_44)) { + x_73 = lean_alloc_ctor(0, 2, 0); } else { - x_75 = x_72; + x_73 = x_44; } +lean_ctor_set(x_73, 0, x_8); +lean_ctor_set(x_73, 1, x_71); +if (lean_is_scalar(x_72)) { + x_74 = lean_alloc_ctor(1, 1, 0); +} else { + x_74 = x_72; +} +lean_ctor_set(x_74, 0, x_73); +x_75 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_71); -return x_75; +x_15 = x_75; +x_16 = x_70; +goto block_38; } } } @@ -9702,19 +8696,29 @@ return x_75; else { uint8_t x_76; -x_76 = !lean_is_exclusive(x_40); +lean_dec(x_44); +lean_dec(x_43); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_76 = !lean_is_exclusive(x_45); if (x_76 == 0) { -return x_40; +return x_45; } else { lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_40, 0); -x_78 = lean_ctor_get(x_40, 1); +x_77 = lean_ctor_get(x_45, 0); +x_78 = lean_ctor_get(x_45, 1); lean_inc(x_78); lean_inc(x_77); -lean_dec(x_40); +lean_dec(x_45); x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_77); lean_ctor_set(x_79, 1, x_78); @@ -9723,216 +8727,1678 @@ return x_79; } } } -else +block_38: { -lean_object* x_80; -x_80 = lean_ctor_get(x_13, 0); -lean_inc(x_80); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_17; lean_dec(x_13); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_81 = lean_ctor_get(x_12, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_12)) { - lean_ctor_release(x_12, 0); - lean_ctor_release(x_12, 1); - x_82 = x_12; -} else { - lean_dec_ref(x_12); - x_82 = lean_box(0); -} -x_83 = lean_ctor_get(x_80, 0); -lean_inc(x_83); -lean_dec(x_80); -x_84 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_84, 0, x_83); -if (lean_is_scalar(x_82)) { - x_85 = lean_alloc_ctor(0, 2, 0); -} else { - x_85 = x_82; -} -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_81); -return x_85; +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +return x_18; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; size_t x_92; size_t x_93; lean_object* x_94; -x_86 = lean_ctor_get(x_12, 1); -lean_inc(x_86); -lean_dec(x_12); -x_87 = lean_ctor_get(x_80, 0); -lean_inc(x_87); -lean_dec(x_80); -x_88 = lean_ctor_get(x_7, 1); -x_89 = lean_box(0); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_87); -x_91 = lean_array_get_size(x_88); -x_92 = lean_usize_of_nat(x_91); -lean_dec(x_91); -x_93 = 0; -x_94 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_89, x_88, x_92, x_93, x_90, x_9, x_86); -if (lean_obj_tag(x_94) == 0) +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_16); +return x_21; +} +} +else { -lean_object* x_95; -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -if (lean_obj_tag(x_95) == 0) +uint8_t x_22; +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_94)) { - lean_ctor_release(x_94, 0); - lean_ctor_release(x_94, 1); - x_97 = x_94; +lean_object* x_23; +x_23 = lean_ctor_get(x_15, 0); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +lean_dec(x_23); +lean_ctor_set(x_15, 0, x_24); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_15); +lean_ctor_set(x_25, 1, x_16); +return x_25; +} +else +{ +lean_object* x_26; size_t x_27; size_t x_28; +lean_free_object(x_15); +x_26 = lean_ctor_get(x_23, 0); +lean_inc(x_26); +lean_dec(x_23); +x_27 = 1; +x_28 = x_11 + x_27; +x_11 = x_28; +x_12 = x_26; +x_14 = x_16; +goto _start; +} +} +else +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_15, 0); +lean_inc(x_30); +lean_dec(x_15); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_16); +return x_33; +} +else +{ +lean_object* x_34; size_t x_35; size_t x_36; +x_34 = lean_ctor_get(x_30, 0); +lean_inc(x_34); +lean_dec(x_30); +x_35 = 1; +x_36 = x_11 + x_35; +x_11 = x_36; +x_12 = x_34; +x_14 = x_16; +goto _start; +} +} +} +} +} +} +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_10); +x_16 = lean_array_get_size(x_13); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +lean_inc(x_11); +x_19 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_13, x_17, x_18, x_15, x_11, x_12); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +lean_dec(x_11); +x_21 = !lean_is_exclusive(x_19); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_19, 0); +lean_dec(x_22); +x_23 = !lean_is_exclusive(x_20); +if (x_23 == 0) +{ +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_20, 0); +lean_inc(x_24); +lean_dec(x_20); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_19, 0, x_25); +return x_19; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_27 = lean_ctor_get(x_20, 0); +lean_inc(x_27); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + x_28 = x_20; } else { - lean_dec_ref(x_94); + lean_dec_ref(x_20); + x_28 = lean_box(0); +} +if (lean_is_scalar(x_28)) { + x_29 = lean_alloc_ctor(0, 1, 0); +} else { + x_29 = x_28; +} +lean_ctor_set(x_29, 0, x_27); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_26); +return x_30; +} +} +else +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_20); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_20, 0); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_free_object(x_20); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_dec(x_19); +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = lean_box(0); +x_37 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_35, x_36, x_11, x_34); +lean_dec(x_11); +return x_37; +} +else +{ +uint8_t x_38; +lean_dec(x_32); +lean_dec(x_11); +x_38 = !lean_is_exclusive(x_19); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_19, 0); +lean_dec(x_39); +x_40 = lean_ctor_get(x_33, 0); +lean_inc(x_40); +lean_dec(x_33); +lean_ctor_set(x_20, 0, x_40); +return x_19; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_19, 1); +lean_inc(x_41); +lean_dec(x_19); +x_42 = lean_ctor_get(x_33, 0); +lean_inc(x_42); +lean_dec(x_33); +lean_ctor_set(x_20, 0, x_42); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_20); +lean_ctor_set(x_43, 1, x_41); +return x_43; +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_20, 0); +lean_inc(x_44); +lean_dec(x_20); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_19, 1); +lean_inc(x_46); +lean_dec(x_19); +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +lean_dec(x_44); +x_48 = lean_box(0); +x_49 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_47, x_48, x_11, x_46); +lean_dec(x_11); +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_dec(x_44); +lean_dec(x_11); +x_50 = lean_ctor_get(x_19, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_51 = x_19; +} else { + lean_dec_ref(x_19); + x_51 = lean_box(0); +} +x_52 = lean_ctor_get(x_45, 0); +lean_inc(x_52); +lean_dec(x_45); +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_52); +if (lean_is_scalar(x_51)) { + x_54 = lean_alloc_ctor(0, 2, 0); +} else { + x_54 = x_51; +} +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_50); +return x_54; +} +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_11); +x_55 = !lean_is_exclusive(x_19); +if (x_55 == 0) +{ +return x_19; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_19, 0); +x_57 = lean_ctor_get(x_19, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_19); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; size_t x_63; size_t x_64; lean_object* x_65; +x_59 = lean_ctor_get(x_9, 0); +x_60 = lean_box(0); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_10); +x_62 = lean_array_get_size(x_59); +x_63 = lean_usize_of_nat(x_62); +lean_dec(x_62); +x_64 = 0; +lean_inc(x_11); +x_65 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_60, x_59, x_63, x_64, x_61, x_11, x_12); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +if (lean_obj_tag(x_66) == 0) +{ +uint8_t x_67; +lean_dec(x_11); +x_67 = !lean_is_exclusive(x_65); +if (x_67 == 0) +{ +lean_object* x_68; uint8_t x_69; +x_68 = lean_ctor_get(x_65, 0); +lean_dec(x_68); +x_69 = !lean_is_exclusive(x_66); +if (x_69 == 0) +{ +return x_65; +} +else +{ +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_66, 0); +lean_inc(x_70); +lean_dec(x_66); +x_71 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_65, 0, x_71); +return x_65; +} +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_72 = lean_ctor_get(x_65, 1); +lean_inc(x_72); +lean_dec(x_65); +x_73 = lean_ctor_get(x_66, 0); +lean_inc(x_73); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + x_74 = x_66; +} else { + lean_dec_ref(x_66); + x_74 = lean_box(0); +} +if (lean_is_scalar(x_74)) { + x_75 = lean_alloc_ctor(0, 1, 0); +} else { + x_75 = x_74; +} +lean_ctor_set(x_75, 0, x_73); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_72); +return x_76; +} +} +else +{ +uint8_t x_77; +x_77 = !lean_is_exclusive(x_66); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_66, 0); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_free_object(x_66); +x_80 = lean_ctor_get(x_65, 1); +lean_inc(x_80); +lean_dec(x_65); +x_81 = lean_ctor_get(x_78, 1); +lean_inc(x_81); +lean_dec(x_78); +x_82 = lean_box(0); +x_83 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_81, x_82, x_11, x_80); +lean_dec(x_11); +return x_83; +} +else +{ +uint8_t x_84; +lean_dec(x_78); +lean_dec(x_11); +x_84 = !lean_is_exclusive(x_65); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_65, 0); +lean_dec(x_85); +x_86 = lean_ctor_get(x_79, 0); +lean_inc(x_86); +lean_dec(x_79); +lean_ctor_set(x_66, 0, x_86); +return x_65; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_65, 1); +lean_inc(x_87); +lean_dec(x_65); +x_88 = lean_ctor_get(x_79, 0); +lean_inc(x_88); +lean_dec(x_79); +lean_ctor_set(x_66, 0, x_88); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_66); +lean_ctor_set(x_89, 1, x_87); +return x_89; +} +} +} +else +{ +lean_object* x_90; lean_object* x_91; +x_90 = lean_ctor_get(x_66, 0); +lean_inc(x_90); +lean_dec(x_66); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_92 = lean_ctor_get(x_65, 1); +lean_inc(x_92); +lean_dec(x_65); +x_93 = lean_ctor_get(x_90, 1); +lean_inc(x_93); +lean_dec(x_90); +x_94 = lean_box(0); +x_95 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1(x_93, x_94, x_11, x_92); +lean_dec(x_11); +return x_95; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_90); +lean_dec(x_11); +x_96 = lean_ctor_get(x_65, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_97 = x_65; +} else { + lean_dec_ref(x_65); x_97 = lean_box(0); } -x_98 = lean_ctor_get(x_95, 0); +x_98 = lean_ctor_get(x_91, 0); lean_inc(x_98); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - x_99 = x_95; -} else { - lean_dec_ref(x_95); - x_99 = lean_box(0); -} -if (lean_is_scalar(x_99)) { - x_100 = lean_alloc_ctor(0, 1, 0); -} else { - x_100 = x_99; -} -lean_ctor_set(x_100, 0, x_98); +lean_dec(x_91); +x_99 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_99, 0, x_98); if (lean_is_scalar(x_97)) { - x_101 = lean_alloc_ctor(0, 2, 0); + x_100 = lean_alloc_ctor(0, 2, 0); } else { - x_101 = x_97; + x_100 = x_97; } -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_96); -return x_101; +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_96); +return x_100; +} +} +} +} +else +{ +uint8_t x_101; +lean_dec(x_11); +x_101 = !lean_is_exclusive(x_65); +if (x_101 == 0) +{ +return x_65; } else { lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_95, 0); +x_102 = lean_ctor_get(x_65, 0); +x_103 = lean_ctor_get(x_65, 1); +lean_inc(x_103); lean_inc(x_102); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - x_103 = x_95; -} else { - lean_dec_ref(x_95); - x_103 = lean_box(0); +lean_dec(x_65); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; } -x_104 = lean_ctor_get(x_102, 0); -lean_inc(x_104); -if (lean_obj_tag(x_104) == 0) +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -lean_dec(x_103); -x_105 = lean_ctor_get(x_94, 1); -lean_inc(x_105); -lean_dec(x_94); -x_106 = lean_ctor_get(x_102, 1); -lean_inc(x_106); -lean_dec(x_102); -x_107 = lean_box(0); -x_108 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_106, x_107, x_9, x_105); -return x_108; -} -else +lean_object* x_15; lean_object* x_16; uint8_t x_39; +x_39 = x_11 < x_10; +if (x_39 == 0) { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -lean_dec(x_102); -x_109 = lean_ctor_get(x_94, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_94)) { - lean_ctor_release(x_94, 0); - lean_ctor_release(x_94, 1); - x_110 = x_94; -} else { - lean_dec_ref(x_94); - x_110 = lean_box(0); -} -x_111 = lean_ctor_get(x_104, 0); -lean_inc(x_111); -lean_dec(x_104); -if (lean_is_scalar(x_103)) { - x_112 = lean_alloc_ctor(1, 1, 0); -} else { - x_112 = x_103; -} -lean_ctor_set(x_112, 0, x_111); -if (lean_is_scalar(x_110)) { - x_113 = lean_alloc_ctor(0, 2, 0); -} else { - x_113 = x_110; -} -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_109); -return x_113; -} -} -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_114 = lean_ctor_get(x_94, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_94, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_94)) { - lean_ctor_release(x_94, 0); - lean_ctor_release(x_94, 1); - x_116 = x_94; -} else { - lean_dec_ref(x_94); - x_116 = lean_box(0); -} -if (lean_is_scalar(x_116)) { - x_117 = lean_alloc_ctor(1, 2, 0); -} else { - x_117 = x_116; -} -lean_ctor_set(x_117, 0, x_114); -lean_ctor_set(x_117, 1, x_115); -return x_117; -} -} -} -} -} -else -{ -uint8_t x_118; +lean_object* x_40; lean_object* x_41; +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_118 = !lean_is_exclusive(x_12); -if (x_118 == 0) -{ -return x_12; +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_12); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_14); +return x_41; } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_12, 0); -x_120 = lean_ctor_get(x_12, 1); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_88; +x_42 = lean_array_uget(x_9, x_11); +x_43 = lean_ctor_get(x_12, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_44 = x_12; +} else { + lean_dec_ref(x_12); + x_44 = lean_box(0); +} +lean_inc(x_5); +x_88 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(x_42, x_5); +if (lean_obj_tag(x_88) == 0) +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_inc(x_7); +x_89 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_89, 0, x_7); +x_90 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_90, 0, x_89); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_14); +x_45 = x_91; +goto block_87; +} +else +{ +lean_object* x_92; lean_object* x_93; +x_92 = lean_ctor_get(x_88, 0); +lean_inc(x_92); +lean_dec(x_88); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +if (lean_obj_tag(x_93) == 1) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_92, 0); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_ctor_get(x_93, 0); +lean_inc(x_95); +lean_inc(x_2); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_6); +lean_inc(x_94); +lean_inc(x_7); +lean_inc(x_93); +x_96 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5___boxed), 10, 7); +lean_closure_set(x_96, 0, x_93); +lean_closure_set(x_96, 1, x_7); +lean_closure_set(x_96, 2, x_94); +lean_closure_set(x_96, 3, x_6); +lean_closure_set(x_96, 4, x_4); +lean_closure_set(x_96, 5, x_3); +lean_closure_set(x_96, 6, x_2); +if (x_1 == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_95, 3); +lean_inc(x_97); +lean_dec(x_95); +x_98 = lean_box(0); +lean_inc(x_13); +lean_inc(x_2); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_6); +x_99 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6(x_96, x_93, x_6, x_4, x_3, x_2, x_94, x_97, x_98, x_13, x_14); +lean_dec(x_97); +lean_dec(x_94); +x_45 = x_99; +goto block_87; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_100 = lean_ctor_get(x_95, 3); +lean_inc(x_100); +lean_dec(x_95); +x_101 = l_Lean_Elab_Info_lctx(x_93); +x_102 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7), 6, 1); +lean_closure_set(x_102, 0, x_100); +x_103 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_94, x_101, x_102, x_14); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_box(0); +lean_inc(x_13); +lean_inc(x_2); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_6); +x_107 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6(x_96, x_93, x_6, x_4, x_3, x_2, x_94, x_104, x_106, x_13, x_105); +lean_dec(x_104); +lean_dec(x_94); +x_45 = x_107; +goto block_87; +} +else +{ +uint8_t x_108; +lean_dec(x_96); +lean_dec(x_94); +lean_dec(x_93); +x_108 = !lean_is_exclusive(x_103); +if (x_108 == 0) +{ +x_45 = x_103; +goto block_87; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_103, 0); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_103); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +x_45 = x_111; +goto block_87; +} +} +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_92, 0); +lean_inc(x_112); +lean_dec(x_92); +x_113 = lean_box(0); +lean_inc(x_2); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_6); +lean_inc(x_7); +x_114 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5(x_93, x_7, x_112, x_6, x_4, x_3, x_2, x_113, x_13, x_14); +x_45 = x_114; +goto block_87; +} +} +block_87: +{ +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; uint8_t x_48; +lean_dec(x_44); +lean_dec(x_43); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = !lean_is_exclusive(x_46); +if (x_48 == 0) +{ +x_15 = x_46; +x_16 = x_47; +goto block_38; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_46, 0); +lean_inc(x_49); +lean_dec(x_46); +x_50 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_15 = x_50; +x_16 = x_47; +goto block_38; +} +} +else +{ +uint8_t x_51; +x_51 = !lean_is_exclusive(x_46); +if (x_51 == 0) +{ +lean_object* x_52; +x_52 = lean_ctor_get(x_46, 0); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_45, 1); +lean_inc(x_53); +lean_dec(x_45); +x_54 = !lean_is_exclusive(x_52); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_52, 0); +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, x_55); +if (lean_is_scalar(x_44)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_44; +} +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_43); +lean_ctor_set(x_52, 0, x_57); +x_15 = x_46; +x_16 = x_53; +goto block_38; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_52, 0); +lean_inc(x_58); +lean_dec(x_52); +x_59 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_59, 0, x_58); +if (lean_is_scalar(x_44)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_44; +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_43); +x_61 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_46, 0, x_61); +x_15 = x_46; +x_16 = x_53; +goto block_38; +} +} +else +{ +lean_object* x_62; uint8_t x_63; +lean_dec(x_43); +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = !lean_is_exclusive(x_52); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_52, 0); +lean_inc(x_8); +if (lean_is_scalar(x_44)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_44; +} +lean_ctor_set(x_65, 0, x_8); +lean_ctor_set(x_65, 1, x_64); +lean_ctor_set(x_52, 0, x_65); +x_15 = x_46; +x_16 = x_62; +goto block_38; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_52, 0); +lean_inc(x_66); +lean_dec(x_52); +lean_inc(x_8); +if (lean_is_scalar(x_44)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_44; +} +lean_ctor_set(x_67, 0, x_8); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_46, 0, x_68); +x_15 = x_46; +x_16 = x_62; +goto block_38; +} +} +} +else +{ +lean_object* x_69; +x_69 = lean_ctor_get(x_46, 0); +lean_inc(x_69); +lean_dec(x_46); +if (lean_obj_tag(x_69) == 0) +{ +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; +x_70 = lean_ctor_get(x_45, 1); +lean_inc(x_70); +lean_dec(x_45); +x_71 = lean_ctor_get(x_69, 0); +lean_inc(x_71); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + x_72 = x_69; +} else { + lean_dec_ref(x_69); + x_72 = lean_box(0); +} +x_73 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_73, 0, x_71); +if (lean_is_scalar(x_44)) { + x_74 = lean_alloc_ctor(0, 2, 0); +} else { + x_74 = x_44; +} +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_43); +if (lean_is_scalar(x_72)) { + x_75 = lean_alloc_ctor(0, 1, 0); +} else { + x_75 = x_72; +} +lean_ctor_set(x_75, 0, x_74); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_75); +x_15 = x_76; +x_16 = x_70; +goto block_38; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_43); +x_77 = lean_ctor_get(x_45, 1); +lean_inc(x_77); +lean_dec(x_45); +x_78 = lean_ctor_get(x_69, 0); +lean_inc(x_78); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + x_79 = x_69; +} else { + lean_dec_ref(x_69); + x_79 = lean_box(0); +} +lean_inc(x_8); +if (lean_is_scalar(x_44)) { + x_80 = lean_alloc_ctor(0, 2, 0); +} else { + x_80 = x_44; +} +lean_ctor_set(x_80, 0, x_8); +lean_ctor_set(x_80, 1, x_78); +if (lean_is_scalar(x_79)) { + x_81 = lean_alloc_ctor(1, 1, 0); +} else { + x_81 = x_79; +} +lean_ctor_set(x_81, 0, x_80); +x_82 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_82, 0, x_81); +x_15 = x_82; +x_16 = x_77; +goto block_38; +} +} +} +} +else +{ +uint8_t x_83; +lean_dec(x_44); +lean_dec(x_43); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_83 = !lean_is_exclusive(x_45); +if (x_83 == 0) +{ +return x_45; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_45, 0); +x_85 = lean_ctor_get(x_45, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_45); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} +} +} +} +block_38: +{ +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_17; +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_16); +return x_21; +} +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_15, 0); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +lean_dec(x_23); +lean_ctor_set(x_15, 0, x_24); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_15); +lean_ctor_set(x_25, 1, x_16); +return x_25; +} +else +{ +lean_object* x_26; size_t x_27; size_t x_28; +lean_free_object(x_15); +x_26 = lean_ctor_get(x_23, 0); +lean_inc(x_26); +lean_dec(x_23); +x_27 = 1; +x_28 = x_11 + x_27; +x_11 = x_28; +x_12 = x_26; +x_14 = x_16; +goto _start; +} +} +else +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_15, 0); +lean_inc(x_30); +lean_dec(x_15); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_16); +return x_33; +} +else +{ +lean_object* x_34; size_t x_35; size_t x_36; +x_34 = lean_ctor_get(x_30, 0); +lean_inc(x_34); +lean_dec(x_30); +x_35 = 1; +x_36 = x_11 + x_35; +x_11 = x_36; +x_12 = x_34; +x_14 = x_16; +goto _start; +} +} +} +} +} +} +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_13 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_12, x_9, x_10, x_11); +lean_dec(x_9); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_13, 0); +lean_dec(x_16); +x_17 = !lean_is_exclusive(x_14); +if (x_17 == 0) +{ +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_13, 0, x_19); +return x_13; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_dec(x_13); +x_21 = lean_ctor_get(x_14, 0); +lean_inc(x_21); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_22 = x_14; +} else { + lean_dec_ref(x_14); + x_22 = lean_box(0); +} +if (lean_is_scalar(x_22)) { + x_23 = lean_alloc_ctor(0, 1, 0); +} else { + x_23 = x_22; +} +lean_ctor_set(x_23, 0, x_21); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_20); +return x_24; +} +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_14); +if (x_25 == 0) +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_14, 0); +if (lean_obj_tag(x_26) == 0) +{ +uint8_t x_27; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_27 = !lean_is_exclusive(x_13); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_13, 0); +lean_dec(x_28); +x_29 = lean_ctor_get(x_26, 0); +lean_inc(x_29); +lean_dec(x_26); +lean_ctor_set(x_14, 0, x_29); +return x_13; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_13, 1); +lean_inc(x_30); +lean_dec(x_13); +x_31 = lean_ctor_get(x_26, 0); +lean_inc(x_31); +lean_dec(x_26); +lean_ctor_set(x_14, 0, x_31); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_14); +lean_ctor_set(x_32, 1, x_30); +return x_32; +} +} +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; size_t x_39; size_t x_40; lean_object* x_41; +lean_free_object(x_14); +x_33 = lean_ctor_get(x_13, 1); +lean_inc(x_33); +lean_dec(x_13); +x_34 = lean_ctor_get(x_26, 0); +lean_inc(x_34); +lean_dec(x_26); +x_35 = lean_ctor_get(x_8, 1); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +x_38 = lean_array_get_size(x_35); +x_39 = lean_usize_of_nat(x_38); +lean_dec(x_38); +x_40 = 0; +lean_inc(x_10); +x_41 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_36, x_35, x_39, x_40, x_37, x_10, x_33); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +if (lean_obj_tag(x_42) == 0) +{ +uint8_t x_43; +lean_dec(x_10); +x_43 = !lean_is_exclusive(x_41); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_41, 0); +lean_dec(x_44); +x_45 = !lean_is_exclusive(x_42); +if (x_45 == 0) +{ +return x_41; +} +else +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_42, 0); +lean_inc(x_46); +lean_dec(x_42); +x_47 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_41, 0, x_47); +return x_41; +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_48 = lean_ctor_get(x_41, 1); +lean_inc(x_48); +lean_dec(x_41); +x_49 = lean_ctor_get(x_42, 0); +lean_inc(x_49); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + x_50 = x_42; +} else { + lean_dec_ref(x_42); + x_50 = lean_box(0); +} +if (lean_is_scalar(x_50)) { + x_51 = lean_alloc_ctor(0, 1, 0); +} else { + x_51 = x_50; +} +lean_ctor_set(x_51, 0, x_49); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_48); +return x_52; +} +} +else +{ +uint8_t x_53; +x_53 = !lean_is_exclusive(x_42); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_42, 0); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_free_object(x_42); +x_56 = lean_ctor_get(x_41, 1); +lean_inc(x_56); +lean_dec(x_41); +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = lean_box(0); +x_59 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_57, x_58, x_10, x_56); +lean_dec(x_10); +return x_59; +} +else +{ +uint8_t x_60; +lean_dec(x_54); +lean_dec(x_10); +x_60 = !lean_is_exclusive(x_41); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_41, 0); +lean_dec(x_61); +x_62 = lean_ctor_get(x_55, 0); +lean_inc(x_62); +lean_dec(x_55); +lean_ctor_set(x_42, 0, x_62); +return x_41; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_41, 1); +lean_inc(x_63); +lean_dec(x_41); +x_64 = lean_ctor_get(x_55, 0); +lean_inc(x_64); +lean_dec(x_55); +lean_ctor_set(x_42, 0, x_64); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_42); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_42, 0); +lean_inc(x_66); +lean_dec(x_42); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_68 = lean_ctor_get(x_41, 1); +lean_inc(x_68); +lean_dec(x_41); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +x_70 = lean_box(0); +x_71 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_69, x_70, x_10, x_68); +lean_dec(x_10); +return x_71; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_66); +lean_dec(x_10); +x_72 = lean_ctor_get(x_41, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_73 = x_41; +} else { + lean_dec_ref(x_41); + x_73 = lean_box(0); +} +x_74 = lean_ctor_get(x_67, 0); +lean_inc(x_74); +lean_dec(x_67); +x_75 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_75, 0, x_74); +if (lean_is_scalar(x_73)) { + x_76 = lean_alloc_ctor(0, 2, 0); +} else { + x_76 = x_73; +} +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_72); +return x_76; +} +} +} +} +else +{ +uint8_t x_77; +lean_dec(x_10); +x_77 = !lean_is_exclusive(x_41); +if (x_77 == 0) +{ +return x_41; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_41, 0); +x_79 = lean_ctor_get(x_41, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_41); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +} +} +else +{ +lean_object* x_81; +x_81 = lean_ctor_get(x_14, 0); +lean_inc(x_81); +lean_dec(x_14); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_82 = lean_ctor_get(x_13, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + x_83 = x_13; +} else { + lean_dec_ref(x_13); + x_83 = lean_box(0); +} +x_84 = lean_ctor_get(x_81, 0); +lean_inc(x_84); +lean_dec(x_81); +x_85 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_85, 0, x_84); +if (lean_is_scalar(x_83)) { + x_86 = lean_alloc_ctor(0, 2, 0); +} else { + x_86 = x_83; +} +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_82); +return x_86; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; size_t x_93; size_t x_94; lean_object* x_95; +x_87 = lean_ctor_get(x_13, 1); +lean_inc(x_87); +lean_dec(x_13); +x_88 = lean_ctor_get(x_81, 0); +lean_inc(x_88); +lean_dec(x_81); +x_89 = lean_ctor_get(x_8, 1); +x_90 = lean_box(0); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_88); +x_92 = lean_array_get_size(x_89); +x_93 = lean_usize_of_nat(x_92); +lean_dec(x_92); +x_94 = 0; +lean_inc(x_10); +x_95 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_90, x_89, x_93, x_94, x_91, x_10, x_87); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +if (lean_obj_tag(x_96) == 0) +{ +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_dec(x_10); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_98 = x_95; +} else { + lean_dec_ref(x_95); + x_98 = lean_box(0); +} +x_99 = lean_ctor_get(x_96, 0); +lean_inc(x_99); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + x_100 = x_96; +} else { + lean_dec_ref(x_96); + x_100 = lean_box(0); +} +if (lean_is_scalar(x_100)) { + x_101 = lean_alloc_ctor(0, 1, 0); +} else { + x_101 = x_100; +} +lean_ctor_set(x_101, 0, x_99); +if (lean_is_scalar(x_98)) { + x_102 = lean_alloc_ctor(0, 2, 0); +} else { + x_102 = x_98; +} +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_97); +return x_102; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_96, 0); +lean_inc(x_103); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + x_104 = x_96; +} else { + lean_dec_ref(x_96); + x_104 = lean_box(0); +} +x_105 = lean_ctor_get(x_103, 0); +lean_inc(x_105); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +lean_dec(x_104); +x_106 = lean_ctor_get(x_95, 1); +lean_inc(x_106); +lean_dec(x_95); +x_107 = lean_ctor_get(x_103, 1); +lean_inc(x_107); +lean_dec(x_103); +x_108 = lean_box(0); +x_109 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_107, x_108, x_10, x_106); +lean_dec(x_10); +return x_109; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +lean_dec(x_103); +lean_dec(x_10); +x_110 = lean_ctor_get(x_95, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_111 = x_95; +} else { + lean_dec_ref(x_95); + x_111 = lean_box(0); +} +x_112 = lean_ctor_get(x_105, 0); +lean_inc(x_112); +lean_dec(x_105); +if (lean_is_scalar(x_104)) { + x_113 = lean_alloc_ctor(1, 1, 0); +} else { + x_113 = x_104; +} +lean_ctor_set(x_113, 0, x_112); +if (lean_is_scalar(x_111)) { + x_114 = lean_alloc_ctor(0, 2, 0); +} else { + x_114 = x_111; +} +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_110); +return x_114; +} +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_10); +x_115 = lean_ctor_get(x_95, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_95, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_117 = x_95; +} else { + lean_dec_ref(x_95); + x_117 = lean_box(0); +} +if (lean_is_scalar(x_117)) { + x_118 = lean_alloc_ctor(1, 2, 0); +} else { + x_118 = x_117; +} +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_116); +return x_118; +} +} +} +} +} +else +{ +uint8_t x_119; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_119 = !lean_is_exclusive(x_13); +if (x_119 == 0) +{ +return x_13; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_13, 0); +x_121 = lean_ctor_get(x_13, 1); +lean_inc(x_121); lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_12); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; +lean_dec(x_13); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +return x_122; } } } @@ -9945,7 +10411,9 @@ x_10 = lean_ctor_get(x_7, 3); x_11 = lean_ctor_get(x_10, 7); x_12 = lean_ctor_get(x_11, 1); x_13 = l_Lean_Server_FileWorker_handleCompletion___lambda__2___closed__1; -x_14 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(x_1, x_2, x_3, x_4, x_5, x_13, x_12, x_13, x_8, x_9); +lean_inc(x_8); +lean_inc(x_6); +x_14 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_12, x_13, x_8, x_9); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; @@ -9954,6 +10422,7 @@ lean_inc(x_15); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; +lean_dec(x_8); lean_dec(x_6); x_16 = !lean_is_exclusive(x_14); if (x_16 == 0) @@ -10025,11 +10494,13 @@ lean_inc(x_29); lean_dec(x_14); x_30 = lean_box(0); x_31 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_6, x_30, x_8, x_29); +lean_dec(x_8); return x_31; } else { uint8_t x_32; +lean_dec(x_8); lean_dec(x_6); x_32 = !lean_is_exclusive(x_14); if (x_32 == 0) @@ -10077,11 +10548,13 @@ lean_inc(x_40); lean_dec(x_14); x_41 = lean_box(0); x_42 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1(x_6, x_41, x_8, x_40); +lean_dec(x_8); return x_42; } else { lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_8); lean_dec(x_6); x_43 = lean_ctor_get(x_14, 1); lean_inc(x_43); @@ -10113,6 +10586,7 @@ return x_47; else { uint8_t x_48; +lean_dec(x_8); lean_dec(x_6); x_48 = !lean_is_exclusive(x_14); if (x_48 == 0) @@ -10220,35 +10694,33 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* 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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* 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) { _start: { -uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_15 = lean_unbox(x_1); +uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_16 = lean_unbox(x_1); lean_dec(x_1); -x_16 = lean_unbox_usize(x_10); -lean_dec(x_10); x_17 = lean_unbox_usize(x_11); lean_dec(x_11); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16, x_17, x_12, x_13, x_14); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -return x_18; +x_18 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_19 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17, x_18, x_13, x_14, x_15); +lean_dec(x_10); +lean_dec(x_8); +return x_19; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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_10; -x_10 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); +lean_object* x_8; +x_8 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_8; } } lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -10259,77 +10731,112 @@ x_11 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___s lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); return x_11; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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, lean_object* x_13) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_14 = lean_unbox(x_1); -lean_dec(x_1); -x_15 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_16 = lean_unbox_usize(x_10); +lean_object* x_12; +x_12 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15, x_16, x_11, x_12, x_13); -lean_dec(x_12); +lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_17; +return x_12; } } -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5___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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +return x_12; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_11; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_12; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_15 = lean_unbox(x_1); +lean_dec(x_1); +x_16 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_17 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16, x_17, x_12, x_13, x_14); +lean_dec(x_9); +return x_18; +} +} +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5___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: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_1); +lean_dec(x_1); +x_14 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_13, 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_9); +lean_dec(x_8); +return x_14; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8___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, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_15 = lean_unbox(x_1); +lean_dec(x_1); +x_16 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_17 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16, x_17, x_12, x_13, x_14); +lean_dec(x_9); +return x_18; +} +} +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_1); lean_dec(x_1); -x_13 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); +x_13 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); return x_13; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8___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, lean_object* x_13) { -_start: -{ -uint8_t x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_14 = lean_unbox(x_1); -lean_dec(x_1); -x_15 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_16 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15, x_16, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -return x_17; -} -} -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_1); -lean_dec(x_1); -x_12 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} lean_object* l_Lean_Server_FileWorker_handleDefinition___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) { _start: { @@ -10337,10 +10844,7 @@ uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); x_11 = l_Lean_Server_FileWorker_handleDefinition___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); return x_11; } } @@ -10970,10 +11474,10 @@ if (x_46 == 0) lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; x_47 = lean_ctor_get(x_44, 2); lean_dec(x_47); -x_48 = lean_ctor_get(x_45, 0); +x_48 = lean_ctor_get(x_45, 1); lean_inc(x_48); lean_ctor_set(x_44, 2, x_48); -x_49 = lean_ctor_get(x_45, 1); +x_49 = lean_ctor_get(x_45, 2); lean_inc(x_49); lean_dec(x_45); x_50 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4), 6, 1); @@ -11034,7 +11538,7 @@ lean_inc(x_62); lean_inc(x_61); lean_inc(x_60); lean_dec(x_44); -x_65 = lean_ctor_get(x_45, 0); +x_65 = lean_ctor_get(x_45, 1); lean_inc(x_65); x_66 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_66, 0, x_60); @@ -11043,7 +11547,7 @@ lean_ctor_set(x_66, 2, x_65); lean_ctor_set(x_66, 3, x_62); lean_ctor_set(x_66, 4, x_63); lean_ctor_set(x_66, 5, x_64); -x_67 = lean_ctor_get(x_45, 1); +x_67 = lean_ctor_get(x_45, 2); lean_inc(x_67); lean_dec(x_45); x_68 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__4), 6, 1); @@ -14355,137 +14859,87 @@ lean_dec(x_4); return x_7; } } -uint8_t l_Lean_Server_FileWorker_hasRange(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_2; lean_object* x_3; -x_2 = 0; -x_3 = l_Lean_Syntax_getPos_x3f(x_1, x_2); -if (lean_obj_tag(x_3) == 0) +if (lean_obj_tag(x_1) == 0) { -uint8_t x_4; -x_4 = 0; +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); return x_4; } else { -lean_object* x_5; +lean_object* x_5; lean_object* x_6; lean_dec(x_3); -x_5 = l_Lean_Syntax_getTailPos_x3f(x_1, x_2); -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_6; -x_6 = 0; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); return x_6; } -else -{ -uint8_t x_7; -lean_dec(x_5); -x_7 = 1; -return x_7; } } -} -} -lean_object* l_Lean_Server_FileWorker_hasRange___boxed(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__1(lean_object* x_1) { _start: { -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Server_FileWorker_hasRange(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal_match__1___rarg), 3, 0); +return x_2; } } -lean_object* l_Lean_Server_FileWorker_rangeOfSyntax_x21(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_3 = 0; -x_4 = l_Lean_Syntax_getPos_x3f(x_2, x_3); -x_5 = l_Lean_Syntax_getTailPos_x3f(x_2, x_3); -if (lean_obj_tag(x_4) == 0) +if (lean_obj_tag(x_1) == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_6 = l_instInhabitedNat; -x_7 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; -x_8 = lean_panic_fn(x_6, x_7); -x_9 = l_Lean_FileMap_utf8PosToLspPos(x_1, x_8); -lean_dec(x_8); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_panic_fn(x_6, x_7); -x_11 = l_Lean_FileMap_utf8PosToLspPos(x_1, x_10); -lean_dec(x_10); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_9); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_5, 0); -lean_inc(x_13); -lean_dec(x_5); -x_14 = l_Lean_FileMap_utf8PosToLspPos(x_1, x_13); -lean_dec(x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_9); -lean_ctor_set(x_15, 1, x_14); -return x_15; -} -} -else -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_4, 0); -lean_inc(x_16); -lean_dec(x_4); -x_17 = l_Lean_FileMap_utf8PosToLspPos(x_1, x_16); -lean_dec(x_16); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = l_instInhabitedNat; -x_19 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; -x_20 = lean_panic_fn(x_18, x_19); -x_21 = l_Lean_FileMap_utf8PosToLspPos(x_1, x_20); -lean_dec(x_20); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_17); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_5, 0); -lean_inc(x_23); -lean_dec(x_5); -x_24 = l_Lean_FileMap_utf8PosToLspPos(x_1, x_23); -lean_dec(x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_17); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -} -lean_object* l_Lean_Server_FileWorker_rangeOfSyntax_x21___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_2); +lean_object* x_4; lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 1) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); lean_dec(x_1); -return x_3; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +x_9 = lean_apply_3(x_2, x_7, x_6, x_8); +return x_9; +} +else +{ +lean_object* x_10; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_10 = lean_apply_1(x_3, x_1); +return x_10; } } -lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +} +} +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -14508,11 +14962,11 @@ return x_7; } } } -lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__1(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal_match__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal_match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal_match__3___rarg), 3, 0); return x_2; } } @@ -15004,7 +15458,7 @@ x_8 = l_Lean_Meta_inferType(x_1, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; -x_9 = lean_ctor_get(x_2, 1); +x_9 = lean_ctor_get(x_2, 2); lean_inc(x_9); lean_dec(x_2); if (lean_obj_tag(x_9) == 0) @@ -15307,12 +15761,9 @@ lean_inc(x_67); lean_dec(x_65); x_68 = lean_ctor_get(x_66, 0); lean_inc(x_68); -lean_dec(x_66); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 2); +x_69 = l_Lean_Elab_Info_lctx(x_66); +x_70 = lean_ctor_get(x_68, 3); lean_inc(x_70); -lean_inc(x_68); x_71 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1), 7, 2); lean_closure_set(x_71, 0, x_70); lean_closure_set(x_71, 1, x_68); @@ -15320,58 +15771,59 @@ x_72 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_67, x_69, x_71, x_11); lean_dec(x_67); if (lean_obj_tag(x_72) == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; lean_object* x_78; +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); x_74 = lean_ctor_get(x_72, 1); lean_inc(x_74); lean_dec(x_72); -x_75 = lean_ctor_get(x_68, 3); -lean_inc(x_75); -lean_dec(x_68); -x_76 = l_Lean_Server_FileWorker_hasRange(x_75); -x_77 = l_Std_Format_defWidth; -x_78 = lean_format_pretty(x_73, x_77); -if (x_76 == 0) +x_75 = l_Lean_Elab_Info_range_x3f(x_66); +lean_dec(x_66); +x_76 = l_Std_Format_defWidth; +x_77 = lean_format_pretty(x_73, x_76); +if (lean_obj_tag(x_75) == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_dec(x_75); +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_inc_n(x_2, 2); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_2); +lean_ctor_set(x_78, 1, x_2); x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_2); -lean_ctor_set(x_79, 1, x_2); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -lean_ctor_set(x_61, 0, x_80); -x_81 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_81, 0, x_61); -x_82 = lean_box(0); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +lean_ctor_set(x_61, 0, x_79); +x_80 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_80, 0, x_61); +x_81 = lean_box(0); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_83, 0, x_82); +x_84 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_84, 0, x_83); -x_85 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_85, 0, x_84); -x_37 = x_85; +x_37 = x_84; x_38 = x_74; goto block_60; } else { +uint8_t x_85; +x_85 = !lean_is_exclusive(x_75); +if (x_85 == 0) +{ 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; -x_86 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_75); -lean_dec(x_75); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_78); -lean_ctor_set(x_87, 1, x_86); -lean_ctor_set(x_61, 0, x_87); -x_88 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_88, 0, x_61); +x_86 = lean_ctor_get(x_75, 0); +x_87 = l_String_Range_toLspRange(x_1, x_86); +lean_dec(x_86); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_77); +lean_ctor_set(x_88, 1, x_87); +lean_ctor_set(x_75, 0, x_88); +lean_ctor_set(x_61, 0, x_75); x_89 = lean_box(0); x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 0, x_61); lean_ctor_set(x_90, 1, x_89); x_91 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_91, 0, x_90); @@ -15381,11 +15833,38 @@ x_37 = x_92; x_38 = x_74; goto block_60; } +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_99; lean_object* x_100; +x_93 = lean_ctor_get(x_75, 0); +lean_inc(x_93); +lean_dec(x_75); +x_94 = l_String_Range_toLspRange(x_1, x_93); +lean_dec(x_93); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_77); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_61, 0, x_96); +x_97 = lean_box(0); +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_61); +lean_ctor_set(x_98, 1, x_97); +x_99 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_99, 0, x_98); +x_100 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_100, 0, x_99); +x_37 = x_100; +x_38 = x_74; +goto block_60; +} +} } else { -uint8_t x_93; -lean_dec(x_68); +uint8_t x_101; +lean_dec(x_66); lean_free_object(x_61); lean_dec(x_36); lean_dec(x_35); @@ -15393,178 +15872,185 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_93 = !lean_is_exclusive(x_72); -if (x_93 == 0) +x_101 = !lean_is_exclusive(x_72); +if (x_101 == 0) { return x_72; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_72, 0); -x_95 = lean_ctor_get(x_72, 1); -lean_inc(x_95); -lean_inc(x_94); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_72, 0); +x_103 = lean_ctor_get(x_72, 1); +lean_inc(x_103); +lean_inc(x_102); lean_dec(x_72); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; } } } else { -lean_object* x_97; lean_object* x_98; +lean_object* x_105; lean_object* x_106; lean_dec(x_66); lean_free_object(x_61); lean_dec(x_65); lean_inc(x_4); -x_97 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_97, 0, x_4); -x_98 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_98, 0, x_97); -x_37 = x_98; +x_105 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_105, 0, x_4); +x_106 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_106, 0, x_105); +x_37 = x_106; x_38 = x_11; goto block_60; } } else { -lean_object* x_99; lean_object* x_100; -x_99 = lean_ctor_get(x_61, 0); -lean_inc(x_99); -lean_dec(x_61); -x_100 = lean_ctor_get(x_99, 1); -lean_inc(x_100); -if (lean_obj_tag(x_100) == 1) -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_101 = lean_ctor_get(x_99, 0); -lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_ctor_get(x_100, 0); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 2); -lean_inc(x_104); -lean_inc(x_102); -x_105 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1), 7, 2); -lean_closure_set(x_105, 0, x_104); -lean_closure_set(x_105, 1, x_102); -x_106 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_101, x_103, x_105, x_11); -lean_dec(x_101); -if (lean_obj_tag(x_106) == 0) -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; -x_107 = lean_ctor_get(x_106, 0); +lean_object* x_107; lean_object* x_108; +x_107 = lean_ctor_get(x_61, 0); lean_inc(x_107); -x_108 = lean_ctor_get(x_106, 1); +lean_dec(x_61); +x_108 = lean_ctor_get(x_107, 1); lean_inc(x_108); -lean_dec(x_106); -x_109 = lean_ctor_get(x_102, 3); +if (lean_obj_tag(x_108) == 1) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_109 = lean_ctor_get(x_107, 0); lean_inc(x_109); -lean_dec(x_102); -x_110 = l_Lean_Server_FileWorker_hasRange(x_109); -x_111 = l_Std_Format_defWidth; -x_112 = lean_format_pretty(x_107, x_111); -if (x_110 == 0) -{ -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_dec(x_107); +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +x_111 = l_Lean_Elab_Info_lctx(x_108); +x_112 = lean_ctor_get(x_110, 3); +lean_inc(x_112); +x_113 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1), 7, 2); +lean_closure_set(x_113, 0, x_112); +lean_closure_set(x_113, 1, x_110); +x_114 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_109, x_111, x_113, x_11); lean_dec(x_109); +if (lean_obj_tag(x_114) == 0) +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = l_Lean_Elab_Info_range_x3f(x_108); +lean_dec(x_108); +x_118 = l_Std_Format_defWidth; +x_119 = lean_format_pretty(x_115, x_118); +if (lean_obj_tag(x_117) == 0) +{ +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_inc_n(x_2, 2); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_2); -lean_ctor_set(x_113, 1, x_2); -x_114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -x_115 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_115, 0, x_114); -x_116 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_116, 0, x_115); -x_117 = lean_box(0); -x_118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_119, 0, x_118); -x_120 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_120, 0, x_119); -x_37 = x_120; -x_38 = x_108; -goto block_60; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_121 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_109); -lean_dec(x_109); -x_122 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_122, 0, x_112); -lean_ctor_set(x_122, 1, x_121); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_2); +lean_ctor_set(x_120, 1, x_2); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_122, 0, x_121); x_123 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_123, 0, x_122); -x_124 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_124, 0, x_123); -x_125 = lean_box(0); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); -x_127 = lean_alloc_ctor(0, 1, 0); +x_124 = lean_box(0); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +x_126 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_126, 0, x_125); +x_127 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_127, 0, x_126); -x_128 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_128, 0, x_127); -x_37 = x_128; -x_38 = x_108; +x_37 = x_127; +x_38 = x_116; +goto block_60; +} +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; +x_128 = lean_ctor_get(x_117, 0); +lean_inc(x_128); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + x_129 = x_117; +} else { + lean_dec_ref(x_117); + x_129 = lean_box(0); +} +x_130 = l_String_Range_toLspRange(x_1, x_128); +lean_dec(x_128); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_119); +lean_ctor_set(x_131, 1, x_130); +if (lean_is_scalar(x_129)) { + x_132 = lean_alloc_ctor(1, 1, 0); +} else { + x_132 = x_129; +} +lean_ctor_set(x_132, 0, x_131); +x_133 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_133, 0, x_132); +x_134 = lean_box(0); +x_135 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +x_136 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_136, 0, x_135); +x_137 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_137, 0, x_136); +x_37 = x_137; +x_38 = x_116; goto block_60; } } else { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -lean_dec(x_102); +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_dec(x_108); lean_dec(x_36); lean_dec(x_35); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_129 = lean_ctor_get(x_106, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_106, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_131 = x_106; +x_138 = lean_ctor_get(x_114, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_114, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_140 = x_114; } else { - lean_dec_ref(x_106); - x_131 = lean_box(0); + lean_dec_ref(x_114); + x_140 = lean_box(0); } -if (lean_is_scalar(x_131)) { - x_132 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_140)) { + x_141 = lean_alloc_ctor(1, 2, 0); } else { - x_132 = x_131; + x_141 = x_140; } -lean_ctor_set(x_132, 0, x_129); -lean_ctor_set(x_132, 1, x_130); -return x_132; +lean_ctor_set(x_141, 0, x_138); +lean_ctor_set(x_141, 1, x_139); +return x_141; } } else { -lean_object* x_133; lean_object* x_134; -lean_dec(x_100); -lean_dec(x_99); +lean_object* x_142; lean_object* x_143; +lean_dec(x_108); +lean_dec(x_107); lean_inc(x_4); -x_133 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_133, 0, x_4); -x_134 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_134, 0, x_133); -x_37 = x_134; +x_142 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_142, 0, x_4); +x_143 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_143, 0, x_142); +x_37 = x_143; x_38 = x_11; goto block_60; } @@ -16259,12 +16745,9 @@ lean_inc(x_74); lean_dec(x_72); x_75 = lean_ctor_get(x_73, 0); lean_inc(x_75); -lean_dec(x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 2); +x_76 = l_Lean_Elab_Info_lctx(x_73); +x_77 = lean_ctor_get(x_75, 3); lean_inc(x_77); -lean_inc(x_75); x_78 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1), 7, 2); lean_closure_set(x_78, 0, x_77); lean_closure_set(x_78, 1, x_75); @@ -16272,58 +16755,59 @@ x_79 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_74, x_76, x_78, x_11); lean_dec(x_74); if (lean_obj_tag(x_79) == 0) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; x_80 = lean_ctor_get(x_79, 0); lean_inc(x_80); x_81 = lean_ctor_get(x_79, 1); lean_inc(x_81); lean_dec(x_79); -x_82 = lean_ctor_get(x_75, 3); -lean_inc(x_82); -lean_dec(x_75); -x_83 = l_Lean_Server_FileWorker_hasRange(x_82); -x_84 = l_Std_Format_defWidth; -x_85 = lean_format_pretty(x_80, x_84); -if (x_83 == 0) +x_82 = l_Lean_Elab_Info_range_x3f(x_73); +lean_dec(x_73); +x_83 = l_Std_Format_defWidth; +x_84 = lean_format_pretty(x_80, x_83); +if (lean_obj_tag(x_82) == 0) { -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_dec(x_82); +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_inc_n(x_2, 2); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_2); +lean_ctor_set(x_85, 1, x_2); x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_2); -lean_ctor_set(x_86, 1, x_2); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -lean_ctor_set(x_68, 0, x_87); -x_88 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_88, 0, x_68); -x_89 = lean_box(0); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -x_91 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_68, 0, x_86); +x_87 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_87, 0, x_68); +x_88 = lean_box(0); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_90, 0, x_89); +x_91 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_91, 0, x_90); -x_92 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_92, 0, x_91); -x_37 = x_92; +x_37 = x_91; x_38 = x_81; goto block_67; } else { +uint8_t x_92; +x_92 = !lean_is_exclusive(x_82); +if (x_92 == 0) +{ 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; -x_93 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_82); -lean_dec(x_82); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_85); -lean_ctor_set(x_94, 1, x_93); -lean_ctor_set(x_68, 0, x_94); -x_95 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_95, 0, x_68); +x_93 = lean_ctor_get(x_82, 0); +x_94 = l_String_Range_toLspRange(x_1, x_93); +lean_dec(x_93); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_84); +lean_ctor_set(x_95, 1, x_94); +lean_ctor_set(x_82, 0, x_95); +lean_ctor_set(x_68, 0, x_82); x_96 = lean_box(0); x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 0, x_68); lean_ctor_set(x_97, 1, x_96); x_98 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_98, 0, x_97); @@ -16333,11 +16817,38 @@ x_37 = x_99; x_38 = x_81; goto block_67; } +else +{ +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; +x_100 = lean_ctor_get(x_82, 0); +lean_inc(x_100); +lean_dec(x_82); +x_101 = l_String_Range_toLspRange(x_1, x_100); +lean_dec(x_100); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_84); +lean_ctor_set(x_102, 1, x_101); +x_103 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_68, 0, x_103); +x_104 = lean_box(0); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_68); +lean_ctor_set(x_105, 1, x_104); +x_106 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_106, 0, x_105); +x_107 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_107, 0, x_106); +x_37 = x_107; +x_38 = x_81; +goto block_67; +} +} } else { -uint8_t x_100; -lean_dec(x_75); +uint8_t x_108; +lean_dec(x_73); lean_free_object(x_68); lean_dec(x_36); lean_dec(x_35); @@ -16345,178 +16856,185 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_100 = !lean_is_exclusive(x_79); -if (x_100 == 0) +x_108 = !lean_is_exclusive(x_79); +if (x_108 == 0) { return x_79; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_79, 0); -x_102 = lean_ctor_get(x_79, 1); -lean_inc(x_102); -lean_inc(x_101); +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_79, 0); +x_110 = lean_ctor_get(x_79, 1); +lean_inc(x_110); +lean_inc(x_109); lean_dec(x_79); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; } } } else { -lean_object* x_104; lean_object* x_105; +lean_object* x_112; lean_object* x_113; lean_dec(x_73); lean_free_object(x_68); lean_dec(x_72); lean_inc(x_4); -x_104 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_104, 0, x_4); -x_105 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_105, 0, x_104); -x_37 = x_105; +x_112 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_112, 0, x_4); +x_113 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_113, 0, x_112); +x_37 = x_113; x_38 = x_11; goto block_67; } } else { -lean_object* x_106; lean_object* x_107; -x_106 = lean_ctor_get(x_68, 0); -lean_inc(x_106); -lean_dec(x_68); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -if (lean_obj_tag(x_107) == 1) -{ -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_108 = lean_ctor_get(x_106, 0); -lean_inc(x_108); -lean_dec(x_106); -x_109 = lean_ctor_get(x_107, 0); -lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 2); -lean_inc(x_111); -lean_inc(x_109); -x_112 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1), 7, 2); -lean_closure_set(x_112, 0, x_111); -lean_closure_set(x_112, 1, x_109); -x_113 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_108, x_110, x_112, x_11); -lean_dec(x_108); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; -x_114 = lean_ctor_get(x_113, 0); +lean_object* x_114; lean_object* x_115; +x_114 = lean_ctor_get(x_68, 0); lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); +lean_dec(x_68); +x_115 = lean_ctor_get(x_114, 1); lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_ctor_get(x_109, 3); +if (lean_obj_tag(x_115) == 1) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_116 = lean_ctor_get(x_114, 0); lean_inc(x_116); -lean_dec(x_109); -x_117 = l_Lean_Server_FileWorker_hasRange(x_116); -x_118 = l_Std_Format_defWidth; -x_119 = lean_format_pretty(x_114, x_118); -if (x_117 == 0) -{ -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_dec(x_114); +x_117 = lean_ctor_get(x_115, 0); +lean_inc(x_117); +x_118 = l_Lean_Elab_Info_lctx(x_115); +x_119 = lean_ctor_get(x_117, 3); +lean_inc(x_119); +x_120 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainTermGoal___spec__4___lambda__1), 7, 2); +lean_closure_set(x_120, 0, x_119); +lean_closure_set(x_120, 1, x_117); +x_121 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_116, x_118, x_120, x_11); lean_dec(x_116); +if (lean_obj_tag(x_121) == 0) +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = l_Lean_Elab_Info_range_x3f(x_115); +lean_dec(x_115); +x_125 = l_Std_Format_defWidth; +x_126 = lean_format_pretty(x_122, x_125); +if (lean_obj_tag(x_124) == 0) +{ +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_inc_n(x_2, 2); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_2); -lean_ctor_set(x_120, 1, x_2); -x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -x_122 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_122, 0, x_121); -x_123 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_123, 0, x_122); -x_124 = lean_box(0); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_126, 0, x_125); -x_127 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_127, 0, x_126); -x_37 = x_127; -x_38 = x_115; -goto block_67; -} -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; -x_128 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_116); -lean_dec(x_116); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_119); -lean_ctor_set(x_129, 1, x_128); +x_127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_127, 0, x_2); +lean_ctor_set(x_127, 1, x_2); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_129, 0, x_128); x_130 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_130, 0, x_129); -x_131 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_131, 0, x_130); -x_132 = lean_box(0); -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_132); -x_134 = lean_alloc_ctor(0, 1, 0); +x_131 = lean_box(0); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +x_133 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_133, 0, x_132); +x_134 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_134, 0, x_133); -x_135 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_135, 0, x_134); -x_37 = x_135; -x_38 = x_115; +x_37 = x_134; +x_38 = x_123; +goto block_67; +} +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; +x_135 = lean_ctor_get(x_124, 0); +lean_inc(x_135); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + x_136 = x_124; +} else { + lean_dec_ref(x_124); + x_136 = lean_box(0); +} +x_137 = l_String_Range_toLspRange(x_1, x_135); +lean_dec(x_135); +x_138 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_126); +lean_ctor_set(x_138, 1, x_137); +if (lean_is_scalar(x_136)) { + x_139 = lean_alloc_ctor(1, 1, 0); +} else { + x_139 = x_136; +} +lean_ctor_set(x_139, 0, x_138); +x_140 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_140, 0, x_139); +x_141 = lean_box(0); +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(0, 1, 0); +lean_ctor_set(x_143, 0, x_142); +x_144 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_144, 0, x_143); +x_37 = x_144; +x_38 = x_123; goto block_67; } } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -lean_dec(x_109); +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_115); lean_dec(x_36); lean_dec(x_35); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_136 = lean_ctor_get(x_113, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_113, 1); -lean_inc(x_137); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_138 = x_113; +x_145 = lean_ctor_get(x_121, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_121, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_147 = x_121; } else { - lean_dec_ref(x_113); - x_138 = lean_box(0); + lean_dec_ref(x_121); + x_147 = lean_box(0); } -if (lean_is_scalar(x_138)) { - x_139 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_147)) { + x_148 = lean_alloc_ctor(1, 2, 0); } else { - x_139 = x_138; + x_148 = x_147; } -lean_ctor_set(x_139, 0, x_136); -lean_ctor_set(x_139, 1, x_137); -return x_139; +lean_ctor_set(x_148, 0, x_145); +lean_ctor_set(x_148, 1, x_146); +return x_148; } } else { -lean_object* x_140; lean_object* x_141; -lean_dec(x_107); -lean_dec(x_106); +lean_object* x_149; lean_object* x_150; +lean_dec(x_115); +lean_dec(x_114); lean_inc(x_4); -x_140 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_140, 0, x_4); -x_141 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_141, 0, x_140); -x_37 = x_141; +x_149 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_149, 0, x_4); +x_150 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_150, 0, x_149); +x_37 = x_150; x_38 = x_11; goto block_67; } @@ -17669,7 +18187,6 @@ x_9 = x_7 < x_6; if (x_9 == 0) { lean_dec(x_3); -lean_dec(x_1); lean_inc(x_8); return x_8; } @@ -17678,7 +18195,6 @@ else lean_object* x_10; lean_object* x_11; x_10 = lean_array_uget(x_5, x_7); lean_inc(x_3); -lean_inc(x_1); x_11 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f(x_1, x_2, x_3, x_10); if (lean_obj_tag(x_11) == 0) { @@ -17697,7 +18213,6 @@ else { uint8_t x_15; lean_dec(x_3); -lean_dec(x_1); x_15 = !lean_is_exclusive(x_11); if (x_15 == 0) { @@ -17734,7 +18249,6 @@ x_9 = x_7 < x_6; if (x_9 == 0) { lean_dec(x_3); -lean_dec(x_1); lean_inc(x_8); return x_8; } @@ -17743,7 +18257,6 @@ else lean_object* x_10; lean_object* x_11; x_10 = lean_array_uget(x_5, x_7); lean_inc(x_3); -lean_inc(x_1); x_11 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f(x_1, x_2, x_3, x_10); if (lean_obj_tag(x_11) == 0) { @@ -17762,7 +18275,6 @@ else { uint8_t x_15; lean_dec(x_3); -lean_dec(x_1); x_15 = !lean_is_exclusive(x_11); if (x_15 == 0) { @@ -17798,6 +18310,14 @@ lean_inc(x_1); return x_1; } } +lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___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_6; +x_6 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f(x_1, x_2, x_3, x_4); +return x_6; +} +} static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__1() { _start: { @@ -17910,368 +18430,300 @@ return x_3; lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = l_Lean_FileMap_lspPosToUtf8Pos(x_2, x_5); -x_7 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__8; +lean_object* x_5; uint8_t x_6; +x_5 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__8; +lean_inc(x_4); +x_6 = l_Lean_Syntax_isOfKind(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; +x_7 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__10; lean_inc(x_4); x_8 = l_Lean_Syntax_isOfKind(x_4, x_7); if (x_8 == 0) { -lean_object* x_9; uint8_t x_10; -lean_dec(x_6); -x_9 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__10; -lean_inc(x_4); -x_10 = l_Lean_Syntax_isOfKind(x_4, x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_11 = l_Lean_Syntax_getArgs(x_4); +lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_9 = l_Lean_Syntax_getArgs(x_4); lean_dec(x_4); -x_12 = lean_array_get_size(x_11); -x_13 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_14 = 0; -x_15 = l_Lean_Server_FileWorker_handleCompletion___lambda__2___closed__1; -x_16 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__1(x_1, x_2, x_3, x_15, x_11, x_13, x_14, x_15); -lean_dec(x_11); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -lean_dec(x_16); -if (lean_obj_tag(x_17) == 0) +x_10 = lean_array_get_size(x_9); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = l_Lean_Server_FileWorker_handleCompletion___lambda__2___closed__1; +x_14 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__1(x_1, x_2, x_3, x_13, x_9, x_11, x_12, x_13); +lean_dec(x_9); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_18; -x_18 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__11; -return x_18; +lean_object* x_16; +x_16 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__11; +return x_16; } else { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_17); -if (x_19 == 0) +uint8_t x_17; +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) { -return x_17; +return x_15; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 0); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_20); -return x_21; +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_18); +return x_19; } } } else { -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_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_dec(x_3); -x_22 = lean_unsigned_to_nat(0u); +x_20 = lean_unsigned_to_nat(0u); +x_21 = l_Lean_Syntax_getArg(x_4, x_20); +x_22 = lean_unsigned_to_nat(1u); x_23 = l_Lean_Syntax_getArg(x_4, x_22); -x_24 = lean_unsigned_to_nat(1u); -x_25 = l_Lean_Syntax_getArg(x_4, x_24); lean_dec(x_4); -x_26 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_2, x_23); -lean_dec(x_23); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -x_3 = x_27; -x_4 = x_25; +x_24 = 0; +x_25 = l_Lean_Syntax_getRange_x3f(x_21, x_24); +lean_dec(x_21); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = l_String_instInhabitedRange; +x_27 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; +x_28 = lean_panic_fn(x_26, x_27); +x_29 = l_String_Range_toLspRange(x_1, x_28); +lean_dec(x_28); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_3 = x_30; +x_4 = x_23; goto _start; } -} else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_29 = lean_unsigned_to_nat(0u); -x_30 = l_Lean_Syntax_getArg(x_4, x_29); -x_31 = lean_unsigned_to_nat(1u); -x_32 = l_Lean_Syntax_getArg(x_4, x_31); -x_33 = l_Lean_nullKind; -lean_inc(x_32); -x_34 = l_Lean_Syntax_isNodeOf(x_32, x_33, x_31); -if (x_34 == 0) +uint8_t x_32; +x_32 = !lean_is_exclusive(x_25); +if (x_32 == 0) { -lean_object* x_35; lean_object* x_36; size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -lean_dec(x_32); -lean_dec(x_30); -lean_dec(x_6); -x_35 = l_Lean_Syntax_getArgs(x_4); -lean_dec(x_4); -x_36 = lean_array_get_size(x_35); -x_37 = lean_usize_of_nat(x_36); +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_25, 0); +x_34 = l_String_Range_toLspRange(x_1, x_33); +lean_dec(x_33); +lean_ctor_set(x_25, 0, x_34); +x_3 = x_25; +x_4 = x_23; +goto _start; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_25, 0); +lean_inc(x_36); +lean_dec(x_25); +x_37 = l_String_Range_toLspRange(x_1, x_36); lean_dec(x_36); -x_38 = 0; -x_39 = l_Lean_Server_FileWorker_handleCompletion___lambda__2___closed__1; -x_40 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__2(x_1, x_2, x_3, x_39, x_35, x_37, x_38, x_39); -lean_dec(x_35); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -lean_dec(x_40); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; -x_42 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__11; -return x_42; +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_3 = x_38; +x_4 = x_23; +goto _start; +} +} +} } else { -uint8_t x_43; -x_43 = !lean_is_exclusive(x_41); -if (x_43 == 0) +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_40 = lean_unsigned_to_nat(0u); +x_41 = l_Lean_Syntax_getArg(x_4, x_40); +x_42 = lean_unsigned_to_nat(1u); +x_43 = l_Lean_Syntax_getArg(x_4, x_42); +x_44 = l_Lean_nullKind; +lean_inc(x_43); +x_45 = l_Lean_Syntax_isNodeOf(x_43, x_44, x_42); +if (x_45 == 0) { -return x_41; -} -else -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_41, 0); -lean_inc(x_44); +lean_object* x_46; lean_object* x_47; size_t x_48; size_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_43); lean_dec(x_41); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_44); -return x_45; -} -} -} -else -{ -lean_object* x_46; lean_object* x_47; uint8_t x_97; lean_object* x_98; -x_46 = l_Lean_Syntax_getArg(x_32, x_29); -lean_dec(x_32); -x_97 = 0; -x_98 = l_Lean_Syntax_getPos_x3f(x_4, x_97); -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = l_instInhabitedNat; -x_100 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; -x_101 = lean_panic_fn(x_99, x_100); -x_47 = x_101; -goto block_96; -} -else -{ -lean_object* x_102; -x_102 = lean_ctor_get(x_98, 0); -lean_inc(x_102); -lean_dec(x_98); -x_47 = x_102; -goto block_96; -} -block_96: -{ -uint8_t x_48; -x_48 = lean_nat_dec_le(x_47, x_6); +x_46 = l_Lean_Syntax_getArgs(x_4); +lean_dec(x_4); +x_47 = lean_array_get_size(x_46); +x_48 = lean_usize_of_nat(x_47); lean_dec(x_47); -if (x_48 == 0) -{ -lean_dec(x_30); -lean_dec(x_6); -lean_dec(x_4); -x_4 = x_46; -goto _start; -} -else -{ -uint8_t x_50; lean_object* x_51; -x_50 = 0; -x_51 = l_Lean_Syntax_getTailPos_x3f(x_4, x_50); -lean_dec(x_4); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_52 = l_instInhabitedNat; -x_53 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; -x_54 = lean_panic_fn(x_52, x_53); -x_55 = lean_nat_dec_lt(x_6, x_54); -lean_dec(x_54); -lean_dec(x_6); -if (x_55 == 0) -{ -lean_dec(x_30); -x_4 = x_46; -goto _start; -} -else -{ +x_49 = 0; +x_50 = l_Lean_Server_FileWorker_handleCompletion___lambda__2___closed__1; +x_51 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__2(x_1, x_2, x_3, x_50, x_46, x_48, x_49, x_50); lean_dec(x_46); -lean_dec(x_1); -if (lean_obj_tag(x_3) == 0) +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +lean_dec(x_51); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_57 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_2, x_30); -lean_dec(x_30); -x_58 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_60, 0, x_59); -return x_60; +lean_object* x_53; +x_53 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__11; +return x_53; +} +else +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_52); +if (x_54 == 0) +{ +return x_52; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_52, 0); +lean_inc(x_55); +lean_dec(x_52); +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, x_55); +return x_56; +} +} +} +else +{ +lean_object* x_57; uint8_t x_58; lean_object* x_59; +lean_dec(x_4); +x_57 = l_Lean_Syntax_getArg(x_43, x_40); +lean_dec(x_43); +x_58 = 0; +x_59 = l_Lean_Syntax_getRange_x3f(x_41, x_58); +lean_dec(x_41); +if (lean_obj_tag(x_59) == 0) +{ +x_4 = x_57; +goto _start; } else { uint8_t x_61; -lean_dec(x_30); -x_61 = !lean_is_exclusive(x_3); +x_61 = !lean_is_exclusive(x_59); if (x_61 == 0) { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_3, 0); -x_63 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -lean_ctor_set(x_3, 0, x_64); -return x_3; +lean_object* x_62; uint8_t x_63; +x_62 = lean_ctor_get(x_59, 0); +x_63 = l_String_Range_contains(x_62, x_2); +if (x_63 == 0) +{ +lean_free_object(x_59); +lean_dec(x_62); +x_4 = x_57; +goto _start; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_65 = lean_ctor_get(x_3, 0); -lean_inc(x_65); -lean_dec(x_3); +lean_dec(x_57); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = l_String_Range_toLspRange(x_1, x_62); +lean_dec(x_62); x_66 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; x_67 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_67, 0, x_65); lean_ctor_set(x_67, 1, x_66); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_67); -return x_68; -} -} -} +lean_ctor_set(x_59, 0, x_67); +return x_59; } else { -uint8_t x_69; -x_69 = !lean_is_exclusive(x_51); -if (x_69 == 0) +uint8_t x_68; +lean_free_object(x_59); +lean_dec(x_62); +x_68 = !lean_is_exclusive(x_3); +if (x_68 == 0) { -lean_object* x_70; uint8_t x_71; -x_70 = lean_ctor_get(x_51, 0); -x_71 = lean_nat_dec_lt(x_6, x_70); -lean_dec(x_70); -lean_dec(x_6); -if (x_71 == 0) -{ -lean_free_object(x_51); -lean_dec(x_30); -x_4 = x_46; -goto _start; -} -else -{ -lean_dec(x_46); -lean_dec(x_1); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_2, x_30); -lean_dec(x_30); -x_74 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -lean_ctor_set(x_51, 0, x_75); -return x_51; -} -else -{ -uint8_t x_76; -lean_free_object(x_51); -lean_dec(x_30); -x_76 = !lean_is_exclusive(x_3); -if (x_76 == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_3, 0); -x_78 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -lean_ctor_set(x_3, 0, x_79); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_3, 0); +x_70 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +lean_ctor_set(x_3, 0, x_71); return x_3; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_80 = lean_ctor_get(x_3, 0); -lean_inc(x_80); +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_3, 0); +lean_inc(x_72); lean_dec(x_3); -x_81 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -x_83 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_83, 0, x_82); -return x_83; +x_73 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_75, 0, x_74); +return x_75; } } } } else { -lean_object* x_84; uint8_t x_85; -x_84 = lean_ctor_get(x_51, 0); -lean_inc(x_84); -lean_dec(x_51); -x_85 = lean_nat_dec_lt(x_6, x_84); -lean_dec(x_84); -lean_dec(x_6); -if (x_85 == 0) +lean_object* x_76; uint8_t x_77; +x_76 = lean_ctor_get(x_59, 0); +lean_inc(x_76); +lean_dec(x_59); +x_77 = l_String_Range_contains(x_76, x_2); +if (x_77 == 0) { -lean_dec(x_30); -x_4 = x_46; +lean_dec(x_76); +x_4 = x_57; goto _start; } else { -lean_dec(x_46); -lean_dec(x_1); +lean_dec(x_57); if (lean_obj_tag(x_3) == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_87 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_2, x_30); -lean_dec(x_30); -x_88 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_90, 0, x_89); -return x_90; +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_79 = l_String_Range_toLspRange(x_1, x_76); +lean_dec(x_76); +x_80 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_82, 0, x_81); +return x_82; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_30); -x_91 = lean_ctor_get(x_3, 0); -lean_inc(x_91); +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec(x_76); +x_83 = lean_ctor_get(x_3, 0); +lean_inc(x_83); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); - x_92 = x_3; + x_84 = x_3; } else { lean_dec_ref(x_3); - x_92 = lean_box(0); + x_84 = lean_box(0); } -x_93 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_91); -lean_ctor_set(x_94, 1, x_93); -if (lean_is_scalar(x_92)) { - x_95 = lean_alloc_ctor(1, 1, 0); +x_85 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_83); +lean_ctor_set(x_86, 1, x_85); +if (lean_is_scalar(x_84)) { + x_87 = lean_alloc_ctor(1, 1, 0); } else { - x_95 = x_92; -} -lean_ctor_set(x_95, 0, x_94); -return x_95; -} + x_87 = x_84; } +lean_ctor_set(x_87, 0, x_86); +return x_87; } } } @@ -18293,6 +18745,7 @@ lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); +lean_dec(x_1); return x_11; } } @@ -18309,6 +18762,7 @@ lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); +lean_dec(x_1); return x_11; } } @@ -18322,12 +18776,24 @@ lean_dec(x_1); return x_3; } } +lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___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_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___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_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f(x_1, x_2, x_3, x_4); lean_dec(x_2); +lean_dec(x_1); return x_5; } } @@ -18354,7 +18820,7 @@ lean_dec(x_1); x_12 = lean_ctor_get(x_9, 0); lean_inc(x_12); lean_dec(x_9); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___closed__1; +x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; x_14 = lean_array_push(x_13, x_12); x_15 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_15, 0, x_14); @@ -18385,14 +18851,16 @@ lean_inc(x_9); lean_dec(x_8); x_10 = lean_ctor_get(x_1, 1); lean_inc(x_10); +lean_dec(x_1); x_11 = l_Lean_FileMap_lspPosToUtf8Pos(x_9, x_10); +lean_inc(x_11); x_12 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleHover___lambda__1___boxed), 2, 1); lean_closure_set(x_12, 0, x_11); x_13 = l_Lean_Server_FileWorker_handleCompletion___closed__1; x_14 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__1___boxed), 6, 3); lean_closure_set(x_14, 0, x_13); -lean_closure_set(x_14, 1, x_1); -lean_closure_set(x_14, 2, x_9); +lean_closure_set(x_14, 1, x_9); +lean_closure_set(x_14, 2, x_11); x_15 = l_Lean_Server_FileWorker_handleDefinition___closed__1; x_16 = l_Lean_Server_Requests_RequestM_withWaitFindSnap___rarg(x_7, x_12, x_15, x_14, x_2, x_6); return x_16; @@ -18405,6 +18873,7 @@ lean_object* x_7; x_7 = l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); +lean_dec(x_2); return x_7; } } @@ -18521,7 +18990,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol_s return x_2; } } -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__2___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__3___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -18534,11 +19003,11 @@ x_5 = lean_apply_2(x_2, x_3, x_4); return x_5; } } -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__2(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__2___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol_match__3___rarg), 2, 0); return x_2; } } @@ -18599,6 +19068,16 @@ return x_2; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(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_2); +return x_4; +} +} +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = l_Lean_Syntax_getId(x_1); x_5 = 1; @@ -18609,7 +19088,7 @@ lean_ctor_set(x_7, 1, x_1); return x_7; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -18617,7 +19096,7 @@ x_1 = lean_mk_string("declSig"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2() { _start: { lean_object* x_1; @@ -18625,7 +19104,7 @@ x_1 = lean_mk_string("declId"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3() { _start: { lean_object* x_1; @@ -18633,7 +19112,7 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__4() { +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__4() { _start: { lean_object* x_1; @@ -18641,17 +19120,17 @@ x_1 = lean_mk_string("ident"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5() { +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__4; +x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__6() { +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__6() { _start: { lean_object* x_1; @@ -18659,7 +19138,7 @@ x_1 = lean_mk_string("instance "); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7() { +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7() { _start: { lean_object* x_1; @@ -18667,33 +19146,33 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__8() { +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__6; -x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_1 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__6; +x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__9() { +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__8; -x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_1 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__8; +x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_3 = lean_string_append(x_1, x_2); return x_3; } } -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___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) { +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___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) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_7 = lean_unsigned_to_nat(4u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__1; +x_9 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__1; lean_inc(x_2); x_10 = lean_name_mk_string(x_2, x_9); lean_inc(x_8); @@ -18706,7 +19185,7 @@ lean_dec(x_8); x_12 = lean_unsigned_to_nat(1u); x_13 = l_Lean_Syntax_getArg(x_3, x_12); x_14 = l_Lean_Syntax_getArg(x_13, x_12); -x_15 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__2; +x_15 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; x_16 = lean_name_mk_string(x_2, x_15); lean_inc(x_14); x_17 = l_Lean_Syntax_isOfKind(x_14, x_16); @@ -18722,7 +19201,7 @@ x_20 = l_Lean_Syntax_isIdOrAtom_x3f(x_19); if (lean_obj_tag(x_20) == 0) { lean_object* x_21; lean_object* x_22; -x_21 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_21 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_22 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_19); @@ -18745,7 +19224,7 @@ else lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; x_25 = lean_unsigned_to_nat(0u); x_26 = l_Lean_Syntax_getArg(x_14, x_25); -x_27 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; +x_27 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; lean_inc(x_26); x_28 = l_Lean_Syntax_isOfKind(x_26, x_27); if (x_28 == 0) @@ -18759,7 +19238,7 @@ x_30 = l_Lean_Syntax_isIdOrAtom_x3f(x_29); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; lean_object* x_32; -x_31 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_31 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_32 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_29); @@ -18801,7 +19280,7 @@ x_41 = l_Lean_Syntax_isIdOrAtom_x3f(x_40); if (lean_obj_tag(x_41) == 0) { lean_object* x_42; lean_object* x_43; -x_42 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_42 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_43 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_40); @@ -18830,7 +19309,7 @@ lean_dec(x_46); x_48 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_48, 0, x_47); x_49 = lean_box(0); -x_50 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_26, x_49, x_48); +x_50 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_26, x_49, x_48); lean_dec(x_48); return x_50; } @@ -18842,7 +19321,7 @@ lean_dec(x_35); lean_dec(x_13); x_51 = lean_box(0); x_52 = lean_box(0); -x_53 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_26, x_52, x_51); +x_53 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_26, x_52, x_51); return x_53; } } @@ -18859,7 +19338,7 @@ x_54 = l_Lean_Syntax_reprint(x_8); if (lean_obj_tag(x_54) == 0) { lean_object* x_55; lean_object* x_56; -x_55 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__9; +x_55 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__9; x_56 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_8); @@ -18871,10 +19350,10 @@ lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean x_57 = lean_ctor_get(x_54, 0); lean_inc(x_57); lean_dec(x_54); -x_58 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__6; +x_58 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__6; x_59 = lean_string_append(x_58, x_57); lean_dec(x_57); -x_60 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_60 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_61 = lean_string_append(x_59, x_60); x_62 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_62, 0, x_61); @@ -18899,7 +19378,7 @@ return x_67; } } } -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(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; @@ -18912,7 +19391,7 @@ x_8 = lean_apply_3(x_2, x_7, x_5, x_6); return x_8; } } -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5(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; uint8_t x_9; @@ -18921,7 +19400,7 @@ x_7 = l_Lean_Syntax_getArg(x_1, x_6); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___boxed), 6, 3); +x_8 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___boxed), 6, 3); lean_closure_set(x_8, 0, x_1); lean_closure_set(x_8, 1, x_2); lean_closure_set(x_8, 2, x_3); @@ -18942,7 +19421,7 @@ lean_dec(x_7); x_13 = l_Lean_Syntax_getArg(x_3, x_11); lean_dec(x_3); x_14 = l_Lean_Syntax_getArg(x_13, x_11); -x_15 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__2; +x_15 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; x_16 = lean_name_mk_string(x_2, x_15); lean_inc(x_14); x_17 = l_Lean_Syntax_isOfKind(x_14, x_16); @@ -18958,7 +19437,7 @@ x_20 = l_Lean_Syntax_isIdOrAtom_x3f(x_19); if (lean_obj_tag(x_20) == 0) { lean_object* x_21; lean_object* x_22; -x_21 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_21 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_22 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_19); @@ -18981,7 +19460,7 @@ else lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; x_25 = lean_unsigned_to_nat(0u); x_26 = l_Lean_Syntax_getArg(x_14, x_25); -x_27 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; +x_27 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; lean_inc(x_26); x_28 = l_Lean_Syntax_isOfKind(x_26, x_27); if (x_28 == 0) @@ -18995,7 +19474,7 @@ x_30 = l_Lean_Syntax_isIdOrAtom_x3f(x_29); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; lean_object* x_32; -x_31 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_31 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_32 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_29); @@ -19035,7 +19514,7 @@ x_39 = l_Lean_Syntax_isIdOrAtom_x3f(x_38); if (lean_obj_tag(x_39) == 0) { lean_object* x_40; lean_object* x_41; -x_40 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_40 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_41 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_38); @@ -19064,7 +19543,7 @@ lean_dec(x_44); x_46 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_46, 0, x_45); x_47 = lean_box(0); -x_48 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_26, x_47, x_46); +x_48 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_26, x_47, x_46); lean_dec(x_46); return x_48; } @@ -19076,7 +19555,7 @@ lean_dec(x_35); lean_dec(x_13); x_49 = lean_box(0); x_50 = lean_box(0); -x_51 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_26, x_50, x_49); +x_51 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_26, x_50, x_49); return x_51; } } @@ -19088,7 +19567,7 @@ lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint x_52 = lean_unsigned_to_nat(0u); x_53 = l_Lean_Syntax_getArg(x_7, x_52); lean_dec(x_7); -x_54 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__2; +x_54 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; x_55 = lean_name_mk_string(x_2, x_54); lean_inc(x_53); x_56 = l_Lean_Syntax_isOfKind(x_53, x_55); @@ -19113,7 +19592,7 @@ x_61 = l_Lean_Syntax_isIdOrAtom_x3f(x_60); if (lean_obj_tag(x_61) == 0) { lean_object* x_62; lean_object* x_63; -x_62 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_62 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_63 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_60); @@ -19135,7 +19614,7 @@ else { lean_object* x_66; lean_object* x_67; uint8_t x_68; x_66 = l_Lean_Syntax_getArg(x_58, x_52); -x_67 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; +x_67 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; lean_inc(x_66); x_68 = l_Lean_Syntax_isOfKind(x_66, x_67); if (x_68 == 0) @@ -19149,7 +19628,7 @@ x_70 = l_Lean_Syntax_isIdOrAtom_x3f(x_69); if (lean_obj_tag(x_70) == 0) { lean_object* x_71; lean_object* x_72; -x_71 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_71 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_72 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_69); @@ -19189,7 +19668,7 @@ x_79 = l_Lean_Syntax_isIdOrAtom_x3f(x_78); if (lean_obj_tag(x_79) == 0) { lean_object* x_80; lean_object* x_81; -x_80 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_80 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_81 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_78); @@ -19218,7 +19697,7 @@ lean_dec(x_84); x_86 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_86, 0, x_85); x_87 = lean_box(0); -x_88 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_66, x_87, x_86); +x_88 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_66, x_87, x_86); lean_dec(x_86); return x_88; } @@ -19230,7 +19709,7 @@ lean_dec(x_75); lean_dec(x_57); x_89 = lean_box(0); x_90 = lean_box(0); -x_91 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_66, x_90, x_89); +x_91 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_66, x_90, x_89); return x_91; } } @@ -19240,7 +19719,7 @@ else { lean_object* x_92; lean_object* x_93; uint8_t x_94; x_92 = l_Lean_Syntax_getArg(x_53, x_52); -x_93 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; +x_93 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; lean_inc(x_92); x_94 = l_Lean_Syntax_isOfKind(x_92, x_93); if (x_94 == 0) @@ -19265,7 +19744,7 @@ x_99 = l_Lean_Syntax_isIdOrAtom_x3f(x_98); if (lean_obj_tag(x_99) == 0) { lean_object* x_100; lean_object* x_101; -x_100 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_100 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_101 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_101, 0, x_100); lean_ctor_set(x_101, 1, x_98); @@ -19300,7 +19779,7 @@ x_107 = l_Lean_Syntax_isIdOrAtom_x3f(x_106); if (lean_obj_tag(x_107) == 0) { lean_object* x_108; lean_object* x_109; -x_108 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_108 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_109 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_109, 0, x_108); lean_ctor_set(x_109, 1, x_106); @@ -19340,7 +19819,7 @@ x_116 = l_Lean_Syntax_isIdOrAtom_x3f(x_115); if (lean_obj_tag(x_116) == 0) { lean_object* x_117; lean_object* x_118; -x_117 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_117 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_118 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_118, 0, x_117); lean_ctor_set(x_118, 1, x_115); @@ -19369,7 +19848,7 @@ lean_dec(x_121); x_123 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_123, 0, x_122); x_124 = lean_box(0); -x_125 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_104, x_124, x_123); +x_125 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_104, x_124, x_123); lean_dec(x_123); return x_125; } @@ -19381,7 +19860,7 @@ lean_dec(x_112); lean_dec(x_95); x_126 = lean_box(0); x_127 = lean_box(0); -x_128 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_104, x_127, x_126); +x_128 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_104, x_127, x_126); return x_128; } } @@ -19420,7 +19899,7 @@ x_136 = l_Lean_Syntax_isIdOrAtom_x3f(x_135); if (lean_obj_tag(x_136) == 0) { lean_object* x_137; lean_object* x_138; -x_137 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_137 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_138 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_138, 0, x_137); lean_ctor_set(x_138, 1, x_135); @@ -19455,7 +19934,7 @@ x_144 = l_Lean_Syntax_isIdOrAtom_x3f(x_143); if (lean_obj_tag(x_144) == 0) { lean_object* x_145; lean_object* x_146; -x_145 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_145 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_146 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_146, 0, x_145); lean_ctor_set(x_146, 1, x_143); @@ -19495,7 +19974,7 @@ x_153 = l_Lean_Syntax_isIdOrAtom_x3f(x_152); if (lean_obj_tag(x_153) == 0) { lean_object* x_154; lean_object* x_155; -x_154 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; +x_154 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; x_155 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_155, 0, x_154); lean_ctor_set(x_155, 1, x_152); @@ -19524,7 +20003,7 @@ lean_dec(x_158); x_160 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_160, 0, x_159); x_161 = lean_box(0); -x_162 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_141, x_161, x_160); +x_162 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_141, x_161, x_160); lean_dec(x_160); return x_162; } @@ -19536,7 +20015,7 @@ lean_dec(x_149); lean_dec(x_132); x_163 = lean_box(0); x_164 = lean_box(0); -x_165 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_141, x_164, x_163); +x_165 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_141, x_164, x_163); return x_165; } } @@ -19554,7 +20033,7 @@ lean_dec(x_166); x_168 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_168, 0, x_167); x_169 = lean_box(0); -x_170 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(x_92, x_8, x_169, x_168); +x_170 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(x_92, x_8, x_169, x_168); return x_170; } } @@ -19566,7 +20045,7 @@ lean_dec(x_55); lean_dec(x_3); x_171 = lean_box(0); x_172 = lean_box(0); -x_173 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(x_92, x_8, x_172, x_171); +x_173 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(x_92, x_8, x_172, x_171); return x_173; } } @@ -19580,13 +20059,2316 @@ lean_dec(x_8); lean_dec(x_7); x_174 = lean_box(0); x_175 = lean_box(0); -x_176 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_1, x_2, x_3, x_175, x_174, x_174); +x_176 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(x_1, x_2, x_3, x_175, x_174, x_174); lean_dec(x_3); lean_dec(x_1); return x_176; } } } +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declaration"); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declModifiers"); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("instance"); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attrKind"); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("namedPrio"); +return x_1; +} +} +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6(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) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = 0; +x_10 = l_Lean_Syntax_getRange_x3f(x_3, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_1); +lean_ctor_set(x_11, 1, x_2); +return x_11; +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_13 = lean_ctor_get(x_10, 0); +x_39 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__1; +lean_inc(x_5); +x_40 = lean_name_mk_string(x_5, x_39); +lean_inc(x_6); +x_41 = l_Lean_Syntax_isOfKind(x_6, x_40); +lean_dec(x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +lean_dec(x_7); +lean_dec(x_6); +x_42 = lean_unsigned_to_nat(1u); +x_43 = l_Lean_Syntax_getArg(x_3, x_42); +lean_dec(x_3); +x_44 = l_Lean_Syntax_getArg(x_43, x_42); +x_45 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +x_46 = lean_name_mk_string(x_5, x_45); +lean_inc(x_44); +x_47 = l_Lean_Syntax_isOfKind(x_44, x_46); +lean_dec(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_44); +lean_free_object(x_10); +x_48 = lean_unsigned_to_nat(0u); +x_49 = l_Lean_Syntax_getArg(x_43, x_48); +lean_dec(x_43); +x_50 = l_Lean_Syntax_isIdOrAtom_x3f(x_49); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; +x_51 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_49); +x_14 = x_52; +goto block_38; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_50, 0); +lean_inc(x_53); +lean_dec(x_50); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_49); +x_14 = x_54; +goto block_38; +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_55 = lean_unsigned_to_nat(0u); +x_56 = l_Lean_Syntax_getArg(x_44, x_55); +x_57 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_inc(x_56); +x_58 = l_Lean_Syntax_isOfKind(x_56, x_57); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +lean_dec(x_56); +lean_dec(x_44); +lean_free_object(x_10); +x_59 = l_Lean_Syntax_getArg(x_43, x_55); +lean_dec(x_43); +x_60 = l_Lean_Syntax_isIdOrAtom_x3f(x_59); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +x_14 = x_62; +goto block_38; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_60, 0); +lean_inc(x_63); +lean_dec(x_60); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_59); +x_14 = x_64; +goto block_38; +} +} +else +{ +lean_object* x_65; uint8_t x_66; +x_65 = l_Lean_Syntax_getArg(x_44, x_42); +lean_dec(x_44); +x_66 = l_Lean_Syntax_isNone(x_65); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_67 = l_Lean_nullKind; +x_68 = lean_unsigned_to_nat(3u); +lean_inc(x_65); +x_69 = l_Lean_Syntax_isNodeOf(x_65, x_67, x_68); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; +lean_dec(x_65); +lean_dec(x_56); +lean_free_object(x_10); +x_70 = l_Lean_Syntax_getArg(x_43, x_55); +lean_dec(x_43); +x_71 = l_Lean_Syntax_isIdOrAtom_x3f(x_70); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; lean_object* x_73; +x_72 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_70); +x_14 = x_73; +goto block_38; +} +else +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_71, 0); +lean_inc(x_74); +lean_dec(x_71); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_70); +x_14 = x_75; +goto block_38; +} +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_dec(x_43); +x_76 = l_Lean_Syntax_getArg(x_65, x_42); +lean_dec(x_65); +x_77 = l_Lean_Syntax_getArgs(x_76); +lean_dec(x_76); +lean_ctor_set(x_10, 0, x_77); +x_78 = lean_box(0); +x_79 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_56, x_78, x_10); +lean_dec(x_10); +x_14 = x_79; +goto block_38; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_65); +lean_dec(x_43); +lean_free_object(x_10); +x_80 = lean_box(0); +x_81 = lean_box(0); +x_82 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_56, x_81, x_80); +x_14 = x_82; +goto block_38; +} +} +} +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_83 = lean_unsigned_to_nat(0u); +x_84 = l_Lean_Syntax_getArg(x_6, x_83); +x_85 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__2; +lean_inc(x_5); +x_86 = lean_name_mk_string(x_5, x_85); +x_87 = l_Lean_Syntax_isOfKind(x_84, x_86); +lean_dec(x_86); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +lean_dec(x_7); +lean_dec(x_6); +x_88 = lean_unsigned_to_nat(1u); +x_89 = l_Lean_Syntax_getArg(x_3, x_88); +lean_dec(x_3); +x_90 = l_Lean_Syntax_getArg(x_89, x_88); +x_91 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +x_92 = lean_name_mk_string(x_5, x_91); +lean_inc(x_90); +x_93 = l_Lean_Syntax_isOfKind(x_90, x_92); +lean_dec(x_92); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; +lean_dec(x_90); +lean_free_object(x_10); +x_94 = l_Lean_Syntax_getArg(x_89, x_83); +lean_dec(x_89); +x_95 = l_Lean_Syntax_isIdOrAtom_x3f(x_94); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; lean_object* x_97; +x_96 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_94); +x_14 = x_97; +goto block_38; +} +else +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_95, 0); +lean_inc(x_98); +lean_dec(x_95); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_94); +x_14 = x_99; +goto block_38; +} +} +else +{ +lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_100 = l_Lean_Syntax_getArg(x_90, x_83); +x_101 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_inc(x_100); +x_102 = l_Lean_Syntax_isOfKind(x_100, x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; +lean_dec(x_100); +lean_dec(x_90); +lean_free_object(x_10); +x_103 = l_Lean_Syntax_getArg(x_89, x_83); +lean_dec(x_89); +x_104 = l_Lean_Syntax_isIdOrAtom_x3f(x_103); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; lean_object* x_106; +x_105 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_103); +x_14 = x_106; +goto block_38; +} +else +{ +lean_object* x_107; lean_object* x_108; +x_107 = lean_ctor_get(x_104, 0); +lean_inc(x_107); +lean_dec(x_104); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_103); +x_14 = x_108; +goto block_38; +} +} +else +{ +lean_object* x_109; uint8_t x_110; +x_109 = l_Lean_Syntax_getArg(x_90, x_88); +lean_dec(x_90); +x_110 = l_Lean_Syntax_isNone(x_109); +if (x_110 == 0) +{ +lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_111 = l_Lean_nullKind; +x_112 = lean_unsigned_to_nat(3u); +lean_inc(x_109); +x_113 = l_Lean_Syntax_isNodeOf(x_109, x_111, x_112); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; +lean_dec(x_109); +lean_dec(x_100); +lean_free_object(x_10); +x_114 = l_Lean_Syntax_getArg(x_89, x_83); +lean_dec(x_89); +x_115 = l_Lean_Syntax_isIdOrAtom_x3f(x_114); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; lean_object* x_117; +x_116 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_114); +x_14 = x_117; +goto block_38; +} +else +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_115, 0); +lean_inc(x_118); +lean_dec(x_115); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_114); +x_14 = x_119; +goto block_38; +} +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_89); +x_120 = l_Lean_Syntax_getArg(x_109, x_88); +lean_dec(x_109); +x_121 = l_Lean_Syntax_getArgs(x_120); +lean_dec(x_120); +lean_ctor_set(x_10, 0, x_121); +x_122 = lean_box(0); +x_123 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_100, x_122, x_10); +lean_dec(x_10); +x_14 = x_123; +goto block_38; +} +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_109); +lean_dec(x_89); +lean_free_object(x_10); +x_124 = lean_box(0); +x_125 = lean_box(0); +x_126 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_100, x_125, x_124); +x_14 = x_126; +goto block_38; +} +} +} +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; +x_127 = lean_unsigned_to_nat(1u); +x_128 = l_Lean_Syntax_getArg(x_6, x_127); +lean_dec(x_6); +x_129 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__3; +lean_inc(x_5); +x_130 = lean_name_mk_string(x_5, x_129); +lean_inc(x_128); +x_131 = l_Lean_Syntax_isOfKind(x_128, x_130); +lean_dec(x_130); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; +lean_dec(x_128); +lean_dec(x_7); +x_132 = l_Lean_Syntax_getArg(x_3, x_127); +lean_dec(x_3); +x_133 = l_Lean_Syntax_getArg(x_132, x_127); +x_134 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +x_135 = lean_name_mk_string(x_5, x_134); +lean_inc(x_133); +x_136 = l_Lean_Syntax_isOfKind(x_133, x_135); +lean_dec(x_135); +if (x_136 == 0) +{ +lean_object* x_137; lean_object* x_138; +lean_dec(x_133); +lean_free_object(x_10); +x_137 = l_Lean_Syntax_getArg(x_132, x_83); +lean_dec(x_132); +x_138 = l_Lean_Syntax_isIdOrAtom_x3f(x_137); +if (lean_obj_tag(x_138) == 0) +{ +lean_object* x_139; lean_object* x_140; +x_139 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_137); +x_14 = x_140; +goto block_38; +} +else +{ +lean_object* x_141; lean_object* x_142; +x_141 = lean_ctor_get(x_138, 0); +lean_inc(x_141); +lean_dec(x_138); +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_137); +x_14 = x_142; +goto block_38; +} +} +else +{ +lean_object* x_143; lean_object* x_144; uint8_t x_145; +x_143 = l_Lean_Syntax_getArg(x_133, x_83); +x_144 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_inc(x_143); +x_145 = l_Lean_Syntax_isOfKind(x_143, x_144); +if (x_145 == 0) +{ +lean_object* x_146; lean_object* x_147; +lean_dec(x_143); +lean_dec(x_133); +lean_free_object(x_10); +x_146 = l_Lean_Syntax_getArg(x_132, x_83); +lean_dec(x_132); +x_147 = l_Lean_Syntax_isIdOrAtom_x3f(x_146); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; +x_148 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_149 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_146); +x_14 = x_149; +goto block_38; +} +else +{ +lean_object* x_150; lean_object* x_151; +x_150 = lean_ctor_get(x_147, 0); +lean_inc(x_150); +lean_dec(x_147); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_146); +x_14 = x_151; +goto block_38; +} +} +else +{ +lean_object* x_152; uint8_t x_153; +x_152 = l_Lean_Syntax_getArg(x_133, x_127); +lean_dec(x_133); +x_153 = l_Lean_Syntax_isNone(x_152); +if (x_153 == 0) +{ +lean_object* x_154; lean_object* x_155; uint8_t x_156; +x_154 = l_Lean_nullKind; +x_155 = lean_unsigned_to_nat(3u); +lean_inc(x_152); +x_156 = l_Lean_Syntax_isNodeOf(x_152, x_154, x_155); +if (x_156 == 0) +{ +lean_object* x_157; lean_object* x_158; +lean_dec(x_152); +lean_dec(x_143); +lean_free_object(x_10); +x_157 = l_Lean_Syntax_getArg(x_132, x_83); +lean_dec(x_132); +x_158 = l_Lean_Syntax_isIdOrAtom_x3f(x_157); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; lean_object* x_160; +x_159 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_157); +x_14 = x_160; +goto block_38; +} +else +{ +lean_object* x_161; lean_object* x_162; +x_161 = lean_ctor_get(x_158, 0); +lean_inc(x_161); +lean_dec(x_158); +x_162 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_157); +x_14 = x_162; +goto block_38; +} +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_132); +x_163 = l_Lean_Syntax_getArg(x_152, x_127); +lean_dec(x_152); +x_164 = l_Lean_Syntax_getArgs(x_163); +lean_dec(x_163); +lean_ctor_set(x_10, 0, x_164); +x_165 = lean_box(0); +x_166 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_143, x_165, x_10); +lean_dec(x_10); +x_14 = x_166; +goto block_38; +} +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; +lean_dec(x_152); +lean_dec(x_132); +lean_free_object(x_10); +x_167 = lean_box(0); +x_168 = lean_box(0); +x_169 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_143, x_168, x_167); +x_14 = x_169; +goto block_38; +} +} +} +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; +x_170 = l_Lean_Syntax_getArg(x_128, x_83); +x_171 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__5; +x_172 = lean_name_mk_string(x_7, x_171); +x_173 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__4; +x_174 = lean_name_mk_string(x_172, x_173); +x_175 = l_Lean_Syntax_isOfKind(x_170, x_174); +lean_dec(x_174); +if (x_175 == 0) +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; +lean_dec(x_128); +x_176 = l_Lean_Syntax_getArg(x_3, x_127); +lean_dec(x_3); +x_177 = l_Lean_Syntax_getArg(x_176, x_127); +x_178 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +x_179 = lean_name_mk_string(x_5, x_178); +lean_inc(x_177); +x_180 = l_Lean_Syntax_isOfKind(x_177, x_179); +lean_dec(x_179); +if (x_180 == 0) +{ +lean_object* x_181; lean_object* x_182; +lean_dec(x_177); +lean_free_object(x_10); +x_181 = l_Lean_Syntax_getArg(x_176, x_83); +lean_dec(x_176); +x_182 = l_Lean_Syntax_isIdOrAtom_x3f(x_181); +if (lean_obj_tag(x_182) == 0) +{ +lean_object* x_183; lean_object* x_184; +x_183 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_184 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_181); +x_14 = x_184; +goto block_38; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_182, 0); +lean_inc(x_185); +lean_dec(x_182); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_181); +x_14 = x_186; +goto block_38; +} +} +else +{ +lean_object* x_187; lean_object* x_188; uint8_t x_189; +x_187 = l_Lean_Syntax_getArg(x_177, x_83); +x_188 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_inc(x_187); +x_189 = l_Lean_Syntax_isOfKind(x_187, x_188); +if (x_189 == 0) +{ +lean_object* x_190; lean_object* x_191; +lean_dec(x_187); +lean_dec(x_177); +lean_free_object(x_10); +x_190 = l_Lean_Syntax_getArg(x_176, x_83); +lean_dec(x_176); +x_191 = l_Lean_Syntax_isIdOrAtom_x3f(x_190); +if (lean_obj_tag(x_191) == 0) +{ +lean_object* x_192; lean_object* x_193; +x_192 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_193 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_190); +x_14 = x_193; +goto block_38; +} +else +{ +lean_object* x_194; lean_object* x_195; +x_194 = lean_ctor_get(x_191, 0); +lean_inc(x_194); +lean_dec(x_191); +x_195 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_190); +x_14 = x_195; +goto block_38; +} +} +else +{ +lean_object* x_196; uint8_t x_197; +x_196 = l_Lean_Syntax_getArg(x_177, x_127); +lean_dec(x_177); +x_197 = l_Lean_Syntax_isNone(x_196); +if (x_197 == 0) +{ +lean_object* x_198; lean_object* x_199; uint8_t x_200; +x_198 = l_Lean_nullKind; +x_199 = lean_unsigned_to_nat(3u); +lean_inc(x_196); +x_200 = l_Lean_Syntax_isNodeOf(x_196, x_198, x_199); +if (x_200 == 0) +{ +lean_object* x_201; lean_object* x_202; +lean_dec(x_196); +lean_dec(x_187); +lean_free_object(x_10); +x_201 = l_Lean_Syntax_getArg(x_176, x_83); +lean_dec(x_176); +x_202 = l_Lean_Syntax_isIdOrAtom_x3f(x_201); +if (lean_obj_tag(x_202) == 0) +{ +lean_object* x_203; lean_object* x_204; +x_203 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_204 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_201); +x_14 = x_204; +goto block_38; +} +else +{ +lean_object* x_205; lean_object* x_206; +x_205 = lean_ctor_get(x_202, 0); +lean_inc(x_205); +lean_dec(x_202); +x_206 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_206, 0, x_205); +lean_ctor_set(x_206, 1, x_201); +x_14 = x_206; +goto block_38; +} +} +else +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +lean_dec(x_176); +x_207 = l_Lean_Syntax_getArg(x_196, x_127); +lean_dec(x_196); +x_208 = l_Lean_Syntax_getArgs(x_207); +lean_dec(x_207); +lean_ctor_set(x_10, 0, x_208); +x_209 = lean_box(0); +x_210 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_187, x_209, x_10); +lean_dec(x_10); +x_14 = x_210; +goto block_38; +} +} +else +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; +lean_dec(x_196); +lean_dec(x_176); +lean_free_object(x_10); +x_211 = lean_box(0); +x_212 = lean_box(0); +x_213 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_187, x_212, x_211); +x_14 = x_213; +goto block_38; +} +} +} +} +else +{ +lean_object* x_214; lean_object* x_215; uint8_t x_216; +x_214 = lean_unsigned_to_nat(2u); +x_215 = l_Lean_Syntax_getArg(x_128, x_214); +x_216 = l_Lean_Syntax_isNone(x_215); +if (x_216 == 0) +{ +lean_object* x_217; uint8_t x_218; +x_217 = l_Lean_nullKind; +lean_inc(x_215); +x_218 = l_Lean_Syntax_isNodeOf(x_215, x_217, x_127); +if (x_218 == 0) +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; +lean_dec(x_215); +lean_dec(x_128); +x_219 = l_Lean_Syntax_getArg(x_3, x_127); +lean_dec(x_3); +x_220 = l_Lean_Syntax_getArg(x_219, x_127); +x_221 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +x_222 = lean_name_mk_string(x_5, x_221); +lean_inc(x_220); +x_223 = l_Lean_Syntax_isOfKind(x_220, x_222); +lean_dec(x_222); +if (x_223 == 0) +{ +lean_object* x_224; lean_object* x_225; +lean_dec(x_220); +lean_free_object(x_10); +x_224 = l_Lean_Syntax_getArg(x_219, x_83); +lean_dec(x_219); +x_225 = l_Lean_Syntax_isIdOrAtom_x3f(x_224); +if (lean_obj_tag(x_225) == 0) +{ +lean_object* x_226; lean_object* x_227; +x_226 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_227 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_224); +x_14 = x_227; +goto block_38; +} +else +{ +lean_object* x_228; lean_object* x_229; +x_228 = lean_ctor_get(x_225, 0); +lean_inc(x_228); +lean_dec(x_225); +x_229 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_224); +x_14 = x_229; +goto block_38; +} +} +else +{ +lean_object* x_230; lean_object* x_231; uint8_t x_232; +x_230 = l_Lean_Syntax_getArg(x_220, x_83); +x_231 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_inc(x_230); +x_232 = l_Lean_Syntax_isOfKind(x_230, x_231); +if (x_232 == 0) +{ +lean_object* x_233; lean_object* x_234; +lean_dec(x_230); +lean_dec(x_220); +lean_free_object(x_10); +x_233 = l_Lean_Syntax_getArg(x_219, x_83); +lean_dec(x_219); +x_234 = l_Lean_Syntax_isIdOrAtom_x3f(x_233); +if (lean_obj_tag(x_234) == 0) +{ +lean_object* x_235; lean_object* x_236; +x_235 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_233); +x_14 = x_236; +goto block_38; +} +else +{ +lean_object* x_237; lean_object* x_238; +x_237 = lean_ctor_get(x_234, 0); +lean_inc(x_237); +lean_dec(x_234); +x_238 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_238, 0, x_237); +lean_ctor_set(x_238, 1, x_233); +x_14 = x_238; +goto block_38; +} +} +else +{ +lean_object* x_239; uint8_t x_240; +x_239 = l_Lean_Syntax_getArg(x_220, x_127); +lean_dec(x_220); +x_240 = l_Lean_Syntax_isNone(x_239); +if (x_240 == 0) +{ +lean_object* x_241; uint8_t x_242; +x_241 = lean_unsigned_to_nat(3u); +lean_inc(x_239); +x_242 = l_Lean_Syntax_isNodeOf(x_239, x_217, x_241); +if (x_242 == 0) +{ +lean_object* x_243; lean_object* x_244; +lean_dec(x_239); +lean_dec(x_230); +lean_free_object(x_10); +x_243 = l_Lean_Syntax_getArg(x_219, x_83); +lean_dec(x_219); +x_244 = l_Lean_Syntax_isIdOrAtom_x3f(x_243); +if (lean_obj_tag(x_244) == 0) +{ +lean_object* x_245; lean_object* x_246; +x_245 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_246 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_243); +x_14 = x_246; +goto block_38; +} +else +{ +lean_object* x_247; lean_object* x_248; +x_247 = lean_ctor_get(x_244, 0); +lean_inc(x_247); +lean_dec(x_244); +x_248 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_248, 0, x_247); +lean_ctor_set(x_248, 1, x_243); +x_14 = x_248; +goto block_38; +} +} +else +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +lean_dec(x_219); +x_249 = l_Lean_Syntax_getArg(x_239, x_127); +lean_dec(x_239); +x_250 = l_Lean_Syntax_getArgs(x_249); +lean_dec(x_249); +lean_ctor_set(x_10, 0, x_250); +x_251 = lean_box(0); +x_252 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_230, x_251, x_10); +lean_dec(x_10); +x_14 = x_252; +goto block_38; +} +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; +lean_dec(x_239); +lean_dec(x_219); +lean_free_object(x_10); +x_253 = lean_box(0); +x_254 = lean_box(0); +x_255 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_230, x_254, x_253); +x_14 = x_255; +goto block_38; +} +} +} +} +else +{ +lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; +x_256 = l_Lean_Syntax_getArg(x_215, x_83); +lean_dec(x_215); +x_257 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__5; +lean_inc(x_5); +x_258 = lean_name_mk_string(x_5, x_257); +lean_inc(x_256); +x_259 = l_Lean_Syntax_isOfKind(x_256, x_258); +lean_dec(x_258); +if (x_259 == 0) +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; uint8_t x_264; +lean_dec(x_256); +lean_dec(x_128); +x_260 = l_Lean_Syntax_getArg(x_3, x_127); +lean_dec(x_3); +x_261 = l_Lean_Syntax_getArg(x_260, x_127); +x_262 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +x_263 = lean_name_mk_string(x_5, x_262); +lean_inc(x_261); +x_264 = l_Lean_Syntax_isOfKind(x_261, x_263); +lean_dec(x_263); +if (x_264 == 0) +{ +lean_object* x_265; lean_object* x_266; +lean_dec(x_261); +lean_free_object(x_10); +x_265 = l_Lean_Syntax_getArg(x_260, x_83); +lean_dec(x_260); +x_266 = l_Lean_Syntax_isIdOrAtom_x3f(x_265); +if (lean_obj_tag(x_266) == 0) +{ +lean_object* x_267; lean_object* x_268; +x_267 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_268 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_265); +x_14 = x_268; +goto block_38; +} +else +{ +lean_object* x_269; lean_object* x_270; +x_269 = lean_ctor_get(x_266, 0); +lean_inc(x_269); +lean_dec(x_266); +x_270 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_265); +x_14 = x_270; +goto block_38; +} +} +else +{ +lean_object* x_271; lean_object* x_272; uint8_t x_273; +x_271 = l_Lean_Syntax_getArg(x_261, x_83); +x_272 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_inc(x_271); +x_273 = l_Lean_Syntax_isOfKind(x_271, x_272); +if (x_273 == 0) +{ +lean_object* x_274; lean_object* x_275; +lean_dec(x_271); +lean_dec(x_261); +lean_free_object(x_10); +x_274 = l_Lean_Syntax_getArg(x_260, x_83); +lean_dec(x_260); +x_275 = l_Lean_Syntax_isIdOrAtom_x3f(x_274); +if (lean_obj_tag(x_275) == 0) +{ +lean_object* x_276; lean_object* x_277; +x_276 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_277 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_277, 0, x_276); +lean_ctor_set(x_277, 1, x_274); +x_14 = x_277; +goto block_38; +} +else +{ +lean_object* x_278; lean_object* x_279; +x_278 = lean_ctor_get(x_275, 0); +lean_inc(x_278); +lean_dec(x_275); +x_279 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_279, 0, x_278); +lean_ctor_set(x_279, 1, x_274); +x_14 = x_279; +goto block_38; +} +} +else +{ +lean_object* x_280; uint8_t x_281; +x_280 = l_Lean_Syntax_getArg(x_261, x_127); +lean_dec(x_261); +x_281 = l_Lean_Syntax_isNone(x_280); +if (x_281 == 0) +{ +lean_object* x_282; uint8_t x_283; +x_282 = lean_unsigned_to_nat(3u); +lean_inc(x_280); +x_283 = l_Lean_Syntax_isNodeOf(x_280, x_217, x_282); +if (x_283 == 0) +{ +lean_object* x_284; lean_object* x_285; +lean_dec(x_280); +lean_dec(x_271); +lean_free_object(x_10); +x_284 = l_Lean_Syntax_getArg(x_260, x_83); +lean_dec(x_260); +x_285 = l_Lean_Syntax_isIdOrAtom_x3f(x_284); +if (lean_obj_tag(x_285) == 0) +{ +lean_object* x_286; lean_object* x_287; +x_286 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_287 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_284); +x_14 = x_287; +goto block_38; +} +else +{ +lean_object* x_288; lean_object* x_289; +x_288 = lean_ctor_get(x_285, 0); +lean_inc(x_288); +lean_dec(x_285); +x_289 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_289, 0, x_288); +lean_ctor_set(x_289, 1, x_284); +x_14 = x_289; +goto block_38; +} +} +else +{ +lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; +lean_dec(x_260); +x_290 = l_Lean_Syntax_getArg(x_280, x_127); +lean_dec(x_280); +x_291 = l_Lean_Syntax_getArgs(x_290); +lean_dec(x_290); +lean_ctor_set(x_10, 0, x_291); +x_292 = lean_box(0); +x_293 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_271, x_292, x_10); +lean_dec(x_10); +x_14 = x_293; +goto block_38; +} +} +else +{ +lean_object* x_294; lean_object* x_295; lean_object* x_296; +lean_dec(x_280); +lean_dec(x_260); +lean_free_object(x_10); +x_294 = lean_box(0); +x_295 = lean_box(0); +x_296 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_271, x_295, x_294); +x_14 = x_296; +goto block_38; +} +} +} +} +else +{ +lean_object* x_297; lean_object* x_298; +lean_ctor_set(x_10, 0, x_256); +x_297 = lean_box(0); +x_298 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5(x_128, x_5, x_3, x_297, x_10); +lean_dec(x_10); +x_14 = x_298; +goto block_38; +} +} +} +else +{ +lean_object* x_299; lean_object* x_300; lean_object* x_301; +lean_dec(x_215); +lean_free_object(x_10); +x_299 = lean_box(0); +x_300 = lean_box(0); +x_301 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5(x_128, x_5, x_3, x_300, x_299); +x_14 = x_301; +goto block_38; +} +} +} +} +} +block_38: +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +x_18 = l_Lean_Syntax_getRange_x3f(x_17, x_9); +lean_dec(x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_dec(x_16); +lean_dec(x_13); +lean_ctor_set(x_14, 1, x_2); +lean_ctor_set(x_14, 0, x_1); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_box(0); +x_21 = l_String_Range_toLspRange(x_4, x_13); +lean_dec(x_13); +x_22 = l_String_Range_toLspRange(x_4, x_19); +lean_dec(x_19); +x_23 = 5; +x_24 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_24, 0, x_16); +lean_ctor_set(x_24, 1, x_20); +lean_ctor_set(x_24, 2, x_21); +lean_ctor_set(x_24, 3, x_22); +lean_ctor_set(x_24, 4, x_20); +lean_ctor_set_uint8(x_24, sizeof(void*)*5, 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_1); +lean_ctor_set(x_14, 1, x_2); +lean_ctor_set(x_14, 0, x_25); +return x_14; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_14, 0); +x_27 = lean_ctor_get(x_14, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_14); +x_28 = l_Lean_Syntax_getRange_x3f(x_27, x_9); +lean_dec(x_27); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; +lean_dec(x_26); +lean_dec(x_13); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_1); +lean_ctor_set(x_29, 1, x_2); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_box(0); +x_32 = l_String_Range_toLspRange(x_4, x_13); +lean_dec(x_13); +x_33 = l_String_Range_toLspRange(x_4, x_30); +lean_dec(x_30); +x_34 = 5; +x_35 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_31); +lean_ctor_set(x_35, 2, x_32); +lean_ctor_set(x_35, 3, x_33); +lean_ctor_set(x_35, 4, x_31); +lean_ctor_set_uint8(x_35, sizeof(void*)*5, x_34); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_1); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_2); +return x_37; +} +} +} +} +else +{ +lean_object* x_302; lean_object* x_303; lean_object* x_318; lean_object* x_319; uint8_t x_320; +x_302 = lean_ctor_get(x_10, 0); +lean_inc(x_302); +lean_dec(x_10); +x_318 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__1; +lean_inc(x_5); +x_319 = lean_name_mk_string(x_5, x_318); +lean_inc(x_6); +x_320 = l_Lean_Syntax_isOfKind(x_6, x_319); +lean_dec(x_319); +if (x_320 == 0) +{ +lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; +lean_dec(x_7); +lean_dec(x_6); +x_321 = lean_unsigned_to_nat(1u); +x_322 = l_Lean_Syntax_getArg(x_3, x_321); +lean_dec(x_3); +x_323 = l_Lean_Syntax_getArg(x_322, x_321); +x_324 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +x_325 = lean_name_mk_string(x_5, x_324); +lean_inc(x_323); +x_326 = l_Lean_Syntax_isOfKind(x_323, x_325); +lean_dec(x_325); +if (x_326 == 0) +{ +lean_object* x_327; lean_object* x_328; lean_object* x_329; +lean_dec(x_323); +x_327 = lean_unsigned_to_nat(0u); +x_328 = l_Lean_Syntax_getArg(x_322, x_327); +lean_dec(x_322); +x_329 = l_Lean_Syntax_isIdOrAtom_x3f(x_328); +if (lean_obj_tag(x_329) == 0) +{ +lean_object* x_330; lean_object* x_331; +x_330 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_331 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_328); +x_303 = x_331; +goto block_317; +} +else +{ +lean_object* x_332; lean_object* x_333; +x_332 = lean_ctor_get(x_329, 0); +lean_inc(x_332); +lean_dec(x_329); +x_333 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_333, 0, x_332); +lean_ctor_set(x_333, 1, x_328); +x_303 = x_333; +goto block_317; +} +} +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; uint8_t x_337; +x_334 = lean_unsigned_to_nat(0u); +x_335 = l_Lean_Syntax_getArg(x_323, x_334); +x_336 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_inc(x_335); +x_337 = l_Lean_Syntax_isOfKind(x_335, x_336); +if (x_337 == 0) +{ +lean_object* x_338; lean_object* x_339; +lean_dec(x_335); +lean_dec(x_323); +x_338 = l_Lean_Syntax_getArg(x_322, x_334); +lean_dec(x_322); +x_339 = l_Lean_Syntax_isIdOrAtom_x3f(x_338); +if (lean_obj_tag(x_339) == 0) +{ +lean_object* x_340; lean_object* x_341; +x_340 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_341 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_341, 0, x_340); +lean_ctor_set(x_341, 1, x_338); +x_303 = x_341; +goto block_317; +} +else +{ +lean_object* x_342; lean_object* x_343; +x_342 = lean_ctor_get(x_339, 0); +lean_inc(x_342); +lean_dec(x_339); +x_343 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_343, 0, x_342); +lean_ctor_set(x_343, 1, x_338); +x_303 = x_343; +goto block_317; +} +} +else +{ +lean_object* x_344; uint8_t x_345; +x_344 = l_Lean_Syntax_getArg(x_323, x_321); +lean_dec(x_323); +x_345 = l_Lean_Syntax_isNone(x_344); +if (x_345 == 0) +{ +lean_object* x_346; lean_object* x_347; uint8_t x_348; +x_346 = l_Lean_nullKind; +x_347 = lean_unsigned_to_nat(3u); +lean_inc(x_344); +x_348 = l_Lean_Syntax_isNodeOf(x_344, x_346, x_347); +if (x_348 == 0) +{ +lean_object* x_349; lean_object* x_350; +lean_dec(x_344); +lean_dec(x_335); +x_349 = l_Lean_Syntax_getArg(x_322, x_334); +lean_dec(x_322); +x_350 = l_Lean_Syntax_isIdOrAtom_x3f(x_349); +if (lean_obj_tag(x_350) == 0) +{ +lean_object* x_351; lean_object* x_352; +x_351 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_352 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_352, 0, x_351); +lean_ctor_set(x_352, 1, x_349); +x_303 = x_352; +goto block_317; +} +else +{ +lean_object* x_353; lean_object* x_354; +x_353 = lean_ctor_get(x_350, 0); +lean_inc(x_353); +lean_dec(x_350); +x_354 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_354, 0, x_353); +lean_ctor_set(x_354, 1, x_349); +x_303 = x_354; +goto block_317; +} +} +else +{ +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; +lean_dec(x_322); +x_355 = l_Lean_Syntax_getArg(x_344, x_321); +lean_dec(x_344); +x_356 = l_Lean_Syntax_getArgs(x_355); +lean_dec(x_355); +x_357 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_357, 0, x_356); +x_358 = lean_box(0); +x_359 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_335, x_358, x_357); +lean_dec(x_357); +x_303 = x_359; +goto block_317; +} +} +else +{ +lean_object* x_360; lean_object* x_361; lean_object* x_362; +lean_dec(x_344); +lean_dec(x_322); +x_360 = lean_box(0); +x_361 = lean_box(0); +x_362 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_335, x_361, x_360); +x_303 = x_362; +goto block_317; +} +} +} +} +else +{ +lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; uint8_t x_367; +x_363 = lean_unsigned_to_nat(0u); +x_364 = l_Lean_Syntax_getArg(x_6, x_363); +x_365 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__2; +lean_inc(x_5); +x_366 = lean_name_mk_string(x_5, x_365); +x_367 = l_Lean_Syntax_isOfKind(x_364, x_366); +lean_dec(x_366); +if (x_367 == 0) +{ +lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; uint8_t x_373; +lean_dec(x_7); +lean_dec(x_6); +x_368 = lean_unsigned_to_nat(1u); +x_369 = l_Lean_Syntax_getArg(x_3, x_368); +lean_dec(x_3); +x_370 = l_Lean_Syntax_getArg(x_369, x_368); +x_371 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +x_372 = lean_name_mk_string(x_5, x_371); +lean_inc(x_370); +x_373 = l_Lean_Syntax_isOfKind(x_370, x_372); +lean_dec(x_372); +if (x_373 == 0) +{ +lean_object* x_374; lean_object* x_375; +lean_dec(x_370); +x_374 = l_Lean_Syntax_getArg(x_369, x_363); +lean_dec(x_369); +x_375 = l_Lean_Syntax_isIdOrAtom_x3f(x_374); +if (lean_obj_tag(x_375) == 0) +{ +lean_object* x_376; lean_object* x_377; +x_376 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_377 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_377, 0, x_376); +lean_ctor_set(x_377, 1, x_374); +x_303 = x_377; +goto block_317; +} +else +{ +lean_object* x_378; lean_object* x_379; +x_378 = lean_ctor_get(x_375, 0); +lean_inc(x_378); +lean_dec(x_375); +x_379 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_379, 0, x_378); +lean_ctor_set(x_379, 1, x_374); +x_303 = x_379; +goto block_317; +} +} +else +{ +lean_object* x_380; lean_object* x_381; uint8_t x_382; +x_380 = l_Lean_Syntax_getArg(x_370, x_363); +x_381 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_inc(x_380); +x_382 = l_Lean_Syntax_isOfKind(x_380, x_381); +if (x_382 == 0) +{ +lean_object* x_383; lean_object* x_384; +lean_dec(x_380); +lean_dec(x_370); +x_383 = l_Lean_Syntax_getArg(x_369, x_363); +lean_dec(x_369); +x_384 = l_Lean_Syntax_isIdOrAtom_x3f(x_383); +if (lean_obj_tag(x_384) == 0) +{ +lean_object* x_385; lean_object* x_386; +x_385 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_386 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_386, 0, x_385); +lean_ctor_set(x_386, 1, x_383); +x_303 = x_386; +goto block_317; +} +else +{ +lean_object* x_387; lean_object* x_388; +x_387 = lean_ctor_get(x_384, 0); +lean_inc(x_387); +lean_dec(x_384); +x_388 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_388, 0, x_387); +lean_ctor_set(x_388, 1, x_383); +x_303 = x_388; +goto block_317; +} +} +else +{ +lean_object* x_389; uint8_t x_390; +x_389 = l_Lean_Syntax_getArg(x_370, x_368); +lean_dec(x_370); +x_390 = l_Lean_Syntax_isNone(x_389); +if (x_390 == 0) +{ +lean_object* x_391; lean_object* x_392; uint8_t x_393; +x_391 = l_Lean_nullKind; +x_392 = lean_unsigned_to_nat(3u); +lean_inc(x_389); +x_393 = l_Lean_Syntax_isNodeOf(x_389, x_391, x_392); +if (x_393 == 0) +{ +lean_object* x_394; lean_object* x_395; +lean_dec(x_389); +lean_dec(x_380); +x_394 = l_Lean_Syntax_getArg(x_369, x_363); +lean_dec(x_369); +x_395 = l_Lean_Syntax_isIdOrAtom_x3f(x_394); +if (lean_obj_tag(x_395) == 0) +{ +lean_object* x_396; lean_object* x_397; +x_396 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_397 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_397, 0, x_396); +lean_ctor_set(x_397, 1, x_394); +x_303 = x_397; +goto block_317; +} +else +{ +lean_object* x_398; lean_object* x_399; +x_398 = lean_ctor_get(x_395, 0); +lean_inc(x_398); +lean_dec(x_395); +x_399 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_399, 0, x_398); +lean_ctor_set(x_399, 1, x_394); +x_303 = x_399; +goto block_317; +} +} +else +{ +lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; +lean_dec(x_369); +x_400 = l_Lean_Syntax_getArg(x_389, x_368); +lean_dec(x_389); +x_401 = l_Lean_Syntax_getArgs(x_400); +lean_dec(x_400); +x_402 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_402, 0, x_401); +x_403 = lean_box(0); +x_404 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_380, x_403, x_402); +lean_dec(x_402); +x_303 = x_404; +goto block_317; +} +} +else +{ +lean_object* x_405; lean_object* x_406; lean_object* x_407; +lean_dec(x_389); +lean_dec(x_369); +x_405 = lean_box(0); +x_406 = lean_box(0); +x_407 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_380, x_406, x_405); +x_303 = x_407; +goto block_317; +} +} +} +} +else +{ +lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; uint8_t x_412; +x_408 = lean_unsigned_to_nat(1u); +x_409 = l_Lean_Syntax_getArg(x_6, x_408); +lean_dec(x_6); +x_410 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__3; +lean_inc(x_5); +x_411 = lean_name_mk_string(x_5, x_410); +lean_inc(x_409); +x_412 = l_Lean_Syntax_isOfKind(x_409, x_411); +lean_dec(x_411); +if (x_412 == 0) +{ +lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; uint8_t x_417; +lean_dec(x_409); +lean_dec(x_7); +x_413 = l_Lean_Syntax_getArg(x_3, x_408); +lean_dec(x_3); +x_414 = l_Lean_Syntax_getArg(x_413, x_408); +x_415 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +x_416 = lean_name_mk_string(x_5, x_415); +lean_inc(x_414); +x_417 = l_Lean_Syntax_isOfKind(x_414, x_416); +lean_dec(x_416); +if (x_417 == 0) +{ +lean_object* x_418; lean_object* x_419; +lean_dec(x_414); +x_418 = l_Lean_Syntax_getArg(x_413, x_363); +lean_dec(x_413); +x_419 = l_Lean_Syntax_isIdOrAtom_x3f(x_418); +if (lean_obj_tag(x_419) == 0) +{ +lean_object* x_420; lean_object* x_421; +x_420 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_421 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_421, 0, x_420); +lean_ctor_set(x_421, 1, x_418); +x_303 = x_421; +goto block_317; +} +else +{ +lean_object* x_422; lean_object* x_423; +x_422 = lean_ctor_get(x_419, 0); +lean_inc(x_422); +lean_dec(x_419); +x_423 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_423, 0, x_422); +lean_ctor_set(x_423, 1, x_418); +x_303 = x_423; +goto block_317; +} +} +else +{ +lean_object* x_424; lean_object* x_425; uint8_t x_426; +x_424 = l_Lean_Syntax_getArg(x_414, x_363); +x_425 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_inc(x_424); +x_426 = l_Lean_Syntax_isOfKind(x_424, x_425); +if (x_426 == 0) +{ +lean_object* x_427; lean_object* x_428; +lean_dec(x_424); +lean_dec(x_414); +x_427 = l_Lean_Syntax_getArg(x_413, x_363); +lean_dec(x_413); +x_428 = l_Lean_Syntax_isIdOrAtom_x3f(x_427); +if (lean_obj_tag(x_428) == 0) +{ +lean_object* x_429; lean_object* x_430; +x_429 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_430 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_430, 0, x_429); +lean_ctor_set(x_430, 1, x_427); +x_303 = x_430; +goto block_317; +} +else +{ +lean_object* x_431; lean_object* x_432; +x_431 = lean_ctor_get(x_428, 0); +lean_inc(x_431); +lean_dec(x_428); +x_432 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_432, 0, x_431); +lean_ctor_set(x_432, 1, x_427); +x_303 = x_432; +goto block_317; +} +} +else +{ +lean_object* x_433; uint8_t x_434; +x_433 = l_Lean_Syntax_getArg(x_414, x_408); +lean_dec(x_414); +x_434 = l_Lean_Syntax_isNone(x_433); +if (x_434 == 0) +{ +lean_object* x_435; lean_object* x_436; uint8_t x_437; +x_435 = l_Lean_nullKind; +x_436 = lean_unsigned_to_nat(3u); +lean_inc(x_433); +x_437 = l_Lean_Syntax_isNodeOf(x_433, x_435, x_436); +if (x_437 == 0) +{ +lean_object* x_438; lean_object* x_439; +lean_dec(x_433); +lean_dec(x_424); +x_438 = l_Lean_Syntax_getArg(x_413, x_363); +lean_dec(x_413); +x_439 = l_Lean_Syntax_isIdOrAtom_x3f(x_438); +if (lean_obj_tag(x_439) == 0) +{ +lean_object* x_440; lean_object* x_441; +x_440 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_441 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_441, 0, x_440); +lean_ctor_set(x_441, 1, x_438); +x_303 = x_441; +goto block_317; +} +else +{ +lean_object* x_442; lean_object* x_443; +x_442 = lean_ctor_get(x_439, 0); +lean_inc(x_442); +lean_dec(x_439); +x_443 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_443, 0, x_442); +lean_ctor_set(x_443, 1, x_438); +x_303 = x_443; +goto block_317; +} +} +else +{ +lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; +lean_dec(x_413); +x_444 = l_Lean_Syntax_getArg(x_433, x_408); +lean_dec(x_433); +x_445 = l_Lean_Syntax_getArgs(x_444); +lean_dec(x_444); +x_446 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_446, 0, x_445); +x_447 = lean_box(0); +x_448 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_424, x_447, x_446); +lean_dec(x_446); +x_303 = x_448; +goto block_317; +} +} +else +{ +lean_object* x_449; lean_object* x_450; lean_object* x_451; +lean_dec(x_433); +lean_dec(x_413); +x_449 = lean_box(0); +x_450 = lean_box(0); +x_451 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_424, x_450, x_449); +x_303 = x_451; +goto block_317; +} +} +} +} +else +{ +lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; uint8_t x_457; +x_452 = l_Lean_Syntax_getArg(x_409, x_363); +x_453 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__5; +x_454 = lean_name_mk_string(x_7, x_453); +x_455 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__4; +x_456 = lean_name_mk_string(x_454, x_455); +x_457 = l_Lean_Syntax_isOfKind(x_452, x_456); +lean_dec(x_456); +if (x_457 == 0) +{ +lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; uint8_t x_462; +lean_dec(x_409); +x_458 = l_Lean_Syntax_getArg(x_3, x_408); +lean_dec(x_3); +x_459 = l_Lean_Syntax_getArg(x_458, x_408); +x_460 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +x_461 = lean_name_mk_string(x_5, x_460); +lean_inc(x_459); +x_462 = l_Lean_Syntax_isOfKind(x_459, x_461); +lean_dec(x_461); +if (x_462 == 0) +{ +lean_object* x_463; lean_object* x_464; +lean_dec(x_459); +x_463 = l_Lean_Syntax_getArg(x_458, x_363); +lean_dec(x_458); +x_464 = l_Lean_Syntax_isIdOrAtom_x3f(x_463); +if (lean_obj_tag(x_464) == 0) +{ +lean_object* x_465; lean_object* x_466; +x_465 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_466 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_466, 0, x_465); +lean_ctor_set(x_466, 1, x_463); +x_303 = x_466; +goto block_317; +} +else +{ +lean_object* x_467; lean_object* x_468; +x_467 = lean_ctor_get(x_464, 0); +lean_inc(x_467); +lean_dec(x_464); +x_468 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_468, 0, x_467); +lean_ctor_set(x_468, 1, x_463); +x_303 = x_468; +goto block_317; +} +} +else +{ +lean_object* x_469; lean_object* x_470; uint8_t x_471; +x_469 = l_Lean_Syntax_getArg(x_459, x_363); +x_470 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_inc(x_469); +x_471 = l_Lean_Syntax_isOfKind(x_469, x_470); +if (x_471 == 0) +{ +lean_object* x_472; lean_object* x_473; +lean_dec(x_469); +lean_dec(x_459); +x_472 = l_Lean_Syntax_getArg(x_458, x_363); +lean_dec(x_458); +x_473 = l_Lean_Syntax_isIdOrAtom_x3f(x_472); +if (lean_obj_tag(x_473) == 0) +{ +lean_object* x_474; lean_object* x_475; +x_474 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_475 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_475, 0, x_474); +lean_ctor_set(x_475, 1, x_472); +x_303 = x_475; +goto block_317; +} +else +{ +lean_object* x_476; lean_object* x_477; +x_476 = lean_ctor_get(x_473, 0); +lean_inc(x_476); +lean_dec(x_473); +x_477 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_477, 0, x_476); +lean_ctor_set(x_477, 1, x_472); +x_303 = x_477; +goto block_317; +} +} +else +{ +lean_object* x_478; uint8_t x_479; +x_478 = l_Lean_Syntax_getArg(x_459, x_408); +lean_dec(x_459); +x_479 = l_Lean_Syntax_isNone(x_478); +if (x_479 == 0) +{ +lean_object* x_480; lean_object* x_481; uint8_t x_482; +x_480 = l_Lean_nullKind; +x_481 = lean_unsigned_to_nat(3u); +lean_inc(x_478); +x_482 = l_Lean_Syntax_isNodeOf(x_478, x_480, x_481); +if (x_482 == 0) +{ +lean_object* x_483; lean_object* x_484; +lean_dec(x_478); +lean_dec(x_469); +x_483 = l_Lean_Syntax_getArg(x_458, x_363); +lean_dec(x_458); +x_484 = l_Lean_Syntax_isIdOrAtom_x3f(x_483); +if (lean_obj_tag(x_484) == 0) +{ +lean_object* x_485; lean_object* x_486; +x_485 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_486 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_486, 0, x_485); +lean_ctor_set(x_486, 1, x_483); +x_303 = x_486; +goto block_317; +} +else +{ +lean_object* x_487; lean_object* x_488; +x_487 = lean_ctor_get(x_484, 0); +lean_inc(x_487); +lean_dec(x_484); +x_488 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_488, 0, x_487); +lean_ctor_set(x_488, 1, x_483); +x_303 = x_488; +goto block_317; +} +} +else +{ +lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; +lean_dec(x_458); +x_489 = l_Lean_Syntax_getArg(x_478, x_408); +lean_dec(x_478); +x_490 = l_Lean_Syntax_getArgs(x_489); +lean_dec(x_489); +x_491 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_491, 0, x_490); +x_492 = lean_box(0); +x_493 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_469, x_492, x_491); +lean_dec(x_491); +x_303 = x_493; +goto block_317; +} +} +else +{ +lean_object* x_494; lean_object* x_495; lean_object* x_496; +lean_dec(x_478); +lean_dec(x_458); +x_494 = lean_box(0); +x_495 = lean_box(0); +x_496 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_469, x_495, x_494); +x_303 = x_496; +goto block_317; +} +} +} +} +else +{ +lean_object* x_497; lean_object* x_498; uint8_t x_499; +x_497 = lean_unsigned_to_nat(2u); +x_498 = l_Lean_Syntax_getArg(x_409, x_497); +x_499 = l_Lean_Syntax_isNone(x_498); +if (x_499 == 0) +{ +lean_object* x_500; uint8_t x_501; +x_500 = l_Lean_nullKind; +lean_inc(x_498); +x_501 = l_Lean_Syntax_isNodeOf(x_498, x_500, x_408); +if (x_501 == 0) +{ +lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; uint8_t x_506; +lean_dec(x_498); +lean_dec(x_409); +x_502 = l_Lean_Syntax_getArg(x_3, x_408); +lean_dec(x_3); +x_503 = l_Lean_Syntax_getArg(x_502, x_408); +x_504 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +x_505 = lean_name_mk_string(x_5, x_504); +lean_inc(x_503); +x_506 = l_Lean_Syntax_isOfKind(x_503, x_505); +lean_dec(x_505); +if (x_506 == 0) +{ +lean_object* x_507; lean_object* x_508; +lean_dec(x_503); +x_507 = l_Lean_Syntax_getArg(x_502, x_363); +lean_dec(x_502); +x_508 = l_Lean_Syntax_isIdOrAtom_x3f(x_507); +if (lean_obj_tag(x_508) == 0) +{ +lean_object* x_509; lean_object* x_510; +x_509 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_510 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_510, 0, x_509); +lean_ctor_set(x_510, 1, x_507); +x_303 = x_510; +goto block_317; +} +else +{ +lean_object* x_511; lean_object* x_512; +x_511 = lean_ctor_get(x_508, 0); +lean_inc(x_511); +lean_dec(x_508); +x_512 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_512, 0, x_511); +lean_ctor_set(x_512, 1, x_507); +x_303 = x_512; +goto block_317; +} +} +else +{ +lean_object* x_513; lean_object* x_514; uint8_t x_515; +x_513 = l_Lean_Syntax_getArg(x_503, x_363); +x_514 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_inc(x_513); +x_515 = l_Lean_Syntax_isOfKind(x_513, x_514); +if (x_515 == 0) +{ +lean_object* x_516; lean_object* x_517; +lean_dec(x_513); +lean_dec(x_503); +x_516 = l_Lean_Syntax_getArg(x_502, x_363); +lean_dec(x_502); +x_517 = l_Lean_Syntax_isIdOrAtom_x3f(x_516); +if (lean_obj_tag(x_517) == 0) +{ +lean_object* x_518; lean_object* x_519; +x_518 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_519 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_519, 0, x_518); +lean_ctor_set(x_519, 1, x_516); +x_303 = x_519; +goto block_317; +} +else +{ +lean_object* x_520; lean_object* x_521; +x_520 = lean_ctor_get(x_517, 0); +lean_inc(x_520); +lean_dec(x_517); +x_521 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_521, 0, x_520); +lean_ctor_set(x_521, 1, x_516); +x_303 = x_521; +goto block_317; +} +} +else +{ +lean_object* x_522; uint8_t x_523; +x_522 = l_Lean_Syntax_getArg(x_503, x_408); +lean_dec(x_503); +x_523 = l_Lean_Syntax_isNone(x_522); +if (x_523 == 0) +{ +lean_object* x_524; uint8_t x_525; +x_524 = lean_unsigned_to_nat(3u); +lean_inc(x_522); +x_525 = l_Lean_Syntax_isNodeOf(x_522, x_500, x_524); +if (x_525 == 0) +{ +lean_object* x_526; lean_object* x_527; +lean_dec(x_522); +lean_dec(x_513); +x_526 = l_Lean_Syntax_getArg(x_502, x_363); +lean_dec(x_502); +x_527 = l_Lean_Syntax_isIdOrAtom_x3f(x_526); +if (lean_obj_tag(x_527) == 0) +{ +lean_object* x_528; lean_object* x_529; +x_528 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_529 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_529, 0, x_528); +lean_ctor_set(x_529, 1, x_526); +x_303 = x_529; +goto block_317; +} +else +{ +lean_object* x_530; lean_object* x_531; +x_530 = lean_ctor_get(x_527, 0); +lean_inc(x_530); +lean_dec(x_527); +x_531 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_531, 0, x_530); +lean_ctor_set(x_531, 1, x_526); +x_303 = x_531; +goto block_317; +} +} +else +{ +lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; +lean_dec(x_502); +x_532 = l_Lean_Syntax_getArg(x_522, x_408); +lean_dec(x_522); +x_533 = l_Lean_Syntax_getArgs(x_532); +lean_dec(x_532); +x_534 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_534, 0, x_533); +x_535 = lean_box(0); +x_536 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_513, x_535, x_534); +lean_dec(x_534); +x_303 = x_536; +goto block_317; +} +} +else +{ +lean_object* x_537; lean_object* x_538; lean_object* x_539; +lean_dec(x_522); +lean_dec(x_502); +x_537 = lean_box(0); +x_538 = lean_box(0); +x_539 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_513, x_538, x_537); +x_303 = x_539; +goto block_317; +} +} +} +} +else +{ +lean_object* x_540; lean_object* x_541; lean_object* x_542; uint8_t x_543; +x_540 = l_Lean_Syntax_getArg(x_498, x_363); +lean_dec(x_498); +x_541 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__5; +lean_inc(x_5); +x_542 = lean_name_mk_string(x_5, x_541); +lean_inc(x_540); +x_543 = l_Lean_Syntax_isOfKind(x_540, x_542); +lean_dec(x_542); +if (x_543 == 0) +{ +lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; uint8_t x_548; +lean_dec(x_540); +lean_dec(x_409); +x_544 = l_Lean_Syntax_getArg(x_3, x_408); +lean_dec(x_3); +x_545 = l_Lean_Syntax_getArg(x_544, x_408); +x_546 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; +x_547 = lean_name_mk_string(x_5, x_546); +lean_inc(x_545); +x_548 = l_Lean_Syntax_isOfKind(x_545, x_547); +lean_dec(x_547); +if (x_548 == 0) +{ +lean_object* x_549; lean_object* x_550; +lean_dec(x_545); +x_549 = l_Lean_Syntax_getArg(x_544, x_363); +lean_dec(x_544); +x_550 = l_Lean_Syntax_isIdOrAtom_x3f(x_549); +if (lean_obj_tag(x_550) == 0) +{ +lean_object* x_551; lean_object* x_552; +x_551 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_552 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_552, 0, x_551); +lean_ctor_set(x_552, 1, x_549); +x_303 = x_552; +goto block_317; +} +else +{ +lean_object* x_553; lean_object* x_554; +x_553 = lean_ctor_get(x_550, 0); +lean_inc(x_553); +lean_dec(x_550); +x_554 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_554, 0, x_553); +lean_ctor_set(x_554, 1, x_549); +x_303 = x_554; +goto block_317; +} +} +else +{ +lean_object* x_555; lean_object* x_556; uint8_t x_557; +x_555 = l_Lean_Syntax_getArg(x_545, x_363); +x_556 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_inc(x_555); +x_557 = l_Lean_Syntax_isOfKind(x_555, x_556); +if (x_557 == 0) +{ +lean_object* x_558; lean_object* x_559; +lean_dec(x_555); +lean_dec(x_545); +x_558 = l_Lean_Syntax_getArg(x_544, x_363); +lean_dec(x_544); +x_559 = l_Lean_Syntax_isIdOrAtom_x3f(x_558); +if (lean_obj_tag(x_559) == 0) +{ +lean_object* x_560; lean_object* x_561; +x_560 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_561 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_561, 0, x_560); +lean_ctor_set(x_561, 1, x_558); +x_303 = x_561; +goto block_317; +} +else +{ +lean_object* x_562; lean_object* x_563; +x_562 = lean_ctor_get(x_559, 0); +lean_inc(x_562); +lean_dec(x_559); +x_563 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_563, 0, x_562); +lean_ctor_set(x_563, 1, x_558); +x_303 = x_563; +goto block_317; +} +} +else +{ +lean_object* x_564; uint8_t x_565; +x_564 = l_Lean_Syntax_getArg(x_545, x_408); +lean_dec(x_545); +x_565 = l_Lean_Syntax_isNone(x_564); +if (x_565 == 0) +{ +lean_object* x_566; uint8_t x_567; +x_566 = lean_unsigned_to_nat(3u); +lean_inc(x_564); +x_567 = l_Lean_Syntax_isNodeOf(x_564, x_500, x_566); +if (x_567 == 0) +{ +lean_object* x_568; lean_object* x_569; +lean_dec(x_564); +lean_dec(x_555); +x_568 = l_Lean_Syntax_getArg(x_544, x_363); +lean_dec(x_544); +x_569 = l_Lean_Syntax_isIdOrAtom_x3f(x_568); +if (lean_obj_tag(x_569) == 0) +{ +lean_object* x_570; lean_object* x_571; +x_570 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; +x_571 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_571, 0, x_570); +lean_ctor_set(x_571, 1, x_568); +x_303 = x_571; +goto block_317; +} +else +{ +lean_object* x_572; lean_object* x_573; +x_572 = lean_ctor_get(x_569, 0); +lean_inc(x_572); +lean_dec(x_569); +x_573 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_573, 0, x_572); +lean_ctor_set(x_573, 1, x_568); +x_303 = x_573; +goto block_317; +} +} +else +{ +lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; +lean_dec(x_544); +x_574 = l_Lean_Syntax_getArg(x_564, x_408); +lean_dec(x_564); +x_575 = l_Lean_Syntax_getArgs(x_574); +lean_dec(x_574); +x_576 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_576, 0, x_575); +x_577 = lean_box(0); +x_578 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_555, x_577, x_576); +lean_dec(x_576); +x_303 = x_578; +goto block_317; +} +} +else +{ +lean_object* x_579; lean_object* x_580; lean_object* x_581; +lean_dec(x_564); +lean_dec(x_544); +x_579 = lean_box(0); +x_580 = lean_box(0); +x_581 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_555, x_580, x_579); +x_303 = x_581; +goto block_317; +} +} +} +} +else +{ +lean_object* x_582; lean_object* x_583; lean_object* x_584; +x_582 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_582, 0, x_540); +x_583 = lean_box(0); +x_584 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5(x_409, x_5, x_3, x_583, x_582); +lean_dec(x_582); +x_303 = x_584; +goto block_317; +} +} +} +else +{ +lean_object* x_585; lean_object* x_586; lean_object* x_587; +lean_dec(x_498); +x_585 = lean_box(0); +x_586 = lean_box(0); +x_587 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5(x_409, x_5, x_3, x_586, x_585); +x_303 = x_587; +goto block_317; +} +} +} +} +} +block_317: +{ +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_304 = lean_ctor_get(x_303, 0); +lean_inc(x_304); +x_305 = lean_ctor_get(x_303, 1); +lean_inc(x_305); +if (lean_is_exclusive(x_303)) { + lean_ctor_release(x_303, 0); + lean_ctor_release(x_303, 1); + x_306 = x_303; +} else { + lean_dec_ref(x_303); + x_306 = lean_box(0); +} +x_307 = l_Lean_Syntax_getRange_x3f(x_305, x_9); +lean_dec(x_305); +if (lean_obj_tag(x_307) == 0) +{ +lean_object* x_308; +lean_dec(x_304); +lean_dec(x_302); +if (lean_is_scalar(x_306)) { + x_308 = lean_alloc_ctor(0, 2, 0); +} else { + x_308 = x_306; +} +lean_ctor_set(x_308, 0, x_1); +lean_ctor_set(x_308, 1, x_2); +return x_308; +} +else +{ +lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; uint8_t x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; +x_309 = lean_ctor_get(x_307, 0); +lean_inc(x_309); +lean_dec(x_307); +x_310 = lean_box(0); +x_311 = l_String_Range_toLspRange(x_4, x_302); +lean_dec(x_302); +x_312 = l_String_Range_toLspRange(x_4, x_309); +lean_dec(x_309); +x_313 = 5; +x_314 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_314, 0, x_304); +lean_ctor_set(x_314, 1, x_310); +lean_ctor_set(x_314, 2, x_311); +lean_ctor_set(x_314, 3, x_312); +lean_ctor_set(x_314, 4, x_310); +lean_ctor_set_uint8(x_314, sizeof(void*)*5, x_313); +x_315 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_315, 0, x_314); +lean_ctor_set(x_315, 1, x_1); +if (lean_is_scalar(x_306)) { + x_316 = lean_alloc_ctor(0, 2, 0); +} else { + x_316 = x_306; +} +lean_ctor_set(x_316, 0, x_315); +lean_ctor_set(x_316, 1, x_2); +return x_316; +} +} +} +} +} +} static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__1() { _start: { @@ -19673,106 +22455,16 @@ return x_3; static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__10() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("declaration"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; +x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; -x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; -x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("declModifiers"); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; -x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("instance"); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; -x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__15; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("attrKind"); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__6; -x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__17; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__19() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("namedPrio"); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; -x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__19; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__21() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("
"); return x_1; @@ -19789,2293 +22481,276 @@ return x_3; } else { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_2, 1); -lean_inc(x_5); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - x_6 = x_2; -} else { - lean_dec_ref(x_2); - x_6 = lean_box(0); -} +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); x_7 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__5; -lean_inc(x_4); -x_8 = l_Lean_Syntax_isOfKind(x_4, x_7); +lean_inc(x_5); +x_8 = l_Lean_Syntax_isOfKind(x_5, x_7); if (x_8 == 0) { lean_object* x_9; uint8_t x_10; x_9 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__7; -lean_inc(x_4); -x_10 = l_Lean_Syntax_isOfKind(x_4, x_9); +lean_inc(x_5); +x_10 = l_Lean_Syntax_isOfKind(x_5, x_9); if (x_10 == 0) { lean_object* x_11; uint8_t x_12; x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__9; -lean_inc(x_4); -x_12 = l_Lean_Syntax_isOfKind(x_4, x_11); +lean_inc(x_5); +x_12 = l_Lean_Syntax_isOfKind(x_5, x_11); if (x_12 == 0) { lean_object* x_13; uint8_t x_14; -x_13 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(x_1, x_5); +lean_free_object(x_2); +x_13 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(x_1, x_6); 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_40; uint8_t x_41; +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; x_15 = lean_ctor_get(x_13, 0); x_16 = lean_ctor_get(x_13, 1); -x_40 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11; -lean_inc(x_4); -x_41 = l_Lean_Syntax_isOfKind(x_4, x_40); -if (x_41 == 0) -{ -lean_dec(x_6); -lean_dec(x_4); -return x_13; -} -else -{ -uint8_t x_42; -x_42 = l_Lean_Server_FileWorker_hasRange(x_4); -if (x_42 == 0) -{ -lean_dec(x_6); -lean_dec(x_4); -return x_13; -} -else -{ -uint8_t x_43; -lean_inc(x_4); -x_43 = l_Lean_Syntax_isOfKind(x_4, x_40); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_44 = lean_unsigned_to_nat(1u); -x_45 = l_Lean_Syntax_getArg(x_4, x_44); -x_46 = l_Lean_Syntax_getArg(x_45, x_44); -x_47 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; -lean_inc(x_46); -x_48 = l_Lean_Syntax_isOfKind(x_46, x_47); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_46); -x_49 = lean_unsigned_to_nat(0u); -x_50 = l_Lean_Syntax_getArg(x_45, x_49); -lean_dec(x_45); -x_51 = l_Lean_Syntax_isIdOrAtom_x3f(x_50); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; -x_52 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_50); -lean_ctor_set(x_13, 0, x_52); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_53; -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -lean_dec(x_51); -lean_ctor_set(x_13, 1, x_50); -lean_ctor_set(x_13, 0, x_53); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_54 = lean_unsigned_to_nat(0u); -x_55 = l_Lean_Syntax_getArg(x_46, x_54); -x_56 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; -lean_inc(x_55); -x_57 = l_Lean_Syntax_isOfKind(x_55, x_56); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; -lean_dec(x_55); -lean_dec(x_46); -x_58 = l_Lean_Syntax_getArg(x_45, x_54); -lean_dec(x_45); -x_59 = l_Lean_Syntax_isIdOrAtom_x3f(x_58); -if (lean_obj_tag(x_59) == 0) -{ -lean_object* x_60; -x_60 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_58); -lean_ctor_set(x_13, 0, x_60); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_61; -x_61 = lean_ctor_get(x_59, 0); -lean_inc(x_61); -lean_dec(x_59); -lean_ctor_set(x_13, 1, x_58); -lean_ctor_set(x_13, 0, x_61); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_62; uint8_t x_63; -x_62 = l_Lean_Syntax_getArg(x_46, x_44); -lean_dec(x_46); -x_63 = l_Lean_Syntax_isNone(x_62); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_64 = l_Lean_nullKind; -x_65 = lean_unsigned_to_nat(3u); -lean_inc(x_62); -x_66 = l_Lean_Syntax_isNodeOf(x_62, x_64, x_65); -if (x_66 == 0) -{ -lean_object* x_67; lean_object* x_68; -lean_dec(x_62); -lean_dec(x_55); -x_67 = l_Lean_Syntax_getArg(x_45, x_54); -lean_dec(x_45); -x_68 = l_Lean_Syntax_isIdOrAtom_x3f(x_67); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; -x_69 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_67); -lean_ctor_set(x_13, 0, x_69); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_70; -x_70 = lean_ctor_get(x_68, 0); -lean_inc(x_70); -lean_dec(x_68); -lean_ctor_set(x_13, 1, x_67); -lean_ctor_set(x_13, 0, x_70); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -lean_dec(x_45); -lean_free_object(x_13); -x_71 = l_Lean_Syntax_getArg(x_62, x_44); -lean_dec(x_62); -x_72 = l_Lean_Syntax_getArgs(x_71); -lean_dec(x_71); -x_73 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_73, 0, x_72); -x_74 = lean_box(0); -x_75 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_55, x_74, x_73); -lean_dec(x_73); -x_17 = x_75; -goto block_39; -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_62); -lean_dec(x_45); -lean_free_object(x_13); -x_76 = lean_box(0); -x_77 = lean_box(0); -x_78 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_55, x_77, x_76); -x_17 = x_78; -goto block_39; -} -} -} -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_79 = lean_unsigned_to_nat(0u); -x_80 = l_Lean_Syntax_getArg(x_4, x_79); -x_81 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__14; -x_82 = l_Lean_Syntax_isOfKind(x_80, x_81); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_83 = lean_unsigned_to_nat(1u); -x_84 = l_Lean_Syntax_getArg(x_4, x_83); -x_85 = l_Lean_Syntax_getArg(x_84, x_83); -x_86 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; -lean_inc(x_85); -x_87 = l_Lean_Syntax_isOfKind(x_85, x_86); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; -lean_dec(x_85); -x_88 = l_Lean_Syntax_getArg(x_84, x_79); -lean_dec(x_84); -x_89 = l_Lean_Syntax_isIdOrAtom_x3f(x_88); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_90; -x_90 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_88); -lean_ctor_set(x_13, 0, x_90); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_91; -x_91 = lean_ctor_get(x_89, 0); -lean_inc(x_91); -lean_dec(x_89); -lean_ctor_set(x_13, 1, x_88); -lean_ctor_set(x_13, 0, x_91); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_92 = l_Lean_Syntax_getArg(x_85, x_79); -x_93 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; -lean_inc(x_92); -x_94 = l_Lean_Syntax_isOfKind(x_92, x_93); -if (x_94 == 0) -{ -lean_object* x_95; lean_object* x_96; -lean_dec(x_92); -lean_dec(x_85); -x_95 = l_Lean_Syntax_getArg(x_84, x_79); -lean_dec(x_84); -x_96 = l_Lean_Syntax_isIdOrAtom_x3f(x_95); -if (lean_obj_tag(x_96) == 0) -{ -lean_object* x_97; -x_97 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_95); -lean_ctor_set(x_13, 0, x_97); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_98; -x_98 = lean_ctor_get(x_96, 0); -lean_inc(x_98); -lean_dec(x_96); -lean_ctor_set(x_13, 1, x_95); -lean_ctor_set(x_13, 0, x_98); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_99; uint8_t x_100; -x_99 = l_Lean_Syntax_getArg(x_85, x_83); -lean_dec(x_85); -x_100 = l_Lean_Syntax_isNone(x_99); -if (x_100 == 0) -{ -lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_101 = l_Lean_nullKind; -x_102 = lean_unsigned_to_nat(3u); -lean_inc(x_99); -x_103 = l_Lean_Syntax_isNodeOf(x_99, x_101, x_102); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; -lean_dec(x_99); -lean_dec(x_92); -x_104 = l_Lean_Syntax_getArg(x_84, x_79); -lean_dec(x_84); -x_105 = l_Lean_Syntax_isIdOrAtom_x3f(x_104); -if (lean_obj_tag(x_105) == 0) -{ -lean_object* x_106; -x_106 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_104); -lean_ctor_set(x_13, 0, x_106); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_107; -x_107 = lean_ctor_get(x_105, 0); -lean_inc(x_107); -lean_dec(x_105); -lean_ctor_set(x_13, 1, x_104); -lean_ctor_set(x_13, 0, x_107); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_84); -lean_free_object(x_13); -x_108 = l_Lean_Syntax_getArg(x_99, x_83); -lean_dec(x_99); -x_109 = l_Lean_Syntax_getArgs(x_108); -lean_dec(x_108); -x_110 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_110, 0, x_109); -x_111 = lean_box(0); -x_112 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_92, x_111, x_110); -lean_dec(x_110); -x_17 = x_112; -goto block_39; -} -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec(x_99); -lean_dec(x_84); -lean_free_object(x_13); -x_113 = lean_box(0); -x_114 = lean_box(0); -x_115 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_92, x_114, x_113); -x_17 = x_115; -goto block_39; -} -} -} -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; -x_116 = lean_unsigned_to_nat(1u); -x_117 = l_Lean_Syntax_getArg(x_4, x_116); -x_118 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__16; -lean_inc(x_117); -x_119 = l_Lean_Syntax_isOfKind(x_117, x_118); -if (x_119 == 0) -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; -lean_dec(x_117); -x_120 = l_Lean_Syntax_getArg(x_4, x_116); -x_121 = l_Lean_Syntax_getArg(x_120, x_116); -x_122 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; -lean_inc(x_121); -x_123 = l_Lean_Syntax_isOfKind(x_121, x_122); -if (x_123 == 0) -{ -lean_object* x_124; lean_object* x_125; -lean_dec(x_121); -x_124 = l_Lean_Syntax_getArg(x_120, x_79); -lean_dec(x_120); -x_125 = l_Lean_Syntax_isIdOrAtom_x3f(x_124); -if (lean_obj_tag(x_125) == 0) -{ -lean_object* x_126; -x_126 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_124); -lean_ctor_set(x_13, 0, x_126); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_127; -x_127 = lean_ctor_get(x_125, 0); -lean_inc(x_127); -lean_dec(x_125); -lean_ctor_set(x_13, 1, x_124); -lean_ctor_set(x_13, 0, x_127); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_128; lean_object* x_129; uint8_t x_130; -x_128 = l_Lean_Syntax_getArg(x_121, x_79); -x_129 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; -lean_inc(x_128); -x_130 = l_Lean_Syntax_isOfKind(x_128, x_129); -if (x_130 == 0) -{ -lean_object* x_131; lean_object* x_132; -lean_dec(x_128); -lean_dec(x_121); -x_131 = l_Lean_Syntax_getArg(x_120, x_79); -lean_dec(x_120); -x_132 = l_Lean_Syntax_isIdOrAtom_x3f(x_131); -if (lean_obj_tag(x_132) == 0) -{ -lean_object* x_133; -x_133 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_131); -lean_ctor_set(x_13, 0, x_133); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_134; -x_134 = lean_ctor_get(x_132, 0); -lean_inc(x_134); -lean_dec(x_132); -lean_ctor_set(x_13, 1, x_131); -lean_ctor_set(x_13, 0, x_134); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_135; uint8_t x_136; -x_135 = l_Lean_Syntax_getArg(x_121, x_116); -lean_dec(x_121); -x_136 = l_Lean_Syntax_isNone(x_135); -if (x_136 == 0) -{ -lean_object* x_137; lean_object* x_138; uint8_t x_139; -x_137 = l_Lean_nullKind; -x_138 = lean_unsigned_to_nat(3u); -lean_inc(x_135); -x_139 = l_Lean_Syntax_isNodeOf(x_135, x_137, x_138); -if (x_139 == 0) -{ -lean_object* x_140; lean_object* x_141; -lean_dec(x_135); -lean_dec(x_128); -x_140 = l_Lean_Syntax_getArg(x_120, x_79); -lean_dec(x_120); -x_141 = l_Lean_Syntax_isIdOrAtom_x3f(x_140); -if (lean_obj_tag(x_141) == 0) -{ -lean_object* x_142; -x_142 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_140); -lean_ctor_set(x_13, 0, x_142); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_143; -x_143 = lean_ctor_get(x_141, 0); -lean_inc(x_143); -lean_dec(x_141); -lean_ctor_set(x_13, 1, x_140); -lean_ctor_set(x_13, 0, x_143); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -lean_dec(x_120); -lean_free_object(x_13); -x_144 = l_Lean_Syntax_getArg(x_135, x_116); -lean_dec(x_135); -x_145 = l_Lean_Syntax_getArgs(x_144); -lean_dec(x_144); -x_146 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_146, 0, x_145); -x_147 = lean_box(0); -x_148 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_128, x_147, x_146); -lean_dec(x_146); -x_17 = x_148; -goto block_39; -} -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; -lean_dec(x_135); -lean_dec(x_120); -lean_free_object(x_13); -x_149 = lean_box(0); -x_150 = lean_box(0); -x_151 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_128, x_150, x_149); -x_17 = x_151; -goto block_39; -} -} -} -} -else -{ -lean_object* x_152; lean_object* x_153; uint8_t x_154; -x_152 = l_Lean_Syntax_getArg(x_117, x_79); -x_153 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__18; -x_154 = l_Lean_Syntax_isOfKind(x_152, x_153); -if (x_154 == 0) -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -lean_dec(x_117); -x_155 = l_Lean_Syntax_getArg(x_4, x_116); -x_156 = l_Lean_Syntax_getArg(x_155, x_116); -x_157 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; -lean_inc(x_156); -x_158 = l_Lean_Syntax_isOfKind(x_156, x_157); -if (x_158 == 0) -{ -lean_object* x_159; lean_object* x_160; -lean_dec(x_156); -x_159 = l_Lean_Syntax_getArg(x_155, x_79); -lean_dec(x_155); -x_160 = l_Lean_Syntax_isIdOrAtom_x3f(x_159); -if (lean_obj_tag(x_160) == 0) -{ -lean_object* x_161; -x_161 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_159); -lean_ctor_set(x_13, 0, x_161); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_162; -x_162 = lean_ctor_get(x_160, 0); -lean_inc(x_162); -lean_dec(x_160); -lean_ctor_set(x_13, 1, x_159); -lean_ctor_set(x_13, 0, x_162); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_163; lean_object* x_164; uint8_t x_165; -x_163 = l_Lean_Syntax_getArg(x_156, x_79); -x_164 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; -lean_inc(x_163); -x_165 = l_Lean_Syntax_isOfKind(x_163, x_164); -if (x_165 == 0) -{ -lean_object* x_166; lean_object* x_167; -lean_dec(x_163); -lean_dec(x_156); -x_166 = l_Lean_Syntax_getArg(x_155, x_79); -lean_dec(x_155); -x_167 = l_Lean_Syntax_isIdOrAtom_x3f(x_166); -if (lean_obj_tag(x_167) == 0) -{ -lean_object* x_168; -x_168 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_166); -lean_ctor_set(x_13, 0, x_168); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_169; -x_169 = lean_ctor_get(x_167, 0); -lean_inc(x_169); -lean_dec(x_167); -lean_ctor_set(x_13, 1, x_166); -lean_ctor_set(x_13, 0, x_169); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_170; uint8_t x_171; -x_170 = l_Lean_Syntax_getArg(x_156, x_116); -lean_dec(x_156); -x_171 = l_Lean_Syntax_isNone(x_170); -if (x_171 == 0) -{ -lean_object* x_172; lean_object* x_173; uint8_t x_174; -x_172 = l_Lean_nullKind; -x_173 = lean_unsigned_to_nat(3u); -lean_inc(x_170); -x_174 = l_Lean_Syntax_isNodeOf(x_170, x_172, x_173); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; -lean_dec(x_170); -lean_dec(x_163); -x_175 = l_Lean_Syntax_getArg(x_155, x_79); -lean_dec(x_155); -x_176 = l_Lean_Syntax_isIdOrAtom_x3f(x_175); -if (lean_obj_tag(x_176) == 0) -{ -lean_object* x_177; -x_177 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_175); -lean_ctor_set(x_13, 0, x_177); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_178; -x_178 = lean_ctor_get(x_176, 0); -lean_inc(x_178); -lean_dec(x_176); -lean_ctor_set(x_13, 1, x_175); -lean_ctor_set(x_13, 0, x_178); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -lean_dec(x_155); -lean_free_object(x_13); -x_179 = l_Lean_Syntax_getArg(x_170, x_116); -lean_dec(x_170); -x_180 = l_Lean_Syntax_getArgs(x_179); -lean_dec(x_179); -x_181 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_181, 0, x_180); -x_182 = lean_box(0); -x_183 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_163, x_182, x_181); -lean_dec(x_181); -x_17 = x_183; -goto block_39; -} -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; -lean_dec(x_170); -lean_dec(x_155); -lean_free_object(x_13); -x_184 = lean_box(0); -x_185 = lean_box(0); -x_186 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_163, x_185, x_184); -x_17 = x_186; -goto block_39; -} -} -} -} -else -{ -lean_object* x_187; lean_object* x_188; uint8_t x_189; -x_187 = lean_unsigned_to_nat(2u); -x_188 = l_Lean_Syntax_getArg(x_117, x_187); -x_189 = l_Lean_Syntax_isNone(x_188); -if (x_189 == 0) -{ -lean_object* x_190; uint8_t x_191; -x_190 = l_Lean_nullKind; -lean_inc(x_188); -x_191 = l_Lean_Syntax_isNodeOf(x_188, x_190, x_116); -if (x_191 == 0) -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; -lean_dec(x_188); -lean_dec(x_117); -x_192 = l_Lean_Syntax_getArg(x_4, x_116); -x_193 = l_Lean_Syntax_getArg(x_192, x_116); -x_194 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; -lean_inc(x_193); -x_195 = l_Lean_Syntax_isOfKind(x_193, x_194); -if (x_195 == 0) -{ -lean_object* x_196; lean_object* x_197; -lean_dec(x_193); -x_196 = l_Lean_Syntax_getArg(x_192, x_79); -lean_dec(x_192); -x_197 = l_Lean_Syntax_isIdOrAtom_x3f(x_196); -if (lean_obj_tag(x_197) == 0) -{ -lean_object* x_198; -x_198 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_196); -lean_ctor_set(x_13, 0, x_198); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_199; -x_199 = lean_ctor_get(x_197, 0); -lean_inc(x_199); -lean_dec(x_197); -lean_ctor_set(x_13, 1, x_196); -lean_ctor_set(x_13, 0, x_199); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_200; lean_object* x_201; uint8_t x_202; -x_200 = l_Lean_Syntax_getArg(x_193, x_79); -x_201 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; -lean_inc(x_200); -x_202 = l_Lean_Syntax_isOfKind(x_200, x_201); -if (x_202 == 0) -{ -lean_object* x_203; lean_object* x_204; -lean_dec(x_200); -lean_dec(x_193); -x_203 = l_Lean_Syntax_getArg(x_192, x_79); -lean_dec(x_192); -x_204 = l_Lean_Syntax_isIdOrAtom_x3f(x_203); -if (lean_obj_tag(x_204) == 0) -{ -lean_object* x_205; -x_205 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_203); -lean_ctor_set(x_13, 0, x_205); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_206; -x_206 = lean_ctor_get(x_204, 0); -lean_inc(x_206); -lean_dec(x_204); -lean_ctor_set(x_13, 1, x_203); -lean_ctor_set(x_13, 0, x_206); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_207; uint8_t x_208; -x_207 = l_Lean_Syntax_getArg(x_193, x_116); -lean_dec(x_193); -x_208 = l_Lean_Syntax_isNone(x_207); -if (x_208 == 0) -{ -lean_object* x_209; uint8_t x_210; -x_209 = lean_unsigned_to_nat(3u); -lean_inc(x_207); -x_210 = l_Lean_Syntax_isNodeOf(x_207, x_190, x_209); -if (x_210 == 0) -{ -lean_object* x_211; lean_object* x_212; -lean_dec(x_207); -lean_dec(x_200); -x_211 = l_Lean_Syntax_getArg(x_192, x_79); -lean_dec(x_192); -x_212 = l_Lean_Syntax_isIdOrAtom_x3f(x_211); -if (lean_obj_tag(x_212) == 0) -{ -lean_object* x_213; -x_213 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_211); -lean_ctor_set(x_13, 0, x_213); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_214; -x_214 = lean_ctor_get(x_212, 0); -lean_inc(x_214); -lean_dec(x_212); -lean_ctor_set(x_13, 1, x_211); -lean_ctor_set(x_13, 0, x_214); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -lean_dec(x_192); -lean_free_object(x_13); -x_215 = l_Lean_Syntax_getArg(x_207, x_116); -lean_dec(x_207); -x_216 = l_Lean_Syntax_getArgs(x_215); -lean_dec(x_215); -x_217 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_217, 0, x_216); -x_218 = lean_box(0); -x_219 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_200, x_218, x_217); -lean_dec(x_217); -x_17 = x_219; -goto block_39; -} -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; -lean_dec(x_207); -lean_dec(x_192); -lean_free_object(x_13); -x_220 = lean_box(0); -x_221 = lean_box(0); -x_222 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_200, x_221, x_220); -x_17 = x_222; -goto block_39; -} -} -} -} -else -{ -lean_object* x_223; lean_object* x_224; uint8_t x_225; -x_223 = l_Lean_Syntax_getArg(x_188, x_79); -lean_dec(x_188); -x_224 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__20; -lean_inc(x_223); -x_225 = l_Lean_Syntax_isOfKind(x_223, x_224); -if (x_225 == 0) -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; -lean_dec(x_223); -lean_dec(x_117); -x_226 = l_Lean_Syntax_getArg(x_4, x_116); -x_227 = l_Lean_Syntax_getArg(x_226, x_116); -x_228 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; -lean_inc(x_227); -x_229 = l_Lean_Syntax_isOfKind(x_227, x_228); -if (x_229 == 0) -{ -lean_object* x_230; lean_object* x_231; -lean_dec(x_227); -x_230 = l_Lean_Syntax_getArg(x_226, x_79); -lean_dec(x_226); -x_231 = l_Lean_Syntax_isIdOrAtom_x3f(x_230); -if (lean_obj_tag(x_231) == 0) -{ -lean_object* x_232; -x_232 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_230); -lean_ctor_set(x_13, 0, x_232); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_233; -x_233 = lean_ctor_get(x_231, 0); -lean_inc(x_233); -lean_dec(x_231); -lean_ctor_set(x_13, 1, x_230); -lean_ctor_set(x_13, 0, x_233); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_234; lean_object* x_235; uint8_t x_236; -x_234 = l_Lean_Syntax_getArg(x_227, x_79); -x_235 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; -lean_inc(x_234); -x_236 = l_Lean_Syntax_isOfKind(x_234, x_235); -if (x_236 == 0) -{ -lean_object* x_237; lean_object* x_238; -lean_dec(x_234); -lean_dec(x_227); -x_237 = l_Lean_Syntax_getArg(x_226, x_79); -lean_dec(x_226); -x_238 = l_Lean_Syntax_isIdOrAtom_x3f(x_237); -if (lean_obj_tag(x_238) == 0) -{ -lean_object* x_239; -x_239 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_237); -lean_ctor_set(x_13, 0, x_239); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_240; -x_240 = lean_ctor_get(x_238, 0); -lean_inc(x_240); -lean_dec(x_238); -lean_ctor_set(x_13, 1, x_237); -lean_ctor_set(x_13, 0, x_240); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_241; uint8_t x_242; -x_241 = l_Lean_Syntax_getArg(x_227, x_116); -lean_dec(x_227); -x_242 = l_Lean_Syntax_isNone(x_241); -if (x_242 == 0) -{ -lean_object* x_243; uint8_t x_244; -x_243 = lean_unsigned_to_nat(3u); -lean_inc(x_241); -x_244 = l_Lean_Syntax_isNodeOf(x_241, x_190, x_243); -if (x_244 == 0) -{ -lean_object* x_245; lean_object* x_246; -lean_dec(x_241); -lean_dec(x_234); -x_245 = l_Lean_Syntax_getArg(x_226, x_79); -lean_dec(x_226); -x_246 = l_Lean_Syntax_isIdOrAtom_x3f(x_245); -if (lean_obj_tag(x_246) == 0) -{ -lean_object* x_247; -x_247 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -lean_ctor_set(x_13, 1, x_245); -lean_ctor_set(x_13, 0, x_247); -x_17 = x_13; -goto block_39; -} -else -{ -lean_object* x_248; -x_248 = lean_ctor_get(x_246, 0); -lean_inc(x_248); -lean_dec(x_246); -lean_ctor_set(x_13, 1, x_245); -lean_ctor_set(x_13, 0, x_248); -x_17 = x_13; -goto block_39; -} -} -else -{ -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; -lean_dec(x_226); -lean_free_object(x_13); -x_249 = l_Lean_Syntax_getArg(x_241, x_116); -lean_dec(x_241); -x_250 = l_Lean_Syntax_getArgs(x_249); -lean_dec(x_249); -x_251 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_251, 0, x_250); -x_252 = lean_box(0); -x_253 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_234, x_252, x_251); -lean_dec(x_251); -x_17 = x_253; -goto block_39; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; -lean_dec(x_241); -lean_dec(x_226); -lean_free_object(x_13); -x_254 = lean_box(0); -x_255 = lean_box(0); -x_256 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_234, x_255, x_254); -x_17 = x_256; -goto block_39; -} -} -} -} -else -{ -lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; -lean_free_object(x_13); -x_257 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_257, 0, x_223); -x_258 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; -x_259 = lean_box(0); -lean_inc(x_4); -x_260 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(x_117, x_258, x_4, x_259, x_257); -lean_dec(x_257); -x_17 = x_260; -goto block_39; -} -} -} -else -{ -lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -lean_dec(x_188); -lean_free_object(x_13); -x_261 = lean_box(0); -x_262 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; -x_263 = lean_box(0); -lean_inc(x_4); -x_264 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(x_117, x_262, x_4, x_263, x_261); -x_17 = x_264; -goto block_39; -} -} -} -} -} -} -} -block_39: -{ -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); +x_17 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__10; +lean_inc(x_5); +x_18 = l_Lean_Syntax_isOfKind(x_5, x_17); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -x_21 = l_Lean_Server_FileWorker_hasRange(x_20); -if (x_21 == 0) -{ -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_6); -lean_dec(x_4); -lean_ctor_set(x_17, 1, x_16); -lean_ctor_set(x_17, 0, x_15); -return x_17; +lean_dec(x_5); +return x_13; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; -x_22 = lean_box(0); -x_23 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_4); -lean_dec(x_4); -x_24 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_20); -lean_dec(x_20); -x_25 = 5; -x_26 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_26, 0, x_19); -lean_ctor_set(x_26, 1, x_22); -lean_ctor_set(x_26, 2, x_23); -lean_ctor_set(x_26, 3, x_24); -lean_ctor_set(x_26, 4, x_22); -lean_ctor_set_uint8(x_26, sizeof(void*)*5, x_25); -if (lean_is_scalar(x_6)) { - x_27 = lean_alloc_ctor(1, 2, 0); -} else { - x_27 = x_6; -} -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_15); -lean_ctor_set(x_17, 1, x_16); -lean_ctor_set(x_17, 0, x_27); -return x_17; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_free_object(x_13); +x_19 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; +x_20 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__4; +x_21 = lean_box(0); +lean_inc(x_5); +x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6(x_15, x_16, x_5, x_1, x_19, x_5, x_20, x_21); +return x_22; } } else { -lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_28 = lean_ctor_get(x_17, 0); -x_29 = lean_ctor_get(x_17, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_17); -x_30 = l_Lean_Server_FileWorker_hasRange(x_29); -if (x_30 == 0) +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_23 = lean_ctor_get(x_13, 0); +x_24 = lean_ctor_get(x_13, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_13); +x_25 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__10; +lean_inc(x_5); +x_26 = l_Lean_Syntax_isOfKind(x_5, x_25); +if (x_26 == 0) { -lean_object* x_31; -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_6); -lean_dec(x_4); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_15); -lean_ctor_set(x_31, 1, x_16); +lean_object* x_27; +lean_dec(x_5); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 1, x_24); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; +x_29 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__4; +x_30 = lean_box(0); +lean_inc(x_5); +x_31 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6(x_23, x_24, x_5, x_1, x_28, x_5, x_29, x_30); return x_31; } +} +} else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_object* x_32; lean_object* x_33; x_32 = lean_box(0); -x_33 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_4); -lean_dec(x_4); -x_34 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_29); -lean_dec(x_29); -x_35 = 5; -x_36 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_36, 0, x_28); -lean_ctor_set(x_36, 1, x_32); -lean_ctor_set(x_36, 2, x_33); -lean_ctor_set(x_36, 3, x_34); -lean_ctor_set(x_36, 4, x_32); -lean_ctor_set_uint8(x_36, sizeof(void*)*5, x_35); -if (lean_is_scalar(x_6)) { - x_37 = lean_alloc_ctor(1, 2, 0); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_2); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_free_object(x_2); +x_34 = lean_unsigned_to_nat(1u); +x_35 = l_Lean_Syntax_getArg(x_5, x_34); +x_36 = l_Lean_Syntax_getOptional_x3f(x_35); +lean_dec(x_35); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; uint8_t x_38; lean_object* x_39; +x_37 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11; +x_38 = 2; +lean_inc(x_5); +x_39 = l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(x_1, x_5, x_6, x_37, x_38, x_5); +lean_dec(x_5); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_36, 0); +lean_inc(x_40); +lean_dec(x_36); +x_41 = l_Lean_Syntax_getId(x_40); +x_42 = 1; +x_43 = l_Lean_Name_toString(x_41, x_42); +x_44 = 2; +x_45 = l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(x_1, x_5, x_6, x_43, x_44, x_40); +lean_dec(x_40); +return x_45; +} +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; +lean_free_object(x_2); +x_46 = lean_unsigned_to_nat(1u); +x_47 = l_Lean_Syntax_getArg(x_5, x_46); +x_48 = l_Lean_Syntax_getId(x_47); +x_49 = 1; +x_50 = l_Lean_Name_toString(x_48, x_49); +x_51 = 2; +x_52 = l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(x_1, x_5, x_6, x_50, x_51, x_47); +lean_dec(x_47); +return x_52; +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_53 = lean_ctor_get(x_2, 0); +x_54 = lean_ctor_get(x_2, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_2); +x_55 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__5; +lean_inc(x_53); +x_56 = l_Lean_Syntax_isOfKind(x_53, x_55); +if (x_56 == 0) +{ +lean_object* x_57; uint8_t x_58; +x_57 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__7; +lean_inc(x_53); +x_58 = l_Lean_Syntax_isOfKind(x_53, x_57); +if (x_58 == 0) +{ +lean_object* x_59; uint8_t x_60; +x_59 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__9; +lean_inc(x_53); +x_60 = l_Lean_Syntax_isOfKind(x_53, x_59); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_61 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(x_1, x_54); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_64 = x_61; } else { - x_37 = x_6; -} -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_15); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_16); -return x_38; -} -} -} -} -else -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_281; uint8_t x_282; -x_265 = lean_ctor_get(x_13, 0); -x_266 = lean_ctor_get(x_13, 1); -lean_inc(x_266); -lean_inc(x_265); -lean_dec(x_13); -x_281 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11; -lean_inc(x_4); -x_282 = l_Lean_Syntax_isOfKind(x_4, x_281); -if (x_282 == 0) -{ -lean_object* x_283; -lean_dec(x_6); -lean_dec(x_4); -x_283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_283, 0, x_265); -lean_ctor_set(x_283, 1, x_266); -return x_283; -} -else -{ -uint8_t x_284; -x_284 = l_Lean_Server_FileWorker_hasRange(x_4); -if (x_284 == 0) -{ -lean_object* x_285; -lean_dec(x_6); -lean_dec(x_4); -x_285 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_285, 0, x_265); -lean_ctor_set(x_285, 1, x_266); -return x_285; -} -else -{ -uint8_t x_286; -lean_inc(x_4); -x_286 = l_Lean_Syntax_isOfKind(x_4, x_281); -if (x_286 == 0) -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t x_291; -x_287 = lean_unsigned_to_nat(1u); -x_288 = l_Lean_Syntax_getArg(x_4, x_287); -x_289 = l_Lean_Syntax_getArg(x_288, x_287); -x_290 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; -lean_inc(x_289); -x_291 = l_Lean_Syntax_isOfKind(x_289, x_290); -if (x_291 == 0) -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; -lean_dec(x_289); -x_292 = lean_unsigned_to_nat(0u); -x_293 = l_Lean_Syntax_getArg(x_288, x_292); -lean_dec(x_288); -x_294 = l_Lean_Syntax_isIdOrAtom_x3f(x_293); -if (lean_obj_tag(x_294) == 0) -{ -lean_object* x_295; lean_object* x_296; -x_295 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_296 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_293); -x_267 = x_296; -goto block_280; -} -else -{ -lean_object* x_297; lean_object* x_298; -x_297 = lean_ctor_get(x_294, 0); -lean_inc(x_297); -lean_dec(x_294); -x_298 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_298, 0, x_297); -lean_ctor_set(x_298, 1, x_293); -x_267 = x_298; -goto block_280; -} -} -else -{ -lean_object* x_299; lean_object* x_300; lean_object* x_301; uint8_t x_302; -x_299 = lean_unsigned_to_nat(0u); -x_300 = l_Lean_Syntax_getArg(x_289, x_299); -x_301 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; -lean_inc(x_300); -x_302 = l_Lean_Syntax_isOfKind(x_300, x_301); -if (x_302 == 0) -{ -lean_object* x_303; lean_object* x_304; -lean_dec(x_300); -lean_dec(x_289); -x_303 = l_Lean_Syntax_getArg(x_288, x_299); -lean_dec(x_288); -x_304 = l_Lean_Syntax_isIdOrAtom_x3f(x_303); -if (lean_obj_tag(x_304) == 0) -{ -lean_object* x_305; lean_object* x_306; -x_305 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_306 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_306, 0, x_305); -lean_ctor_set(x_306, 1, x_303); -x_267 = x_306; -goto block_280; -} -else -{ -lean_object* x_307; lean_object* x_308; -x_307 = lean_ctor_get(x_304, 0); -lean_inc(x_307); -lean_dec(x_304); -x_308 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_308, 0, x_307); -lean_ctor_set(x_308, 1, x_303); -x_267 = x_308; -goto block_280; -} -} -else -{ -lean_object* x_309; uint8_t x_310; -x_309 = l_Lean_Syntax_getArg(x_289, x_287); -lean_dec(x_289); -x_310 = l_Lean_Syntax_isNone(x_309); -if (x_310 == 0) -{ -lean_object* x_311; lean_object* x_312; uint8_t x_313; -x_311 = l_Lean_nullKind; -x_312 = lean_unsigned_to_nat(3u); -lean_inc(x_309); -x_313 = l_Lean_Syntax_isNodeOf(x_309, x_311, x_312); -if (x_313 == 0) -{ -lean_object* x_314; lean_object* x_315; -lean_dec(x_309); -lean_dec(x_300); -x_314 = l_Lean_Syntax_getArg(x_288, x_299); -lean_dec(x_288); -x_315 = l_Lean_Syntax_isIdOrAtom_x3f(x_314); -if (lean_obj_tag(x_315) == 0) -{ -lean_object* x_316; lean_object* x_317; -x_316 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_317 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_314); -x_267 = x_317; -goto block_280; -} -else -{ -lean_object* x_318; lean_object* x_319; -x_318 = lean_ctor_get(x_315, 0); -lean_inc(x_318); -lean_dec(x_315); -x_319 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_314); -x_267 = x_319; -goto block_280; -} -} -else -{ -lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; -lean_dec(x_288); -x_320 = l_Lean_Syntax_getArg(x_309, x_287); -lean_dec(x_309); -x_321 = l_Lean_Syntax_getArgs(x_320); -lean_dec(x_320); -x_322 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_322, 0, x_321); -x_323 = lean_box(0); -x_324 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_300, x_323, x_322); -lean_dec(x_322); -x_267 = x_324; -goto block_280; -} -} -else -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; -lean_dec(x_309); -lean_dec(x_288); -x_325 = lean_box(0); -x_326 = lean_box(0); -x_327 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_300, x_326, x_325); -x_267 = x_327; -goto block_280; -} -} -} -} -else -{ -lean_object* x_328; lean_object* x_329; lean_object* x_330; uint8_t x_331; -x_328 = lean_unsigned_to_nat(0u); -x_329 = l_Lean_Syntax_getArg(x_4, x_328); -x_330 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__14; -x_331 = l_Lean_Syntax_isOfKind(x_329, x_330); -if (x_331 == 0) -{ -lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; uint8_t x_336; -x_332 = lean_unsigned_to_nat(1u); -x_333 = l_Lean_Syntax_getArg(x_4, x_332); -x_334 = l_Lean_Syntax_getArg(x_333, x_332); -x_335 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; -lean_inc(x_334); -x_336 = l_Lean_Syntax_isOfKind(x_334, x_335); -if (x_336 == 0) -{ -lean_object* x_337; lean_object* x_338; -lean_dec(x_334); -x_337 = l_Lean_Syntax_getArg(x_333, x_328); -lean_dec(x_333); -x_338 = l_Lean_Syntax_isIdOrAtom_x3f(x_337); -if (lean_obj_tag(x_338) == 0) -{ -lean_object* x_339; lean_object* x_340; -x_339 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_340 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_340, 0, x_339); -lean_ctor_set(x_340, 1, x_337); -x_267 = x_340; -goto block_280; -} -else -{ -lean_object* x_341; lean_object* x_342; -x_341 = lean_ctor_get(x_338, 0); -lean_inc(x_341); -lean_dec(x_338); -x_342 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_342, 0, x_341); -lean_ctor_set(x_342, 1, x_337); -x_267 = x_342; -goto block_280; -} -} -else -{ -lean_object* x_343; lean_object* x_344; uint8_t x_345; -x_343 = l_Lean_Syntax_getArg(x_334, x_328); -x_344 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; -lean_inc(x_343); -x_345 = l_Lean_Syntax_isOfKind(x_343, x_344); -if (x_345 == 0) -{ -lean_object* x_346; lean_object* x_347; -lean_dec(x_343); -lean_dec(x_334); -x_346 = l_Lean_Syntax_getArg(x_333, x_328); -lean_dec(x_333); -x_347 = l_Lean_Syntax_isIdOrAtom_x3f(x_346); -if (lean_obj_tag(x_347) == 0) -{ -lean_object* x_348; lean_object* x_349; -x_348 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_349 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_349, 0, x_348); -lean_ctor_set(x_349, 1, x_346); -x_267 = x_349; -goto block_280; -} -else -{ -lean_object* x_350; lean_object* x_351; -x_350 = lean_ctor_get(x_347, 0); -lean_inc(x_350); -lean_dec(x_347); -x_351 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_351, 0, x_350); -lean_ctor_set(x_351, 1, x_346); -x_267 = x_351; -goto block_280; -} -} -else -{ -lean_object* x_352; uint8_t x_353; -x_352 = l_Lean_Syntax_getArg(x_334, x_332); -lean_dec(x_334); -x_353 = l_Lean_Syntax_isNone(x_352); -if (x_353 == 0) -{ -lean_object* x_354; lean_object* x_355; uint8_t x_356; -x_354 = l_Lean_nullKind; -x_355 = lean_unsigned_to_nat(3u); -lean_inc(x_352); -x_356 = l_Lean_Syntax_isNodeOf(x_352, x_354, x_355); -if (x_356 == 0) -{ -lean_object* x_357; lean_object* x_358; -lean_dec(x_352); -lean_dec(x_343); -x_357 = l_Lean_Syntax_getArg(x_333, x_328); -lean_dec(x_333); -x_358 = l_Lean_Syntax_isIdOrAtom_x3f(x_357); -if (lean_obj_tag(x_358) == 0) -{ -lean_object* x_359; lean_object* x_360; -x_359 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_360 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_360, 0, x_359); -lean_ctor_set(x_360, 1, x_357); -x_267 = x_360; -goto block_280; -} -else -{ -lean_object* x_361; lean_object* x_362; -x_361 = lean_ctor_get(x_358, 0); -lean_inc(x_361); -lean_dec(x_358); -x_362 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_362, 0, x_361); -lean_ctor_set(x_362, 1, x_357); -x_267 = x_362; -goto block_280; -} -} -else -{ -lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; -lean_dec(x_333); -x_363 = l_Lean_Syntax_getArg(x_352, x_332); -lean_dec(x_352); -x_364 = l_Lean_Syntax_getArgs(x_363); -lean_dec(x_363); -x_365 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_365, 0, x_364); -x_366 = lean_box(0); -x_367 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_343, x_366, x_365); -lean_dec(x_365); -x_267 = x_367; -goto block_280; -} -} -else -{ -lean_object* x_368; lean_object* x_369; lean_object* x_370; -lean_dec(x_352); -lean_dec(x_333); -x_368 = lean_box(0); -x_369 = lean_box(0); -x_370 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_343, x_369, x_368); -x_267 = x_370; -goto block_280; -} -} -} -} -else -{ -lean_object* x_371; lean_object* x_372; lean_object* x_373; uint8_t x_374; -x_371 = lean_unsigned_to_nat(1u); -x_372 = l_Lean_Syntax_getArg(x_4, x_371); -x_373 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__16; -lean_inc(x_372); -x_374 = l_Lean_Syntax_isOfKind(x_372, x_373); -if (x_374 == 0) -{ -lean_object* x_375; lean_object* x_376; lean_object* x_377; uint8_t x_378; -lean_dec(x_372); -x_375 = l_Lean_Syntax_getArg(x_4, x_371); -x_376 = l_Lean_Syntax_getArg(x_375, x_371); -x_377 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; -lean_inc(x_376); -x_378 = l_Lean_Syntax_isOfKind(x_376, x_377); -if (x_378 == 0) -{ -lean_object* x_379; lean_object* x_380; -lean_dec(x_376); -x_379 = l_Lean_Syntax_getArg(x_375, x_328); -lean_dec(x_375); -x_380 = l_Lean_Syntax_isIdOrAtom_x3f(x_379); -if (lean_obj_tag(x_380) == 0) -{ -lean_object* x_381; lean_object* x_382; -x_381 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_382 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_382, 0, x_381); -lean_ctor_set(x_382, 1, x_379); -x_267 = x_382; -goto block_280; -} -else -{ -lean_object* x_383; lean_object* x_384; -x_383 = lean_ctor_get(x_380, 0); -lean_inc(x_383); -lean_dec(x_380); -x_384 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_384, 0, x_383); -lean_ctor_set(x_384, 1, x_379); -x_267 = x_384; -goto block_280; -} -} -else -{ -lean_object* x_385; lean_object* x_386; uint8_t x_387; -x_385 = l_Lean_Syntax_getArg(x_376, x_328); -x_386 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; -lean_inc(x_385); -x_387 = l_Lean_Syntax_isOfKind(x_385, x_386); -if (x_387 == 0) -{ -lean_object* x_388; lean_object* x_389; -lean_dec(x_385); -lean_dec(x_376); -x_388 = l_Lean_Syntax_getArg(x_375, x_328); -lean_dec(x_375); -x_389 = l_Lean_Syntax_isIdOrAtom_x3f(x_388); -if (lean_obj_tag(x_389) == 0) -{ -lean_object* x_390; lean_object* x_391; -x_390 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_391 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_391, 0, x_390); -lean_ctor_set(x_391, 1, x_388); -x_267 = x_391; -goto block_280; -} -else -{ -lean_object* x_392; lean_object* x_393; -x_392 = lean_ctor_get(x_389, 0); -lean_inc(x_392); -lean_dec(x_389); -x_393 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_393, 0, x_392); -lean_ctor_set(x_393, 1, x_388); -x_267 = x_393; -goto block_280; -} -} -else -{ -lean_object* x_394; uint8_t x_395; -x_394 = l_Lean_Syntax_getArg(x_376, x_371); -lean_dec(x_376); -x_395 = l_Lean_Syntax_isNone(x_394); -if (x_395 == 0) -{ -lean_object* x_396; lean_object* x_397; uint8_t x_398; -x_396 = l_Lean_nullKind; -x_397 = lean_unsigned_to_nat(3u); -lean_inc(x_394); -x_398 = l_Lean_Syntax_isNodeOf(x_394, x_396, x_397); -if (x_398 == 0) -{ -lean_object* x_399; lean_object* x_400; -lean_dec(x_394); -lean_dec(x_385); -x_399 = l_Lean_Syntax_getArg(x_375, x_328); -lean_dec(x_375); -x_400 = l_Lean_Syntax_isIdOrAtom_x3f(x_399); -if (lean_obj_tag(x_400) == 0) -{ -lean_object* x_401; lean_object* x_402; -x_401 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_402 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_399); -x_267 = x_402; -goto block_280; -} -else -{ -lean_object* x_403; lean_object* x_404; -x_403 = lean_ctor_get(x_400, 0); -lean_inc(x_403); -lean_dec(x_400); -x_404 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_404, 0, x_403); -lean_ctor_set(x_404, 1, x_399); -x_267 = x_404; -goto block_280; -} -} -else -{ -lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; -lean_dec(x_375); -x_405 = l_Lean_Syntax_getArg(x_394, x_371); -lean_dec(x_394); -x_406 = l_Lean_Syntax_getArgs(x_405); -lean_dec(x_405); -x_407 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_407, 0, x_406); -x_408 = lean_box(0); -x_409 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_385, x_408, x_407); -lean_dec(x_407); -x_267 = x_409; -goto block_280; -} -} -else -{ -lean_object* x_410; lean_object* x_411; lean_object* x_412; -lean_dec(x_394); -lean_dec(x_375); -x_410 = lean_box(0); -x_411 = lean_box(0); -x_412 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_385, x_411, x_410); -x_267 = x_412; -goto block_280; -} -} -} -} -else -{ -lean_object* x_413; lean_object* x_414; uint8_t x_415; -x_413 = l_Lean_Syntax_getArg(x_372, x_328); -x_414 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__18; -x_415 = l_Lean_Syntax_isOfKind(x_413, x_414); -if (x_415 == 0) -{ -lean_object* x_416; lean_object* x_417; lean_object* x_418; uint8_t x_419; -lean_dec(x_372); -x_416 = l_Lean_Syntax_getArg(x_4, x_371); -x_417 = l_Lean_Syntax_getArg(x_416, x_371); -x_418 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; -lean_inc(x_417); -x_419 = l_Lean_Syntax_isOfKind(x_417, x_418); -if (x_419 == 0) -{ -lean_object* x_420; lean_object* x_421; -lean_dec(x_417); -x_420 = l_Lean_Syntax_getArg(x_416, x_328); -lean_dec(x_416); -x_421 = l_Lean_Syntax_isIdOrAtom_x3f(x_420); -if (lean_obj_tag(x_421) == 0) -{ -lean_object* x_422; lean_object* x_423; -x_422 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_423 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_423, 0, x_422); -lean_ctor_set(x_423, 1, x_420); -x_267 = x_423; -goto block_280; -} -else -{ -lean_object* x_424; lean_object* x_425; -x_424 = lean_ctor_get(x_421, 0); -lean_inc(x_424); -lean_dec(x_421); -x_425 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_425, 0, x_424); -lean_ctor_set(x_425, 1, x_420); -x_267 = x_425; -goto block_280; -} -} -else -{ -lean_object* x_426; lean_object* x_427; uint8_t x_428; -x_426 = l_Lean_Syntax_getArg(x_417, x_328); -x_427 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; -lean_inc(x_426); -x_428 = l_Lean_Syntax_isOfKind(x_426, x_427); -if (x_428 == 0) -{ -lean_object* x_429; lean_object* x_430; -lean_dec(x_426); -lean_dec(x_417); -x_429 = l_Lean_Syntax_getArg(x_416, x_328); -lean_dec(x_416); -x_430 = l_Lean_Syntax_isIdOrAtom_x3f(x_429); -if (lean_obj_tag(x_430) == 0) -{ -lean_object* x_431; lean_object* x_432; -x_431 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_432 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_432, 0, x_431); -lean_ctor_set(x_432, 1, x_429); -x_267 = x_432; -goto block_280; -} -else -{ -lean_object* x_433; lean_object* x_434; -x_433 = lean_ctor_get(x_430, 0); -lean_inc(x_433); -lean_dec(x_430); -x_434 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_434, 0, x_433); -lean_ctor_set(x_434, 1, x_429); -x_267 = x_434; -goto block_280; -} -} -else -{ -lean_object* x_435; uint8_t x_436; -x_435 = l_Lean_Syntax_getArg(x_417, x_371); -lean_dec(x_417); -x_436 = l_Lean_Syntax_isNone(x_435); -if (x_436 == 0) -{ -lean_object* x_437; lean_object* x_438; uint8_t x_439; -x_437 = l_Lean_nullKind; -x_438 = lean_unsigned_to_nat(3u); -lean_inc(x_435); -x_439 = l_Lean_Syntax_isNodeOf(x_435, x_437, x_438); -if (x_439 == 0) -{ -lean_object* x_440; lean_object* x_441; -lean_dec(x_435); -lean_dec(x_426); -x_440 = l_Lean_Syntax_getArg(x_416, x_328); -lean_dec(x_416); -x_441 = l_Lean_Syntax_isIdOrAtom_x3f(x_440); -if (lean_obj_tag(x_441) == 0) -{ -lean_object* x_442; lean_object* x_443; -x_442 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_443 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_443, 0, x_442); -lean_ctor_set(x_443, 1, x_440); -x_267 = x_443; -goto block_280; -} -else -{ -lean_object* x_444; lean_object* x_445; -x_444 = lean_ctor_get(x_441, 0); -lean_inc(x_444); -lean_dec(x_441); -x_445 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_445, 0, x_444); -lean_ctor_set(x_445, 1, x_440); -x_267 = x_445; -goto block_280; -} -} -else -{ -lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; -lean_dec(x_416); -x_446 = l_Lean_Syntax_getArg(x_435, x_371); -lean_dec(x_435); -x_447 = l_Lean_Syntax_getArgs(x_446); -lean_dec(x_446); -x_448 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_448, 0, x_447); -x_449 = lean_box(0); -x_450 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_426, x_449, x_448); -lean_dec(x_448); -x_267 = x_450; -goto block_280; -} -} -else -{ -lean_object* x_451; lean_object* x_452; lean_object* x_453; -lean_dec(x_435); -lean_dec(x_416); -x_451 = lean_box(0); -x_452 = lean_box(0); -x_453 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_426, x_452, x_451); -x_267 = x_453; -goto block_280; -} -} -} -} -else -{ -lean_object* x_454; lean_object* x_455; uint8_t x_456; -x_454 = lean_unsigned_to_nat(2u); -x_455 = l_Lean_Syntax_getArg(x_372, x_454); -x_456 = l_Lean_Syntax_isNone(x_455); -if (x_456 == 0) -{ -lean_object* x_457; uint8_t x_458; -x_457 = l_Lean_nullKind; -lean_inc(x_455); -x_458 = l_Lean_Syntax_isNodeOf(x_455, x_457, x_371); -if (x_458 == 0) -{ -lean_object* x_459; lean_object* x_460; lean_object* x_461; uint8_t x_462; -lean_dec(x_455); -lean_dec(x_372); -x_459 = l_Lean_Syntax_getArg(x_4, x_371); -x_460 = l_Lean_Syntax_getArg(x_459, x_371); -x_461 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; -lean_inc(x_460); -x_462 = l_Lean_Syntax_isOfKind(x_460, x_461); -if (x_462 == 0) -{ -lean_object* x_463; lean_object* x_464; -lean_dec(x_460); -x_463 = l_Lean_Syntax_getArg(x_459, x_328); -lean_dec(x_459); -x_464 = l_Lean_Syntax_isIdOrAtom_x3f(x_463); -if (lean_obj_tag(x_464) == 0) -{ -lean_object* x_465; lean_object* x_466; -x_465 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_466 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_466, 0, x_465); -lean_ctor_set(x_466, 1, x_463); -x_267 = x_466; -goto block_280; -} -else -{ -lean_object* x_467; lean_object* x_468; -x_467 = lean_ctor_get(x_464, 0); -lean_inc(x_467); -lean_dec(x_464); -x_468 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_468, 0, x_467); -lean_ctor_set(x_468, 1, x_463); -x_267 = x_468; -goto block_280; -} -} -else -{ -lean_object* x_469; lean_object* x_470; uint8_t x_471; -x_469 = l_Lean_Syntax_getArg(x_460, x_328); -x_470 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; -lean_inc(x_469); -x_471 = l_Lean_Syntax_isOfKind(x_469, x_470); -if (x_471 == 0) -{ -lean_object* x_472; lean_object* x_473; -lean_dec(x_469); -lean_dec(x_460); -x_472 = l_Lean_Syntax_getArg(x_459, x_328); -lean_dec(x_459); -x_473 = l_Lean_Syntax_isIdOrAtom_x3f(x_472); -if (lean_obj_tag(x_473) == 0) -{ -lean_object* x_474; lean_object* x_475; -x_474 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_475 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_475, 0, x_474); -lean_ctor_set(x_475, 1, x_472); -x_267 = x_475; -goto block_280; -} -else -{ -lean_object* x_476; lean_object* x_477; -x_476 = lean_ctor_get(x_473, 0); -lean_inc(x_476); -lean_dec(x_473); -x_477 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_477, 0, x_476); -lean_ctor_set(x_477, 1, x_472); -x_267 = x_477; -goto block_280; -} -} -else -{ -lean_object* x_478; uint8_t x_479; -x_478 = l_Lean_Syntax_getArg(x_460, x_371); -lean_dec(x_460); -x_479 = l_Lean_Syntax_isNone(x_478); -if (x_479 == 0) -{ -lean_object* x_480; uint8_t x_481; -x_480 = lean_unsigned_to_nat(3u); -lean_inc(x_478); -x_481 = l_Lean_Syntax_isNodeOf(x_478, x_457, x_480); -if (x_481 == 0) -{ -lean_object* x_482; lean_object* x_483; -lean_dec(x_478); -lean_dec(x_469); -x_482 = l_Lean_Syntax_getArg(x_459, x_328); -lean_dec(x_459); -x_483 = l_Lean_Syntax_isIdOrAtom_x3f(x_482); -if (lean_obj_tag(x_483) == 0) -{ -lean_object* x_484; lean_object* x_485; -x_484 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_485 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_485, 0, x_484); -lean_ctor_set(x_485, 1, x_482); -x_267 = x_485; -goto block_280; -} -else -{ -lean_object* x_486; lean_object* x_487; -x_486 = lean_ctor_get(x_483, 0); -lean_inc(x_486); -lean_dec(x_483); -x_487 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_487, 0, x_486); -lean_ctor_set(x_487, 1, x_482); -x_267 = x_487; -goto block_280; -} -} -else -{ -lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; -lean_dec(x_459); -x_488 = l_Lean_Syntax_getArg(x_478, x_371); -lean_dec(x_478); -x_489 = l_Lean_Syntax_getArgs(x_488); -lean_dec(x_488); -x_490 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_490, 0, x_489); -x_491 = lean_box(0); -x_492 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_469, x_491, x_490); -lean_dec(x_490); -x_267 = x_492; -goto block_280; -} -} -else -{ -lean_object* x_493; lean_object* x_494; lean_object* x_495; -lean_dec(x_478); -lean_dec(x_459); -x_493 = lean_box(0); -x_494 = lean_box(0); -x_495 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_469, x_494, x_493); -x_267 = x_495; -goto block_280; -} -} -} -} -else -{ -lean_object* x_496; lean_object* x_497; uint8_t x_498; -x_496 = l_Lean_Syntax_getArg(x_455, x_328); -lean_dec(x_455); -x_497 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__20; -lean_inc(x_496); -x_498 = l_Lean_Syntax_isOfKind(x_496, x_497); -if (x_498 == 0) -{ -lean_object* x_499; lean_object* x_500; lean_object* x_501; uint8_t x_502; -lean_dec(x_496); -lean_dec(x_372); -x_499 = l_Lean_Syntax_getArg(x_4, x_371); -x_500 = l_Lean_Syntax_getArg(x_499, x_371); -x_501 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12; -lean_inc(x_500); -x_502 = l_Lean_Syntax_isOfKind(x_500, x_501); -if (x_502 == 0) -{ -lean_object* x_503; lean_object* x_504; -lean_dec(x_500); -x_503 = l_Lean_Syntax_getArg(x_499, x_328); -lean_dec(x_499); -x_504 = l_Lean_Syntax_isIdOrAtom_x3f(x_503); -if (lean_obj_tag(x_504) == 0) -{ -lean_object* x_505; lean_object* x_506; -x_505 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_506 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_506, 0, x_505); -lean_ctor_set(x_506, 1, x_503); -x_267 = x_506; -goto block_280; -} -else -{ -lean_object* x_507; lean_object* x_508; -x_507 = lean_ctor_get(x_504, 0); -lean_inc(x_507); -lean_dec(x_504); -x_508 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_508, 0, x_507); -lean_ctor_set(x_508, 1, x_503); -x_267 = x_508; -goto block_280; -} -} -else -{ -lean_object* x_509; lean_object* x_510; uint8_t x_511; -x_509 = l_Lean_Syntax_getArg(x_500, x_328); -x_510 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; -lean_inc(x_509); -x_511 = l_Lean_Syntax_isOfKind(x_509, x_510); -if (x_511 == 0) -{ -lean_object* x_512; lean_object* x_513; -lean_dec(x_509); -lean_dec(x_500); -x_512 = l_Lean_Syntax_getArg(x_499, x_328); -lean_dec(x_499); -x_513 = l_Lean_Syntax_isIdOrAtom_x3f(x_512); -if (lean_obj_tag(x_513) == 0) -{ -lean_object* x_514; lean_object* x_515; -x_514 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_515 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_515, 0, x_514); -lean_ctor_set(x_515, 1, x_512); -x_267 = x_515; -goto block_280; -} -else -{ -lean_object* x_516; lean_object* x_517; -x_516 = lean_ctor_get(x_513, 0); -lean_inc(x_516); -lean_dec(x_513); -x_517 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_517, 0, x_516); -lean_ctor_set(x_517, 1, x_512); -x_267 = x_517; -goto block_280; -} -} -else -{ -lean_object* x_518; uint8_t x_519; -x_518 = l_Lean_Syntax_getArg(x_500, x_371); -lean_dec(x_500); -x_519 = l_Lean_Syntax_isNone(x_518); -if (x_519 == 0) -{ -lean_object* x_520; uint8_t x_521; -x_520 = lean_unsigned_to_nat(3u); -lean_inc(x_518); -x_521 = l_Lean_Syntax_isNodeOf(x_518, x_457, x_520); -if (x_521 == 0) -{ -lean_object* x_522; lean_object* x_523; -lean_dec(x_518); -lean_dec(x_509); -x_522 = l_Lean_Syntax_getArg(x_499, x_328); -lean_dec(x_499); -x_523 = l_Lean_Syntax_isIdOrAtom_x3f(x_522); -if (lean_obj_tag(x_523) == 0) -{ -lean_object* x_524; lean_object* x_525; -x_524 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3; -x_525 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_525, 0, x_524); -lean_ctor_set(x_525, 1, x_522); -x_267 = x_525; -goto block_280; -} -else -{ -lean_object* x_526; lean_object* x_527; -x_526 = lean_ctor_get(x_523, 0); -lean_inc(x_526); -lean_dec(x_523); -x_527 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_527, 0, x_526); -lean_ctor_set(x_527, 1, x_522); -x_267 = x_527; -goto block_280; -} -} -else -{ -lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; -lean_dec(x_499); -x_528 = l_Lean_Syntax_getArg(x_518, x_371); -lean_dec(x_518); -x_529 = l_Lean_Syntax_getArgs(x_528); -lean_dec(x_528); -x_530 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_530, 0, x_529); -x_531 = lean_box(0); -x_532 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_509, x_531, x_530); -lean_dec(x_530); -x_267 = x_532; -goto block_280; -} -} -else -{ -lean_object* x_533; lean_object* x_534; lean_object* x_535; -lean_dec(x_518); -lean_dec(x_499); -x_533 = lean_box(0); -x_534 = lean_box(0); -x_535 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_509, x_534, x_533); -x_267 = x_535; -goto block_280; -} -} -} -} -else -{ -lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; -x_536 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_536, 0, x_496); -x_537 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; -x_538 = lean_box(0); -lean_inc(x_4); -x_539 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(x_372, x_537, x_4, x_538, x_536); -lean_dec(x_536); -x_267 = x_539; -goto block_280; -} -} -} -else -{ -lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; -lean_dec(x_455); -x_540 = lean_box(0); -x_541 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; -x_542 = lean_box(0); -lean_inc(x_4); -x_543 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(x_372, x_541, x_4, x_542, x_540); -x_267 = x_543; -goto block_280; -} -} -} -} -} -} -} -block_280: -{ -lean_object* x_268; lean_object* x_269; lean_object* x_270; uint8_t x_271; -x_268 = lean_ctor_get(x_267, 0); -lean_inc(x_268); -x_269 = lean_ctor_get(x_267, 1); -lean_inc(x_269); -if (lean_is_exclusive(x_267)) { - lean_ctor_release(x_267, 0); - lean_ctor_release(x_267, 1); - x_270 = x_267; + lean_dec_ref(x_61); + x_64 = lean_box(0); +} +x_65 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__10; +lean_inc(x_53); +x_66 = l_Lean_Syntax_isOfKind(x_53, x_65); +if (x_66 == 0) +{ +lean_object* x_67; +lean_dec(x_53); +if (lean_is_scalar(x_64)) { + x_67 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_267); - x_270 = lean_box(0); + x_67 = x_64; } -x_271 = l_Lean_Server_FileWorker_hasRange(x_269); -if (x_271 == 0) -{ -lean_object* x_272; -lean_dec(x_269); -lean_dec(x_268); -lean_dec(x_6); -lean_dec(x_4); -if (lean_is_scalar(x_270)) { - x_272 = lean_alloc_ctor(0, 2, 0); -} else { - x_272 = x_270; -} -lean_ctor_set(x_272, 0, x_265); -lean_ctor_set(x_272, 1, x_266); -return x_272; +lean_ctor_set(x_67, 0, x_62); +lean_ctor_set(x_67, 1, x_63); +return x_67; } else { -lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; -x_273 = lean_box(0); -x_274 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_4); -lean_dec(x_4); -x_275 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_269); -lean_dec(x_269); -x_276 = 5; -x_277 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_277, 0, x_268); -lean_ctor_set(x_277, 1, x_273); -lean_ctor_set(x_277, 2, x_274); -lean_ctor_set(x_277, 3, x_275); -lean_ctor_set(x_277, 4, x_273); -lean_ctor_set_uint8(x_277, sizeof(void*)*5, x_276); -if (lean_is_scalar(x_6)) { - x_278 = lean_alloc_ctor(1, 2, 0); -} else { - x_278 = x_6; +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_64); +x_68 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; +x_69 = l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__4; +x_70 = lean_box(0); +lean_inc(x_53); +x_71 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6(x_62, x_63, x_53, x_1, x_68, x_53, x_69, x_70); +return x_71; } -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_265); -if (lean_is_scalar(x_270)) { - x_279 = lean_alloc_ctor(0, 2, 0); -} else { - x_279 = x_270; } -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_266); -return x_279; +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_box(0); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_53); +lean_ctor_set(x_73, 1, x_54); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_unsigned_to_nat(1u); +x_76 = l_Lean_Syntax_getArg(x_53, x_75); +x_77 = l_Lean_Syntax_getOptional_x3f(x_76); +lean_dec(x_76); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; uint8_t x_79; lean_object* x_80; +x_78 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11; +x_79 = 2; +lean_inc(x_53); +x_80 = l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(x_1, x_53, x_54, x_78, x_79, x_53); +lean_dec(x_53); +return x_80; +} +else +{ +lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; +x_81 = lean_ctor_get(x_77, 0); +lean_inc(x_81); +lean_dec(x_77); +x_82 = l_Lean_Syntax_getId(x_81); +x_83 = 1; +x_84 = l_Lean_Name_toString(x_82, x_83); +x_85 = 2; +x_86 = l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(x_1, x_53, x_54, x_84, x_85, x_81); +lean_dec(x_81); +return x_86; +} } } else { -lean_object* x_544; lean_object* x_545; lean_object* x_546; -x_544 = lean_box(0); -if (lean_is_scalar(x_6)) { - x_545 = lean_alloc_ctor(1, 2, 0); -} else { - x_545 = x_6; +lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; +x_87 = lean_unsigned_to_nat(1u); +x_88 = l_Lean_Syntax_getArg(x_53, x_87); +x_89 = l_Lean_Syntax_getId(x_88); +x_90 = 1; +x_91 = l_Lean_Name_toString(x_89, x_90); +x_92 = 2; +x_93 = l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(x_1, x_53, x_54, x_91, x_92, x_88); +lean_dec(x_88); +return x_93; } -lean_ctor_set(x_545, 0, x_4); -lean_ctor_set(x_545, 1, x_5); -x_546 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_546, 0, x_544); -lean_ctor_set(x_546, 1, x_545); -return x_546; -} -} -else -{ -lean_object* x_547; lean_object* x_548; lean_object* x_549; -lean_dec(x_6); -x_547 = lean_unsigned_to_nat(1u); -x_548 = l_Lean_Syntax_getArg(x_4, x_547); -x_549 = l_Lean_Syntax_getOptional_x3f(x_548); -lean_dec(x_548); -if (lean_obj_tag(x_549) == 0) -{ -lean_object* x_550; uint8_t x_551; lean_object* x_552; -x_550 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__21; -x_551 = 2; -lean_inc(x_4); -x_552 = l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(x_1, x_4, x_5, x_550, x_551, x_4); -lean_dec(x_4); -return x_552; -} -else -{ -lean_object* x_553; lean_object* x_554; uint8_t x_555; lean_object* x_556; uint8_t x_557; lean_object* x_558; -x_553 = lean_ctor_get(x_549, 0); -lean_inc(x_553); -lean_dec(x_549); -x_554 = l_Lean_Syntax_getId(x_553); -x_555 = 1; -x_556 = l_Lean_Name_toString(x_554, x_555); -x_557 = 2; -x_558 = l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(x_1, x_4, x_5, x_556, x_557, x_553); -lean_dec(x_553); -return x_558; -} -} -} -else -{ -lean_object* x_559; lean_object* x_560; lean_object* x_561; uint8_t x_562; lean_object* x_563; uint8_t x_564; lean_object* x_565; -lean_dec(x_6); -x_559 = lean_unsigned_to_nat(1u); -x_560 = l_Lean_Syntax_getArg(x_4, x_559); -x_561 = l_Lean_Syntax_getId(x_560); -x_562 = 1; -x_563 = l_Lean_Name_toString(x_561, x_562); -x_564 = 2; -x_565 = l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(x_1, x_4, x_5, x_563, x_564, x_560); -lean_dec(x_560); -return x_565; } } } @@ -22167,7 +22842,7 @@ return x_2; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t 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; uint8_t x_13; +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; uint8_t 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_7 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(x_1, x_3); x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); @@ -22177,310 +22852,176 @@ lean_dec(x_7); x_10 = lean_unsigned_to_nat(1u); x_11 = l_List_drop___rarg(x_10, x_9); x_12 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(x_1, x_11); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -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; lean_object* x_22; -x_14 = lean_ctor_get(x_12, 0); -x_15 = l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___closed__1; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_15 = x_12; +} else { + lean_dec_ref(x_12); + x_15 = lean_box(0); +} +x_16 = l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___closed__1; lean_inc(x_2); -x_16 = lean_array_push(x_15, x_2); -x_17 = lean_box(0); -x_18 = l_Lean_Server_FileWorker_hasRange(x_6); -x_19 = l_List_redLength___rarg(x_8); -x_20 = lean_mk_empty_array_with_capacity(x_19); -lean_dec(x_19); -x_21 = l_List_toArrayAux___rarg(x_8, x_20); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_21); +x_17 = lean_array_push(x_16, x_2); +x_18 = lean_box(0); +x_19 = 0; +x_20 = l_Lean_Syntax_getRange_x3f(x_6, x_19); +x_21 = l_List_redLength___rarg(x_8); +x_22 = lean_mk_empty_array_with_capacity(x_21); +lean_dec(x_21); +x_23 = l_List_toArrayAux___rarg(x_8, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); if (lean_obj_tag(x_9) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_2); -lean_ctor_set(x_23, 1, x_9); -x_24 = l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1(x_23); -x_25 = lean_array_push(x_16, x_24); -x_26 = l_Lean_nullKind; -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -x_28 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_27); -lean_dec(x_27); -if (x_18 == 0) -{ -lean_object* x_29; lean_object* x_30; -lean_inc(x_28); -x_29 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_29, 0, x_4); -lean_ctor_set(x_29, 1, x_17); -lean_ctor_set(x_29, 2, x_28); -lean_ctor_set(x_29, 3, x_28); -lean_ctor_set(x_29, 4, x_22); -lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_5); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_14); -lean_ctor_set(x_12, 0, x_30); -return x_12; +lean_object* x_53; lean_object* x_54; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_2); +lean_ctor_set(x_53, 1, x_9); +x_54 = l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1(x_53); +x_25 = x_54; +goto block_52; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_6); -x_32 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_32, 0, x_4); -lean_ctor_set(x_32, 1, x_17); -lean_ctor_set(x_32, 2, x_28); -lean_ctor_set(x_32, 3, x_31); -lean_ctor_set(x_32, 4, x_22); -lean_ctor_set_uint8(x_32, sizeof(void*)*5, x_5); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_14); -lean_ctor_set(x_12, 0, x_33); -return x_12; -} -} -else -{ -uint8_t x_34; +lean_object* x_55; lean_dec(x_2); -x_34 = !lean_is_exclusive(x_9); -if (x_34 == 0) +x_55 = lean_ctor_get(x_9, 0); +lean_inc(x_55); +lean_dec(x_9); +x_25 = x_55; +goto block_52; +} +block_52: { -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_35 = lean_ctor_get(x_9, 0); -x_36 = lean_ctor_get(x_9, 1); -lean_dec(x_36); -x_37 = lean_array_push(x_16, x_35); -x_38 = l_Lean_nullKind; -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_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_39); -lean_dec(x_39); -if (x_18 == 0) +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_array_push(x_17, x_25); +x_27 = l_Lean_nullKind; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = l_Lean_Syntax_getRange_x3f(x_28, x_19); +lean_dec(x_28); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_41; -lean_inc(x_40); -x_41 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_41, 0, x_4); -lean_ctor_set(x_41, 1, x_17); -lean_ctor_set(x_41, 2, x_40); -lean_ctor_set(x_41, 3, x_40); -lean_ctor_set(x_41, 4, x_22); -lean_ctor_set_uint8(x_41, sizeof(void*)*5, x_5); -lean_ctor_set(x_9, 1, x_14); -lean_ctor_set(x_9, 0, x_41); -lean_ctor_set(x_12, 0, x_9); -return x_12; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = l_String_instInhabitedRange; +x_31 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; +x_32 = lean_panic_fn(x_30, x_31); +x_33 = l_String_Range_toLspRange(x_1, x_32); +lean_dec(x_32); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_inc(x_33); +x_34 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_34, 0, x_4); +lean_ctor_set(x_34, 1, x_18); +lean_ctor_set(x_34, 2, x_33); +lean_ctor_set(x_34, 3, x_33); +lean_ctor_set(x_34, 4, x_24); +lean_ctor_set_uint8(x_34, sizeof(void*)*5, x_5); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_13); +if (lean_is_scalar(x_15)) { + x_36 = lean_alloc_ctor(0, 2, 0); +} else { + x_36 = x_15; +} +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_14); +return x_36; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_20, 0); +lean_inc(x_37); +lean_dec(x_20); +x_38 = l_String_Range_toLspRange(x_1, x_37); +lean_dec(x_37); +x_39 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_39, 0, x_4); +lean_ctor_set(x_39, 1, x_18); +lean_ctor_set(x_39, 2, x_33); +lean_ctor_set(x_39, 3, x_38); +lean_ctor_set(x_39, 4, x_24); +lean_ctor_set_uint8(x_39, sizeof(void*)*5, x_5); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_13); +if (lean_is_scalar(x_15)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_15; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_14); +return x_41; +} } else { lean_object* x_42; lean_object* x_43; -x_42 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_6); -x_43 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_43, 0, x_4); -lean_ctor_set(x_43, 1, x_17); -lean_ctor_set(x_43, 2, x_40); -lean_ctor_set(x_43, 3, x_42); -lean_ctor_set(x_43, 4, x_22); -lean_ctor_set_uint8(x_43, sizeof(void*)*5, x_5); -lean_ctor_set(x_9, 1, x_14); -lean_ctor_set(x_9, 0, x_43); -lean_ctor_set(x_12, 0, x_9); -return x_12; +x_42 = lean_ctor_get(x_29, 0); +lean_inc(x_42); +lean_dec(x_29); +x_43 = l_String_Range_toLspRange(x_1, x_42); +lean_dec(x_42); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_inc(x_43); +x_44 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_44, 0, x_4); +lean_ctor_set(x_44, 1, x_18); +lean_ctor_set(x_44, 2, x_43); +lean_ctor_set(x_44, 3, x_43); +lean_ctor_set(x_44, 4, x_24); +lean_ctor_set_uint8(x_44, sizeof(void*)*5, x_5); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_13); +if (lean_is_scalar(x_15)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_15; } +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_14); +return x_46; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_44 = lean_ctor_get(x_9, 0); -lean_inc(x_44); -lean_dec(x_9); -x_45 = lean_array_push(x_16, x_44); -x_46 = l_Lean_nullKind; -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_Server_FileWorker_rangeOfSyntax_x21(x_1, x_47); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_47 = lean_ctor_get(x_20, 0); +lean_inc(x_47); +lean_dec(x_20); +x_48 = l_String_Range_toLspRange(x_1, x_47); lean_dec(x_47); -if (x_18 == 0) -{ -lean_object* x_49; lean_object* x_50; -lean_inc(x_48); x_49 = lean_alloc_ctor(0, 5, 1); lean_ctor_set(x_49, 0, x_4); -lean_ctor_set(x_49, 1, x_17); -lean_ctor_set(x_49, 2, x_48); +lean_ctor_set(x_49, 1, x_18); +lean_ctor_set(x_49, 2, x_43); lean_ctor_set(x_49, 3, x_48); -lean_ctor_set(x_49, 4, x_22); +lean_ctor_set(x_49, 4, x_24); lean_ctor_set_uint8(x_49, sizeof(void*)*5, x_5); x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_14); -lean_ctor_set(x_12, 0, x_50); -return x_12; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_6); -x_52 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_52, 0, x_4); -lean_ctor_set(x_52, 1, x_17); -lean_ctor_set(x_52, 2, x_48); -lean_ctor_set(x_52, 3, x_51); -lean_ctor_set(x_52, 4, x_22); -lean_ctor_set_uint8(x_52, sizeof(void*)*5, x_5); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_14); -lean_ctor_set(x_12, 0, x_53); -return x_12; -} -} -} -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_54 = lean_ctor_get(x_12, 0); -x_55 = lean_ctor_get(x_12, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_12); -x_56 = l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___closed__1; -lean_inc(x_2); -x_57 = lean_array_push(x_56, x_2); -x_58 = lean_box(0); -x_59 = l_Lean_Server_FileWorker_hasRange(x_6); -x_60 = l_List_redLength___rarg(x_8); -x_61 = lean_mk_empty_array_with_capacity(x_60); -lean_dec(x_60); -x_62 = l_List_toArrayAux___rarg(x_8, x_61); -x_63 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_63, 0, x_62); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_2); -lean_ctor_set(x_64, 1, x_9); -x_65 = l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1(x_64); -x_66 = lean_array_push(x_57, x_65); -x_67 = l_Lean_nullKind; -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 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_68); -lean_dec(x_68); -if (x_59 == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -lean_inc(x_69); -x_70 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_70, 0, x_4); -lean_ctor_set(x_70, 1, x_58); -lean_ctor_set(x_70, 2, x_69); -lean_ctor_set(x_70, 3, x_69); -lean_ctor_set(x_70, 4, x_63); -lean_ctor_set_uint8(x_70, sizeof(void*)*5, x_5); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_54); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_55); -return x_72; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_73 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_6); -x_74 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_74, 0, x_4); -lean_ctor_set(x_74, 1, x_58); -lean_ctor_set(x_74, 2, x_69); -lean_ctor_set(x_74, 3, x_73); -lean_ctor_set(x_74, 4, x_63); -lean_ctor_set_uint8(x_74, sizeof(void*)*5, x_5); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_54); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_55); -return x_76; -} -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -lean_dec(x_2); -x_77 = lean_ctor_get(x_9, 0); -lean_inc(x_77); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - x_78 = x_9; +lean_ctor_set(x_50, 1, x_13); +if (lean_is_scalar(x_15)) { + x_51 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_9); - x_78 = lean_box(0); + x_51 = x_15; } -x_79 = lean_array_push(x_57, x_77); -x_80 = l_Lean_nullKind; -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -x_82 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_81); -lean_dec(x_81); -if (x_59 == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_inc(x_82); -x_83 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_83, 0, x_4); -lean_ctor_set(x_83, 1, x_58); -lean_ctor_set(x_83, 2, x_82); -lean_ctor_set(x_83, 3, x_82); -lean_ctor_set(x_83, 4, x_63); -lean_ctor_set_uint8(x_83, sizeof(void*)*5, x_5); -if (lean_is_scalar(x_78)) { - x_84 = lean_alloc_ctor(1, 2, 0); -} else { - x_84 = x_78; -} -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_54); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_55); -return x_85; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_86 = l_Lean_Server_FileWorker_rangeOfSyntax_x21(x_1, x_6); -x_87 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_87, 0, x_4); -lean_ctor_set(x_87, 1, x_58); -lean_ctor_set(x_87, 2, x_82); -lean_ctor_set(x_87, 3, x_86); -lean_ctor_set(x_87, 4, x_63); -lean_ctor_set_uint8(x_87, sizeof(void*)*5, x_5); -if (lean_is_scalar(x_78)) { - x_88 = lean_alloc_ctor(1, 2, 0); -} else { - x_88 = x_78; -} -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_54); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_55); -return x_89; +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_14); +return x_51; } } } @@ -22492,15 +23033,24 @@ _start: lean_object* x_4; x_4 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(x_1, x_2, x_3); lean_dec(x_3); +return x_4; +} +} +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_1, x_2, x_3); +lean_dec(x_3); lean_dec(x_2); return x_4; } } -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___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) { +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -22509,25 +23059,35 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5___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_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_4); return x_6; } } +lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_4); +return x_9; +} +} lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -23219,7 +23779,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_h return x_2; } } -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -23262,15 +23822,15 @@ return x_10; } } } -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__4(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__4___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1___rarg), 3, 0); return x_2; } } -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__2___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; @@ -23287,11 +23847,11 @@ x_7 = lean_apply_4(x_2, x_3, x_4, x_5, x_6); return x_7; } } -lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__2___rarg), 2, 0); return x_2; } } @@ -23574,285 +24134,288 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean lean_dec(x_3); x_11 = lean_ctor_get(x_2, 0); x_12 = lean_ctor_get(x_2, 1); -x_21 = lean_ctor_get(x_11, 2); +x_21 = lean_ctor_get(x_11, 3); if (lean_obj_tag(x_21) == 1) { -lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_22 = lean_ctor_get(x_11, 3); -x_23 = 1; -x_24 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_22, x_23, x_4, x_5, x_6, x_7); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_22 = lean_ctor_get(x_11, 0); +x_23 = lean_ctor_get(x_22, 1); +x_24 = 1; +x_25 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_23, x_24, x_4, x_5, x_6, x_7); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -lean_dec(x_24); -x_29 = !lean_is_exclusive(x_27); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_27, 0); -lean_dec(x_30); -x_31 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -lean_ctor_set(x_27, 0, x_31); -x_13 = x_25; -x_14 = x_28; -goto block_20; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -lean_ctor_set(x_25, 0, x_34); -x_13 = x_25; -x_14 = x_28; -goto block_20; -} -} -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; -x_35 = lean_ctor_get(x_25, 0); -lean_inc(x_35); +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); lean_dec(x_25); -x_36 = lean_ctor_get(x_24, 1); -lean_inc(x_36); -lean_dec(x_24); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_38 = x_35; -} else { - lean_dec_ref(x_35); - x_38 = lean_box(0); +x_30 = !lean_is_exclusive(x_28); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_28, 0); +lean_dec(x_31); +x_32 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +lean_ctor_set(x_28, 0, x_32); +x_13 = x_26; +x_14 = x_29; +goto block_20; } -x_39 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -if (lean_is_scalar(x_38)) { - x_40 = lean_alloc_ctor(0, 2, 0); -} else { - x_40 = x_38; -} -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_37); -x_41 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_41, 0, x_40); -x_13 = x_41; -x_14 = x_36; +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_28, 1); +lean_inc(x_33); +lean_dec(x_28); +x_34 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +lean_ctor_set(x_26, 0, x_35); +x_13 = x_26; +x_14 = x_29; goto block_20; } } else { -lean_object* x_42; uint8_t x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_11, 3); -x_43 = 0; -x_44 = l_Lean_Syntax_getPos_x3f(x_42, x_43); -if (lean_obj_tag(x_44) == 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; +x_36 = lean_ctor_get(x_26, 0); +lean_inc(x_36); +lean_dec(x_26); +x_37 = lean_ctor_get(x_25, 1); +lean_inc(x_37); +lean_dec(x_25); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_39 = x_36; +} else { + lean_dec_ref(x_36); + x_39 = lean_box(0); +} +x_40 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_13 = x_42; +x_14 = x_37; +goto block_20; +} +} +else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_45 = l_instInhabitedNat; -x_46 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; -x_47 = lean_panic_fn(x_45, x_46); -x_48 = lean_nat_dec_lt(x_1, x_47); -lean_dec(x_47); -if (x_48 == 0) +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; +x_43 = lean_ctor_get(x_1, 0); +x_44 = lean_ctor_get(x_11, 0); +x_45 = lean_ctor_get(x_44, 1); +x_46 = 0; +x_47 = l_Lean_Syntax_getPos_x3f(x_45, x_46); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_5); -x_51 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_50); -x_13 = x_51; +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_48 = l_instInhabitedNat; +x_49 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; +x_50 = lean_panic_fn(x_48, x_49); +x_51 = lean_nat_dec_lt(x_43, x_50); +lean_dec(x_50); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_5); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_53); +x_13 = x_54; x_14 = x_7; goto block_20; } else { -uint8_t x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_52 = 2; -x_53 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_42, x_52, x_4, x_5, x_6, x_7); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_56 = lean_ctor_get(x_54, 0); -x_57 = lean_ctor_get(x_53, 1); +uint8_t x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_55 = 2; +x_56 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_45, x_55, x_4, x_5, x_6, x_7); +x_57 = lean_ctor_get(x_56, 0); lean_inc(x_57); -lean_dec(x_53); -x_58 = !lean_is_exclusive(x_56); +x_58 = !lean_is_exclusive(x_57); if (x_58 == 0) { -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_56, 0); -lean_dec(x_59); -x_60 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -lean_ctor_set(x_56, 0, x_60); -x_13 = x_54; -x_14 = x_57; -goto block_20; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_56, 1); -lean_inc(x_61); +lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_59 = lean_ctor_get(x_57, 0); +x_60 = lean_ctor_get(x_56, 1); +lean_inc(x_60); lean_dec(x_56); -x_62 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_61); -lean_ctor_set(x_54, 0, x_63); -x_13 = x_54; -x_14 = x_57; +x_61 = !lean_is_exclusive(x_59); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_59, 0); +lean_dec(x_62); +x_63 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +lean_ctor_set(x_59, 0, x_63); +x_13 = x_57; +x_14 = x_60; goto block_20; } -} 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; -x_64 = lean_ctor_get(x_54, 0); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_59, 1); lean_inc(x_64); -lean_dec(x_54); -x_65 = lean_ctor_get(x_53, 1); -lean_inc(x_65); -lean_dec(x_53); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_67 = x_64; -} else { - lean_dec_ref(x_64); - x_67 = lean_box(0); +lean_dec(x_59); +x_65 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +lean_ctor_set(x_57, 0, x_66); +x_13 = x_57; +x_14 = x_60; +goto block_20; } -x_68 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -if (lean_is_scalar(x_67)) { - x_69 = lean_alloc_ctor(0, 2, 0); -} else { - x_69 = x_67; } -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_66); -x_70 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_70, 0, x_69); -x_13 = x_70; -x_14 = x_65; +else +{ +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; +x_67 = lean_ctor_get(x_57, 0); +lean_inc(x_67); +lean_dec(x_57); +x_68 = lean_ctor_get(x_56, 1); +lean_inc(x_68); +lean_dec(x_56); +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; +} else { + lean_dec_ref(x_67); + x_70 = lean_box(0); +} +x_71 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +if (lean_is_scalar(x_70)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_70; +} +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_69); +x_73 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_73, 0, x_72); +x_13 = x_73; +x_14 = x_68; goto block_20; } } } else { -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_44, 0); -lean_inc(x_71); -lean_dec(x_44); -x_72 = lean_nat_dec_lt(x_1, x_71); -lean_dec(x_71); -if (x_72 == 0) +lean_object* x_74; uint8_t x_75; +x_74 = lean_ctor_get(x_47, 0); +lean_inc(x_74); +lean_dec(x_47); +x_75 = lean_nat_dec_lt(x_43, x_74); +lean_dec(x_74); +if (x_75 == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_5); -x_75 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_75, 0, x_74); -x_13 = x_75; +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_5); +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_13 = x_78; x_14 = x_7; goto block_20; } else { -uint8_t x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_76 = 2; -x_77 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_42, x_76, x_4, x_5, x_6, x_7); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_80 = lean_ctor_get(x_78, 0); -x_81 = lean_ctor_get(x_77, 1); +uint8_t x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = 2; +x_80 = l_Lean_Server_FileWorker_handleSemanticTokens_addToken(x_45, x_79, x_4, x_5, x_6, x_7); +x_81 = lean_ctor_get(x_80, 0); lean_inc(x_81); -lean_dec(x_77); -x_82 = !lean_is_exclusive(x_80); +x_82 = !lean_is_exclusive(x_81); if (x_82 == 0) { -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_80, 0); -lean_dec(x_83); -x_84 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -lean_ctor_set(x_80, 0, x_84); -x_13 = x_78; -x_14 = x_81; -goto block_20; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_80, 1); -lean_inc(x_85); +lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_83 = lean_ctor_get(x_81, 0); +x_84 = lean_ctor_get(x_80, 1); +lean_inc(x_84); lean_dec(x_80); -x_86 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_85); -lean_ctor_set(x_78, 0, x_87); -x_13 = x_78; -x_14 = x_81; +x_85 = !lean_is_exclusive(x_83); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_83, 0); +lean_dec(x_86); +x_87 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +lean_ctor_set(x_83, 0, x_87); +x_13 = x_81; +x_14 = x_84; +goto block_20; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_83, 1); +lean_inc(x_88); +lean_dec(x_83); +x_89 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +lean_ctor_set(x_81, 0, x_90); +x_13 = x_81; +x_14 = x_84; goto block_20; } } else { -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; -x_88 = lean_ctor_get(x_78, 0); -lean_inc(x_88); -lean_dec(x_78); -x_89 = lean_ctor_get(x_77, 1); -lean_inc(x_89); -lean_dec(x_77); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_91 = x_88; +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; +x_91 = lean_ctor_get(x_81, 0); +lean_inc(x_91); +lean_dec(x_81); +x_92 = lean_ctor_get(x_80, 1); +lean_inc(x_92); +lean_dec(x_80); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_94 = x_91; } else { - lean_dec_ref(x_88); - x_91 = lean_box(0); + lean_dec_ref(x_91); + x_94 = lean_box(0); } -x_92 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -if (lean_is_scalar(x_91)) { - x_93 = lean_alloc_ctor(0, 2, 0); +x_95 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +if (lean_is_scalar(x_94)) { + x_96 = lean_alloc_ctor(0, 2, 0); } else { - x_93 = x_91; + x_96 = x_94; } -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_90); -x_94 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_94, 0, x_93); -x_13 = x_94; -x_14 = x_89; +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_93); +x_97 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_97, 0, x_96); +x_13 = x_97; +x_14 = x_92; goto block_20; } } @@ -23881,891 +24444,858 @@ goto _start; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_13; lean_object* x_14; uint8_t x_45; -x_45 = x_7 < x_6; -if (x_45 == 0) +lean_object* x_12; lean_object* x_13; uint8_t x_44; +x_44 = x_6 < x_5; +if (x_44 == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_4); -lean_dec(x_2); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_3); lean_dec(x_1); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_8); -lean_ctor_set(x_46, 1, x_10); -x_47 = lean_alloc_ctor(1, 1, 0); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_7); +lean_ctor_set(x_45, 1, x_9); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +x_47 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_47, 0, x_46); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_12); -return x_48; +lean_ctor_set(x_47, 1, x_11); +return x_47; } else { -lean_object* x_49; uint8_t x_50; -x_49 = lean_array_uget(x_5, x_7); -x_50 = !lean_is_exclusive(x_8); -if (x_50 == 0) +lean_object* x_48; uint8_t x_49; +x_48 = lean_array_uget(x_4, x_6); +x_49 = !lean_is_exclusive(x_7); +if (x_49 == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_51 = lean_ctor_get(x_8, 1); -x_52 = lean_ctor_get(x_8, 0); -lean_dec(x_52); -lean_inc(x_51); -lean_inc(x_2); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_7, 1); +x_51 = lean_ctor_get(x_7, 0); +lean_dec(x_51); +lean_inc(x_50); lean_inc(x_1); -x_53 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(x_1, x_2, x_3, x_49, x_51, x_9, x_10, x_11, x_12); -lean_dec(x_49); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) +x_52 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(x_1, x_2, x_48, x_50, x_8, x_9, x_10, x_11); +lean_dec(x_48); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = !lean_is_exclusive(x_53); +if (x_54 == 0) { -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_54, 0); -x_57 = lean_ctor_get(x_56, 0); +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_53, 0); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; uint8_t x_58; +x_57 = lean_ctor_get(x_52, 1); lean_inc(x_57); -if (lean_obj_tag(x_57) == 0) +lean_dec(x_52); +x_58 = !lean_is_exclusive(x_55); +if (x_58 == 0) { -lean_object* x_58; uint8_t x_59; -x_58 = lean_ctor_get(x_53, 1); -lean_inc(x_58); -lean_dec(x_53); -x_59 = !lean_is_exclusive(x_56); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_56, 0); -lean_dec(x_60); -x_61 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_61, 0, x_57); -lean_ctor_set(x_8, 0, x_61); -x_62 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_62, 0, x_8); -lean_ctor_set(x_56, 0, x_62); -x_13 = x_54; -x_14 = x_58; -goto block_44; +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_55, 0); +lean_dec(x_59); +x_60 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_60, 0, x_56); +lean_ctor_set(x_7, 0, x_60); +x_61 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_61, 0, x_7); +lean_ctor_set(x_55, 0, x_61); +x_12 = x_53; +x_13 = x_57; +goto block_43; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_63 = lean_ctor_get(x_56, 1); -lean_inc(x_63); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_62 = lean_ctor_get(x_55, 1); +lean_inc(x_62); +lean_dec(x_55); +x_63 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_63, 0, x_56); +lean_ctor_set(x_7, 0, x_63); +x_64 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_64, 0, x_7); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_62); +lean_ctor_set(x_53, 0, x_65); +x_12 = x_53; +x_13 = x_57; +goto block_43; +} +} +else +{ +lean_object* x_66; uint8_t x_67; +lean_dec(x_50); +x_66 = lean_ctor_get(x_52, 1); +lean_inc(x_66); +lean_dec(x_52); +x_67 = !lean_is_exclusive(x_55); +if (x_67 == 0) +{ +lean_object* x_68; uint8_t x_69; +x_68 = lean_ctor_get(x_55, 0); +lean_dec(x_68); +x_69 = !lean_is_exclusive(x_56); +if (x_69 == 0) +{ +lean_object* x_70; +x_70 = lean_ctor_get(x_56, 0); +lean_inc(x_3); +lean_ctor_set(x_7, 1, x_70); +lean_ctor_set(x_7, 0, x_3); +lean_ctor_set(x_56, 0, x_7); +x_12 = x_53; +x_13 = x_66; +goto block_43; +} +else +{ +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_56, 0); +lean_inc(x_71); lean_dec(x_56); -x_64 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_64, 0, x_57); -lean_ctor_set(x_8, 0, x_64); -x_65 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_65, 0, x_8); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_63); -lean_ctor_set(x_54, 0, x_66); -x_13 = x_54; -x_14 = x_58; -goto block_44; +lean_inc(x_3); +lean_ctor_set(x_7, 1, x_71); +lean_ctor_set(x_7, 0, x_3); +x_72 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_72, 0, x_7); +lean_ctor_set(x_55, 0, x_72); +x_12 = x_53; +x_13 = x_66; +goto block_43; } } else { -lean_object* x_67; uint8_t x_68; -lean_dec(x_51); -x_67 = lean_ctor_get(x_53, 1); -lean_inc(x_67); -lean_dec(x_53); -x_68 = !lean_is_exclusive(x_56); -if (x_68 == 0) -{ -lean_object* x_69; uint8_t x_70; -x_69 = lean_ctor_get(x_56, 0); -lean_dec(x_69); -x_70 = !lean_is_exclusive(x_57); -if (x_70 == 0) -{ -lean_object* x_71; -x_71 = lean_ctor_get(x_57, 0); -lean_inc(x_4); -lean_ctor_set(x_8, 1, x_71); -lean_ctor_set(x_8, 0, x_4); -lean_ctor_set(x_57, 0, x_8); -x_13 = x_54; -x_14 = x_67; -goto block_44; -} -else -{ -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_57, 0); -lean_inc(x_72); -lean_dec(x_57); -lean_inc(x_4); -lean_ctor_set(x_8, 1, x_72); -lean_ctor_set(x_8, 0, x_4); -x_73 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_73, 0, x_8); -lean_ctor_set(x_56, 0, x_73); -x_13 = x_54; -x_14 = x_67; -goto block_44; -} -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_74 = lean_ctor_get(x_56, 1); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_73 = lean_ctor_get(x_55, 1); +lean_inc(x_73); +lean_dec(x_55); +x_74 = lean_ctor_get(x_56, 0); lean_inc(x_74); -lean_dec(x_56); -x_75 = lean_ctor_get(x_57, 0); -lean_inc(x_75); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - x_76 = x_57; +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + x_75 = x_56; } else { - lean_dec_ref(x_57); - x_76 = lean_box(0); + lean_dec_ref(x_56); + x_75 = lean_box(0); } -lean_inc(x_4); -lean_ctor_set(x_8, 1, x_75); -lean_ctor_set(x_8, 0, x_4); -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(1, 1, 0); +lean_inc(x_3); +lean_ctor_set(x_7, 1, x_74); +lean_ctor_set(x_7, 0, x_3); +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(1, 1, 0); } else { - x_77 = x_76; + x_76 = x_75; } -lean_ctor_set(x_77, 0, x_8); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_74); -lean_ctor_set(x_54, 0, x_78); -x_13 = x_54; -x_14 = x_67; -goto block_44; +lean_ctor_set(x_76, 0, x_7); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_73); +lean_ctor_set(x_53, 0, x_77); +x_12 = x_53; +x_13 = x_66; +goto block_43; } } } else { -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_54, 0); +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_53, 0); +lean_inc(x_78); +lean_dec(x_53); +x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); -lean_dec(x_54); -x_80 = lean_ctor_get(x_79, 0); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_80 = lean_ctor_get(x_52, 1); lean_inc(x_80); -if (lean_obj_tag(x_80) == 0) -{ -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; -x_81 = lean_ctor_get(x_53, 1); +lean_dec(x_52); +x_81 = lean_ctor_get(x_78, 1); lean_inc(x_81); -lean_dec(x_53); -x_82 = lean_ctor_get(x_79, 1); -lean_inc(x_82); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_83 = x_79; +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_82 = x_78; } else { - lean_dec_ref(x_79); - x_83 = lean_box(0); + lean_dec_ref(x_78); + x_82 = lean_box(0); } -x_84 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_84, 0, x_80); -lean_ctor_set(x_8, 0, x_84); -x_85 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_85, 0, x_8); -if (lean_is_scalar(x_83)) { - x_86 = lean_alloc_ctor(0, 2, 0); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_79); +lean_ctor_set(x_7, 0, x_83); +x_84 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_84, 0, x_7); +if (lean_is_scalar(x_82)) { + x_85 = lean_alloc_ctor(0, 2, 0); } else { - x_86 = x_83; + x_85 = x_82; } +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_81); +x_86 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_82); -x_87 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_87, 0, x_86); -x_13 = x_87; -x_14 = x_81; -goto block_44; +x_12 = x_86; +x_13 = x_80; +goto block_43; } else { -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_dec(x_51); -x_88 = lean_ctor_get(x_53, 1); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_50); +x_87 = lean_ctor_get(x_52, 1); +lean_inc(x_87); +lean_dec(x_52); +x_88 = lean_ctor_get(x_78, 1); lean_inc(x_88); -lean_dec(x_53); -x_89 = lean_ctor_get(x_79, 1); -lean_inc(x_89); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_89 = x_78; +} else { + lean_dec_ref(x_78); + x_89 = lean_box(0); +} +x_90 = lean_ctor_get(x_79, 0); +lean_inc(x_90); if (lean_is_exclusive(x_79)) { lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_90 = x_79; + x_91 = x_79; } else { lean_dec_ref(x_79); - x_90 = lean_box(0); + x_91 = lean_box(0); } -x_91 = lean_ctor_get(x_80, 0); -lean_inc(x_91); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - x_92 = x_80; +lean_inc(x_3); +lean_ctor_set(x_7, 1, x_90); +lean_ctor_set(x_7, 0, x_3); +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(1, 1, 0); } else { - lean_dec_ref(x_80); - x_92 = lean_box(0); + x_92 = x_91; } -lean_inc(x_4); -lean_ctor_set(x_8, 1, x_91); -lean_ctor_set(x_8, 0, x_4); -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_92, 0, x_7); +if (lean_is_scalar(x_89)) { + x_93 = lean_alloc_ctor(0, 2, 0); } else { - x_93 = x_92; -} -lean_ctor_set(x_93, 0, x_8); -if (lean_is_scalar(x_90)) { - x_94 = lean_alloc_ctor(0, 2, 0); -} else { - x_94 = x_90; + x_93 = x_89; } +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_88); +x_94 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_89); -x_95 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_95, 0, x_94); -x_13 = x_95; -x_14 = x_88; -goto block_44; +x_12 = x_94; +x_13 = x_87; +goto block_43; } } } 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; -x_96 = lean_ctor_get(x_8, 1); -lean_inc(x_96); -lean_dec(x_8); -lean_inc(x_96); -lean_inc(x_2); +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_95 = lean_ctor_get(x_7, 1); +lean_inc(x_95); +lean_dec(x_7); +lean_inc(x_95); lean_inc(x_1); -x_97 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(x_1, x_2, x_3, x_49, x_96, x_9, x_10, x_11, x_12); -lean_dec(x_49); +x_96 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(x_1, x_2, x_48, x_95, x_8, x_9, x_10, x_11); +lean_dec(x_48); +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); x_98 = lean_ctor_get(x_97, 0); lean_inc(x_98); -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + x_99 = x_97; +} else { + lean_dec_ref(x_97); + x_99 = lean_box(0); +} +x_100 = lean_ctor_get(x_98, 0); +lean_inc(x_100); +if (lean_obj_tag(x_100) == 0) +{ +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; +x_101 = lean_ctor_get(x_96, 1); +lean_inc(x_101); +lean_dec(x_96); +x_102 = lean_ctor_get(x_98, 1); +lean_inc(x_102); if (lean_is_exclusive(x_98)) { lean_ctor_release(x_98, 0); - x_100 = x_98; + lean_ctor_release(x_98, 1); + x_103 = x_98; } else { lean_dec_ref(x_98); - x_100 = lean_box(0); + x_103 = lean_box(0); } -x_101 = lean_ctor_get(x_99, 0); -lean_inc(x_101); -if (lean_obj_tag(x_101) == 0) -{ -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; -x_102 = lean_ctor_get(x_97, 1); -lean_inc(x_102); -lean_dec(x_97); -x_103 = lean_ctor_get(x_99, 1); -lean_inc(x_103); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_104 = x_99; -} else { - lean_dec_ref(x_99); - x_104 = lean_box(0); -} -x_105 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_105, 0, x_101); -x_106 = lean_alloc_ctor(0, 2, 0); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, 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_95); +x_106 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_96); -x_107 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_107, 0, x_106); -if (lean_is_scalar(x_104)) { - x_108 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_103)) { + x_107 = lean_alloc_ctor(0, 2, 0); } else { - x_108 = x_104; + x_107 = x_103; +} +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_102); +if (lean_is_scalar(x_99)) { + x_108 = lean_alloc_ctor(1, 1, 0); +} else { + x_108 = x_99; } lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_103); -if (lean_is_scalar(x_100)) { - x_109 = lean_alloc_ctor(1, 1, 0); -} else { - x_109 = x_100; -} -lean_ctor_set(x_109, 0, x_108); -x_13 = x_109; -x_14 = x_102; -goto block_44; +x_12 = x_108; +x_13 = x_101; +goto block_43; } else { -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_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_dec(x_95); +x_109 = lean_ctor_get(x_96, 1); +lean_inc(x_109); lean_dec(x_96); -x_110 = lean_ctor_get(x_97, 1); +x_110 = lean_ctor_get(x_98, 1); lean_inc(x_110); -lean_dec(x_97); -x_111 = lean_ctor_get(x_99, 1); -lean_inc(x_111); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_112 = x_99; +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_111 = x_98; } else { - lean_dec_ref(x_99); - x_112 = lean_box(0); + lean_dec_ref(x_98); + x_111 = lean_box(0); } -x_113 = lean_ctor_get(x_101, 0); -lean_inc(x_113); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - x_114 = x_101; +x_112 = lean_ctor_get(x_100, 0); +lean_inc(x_112); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + x_113 = x_100; } else { - lean_dec_ref(x_101); - x_114 = lean_box(0); + lean_dec_ref(x_100); + x_113 = lean_box(0); } -lean_inc(x_4); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_4); -lean_ctor_set(x_115, 1, x_113); -if (lean_is_scalar(x_114)) { - x_116 = lean_alloc_ctor(1, 1, 0); +lean_inc(x_3); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_3); +lean_ctor_set(x_114, 1, x_112); +if (lean_is_scalar(x_113)) { + x_115 = lean_alloc_ctor(1, 1, 0); } else { - x_116 = x_114; + x_115 = x_113; +} +lean_ctor_set(x_115, 0, x_114); +if (lean_is_scalar(x_111)) { + x_116 = lean_alloc_ctor(0, 2, 0); +} else { + x_116 = x_111; } lean_ctor_set(x_116, 0, x_115); -if (lean_is_scalar(x_112)) { - x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 1, x_110); +if (lean_is_scalar(x_99)) { + x_117 = lean_alloc_ctor(1, 1, 0); } else { - x_117 = x_112; + x_117 = x_99; } lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_111); -if (lean_is_scalar(x_100)) { - x_118 = lean_alloc_ctor(1, 1, 0); -} else { - x_118 = x_100; -} -lean_ctor_set(x_118, 0, x_117); -x_13 = x_118; -x_14 = x_110; -goto block_44; +x_12 = x_117; +x_13 = x_109; +goto block_43; } } } -block_44: +block_43: { -uint8_t x_15; -x_15 = !lean_is_exclusive(x_13); -if (x_15 == 0) +uint8_t x_14; +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) { -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_13, 0); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_12, 0); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -uint8_t x_18; -lean_dec(x_4); -lean_dec(x_2); +uint8_t x_17; +lean_dec(x_3); lean_dec(x_1); -x_18 = !lean_is_exclusive(x_16); -if (x_18 == 0) +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 0); +lean_dec(x_18); x_19 = lean_ctor_get(x_16, 0); -lean_dec(x_19); -x_20 = lean_ctor_get(x_17, 0); -lean_inc(x_20); -lean_dec(x_17); -lean_ctor_set(x_16, 0, x_20); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_13); -lean_ctor_set(x_21, 1, x_14); -return x_21; +lean_inc(x_19); +lean_dec(x_16); +lean_ctor_set(x_15, 0, x_19); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_12); +lean_ctor_set(x_20, 1, x_13); +return x_20; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_16, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_15, 1); +lean_inc(x_21); +lean_dec(x_15); +x_22 = lean_ctor_get(x_16, 0); lean_inc(x_22); lean_dec(x_16); -x_23 = lean_ctor_get(x_17, 0); -lean_inc(x_23); -lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_12, 0, x_23); x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -lean_ctor_set(x_13, 0, x_24); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_13); -lean_ctor_set(x_25, 1, x_14); -return x_25; +lean_ctor_set(x_24, 0, x_12); +lean_ctor_set(x_24, 1, x_13); +return x_24; } } else { -lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; -lean_free_object(x_13); -x_26 = lean_ctor_get(x_16, 1); +lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; +lean_free_object(x_12); +x_25 = lean_ctor_get(x_15, 1); +lean_inc(x_25); +lean_dec(x_15); +x_26 = lean_ctor_get(x_16, 0); lean_inc(x_26); lean_dec(x_16); -x_27 = lean_ctor_get(x_17, 0); -lean_inc(x_27); -lean_dec(x_17); -x_28 = 1; -x_29 = x_7 + x_28; -x_7 = x_29; -x_8 = x_27; -x_10 = x_26; -x_12 = x_14; +x_27 = 1; +x_28 = x_6 + x_27; +x_6 = x_28; +x_7 = x_26; +x_9 = x_25; +x_11 = x_13; goto _start; } } else { -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_13, 0); +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_12, 0); +lean_inc(x_30); +lean_dec(x_12); +x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -lean_dec(x_13); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -if (lean_obj_tag(x_32) == 0) +if (lean_obj_tag(x_31) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_4); -lean_dec(x_2); +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_dec(x_3); lean_dec(x_1); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - x_34 = x_31; +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_33 = x_30; } else { - lean_dec_ref(x_31); - x_34 = lean_box(0); + lean_dec_ref(x_30); + x_33 = lean_box(0); } -x_35 = lean_ctor_get(x_32, 0); -lean_inc(x_35); -lean_dec(x_32); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); +x_34 = lean_ctor_get(x_31, 0); +lean_inc(x_34); +lean_dec(x_31); +if (lean_is_scalar(x_33)) { + x_35 = lean_alloc_ctor(0, 2, 0); } else { - x_36 = x_34; + x_35 = x_33; } +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +x_36 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -x_37 = lean_alloc_ctor(1, 1, 0); +x_37 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_37, 0, x_36); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_14); -return x_38; +lean_ctor_set(x_37, 1, x_13); +return x_37; } else { -lean_object* x_39; lean_object* x_40; size_t x_41; size_t x_42; -x_39 = lean_ctor_get(x_31, 1); +lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; +x_38 = lean_ctor_get(x_30, 1); +lean_inc(x_38); +lean_dec(x_30); +x_39 = lean_ctor_get(x_31, 0); lean_inc(x_39); lean_dec(x_31); -x_40 = lean_ctor_get(x_32, 0); -lean_inc(x_40); -lean_dec(x_32); -x_41 = 1; -x_42 = x_7 + x_41; -x_7 = x_42; -x_8 = x_40; -x_10 = x_39; -x_12 = x_14; +x_40 = 1; +x_41 = x_6 + x_40; +x_6 = x_41; +x_7 = x_39; +x_9 = x_38; +x_11 = x_13; goto _start; } } } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -if (lean_obj_tag(x_4) == 1) +if (lean_obj_tag(x_3) == 1) { -lean_object* x_6; lean_object* x_7; -x_6 = lean_ctor_get(x_4, 0); -x_7 = l_Lean_Elab_Info_pos_x3f(x_4); -if (lean_obj_tag(x_7) == 0) +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l_Lean_Elab_Info_pos_x3f(x_3); +if (lean_obj_tag(x_6) == 0) { -lean_object* x_8; -x_8 = lean_box(0); -return x_8; +lean_object* x_7; +x_7 = lean_box(0); +return x_7; } else { -uint8_t x_9; -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) +uint8_t x_8; +x_8 = !lean_is_exclusive(x_6); +if (x_8 == 0) { -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_7, 0); -x_11 = lean_nat_dec_le(x_1, x_10); -if (x_11 == 0) +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_6, 0); +x_10 = l_String_Range_contains(x_1, x_9); +lean_dec(x_9); +if (x_10 == 0) { -lean_object* x_12; -lean_free_object(x_7); -lean_dec(x_10); -x_12 = lean_box(0); -return x_12; +lean_object* x_11; +lean_free_object(x_6); +x_11 = lean_box(0); +return x_11; } else { -uint8_t x_13; -x_13 = lean_nat_dec_lt(x_10, x_2); -lean_dec(x_10); +lean_inc(x_5); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_6, 0); +lean_inc(x_12); +lean_dec(x_6); +x_13 = l_String_Range_contains(x_1, x_12); +lean_dec(x_12); if (x_13 == 0) { lean_object* x_14; -lean_free_object(x_7); x_14 = lean_box(0); return x_14; } else { -lean_inc(x_6); -lean_ctor_set(x_7, 0, x_6); -return x_7; -} -} -} -else -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_7, 0); -lean_inc(x_15); -lean_dec(x_7); -x_16 = lean_nat_dec_le(x_1, x_15); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_15); -x_17 = lean_box(0); -return x_17; -} -else -{ -uint8_t x_18; -x_18 = lean_nat_dec_lt(x_15, x_2); -lean_dec(x_15); -if (x_18 == 0) -{ -lean_object* x_19; -x_19 = lean_box(0); -return x_19; -} -else -{ -lean_object* x_20; -lean_inc(x_6); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_6); -return x_20; -} +lean_object* x_15; +lean_inc(x_5); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_5); +return x_15; } } } } else { -lean_object* x_21; -x_21 = lean_box(0); -return x_21; +lean_object* x_16; +x_16 = lean_box(0); +return x_16; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_12; lean_object* x_13; uint8_t x_22; -x_22 = x_6 < x_5; -if (x_22 == 0) +lean_object* x_11; lean_object* x_12; uint8_t x_21; +x_21 = x_5 < x_4; +if (x_21 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_3); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec(x_2); lean_dec(x_1); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_7); -lean_ctor_set(x_23, 1, x_9); -x_24 = lean_alloc_ctor(1, 1, 0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_6); +lean_ctor_set(x_22, 1, x_8); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_24, 0, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_11); -return x_25; +lean_ctor_set(x_24, 1, x_10); +return x_24; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_26 = lean_array_uget(x_4, x_6); -if (lean_is_exclusive(x_7)) { - lean_ctor_release(x_7, 0); - lean_ctor_release(x_7, 1); - x_27 = x_7; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_25 = lean_array_uget(x_3, x_5); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + x_26 = x_6; } else { - lean_dec_ref(x_7); - x_27 = lean_box(0); + lean_dec_ref(x_6); + x_26 = lean_box(0); +} +lean_inc(x_1); +x_57 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed), 4, 1); +lean_closure_set(x_57, 0, x_1); +x_58 = l_Lean_Elab_InfoTree_deepestNodes___rarg(x_57, x_25); +x_59 = lean_box(0); +x_60 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(x_1, x_58, x_59, x_7, x_8, x_9, x_10); +lean_dec(x_58); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_63 = lean_ctor_get(x_61, 0); +x_64 = lean_ctor_get(x_60, 1); +lean_inc(x_64); +lean_dec(x_60); +x_65 = !lean_is_exclusive(x_63); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_63, 0); +lean_dec(x_66); +x_67 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +lean_ctor_set(x_63, 0, x_67); +x_27 = x_61; +x_28 = x_64; +goto block_56; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_63, 1); +lean_inc(x_68); +lean_dec(x_63); +x_69 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +lean_ctor_set(x_61, 0, x_70); +x_27 = x_61; +x_28 = x_64; +goto block_56; +} +} +else +{ +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_71 = lean_ctor_get(x_61, 0); +lean_inc(x_71); +lean_dec(x_61); +x_72 = lean_ctor_get(x_60, 1); +lean_inc(x_72); +lean_dec(x_60); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_74 = x_71; +} else { + lean_dec_ref(x_71); + x_74 = lean_box(0); +} +x_75 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +if (lean_is_scalar(x_74)) { + x_76 = lean_alloc_ctor(0, 2, 0); +} else { + x_76 = x_74; +} +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_73); +x_77 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_77, 0, x_76); +x_27 = x_77; +x_28 = x_72; +goto block_56; +} +block_56: +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_27); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = lean_ctor_get(x_27, 0); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_30, 0); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_32, 0); +lean_inc(x_2); +if (lean_is_scalar(x_26)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_26; +} +lean_ctor_set(x_35, 0, x_2); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_32, 0, x_35); +x_11 = x_27; +x_12 = x_28; +goto block_20; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_32, 0); +lean_inc(x_36); +lean_dec(x_32); +lean_inc(x_2); +if (lean_is_scalar(x_26)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_26; +} +lean_ctor_set(x_37, 0, x_2); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_30, 0, x_38); +x_11 = x_27; +x_12 = x_28; +goto block_20; +} +} +else +{ +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; +x_39 = lean_ctor_get(x_30, 0); +x_40 = lean_ctor_get(x_30, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_30); +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + x_42 = x_39; +} else { + lean_dec_ref(x_39); + x_42 = lean_box(0); } lean_inc(x_2); -lean_inc(x_1); -x_58 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed), 5, 2); -lean_closure_set(x_58, 0, x_1); -lean_closure_set(x_58, 1, x_2); -x_59 = l_Lean_Elab_InfoTree_deepestNodes___rarg(x_58, x_26); -x_60 = lean_box(0); -x_61 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(x_1, x_59, x_60, x_8, x_9, x_10, x_11); -lean_dec(x_59); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_64 = lean_ctor_get(x_62, 0); -x_65 = lean_ctor_get(x_61, 1); -lean_inc(x_65); -lean_dec(x_61); -x_66 = !lean_is_exclusive(x_64); -if (x_66 == 0) -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_64, 0); -lean_dec(x_67); -x_68 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -lean_ctor_set(x_64, 0, x_68); -x_28 = x_62; -x_29 = x_65; -goto block_57; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_64, 1); -lean_inc(x_69); -lean_dec(x_64); -x_70 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -lean_ctor_set(x_62, 0, x_71); -x_28 = x_62; -x_29 = x_65; -goto block_57; -} -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_72 = lean_ctor_get(x_62, 0); -lean_inc(x_72); -lean_dec(x_62); -x_73 = lean_ctor_get(x_61, 1); -lean_inc(x_73); -lean_dec(x_61); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_75 = x_72; +if (lean_is_scalar(x_26)) { + x_43 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_72); - x_75 = lean_box(0); + x_43 = x_26; } -x_76 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -if (lean_is_scalar(x_75)) { - x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_2); +lean_ctor_set(x_43, 1, x_41); +if (lean_is_scalar(x_42)) { + x_44 = lean_alloc_ctor(1, 1, 0); } else { - x_77 = x_75; -} -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_74); -x_78 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_78, 0, x_77); -x_28 = x_78; -x_29 = x_73; -goto block_57; -} -block_57: -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_28); -if (x_30 == 0) -{ -lean_object* x_31; uint8_t x_32; -x_31 = lean_ctor_get(x_28, 0); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_31, 0); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_3); -if (lean_is_scalar(x_27)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_27; -} -lean_ctor_set(x_36, 0, x_3); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_33, 0, x_36); -x_12 = x_28; -x_13 = x_29; -goto block_21; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_33, 0); -lean_inc(x_37); -lean_dec(x_33); -lean_inc(x_3); -if (lean_is_scalar(x_27)) { - x_38 = lean_alloc_ctor(0, 2, 0); -} else { - x_38 = x_27; -} -lean_ctor_set(x_38, 0, x_3); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_31, 0, x_39); -x_12 = x_28; -x_13 = x_29; -goto block_21; -} -} -else -{ -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_40 = lean_ctor_get(x_31, 0); -x_41 = lean_ctor_get(x_31, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_31); -x_42 = lean_ctor_get(x_40, 0); -lean_inc(x_42); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - x_43 = x_40; -} else { - lean_dec_ref(x_40); - x_43 = lean_box(0); -} -lean_inc(x_3); -if (lean_is_scalar(x_27)) { - x_44 = lean_alloc_ctor(0, 2, 0); -} else { - x_44 = x_27; -} -lean_ctor_set(x_44, 0, x_3); -lean_ctor_set(x_44, 1, x_42); -if (lean_is_scalar(x_43)) { - x_45 = lean_alloc_ctor(1, 1, 0); -} else { - x_45 = x_43; + x_44 = x_42; } +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_45, 0, x_44); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_41); -lean_ctor_set(x_28, 0, x_46); +lean_ctor_set(x_45, 1, x_40); +lean_ctor_set(x_27, 0, x_45); +x_11 = x_27; x_12 = x_28; -x_13 = x_29; -goto block_21; +goto block_20; } } 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; -x_47 = lean_ctor_get(x_28, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_46 = lean_ctor_get(x_27, 0); +lean_inc(x_46); +lean_dec(x_27); +x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); -lean_dec(x_28); -x_48 = lean_ctor_get(x_47, 0); +x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_49 = x_46; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +x_50 = lean_ctor_get(x_47, 0); +lean_inc(x_50); if (lean_is_exclusive(x_47)) { lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); - x_50 = x_47; + x_51 = x_47; } else { lean_dec_ref(x_47); - x_50 = lean_box(0); + x_51 = lean_box(0); } -x_51 = lean_ctor_get(x_48, 0); -lean_inc(x_51); -if (lean_is_exclusive(x_48)) { - lean_ctor_release(x_48, 0); - x_52 = x_48; +lean_inc(x_2); +if (lean_is_scalar(x_26)) { + x_52 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_48); - x_52 = lean_box(0); + x_52 = x_26; } -lean_inc(x_3); -if (lean_is_scalar(x_27)) { - x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_2); +lean_ctor_set(x_52, 1, x_50); +if (lean_is_scalar(x_51)) { + x_53 = lean_alloc_ctor(1, 1, 0); } else { - x_53 = x_27; + x_53 = x_51; } -lean_ctor_set(x_53, 0, x_3); -lean_ctor_set(x_53, 1, x_51); -if (lean_is_scalar(x_52)) { - x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_52); +if (lean_is_scalar(x_49)) { + x_54 = lean_alloc_ctor(0, 2, 0); } else { - x_54 = x_52; + x_54 = x_49; } lean_ctor_set(x_54, 0, x_53); -if (lean_is_scalar(x_50)) { - x_55 = lean_alloc_ctor(0, 2, 0); -} else { - x_55 = x_50; -} +lean_ctor_set(x_54, 1, x_48); +x_55 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_49); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_55); -x_12 = x_56; -x_13 = x_29; -goto block_21; +x_11 = x_55; +x_12 = x_28; +goto block_20; } } } -block_21: +block_20: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; -x_14 = lean_ctor_get(x_12, 0); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_14, 0); +x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 0); lean_inc(x_16); lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -lean_dec(x_15); -x_18 = 1; -x_19 = x_6 + x_18; -x_6 = x_19; -x_7 = x_17; -x_9 = x_16; -x_11 = x_13; +x_17 = 1; +x_18 = x_5 + x_17; +x_5 = x_18; +x_6 = x_16; +x_8 = x_15; +x_10 = x_12; goto _start; } } @@ -24787,665 +25317,662 @@ lean_ctor_set(x_10, 1, x_6); return x_10; } } -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -if (lean_obj_tag(x_4) == 0) +if (lean_obj_tag(x_3) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_10 = lean_ctor_get(x_4, 0); -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_5); -x_13 = lean_array_get_size(x_10); -x_14 = lean_usize_of_nat(x_13); -lean_dec(x_13); -x_15 = 0; -x_16 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4(x_1, x_2, x_3, x_11, x_10, x_14, x_15, x_12, x_6, x_7, x_8, x_9); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_9 = lean_ctor_get(x_3, 0); +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_4); +x_12 = lean_array_get_size(x_9); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4(x_1, x_2, x_10, x_9, x_13, x_14, x_11, x_5, x_6, x_7, x_8); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -if (lean_obj_tag(x_21) == 0) +if (lean_obj_tag(x_20) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_free_object(x_17); -x_22 = lean_ctor_get(x_16, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_free_object(x_16); +x_21 = lean_ctor_get(x_15, 1); +lean_inc(x_21); +lean_dec(x_15); +x_22 = lean_ctor_get(x_18, 1); lean_inc(x_22); -lean_dec(x_16); +lean_dec(x_18); x_23 = lean_ctor_get(x_19, 1); lean_inc(x_23); lean_dec(x_19); -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_dec(x_20); -x_25 = lean_box(0); -x_26 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1(x_24, x_25, x_6, x_23, x_8, x_22); -return x_26; -} -else -{ -uint8_t x_27; -lean_dec(x_20); -x_27 = !lean_is_exclusive(x_16); -if (x_27 == 0) -{ -lean_object* x_28; uint8_t x_29; -x_28 = lean_ctor_get(x_16, 0); -lean_dec(x_28); -x_29 = !lean_is_exclusive(x_19); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_19, 0); -lean_dec(x_30); -x_31 = lean_ctor_get(x_21, 0); -lean_inc(x_31); -lean_dec(x_21); -lean_ctor_set(x_19, 0, x_31); -return x_16; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_19, 1); -lean_inc(x_32); -lean_dec(x_19); -x_33 = lean_ctor_get(x_21, 0); -lean_inc(x_33); -lean_dec(x_21); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -lean_ctor_set(x_17, 0, x_34); -return x_16; -} -} -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; -x_35 = lean_ctor_get(x_16, 1); -lean_inc(x_35); -lean_dec(x_16); -x_36 = lean_ctor_get(x_19, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - x_37 = x_19; -} else { - lean_dec_ref(x_19); - x_37 = lean_box(0); -} -x_38 = lean_ctor_get(x_21, 0); -lean_inc(x_38); -lean_dec(x_21); -if (lean_is_scalar(x_37)) { - x_39 = lean_alloc_ctor(0, 2, 0); -} else { - x_39 = x_37; -} -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_17, 0, x_39); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_17); -lean_ctor_set(x_40, 1, x_35); -return x_40; -} -} -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_17, 0); -lean_inc(x_41); -lean_dec(x_17); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_44 = lean_ctor_get(x_16, 1); -lean_inc(x_44); -lean_dec(x_16); -x_45 = lean_ctor_get(x_41, 1); -lean_inc(x_45); -lean_dec(x_41); -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = lean_box(0); -x_48 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1(x_46, x_47, x_6, x_45, x_8, x_44); -return x_48; -} -else -{ -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_dec(x_42); -x_49 = lean_ctor_get(x_16, 1); -lean_inc(x_49); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - lean_ctor_release(x_16, 1); - x_50 = x_16; -} else { - lean_dec_ref(x_16); - x_50 = lean_box(0); -} -x_51 = lean_ctor_get(x_41, 1); -lean_inc(x_51); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_52 = x_41; -} else { - lean_dec_ref(x_41); - x_52 = lean_box(0); -} -x_53 = lean_ctor_get(x_43, 0); -lean_inc(x_53); -lean_dec(x_43); -if (lean_is_scalar(x_52)) { - x_54 = lean_alloc_ctor(0, 2, 0); -} else { - x_54 = x_52; -} -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_51); -x_55 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_55, 0, x_54); -if (lean_is_scalar(x_50)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_50; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_49); -return x_56; -} -} -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; size_t x_61; size_t x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_57 = lean_ctor_get(x_4, 0); -x_58 = lean_box(0); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_5); -x_60 = lean_array_get_size(x_57); -x_61 = lean_usize_of_nat(x_60); -lean_dec(x_60); -x_62 = 0; -x_63 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5(x_1, x_2, x_58, x_57, x_61, x_62, x_59, x_6, x_7, x_8, x_9); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = !lean_is_exclusive(x_64); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_64, 0); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_free_object(x_64); -x_69 = lean_ctor_get(x_63, 1); -lean_inc(x_69); -lean_dec(x_63); -x_70 = lean_ctor_get(x_66, 1); -lean_inc(x_70); -lean_dec(x_66); -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); -lean_dec(x_67); -x_72 = lean_box(0); -x_73 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1(x_71, x_72, x_6, x_70, x_8, x_69); -return x_73; -} -else -{ -uint8_t x_74; -lean_dec(x_67); -x_74 = !lean_is_exclusive(x_63); -if (x_74 == 0) -{ -lean_object* x_75; uint8_t x_76; -x_75 = lean_ctor_get(x_63, 0); -lean_dec(x_75); -x_76 = !lean_is_exclusive(x_66); -if (x_76 == 0) -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_66, 0); -lean_dec(x_77); -x_78 = lean_ctor_get(x_68, 0); -lean_inc(x_78); -lean_dec(x_68); -lean_ctor_set(x_66, 0, x_78); -return x_63; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_66, 1); -lean_inc(x_79); -lean_dec(x_66); -x_80 = lean_ctor_get(x_68, 0); -lean_inc(x_80); -lean_dec(x_68); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -lean_ctor_set(x_64, 0, x_81); -return x_63; -} -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_82 = lean_ctor_get(x_63, 1); -lean_inc(x_82); -lean_dec(x_63); -x_83 = lean_ctor_get(x_66, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_84 = x_66; -} else { - lean_dec_ref(x_66); - x_84 = lean_box(0); -} -x_85 = lean_ctor_get(x_68, 0); -lean_inc(x_85); -lean_dec(x_68); -if (lean_is_scalar(x_84)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_84; -} -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_83); -lean_ctor_set(x_64, 0, x_86); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_64); -lean_ctor_set(x_87, 1, x_82); -return x_87; -} -} -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_64, 0); -lean_inc(x_88); -lean_dec(x_64); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -if (lean_obj_tag(x_90) == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_91 = lean_ctor_get(x_63, 1); -lean_inc(x_91); -lean_dec(x_63); -x_92 = lean_ctor_get(x_88, 1); -lean_inc(x_92); -lean_dec(x_88); -x_93 = lean_ctor_get(x_89, 1); -lean_inc(x_93); -lean_dec(x_89); -x_94 = lean_box(0); -x_95 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1(x_93, x_94, x_6, x_92, x_8, x_91); -return x_95; -} -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_dec(x_89); -x_96 = lean_ctor_get(x_63, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_97 = x_63; -} else { - lean_dec_ref(x_63); - x_97 = lean_box(0); -} -x_98 = lean_ctor_get(x_88, 1); -lean_inc(x_98); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_99 = x_88; -} else { - lean_dec_ref(x_88); - x_99 = lean_box(0); -} -x_100 = lean_ctor_get(x_90, 0); -lean_inc(x_100); -lean_dec(x_90); -if (lean_is_scalar(x_99)) { - x_101 = lean_alloc_ctor(0, 2, 0); -} else { - x_101 = x_99; -} -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_98); -x_102 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_102, 0, x_101); -if (lean_is_scalar(x_97)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_97; -} -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_96); -return x_103; -} -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; uint8_t x_22; -x_22 = x_6 < x_5; -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_7); -lean_ctor_set(x_23, 1, x_9); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_11); +x_24 = lean_box(0); +x_25 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1(x_23, x_24, x_5, x_22, x_7, x_21); return x_25; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_26 = lean_array_uget(x_4, x_6); -if (lean_is_exclusive(x_7)) { - lean_ctor_release(x_7, 0); - lean_ctor_release(x_7, 1); - x_27 = x_7; -} else { - lean_dec_ref(x_7); - x_27 = lean_box(0); -} -lean_inc(x_2); -lean_inc(x_1); -x_58 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed), 5, 2); -lean_closure_set(x_58, 0, x_1); -lean_closure_set(x_58, 1, x_2); -x_59 = l_Lean_Elab_InfoTree_deepestNodes___rarg(x_58, x_26); -x_60 = lean_box(0); -x_61 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(x_1, x_59, x_60, x_8, x_9, x_10, x_11); -lean_dec(x_59); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) +uint8_t x_26; +lean_dec(x_19); +x_26 = !lean_is_exclusive(x_15); +if (x_26 == 0) { -lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_64 = lean_ctor_get(x_62, 0); -x_65 = lean_ctor_get(x_61, 1); -lean_inc(x_65); -lean_dec(x_61); -x_66 = !lean_is_exclusive(x_64); -if (x_66 == 0) +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_15, 0); +lean_dec(x_27); +x_28 = !lean_is_exclusive(x_18); +if (x_28 == 0) { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_64, 0); -lean_dec(x_67); -x_68 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -lean_ctor_set(x_64, 0, x_68); -x_28 = x_62; -x_29 = x_65; -goto block_57; +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_18, 0); +lean_dec(x_29); +x_30 = lean_ctor_get(x_20, 0); +lean_inc(x_30); +lean_dec(x_20); +lean_ctor_set(x_18, 0, x_30); +return x_15; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_64, 1); -lean_inc(x_69); -lean_dec(x_64); -x_70 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -lean_ctor_set(x_62, 0, x_71); -x_28 = x_62; -x_29 = x_65; -goto block_57; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_18, 1); +lean_inc(x_31); +lean_dec(x_18); +x_32 = lean_ctor_get(x_20, 0); +lean_inc(x_32); +lean_dec(x_20); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +lean_ctor_set(x_16, 0, x_33); +return x_15; } } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_72 = lean_ctor_get(x_62, 0); -lean_inc(x_72); -lean_dec(x_62); -x_73 = lean_ctor_get(x_61, 1); -lean_inc(x_73); -lean_dec(x_61); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_75 = x_72; +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_34 = lean_ctor_get(x_15, 1); +lean_inc(x_34); +lean_dec(x_15); +x_35 = lean_ctor_get(x_18, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + x_36 = x_18; } else { - lean_dec_ref(x_72); - x_75 = lean_box(0); + lean_dec_ref(x_18); + x_36 = lean_box(0); } -x_76 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -if (lean_is_scalar(x_75)) { - x_77 = lean_alloc_ctor(0, 2, 0); -} else { - x_77 = x_75; -} -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_74); -x_78 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_78, 0, x_77); -x_28 = x_78; -x_29 = x_73; -goto block_57; -} -block_57: -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_28); -if (x_30 == 0) -{ -lean_object* x_31; uint8_t x_32; -x_31 = lean_ctor_get(x_28, 0); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_31, 0); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_3); -if (lean_is_scalar(x_27)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_27; -} -lean_ctor_set(x_36, 0, x_3); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_33, 0, x_36); -x_12 = x_28; -x_13 = x_29; -goto block_21; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_33, 0); +x_37 = lean_ctor_get(x_20, 0); lean_inc(x_37); -lean_dec(x_33); -lean_inc(x_3); -if (lean_is_scalar(x_27)) { +lean_dec(x_20); +if (lean_is_scalar(x_36)) { x_38 = lean_alloc_ctor(0, 2, 0); } else { - x_38 = x_27; + x_38 = x_36; +} +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +lean_ctor_set(x_16, 0, x_38); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_16); +lean_ctor_set(x_39, 1, x_34); +return x_39; } -lean_ctor_set(x_38, 0, x_3); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_31, 0, x_39); -x_12 = x_28; -x_13 = x_29; -goto block_21; } } else { -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_40 = lean_ctor_get(x_31, 0); -x_41 = lean_ctor_get(x_31, 1); -lean_inc(x_41); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_16, 0); lean_inc(x_40); -lean_dec(x_31); -x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_16); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_43 = lean_ctor_get(x_15, 1); +lean_inc(x_43); +lean_dec(x_15); +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_dec(x_40); +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); +lean_dec(x_41); +x_46 = lean_box(0); +x_47 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1(x_45, x_46, x_5, x_44, x_7, x_43); +return x_47; +} +else +{ +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_dec(x_41); +x_48 = lean_ctor_get(x_15, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + x_49 = x_15; +} else { + lean_dec_ref(x_15); + x_49 = lean_box(0); +} +x_50 = lean_ctor_get(x_40, 1); +lean_inc(x_50); if (lean_is_exclusive(x_40)) { lean_ctor_release(x_40, 0); - x_43 = x_40; + lean_ctor_release(x_40, 1); + x_51 = x_40; } else { lean_dec_ref(x_40); - x_43 = lean_box(0); + x_51 = lean_box(0); } -lean_inc(x_3); -if (lean_is_scalar(x_27)) { - x_44 = lean_alloc_ctor(0, 2, 0); +x_52 = lean_ctor_get(x_42, 0); +lean_inc(x_52); +lean_dec(x_42); +if (lean_is_scalar(x_51)) { + x_53 = lean_alloc_ctor(0, 2, 0); } else { - x_44 = x_27; + x_53 = x_51; } -lean_ctor_set(x_44, 0, x_3); -lean_ctor_set(x_44, 1, x_42); -if (lean_is_scalar(x_43)) { - x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_50); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_53); +if (lean_is_scalar(x_49)) { + x_55 = lean_alloc_ctor(0, 2, 0); } else { - x_45 = x_43; + x_55 = x_49; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_48); +return x_55; } -lean_ctor_set(x_45, 0, x_44); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_41); -lean_ctor_set(x_28, 0, x_46); -x_12 = x_28; -x_13 = x_29; -goto block_21; } } 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; -x_47 = lean_ctor_get(x_28, 0); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; size_t x_60; size_t x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_56 = lean_ctor_get(x_3, 0); +x_57 = lean_box(0); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_4); +x_59 = lean_array_get_size(x_56); +x_60 = lean_usize_of_nat(x_59); +lean_dec(x_59); +x_61 = 0; +x_62 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5(x_1, x_57, x_56, x_60, x_61, x_58, x_5, x_6, x_7, x_8); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = !lean_is_exclusive(x_63); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_63, 0); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_free_object(x_63); +x_68 = lean_ctor_get(x_62, 1); +lean_inc(x_68); +lean_dec(x_62); +x_69 = lean_ctor_get(x_65, 1); +lean_inc(x_69); +lean_dec(x_65); +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_dec(x_66); +x_71 = lean_box(0); +x_72 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1(x_70, x_71, x_5, x_69, x_7, x_68); +return x_72; +} +else +{ +uint8_t x_73; +lean_dec(x_66); +x_73 = !lean_is_exclusive(x_62); +if (x_73 == 0) +{ +lean_object* x_74; uint8_t x_75; +x_74 = lean_ctor_get(x_62, 0); +lean_dec(x_74); +x_75 = !lean_is_exclusive(x_65); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_65, 0); +lean_dec(x_76); +x_77 = lean_ctor_get(x_67, 0); +lean_inc(x_77); +lean_dec(x_67); +lean_ctor_set(x_65, 0, x_77); +return x_62; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_65, 1); +lean_inc(x_78); +lean_dec(x_65); +x_79 = lean_ctor_get(x_67, 0); +lean_inc(x_79); +lean_dec(x_67); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +lean_ctor_set(x_63, 0, x_80); +return x_62; +} +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_81 = lean_ctor_get(x_62, 1); +lean_inc(x_81); +lean_dec(x_62); +x_82 = lean_ctor_get(x_65, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_83 = x_65; +} else { + lean_dec_ref(x_65); + x_83 = lean_box(0); +} +x_84 = lean_ctor_get(x_67, 0); +lean_inc(x_84); +lean_dec(x_67); +if (lean_is_scalar(x_83)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_83; +} +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_82); +lean_ctor_set(x_63, 0, x_85); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_63); +lean_ctor_set(x_86, 1, x_81); +return x_86; +} +} +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_63, 0); +lean_inc(x_87); +lean_dec(x_63); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_90 = lean_ctor_get(x_62, 1); +lean_inc(x_90); +lean_dec(x_62); +x_91 = lean_ctor_get(x_87, 1); +lean_inc(x_91); +lean_dec(x_87); +x_92 = lean_ctor_get(x_88, 1); +lean_inc(x_92); +lean_dec(x_88); +x_93 = lean_box(0); +x_94 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1(x_92, x_93, x_5, x_91, x_7, x_90); +return x_94; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_88); +x_95 = lean_ctor_get(x_62, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_96 = x_62; +} else { + lean_dec_ref(x_62); + x_96 = lean_box(0); +} +x_97 = lean_ctor_get(x_87, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_98 = x_87; +} else { + lean_dec_ref(x_87); + x_98 = lean_box(0); +} +x_99 = lean_ctor_get(x_89, 0); +lean_inc(x_99); +lean_dec(x_89); +if (lean_is_scalar(x_98)) { + x_100 = lean_alloc_ctor(0, 2, 0); +} else { + x_100 = x_98; +} +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_97); +x_101 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_101, 0, x_100); +if (lean_is_scalar(x_96)) { + x_102 = lean_alloc_ctor(0, 2, 0); +} else { + x_102 = x_96; +} +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_95); +return x_102; +} +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_21; +x_21 = x_5 < x_4; +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_2); +lean_dec(x_1); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_6); +lean_ctor_set(x_22, 1, x_8); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, 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_10); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_25 = lean_array_uget(x_3, x_5); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + x_26 = x_6; +} else { + lean_dec_ref(x_6); + x_26 = lean_box(0); +} +lean_inc(x_1); +x_57 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed), 4, 1); +lean_closure_set(x_57, 0, x_1); +x_58 = l_Lean_Elab_InfoTree_deepestNodes___rarg(x_57, x_25); +x_59 = lean_box(0); +x_60 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(x_1, x_58, x_59, x_7, x_8, x_9, x_10); +lean_dec(x_58); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_63 = lean_ctor_get(x_61, 0); +x_64 = lean_ctor_get(x_60, 1); +lean_inc(x_64); +lean_dec(x_60); +x_65 = !lean_is_exclusive(x_63); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_63, 0); +lean_dec(x_66); +x_67 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +lean_ctor_set(x_63, 0, x_67); +x_27 = x_61; +x_28 = x_64; +goto block_56; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_63, 1); +lean_inc(x_68); +lean_dec(x_63); +x_69 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +lean_ctor_set(x_61, 0, x_70); +x_27 = x_61; +x_28 = x_64; +goto block_56; +} +} +else +{ +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_71 = lean_ctor_get(x_61, 0); +lean_inc(x_71); +lean_dec(x_61); +x_72 = lean_ctor_get(x_60, 1); +lean_inc(x_72); +lean_dec(x_60); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_74 = x_71; +} else { + lean_dec_ref(x_71); + x_74 = lean_box(0); +} +x_75 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; +if (lean_is_scalar(x_74)) { + x_76 = lean_alloc_ctor(0, 2, 0); +} else { + x_76 = x_74; +} +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_73); +x_77 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_77, 0, x_76); +x_27 = x_77; +x_28 = x_72; +goto block_56; +} +block_56: +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_27); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = lean_ctor_get(x_27, 0); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_30, 0); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_32, 0); +lean_inc(x_2); +if (lean_is_scalar(x_26)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_26; +} +lean_ctor_set(x_35, 0, x_2); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_32, 0, x_35); +x_11 = x_27; +x_12 = x_28; +goto block_20; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_32, 0); +lean_inc(x_36); +lean_dec(x_32); +lean_inc(x_2); +if (lean_is_scalar(x_26)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_26; +} +lean_ctor_set(x_37, 0, x_2); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_30, 0, x_38); +x_11 = x_27; +x_12 = x_28; +goto block_20; +} +} +else +{ +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; +x_39 = lean_ctor_get(x_30, 0); +x_40 = lean_ctor_get(x_30, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_30); +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + x_42 = x_39; +} else { + lean_dec_ref(x_39); + x_42 = lean_box(0); +} +lean_inc(x_2); +if (lean_is_scalar(x_26)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_26; +} +lean_ctor_set(x_43, 0, x_2); +lean_ctor_set(x_43, 1, x_41); +if (lean_is_scalar(x_42)) { + x_44 = lean_alloc_ctor(1, 1, 0); +} else { + x_44 = x_42; +} +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_40); +lean_ctor_set(x_27, 0, x_45); +x_11 = x_27; +x_12 = x_28; +goto block_20; +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_46 = lean_ctor_get(x_27, 0); +lean_inc(x_46); +lean_dec(x_27); +x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); -lean_dec(x_28); -x_48 = lean_ctor_get(x_47, 0); +x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_49 = x_46; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +x_50 = lean_ctor_get(x_47, 0); +lean_inc(x_50); if (lean_is_exclusive(x_47)) { lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); - x_50 = x_47; + x_51 = x_47; } else { lean_dec_ref(x_47); - x_50 = lean_box(0); + x_51 = lean_box(0); } -x_51 = lean_ctor_get(x_48, 0); -lean_inc(x_51); -if (lean_is_exclusive(x_48)) { - lean_ctor_release(x_48, 0); - x_52 = x_48; +lean_inc(x_2); +if (lean_is_scalar(x_26)) { + x_52 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_48); - x_52 = lean_box(0); + x_52 = x_26; } -lean_inc(x_3); -if (lean_is_scalar(x_27)) { - x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_2); +lean_ctor_set(x_52, 1, x_50); +if (lean_is_scalar(x_51)) { + x_53 = lean_alloc_ctor(1, 1, 0); } else { - x_53 = x_27; + x_53 = x_51; } -lean_ctor_set(x_53, 0, x_3); -lean_ctor_set(x_53, 1, x_51); -if (lean_is_scalar(x_52)) { - x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_52); +if (lean_is_scalar(x_49)) { + x_54 = lean_alloc_ctor(0, 2, 0); } else { - x_54 = x_52; + x_54 = x_49; } lean_ctor_set(x_54, 0, x_53); -if (lean_is_scalar(x_50)) { - x_55 = lean_alloc_ctor(0, 2, 0); -} else { - x_55 = x_50; -} +lean_ctor_set(x_54, 1, x_48); +x_55 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_49); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_55); -x_12 = x_56; -x_13 = x_29; -goto block_21; +x_11 = x_55; +x_12 = x_28; +goto block_20; } } } -block_21: +block_20: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; -x_14 = lean_ctor_get(x_12, 0); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_14, 0); +x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 0); lean_inc(x_16); lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -lean_dec(x_15); -x_18 = 1; -x_19 = x_6 + x_18; -x_6 = x_19; -x_7 = x_17; -x_9 = x_16; -x_11 = x_13; +x_17 = 1; +x_18 = x_5 + x_17; +x_5 = x_18; +x_6 = x_16; +x_8 = x_15; +x_10 = x_12; goto _start; } } @@ -25465,450 +25992,447 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -lean_inc(x_2); +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_3); lean_inc(x_1); -x_10 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(x_1, x_2, x_4, x_9, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_4); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +x_9 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(x_1, x_3, x_8, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_3); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) { -uint8_t x_15; -lean_dec(x_2); +uint8_t x_14; lean_dec(x_1); -x_15 = !lean_is_exclusive(x_10); -if (x_15 == 0) +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) { -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_10, 0); -lean_dec(x_16); -x_17 = !lean_is_exclusive(x_13); -if (x_17 == 0) +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_9, 0); +lean_dec(x_15); +x_16 = !lean_is_exclusive(x_12); +if (x_16 == 0) { -lean_object* x_18; lean_object* x_19; +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_12, 0); +lean_dec(x_17); x_18 = lean_ctor_get(x_13, 0); -lean_dec(x_18); -x_19 = lean_ctor_get(x_14, 0); -lean_inc(x_19); -lean_dec(x_14); -lean_ctor_set(x_13, 0, x_19); -return x_10; +lean_inc(x_18); +lean_dec(x_13); +lean_ctor_set(x_12, 0, x_18); +return x_9; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_13, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_dec(x_12); +x_20 = lean_ctor_get(x_13, 0); lean_inc(x_20); lean_dec(x_13); -x_21 = lean_ctor_get(x_14, 0); -lean_inc(x_21); -lean_dec(x_14); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -lean_ctor_set(x_11, 0, x_22); -return x_10; +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_10, 0, x_21); +return x_9; } } 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; -x_23 = lean_ctor_get(x_10, 1); +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_22 = lean_ctor_get(x_9, 1); +lean_inc(x_22); +lean_dec(x_9); +x_23 = lean_ctor_get(x_12, 1); lean_inc(x_23); -lean_dec(x_10); -x_24 = lean_ctor_get(x_13, 1); -lean_inc(x_24); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - lean_ctor_release(x_13, 1); - x_25 = x_13; +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_24 = x_12; } else { - lean_dec_ref(x_13); - x_25 = lean_box(0); + lean_dec_ref(x_12); + x_24 = lean_box(0); } -x_26 = lean_ctor_get(x_14, 0); -lean_inc(x_26); -lean_dec(x_14); -if (lean_is_scalar(x_25)) { - x_27 = lean_alloc_ctor(0, 2, 0); +x_25 = lean_ctor_get(x_13, 0); +lean_inc(x_25); +lean_dec(x_13); +if (lean_is_scalar(x_24)) { + x_26 = lean_alloc_ctor(0, 2, 0); } else { - x_27 = x_25; + x_26 = x_24; } -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_24); -lean_ctor_set(x_11, 0, x_27); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_11); -lean_ctor_set(x_28, 1, x_23); -return x_28; +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_23); +lean_ctor_set(x_10, 0, x_26); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_10); +lean_ctor_set(x_27, 1, x_22); +return x_27; } } else { -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; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -lean_free_object(x_11); -x_29 = lean_ctor_get(x_10, 1); +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; size_t x_35; size_t x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +lean_free_object(x_10); +x_28 = lean_ctor_get(x_9, 1); +lean_inc(x_28); +lean_dec(x_9); +x_29 = lean_ctor_get(x_12, 1); lean_inc(x_29); -lean_dec(x_10); -x_30 = lean_ctor_get(x_13, 1); +lean_dec(x_12); +x_30 = lean_ctor_get(x_13, 0); lean_inc(x_30); lean_dec(x_13); -x_31 = lean_ctor_get(x_14, 0); -lean_inc(x_31); -lean_dec(x_14); -x_32 = lean_ctor_get(x_3, 1); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_31); -x_35 = lean_array_get_size(x_32); -x_36 = lean_usize_of_nat(x_35); -lean_dec(x_35); -x_37 = 0; -x_38 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(x_1, x_2, x_33, x_32, x_36, x_37, x_34, x_5, x_30, x_7, x_29); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) +x_31 = lean_ctor_get(x_2, 1); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +x_34 = lean_array_get_size(x_31); +x_35 = lean_usize_of_nat(x_34); +lean_dec(x_34); +x_36 = 0; +x_37 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(x_1, x_32, x_31, x_35, x_36, x_33, x_4, x_29, x_6, x_28); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_39, 0); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_38, 0); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -if (lean_obj_tag(x_43) == 0) +if (lean_obj_tag(x_42) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_free_object(x_39); -x_44 = lean_ctor_get(x_38, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_free_object(x_38); +x_43 = lean_ctor_get(x_37, 1); +lean_inc(x_43); +lean_dec(x_37); +x_44 = lean_ctor_get(x_40, 1); lean_inc(x_44); -lean_dec(x_38); +lean_dec(x_40); x_45 = lean_ctor_get(x_41, 1); lean_inc(x_45); lean_dec(x_41); -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = lean_box(0); -x_48 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1(x_46, x_47, x_5, x_45, x_7, x_44); -return x_48; +x_46 = lean_box(0); +x_47 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1(x_45, x_46, x_4, x_44, x_6, x_43); +return x_47; } else { -uint8_t x_49; -lean_dec(x_42); -x_49 = !lean_is_exclusive(x_38); -if (x_49 == 0) -{ -lean_object* x_50; uint8_t x_51; -x_50 = lean_ctor_get(x_38, 0); -lean_dec(x_50); -x_51 = !lean_is_exclusive(x_41); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_41, 0); -lean_dec(x_52); -x_53 = lean_ctor_get(x_43, 0); -lean_inc(x_53); -lean_dec(x_43); -lean_ctor_set(x_41, 0, x_53); -return x_38; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_41, 1); -lean_inc(x_54); +uint8_t x_48; lean_dec(x_41); -x_55 = lean_ctor_get(x_43, 0); -lean_inc(x_55); -lean_dec(x_43); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -lean_ctor_set(x_39, 0, x_56); -return x_38; +x_48 = !lean_is_exclusive(x_37); +if (x_48 == 0) +{ +lean_object* x_49; uint8_t x_50; +x_49 = lean_ctor_get(x_37, 0); +lean_dec(x_49); +x_50 = !lean_is_exclusive(x_40); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_40, 0); +lean_dec(x_51); +x_52 = lean_ctor_get(x_42, 0); +lean_inc(x_52); +lean_dec(x_42); +lean_ctor_set(x_40, 0, x_52); +return x_37; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_40, 1); +lean_inc(x_53); +lean_dec(x_40); +x_54 = lean_ctor_get(x_42, 0); +lean_inc(x_54); +lean_dec(x_42); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +lean_ctor_set(x_38, 0, x_55); +return x_37; } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_57 = lean_ctor_get(x_38, 1); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_56 = lean_ctor_get(x_37, 1); +lean_inc(x_56); +lean_dec(x_37); +x_57 = lean_ctor_get(x_40, 1); lean_inc(x_57); -lean_dec(x_38); -x_58 = lean_ctor_get(x_41, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_59 = x_41; +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_58 = x_40; } else { - lean_dec_ref(x_41); - x_59 = lean_box(0); + lean_dec_ref(x_40); + x_58 = lean_box(0); } -x_60 = lean_ctor_get(x_43, 0); -lean_inc(x_60); -lean_dec(x_43); -if (lean_is_scalar(x_59)) { - x_61 = lean_alloc_ctor(0, 2, 0); +x_59 = lean_ctor_get(x_42, 0); +lean_inc(x_59); +lean_dec(x_42); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(0, 2, 0); } else { - x_61 = x_59; + x_60 = x_58; } -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_58); -lean_ctor_set(x_39, 0, x_61); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_39); -lean_ctor_set(x_62, 1, x_57); -return x_62; +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_57); +lean_ctor_set(x_38, 0, x_60); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_38); +lean_ctor_set(x_61, 1, x_56); +return x_61; } } } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_39, 0); +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_38, 0); +lean_inc(x_62); +lean_dec(x_38); +x_63 = lean_ctor_get(x_62, 0); lean_inc(x_63); -lean_dec(x_39); x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -if (lean_obj_tag(x_65) == 0) +if (lean_obj_tag(x_64) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_66 = lean_ctor_get(x_38, 1); +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_65 = lean_ctor_get(x_37, 1); +lean_inc(x_65); +lean_dec(x_37); +x_66 = lean_ctor_get(x_62, 1); lean_inc(x_66); -lean_dec(x_38); +lean_dec(x_62); x_67 = lean_ctor_get(x_63, 1); lean_inc(x_67); lean_dec(x_63); -x_68 = lean_ctor_get(x_64, 1); -lean_inc(x_68); -lean_dec(x_64); -x_69 = lean_box(0); -x_70 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1(x_68, x_69, x_5, x_67, x_7, x_66); -return x_70; +x_68 = lean_box(0); +x_69 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1(x_67, x_68, x_4, x_66, x_6, x_65); +return x_69; } else { -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_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_dec(x_63); +x_70 = lean_ctor_get(x_37, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_71 = x_37; +} else { + lean_dec_ref(x_37); + x_71 = lean_box(0); +} +x_72 = lean_ctor_get(x_62, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_73 = x_62; +} else { + lean_dec_ref(x_62); + x_73 = lean_box(0); +} +x_74 = lean_ctor_get(x_64, 0); +lean_inc(x_74); lean_dec(x_64); -x_71 = lean_ctor_get(x_38, 1); -lean_inc(x_71); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_72 = x_38; +if (lean_is_scalar(x_73)) { + x_75 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_38); - x_72 = lean_box(0); -} -x_73 = lean_ctor_get(x_63, 1); -lean_inc(x_73); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_74 = x_63; -} else { - lean_dec_ref(x_63); - x_74 = lean_box(0); -} -x_75 = lean_ctor_get(x_65, 0); -lean_inc(x_75); -lean_dec(x_65); -if (lean_is_scalar(x_74)) { - x_76 = lean_alloc_ctor(0, 2, 0); -} else { - x_76 = x_74; + x_75 = x_73; } +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_72); +x_76 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_73); -x_77 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_71)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_71; +} lean_ctor_set(x_77, 0, x_76); -if (lean_is_scalar(x_72)) { - x_78 = lean_alloc_ctor(0, 2, 0); -} else { - x_78 = x_72; -} -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_71); -return x_78; +lean_ctor_set(x_77, 1, x_70); +return x_77; } } } } else { -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_11, 0); -lean_inc(x_79); -lean_dec(x_11); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -if (lean_obj_tag(x_80) == 0) -{ -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_dec(x_2); -lean_dec(x_1); -x_81 = lean_ctor_get(x_10, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_10)) { - lean_ctor_release(x_10, 0); - lean_ctor_release(x_10, 1); - x_82 = x_10; -} else { - lean_dec_ref(x_10); - x_82 = lean_box(0); -} -x_83 = lean_ctor_get(x_79, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_84 = x_79; -} else { - lean_dec_ref(x_79); - x_84 = lean_box(0); -} -x_85 = lean_ctor_get(x_80, 0); -lean_inc(x_85); -lean_dec(x_80); -if (lean_is_scalar(x_84)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_84; -} -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_83); -x_87 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_87, 0, x_86); -if (lean_is_scalar(x_82)) { - x_88 = lean_alloc_ctor(0, 2, 0); -} else { - x_88 = x_82; -} -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_81); -return x_88; -} -else -{ -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; size_t x_96; size_t 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; -x_89 = lean_ctor_get(x_10, 1); -lean_inc(x_89); +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_10, 0); +lean_inc(x_78); lean_dec(x_10); -x_90 = lean_ctor_get(x_79, 1); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec(x_1); +x_80 = lean_ctor_get(x_9, 1); +lean_inc(x_80); +if (lean_is_exclusive(x_9)) { + lean_ctor_release(x_9, 0); + lean_ctor_release(x_9, 1); + x_81 = x_9; +} else { + lean_dec_ref(x_9); + x_81 = lean_box(0); +} +x_82 = lean_ctor_get(x_78, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_83 = x_78; +} else { + lean_dec_ref(x_78); + x_83 = lean_box(0); +} +x_84 = lean_ctor_get(x_79, 0); +lean_inc(x_84); +lean_dec(x_79); +if (lean_is_scalar(x_83)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_83; +} +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_82); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_85); +if (lean_is_scalar(x_81)) { + x_87 = lean_alloc_ctor(0, 2, 0); +} else { + x_87 = x_81; +} +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_80); +return x_87; +} +else +{ +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; size_t x_95; size_t 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_88 = lean_ctor_get(x_9, 1); +lean_inc(x_88); +lean_dec(x_9); +x_89 = lean_ctor_get(x_78, 1); +lean_inc(x_89); +lean_dec(x_78); +x_90 = lean_ctor_get(x_79, 0); lean_inc(x_90); lean_dec(x_79); -x_91 = lean_ctor_get(x_80, 0); -lean_inc(x_91); -lean_dec(x_80); -x_92 = lean_ctor_get(x_3, 1); -x_93 = lean_box(0); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_91); -x_95 = lean_array_get_size(x_92); -x_96 = lean_usize_of_nat(x_95); -lean_dec(x_95); -x_97 = 0; -x_98 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(x_1, x_2, x_93, x_92, x_96, x_97, x_94, x_5, x_90, x_7, x_89); +x_91 = lean_ctor_get(x_2, 1); +x_92 = lean_box(0); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_90); +x_94 = lean_array_get_size(x_91); +x_95 = lean_usize_of_nat(x_94); +lean_dec(x_94); +x_96 = 0; +x_97 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(x_1, x_92, x_91, x_95, x_96, x_93, x_4, x_89, x_6, x_88); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); x_99 = lean_ctor_get(x_98, 0); lean_inc(x_99); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - x_101 = x_99; +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + x_100 = x_98; } else { - lean_dec_ref(x_99); - x_101 = lean_box(0); + lean_dec_ref(x_98); + x_100 = lean_box(0); } -x_102 = lean_ctor_get(x_100, 0); +x_101 = lean_ctor_get(x_99, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_101, 0); lean_inc(x_102); -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -if (lean_obj_tag(x_103) == 0) +if (lean_obj_tag(x_102) == 0) { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -lean_dec(x_101); -x_104 = lean_ctor_get(x_98, 1); -lean_inc(x_104); -lean_dec(x_98); -x_105 = lean_ctor_get(x_100, 1); -lean_inc(x_105); +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_dec(x_100); -x_106 = lean_ctor_get(x_102, 1); -lean_inc(x_106); -lean_dec(x_102); -x_107 = lean_box(0); -x_108 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1(x_106, x_107, x_5, x_105, x_7, x_104); -return x_108; +x_103 = lean_ctor_get(x_97, 1); +lean_inc(x_103); +lean_dec(x_97); +x_104 = lean_ctor_get(x_99, 1); +lean_inc(x_104); +lean_dec(x_99); +x_105 = lean_ctor_get(x_101, 1); +lean_inc(x_105); +lean_dec(x_101); +x_106 = lean_box(0); +x_107 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1(x_105, x_106, x_4, x_104, x_6, x_103); +return x_107; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_object* x_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_101); +x_108 = lean_ctor_get(x_97, 1); +lean_inc(x_108); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_109 = x_97; +} else { + lean_dec_ref(x_97); + x_109 = lean_box(0); +} +x_110 = lean_ctor_get(x_99, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_111 = x_99; +} else { + lean_dec_ref(x_99); + x_111 = lean_box(0); +} +x_112 = lean_ctor_get(x_102, 0); +lean_inc(x_112); lean_dec(x_102); -x_109 = lean_ctor_get(x_98, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_110 = x_98; +if (lean_is_scalar(x_111)) { + x_113 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_98); - x_110 = lean_box(0); + x_113 = x_111; } -x_111 = lean_ctor_get(x_100, 1); -lean_inc(x_111); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_112 = x_100; +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_110); +if (lean_is_scalar(x_100)) { + x_114 = lean_alloc_ctor(1, 1, 0); } else { - lean_dec_ref(x_100); - x_112 = lean_box(0); -} -x_113 = lean_ctor_get(x_103, 0); -lean_inc(x_113); -lean_dec(x_103); -if (lean_is_scalar(x_112)) { - x_114 = lean_alloc_ctor(0, 2, 0); -} else { - x_114 = x_112; + x_114 = x_100; } lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_111); -if (lean_is_scalar(x_101)) { - x_115 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_109)) { + x_115 = lean_alloc_ctor(0, 2, 0); } else { - x_115 = x_101; + x_115 = x_109; } lean_ctor_set(x_115, 0, x_114); -if (lean_is_scalar(x_110)) { - x_116 = lean_alloc_ctor(0, 2, 0); -} else { - x_116 = x_110; -} -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_109); -return x_116; +lean_ctor_set(x_115, 1, x_108); +return x_115; } } } @@ -25919,7 +26443,7 @@ _start: { uint8_t x_6; lean_object* x_7; x_6 = 0; -x_7 = l_Lean_Syntax_getPos_x3f(x_1, x_6); +x_7 = l_Lean_Syntax_getRange_x3f(x_1, x_6); if (lean_obj_tag(x_7) == 0) { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -25936,146 +26460,123 @@ return x_11; } else { -lean_object* x_12; lean_object* x_13; +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; x_12 = lean_ctor_get(x_7, 0); lean_inc(x_12); lean_dec(x_7); -x_13 = l_Lean_Syntax_getTailPos_x3f(x_1, x_6); -if (lean_obj_tag(x_13) == 0) +x_13 = lean_ctor_get(x_2, 3); +x_14 = lean_ctor_get(x_13, 1); +x_15 = lean_box(0); +x_16 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2(x_12, x_14, x_15, x_2, x_3, x_4, x_5); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -lean_dec(x_12); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_3); -x_16 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_5); -return x_17; +uint8_t x_19; +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_17, 0); +x_21 = lean_ctor_get(x_16, 0); +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_20); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_20, 0); +lean_dec(x_23); +lean_ctor_set(x_20, 0, x_15); +return x_16; } else { -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; -x_18 = lean_ctor_get(x_13, 0); -lean_inc(x_18); -lean_dec(x_13); -x_19 = lean_ctor_get(x_2, 3); -x_20 = lean_ctor_get(x_19, 1); -x_21 = lean_box(0); -x_22 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2(x_12, x_18, x_20, x_21, x_2, x_3, x_4, x_5); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -uint8_t x_25; -x_25 = !lean_is_exclusive(x_22); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_ctor_get(x_23, 0); -x_27 = lean_ctor_get(x_22, 0); -lean_dec(x_27); -x_28 = !lean_is_exclusive(x_26); -if (x_28 == 0) -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_26, 0); -lean_dec(x_29); -lean_ctor_set(x_26, 0, x_21); -return x_22; +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_dec(x_20); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_15); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_17, 0, x_25); +return x_16; +} } else { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_26, 1); -lean_inc(x_30); -lean_dec(x_26); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_26 = lean_ctor_get(x_17, 0); +x_27 = lean_ctor_get(x_16, 1); +lean_inc(x_27); +lean_dec(x_16); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_29 = x_26; +} else { + lean_dec_ref(x_26); + x_29 = lean_box(0); +} +if (lean_is_scalar(x_29)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_29; +} +lean_ctor_set(x_30, 0, x_15); +lean_ctor_set(x_30, 1, x_28); +lean_ctor_set(x_17, 0, x_30); x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_21); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set(x_23, 0, x_31); -return x_22; +lean_ctor_set(x_31, 0, x_17); +lean_ctor_set(x_31, 1, x_27); +return x_31; } } else { -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_32 = lean_ctor_get(x_23, 0); -x_33 = lean_ctor_get(x_22, 1); +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_32 = lean_ctor_get(x_17, 0); +lean_inc(x_32); +lean_dec(x_17); +x_33 = lean_ctor_get(x_16, 1); lean_inc(x_33); -lean_dec(x_22); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_34 = x_16; +} else { + lean_dec_ref(x_16); + x_34 = lean_box(0); +} +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); if (lean_is_exclusive(x_32)) { lean_ctor_release(x_32, 0); lean_ctor_release(x_32, 1); - x_35 = x_32; + x_36 = x_32; } else { lean_dec_ref(x_32); - x_35 = lean_box(0); + x_36 = lean_box(0); } -if (lean_is_scalar(x_35)) { - x_36 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(0, 2, 0); } else { - x_36 = x_35; + x_37 = x_36; } -lean_ctor_set(x_36, 0, x_21); -lean_ctor_set(x_36, 1, x_34); -lean_ctor_set(x_23, 0, x_36); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_23); -lean_ctor_set(x_37, 1, x_33); -return x_37; -} -} -else -{ -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; -x_38 = lean_ctor_get(x_23, 0); -lean_inc(x_38); -lean_dec(x_23); -x_39 = lean_ctor_get(x_22, 1); -lean_inc(x_39); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - x_40 = x_22; +lean_ctor_set(x_37, 0, x_15); +lean_ctor_set(x_37, 1, x_35); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +if (lean_is_scalar(x_34)) { + x_39 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_22); - x_40 = lean_box(0); -} -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_42 = x_38; -} else { - lean_dec_ref(x_38); - x_42 = lean_box(0); -} -if (lean_is_scalar(x_42)) { - x_43 = lean_alloc_ctor(0, 2, 0); -} else { - x_43 = x_42; -} -lean_ctor_set(x_43, 0, x_21); -lean_ctor_set(x_43, 1, x_41); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_43); -if (lean_is_scalar(x_40)) { - x_45 = lean_alloc_ctor(0, 2, 0); -} else { - x_45 = x_40; -} -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_39); -return x_45; + x_39 = x_34; } +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_33); +return x_39; } } } @@ -26092,36 +26593,7 @@ lean_dec(x_1); return x_8; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* 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: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_14 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4(x_1, x_2, x_3, x_4, x_5, x_13, x_14, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_3); -return x_15; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___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_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -26129,13 +26601,41 @@ x_12 = lean_unbox_usize(x_5); lean_dec(x_5); x_13 = lean_unbox_usize(x_6); lean_dec(x_6); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5(x_1, x_2, x_3, x_4, x_12, x_13, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4(x_1, x_2, x_3, x_4, x_12, x_13, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_4); +lean_dec(x_2); return x_14; } } +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___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_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___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) { +_start: +{ +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_12 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5(x_1, x_2, x_3, x_11, x_12, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_3); +return x_13; +} +} lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___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: { @@ -26147,31 +26647,31 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_10; -x_10 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); +lean_object* x_9; +x_9 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); lean_dec(x_3); -return x_10; +lean_dec(x_2); +return x_9; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_12; size_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_4); +lean_dec(x_4); x_12 = lean_unbox_usize(x_5); lean_dec(x_5); -x_13 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(x_1, x_2, x_3, x_4, x_12, x_13, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_4); -return x_14; +x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(x_1, x_2, x_3, x_11, x_12, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_3); +return x_13; } } lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___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, lean_object* x_6) { @@ -26185,15 +26685,15 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_9; -x_9 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -return x_9; +lean_object* x_8; +x_8 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +return x_8; } } lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -26287,7 +26787,78 @@ lean_dec(x_1); return x_6; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +uint8_t l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_3 == x_4; +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_uget(x_2, x_3); +x_7 = lean_name_eq(x_1, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +size_t x_8; size_t x_9; +x_8 = 1; +x_9 = x_3 + x_8; +x_3 = x_9; +goto _start; +} +else +{ +uint8_t x_11; +x_11 = 1; +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +} +uint8_t l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_array_get_size(x_1); +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_lt(x_4, x_3); +if (x_5 == 0) +{ +uint8_t x_6; +lean_dec(x_3); +x_6 = 0; +return x_6; +} +else +{ +uint8_t x_7; +x_7 = lean_nat_dec_le(x_3, x_3); +if (x_7 == 0) +{ +uint8_t x_8; +lean_dec(x_3); +x_8 = 0; +return x_8; +} +else +{ +size_t x_9; size_t x_10; uint8_t x_11; +x_9 = 0; +x_10 = lean_usize_of_nat(x_3); +lean_dec(x_3); +x_11 = l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2(x_2, x_1, x_9, x_10); +return x_11; +} +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -26362,7 +26933,7 @@ x_7 = l_Lean_Syntax_isOfKind(x_1, x_6); if (x_7 == 0) { lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; +x_8 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; lean_inc(x_1); x_9 = l_Lean_Syntax_isOfKind(x_1, x_8); if (x_9 == 0) @@ -26371,7 +26942,7 @@ lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_inc(x_1); x_10 = l_Lean_Syntax_getKind(x_1); x_11 = l_Lean_Server_FileWorker_noHighlightKinds; -x_12 = l_Array_contains___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1(x_11, x_10); +x_12 = l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(x_11, x_10); lean_dec(x_10); if (x_12 == 0) { @@ -26441,7 +27012,7 @@ x_32 = 0; x_33 = lean_usize_of_nat(x_26); lean_dec(x_26); x_34 = lean_box(0); -x_35 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(x_25, x_32, x_33, x_34, x_2, x_21, x_4, x_18); +x_35 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(x_25, x_32, x_33, x_34, x_2, x_21, x_4, x_18); lean_dec(x_25); return x_35; } @@ -26516,7 +27087,7 @@ x_51 = 0; x_52 = lean_usize_of_nat(x_43); lean_dec(x_43); x_53 = lean_box(0); -x_54 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(x_42, x_51, x_52, x_53, x_2, x_39, x_4, x_18); +x_54 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(x_42, x_51, x_52, x_53, x_2, x_39, x_4, x_18); lean_dec(x_42); return x_54; } @@ -26616,7 +27187,7 @@ x_75 = 0; x_76 = lean_usize_of_nat(x_65); lean_dec(x_65); x_77 = lean_box(0); -x_78 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(x_64, x_75, x_76, x_77, x_2, x_60, x_4, x_59); +x_78 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(x_64, x_75, x_76, x_77, x_2, x_60, x_4, x_59); lean_dec(x_64); return x_78; } @@ -26735,7 +27306,7 @@ x_102 = 0; x_103 = lean_usize_of_nat(x_90); lean_dec(x_90); x_104 = lean_box(0); -x_105 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(x_89, x_102, x_103, x_104, x_2, x_85, x_4, x_83); +x_105 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(x_89, x_102, x_103, x_104, x_2, x_85, x_4, x_83); lean_dec(x_89); return x_105; } @@ -26787,7 +27358,7 @@ x_114 = lean_unsigned_to_nat(0u); x_115 = l_Lean_Syntax_getArg(x_1, x_114); x_116 = lean_unsigned_to_nat(2u); x_117 = l_Lean_Syntax_getArg(x_1, x_116); -x_118 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5; +x_118 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; lean_inc(x_117); x_119 = l_Lean_Syntax_isOfKind(x_117, x_118); if (x_119 == 0) @@ -26798,7 +27369,7 @@ lean_dec(x_115); lean_inc(x_1); x_120 = l_Lean_Syntax_getKind(x_1); x_121 = l_Lean_Server_FileWorker_noHighlightKinds; -x_122 = l_Array_contains___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1(x_121, x_120); +x_122 = l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(x_121, x_120); lean_dec(x_120); if (x_122 == 0) { @@ -26867,7 +27438,7 @@ x_141 = 0; x_142 = lean_usize_of_nat(x_136); lean_dec(x_136); x_143 = lean_box(0); -x_144 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(x_135, x_141, x_142, x_143, x_2, x_131, x_4, x_128); +x_144 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(x_135, x_141, x_142, x_143, x_2, x_131, x_4, x_128); lean_dec(x_135); return x_144; } @@ -26940,7 +27511,7 @@ x_158 = 0; x_159 = lean_usize_of_nat(x_151); lean_dec(x_151); x_160 = lean_box(0); -x_161 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(x_150, x_158, x_159, x_160, x_2, x_147, x_4, x_128); +x_161 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(x_150, x_158, x_159, x_160, x_2, x_147, x_4, x_128); lean_dec(x_150); return x_161; } @@ -27038,7 +27609,7 @@ x_180 = 0; x_181 = lean_usize_of_nat(x_171); lean_dec(x_171); x_182 = lean_box(0); -x_183 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(x_170, x_180, x_181, x_182, x_2, x_166, x_4, x_165); +x_183 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(x_170, x_180, x_181, x_182, x_2, x_166, x_4, x_165); lean_dec(x_170); return x_183; } @@ -27155,7 +27726,7 @@ x_205 = 0; x_206 = lean_usize_of_nat(x_194); lean_dec(x_194); x_207 = lean_box(0); -x_208 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(x_193, x_205, x_206, x_207, x_2, x_189, x_4, x_187); +x_208 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(x_193, x_205, x_206, x_207, x_2, x_189, x_4, x_187); lean_dec(x_193); return x_208; } @@ -27215,7 +27786,33 @@ return x_221; } } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__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* l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +lean_object* l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { size_t x_9; size_t x_10; lean_object* x_11; @@ -27223,7 +27820,7 @@ x_9 = lean_unbox_usize(x_2); lean_dec(x_2); x_10 = lean_unbox_usize(x_3); lean_dec(x_3); -x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(x_1, x_9, x_10, x_4, x_5, x_6, x_7, x_8); +x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(x_1, x_9, x_10, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_1); @@ -28718,7 +29315,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1() { _start: { lean_object* x_1; @@ -28726,7 +29323,7 @@ x_1 = lean_mk_string("Cannot parse request params: "); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2() { +static lean_object* _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2() { _start: { lean_object* x_1; @@ -28734,7 +29331,7 @@ x_1 = lean_mk_string("\n"); return x_1; } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2(lean_object* x_1) { _start: { lean_object* x_2; @@ -28748,14 +29345,14 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); -x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_12 = lean_string_append(x_10, x_11); x_13 = 0; x_14 = lean_alloc_ctor(0, 1, 1); @@ -28771,14 +29368,14 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); -x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_23 = lean_string_append(x_21, x_22); x_24 = 0; x_25 = lean_alloc_ctor(0, 1, 1); @@ -28811,11 +29408,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -28865,7 +29462,7 @@ return x_11; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -28874,37 +29471,37 @@ x_2 = l_Lean_Json_mkObj(x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__2___closed__1; +x_2 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___closed__1; return x_2; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__2___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -29012,7 +29609,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -29024,7 +29621,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -29048,7 +29645,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -29089,19 +29686,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4(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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -29110,7 +29707,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -29136,7 +29733,7 @@ return x_17; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -29144,7 +29741,7 @@ x_1 = lean_mk_string("Failed to register LSP request handler for '"); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2() { _start: { lean_object* x_1; @@ -29152,7 +29749,7 @@ x_1 = lean_mk_string("': already registered"); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -29170,17 +29767,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -29202,17 +29799,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -29224,7 +29821,7 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1() { _start: { lean_object* x_1; @@ -29232,7 +29829,7 @@ x_1 = lean_mk_string("': only possible during initialization"); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -29254,10 +29851,10 @@ if (x_7 == 0) 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_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -29271,10 +29868,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -29291,7 +29888,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -29321,7 +29918,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__4(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__4(lean_object* x_1) { _start: { lean_object* x_2; @@ -29335,14 +29932,14 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); -x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_12 = lean_string_append(x_10, x_11); x_13 = 0; x_14 = lean_alloc_ctor(0, 1, 1); @@ -29358,14 +29955,14 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); -x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_23 = lean_string_append(x_21, x_22); x_24 = 0; x_25 = lean_alloc_ctor(0, 1, 1); @@ -29398,11 +29995,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__4(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__4(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -29452,7 +30049,7 @@ return x_11; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -29460,21 +30057,21 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__L return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__4(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__4(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -29582,7 +30179,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -29594,7 +30191,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -29618,7 +30215,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -29659,19 +30256,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__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; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -29680,7 +30277,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -29706,7 +30303,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__4(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; uint8_t x_7; @@ -29724,17 +30321,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -29756,17 +30353,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -29778,7 +30375,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -29800,10 +30397,10 @@ if (x_7 == 0) 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_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -29817,10 +30414,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -29837,7 +30434,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__4(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } @@ -29867,7 +30464,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__6(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__6(lean_object* x_1) { _start: { lean_object* x_2; @@ -29881,14 +30478,14 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); -x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_12 = lean_string_append(x_10, x_11); x_13 = 0; x_14 = lean_alloc_ctor(0, 1, 1); @@ -29904,14 +30501,14 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); -x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_23 = lean_string_append(x_21, x_22); x_24 = 0; x_25 = lean_alloc_ctor(0, 1, 1); @@ -29944,11 +30541,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__6(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__6(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -29998,7 +30595,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -30018,29 +30615,29 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__6(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__6(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -30148,7 +30745,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -30160,7 +30757,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -30184,7 +30781,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -30225,19 +30822,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4(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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -30246,7 +30843,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -30272,7 +30869,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -30290,17 +30887,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -30322,17 +30919,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -30344,7 +30941,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -30366,10 +30963,10 @@ if (x_7 == 0) 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_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -30383,10 +30980,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -30403,7 +31000,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -30433,7 +31030,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__8(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__8(lean_object* x_1) { _start: { lean_object* x_2; @@ -30447,14 +31044,14 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); -x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_12 = lean_string_append(x_10, x_11); x_13 = 0; x_14 = lean_alloc_ctor(0, 1, 1); @@ -30470,14 +31067,14 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); -x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_23 = lean_string_append(x_21, x_22); x_24 = 0; x_25 = lean_alloc_ctor(0, 1, 1); @@ -30510,7 +31107,7 @@ return x_29; } } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__9(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__9(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -30539,11 +31136,11 @@ goto _start; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__8(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__8(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -30593,7 +31190,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -30602,36 +31199,36 @@ x_3 = lean_usize_of_nat(x_2); lean_dec(x_2); x_4 = 0; x_5 = x_1; -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__9(x_3, x_4, x_5); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__9(x_3, x_4, x_5); x_7 = x_6; x_8 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_8, 0, x_7); return x_8; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__8(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__8(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -30739,7 +31336,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -30751,7 +31348,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -30775,7 +31372,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -30816,19 +31413,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4(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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -30837,7 +31434,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -30863,7 +31460,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -30881,17 +31478,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -30913,17 +31510,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -30935,7 +31532,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -30957,10 +31554,10 @@ if (x_7 == 0) 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_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -30974,10 +31571,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -30994,7 +31591,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -31024,7 +31621,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__11(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__11(lean_object* x_1) { _start: { lean_object* x_2; @@ -31038,14 +31635,14 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); -x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_12 = lean_string_append(x_10, x_11); x_13 = 0; x_14 = lean_alloc_ctor(0, 1, 1); @@ -31061,14 +31658,14 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); -x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_23 = lean_string_append(x_21, x_22); x_24 = 0; x_25 = lean_alloc_ctor(0, 1, 1); @@ -31101,7 +31698,7 @@ return x_29; } } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__12(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__12(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -31130,11 +31727,11 @@ goto _start; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__11(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__11(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -31184,7 +31781,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -31193,36 +31790,36 @@ x_3 = lean_usize_of_nat(x_2); lean_dec(x_2); x_4 = 0; x_5 = x_1; -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__12(x_3, x_4, x_5); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__12(x_3, x_4, x_5); x_7 = x_6; x_8 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_8, 0, x_7); return x_8; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__11(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__11(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -31330,7 +31927,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -31342,7 +31939,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -31366,7 +31963,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -31407,19 +32004,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4(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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -31428,7 +32025,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -31454,7 +32051,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -31472,17 +32069,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -31504,17 +32101,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -31526,7 +32123,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -31548,10 +32145,10 @@ if (x_7 == 0) 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_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -31565,10 +32162,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -31585,7 +32182,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -31615,7 +32212,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__14(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__14(lean_object* x_1) { _start: { lean_object* x_2; @@ -31629,14 +32226,14 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); -x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_12 = lean_string_append(x_10, x_11); x_13 = 0; x_14 = lean_alloc_ctor(0, 1, 1); @@ -31652,14 +32249,14 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); -x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_23 = lean_string_append(x_21, x_22); x_24 = 0; x_25 = lean_alloc_ctor(0, 1, 1); @@ -31692,11 +32289,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__14(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__14(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -31737,7 +32334,7 @@ return x_8; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -31753,29 +32350,29 @@ lean_ctor_set(x_8, 0, x_7); return x_8; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__14(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__14(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -31883,7 +32480,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -31895,7 +32492,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -31919,7 +32516,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -31960,19 +32557,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4(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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -31981,7 +32578,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -32007,7 +32604,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -32025,17 +32622,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -32057,17 +32654,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -32079,7 +32676,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -32101,10 +32698,10 @@ if (x_7 == 0) 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_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -32118,10 +32715,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -32138,7 +32735,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -32168,7 +32765,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__16(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__16(lean_object* x_1) { _start: { lean_object* x_2; @@ -32182,14 +32779,14 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); -x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_12 = lean_string_append(x_10, x_11); x_13 = 0; x_14 = lean_alloc_ctor(0, 1, 1); @@ -32205,14 +32802,14 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); -x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_23 = lean_string_append(x_21, x_22); x_24 = 0; x_25 = lean_alloc_ctor(0, 1, 1); @@ -32245,11 +32842,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__16(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__16(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -32290,7 +32887,7 @@ return x_8; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -32298,21 +32895,21 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__L return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__16(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__16(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -32420,7 +33017,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -32432,7 +33029,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -32456,7 +33053,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -32497,19 +33094,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__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; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -32518,7 +33115,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -32544,7 +33141,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__4(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; uint8_t x_7; @@ -32562,17 +33159,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -32594,17 +33191,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -32616,7 +33213,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -32638,10 +33235,10 @@ if (x_7 == 0) 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_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -32655,10 +33252,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -32675,7 +33272,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__4(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } @@ -32705,7 +33302,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__18(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__18(lean_object* x_1) { _start: { lean_object* x_2; @@ -32719,14 +33316,14 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); -x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_12 = lean_string_append(x_10, x_11); x_13 = 0; x_14 = lean_alloc_ctor(0, 1, 1); @@ -32742,14 +33339,14 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); -x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_23 = lean_string_append(x_21, x_22); x_24 = 0; x_25 = lean_alloc_ctor(0, 1, 1); @@ -32782,11 +33379,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__18(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__18(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -32836,11 +33433,11 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__18(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__18(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -32948,7 +33545,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -32960,7 +33557,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -32984,7 +33581,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -33025,19 +33622,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__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; 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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__2), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -33046,7 +33643,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -33072,7 +33669,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__4(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; uint8_t x_7; @@ -33090,17 +33687,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -33122,17 +33719,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -33144,7 +33741,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -33166,10 +33763,10 @@ if (x_7 == 0) 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_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -33183,10 +33780,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -33203,7 +33800,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__4(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } @@ -33233,7 +33830,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__20(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__20(lean_object* x_1) { _start: { lean_object* x_2; @@ -33247,14 +33844,14 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); -x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_12 = lean_string_append(x_10, x_11); x_13 = 0; x_14 = lean_alloc_ctor(0, 1, 1); @@ -33270,14 +33867,14 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); -x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_23 = lean_string_append(x_21, x_22); x_24 = 0; x_25 = lean_alloc_ctor(0, 1, 1); @@ -33310,11 +33907,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__20(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__20(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -33364,7 +33961,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -33384,29 +33981,29 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__20(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__20(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -33514,7 +34111,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -33526,7 +34123,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -33550,7 +34147,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -33591,19 +34188,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4(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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -33612,7 +34209,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -33638,7 +34235,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -33656,17 +34253,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -33688,17 +34285,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -33710,7 +34307,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -33732,10 +34329,10 @@ if (x_7 == 0) 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_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -33749,10 +34346,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -33769,7 +34366,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -33799,7 +34396,7 @@ return x_27; } } } -lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__22(lean_object* x_1) { +lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__22(lean_object* x_1) { _start: { lean_object* x_2; @@ -33813,14 +34410,14 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_6 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_8 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); -x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_11 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_12 = lean_string_append(x_10, x_11); x_13 = 0; x_14 = lean_alloc_ctor(0, 1, 1); @@ -33836,14 +34433,14 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1; +x_17 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2; +x_19 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); -x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7; +x_22 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; x_23 = lean_string_append(x_21, x_22); x_24 = 0; x_25 = lean_alloc_ctor(0, 1, 1); @@ -33876,11 +34473,11 @@ return x_29; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__22(x_1); +x_2 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__22(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -33930,7 +34527,7 @@ return x_11; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -33950,29 +34547,29 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__1; +x_1 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__22(x_2); +x_5 = l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__22(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -34080,7 +34677,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__2; +x_28 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -34092,7 +34689,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__2; +x_32 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -34116,7 +34713,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__2; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -34157,19 +34754,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4(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; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_Requests_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -34178,7 +34775,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4___closed__1; +x_10 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -34204,7 +34801,7 @@ return x_17; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -34222,17 +34819,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -34254,17 +34851,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -34276,7 +34873,7 @@ return x_28; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -34298,10 +34895,10 @@ if (x_7 == 0) 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_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_11 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -34315,10 +34912,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1; +x_17 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -34335,7 +34932,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -34365,7 +34962,7 @@ return x_27; } } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__1() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__1() { _start: { lean_object* x_1; @@ -34373,7 +34970,7 @@ x_1 = lean_mk_string("textDocument/waitForDiagnostics"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__2() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__2() { _start: { lean_object* x_1; @@ -34381,7 +34978,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleWaitForDiagnosti return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__3() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__3() { _start: { lean_object* x_1; @@ -34389,7 +34986,7 @@ x_1 = lean_mk_string("textDocument/completion"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__4() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__4() { _start: { lean_object* x_1; @@ -34397,7 +34994,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleCompletion), 3, return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__5() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__5() { _start: { lean_object* x_1; @@ -34405,7 +35002,7 @@ x_1 = lean_mk_string("textDocument/hover"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__6() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__6() { _start: { lean_object* x_1; @@ -34413,7 +35010,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleHover), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__7() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__7() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -34424,7 +35021,7 @@ lean_closure_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__8() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__8() { _start: { lean_object* x_1; @@ -34432,7 +35029,7 @@ x_1 = lean_mk_string("textDocument/declaration"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__9() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__9() { _start: { lean_object* x_1; @@ -34440,7 +35037,7 @@ x_1 = lean_mk_string("textDocument/definition"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__10() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__10() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -34451,7 +35048,7 @@ lean_closure_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__11() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__11() { _start: { lean_object* x_1; @@ -34459,7 +35056,7 @@ x_1 = lean_mk_string("textDocument/typeDefinition"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__12() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__12() { _start: { lean_object* x_1; @@ -34467,7 +35064,7 @@ x_1 = lean_mk_string("textDocument/documentHighlight"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__13() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__13() { _start: { lean_object* x_1; @@ -34475,7 +35072,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentHighligh return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__14() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__14() { _start: { lean_object* x_1; @@ -34483,7 +35080,7 @@ x_1 = lean_mk_string("textDocument/documentSymbol"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__15() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__15() { _start: { lean_object* x_1; @@ -34491,7 +35088,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol__ return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__16() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__16() { _start: { lean_object* x_1; @@ -34499,7 +35096,7 @@ x_1 = lean_mk_string("textDocument/semanticTokens/full"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__17() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__17() { _start: { lean_object* x_1; @@ -34507,7 +35104,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokensFu return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__18() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__18() { _start: { lean_object* x_1; @@ -34515,7 +35112,7 @@ x_1 = lean_mk_string("textDocument/semanticTokens/range"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__19() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__19() { _start: { lean_object* x_1; @@ -34523,7 +35120,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokensRa return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__20() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__20() { _start: { lean_object* x_1; @@ -34531,7 +35128,7 @@ x_1 = lean_mk_string("$/lean/plainGoal"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__21() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__21() { _start: { lean_object* x_1; @@ -34539,7 +35136,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainGoal), 3, 0 return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__22() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__22() { _start: { lean_object* x_1; @@ -34547,7 +35144,7 @@ x_1 = lean_mk_string("$/lean/plainTermGoal"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__23() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__23() { _start: { lean_object* x_1; @@ -34555,111 +35152,111 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal), return x_1; } } -lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923_(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__1; -x_3 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__2; -x_4 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1(x_2, x_3, x_1); +x_2 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__1; +x_3 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__2; +x_4 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); -x_6 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__3; -x_7 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__4; -x_8 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3(x_6, x_7, x_5); +x_6 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__3; +x_7 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__4; +x_8 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3(x_6, x_7, x_5); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); lean_dec(x_8); -x_10 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__5; -x_11 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__6; -x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5(x_10, x_11, x_9); +x_10 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__5; +x_11 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__6; +x_12 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5(x_10, x_11, x_9); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); -x_14 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__8; -x_15 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__7; -x_16 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7(x_14, x_15, x_13); +x_14 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__8; +x_15 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__7; +x_16 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7(x_14, x_15, x_13); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); -x_18 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__9; -x_19 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7(x_18, x_15, x_17); +x_18 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__9; +x_19 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7(x_18, x_15, x_17); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); lean_dec(x_19); -x_21 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__11; -x_22 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__10; -x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7(x_21, x_22, x_20); +x_21 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__11; +x_22 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__10; +x_23 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7(x_21, x_22, x_20); if (lean_obj_tag(x_23) == 0) { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__12; -x_26 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__13; -x_27 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10(x_25, x_26, x_24); +x_25 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__12; +x_26 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__13; +x_27 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10(x_25, x_26, x_24); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__14; -x_30 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__15; -x_31 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13(x_29, x_30, x_28); +x_29 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__14; +x_30 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__15; +x_31 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13(x_29, x_30, x_28); if (lean_obj_tag(x_31) == 0) { lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_32 = lean_ctor_get(x_31, 1); lean_inc(x_32); lean_dec(x_31); -x_33 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__16; -x_34 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__17; -x_35 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15(x_33, x_34, x_32); +x_33 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__16; +x_34 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__17; +x_35 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15(x_33, x_34, x_32); if (lean_obj_tag(x_35) == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); lean_dec(x_35); -x_37 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__18; -x_38 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__19; -x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17(x_37, x_38, x_36); +x_37 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__18; +x_38 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__19; +x_39 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17(x_37, x_38, x_36); if (lean_obj_tag(x_39) == 0) { lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; x_40 = lean_ctor_get(x_39, 1); lean_inc(x_40); lean_dec(x_39); -x_41 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__20; -x_42 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__21; -x_43 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19(x_41, x_42, x_40); +x_41 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__20; +x_42 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__21; +x_43 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19(x_41, x_42, x_40); if (lean_obj_tag(x_43) == 0) { lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); -x_45 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__22; -x_46 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__23; -x_47 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21(x_45, x_46, x_44); +x_45 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__22; +x_46 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__23; +x_47 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21(x_45, x_46, x_44); return x_47; } else @@ -34916,70 +35513,70 @@ return x_91; } } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__2___boxed(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__2(x_1); +x_2 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -34987,29 +35584,29 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__9(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__9(x_4, x_5, x_3); return x_6; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -35017,114 +35614,114 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__12(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__12(x_4, x_5, x_3); return x_6; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___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_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -35180,10 +35777,10 @@ l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___clo lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4); l_Lean_Server_FileWorker_handleHover___closed__1 = _init_l_Lean_Server_FileWorker_handleHover___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleHover___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___closed__1); l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___closed__1); l_Lean_Server_FileWorker_handleDefinition___closed__1 = _init_l_Lean_Server_FileWorker_handleDefinition___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleDefinition___closed__1); l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__1 = _init_l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__1(); @@ -35234,24 +35831,34 @@ l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__1 lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__11); l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12 = _init_l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12(); lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__1 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__1); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__2 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__2); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__3); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__4 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__4); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__5); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__6 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__6(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__6); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__7); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__8 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__8(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__8); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__9 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__9(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__9); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__1 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__1); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__4 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__4); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__6 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__6); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__8 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__8(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__8); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__9 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__9(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__9); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__1 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__1); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__2 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__2); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__3 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__3); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__4 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__4); +l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__5 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__5(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__5); l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__1 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__1); l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__2 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__2(); @@ -35274,26 +35881,6 @@ l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__10 = _ lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__10); l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11(); lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__12); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__13 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__13(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__13); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__14 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__14(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__14); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__15 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__15(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__15); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__16 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__16(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__16); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__17 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__17(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__17); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__18 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__18(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__18); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__19 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__19(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__19); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__20 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__20(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__20); -l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__21 = _init_l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__21(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__21); l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__1 = _init_l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__1(); lean_mark_persistent(l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__1); l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__2 = _init_l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__2(); @@ -35368,121 +35955,121 @@ l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2 = _ini lean_mark_persistent(l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2); l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1 = _init_l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1); -l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__1); -l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2 = _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2(); -lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__2___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__2___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___lambda__5___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__1___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__2___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__3___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__5___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__7___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__10___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__13___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__2___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__15___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__17___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__19___lambda__4___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__1); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__3___closed__2); -l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____spec__21___lambda__4___closed__1); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__1 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__1); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__2 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__2); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__3 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__3); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__4 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__4); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__5 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__5(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__5); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__6 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__6(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__6); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__7 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__7(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__7); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__8 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__8(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__8); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__9 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__9(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__9); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__10 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__10(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__10); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__11 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__11(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__11); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__12 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__12(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__12); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__13 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__13(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__13); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__14 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__14(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__14); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__15 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__15(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__15); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__16 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__16(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__16); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__17 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__17(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__17); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__18 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__18(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__18); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__19 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__19(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__19); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__20 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__20(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__20); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__21 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__21(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__21); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__22 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__22(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__22); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__23 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__23(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923____closed__23); -res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_5923_(lean_io_mk_world()); +l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1 = _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__1); +l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2 = _init_l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2(); +lean_mark_persistent(l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__2___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__2___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___lambda__5___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__1___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__2___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__3___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__5___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__7___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__10___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__13___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__2___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__15___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__17___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__19___lambda__4___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__1); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__3___closed__2); +l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___closed__1 = _init_l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____spec__21___lambda__4___closed__1); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__1 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__1); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__2 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__2); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__3 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__3); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__4 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__4); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__5 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__5(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__5); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__6 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__6(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__6); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__7 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__7(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__7); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__8 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__8(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__8); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__9 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__9(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__9); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__10 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__10(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__10); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__11 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__11(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__11); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__12 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__12(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__12); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__13 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__13(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__13); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__14 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__14(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__14); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__15 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__15(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__15); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__16 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__16(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__16); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__17 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__17(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__17); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__18 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__18(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__18); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__19 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__19(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__19); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__20 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__20(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__20); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__21 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__21(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__21); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__22 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__22(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__22); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__23 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__23(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335____closed__23); +res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_6335_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Server/InfoUtils.c b/stage0/stdlib/Lean/Server/InfoUtils.c index ded474851f..f61fc04833 100644 --- a/stage0/stdlib/Lean/Server/InfoUtils.c +++ b/stage0/stdlib/Lean/Server/InfoUtils.c @@ -16,16 +16,16 @@ extern "C" { lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__22___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_find_x3f___at_Lean_findDocString_x3f___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__26(lean_object*); +static lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__5; size_t l_USize_add(size_t, size_t); -extern lean_object* l_Lean_fieldIdxKind; lean_object* l_List_replace___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__5; lean_object* l_Lean_Elab_Info_isCompletion_match__1(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__16___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_deepestNodes(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__3; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTrailingSize(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -40,6 +40,7 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__19___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__5; uint8_t l_Lean_Expr_isSyntheticSorry(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__18___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -47,77 +48,80 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spe lean_object* l_Lean_Elab_Info_occursBefore_x3f(lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Info_isSmaller(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__6(lean_object*); static lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f_getHeadFnPos_x3f___closed__3; static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__2; lean_object* l_Lean_Elab_Info_occursBefore_x3f___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_lctx_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__19(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__22(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__6; +lean_object* l_Lean_Elab_Info_fmtHover_x3f_isAtomicFormat___boxed(lean_object*); size_t l_USize_sub(size_t, size_t); lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__4(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__4; -static lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__7; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___boxed(lean_object*, lean_object*, lean_object*); -uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_String_instInhabitedRange___closed__1; lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__9; lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f_match__1(lean_object*); extern lean_object* l_instInhabitedNat; +lean_object* l_Lean_Syntax_getRange_x3f___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__1; +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__15; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__10; lean_object* l_Lean_Elab_InfoTree_getCompletionInfos(lean_object*); lean_object* l_Lean_Elab_Info_updateContext_x3f(lean_object*, lean_object*); -extern lean_object* l_Lean_interpolatedStrKind; +lean_object* l_String_Range_contains___boxed(lean_object*, lean_object*); lean_object* l_Std_HashSetImp_moveEntries___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__4(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__9; -lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashSetImp_contains___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__8___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__7; lean_object* l_Lean_Elab_InfoTree_foldInfo_go_match__2(lean_object*); +lean_object* l_Std_Format_joinSep___at_instReprProd___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__4; lean_object* l_Std_mkHashSetImp___rarg(lean_object*); -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__5___closed__1; size_t l_USize_shiftRight(size_t, size_t); static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__8; lean_object* l_Lean_Elab_Info_fmtHover_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__3(lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_pos_x3f___boxed(lean_object*); lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f_match__2(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__10; lean_object* l_List_join___rarg(lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_nameLitKind; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__3; +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f_match__2(lean_object*); +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__20___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Info_tailPos_x3f___boxed(lean_object*); -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__25___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33_(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__1(lean_object*); -static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__8; lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_isTerm___boxed(lean_object*); static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__3; +static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1; uint8_t l_List_elem___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__2(lean_object*, lean_object*); +extern lean_object* l_Lean_LocalContext_empty; size_t l_UInt64_toUSize(uint64_t); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Std_PersistentArray_anyM___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -125,8 +129,8 @@ lean_object* l_Lean_Elab_InfoTree_deepestNodes___rarg(lean_object*, lean_object* lean_object* l_Lean_Elab_InfoTree_deepestNodes_go___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__15___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__4; uint8_t l_Lean_Elab_Info_isCompletion(lean_object*); -lean_object* l_Array_contains___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1___boxed(lean_object*, lean_object*); uint8_t l_Std_HashSetImp_contains___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__8(lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__20(lean_object*); @@ -147,61 +151,68 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spe lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__15(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__5(lean_object*); -extern lean_object* l_Lean_numLitKind; -lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_String_Range_contains(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__13; +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__2(lean_object*); static lean_object* l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1___closed__3; -static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__10; +lean_object* l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f_match__1(lean_object*); -extern lean_object* l_Lean_strLitKind; static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__5; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__2___boxed(lean_object*); +uint8_t l_Lean_Elab_Info_contains(lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f_getHeadFnPos_x3f___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__6; +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__14; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Std_mkHashSet___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__7(lean_object*); -uint8_t l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1(lean_object*, lean_object*); +uint8_t l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__2(lean_object*); +uint8_t l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f_getHeadFnPos_x3f___closed__1; +lean_object* l_String_instReprRange; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__17___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_getCompletionInfos___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__24___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getRange_x3f_match__1(lean_object*); +lean_object* l_Lean_Syntax_getRange_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_isCompletion_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__10(lean_object*); -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__15___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f_getHeadFnPos_x3f___closed__2; lean_object* l_List_elem___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__2___boxed(lean_object*, lean_object*); +lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__1(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_InfoTree_foldInfo_go___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__20___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_charLitKind; static lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___closed__1; lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f_match__2___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f_getHeadFnPos_x3f___closed__4; +lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__3___boxed(lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__6(lean_object*, lean_object*, lean_object*); size_t l_USize_shiftLeft(size_t, size_t); +lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___closed__2; uint64_t lean_uint64_of_nat(lean_object*); lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_getMax_x3f___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__2(lean_object*); extern lean_object* l_Lean_docStringExt; +uint8_t l_Lean_Elab_Info_fmtHover_x3f_isAtomicFormat(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_isCompletion___boxed(lean_object*); lean_object* l_Lean_Elab_Info_isTerm_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__7(lean_object*); size_t lean_usize_modn(size_t, lean_object*); static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__2___rarg___closed__1; +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__7; lean_object* l_Lean_Elab_InfoTree_foldInfo_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -209,17 +220,22 @@ uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_InfoTree_deepestNodes_go(lean_object*); lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_stx(lean_object*); -static lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__1; +lean_object* l_Lean_Elab_Info_toElabInfo_x3f(lean_object*); lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__11(lean_object*); +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__17(lean_object*); static lean_object* l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1___closed__2; lean_object* l_Lean_Elab_InfoTree_foldInfo_go_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_range_x3f(lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__2(lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Array_getMax_x3f___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__2___boxed(lean_object*); +lean_object* l_Lean_Elab_Info_lctx___boxed(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Info_isSmaller___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2(lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); static lean_object* l_Lean_Elab_InfoTree_getCompletionInfos___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__3(lean_object*, size_t, size_t, lean_object*); @@ -232,60 +248,62 @@ lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f(lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*); lean_object* l_Lean_Elab_Info_size_x3f(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_identKind; +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__1; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); -static lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__8; +static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__1___closed__2; +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__8; static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__10; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__9(lean_object*); lean_object* l_Std_HashSetImp_insert___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__26___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__26___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__9; -extern lean_object* l_Lean_scientificLitKind; +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__19___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____boxed(lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__21(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__2(lean_object*, lean_object*, size_t, size_t); +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__2; lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f_getHeadFnPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Elab_Info_tailPos_x3f(lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); -static lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__2; +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__9; +lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__17___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___boxed(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__18___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_foldInfo_go_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t); +lean_object* l_Lean_Elab_Info_range_x3f___boxed(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t); +lean_object* l_Lean_Elab_Info_fmtHover_x3f_isAtomicFormat_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__23___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__23___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1___closed__1; -static lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__1; lean_object* l_Lean_Elab_Info_isSmaller_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__2; -static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__7; lean_object* l_Lean_Elab_InfoTree_getCompletionInfos___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_fmtHover_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__8(lean_object*); lean_object* l_List_map___at_Lean_Elab_InfoTree_deepestNodes_go___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_lctx_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__6; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__24(lean_object*); lean_object* l_Lean_Elab_InfoTree_foldInfo_go(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__8(lean_object*, lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__5; lean_object* l_List_foldl___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__5(lean_object*, lean_object*); uint8_t l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic(lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t); @@ -298,69 +316,478 @@ lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lea lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__23(lean_object*); uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__2(lean_object*, lean_object*, lean_object*); +lean_object* l_String_instInhabitedRange; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__12(lean_object*); +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__6; +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__16; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_stx___boxed(lean_object*); -static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__1; +static lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__1; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_anyM___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_fmtHover_x3f_isAtomicFormat_match__1(lean_object*); +static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__1___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__25___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__2; +lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__22___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__2(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__13(lean_object*); -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_contains___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1(lean_object*, lean_object*); +lean_object* lean_string_length(lean_object*); static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__11; uint8_t l_Lean_Elab_Info_isTerm(lean_object*); +static lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__2; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__4; lean_object* l_Lean_Elab_Info_isTerm_match__1(lean_object*); lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_InfoTree_foldInfo_go___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t); +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_pos_x3f(lean_object*); lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_InfoTree_foldInfo_go___spec__14(lean_object*); lean_object* l_List_replace___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_stx_match__1(lean_object*); -lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__2(lean_object*); -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashSetImp_expand___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__3(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f_match__1(lean_object*); +static lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___closed__2; uint8_t l_List_isEmpty___rarg(lean_object*); +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__11; lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__3(lean_object*); +static lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__4; lean_object* l_Std_PersistentArray_anyM___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_InfoTree_foldInfo_go___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__2___closed__1; +lean_object* l_Lean_Elab_Info_lctx(lean_object*); lean_object* lean_usize_to_nat(size_t); +static lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__8; lean_object* l_Lean_Elab_Info_fmtHover_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_instInhabitedPersistentArrayNode(lean_object*); lean_object* l_Lean_Elab_InfoTree_foldInfo(lean_object*); lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1___closed__4; -lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__24___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__10(lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_InfoTree_foldInfo_go___spec__1(lean_object*); +lean_object* lean_nat_to_int(lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__16(lean_object*); lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_InfoTree_foldInfo_go___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_interpolatedStrLitKind; +lean_object* l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_CompletionInfo_stx(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___closed__1; lean_object* l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1(lean_object*); +static lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__12; lean_object* l_Lean_Elab_InfoTree_getCompletionInfos___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__6; +static lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__7; lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__1(lean_object*); +lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__12; lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_String_instReprRange___closed__1; uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Info_contains___boxed(lean_object*, lean_object*); +static lean_object* _init_l_String_instInhabitedRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_String_instInhabitedRange() { +_start: +{ +lean_object* x_1; +x_1 = l_String_instInhabitedRange___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("start"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__2; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" := "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__4; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__3; +x_2 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__5; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(","); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__7; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("stop"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__9; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("{ "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__11; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__12; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__11; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" }"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__15; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33_(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_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; uint8_t x_26; lean_object* x_27; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = l_Nat_repr(x_3); +x_5 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_5, 0, x_4); +x_6 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__6; +x_7 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__8; +x_9 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +x_10 = lean_box(1); +x_11 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +x_12 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__10; +x_13 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +x_14 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__5; +x_15 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_dec(x_1); +x_17 = l_Nat_repr(x_16); +x_18 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_18); +x_20 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__14; +x_21 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__16; +x_23 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__13; +x_25 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = 0; +x_27 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set_uint8(x_27, sizeof(void*)*1, x_26); +return x_27; +} +} +lean_object* l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33_(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_String_instReprRange___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_String_instReprRange() { +_start: +{ +lean_object* x_1; +x_1 = l_String_instReprRange___closed__1; +return x_1; +} +} +uint8_t l_String_Range_contains(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_nat_dec_le(x_3, x_2); +if (x_4 == 0) +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +else +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_nat_dec_lt(x_2, x_6); +return x_7; +} +} +} +lean_object* l_String_Range_contains___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_String_Range_contains(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Lean_Syntax_getRange_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; +lean_dec(x_3); +x_5 = lean_apply_2(x_4, x_1, x_2); +return x_5; +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_apply_2(x_4, x_1, x_2); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +lean_dec(x_2); +x_9 = lean_apply_2(x_3, x_7, x_8); +return x_9; +} +} +} +} +lean_object* l_Lean_Syntax_getRange_x3f_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_getRange_x3f_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_getRange_x3f(lean_object* x_1, uint8_t x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Syntax_getPos_x3f(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_box(0); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Syntax_getTailPos_x3f(x_1, x_2); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +lean_dec(x_5); +x_7 = lean_box(0); +return x_7; +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_6); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_5); +lean_ctor_set(x_10, 1, x_9); +lean_ctor_set(x_6, 0, x_10); +return x_6; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +lean_dec(x_6); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_5); +lean_ctor_set(x_12, 1, x_11); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +} +} +} +lean_object* l_Lean_Syntax_getRange_x3f___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_2); +lean_dec(x_2); +x_4 = l_Lean_Syntax_getRange_x3f(x_1, x_3); +lean_dec(x_1); +return x_4; +} +} lean_object* l_Lean_Elab_InfoTree_deepestNodes_go_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2926,43 +3353,45 @@ lean_object* l_Lean_Elab_Info_stx(lean_object* x_1) { _start: { switch (lean_obj_tag(x_1)) { -case 0: +case 2: { lean_object* x_2; lean_object* x_3; x_2 = lean_ctor_get(x_1, 0); -x_3 = lean_ctor_get(x_2, 2); +x_3 = lean_ctor_get(x_2, 1); lean_inc(x_3); return x_3; } -case 2: -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -return x_4; -} case 3: { -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -return x_6; +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +return x_5; +} +case 4: +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_6, 3); +lean_inc(x_7); +return x_7; } case 5: { -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_1, 0); -x_8 = l_Lean_Elab_CompletionInfo_stx(x_7); -return x_8; +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_1, 0); +x_9 = l_Lean_Elab_CompletionInfo_stx(x_8); +return x_9; } default: { -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -return x_10; +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_1, 0); +x_11 = lean_ctor_get(x_10, 0); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +return x_12; } } } @@ -2976,6 +3405,89 @@ lean_dec(x_1); return x_2; } } +lean_object* l_Lean_Elab_Info_lctx_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_4); +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +case 4: +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_apply_1(x_3, x_7); +return x_8; +} +default: +{ +lean_object* x_9; +lean_dec(x_3); +lean_dec(x_2); +x_9 = lean_apply_1(x_4, x_1); +return x_9; +} +} +} +} +lean_object* l_Lean_Elab_Info_lctx_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Info_lctx_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Info_lctx(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_2, 1); +lean_inc(x_3); +return x_3; +} +case 4: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +return x_5; +} +default: +{ +lean_object* x_6; +x_6 = l_Lean_LocalContext_empty; +return x_6; +} +} +} +} +lean_object* l_Lean_Elab_Info_lctx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Info_lctx(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Lean_Elab_Info_pos_x3f(lean_object* x_1) { _start: { @@ -3016,6 +3528,60 @@ lean_dec(x_1); return x_2; } } +lean_object* l_Lean_Elab_Info_range_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_2 = l_Lean_Elab_Info_stx(x_1); +x_3 = 1; +x_4 = l_Lean_Syntax_getRange_x3f(x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Elab_Info_range_x3f___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Info_range_x3f(x_1); +lean_dec(x_1); +return x_2; +} +} +uint8_t l_Lean_Elab_Info_contains(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Info_range_x3f(x_1); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +else +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_String_Range_contains(x_5, x_2); +lean_dec(x_5); +return x_6; +} +} +} +lean_object* l_Lean_Elab_Info_contains___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Elab_Info_contains(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} lean_object* l_Lean_Elab_Info_size_x3f(lean_object* x_1) { _start: { @@ -3890,365 +4456,123 @@ lean_dec(x_4); return x_5; } } -lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -switch (lean_obj_tag(x_1)) { -case 1: +if (lean_obj_tag(x_1) == 4) { -lean_object* x_5; lean_object* x_6; -lean_dec(x_4); +lean_object* x_4; lean_object* x_5; lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; +lean_dec(x_2); +x_6 = lean_apply_1(x_3, x_1); return x_6; } -case 4: -{ -lean_object* x_7; lean_object* x_8; -lean_dec(x_4); -lean_dec(x_2); -x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); -lean_dec(x_1); -x_8 = lean_apply_1(x_3, x_7); -return x_8; -} -default: -{ -lean_object* x_9; -lean_dec(x_3); -lean_dec(x_2); -x_9 = lean_apply_1(x_4, x_1); -return x_9; -} -} } } lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__1___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__1___rarg), 3, 0); return x_2; } } -lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1(lean_object* x_1) { _start: { -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -if (lean_obj_tag(x_4) == 0) +uint8_t x_2; +x_2 = 0; +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___closed__1() { +_start: { -lean_object* x_5; -lean_dec(x_2); -x_5 = lean_apply_1(x_3, x_1); +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___closed__1; +x_2 = lean_box(0); +x_3 = lean_apply_1(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 4) +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Lean_Elab_Info_contains(x_1, x_2); +x_5 = lean_box(x_4); return x_5; } else { lean_object* x_6; -x_6 = lean_ctor_get(x_1, 1); -lean_inc(x_6); +x_6 = l_Lean_Elab_Info_toElabInfo_x3f(x_1); if (lean_obj_tag(x_6) == 0) { lean_object* x_7; -lean_dec(x_4); -lean_dec(x_2); -x_7 = lean_apply_1(x_3, x_1); +x_7 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___closed__2; return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_8 = lean_ctor_get(x_4, 0); -lean_inc(x_8); -lean_dec(x_4); -x_9 = lean_ctor_get(x_6, 0); -lean_inc(x_9); +uint8_t x_8; lean_object* x_9; lean_dec(x_6); -x_10 = lean_apply_2(x_2, x_8, x_9); -return x_10; +x_8 = l_Lean_Elab_Info_contains(x_1, x_2); +x_9 = lean_box(x_8); +return x_9; } } } } -lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__2(lean_object* x_1) { +lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__3(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f_match__2___rarg), 3, 0); -return x_2; -} -} -uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_3 == x_4; -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_uget(x_2, x_3); -x_7 = lean_name_eq(x_1, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = x_3 + x_8; -x_3 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -uint8_t l_Array_contains___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1(lean_object* x_1, lean_object* x_2) { -_start: +if (lean_obj_tag(x_2) == 1) { lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_array_get_size(x_1); -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_nat_dec_lt(x_4, x_3); +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_3, 3); +x_5 = l_Lean_Expr_isSyntheticSorry(x_4); if (x_5 == 0) { -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -uint8_t x_7; -x_7 = lean_nat_dec_le(x_3, x_3); -if (x_7 == 0) -{ -uint8_t x_8; -lean_dec(x_3); -x_8 = 0; -return x_8; -} -else -{ -size_t x_9; size_t x_10; uint8_t x_11; -x_9 = 0; -x_10 = lean_usize_of_nat(x_3); -lean_dec(x_3); -x_11 = l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__2(x_2, x_1, x_9, x_10); -return x_11; -} -} -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(9u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__1; -x_2 = l_Lean_identKind; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__2; -x_2 = l_Lean_strLitKind; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__3; -x_2 = l_Lean_charLitKind; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__4; -x_2 = l_Lean_numLitKind; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__5; -x_2 = l_Lean_scientificLitKind; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__6; -x_2 = l_Lean_nameLitKind; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__7; -x_2 = l_Lean_fieldIdxKind; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__8; -x_2 = l_Lean_interpolatedStrLitKind; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__9; -x_2 = l_Lean_interpolatedStrKind; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_Info_pos_x3f(x_2); -if (lean_obj_tag(x_3) == 0) -{ -uint8_t x_4; -x_4 = 0; -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -lean_dec(x_3); -x_6 = l_Lean_Elab_Info_tailPos_x3f(x_2); -if (lean_obj_tag(x_6) == 0) -{ -uint8_t x_7; -lean_dec(x_5); -x_7 = 0; +lean_object* x_6; lean_object* x_7; +x_6 = lean_box(0); +x_7 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2(x_2, x_1, x_6); return x_7; } else { -lean_object* x_8; uint8_t x_9; -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_nat_dec_le(x_5, x_1); -lean_dec(x_5); -if (x_9 == 0) -{ -uint8_t x_10; -lean_dec(x_8); -x_10 = 0; -return x_10; +uint8_t x_8; lean_object* x_9; +x_8 = 0; +x_9 = lean_box(x_8); +return x_9; +} } else { -uint8_t x_11; -x_11 = lean_nat_dec_lt(x_1, x_8); -lean_dec(x_8); -if (x_11 == 0) -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -else -{ -switch (lean_obj_tag(x_2)) { -case 1: -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_2, 0); -x_14 = lean_ctor_get(x_13, 2); -x_15 = l_Lean_Expr_isSyntheticSorry(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = l_Lean_Elab_Info_stx(x_2); -x_17 = l_Lean_Syntax_getKind(x_16); -x_18 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__10; -x_19 = l_Array_contains___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1(x_18, x_17); -lean_dec(x_17); -return x_19; -} -else -{ -uint8_t x_20; -x_20 = 0; -return x_20; -} -} -case 4: -{ -uint8_t x_21; -x_21 = 1; -return x_21; -} -default: -{ -uint8_t x_22; -x_22 = 0; -return x_22; -} -} -} -} -} +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2(x_2, x_1, x_10); +return x_11; } } } @@ -4256,48 +4580,166 @@ lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(lean_object* x_1, lean_obj _start: { lean_object* x_3; lean_object* x_4; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___boxed), 2, 1); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__3___boxed), 2, 1); lean_closure_set(x_3, 0, x_2); x_4 = l_Lean_Elab_InfoTree_smallestInfo_x3f(x_3, x_1); return x_4; } } -lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___boxed(lean_object* x_1) { _start: { -size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2(x_1, x_2, x_3); lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__3(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_Info_fmtHover_x3f_isAtomicFormat_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 2: +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_5); lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__2(x_1, x_2, x_5, x_6); -lean_dec(x_2); +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +case 3: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_apply_2(x_4, x_8, x_9); +return x_10; +} +case 5: +{ +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_13 = lean_box(x_12); +x_14 = lean_apply_2(x_3, x_11, x_13); +return x_14; +} +default: +{ +lean_object* x_15; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_apply_1(x_5, x_1); +return x_15; } } -lean_object* l_Array_contains___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +} +} +lean_object* l_Lean_Elab_Info_fmtHover_x3f_isAtomicFormat_match__1(lean_object* x_1) { _start: { -uint8_t x_3; lean_object* x_4; -x_3 = l_Array_contains___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f_isAtomicFormat_match__1___rarg), 5, 0); +return x_2; } } -lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1(x_1, x_2); +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); +x_4 = lean_apply_1(x_3, x_1); return x_4; } +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f_match__2___rarg), 3, 0); +return x_2; +} } lean_object* l_Lean_Elab_Info_fmtHover_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: @@ -4359,7 +4801,524 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f_match__2___rarg), return x_2; } } -lean_object* l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f___spec__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) { +uint8_t l_Lean_Elab_Info_fmtHover_x3f_isAtomicFormat(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 2: +{ +uint8_t x_2; +x_2 = 1; +return x_2; +} +case 3: +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_1, 1); +x_1 = x_3; +goto _start; +} +case 5: +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 0); +x_1 = x_5; +goto _start; +} +default: +{ +uint8_t x_7; +x_7 = 0; +return x_7; +} +} +} +} +lean_object* l_Lean_Elab_Info_fmtHover_x3f_isAtomicFormat___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Info_fmtHover_x3f_isAtomicFormat(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("```lean\n"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("\n```"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__3; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(""); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__5; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" : "); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__7; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f(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: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 3); +lean_inc(x_8); +lean_dec(x_7); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_8); +x_9 = l_Lean_Meta_inferType(x_8, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Meta_ppExpr(x_8, x_2, x_3, x_4, x_5, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Meta_ppExpr(x_10, x_2, x_3, x_4, x_5, x_14); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = l_Lean_Elab_Info_fmtHover_x3f_isAtomicFormat(x_13); +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_dec(x_13); +x_19 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__2; +x_20 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_17); +x_21 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__4; +x_22 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_15, 0, x_23); +return x_15; +} +else +{ +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_24 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__6; +x_25 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_13); +x_26 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__8; +x_27 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_17); +x_29 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_24); +x_30 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__2; +x_31 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__4; +x_33 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_15, 0, x_34); +return x_15; +} +} +else +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_15, 0); +x_36 = lean_ctor_get(x_15, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_15); +x_37 = l_Lean_Elab_Info_fmtHover_x3f_isAtomicFormat(x_13); +if (x_37 == 0) +{ +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_dec(x_13); +x_38 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__2; +x_39 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_35); +x_40 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__4; +x_41 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_36); +return x_43; +} +else +{ +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; +x_44 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__6; +x_45 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_13); +x_46 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__8; +x_47 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_35); +x_49 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_44); +x_50 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__2; +x_51 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__4; +x_53 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_53); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_36); +return x_55; +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_13); +x_56 = !lean_is_exclusive(x_15); +if (x_56 == 0) +{ +return x_15; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_15, 0); +x_58 = lean_ctor_get(x_15, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_15); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_12); +if (x_60 == 0) +{ +return x_12; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_12, 0); +x_62 = lean_ctor_get(x_12, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_12); +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_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_64 = !lean_is_exclusive(x_9); +if (x_64 == 0) +{ +return x_9; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_9, 0); +x_66 = lean_ctor_get(x_9, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_9); +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; +} +} +} +case 4: +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_1, 0); +lean_inc(x_68); +lean_dec(x_1); +x_69 = lean_ctor_get(x_68, 2); +lean_inc(x_69); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_70 = l_Lean_Meta_inferType(x_69, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = l_Lean_Meta_ppExpr(x_71, x_2, x_3, x_4, x_5, x_72); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +if (lean_obj_tag(x_73) == 0) +{ +uint8_t x_74; +x_74 = !lean_is_exclusive(x_73); +if (x_74 == 0) +{ +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; +x_75 = lean_ctor_get(x_73, 0); +x_76 = lean_ctor_get(x_68, 0); +lean_inc(x_76); +lean_dec(x_68); +x_77 = l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(x_76); +x_78 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__2; +x_79 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__8; +x_81 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_75); +x_83 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__4; +x_84 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +x_85 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_73, 0, x_85); +return x_73; +} +else +{ +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; +x_86 = lean_ctor_get(x_73, 0); +x_87 = lean_ctor_get(x_73, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_73); +x_88 = lean_ctor_get(x_68, 0); +lean_inc(x_88); +lean_dec(x_68); +x_89 = l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(x_88); +x_90 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__2; +x_91 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_89); +x_92 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__8; +x_93 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_86); +x_95 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__4; +x_96 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_97, 0, x_96); +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_87); +return x_98; +} +} +else +{ +uint8_t x_99; +lean_dec(x_68); +x_99 = !lean_is_exclusive(x_73); +if (x_99 == 0) +{ +return x_73; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_73, 0); +x_101 = lean_ctor_get(x_73, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_73); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +return x_102; +} +} +} +else +{ +uint8_t x_103; +lean_dec(x_68); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_103 = !lean_is_exclusive(x_70); +if (x_103 == 0) +{ +return x_70; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_70, 0); +x_105 = lean_ctor_get(x_70, 1); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_70); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; +} +} +} +default: +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_107 = lean_box(0); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_6); +return x_108; +} +} +} +} +lean_object* l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___spec__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; uint8_t x_8; @@ -4399,101 +5358,215 @@ return x_18; } } } -lean_object* l_Lean_Elab_Info_fmtHover_x3f___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* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___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; -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_1); -lean_ctor_set(x_7, 1, x_6); -return x_7; +lean_object* x_7; lean_object* x_8; +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; } } -lean_object* l_Lean_Elab_Info_fmtHover_x3f___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, lean_object* x_7) { +static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__1___boxed), 6, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___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, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_1); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_7); -return x_9; +x_8 = l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__2___closed__1; +x_9 = l_Lean_Elab_Info_toElabInfo_x3f(x_1); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = lean_apply_6(x_8, x_10, x_3, x_4, x_5, x_6, x_7); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_9, 0); +lean_inc(x_12); +lean_dec(x_9); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___spec__1(x_13, x_3, x_4, x_5, x_6, x_7); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = l_Lean_Syntax_getKind(x_17); +x_19 = l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___spec__1(x_18, x_3, x_4, x_5, x_6, x_16); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +return x_19; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_19); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; } } -static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__1() { +else +{ +uint8_t x_24; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_24 = !lean_is_exclusive(x_14); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_14, 0); +lean_dec(x_25); +return x_14; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_14, 1); +lean_inc(x_26); +lean_dec(x_14); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_15); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +} +} +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f(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; -x_1 = lean_mk_string("```lean\n"); -return x_1; +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_7, 3); +x_9 = l_Lean_Expr_constName_x3f(x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__2(x_1, x_10, x_2, x_3, x_4, x_5, x_6); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_9, 0); +lean_inc(x_12); +lean_dec(x_9); +x_13 = l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___spec__1(x_12, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_13); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; } } -static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__2() { +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__2(x_1, x_18, x_2, x_3, x_4, x_5, x_6); +return x_19; +} +} +} +lean_object* l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___spec__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_1; lean_object* x_2; -x_1 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_7; +x_7 = l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; } } -static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__3() { +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___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_1; -x_1 = lean_mk_string(" : "); -return x_1; +lean_object* x_7; +x_7 = l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; } } -static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__4() { +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___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, lean_object* x_7) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__3; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_8; +x_8 = l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_8; } } -static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__5() { +lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___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_1; -x_1 = lean_mk_string("\n```"); -return x_1; +lean_object* x_7; +x_7 = l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_1); +return x_7; } } -static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__5; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(""); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__7; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__9() { +static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -4501,302 +5574,124 @@ x_1 = lean_mk_string("\n***\n"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__10() { +static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__9; +x_1 = l_Lean_Elab_Info_fmtHover_x3f___lambda__1___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Info_fmtHover_x3f___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* l_Lean_Elab_Info_fmtHover_x3f___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_7; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_7 = l_Lean_Meta_inferType(x_1, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -lean_inc(x_1); -x_10 = l_Lean_Meta_ppExpr(x_1, x_2, x_3, x_4, x_5, x_9); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Meta_ppExpr(x_8, x_2, x_3, x_4, x_5, x_12); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -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); -x_16 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__2; -x_17 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_11); -x_18 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__4; -x_19 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -x_20 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_14); -x_21 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__6; -x_22 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Expr_constName_x3f(x_1); -lean_dec(x_1); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -x_25 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2(x_22, x_24, x_2, x_3, x_4, x_5, x_15); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_23, 0); -lean_inc(x_26); -lean_dec(x_23); -x_27 = l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f___spec__1(x_26, x_2, x_3, x_4, x_5, x_15); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2(x_22, x_30, x_2, x_3, x_4, x_5, x_29); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_31; -} -else -{ -uint8_t x_32; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_32 = !lean_is_exclusive(x_27); -if (x_32 == 0) -{ -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_27, 0); -lean_dec(x_33); -x_34 = !lean_is_exclusive(x_28); -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; -x_35 = lean_ctor_get(x_28, 0); -x_36 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__8; -x_37 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_22); -x_38 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__10; -x_39 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_40, 0, x_35); -x_41 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -x_42 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_36); -lean_ctor_set(x_28, 0, x_42); -return x_27; -} -else -{ -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_43 = lean_ctor_get(x_28, 0); -lean_inc(x_43); -lean_dec(x_28); -x_44 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__8; -x_45 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_22); -x_46 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__10; -x_47 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_48, 0, x_43); -x_49 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_44); -x_51 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_27, 0, x_51); -return x_27; -} -} -else -{ -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_52 = lean_ctor_get(x_27, 1); -lean_inc(x_52); -lean_dec(x_27); -x_53 = lean_ctor_get(x_28, 0); -lean_inc(x_53); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - x_54 = x_28; -} else { - lean_dec_ref(x_28); - x_54 = lean_box(0); -} -x_55 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__8; -x_56 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_22); -x_57 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__10; -x_58 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_59, 0, x_53); -x_60 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_55); -if (lean_is_scalar(x_54)) { - x_62 = lean_alloc_ctor(1, 1, 0); -} else { - x_62 = x_54; -} -lean_ctor_set(x_62, 0, x_61); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_52); -return x_63; -} -} -} -} -else -{ -uint8_t x_64; -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_64 = !lean_is_exclusive(x_13); -if (x_64 == 0) +uint8_t x_8; +x_8 = l_Array_isEmpty___rarg(x_1); +if (x_8 == 0) { +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_to_list(lean_box(0), x_1); +x_10 = l_Lean_Elab_Info_fmtHover_x3f___lambda__1___closed__2; +x_11 = l_Std_Format_joinSep___at_instReprProd___spec__1(x_9, x_10); +lean_dec(x_9); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_7); return x_13; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_13, 0); -x_66 = lean_ctor_get(x_13, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_13); -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_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_14; lean_object* x_15; lean_dec(x_1); -x_68 = !lean_is_exclusive(x_10); -if (x_68 == 0) +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_7); +return x_15; +} +} +} +static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1() { +_start: { -return x_10; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f___lambda__1___boxed), 7, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Info_fmtHover_x3f___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, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_9 = l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1; +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_12, x_2, x_13, x_4, x_5, x_6, x_7, x_11); +return x_14; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_10, 0); -x_70 = lean_ctor_get(x_10, 1); -lean_inc(x_70); -lean_inc(x_69); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_10, 0); +lean_inc(x_15); lean_dec(x_10); -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; -} +x_16 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = lean_array_push(x_2, x_16); +x_18 = lean_box(0); +x_19 = lean_apply_7(x_12, x_17, x_18, x_4, x_5, x_6, x_7, x_11); +return x_19; } } else { -uint8_t x_72; +uint8_t x_20; +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_72 = !lean_is_exclusive(x_7); -if (x_72 == 0) +x_20 = !lean_is_exclusive(x_9); +if (x_20 == 0) { -return x_7; +return x_9; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_7, 0); -x_74 = lean_ctor_get(x_7, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_7); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_9, 0); +x_22 = lean_ctor_get(x_9, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_9); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; } } } } -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_Info_fmtHover_x3f___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; @@ -4804,189 +5699,66 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_8 = l_Lean_Meta_inferType(x_1, x_3, x_4, x_5, x_6, x_7); +lean_inc(x_1); +x_8 = l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f(x_1, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_9; x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l_Lean_Meta_ppExpr(x_9, x_3, x_4, x_5, x_6, x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -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; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_2, 0); -lean_inc(x_14); -lean_dec(x_2); -x_15 = l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(x_14); -x_16 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__2; -x_17 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__4; -x_19 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -x_20 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_13); -x_21 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__6; -x_22 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_11, 0, x_23); -return x_11; -} -else -{ -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; -x_24 = lean_ctor_get(x_11, 0); -x_25 = lean_ctor_get(x_11, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_11); -x_26 = lean_ctor_get(x_2, 0); -lean_inc(x_26); -lean_dec(x_2); -x_27 = l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(x_26); -x_28 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__2; -x_29 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -x_30 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__4; -x_31 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_24); -x_33 = l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__6; -x_34 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_25); -return x_36; -} -} -else -{ -uint8_t x_37; -lean_dec(x_2); -x_37 = !lean_is_exclusive(x_11); -if (x_37 == 0) -{ -return x_11; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_11, 0); -x_39 = lean_ctor_get(x_11, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_11); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -else -{ -uint8_t x_41; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_41 = !lean_is_exclusive(x_8); -if (x_41 == 0) -{ -return x_8; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_8, 0); -x_43 = lean_ctor_get(x_8, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_8); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -} -static lean_object* _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__5___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f___lambda__1___boxed), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 1: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); +x_11 = lean_box(0); +x_12 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2(x_1, x_2, x_11, x_3, x_4, x_5, x_6, x_10); lean_dec(x_1); -x_6 = lean_ctor_get(x_5, 2); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f___lambda__3), 6, 1); -lean_closure_set(x_7, 0, x_6); -x_8 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_2, x_3, x_7, x_4); -return x_8; -} -case 4: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -lean_dec(x_1); -x_10 = lean_ctor_get(x_9, 2); -lean_inc(x_10); -x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f___lambda__4), 7, 2); -lean_closure_set(x_11, 0, x_10); -lean_closure_set(x_11, 1, x_9); -x_12 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_2, x_3, x_11, x_4); return x_12; } -default: +else { -lean_object* x_13; lean_object* x_14; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_dec(x_8); +x_14 = lean_ctor_get(x_9, 0); +lean_inc(x_14); +lean_dec(x_9); +x_15 = lean_array_push(x_2, x_14); +x_16 = lean_box(0); +x_17 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2(x_1, x_15, x_16, x_3, x_4, x_5, x_6, x_13); lean_dec(x_1); -x_13 = l_Lean_Elab_Info_fmtHover_x3f___lambda__5___closed__1; -x_14 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_2, x_3, x_13, x_4); -return x_14; +return x_17; +} +} +else +{ +uint8_t x_18; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_18 = !lean_is_exclusive(x_8); +if (x_18 == 0) +{ +return x_8; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_8, 0); +x_20 = lean_ctor_get(x_8, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_8); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } @@ -4994,71 +5766,21 @@ return x_14; lean_object* l_Lean_Elab_Info_fmtHover_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -switch (lean_obj_tag(x_2)) { -case 1: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -lean_dec(x_4); -x_6 = l_Lean_Elab_Info_fmtHover_x3f___lambda__5(x_2, x_1, x_5, x_3); -return x_6; -} -case 4: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_2, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_7, 1); -lean_inc(x_8); -lean_dec(x_7); -x_9 = l_Lean_Elab_Info_fmtHover_x3f___lambda__5(x_2, x_1, x_8, x_3); -return x_9; -} -default: -{ -lean_object* x_10; lean_object* x_11; -lean_dec(x_2); -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; -} -} -} -} -lean_object* l_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f___spec__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_Lean_findDocString_x3f___at_Lean_Elab_Info_fmtHover_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = l_Lean_Elab_Info_lctx(x_2); +x_5 = l_Lean_Elab_InfoTree_getCompletionInfos___closed__1; +x_6 = lean_alloc_closure((void*)(l_Lean_Elab_Info_fmtHover_x3f___lambda__3), 7, 2); +lean_closure_set(x_6, 0, x_2); +lean_closure_set(x_6, 1, x_5); +x_7 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_1, x_4, x_6, x_3); return x_7; } } -lean_object* l_Lean_Elab_Info_fmtHover_x3f___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_Lean_Elab_Info_fmtHover_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_Elab_Info_fmtHover_x3f___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, lean_object* x_7) { +lean_object* l_Lean_Elab_Info_fmtHover_x3f___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_Elab_Info_fmtHover_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_Info_fmtHover_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -5067,13 +5789,14 @@ lean_dec(x_2); return x_8; } } -lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Info_fmtHover_x3f___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, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_5; -x_5 = l_Lean_Elab_Info_fmtHover_x3f___lambda__5(x_1, x_2, x_3, x_4); -lean_dec(x_2); -return x_5; +lean_object* x_9; +x_9 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_1); +return x_9; } } lean_object* l_Lean_Elab_Info_fmtHover_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -5085,7 +5808,58 @@ lean_dec(x_1); return x_4; } } -lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; +lean_dec(x_2); +x_5 = lean_apply_1(x_3, x_1); +return x_5; +} +else +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +lean_dec(x_4); +lean_dec(x_2); +x_7 = lean_apply_1(x_3, x_1); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +lean_dec(x_1); +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_apply_2(x_2, x_8, x_9); +return x_10; +} +} +} +} +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_1) == 1) @@ -5142,11 +5916,11 @@ return x_13; } } } -lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__1(lean_object* x_1) { +lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__1___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic_match__2___rarg), 4, 0); return x_2; } } @@ -7187,130 +7961,85 @@ return x_8; } } } -uint8_t l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__2(lean_object* x_1) { +uint8_t l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_2; -x_2 = 0; -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__1() { -_start: +uint8_t x_4; +x_4 = l_Lean_Elab_Info_contains(x_3, x_1); +if (x_4 == 0) { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__2___boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__1; -x_2 = lean_box(0); -x_3 = lean_apply_1(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Elab_Info_pos_x3f(x_3); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; -x_5 = l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__2; +uint8_t x_5; +x_5 = 0; return x_5; } else { -lean_object* x_6; lean_object* x_7; -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = l_Lean_Elab_Info_tailPos_x3f(x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; -lean_dec(x_6); -x_8 = l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__2; -return x_8; -} -else -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_ctor_get(x_7, 0); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_nat_dec_le(x_6, x_1); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_9); -lean_dec(x_6); -x_11 = l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__2; -return x_11; -} -else -{ -uint8_t x_12; -x_12 = lean_nat_dec_lt(x_1, x_9); -lean_dec(x_9); -if (x_12 == 0) -{ -lean_object* x_13; -lean_dec(x_6); -x_13 = l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__2; -return x_13; -} -else -{ if (lean_obj_tag(x_3) == 1) { -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_3, 0); -x_15 = lean_ctor_get(x_14, 3); -x_16 = l_Lean_Syntax_isIdent(x_15); -if (x_16 == 0) +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_6, 0); +x_8 = lean_ctor_get(x_7, 1); +x_9 = l_Lean_Syntax_isIdent(x_8); +if (x_9 == 0) { -uint8_t x_17; lean_object* x_18; -lean_dec(x_6); -x_17 = 1; -x_18 = lean_box(x_17); -return x_18; +uint8_t x_10; +x_10 = 1; +return x_10; } else { -uint8_t x_19; -x_19 = l_Std_HashSetImp_contains___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__8(x_2, x_6); -lean_dec(x_6); +lean_object* x_11; +x_11 = l_Lean_Elab_Info_pos_x3f(x_3); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = l_instInhabitedNat; +x_13 = l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1___closed__4; +x_14 = lean_panic_fn(x_12, x_13); +x_15 = l_Std_HashSetImp_contains___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__8(x_2, x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +else +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_11, 0); +lean_inc(x_18); +lean_dec(x_11); +x_19 = l_Std_HashSetImp_contains___at_Lean_Elab_InfoTree_termGoalAt_x3f___spec__8(x_2, x_18); +lean_dec(x_18); if (x_19 == 0) { -uint8_t x_20; lean_object* x_21; +uint8_t x_20; x_20 = 1; -x_21 = lean_box(x_20); +return x_20; +} +else +{ +uint8_t x_21; +x_21 = 0; return x_21; } +} +} +} else { -uint8_t x_22; lean_object* x_23; +uint8_t x_22; x_22 = 0; -x_23 = lean_box(x_22); -return x_23; -} -} -} -else -{ -lean_object* x_24; -lean_dec(x_6); -x_24 = l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__2; -return x_24; -} -} -} +return x_22; } } } @@ -7340,7 +8069,7 @@ x_3 = l_Lean_Elab_InfoTree_termGoalAt_x3f___closed__2; x_4 = l_Lean_Elab_InfoTree_termGoalAt_x3f___closed__1; lean_inc(x_1); x_5 = l_Lean_Elab_InfoTree_foldInfo___rarg(x_3, x_4, x_1); -x_6 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___boxed), 3, 2); +x_6 = lean_alloc_closure((void*)(l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__2___boxed), 3, 2); lean_closure_set(x_6, 0, x_2); lean_closure_set(x_6, 1, x_5); x_7 = l_Lean_Elab_InfoTree_smallestInfo_x3f(x_6, x_1); @@ -7388,25 +8117,16 @@ lean_dec(x_1); return x_4; } } -lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__2___boxed(lean_object* x_1) { +lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__2(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3(x_1, x_2, x_3); +uint8_t x_4; lean_object* x_5; +x_4 = l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__2(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_4; +x_5 = lean_box(x_4); +return x_5; } } lean_object* initialize_Init(lean_object*); @@ -7430,6 +8150,46 @@ lean_dec_ref(res); res = initialize_Lean_Util_Sorry(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_String_instInhabitedRange___closed__1 = _init_l_String_instInhabitedRange___closed__1(); +lean_mark_persistent(l_String_instInhabitedRange___closed__1); +l_String_instInhabitedRange = _init_l_String_instInhabitedRange(); +lean_mark_persistent(l_String_instInhabitedRange); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__1 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__1(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__1); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__2 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__2(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__2); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__3 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__3(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__3); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__4 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__4(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__4); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__5 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__5(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__5); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__6 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__6(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__6); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__7 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__7(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__7); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__8 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__8(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__8); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__9 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__9(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__9); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__10 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__10(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__10); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__11 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__11(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__11); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__12 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__12(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__12); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__13 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__13(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__13); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__14 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__14(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__14); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__15 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__15(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__15); +l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__16 = _init_l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__16(); +lean_mark_persistent(l___private_Lean_Server_InfoUtils_0__String_reprRange____x40_Lean_Server_InfoUtils___hyg_33____closed__16); +l_String_instReprRange___closed__1 = _init_l_String_instReprRange___closed__1(); +lean_mark_persistent(l_String_instReprRange___closed__1); +l_String_instReprRange = _init_l_String_instReprRange(); +lean_mark_persistent(l_String_instReprRange); l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__2___rarg___closed__1 = _init_l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__2___rarg___closed__1(); lean_mark_persistent(l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__2___rarg___closed__1); l_Lean_Elab_InfoTree_getCompletionInfos___closed__1 = _init_l_Lean_Elab_InfoTree_getCompletionInfos___closed__1(); @@ -7444,48 +8204,34 @@ l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1___closed__3 = _ini lean_mark_persistent(l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1___closed__3); l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1___closed__4 = _init_l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1___closed__4(); lean_mark_persistent(l_List_map___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__1___closed__4); -l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__1 = _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__1); -l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__2 = _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__2); -l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__3 = _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__3); -l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__4 = _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__4); -l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__5 = _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__5); -l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__6 = _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__6); -l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__7 = _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__7); -l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__8 = _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__8); -l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__9 = _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__9); -l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__10 = _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__1___closed__10); -l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__1 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__1); -l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__2 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__2); -l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__3 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__3); -l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__4 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__4); -l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__5 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__5(); -lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__5); -l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__6 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__6(); -lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__6); -l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__7 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__7(); -lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__7); -l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__8 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__8(); -lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__8); -l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__9 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__9(); -lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__9); -l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__10 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__10(); -lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__3___closed__10); -l_Lean_Elab_Info_fmtHover_x3f___lambda__5___closed__1 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__5___closed__1); +l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___closed__1 = _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___closed__1); +l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___closed__2 = _init_l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__2___closed__2); +l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__1 = _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__1(); +lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__1); +l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__2 = _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__2(); +lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__2); +l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__3 = _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__3(); +lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__3); +l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__4 = _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__4(); +lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__4); +l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__5 = _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__5(); +lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__5); +l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__6 = _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__6(); +lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__6); +l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__7 = _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__7(); +lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__7); +l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__8 = _init_l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__8(); +lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f_fmtTerm_x3f___closed__8); +l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__2___closed__1 = _init_l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f_fmtDoc_x3f___lambda__2___closed__1); +l_Lean_Elab_Info_fmtHover_x3f___lambda__1___closed__1 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__1___closed__1); +l_Lean_Elab_Info_fmtHover_x3f___lambda__1___closed__2 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__1___closed__2); +l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1 = _init_l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__1); l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__1 = _init_l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__1(); lean_mark_persistent(l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__1); l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__2 = _init_l_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___closed__2(); @@ -7518,10 +8264,6 @@ l_Lean_Elab_InfoTree_termGoalAt_x3f_getHeadFnPos_x3f___closed__3 = _init_l_Lean_ lean_mark_persistent(l_Lean_Elab_InfoTree_termGoalAt_x3f_getHeadFnPos_x3f___closed__3); l_Lean_Elab_InfoTree_termGoalAt_x3f_getHeadFnPos_x3f___closed__4 = _init_l_Lean_Elab_InfoTree_termGoalAt_x3f_getHeadFnPos_x3f___closed__4(); lean_mark_persistent(l_Lean_Elab_InfoTree_termGoalAt_x3f_getHeadFnPos_x3f___closed__4); -l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__1 = _init_l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__1); -l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__2 = _init_l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Elab_InfoTree_termGoalAt_x3f___lambda__3___closed__2); l_Lean_Elab_InfoTree_termGoalAt_x3f___closed__1 = _init_l_Lean_Elab_InfoTree_termGoalAt_x3f___closed__1(); lean_mark_persistent(l_Lean_Elab_InfoTree_termGoalAt_x3f___closed__1); l_Lean_Elab_InfoTree_termGoalAt_x3f___closed__2 = _init_l_Lean_Elab_InfoTree_termGoalAt_x3f___closed__2(); diff --git a/stage0/stdlib/Lean/Server/Requests.c b/stage0/stdlib/Lean/Server/Requests.c index 6dffcc8263..0587f19f38 100644 --- a/stage0/stdlib/Lean/Server/Requests.c +++ b/stage0/stdlib/Lean/Server/Requests.c @@ -24,7 +24,6 @@ lean_object* lean_io_error_to_string(lean_object*); lean_object* l_Lean_Server_Requests_RequestError_methodNotFound(lean_object*); lean_object* l_Lean_Server_Requests_RequestM_bindTask(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams___rarg___closed__2; -static lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__3; lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Server_Requests_registerLspRequestHandler___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_RequestError_toLspResponseError(lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); @@ -39,16 +38,15 @@ static lean_object* l_IO_AsyncList_waitFind_x3f___at_Lean_Server_Requests_Reques lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_routeLspRequest_match__1(lean_object*); -static lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__5; size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_Server_Requests_handleLspRequest(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__3; lean_object* l_Lean_Server_Requests_RequestM_bindTask___rarg___lambda__1(lean_object*); uint8_t l_Std_PersistentHashMap_containsAtAux___at_Lean_Server_Requests_registerLspRequestHandler___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_map_task(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_requestHandlers; lean_object* l_Lean_Server_Requests_RequestError_methodNotFound___boxed(lean_object*); -static lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__1; lean_object* lean_io_bind_task(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_UInt64_toUSize(uint64_t); static lean_object* l_Lean_Server_Requests_RequestError_methodNotFound___closed__2; @@ -61,6 +59,7 @@ lean_object* l_Lean_Json_compress(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_Server_Requests_RequestError_fileChanged___closed__1; static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___lambda__4___closed__1; +static lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__4; lean_object* l_Lean_Server_Requests_RequestError_instCoeErrorRequestError(lean_object*); lean_object* l_Lean_Server_Requests_RequestM_mapTask(lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_RequestM_bindTask___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -74,7 +73,7 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Requests_handleLspRequest___closed__1; lean_object* l_Lean_Server_Requests_handleLspRequest___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_contains___at_Lean_Server_Requests_registerLspRequestHandler___spec__5___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492_(lean_object*); +lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498_(lean_object*); lean_object* lean_task_map(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_registerLspRequestHandler___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___lambda__4___closed__2; @@ -93,12 +92,13 @@ size_t l_USize_mul(size_t, size_t); lean_object* l___private_Lean_Server_AsyncList_0__IO_AsyncList_coeErr___at_Lean_Server_Requests_RequestM_withWaitFindSnap___spec__2___lambda__1(lean_object*); lean_object* l_Lean_Server_Requests_routeLspRequest(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_registerLspRequestHandler(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__2; extern lean_object* l_Task_Priority_default; +static lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__1; lean_object* l_Std_PersistentHashMap_containsAtAux___at_Lean_Server_Requests_registerLspRequestHandler___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_decEq___boxed(lean_object*, lean_object*); static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Server_Requests_registerLspRequestHandler___spec__2___closed__3; size_t l_USize_land(size_t, size_t); +static lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__2; lean_object* l_Lean_Server_Requests_registerLspRequestHandler___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_registerLspRequestHandler___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_parseParams(lean_object*); @@ -113,7 +113,6 @@ static lean_object* l_Lean_Server_Requests_registerLspRequestHandler___closed__1 lean_object* l_Lean_Server_Requests_registerLspRequestHandler___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_AsyncList_0__IO_AsyncList_coeErr___at_Lean_Server_Requests_RequestM_withWaitFindSnap___spec__2___closed__1; lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Requests_0__Lean_Server_Requests_lookupLspRequestHandler___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__4; lean_object* l_Lean_Server_Requests_RequestM_asTask_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Server_Requests_0__Lean_Server_Requests_lookupLspRequestHandler___spec__1(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Server_Requests_registerLspRequestHandler___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -133,6 +132,7 @@ lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_RequestM_mapTask___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitFind_x3f___at_Lean_Server_Requests_RequestM_withWaitFindSnap___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Requests_RequestM_withWaitFindSnap___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__5; lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_Server_Requests_RequestM_withWaitFindSnap_match__1(lean_object*); lean_object* l___private_Lean_Server_Requests_0__Lean_Server_Requests_lookupLspRequestHandler___boxed(lean_object*, lean_object*); @@ -1298,7 +1298,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Server_Requests_RequestM_withWaitFindSna return x_2; } } -static lean_object* _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__1() { +static lean_object* _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__1() { _start: { lean_object* x_1; @@ -1306,17 +1306,17 @@ x_1 = lean_alloc_closure((void*)(l_String_decEq___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__2() { +static lean_object* _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__1; +x_1 = l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__1; x_2 = lean_alloc_closure((void*)(l_instBEq___rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__3() { +static lean_object* _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__3() { _start: { lean_object* x_1; @@ -1324,21 +1324,21 @@ x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__4() { +static lean_object* _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__3; +x_1 = l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__3; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__5() { +static lean_object* _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__4; +x_1 = l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__4; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1346,11 +1346,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492_(lean_object* x_1) { +lean_object* l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__5; +x_2 = l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__5; x_3 = l_IO_mkRef___rarg(x_2, x_1); return x_3; } @@ -3167,17 +3167,17 @@ l_IO_AsyncList_waitFind_x3f___at_Lean_Server_Requests_RequestM_withWaitFindSnap_ lean_mark_persistent(l_IO_AsyncList_waitFind_x3f___at_Lean_Server_Requests_RequestM_withWaitFindSnap___spec__1___closed__2); l_Lean_Server_Requests_RequestM_withWaitFindSnap___rarg___lambda__1___closed__1 = _init_l_Lean_Server_Requests_RequestM_withWaitFindSnap___rarg___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Server_Requests_RequestM_withWaitFindSnap___rarg___lambda__1___closed__1); -l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__1 = _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__1(); -lean_mark_persistent(l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__1); -l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__2 = _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__2(); -lean_mark_persistent(l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__2); -l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__3 = _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__3(); -lean_mark_persistent(l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__3); -l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__4 = _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__4(); -lean_mark_persistent(l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__4); -l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__5 = _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__5(); -lean_mark_persistent(l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492____closed__5); -res = l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_492_(lean_io_mk_world()); +l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__1 = _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__1(); +lean_mark_persistent(l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__1); +l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__2 = _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__2(); +lean_mark_persistent(l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__2); +l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__3 = _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__3(); +lean_mark_persistent(l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__3); +l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__4 = _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__4(); +lean_mark_persistent(l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__4); +l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__5 = _init_l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__5(); +lean_mark_persistent(l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498____closed__5); +res = l_Lean_Server_Requests_initFn____x40_Lean_Server_Requests___hyg_498_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Server_Requests_requestHandlers = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Server_Requests_requestHandlers); diff --git a/stage0/stdlib/Lean/Server/Utils.c b/stage0/stdlib/Lean/Server/Utils.c index 99c4369342..58f7468c7b 100644 --- a/stage0/stdlib/Lean/Server/Utils.c +++ b/stage0/stdlib/Lean/Server/Utils.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Server.Utils -// Imports: Init Lean.Data.Position Lean.Data.Lsp Init.System.FilePath +// Imports: Init Lean.Data.Position Lean.Data.Lsp Lean.Server.InfoUtils Init.System.FilePath #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -28,6 +28,7 @@ lean_object* l_Lean_Server_publishProgressAtPos___boxed(lean_object*, lean_objec lean_object* l_Lean_Server_publishProgress(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_foldDocumentChanges_match__1(lean_object*); extern uint8_t l_System_FilePath_isCaseInsensitive; +lean_object* l_String_Range_toLspRange___boxed(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_IO_FS_Stream_withPrefix___elambda__4(lean_object*, size_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_publishMessages___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); @@ -69,6 +70,7 @@ lean_object* l_Lean_Server_maybeTee___boxed(lean_object*, lean_object*, lean_obj static lean_object* l_Lean_Server_maybeTee___closed__1; lean_object* l_Lean_Server_foldDocumentChanges_match__2(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_publishMessages___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_String_Range_toLspRange(lean_object*, lean_object*); static lean_object* l_Lean_Server_toFileUri___closed__2; static lean_object* l_Lean_Server_publishProgressAtPos___closed__1; lean_object* l_IO_FS_Stream_chainLeft(lean_object*, lean_object*, uint8_t); @@ -1825,7 +1827,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Server_foldDocumentChanges___closed__2; x_2 = l_Lean_Server_foldDocumentChanges___closed__3; -x_3 = lean_unsigned_to_nat(110u); +x_3 = lean_unsigned_to_nat(111u); x_4 = lean_unsigned_to_nat(26u); x_5 = l_Lean_Server_foldDocumentChanges___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -3087,9 +3089,34 @@ x_2 = lean_alloc_closure((void*)(l_List_takeWhile___rarg), 2, 0); return x_2; } } +lean_object* l_String_Range_toLspRange(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; +x_3 = lean_ctor_get(x_2, 0); +x_4 = l_Lean_FileMap_utf8PosToLspPos(x_1, x_3); +x_5 = lean_ctor_get(x_2, 1); +x_6 = l_Lean_FileMap_utf8PosToLspPos(x_1, x_5); +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; +} +} +lean_object* l_String_Range_toLspRange___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_String_Range_toLspRange(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Data_Position(lean_object*); lean_object* initialize_Lean_Data_Lsp(lean_object*); +lean_object* initialize_Lean_Server_InfoUtils(lean_object*); lean_object* initialize_Init_System_FilePath(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Server_Utils(lean_object* w) { @@ -3105,6 +3132,9 @@ lean_dec_ref(res); res = initialize_Lean_Data_Lsp(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Server_InfoUtils(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Init_System_FilePath(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Std/Data/RBMap.c b/stage0/stdlib/Std/Data/RBMap.c index 7fdf82b87e..1faefe018a 100644 --- a/stage0/stdlib/Std/Data/RBMap.c +++ b/stage0/stdlib/Std/Data/RBMap.c @@ -83,6 +83,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Std_RBMap_max_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBMap_instReprRBMap___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_RBMap_find_x21___rarg___closed__3; +lean_object* l_Std_RBMap_max_x21_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_balRight_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_balance2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_revFold___rarg(lean_object*, lean_object*, lean_object*); @@ -278,6 +279,7 @@ lean_object* l_Std_RBMap_foldM(lean_object*, lean_object*, lean_object*, lean_ob lean_object* l_Std_RBNode_fold___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBMap_isEmpty(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_lowerBound_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_RBMap_max_x21_match__1(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_fold(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBMap_max___rarg(lean_object*); lean_object* l_Std_RBNode_foldM___at_Std_RBMap_forM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -21876,6 +21878,37 @@ lean_dec(x_3); return x_4; } } +lean_object* l_Std_RBMap_max_x21_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Std_RBMap_max_x21_match__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Std_RBMap_max_x21_match__1___rarg), 3, 0); +return x_4; +} +} static lean_object* _init_l_Std_RBMap_max_x21___rarg___closed__1() { _start: {